(self.webpackChunkend_user=self.webpackChunkend_user||[]).push([[792],{34709:(De,A,C)=>{"use strict";C.d(A,{H:()=>fe,K6:()=>n,Me:()=>K,Ob:()=>se,YL:()=>L,_:()=>$,g8:()=>Ee,n6:()=>Ve,oS:()=>qe,wE:()=>ae});var y=C(19785);function $(Ge,ht,at){return{r:255*(0,y.Cg)(Ge,255),g:255*(0,y.Cg)(ht,255),b:255*(0,y.Cg)(at,255)}}function n(Ge,ht,at){Ge=(0,y.Cg)(Ge,255),ht=(0,y.Cg)(ht,255),at=(0,y.Cg)(at,255);var Tt=Math.max(Ge,ht,at),dt=Math.min(Ge,ht,at),ft=0,ze=0,B=(Tt+dt)/2;if(Tt===dt)ze=0,ft=0;else{var Te=Tt-dt;switch(ze=B>.5?Te/(2-Tt-dt):Te/(Tt+dt),Tt){case Ge:ft=(ht-at)/Te+(ht<at?6:0);break;case ht:ft=(at-Ge)/Te+2;break;case at:ft=(Ge-ht)/Te+4}ft/=6}return{h:ft,s:ze,l:B}}function a(Ge,ht,at){return at<0&&(at+=1),at>1&&(at-=1),at<1/6?Ge+6*at*(ht-Ge):at<.5?ht:at<2/3?Ge+(ht-Ge)*(2/3-at)*6:Ge}function L(Ge,ht,at){var Tt,dt,ft;if(Ge=(0,y.Cg)(Ge,360),ht=(0,y.Cg)(ht,100),at=(0,y.Cg)(at,100),0===ht)dt=at,ft=at,Tt=at;else{var ze=at<.5?at*(1+ht):at+ht-at*ht,B=2*at-ze;Tt=a(B,ze,Ge+1/3),dt=a(B,ze,Ge),ft=a(B,ze,Ge-1/3)}return{r:255*Tt,g:255*dt,b:255*ft}}function ae(Ge,ht,at){Ge=(0,y.Cg)(Ge,255),ht=(0,y.Cg)(ht,255),at=(0,y.Cg)(at,255);var Tt=Math.max(Ge,ht,at),dt=Math.min(Ge,ht,at),ft=0,ze=Tt,B=Tt-dt,Te=0===Tt?0:B/Tt;if(Tt===dt)ft=0;else{switch(Tt){case Ge:ft=(ht-at)/B+(ht<at?6:0);break;case ht:ft=(at-Ge)/B+2;break;case at:ft=(Ge-ht)/B+4}ft/=6}return{h:ft,s:Te,v:ze}}function K(Ge,ht,at){Ge=6*(0,y.Cg)(Ge,360),ht=(0,y.Cg)(ht,100),at=(0,y.Cg)(at,100);var Tt=Math.floor(Ge),dt=Ge-Tt,ft=at*(1-ht),ze=at*(1-dt*ht),B=at*(1-(1-dt)*ht),Te=Tt%6;return{r:255*[at,ze,ft,ft,B,at][Te],g:255*[B,at,at,ze,ft,ft][Te],b:255*[ft,ft,B,at,at,ze][Te]}}function se(Ge,ht,at,Tt){var dt=[(0,y.wl)(Math.round(Ge).toString(16)),(0,y.wl)(Math.round(ht).toString(16)),(0,y.wl)(Math.round(at).toString(16))];return Tt&&dt[0].startsWith(dt[0].charAt(1))&&dt[1].startsWith(dt[1].charAt(1))&&dt[2].startsWith(dt[2].charAt(1))?dt[0].charAt(0)+dt[1].charAt(0)+dt[2].charAt(0):dt.join("")}function fe(Ge,ht,at,Tt,dt){var ft=[(0,y.wl)(Math.round(Ge).toString(16)),(0,y.wl)(Math.round(ht).toString(16)),(0,y.wl)(Math.round(at).toString(16)),(0,y.wl)(de(Tt))];return dt&&ft[0].startsWith(ft[0].charAt(1))&&ft[1].startsWith(ft[1].charAt(1))&&ft[2].startsWith(ft[2].charAt(1))&&ft[3].startsWith(ft[3].charAt(1))?ft[0].charAt(0)+ft[1].charAt(0)+ft[2].charAt(0)+ft[3].charAt(0):ft.join("")}function de(Ge){return Math.round(255*parseFloat(Ge)).toString(16)}function Ve(Ge){return Ee(Ge)/255}function Ee(Ge){return parseInt(Ge,16)}function qe(Ge){return{r:Ge>>16,g:(65280&Ge)>>8,b:255&Ge}}},76681:(De,A,C)=>{"use strict";C.d(A,{D:()=>y});var y={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},54215:(De,A,C)=>{"use strict";C.d(A,{RO:()=>a});var y=C(34709),$=C(76681),n=C(19785);function a(Ee){var qe={r:0,g:0,b:0},Ge=1,ht=null,at=null,Tt=null,dt=!1,ft=!1;return"string"==typeof Ee&&(Ee=function de(Ee){if(0===(Ee=Ee.trim().toLowerCase()).length)return!1;var qe=!1;if($.D[Ee])Ee=$.D[Ee],qe=!0;else if("transparent"===Ee)return{r:0,g:0,b:0,a:0,format:"name"};var Ge=le.rgb.exec(Ee);return Ge?{r:Ge[1],g:Ge[2],b:Ge[3]}:(Ge=le.rgba.exec(Ee))?{r:Ge[1],g:Ge[2],b:Ge[3],a:Ge[4]}:(Ge=le.hsl.exec(Ee))?{h:Ge[1],s:Ge[2],l:Ge[3]}:(Ge=le.hsla.exec(Ee))?{h:Ge[1],s:Ge[2],l:Ge[3],a:Ge[4]}:(Ge=le.hsv.exec(Ee))?{h:Ge[1],s:Ge[2],v:Ge[3]}:(Ge=le.hsva.exec(Ee))?{h:Ge[1],s:Ge[2],v:Ge[3],a:Ge[4]}:(Ge=le.hex8.exec(Ee))?{r:(0,y.g8)(Ge[1]),g:(0,y.g8)(Ge[2]),b:(0,y.g8)(Ge[3]),a:(0,y.n6)(Ge[4]),format:qe?"name":"hex8"}:(Ge=le.hex6.exec(Ee))?{r:(0,y.g8)(Ge[1]),g:(0,y.g8)(Ge[2]),b:(0,y.g8)(Ge[3]),format:qe?"name":"hex"}:(Ge=le.hex4.exec(Ee))?{r:(0,y.g8)(Ge[1]+Ge[1]),g:(0,y.g8)(Ge[2]+Ge[2]),b:(0,y.g8)(Ge[3]+Ge[3]),a:(0,y.n6)(Ge[4]+Ge[4]),format:qe?"name":"hex8"}:!!(Ge=le.hex3.exec(Ee))&&{r:(0,y.g8)(Ge[1]+Ge[1]),g:(0,y.g8)(Ge[2]+Ge[2]),b:(0,y.g8)(Ge[3]+Ge[3]),format:qe?"name":"hex"}}(Ee)),"object"==typeof Ee&&(Ve(Ee.r)&&Ve(Ee.g)&&Ve(Ee.b)?(qe=(0,y._)(Ee.r,Ee.g,Ee.b),dt=!0,ft="%"===String(Ee.r).substr(-1)?"prgb":"rgb"):Ve(Ee.h)&&Ve(Ee.s)&&Ve(Ee.v)?(ht=(0,n.Px)(Ee.s),at=(0,n.Px)(Ee.v),qe=(0,y.Me)(Ee.h,ht,at),dt=!0,ft="hsv"):Ve(Ee.h)&&Ve(Ee.s)&&Ve(Ee.l)&&(ht=(0,n.Px)(Ee.s),Tt=(0,n.Px)(Ee.l),qe=(0,y.YL)(Ee.h,ht,Tt),dt=!0,ft="hsl"),Object.prototype.hasOwnProperty.call(Ee,"a")&&(Ge=Ee.a)),Ge=(0,n.TV)(Ge),{ok:dt,format:Ee.format||ft,r:Math.min(255,Math.max(qe.r,0)),g:Math.min(255,Math.max(qe.g,0)),b:Math.min(255,Math.max(qe.b,0)),a:Ge}}var K="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),se="[\\s|\\(]+(".concat(K,")[,|\\s]+(").concat(K,")[,|\\s]+(").concat(K,")\\s*\\)?"),fe="[\\s|\\(]+(".concat(K,")[,|\\s]+(").concat(K,")[,|\\s]+(").concat(K,")[,|\\s]+(").concat(K,")\\s*\\)?"),le={CSS_UNIT:new RegExp(K),rgb:new RegExp("rgb"+se),rgba:new RegExp("rgba"+fe),hsl:new RegExp("hsl"+se),hsla:new RegExp("hsla"+fe),hsv:new RegExp("hsv"+se),hsva:new RegExp("hsva"+fe),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ve(Ee){return!!le.CSS_UNIT.exec(String(Ee))}},94369:(De,A,C)=>{"use strict";C.d(A,{q:()=>L});var y=C(34709),$=C(76681),n=C(54215),a=C(19785),L=function(){function K(se,fe){var le;if(void 0===se&&(se=""),void 0===fe&&(fe={}),se instanceof K)return se;"number"==typeof se&&(se=(0,y.oS)(se)),this.originalInput=se;var de=(0,n.RO)(se);this.originalInput=se,this.r=de.r,this.g=de.g,this.b=de.b,this.a=de.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(le=fe.format)&&void 0!==le?le:de.format,this.gradientType=fe.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=de.ok}return K.prototype.isDark=function(){return this.getBrightness()<128},K.prototype.isLight=function(){return!this.isDark()},K.prototype.getBrightness=function(){var se=this.toRgb();return(299*se.r+587*se.g+114*se.b)/1e3},K.prototype.getLuminance=function(){var se=this.toRgb(),Ve=se.r/255,Ee=se.g/255,qe=se.b/255;return.2126*(Ve<=.03928?Ve/12.92:Math.pow((Ve+.055)/1.055,2.4))+.7152*(Ee<=.03928?Ee/12.92:Math.pow((Ee+.055)/1.055,2.4))+.0722*(qe<=.03928?qe/12.92:Math.pow((qe+.055)/1.055,2.4))},K.prototype.getAlpha=function(){return this.a},K.prototype.setAlpha=function(se){return this.a=(0,a.TV)(se),this.roundA=Math.round(100*this.a)/100,this},K.prototype.isMonochrome=function(){return 0===this.toHsl().s},K.prototype.toHsv=function(){var se=(0,y.wE)(this.r,this.g,this.b);return{h:360*se.h,s:se.s,v:se.v,a:this.a}},K.prototype.toHsvString=function(){var se=(0,y.wE)(this.r,this.g,this.b),fe=Math.round(360*se.h),le=Math.round(100*se.s),de=Math.round(100*se.v);return 1===this.a?"hsv(".concat(fe,", ").concat(le,"%, ").concat(de,"%)"):"hsva(".concat(fe,", ").concat(le,"%, ").concat(de,"%, ").concat(this.roundA,")")},K.prototype.toHsl=function(){var se=(0,y.K6)(this.r,this.g,this.b);return{h:360*se.h,s:se.s,l:se.l,a:this.a}},K.prototype.toHslString=function(){var se=(0,y.K6)(this.r,this.g,this.b),fe=Math.round(360*se.h),le=Math.round(100*se.s),de=Math.round(100*se.l);return 1===this.a?"hsl(".concat(fe,", ").concat(le,"%, ").concat(de,"%)"):"hsla(".concat(fe,", ").concat(le,"%, ").concat(de,"%, ").concat(this.roundA,")")},K.prototype.toHex=function(se){return void 0===se&&(se=!1),(0,y.Ob)(this.r,this.g,this.b,se)},K.prototype.toHexString=function(se){return void 0===se&&(se=!1),"#"+this.toHex(se)},K.prototype.toHex8=function(se){return void 0===se&&(se=!1),(0,y.H)(this.r,this.g,this.b,this.a,se)},K.prototype.toHex8String=function(se){return void 0===se&&(se=!1),"#"+this.toHex8(se)},K.prototype.toHexShortString=function(se){return void 0===se&&(se=!1),1===this.a?this.toHexString(se):this.toHex8String(se)},K.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},K.prototype.toRgbString=function(){var se=Math.round(this.r),fe=Math.round(this.g),le=Math.round(this.b);return 1===this.a?"rgb(".concat(se,", ").concat(fe,", ").concat(le,")"):"rgba(".concat(se,", ").concat(fe,", ").concat(le,", ").concat(this.roundA,")")},K.prototype.toPercentageRgb=function(){var se=function(fe){return"".concat(Math.round(100*(0,a.Cg)(fe,255)),"%")};return{r:se(this.r),g:se(this.g),b:se(this.b),a:this.a}},K.prototype.toPercentageRgbString=function(){var se=function(fe){return Math.round(100*(0,a.Cg)(fe,255))};return 1===this.a?"rgb(".concat(se(this.r),"%, ").concat(se(this.g),"%, ").concat(se(this.b),"%)"):"rgba(".concat(se(this.r),"%, ").concat(se(this.g),"%, ").concat(se(this.b),"%, ").concat(this.roundA,")")},K.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var se="#"+(0,y.Ob)(this.r,this.g,this.b,!1),fe=0,le=Object.entries($.D);fe<le.length;fe++){var de=le[fe];if(se===de[1])return de[0]}return!1},K.prototype.toString=function(se){var fe=!!se;se=se??this.format;var le=!1;return!fe&&this.a<1&&this.a>=0&&(se.startsWith("hex")||"name"===se)?"name"===se&&0===this.a?this.toName():this.toRgbString():("rgb"===se&&(le=this.toRgbString()),"prgb"===se&&(le=this.toPercentageRgbString()),("hex"===se||"hex6"===se)&&(le=this.toHexString()),"hex3"===se&&(le=this.toHexString(!0)),"hex4"===se&&(le=this.toHex8String(!0)),"hex8"===se&&(le=this.toHex8String()),"name"===se&&(le=this.toName()),"hsl"===se&&(le=this.toHslString()),"hsv"===se&&(le=this.toHsvString()),le||this.toHexString())},K.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},K.prototype.clone=function(){return new K(this.toString())},K.prototype.lighten=function(se){void 0===se&&(se=10);var fe=this.toHsl();return fe.l+=se/100,fe.l=(0,a.J$)(fe.l),new K(fe)},K.prototype.brighten=function(se){void 0===se&&(se=10);var fe=this.toRgb();return fe.r=Math.max(0,Math.min(255,fe.r-Math.round(-se/100*255))),fe.g=Math.max(0,Math.min(255,fe.g-Math.round(-se/100*255))),fe.b=Math.max(0,Math.min(255,fe.b-Math.round(-se/100*255))),new K(fe)},K.prototype.darken=function(se){void 0===se&&(se=10);var fe=this.toHsl();return fe.l-=se/100,fe.l=(0,a.J$)(fe.l),new K(fe)},K.prototype.tint=function(se){return void 0===se&&(se=10),this.mix("white",se)},K.prototype.shade=function(se){return void 0===se&&(se=10),this.mix("black",se)},K.prototype.desaturate=function(se){void 0===se&&(se=10);var fe=this.toHsl();return fe.s-=se/100,fe.s=(0,a.J$)(fe.s),new K(fe)},K.prototype.saturate=function(se){void 0===se&&(se=10);var fe=this.toHsl();return fe.s+=se/100,fe.s=(0,a.J$)(fe.s),new K(fe)},K.prototype.greyscale=function(){return this.desaturate(100)},K.prototype.spin=function(se){var fe=this.toHsl(),le=(fe.h+se)%360;return fe.h=le<0?360+le:le,new K(fe)},K.prototype.mix=function(se,fe){void 0===fe&&(fe=50);var le=this.toRgb(),de=new K(se).toRgb(),Ve=fe/100;return new K({r:(de.r-le.r)*Ve+le.r,g:(de.g-le.g)*Ve+le.g,b:(de.b-le.b)*Ve+le.b,a:(de.a-le.a)*Ve+le.a})},K.prototype.analogous=function(se,fe){void 0===se&&(se=6),void 0===fe&&(fe=30);var le=this.toHsl(),de=360/fe,Ve=[this];for(le.h=(le.h-(de*se>>1)+720)%360;--se;)le.h=(le.h+de)%360,Ve.push(new K(le));return Ve},K.prototype.complement=function(){var se=this.toHsl();return se.h=(se.h+180)%360,new K(se)},K.prototype.monochromatic=function(se){void 0===se&&(se=6);for(var fe=this.toHsv(),le=fe.h,de=fe.s,Ve=fe.v,Ee=[],qe=1/se;se--;)Ee.push(new K({h:le,s:de,v:Ve})),Ve=(Ve+qe)%1;return Ee},K.prototype.splitcomplement=function(){var se=this.toHsl(),fe=se.h;return[this,new K({h:(fe+72)%360,s:se.s,l:se.l}),new K({h:(fe+216)%360,s:se.s,l:se.l})]},K.prototype.onBackground=function(se){var fe=this.toRgb(),le=new K(se).toRgb(),de=fe.a+le.a*(1-fe.a);return new K({r:(fe.r*fe.a+le.r*le.a*(1-fe.a))/de,g:(fe.g*fe.a+le.g*le.a*(1-fe.a))/de,b:(fe.b*fe.a+le.b*le.a*(1-fe.a))/de,a:de})},K.prototype.triad=function(){return this.polyad(3)},K.prototype.tetrad=function(){return this.polyad(4)},K.prototype.polyad=function(se){for(var fe=this.toHsl(),le=fe.h,de=[this],Ve=360/se,Ee=1;Ee<se;Ee++)de.push(new K({h:(le+Ee*Ve)%360,s:fe.s,l:fe.l}));return de},K.prototype.equals=function(se){return this.toRgbString()===new K(se).toRgbString()},K}()},19785:(De,A,C)=>{"use strict";function y(se,fe){(function n(se){return"string"==typeof se&&-1!==se.indexOf(".")&&1===parseFloat(se)})(se)&&(se="100%");var le=function a(se){return"string"==typeof se&&-1!==se.indexOf("%")}(se);return se=360===fe?se:Math.min(fe,Math.max(0,parseFloat(se))),le&&(se=parseInt(String(se*fe),10)/100),Math.abs(se-fe)<1e-6?1:se=360===fe?(se<0?se%fe+fe:se%fe)/parseFloat(String(fe)):se%fe/parseFloat(String(fe))}function $(se){return Math.min(1,Math.max(0,se))}function L(se){return se=parseFloat(se),(isNaN(se)||se<0||se>1)&&(se=1),se}function ae(se){return se<=1?"".concat(100*Number(se),"%"):se}function K(se){return 1===se.length?"0"+se:String(se)}C.d(A,{Cg:()=>y,J$:()=>$,Px:()=>ae,TV:()=>L,wl:()=>K})},21076:(De,A,C)=>{"use strict";C.d(A,{Am:()=>nt,FA:()=>Vn,Fy:()=>be,Im:()=>En,Ku:()=>tn,T9:()=>ze,Tj:()=>dt,Uj:()=>fe,XA:()=>B,ZQ:()=>Pe,bD:()=>lt,c1:()=>rt,cY:()=>Te,eX:()=>Rt,g:()=>oi,jZ:()=>et,lT:()=>Mt,lV:()=>zt,nr:()=>Xe,sr:()=>Ue,tD:()=>mn,u:()=>le,yU:()=>ft,zW:()=>yt});const a=function(tt){const ut=[];let Et=0;for(let gn=0;gn<tt.length;gn++){let Ut=tt.charCodeAt(gn);Ut<128?ut[Et++]=Ut:Ut<2048?(ut[Et++]=Ut>>6|192,ut[Et++]=63&Ut|128):55296==(64512&Ut)&&gn+1<tt.length&&56320==(64512&tt.charCodeAt(gn+1))?(Ut=65536+((1023&Ut)<<10)+(1023&tt.charCodeAt(++gn)),ut[Et++]=Ut>>18|240,ut[Et++]=Ut>>12&63|128,ut[Et++]=Ut>>6&63|128,ut[Et++]=63&Ut|128):(ut[Et++]=Ut>>12|224,ut[Et++]=Ut>>6&63|128,ut[Et++]=63&Ut|128)}return ut},ae={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(tt,ut){if(!Array.isArray(tt))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Et=ut?this.byteToCharMapWebSafe_:this.byteToCharMap_,gn=[];for(let Ut=0;Ut<tt.length;Ut+=3){const Qn=tt[Ut],Nt=Ut+1<tt.length,Be=Nt?tt[Ut+1]:0,we=Ut+2<tt.length,H=we?tt[Ut+2]:0;let We=(15&Be)<<2|H>>6,Ft=63&H;we||(Ft=64,Nt||(We=64)),gn.push(Et[Qn>>2],Et[(3&Qn)<<4|Be>>4],Et[We],Et[Ft])}return gn.join("")},encodeString(tt,ut){return this.HAS_NATIVE_SUPPORT&&!ut?btoa(tt):this.encodeByteArray(a(tt),ut)},decodeString(tt,ut){return this.HAS_NATIVE_SUPPORT&&!ut?atob(tt):function(tt){const ut=[];let Et=0,gn=0;for(;Et<tt.length;){const Ut=tt[Et++];if(Ut<128)ut[gn++]=String.fromCharCode(Ut);else if(Ut>191&&Ut<224){const Qn=tt[Et++];ut[gn++]=String.fromCharCode((31&Ut)<<6|63&Qn)}else if(Ut>239&&Ut<365){const we=((7&Ut)<<18|(63&tt[Et++])<<12|(63&tt[Et++])<<6|63&tt[Et++])-65536;ut[gn++]=String.fromCharCode(55296+(we>>10)),ut[gn++]=String.fromCharCode(56320+(1023&we))}else{const Qn=tt[Et++],Nt=tt[Et++];ut[gn++]=String.fromCharCode((15&Ut)<<12|(63&Qn)<<6|63&Nt)}}return ut.join("")}(this.decodeStringToByteArray(tt,ut))},decodeStringToByteArray(tt,ut){this.init_();const Et=ut?this.charToByteMapWebSafe_:this.charToByteMap_,gn=[];for(let Ut=0;Ut<tt.length;){const Qn=Et[tt.charAt(Ut++)],Be=Ut<tt.length?Et[tt.charAt(Ut)]:0;++Ut;const H=Ut<tt.length?Et[tt.charAt(Ut)]:64;++Ut;const ge=Ut<tt.length?Et[tt.charAt(Ut)]:64;if(++Ut,null==Qn||null==Be||null==H||null==ge)throw new K;gn.push(Qn<<2|Be>>4),64!==H&&(gn.push(Be<<4&240|H>>2),64!==ge&&gn.push(H<<6&192|ge))}return gn},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let tt=0;tt<this.ENCODED_VALS.length;tt++)this.byteToCharMap_[tt]=this.ENCODED_VALS.charAt(tt),this.charToByteMap_[this.byteToCharMap_[tt]]=tt,this.byteToCharMapWebSafe_[tt]=this.ENCODED_VALS_WEBSAFE.charAt(tt),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[tt]]=tt,tt>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(tt)]=tt,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(tt)]=tt)}}};class K extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const fe=function(tt){return function(tt){const ut=a(tt);return ae.encodeByteArray(ut,!0)}(tt).replace(/\./g,"")},le=function(tt){try{return ae.decodeString(tt,!0)}catch(ut){console.error("base64Decode failed: ",ut)}return null},Tt=()=>{try{return function qe(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const tt=process.env.__FIREBASE_DEFAULTS__;return tt?JSON.parse(tt):void 0})()||(()=>{if(typeof document>"u")return;let tt;try{tt=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const ut=tt&&le(tt[1]);return ut&&JSON.parse(ut)})()}catch(tt){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${tt}`)}},dt=tt=>{var ut,Et;return null===(Et=null===(ut=Tt())||void 0===ut?void 0:ut.emulatorHosts)||void 0===Et?void 0:Et[tt]},ft=tt=>{const ut=dt(tt);if(!ut)return;const Et=ut.lastIndexOf(":");if(Et<=0||Et+1===ut.length)throw new Error(`Invalid host ${ut} with no separate hostname and port!`);const gn=parseInt(ut.substring(Et+1),10);return"["===ut[0]?[ut.substring(1,Et-1),gn]:[ut.substring(0,Et),gn]},ze=()=>{var tt;return null===(tt=Tt())||void 0===tt?void 0:tt.config},B=tt=>{var ut;return null===(ut=Tt())||void 0===ut?void 0:ut[`_${tt}`]};class Te{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((ut,Et)=>{this.resolve=ut,this.reject=Et})}wrapCallback(ut){return(Et,gn)=>{Et?this.reject(Et):this.resolve(gn),"function"==typeof ut&&(this.promise.catch(()=>{}),1===ut.length?ut(Et):ut(Et,gn))}}}function be(tt,ut){if(tt.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const gn=ut||"demo-project",Ut=tt.iat||0,Qn=tt.sub||tt.user_id;if(!Qn)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const Nt=Object.assign({iss:`https://securetoken.google.com/${gn}`,aud:gn,iat:Ut,exp:Ut+3600,auth_time:Ut,sub:Qn,user_id:Qn,firebase:{sign_in_provider:"custom",identities:{}}},tt);return[fe(JSON.stringify({alg:"none",type:"JWT"})),fe(JSON.stringify(Nt)),""].join(".")}function Pe(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function et(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Pe())}function rt(){return typeof navigator<"u"&&"Cloudflare-Workers"===navigator.userAgent}function Ue(){const tt="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof tt&&void 0!==tt.id}function zt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Mt(){const tt=Pe();return tt.indexOf("MSIE ")>=0||tt.indexOf("Trident/")>=0}function Xe(){return!function z(){var tt;const ut=null===(tt=Tt())||void 0===tt?void 0:tt.forceEnvironment;if("node"===ut)return!0;if("browser"===ut)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function yt(){try{return"object"==typeof indexedDB}catch{return!1}}function Rt(){return new Promise((tt,ut)=>{try{let Et=!0;const gn="validate-browser-context-for-indexeddb-analytics-module",Ut=self.indexedDB.open(gn);Ut.onsuccess=()=>{Ut.result.close(),Et||self.indexedDB.deleteDatabase(gn),tt(!0)},Ut.onupgradeneeded=()=>{Et=!1},Ut.onerror=()=>{var Qn;ut((null===(Qn=Ut.error)||void 0===Qn?void 0:Qn.message)||"")}}catch(Et){ut(Et)}})}class oi extends Error{constructor(ut,Et,gn){super(Et),this.code=ut,this.customData=gn,this.name="FirebaseError",Object.setPrototypeOf(this,oi.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Vn.prototype.create)}}class Vn{constructor(ut,Et,gn){this.service=ut,this.serviceName=Et,this.errors=gn}create(ut,...Et){const gn=Et[0]||{},Ut=`${this.service}/${ut}`,Qn=this.errors[ut],Nt=Qn?function Wn(tt,ut){return tt.replace(qn,(Et,gn)=>{const Ut=ut[gn];return null!=Ut?String(Ut):`<${gn}?>`})}(Qn,gn):"Error";return new oi(Ut,`${this.serviceName}: ${Nt} (${Ut}).`,gn)}}const qn=/\{\$([^}]+)}/g;function En(tt){for(const ut in tt)if(Object.prototype.hasOwnProperty.call(tt,ut))return!1;return!0}function lt(tt,ut){if(tt===ut)return!0;const Et=Object.keys(tt),gn=Object.keys(ut);for(const Ut of Et){if(!gn.includes(Ut))return!1;const Qn=tt[Ut],Nt=ut[Ut];if(He(Qn)&&He(Nt)){if(!lt(Qn,Nt))return!1}else if(Qn!==Nt)return!1}for(const Ut of gn)if(!Et.includes(Ut))return!1;return!0}function He(tt){return null!==tt&&"object"==typeof tt}function nt(tt){const ut=[];for(const[Et,gn]of Object.entries(tt))Array.isArray(gn)?gn.forEach(Ut=>{ut.push(encodeURIComponent(Et)+"="+encodeURIComponent(Ut))}):ut.push(encodeURIComponent(Et)+"="+encodeURIComponent(gn));return ut.length?"&"+ut.join("&"):""}function mn(tt,ut){const Et=new ri(tt,ut);return Et.subscribe.bind(Et)}class ri{constructor(ut,Et){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Et,this.task.then(()=>{ut(this)}).catch(gn=>{this.error(gn)})}next(ut){this.forEachObserver(Et=>{Et.next(ut)})}error(ut){this.forEachObserver(Et=>{Et.error(ut)}),this.close(ut)}complete(){this.forEachObserver(ut=>{ut.complete()}),this.close()}subscribe(ut,Et,gn){let Ut;if(void 0===ut&&void 0===Et&&void 0===gn)throw new Error("Missing Observer.");Ut=function wi(tt,ut){if("object"!=typeof tt||null===tt)return!1;for(const Et of ut)if(Et in tt&&"function"==typeof tt[Et])return!0;return!1}(ut,["next","error","complete"])?ut:{next:ut,error:Et,complete:gn},void 0===Ut.next&&(Ut.next=mi),void 0===Ut.error&&(Ut.error=mi),void 0===Ut.complete&&(Ut.complete=mi);const Qn=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Ut.error(this.finalError):Ut.complete()}catch{}}),this.observers.push(Ut),Qn}unsubscribeOne(ut){void 0===this.observers||void 0===this.observers[ut]||(delete this.observers[ut],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(ut){if(!this.finalized)for(let Et=0;Et<this.observers.length;Et++)this.sendOne(Et,ut)}sendOne(ut,Et){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[ut])try{Et(this.observers[ut])}catch(gn){typeof console<"u"&&console.error&&console.error(gn)}})}close(ut){this.finalized||(this.finalized=!0,void 0!==ut&&(this.finalError=ut),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function mi(){}function tn(tt){return tt&&tt._delegate?tt._delegate:tt}},2606:(De,A,C)=>{"use strict";A.E=void 0;var $=C(63633);Object.defineProperty(A,"E",{enumerable:!0,get:function(){return $.convertSingleSendBlocksToHTML}})},63633:(De,A,C)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.convertSingleSendBlocksToHTML=void 0;const y=C(51743),$=C(19756),n=C(88898),a="https://norby.imgix.net/https%3A%2F%2Ffirebasestorage.googleapis.com%2Fv0%2Fb%2Fmagic-sauce.appspot.com%2Fo%2FdefaultOnboardingAvatar.jpeg%3Falt%3Dmedia%26token%3D27e5fd1a-4bd1-47c3-ad28-2a83e74ad751?ixlib=js-2.3.2&fit=clip&w=1600&auto=compress%2Cformat&fm=webp%2Cjp2&s=4412b27394247426f14629dc6f8e0c9d";function ae(ze){switch(ze){case"center":default:return"margin-left:auto;margin-right:auto;text-align:center;";case"left":return"margin-right:auto;margin-left:0;text-align:left;";case"right":return"margin-left:auto;margin-right:0;text-align:right;"}}function K(ze,B){var Te,be,Pe,et,z;const X=(null===(Te=ze.image)||void 0===Te?void 0:Te.url)||B?.avatarUrl||a,P=ze.clickThroughUrl||B?.clickThroughUrl||null,rt=(0,y.isImageSingleSendBlockDTO)(ze)?ae(ze.alignment):ae(),Ue=`\x3c!--[if mso]><img src="${X}" alt="${null!==(Pe=null===(be=ze.image)||void 0===be?void 0:be.altText)&&void 0!==Pe?Pe:""}" width="600"><div style="width:0px; height:0px; overflow:hidden; display:none; visibility:hidden; mso-hide:all;"><![endif]--\x3e<img src="${X}" alt="${null!==(z=null===(et=ze.image)||void 0===et?void 0:et.altText)&&void 0!==z?z:""}" style="max-height:${ze.height}px; max-width:100%">\x3c!--[if mso]></div><![endif]--\x3e`;return P?`<a style="display:block; line-height: 0; width:fit-content;${rt}"href="${P}">${Ue}</a>`:Ue}function at({htmlBlock:ze,paddingTop:B,paddingRight:Te,paddingBottom:be,paddingLeft:Pe,backgroundColor:et}){let z;return et&&(z=`background-color: ${et};`),`<tr><td style="padding:${B??16}px ${Te??16}px ${be??16}px ${Pe??16}px;${z??""}">${ze}</td></tr>`}function ft(ze,B,Te,be,Pe=!1){var et,z,X,P,rt;const Ue=(0,n.flattenThemes)([ze?.slugTheme,be?.theme,B,Te]);let zt="";be?.images&&be?.images.length>0&&(zt=null===(et=be?.images)||void 0===et?void 0:et[0].url);const sn=ze?.clickThroughUrl&&be?`${ze?.clickThroughUrl}/event/${be?.contentId}`:"",Mt=`\x3c!--[if mso]><img src="${zt}" width="600"><div style="width:0px; height:0px; overflow:hidden; display:none; visibility:hidden; mso-hide:all;"><![endif]--\x3e<img src="${zt}" style="height:auto; width:100%">\x3c!--[if mso]></div><![endif]--\x3e`,mt=`<h4 style="${(0,n._generateTextCSSRule)(Ue?.card)}">${be?.subtitle?be.subtitle:""}</h4>`,Ke=`<p style="line-height: 1.5715; ${(0,n._generateTextCSSRule)(Ue?.card)}">${be?.summary?be.summary:""}</p>`,Xe=null!==(z=be?.buttonLabels)&&void 0!==z&&z.pre?be.buttonLabels.pre:null!==(X=be?.tickets)&&void 0!==X&&X.length&&(null===(P=be?.tickets)||void 0===P?void 0:P.length)>0?"Tickets":"RSVP",yt=(null===(rt=be?.buttonLabels)||void 0===rt?void 0:rt.post)||"Recap",Rt=be?.isOver?yt:Xe,Vt=be?.contentId&&!be?.isCanceled&&be?.published?`<div style='text-align: center'><div style="display: block; padding: 10px; margin-top: 15px; border: 1px solid; ${(0,n._generateCSSRules)(Ue?.button)} ${(0,n._generateTextCSSRule)(Ue?.button)}">${Rt}</div></div>`:"";return`<a style="width:100%; height:100%; text-decoration: none; color: inherit; ${Pe?"display: inline-block; margin-bottom: 25px":""}" href="${sn}" target="_blank"><div style="display:block; max-width:600px; overflow:hidden; margin-left:auto; margin-right:auto; border-width:1px; border-style:solid; border-color:#0000000d; ${(0,n._generateCSSRules)(Ue?.card)}" >${zt?Mt:""}<div style="padding: 16px;"><h3 style="${(0,n._generateTextCSSRule)(Ue?.card)}">${be?.title?be.title:""}</h3>${mt} ${Ke} ${Vt}\n    </div></div></a>`}A.convertSingleSendBlocksToHTML=function L(ze,B,Te,be){const Pe=(0,n.flattenThemes)([B?.slugTheme,be]);return function dt(ze,B){var Te,be;return`<table role="presentation" style="width:100%; background-color:${null!==(be=null===(Te=B?.layout)||void 0===Te?void 0:Te.backgroundColor)&&void 0!==be?be:"#ffffff"}";>${ze}</table>`}(ze.map(X=>{var P,rt,Ue,zt,sn,Mt,mt,Ke,Xe,yt,Rt,Vt,_n,oi,Vn;if((0,y.isRichTextSingleSendBlockDTO)(X))return at({htmlBlock:`<div style="color:${null!==(rt=null===(P=Pe?.text)||void 0===P?void 0:P.color)&&void 0!==rt?rt:"inherit"};" class="rich-text-block">${X.body}</div>`,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Ue=Pe?.layout)||void 0===Ue?void 0:Ue.backgroundColor});if((0,y.isHeaderSingleSendBlockDTO)(X)){const Wn=(0,n.flattenThemes)([B?.slugTheme,be,X.theme]);return at({htmlBlock:K(X,B),paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(zt=Wn?.card)||void 0===zt?void 0:zt.backgroundColor})}if((0,y.isImageSingleSendBlockDTO)(X))return at({htmlBlock:K(X,B),paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(sn=Pe?.layout)||void 0===sn?void 0:sn.backgroundColor});if((0,y.isSpacerSingleSendBlockDTO)(X))return at({htmlBlock:`<div style="display:block;height:${X.height}px;"></div`,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Mt=Pe?.layout)||void 0===Mt?void 0:Mt.backgroundColor});if((0,y.isDividerSingleSendBlockDTO)(X)){const Wn=(0,n.flattenThemes)([B?.slugTheme,be,X.theme]);return at({htmlBlock:`<div style="display:block;height:${X.height}px;background-color: ${null!==(Ke=null===(mt=Wn?.card)||void 0===mt?void 0:mt.backgroundColor)&&void 0!==Ke?Ke:"#ffffff"};"></div`,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Xe=Pe?.layout)||void 0===Xe?void 0:Xe.backgroundColor})}if((0,y.isButtonSingleSendBlockDTO)(X)){const Wn=(0,n.flattenThemes)([B?.slugTheme,be,X.theme]),qn=function se(ze,B,Te){const be=ze.clickThroughUrl||B?.clickThroughUrl||null,Pe=ae(ze.alignment),et=`${ze.label||"Insert text here..."}`;let X=`<div \n  style="${function fe(ze,B){var Te,be,Pe,et,z,X,P,rt,Ue,zt,sn;let Mt=`display: inline-block; vertical-align: middle; padding: 0 16px; height: ${ze.height}px; border-width: ${null!==(be=null===(Te=B?.button)||void 0===Te?void 0:Te.borderWidth)&&void 0!==be?be:1}px; border-radius: ${null===(Pe=B?.button)||void 0===Pe?void 0:Pe.borderRadius}px; border-style: solid;`;return Mt+=null!==(et=B?.button)&&void 0!==et&&et.backgroundColor?`background-color: ${null===(z=B?.button)||void 0===z?void 0:z.backgroundColor};`:"",Mt+=null!==(X=B?.button)&&void 0!==X&&X.textColor?`color: ${null===(P=B?.button)||void 0===P?void 0:P.textColor};`:"color: #000000;",Mt+=null!==(rt=B?.button)&&void 0!==rt&&rt.borderColor?`border-color: ${null===(Ue=B?.button)||void 0===Ue?void 0:Ue.borderColor};`:"",Mt+=null!==(zt=B?.button)&&void 0!==zt&&zt.dropShadow?`box-shadow: ${null===(sn=B?.button)||void 0===sn?void 0:sn.dropShadow};`:"",Mt}(ze,Te)}">\n  <div style="display:table; height: 100%;"><div style="display: table-cell;vertical-align: middle;">${et}</div></div>\n  </div>`;return be?`<a style="display:block;width:fit-content;${Pe}"href="${be}">${X}</a>`:X}(X,B,Wn);return at({htmlBlock:qn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(yt=Pe?.layout)||void 0===yt?void 0:yt.backgroundColor})}if((0,y.isFooterSingleSendBlockDTO)(X)){const Wn=function le(ze,B,Te){var be,Pe,et,z,X;const P=ae(),rt=(null===(be=ze.image)||void 0===be?void 0:be.url)||B?.avatarUrl||a,Ue=function Ee(ze,B){var Te,be;let Pe="",et=[];return B?et=B:ze&&(et=Object.keys(null!==(Te=ze.socialLinks)&&void 0!==Te?Te:[]).reduce((X,P)=>[...X,...ze.socialLinks[P]?[{[P]:ze.socialLinks[P]}]:[]],[])),null===(be=et?.forEach)||void 0===be||be.call(et,z=>{var X;const P=Object.keys(z)[0];(null===(X=$.SOCIAL_LINKS[P])||void 0===X?void 0:X.icon)&&z[P]&&(Pe+=`<a style="display:inline-block; padding: 4px; margin-right: 4px; width:32px; height:32px;" href="${Object.values(z)[0]}" target="_blank"><div style="display:table; height: 100%; width:100%;"><div style="display: table-cell;vertical-align: middle;"><img src="${$.SocialIcons[P]}" height="14" style="height: 14px; margin-left: auto; margin-right: auto;"></div></div></a>`)}),Pe}(B,ze?.socialLinks),zt=void 0===ze.imageEnabled||ze.imageEnabled?`<img height="48" src="${rt}" alt="${null!==(et=null===(Pe=ze.image)||void 0===Pe?void 0:Pe.altText)&&void 0!==et?et:""}" style="height:48px;display:block;${P}">`:"";return`<div style="font-size:.75rem;line-height:1rem;display:block;width:fit-content;text-align:center;${P}color:${null!==(X=null===(z=Te?.text)||void 0===z?void 0:z.color)&&void 0!==X?X:"inherit"};">${zt}<div style="display: block; margin: 4px 0;"><div style="display:inline-block">${ze.title||B?.slugTitle}</div><div style="display:inline-block;padding-left:0.25rem;">\xa9${ze.copyright||B?.copyright}</div></div><div style="display:block;">${ze.mailingAddress}</div>\n  <div>${Ue}</div>\n  </div>`}(X,B,Pe);return at({htmlBlock:Wn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Rt=Pe?.layout)||void 0===Rt?void 0:Rt.backgroundColor})}if((0,y.isEventSingleSendBlockDTO)(X)){const Wn=function qe(ze,B,Te,be,Pe){const et=Te?.[ze?.contentId];return ft(B,be,Pe,et)}(X,B,Te,be,X.theme);return at({htmlBlock:Wn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Vt=Pe?.layout)||void 0===Vt?void 0:Vt.backgroundColor})}if((0,y.isYoutubeSingleSendBlockDTO)(X)){const Wn=function de(ze){const B=ae(ze?.alignment);let Te="",be="";const Pe=ze?.url||null;return ze?.url?(be=function Tt(ze){var B;const Te="$videoId",be=`https://img.youtube.com/vi/${Te}/mqdefault.jpg`,Pe=null===(B=ze.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9_-]+)/))||void 0===B?void 0:B[1];return Pe?be.replace(Te,Pe):""}(ze.url),Te=`<div style="text-align: center; background-image: url('${be}'); background: url('${be}') 0 0 / cover no-repeat; height: ${ze?.height}px; line-height: ${ze?.height}px; width: ${ze?.height+50}px; background-repeat: no-repeat; background-position: 0; background-size: cover">\x3c!--[if mso]><img src="${$.YOUTUBE_RED_ICON_PATH}" width="30"><div style="width:0px; height:0px; overflow:hidden; display:none; visibility:hidden; mso-hide:all;"><![endif]--\x3e<img src='${$.YOUTUBE_RED_ICON_PATH}' style='display: inline-block; vertical-align: middle; width: 32px;'>\x3c!--[if mso]></div><![endif]--\x3e</div>`):Te='<div style="border: 1px solid;text-align: center;padding: 0.625rem;height: inherit;width: 19.97rem"><p>Add a link to a YouTube video.</p></div>',`<a style="display:table;width:fit-content;color: inherit;height:${ze?.height}px;${B}" href="${Pe}" target="_blank">${Te}</a>`}(X);return at({htmlBlock:Wn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft})}if((0,y.isQuoteSingleSendBlockDTO)(X)){const Wn=function Ve(ze,B){var Te,be;return`<div style="display:block;width:fit-content;color: inherit;${ae(ze?.alignment)}">${`<div style="font-size: initial;line-height: normal;text-align: ${ze?.alignment};max-width: 20rem; word-break: break-word; color:${null!==(be=null===(Te=B?.text)||void 0===Te?void 0:Te.color)&&void 0!==be?be:"inherit"};"><style>blockquote:after {content: close-quote;vertical-align: bottom;}blockquote:before {content: open-quote;vertical-align: top;}</style><blockquote style='margin: 0; font-size: ${ze?.quoteFontSize}px; quotes: "\u201c" "\u201d" "\u2018" "\u2019";'><span style="font-family: 'Times New Roman', serif; display: inline;">${ze?.quote||"Life is like riding a bicycle. To keep your balance, you must keep moving."}</span></blockquote><p style="font-family: 'Verdana', sans-serif; margin: 0; font-size:${ze?.attributionFontSize}px">- ${ze?.attribution||"Albert Einstein"}</p></div>`}</div>`}(X,Pe);return at({htmlBlock:Wn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(_n=Pe?.layout)||void 0===_n?void 0:_n.backgroundColor})}if((0,y.isSignupSingleSendBlockDTO)(X)){const Wn=Te?.[X?.contentId],qn=(0,n.flattenThemes)([B?.slugTheme,Wn?.theme,be,X.theme]),Ni=function Ge(ze,B,Te,be){var Pe,et,z,X,P;const rt=Te?.[ze?.contentId];let Ue="";rt?.images&&rt?.images.length>0&&(Ue=null===(Pe=rt?.images)||void 0===Pe?void 0:Pe[0].url);const zt=B?.clickThroughUrl&&rt?`${B?.clickThroughUrl}/event/${rt?.contentId}`:"",sn=`\x3c!--[if mso]><img src="${Ue}" width="600"><div style="width:0px; height:0px; overflow:hidden; display:none; visibility:hidden; mso-hide:all;"><![endif]--\x3e<img src="${Ue}" style="height:auto; width:100%">\x3c!--[if mso]></div><![endif]--\x3e`,Mt=null!==(et=rt?.buttonLabels)&&void 0!==et&&et.pre?null===(z=rt?.buttonLabels)||void 0===z?void 0:z.pre:null!==(X=rt?.tickets)&&void 0!==X&&X.length&&(null===(P=rt?.tickets)||void 0===P?void 0:P.length)>0?"Tickets":"Sign up",mt=rt?.contentId?`<div style='text-align: center'><div style="display: block; padding: 10px; margin-top: 15px; border: 1px solid; ${(0,n._generateCSSRules)(be?.button)} ${(0,n._generateTextCSSRule)(be?.button)}">${Mt}</div></div>`:"",Ke=`<h4 style="${(0,n._generateTextCSSRule)(be?.card)}">${rt?.subtitle?rt.subtitle:""}</h4>`;return`<a style="width:100%; height:100%; text-decoration: none; color: inherit;" href="${zt}" target="_blank"><div style="display:block; max-width:600px; overflow:hidden; margin-left:auto; margin-right:auto; border-width:1px; border-style:solid; border-color:#0000000d; ${(0,n._generateCSSRules)(be?.card)}" >${Ue?sn:""}<div style="padding: 16px;"><h3 style="${(0,n._generateTextCSSRule)(be?.card)}">${rt?.title?rt.title:""}</h3>${Ke} ${mt}\n  </div></div></a>`}(X,B,Te,qn);return at({htmlBlock:Ni,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(oi=Pe?.layout)||void 0===oi?void 0:oi.backgroundColor})}if((0,y.isUpcomingEventSingleSendBlockDTO)(X)){const Wn=function ht(ze,B,Te,be,Pe){let et="";return ze.eventIds.forEach(z=>{const X=Pe?.[z];et+=ft(B,Te,be,X,!0)}),et}(X,B,be,X.theme,Te);return at({htmlBlock:Wn,paddingTop:X.paddingTop,paddingRight:X.paddingRight,paddingBottom:X.paddingBottom,paddingLeft:X.paddingLeft,backgroundColor:null===(Vn=Pe?.layout)||void 0===Vn?void 0:Vn.backgroundColor})}return""}).join(""),Pe)}},88898:function(De,A,C){"use strict";var y=this&&this.__importDefault||function(Ge){return Ge&&Ge.__esModule?Ge:{default:Ge}};Object.defineProperty(A,"__esModule",{value:!0}),A.flattenThemes=A._generateCSSRules=A._generateTextCSSRule=A.IThemeDTO=A.IThemeText=A.IThemeLayout=A.IResponsiveImage=A.IImage=A.IButtonStyle=A.ICardStyle=void 0;const $=y(C(15883));function le(Ge){return null!=Ge&&Ge>-1}A.ICardStyle=class n{},A.IButtonStyle=class a{},A.IImage=class L{},A.IResponsiveImage=class ae{},A.IThemeLayout=class K{},A.IThemeText=class se{},A.IThemeDTO=class fe{},A._generateTextCSSRule=function de(Ge){let ht="";return ht=Ge?.textColor?`color: ${Ge.textColor};`:"",ht},A._generateCSSRules=function Ve(Ge){const ht=!!Ge?.backgroundColor,at=!!Ge?.borderColor,Tt=!!Ge?.dropShadow,dt=le(Ge?.borderRadius),ft=le(Ge?.borderWidth),ze=[];return ht&&ze.push(`background-color: ${Ge.backgroundColor};`),dt&&ze.push(`border-radius: ${Ge?.borderRadius}px !important;`),at&&ze.push(`border-color: ${Ge.borderColor} !important;`),Tt&&ze.push(`box-shadow: ${Ge.dropShadow};`),ft&&ze.push(`border-width: ${Ge?.borderWidth}px !important;`),ze.join(" ")},A.flattenThemes=function Ee(Ge){return(0,$.default)({},...Ge.map(at=>Object.assign({},at)),qe)};const qe=(Ge,ht)=>{var at;if("object"==typeof Ge&&"object"==typeof ht){const Tt=(0,$.default)({},Ge,ht,qe);return 0===(null===(at=Object.keys(Tt))||void 0===at?void 0:at.length)?void 0:Tt}return ht??Ge}},19756:(De,A)=>{"use strict";var n;Object.defineProperty(A,"__esModule",{value:!0}),A.YOUTUBE_RED_ICON_PATH=A.SocialIcons=A.SOCIAL_LINKS=A.SocialLink=A.SingleSendBlockAlignmentEnum=A.SingleSendBlockTypeEnum=void 0,(n=A.SingleSendBlockTypeEnum||(A.SingleSendBlockTypeEnum={})).TEXT="text",n.HEADER="header",n.IMAGE="image",n.SPACER="spacer",n.FOOTER="footer",n.DIVIDER="divider",n.BUTTON="button",n.EVENT="event",n.YOUTUBE="youtube",n.QUOTE="quote",n.SIGNUP="signup",n.UPCOMING_EVENTS="upcomingEvents",function(n){n.LEFT="left",n.CENTER="center",n.RIGHT="right"}(A.SingleSendBlockAlignmentEnum||(A.SingleSendBlockAlignmentEnum={})),A.SocialLink=class ${},A.SOCIAL_LINKS={website:{icon:"website",placeholder:"https://www.you.com",label:"Website",color:"#000"},twitter:{icon:"twitter",placeholder:"https://twitter.com/you",label:"Twitter",color:"#1DA1F2"},instagram:{icon:"instagram",placeholder:"https://instagram.com/you",label:"Instagram",color:"#405DE6"},linkedIn:{icon:"linkedin",placeholder:"https://linkedin.com/in/you",label:"LinkedIn",color:"#0e76a8"},facebook:{icon:"facebook",placeholder:"https://facebook.com/you",label:"Facebook",color:"#3b5998"},youtube:{icon:"youtube",placeholder:"https://youtube.com/channel/you",label:"YouTube",color:"#c4302b"},tiktok:{icon:"tiktok",placeholder:"https://tiktok.com/@you",label:"TikTok",color:"#EE1D52"},soundcloud:{icon:"soundcloud",placeholder:"https://soundcloud.com/you",label:"SoundCloud",color:"#ff7700"},clubhouse:{icon:"clubhouse",placeholder:"https://joinclubhouse.com/you",label:"Clubhouse",color:"#f2d878"},twitch:{icon:"twitch",placeholder:"https://twitch.tv/you",label:"Twitch",color:"#6441a5"},spotify:{icon:"spotify",placeholder:"https://spotify.com/you",label:"Spotify",color:"#1DB954"},apple:{icon:"apple",placeholder:"https://podcasts.apple.com/you",label:"Apple",color:"#f94c57"},medium:{icon:"medium",placeholder:"https://medium.com/@you",label:"Medium",color:"#34a245"},github:{icon:"github",placeholder:"https://github.com/you",label:"GitHub",color:"#24292e"},dribbble:{icon:"dribbble",placeholder:"https://dribbble.com/you",label:"Dribbble",color:"#ea4c89"},patreon:{icon:"patreon",placeholder:"https://patreon.com/you",label:"Patreon",color:"#f96854"},discord:{icon:"discord",placeholder:"https://you.discord.com/",label:"Discord",color:"#5865F2"},pinterest:{icon:"pinterest",placeholder:"https://pinterest.com/you",label:"Pinterest",color:"#E60023"},bandcamp:{icon:"bandcamp",placeholder:"https://bandcamp.com/you",label:"Bandcamp",color:"#629aa9"},venmo:{icon:"venmo",placeholder:"https://venmo.com/you",label:"Venmo",color:"#3d95ce"},cashapp:{icon:"cashapp",placeholder:"https://cashapp.com/you",label:"Cash App",color:"#00C244"},paypal:{icon:"paypal",placeholder:"https://paypal.me/you",label:"PayPal",color:"#3b7bbf"},lastfm:{icon:"lastfm",placeholder:"https://last.fm/you",label:"last.fm",color:"#d50000"},threads:{icon:"threads",placeholder:"https://www.threads.net/you",label:"Threads",color:"#5E4CCA"},x:{icon:"x_social",placeholder:"https://x.com/you",label:"X",color:"#000000"}},A.SocialIcons={website:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fwebsite.png?alt=media&token=78a1b6fc-09b1-4d31-8cdf-db626738e8d8",twitter:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Ftwitter.png?alt=media&token=84d23904-bec2-46bb-871e-a7dcc622623e",instagram:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Finstagram.png?alt=media&token=88639fb9-29a2-449f-b3a4-e1dddaae5c93",linkedIn:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Flinkedin.png?alt=media&token=95640a14-9084-4c1f-aaac-6046d68d89f1",facebook:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Ffacebook.png?alt=media&token=b2674a52-064f-41e6-98ee-6bdd42e34445",youtube:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fyoutube.png?alt=media&token=286554f3-7a9a-4266-a791-57ee51665313",tiktok:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Ftiktok.png?alt=media&token=a8d98fbd-9c6b-4687-bb35-ba90c360cfb6",soundcloud:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fsoundcloud.png?alt=media&token=fc3c7230-c4a1-4bd2-888a-c78757713cf4",clubhouse:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fclubhouse.png?alt=media&token=671ee115-e2be-415b-9442-5d1d37c09ebd",twitch:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Ftwitch.png?alt=media&token=c9a5a32f-c7c3-47d8-a216-399b9ccb70f4",spotify:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fspotify.png?alt=media&token=21657dc1-165e-463f-a341-5cfdd8185810",lastfm:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Flastfm.png?alt=media&token=6e9a363f-ad40-440e-b165-6e83402141e5",venmo:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fvenmo.png?alt=media&token=53280aa1-ee18-498a-8a72-7d45ff5b6ade",cashapp:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fcashapp.png?alt=media&token=cf345028-5c0a-4434-9e75-6bbcedb465f2",paypal:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fpaypal.png?alt=media&token=90627338-1488-486b-80db-4f57e82e8f64",bandcamp:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fbandcamp.png?alt=media&token=389bc48e-c2aa-4527-919d-d5b641f412c9",apple:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fapple.png?alt=media&token=a6a3dc3b-f723-4e5e-a25f-73b4f341c257",medium:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fmedium.png?alt=media&token=d5e7d7ac-c05e-4486-96ff-370a57739693",github:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fgithub.png?alt=media&token=437079a2-9e04-48e2-b027-3968ceb4120c",dribbble:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fdribbble.png?alt=media&token=a2af310f-ddf4-48de-b627-6e71b3fabaf5",patreon:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fpatreon.png?alt=media&token=d2119d66-c051-4253-8a27-ab51478d5440",discord:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fdiscord.png?alt=media&token=e170c368-4e17-409e-a40b-a11afb25da33",pinterest:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fpinterest.png?alt=media&token=a9f63453-f73d-40a1-a440-5ad65321ad89",threads:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fthreads.png?alt=media&token=046f6ad8-091e-4534-ac51-a296c4cf359c",x:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/icons%2Fx_social.png?alt=media&token=cdc6dd22-6c8c-4074-8f21-ce0149613e0c"},A.YOUTUBE_RED_ICON_PATH="https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/youtube-red-icon.png?alt=media&token=afe0a984-214e-49da-ba79-9195a791b054"},51743:(De,A,C)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ITicket=A.ButtonLabels=A.isUpcomingEventSingleSendBlockDTO=A.isSignupSingleSendBlockDTO=A.isQuoteSingleSendBlockDTO=A.isYoutubeSingleSendBlockDTO=A.isEventSingleSendBlockDTO=A.isButtonSingleSendBlockDTO=A.isDividerSingleSendBlockDTO=A.isFooterSingleSendBlockDTO=A.isSpacerSingleSendBlockDTO=A.isImageSingleSendBlockDTO=A.isHeaderSingleSendBlockDTO=A.isRichTextSingleSendBlockDTO=A.UpcomingEventsSingleSendBlockDTO=A.SignupSingleSendBlockDTO=A.QuoteSingleSendBlockDTO=A.YoutubeSingleSendBlockDTO=A.EventSingleSendBlockDTO=A.ButtonSingleSendBlockDTO=A.DividerSingleSendBlockDTO=A.FooterSingleSendBlockDTO=A.SpacerSingleSendBlockDTO=A.ImageSingleSendBlockDTO=A.HeaderSingleSendBlockDTO=A.RichTextSingleSendBlockDTO=A.SingleSendBlockDTOBase=void 0;const y=C(19756);class ${}A.SingleSendBlockDTOBase=$,A.RichTextSingleSendBlockDTO=class n extends ${},A.HeaderSingleSendBlockDTO=class a extends ${},A.ImageSingleSendBlockDTO=class L extends ${},A.SpacerSingleSendBlockDTO=class ae extends ${},A.FooterSingleSendBlockDTO=class K extends ${},A.DividerSingleSendBlockDTO=class se extends ${},A.ButtonSingleSendBlockDTO=class fe extends ${},A.EventSingleSendBlockDTO=class le extends ${},A.YoutubeSingleSendBlockDTO=class de extends ${},A.QuoteSingleSendBlockDTO=class Ve extends ${},A.SignupSingleSendBlockDTO=class Ee extends ${},A.UpcomingEventsSingleSendBlockDTO=class qe extends ${},A.isRichTextSingleSendBlockDTO=function Ge(P){return P.blockType===y.SingleSendBlockTypeEnum.TEXT},A.isHeaderSingleSendBlockDTO=function ht(P){return P.blockType===y.SingleSendBlockTypeEnum.HEADER},A.isImageSingleSendBlockDTO=function at(P){return P.blockType===y.SingleSendBlockTypeEnum.IMAGE},A.isSpacerSingleSendBlockDTO=function Tt(P){return P.blockType===y.SingleSendBlockTypeEnum.SPACER},A.isFooterSingleSendBlockDTO=function dt(P){return P.blockType===y.SingleSendBlockTypeEnum.FOOTER},A.isDividerSingleSendBlockDTO=function ft(P){return P.blockType===y.SingleSendBlockTypeEnum.DIVIDER},A.isButtonSingleSendBlockDTO=function ze(P){return P.blockType===y.SingleSendBlockTypeEnum.BUTTON},A.isEventSingleSendBlockDTO=function B(P){return P.blockType===y.SingleSendBlockTypeEnum.EVENT},A.isYoutubeSingleSendBlockDTO=function Te(P){return P.blockType===y.SingleSendBlockTypeEnum.YOUTUBE},A.isQuoteSingleSendBlockDTO=function be(P){return P.blockType===y.SingleSendBlockTypeEnum.QUOTE},A.isSignupSingleSendBlockDTO=function Pe(P){return P.blockType===y.SingleSendBlockTypeEnum.SIGNUP},A.isUpcomingEventSingleSendBlockDTO=function et(P){return P.blockType===y.SingleSendBlockTypeEnum.UPCOMING_EVENTS},A.ButtonLabels=class z{},A.ITicket=class X{}},57072:(De,A,C)=>{"use strict";C.d(A,{a:()=>K});var y=C(93953),$=C(99172),n=C(84572),a=C(48455),L=C(82260),ae=C(26069);let K=(()=>{class se{constructor(le,de,Ve,Ee,qe){this._slug=le,this._transferState=de,this._content=Ve,this._device=Ee,this._landingPageStore=qe}getHomeRouteData(){return(0,n.z)([this.getCurrentSlug$(),this.getDefaultLandingPageForCurrentSlug$()])}getCurrentSlug$(){const de=(0,y.zw6)("slug-"+this._device.currentSlug),Ve=this._transferState.get(de,null),Ee=this._slug.getCurrentSlug$();return Ve?Ee.pipe((0,$.Z)(L.zs1.fromObject(Ve))):Ee}getCurrentSlugFromCache(){const de=(0,y.zw6)("slug-"+this._device.currentSlug),Ve=this._transferState.get(de,null);return L.zs1.fromObject(Ve)}getContent$(le){if(!le?.length)return(0,a.H)([null]);const de=this._content.getContent$(le),Ve=(0,y.zw6)("content-"+le),Ee=this._transferState.get(Ve,null);return Ee?de.pipe((0,$.Z)(L.UCW.fromObject(Ee))):de}getConversationMessage$(le){if(!le?.length)return(0,a.H)([null]);const de=this._content.getConversationMessage$(le),Ve=(0,y.zw6)("message-"+le),Ee=this._transferState.get(Ve,null);return Ee?de.pipe((0,$.Z)(L.hSD.fromObject(Ee))):de}getContentFromCache(le){if(!le?.length)return null;const de=(0,y.zw6)("content-"+le),Ve=this._transferState.get(de,null);return Ve?L.UCW.fromObject(Ve):null}getLandingPage$({label:le="",isDefault:de=!1}){const Ve=(0,y.zw6)(`collection-${de?"default":le}`),Ee=de||!le?.length?this._landingPageStore.getDefaultLandingPage$():this._landingPageStore.getLandingPageByLabel$(le),qe=this._transferState.get(Ve,null);return qe?Ee.pipe((0,$.Z)({data:L.ney.fromObject(qe)})):Ee}getLandingPageByLabel$(le){return this.getLandingPage$({label:le})}getDefaultLandingPageForCurrentSlug$(){return this.getLandingPage$({isDefault:!0})}getSend$(le){if(!le?.length)return(0,a.H)([null]);const de=this._content.getWebHostedSendById$({id:le}),Ve=(0,y.zw6)("singleSend-"+le),Ee=this._transferState.get(Ve,null);return Ee?de.pipe((0,$.Z)(L.baN.fromObject(Ee))):de}getSendFromCache(le){if(!le?.length)return null;const de=(0,y.zw6)("singleSend-"+le),Ve=this._transferState.get(de,null);return Ve?L.baN.fromObject(Ve):null}static#e=this.\u0275fac=function(de){return new(de||se)(y.KVO(ae.hKm),y.KVO(y.pJN),y.KVO(ae.fH8),y.KVO(ae.gcd),y.KVO(ae.HCW))};static#t=this.\u0275prov=y.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})()},77798:(De,A,C)=>{"use strict";var y=C(345),$=C(93953),n=C(60177);const a=void 0,ae=["en",[["a","p"],["AM","PM"],a],[["AM","PM"],a,a],[["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"]],a,[["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"]],a,[["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}",a,"{1} 'at' {0}",a],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function L(Je){const ee=Math.floor(Math.abs(Je)),Ce=Je.toString().replace(/^[^.]*\.?/,"").length;return 1===ee&&0===Ce?1:5}];var K=C(21626),se=C(49969);function le(Je){return new $.wOt(3e3,!1)}function Ci(Je){switch(Je.length){case 0:return new se.sf;case 1:return Je[0];default:return new se.ui(Je)}}function oo(Je,J,ee=new Map,Ce=new Map){const Ye=[],vt=[];let Xt=-1,St=null;if(J.forEach(In=>{const An=In.get("offset"),Ui=An==Xt,Zi=Ui&&St||new Map;In.forEach((_r,Ro)=>{let Oo=Ro,Lo=_r;if("offset"!==Ro)switch(Oo=Je.normalizePropertyName(Oo,Ye),Lo){case se.FX:Lo=ee.get(Ro);break;case se.kp:Lo=Ce.get(Ro);break;default:Lo=Je.normalizeStyleValue(Ro,Oo,Lo,Ye)}Zi.set(Oo,Lo)}),Ui||vt.push(Zi),St=Zi,Xt=An}),Ye.length)throw function Mt(){return new $.wOt(3502,!1)}();return vt}function Rn(Je,J,ee,Ce){switch(J){case"start":Je.onStart(()=>Ce(ee&&vi(ee,"start",Je)));break;case"done":Je.onDone(()=>Ce(ee&&vi(ee,"done",Je)));break;case"destroy":Je.onDestroy(()=>Ce(ee&&vi(ee,"destroy",Je)))}}function vi(Je,J,ee){const vt=So(Je.element,Je.triggerName,Je.fromState,Je.toState,J||Je.phaseName,ee.totalTime??Je.totalTime,!!ee.disabled),Xt=Je._data;return null!=Xt&&(vt._data=Xt),vt}function So(Je,J,ee,Ce,Ye="",vt=0,Xt){return{element:Je,triggerName:J,fromState:ee,toState:Ce,phaseName:Ye,totalTime:vt,disabled:!!Xt}}function fi(Je,J,ee){let Ce=Je.get(J);return Ce||Je.set(J,Ce=ee),Ce}function ei(Je){const J=Je.indexOf(":");return[Je.substring(1,J),Je.slice(J+1)]}const Yi=typeof document>"u"?null:document.documentElement;function En(Je){const J=Je.parentNode||Je.host||null;return J===Yi?null:J}let lt=null,He=!1;function Dt(Je,J){for(;J;){if(J===Je)return!0;J=En(J)}return!1}function rn(Je,J,ee){if(ee)return Array.from(Je.querySelectorAll(J));const Ce=Je.querySelector(J);return Ce?[Ce]:[]}let ri=(()=>{class Je{validateStyleProperty(ee){return function Le(Je){lt||(lt=function gt(){return typeof document<"u"?document.body:null}()||{},He=!!lt.style&&"WebkitAppearance"in lt.style);let J=!0;return lt.style&&!function Xn(Je){return"ebkit"==Je.substring(1,6)}(Je)&&(J=Je in lt.style,!J&&He&&(J="Webkit"+Je.charAt(0).toUpperCase()+Je.slice(1)in lt.style)),J}(ee)}containsElement(ee,Ce){return Dt(ee,Ce)}getParentElement(ee){return En(ee)}query(ee,Ce,Ye){return rn(ee,Ce,Ye)}computeStyle(ee,Ce,Ye){return Ye||""}animate(ee,Ce,Ye,vt,Xt,St=[],In){return new se.sf(Ye,vt)}static#e=this.\u0275fac=function(Ce){return new(Ce||Je)};static#t=this.\u0275prov=$.jDH({token:Je,factory:Je.\u0275fac})}return Je})();class Bi{static#e=this.NOOP=new ri}class wi{}const Li=1e3,Di="ng-enter",Mo="ng-leave",Yt="ng-trigger",Hn=".ng-trigger",Ri="ng-animating",qt=".ng-animating";function Cn(Je){if("number"==typeof Je)return Je;const J=Je.match(/^(-?[\.\d]+)(m?s)/);return!J||J.length<2?0:Bn(parseFloat(J[1]),J[2])}function Bn(Je,J){return"s"===J?Je*Li:Je}function xt(Je,J,ee){return Je.hasOwnProperty("duration")?Je:function en(Je,J,ee){let Ye,vt=0,Xt="";if("string"==typeof Je){const St=Je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===St)return J.push(le()),{duration:0,delay:0,easing:""};Ye=Bn(parseFloat(St[1]),St[2]);const In=St[3];null!=In&&(vt=Bn(parseFloat(In),St[4]));const An=St[5];An&&(Xt=An)}else Ye=Je;if(!ee){let St=!1,In=J.length;Ye<0&&(J.push(function de(){return new $.wOt(3100,!1)}()),St=!0),vt<0&&(J.push(function Ve(){return new $.wOt(3101,!1)}()),St=!0),St&&J.splice(In,0,le())}return{duration:Ye,delay:vt,easing:Xt}}(Je,J,ee)}function tn(Je,J,ee){J.forEach((Ce,Ye)=>{const vt=Be(Ye);ee&&!ee.has(Ye)&&ee.set(Ye,Je.style[vt]),Je.style[vt]=Ce})}function tt(Je,J){J.forEach((ee,Ce)=>{const Ye=Be(Ce);Je.style[Ye]=""})}function ut(Je){return Array.isArray(Je)?1==Je.length?Je[0]:(0,se.K2)(Je):Je}const gn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ut(Je){let J=[];if("string"==typeof Je){let ee;for(;ee=gn.exec(Je);)J.push(ee[1]);gn.lastIndex=0}return J}function Qn(Je,J,ee){const Ce=`${Je}`,Ye=Ce.replace(gn,(vt,Xt)=>{let St=J[Xt];return null==St&&(ee.push(function qe(){return new $.wOt(3003,!1)}()),St=""),St.toString()});return Ye==Ce?Je:Ye}const Nt=/-+([a-z0-9])/g;function Be(Je){return Je.replace(Nt,(...J)=>J[1].toUpperCase())}function ge(Je,J,ee){switch(J.type){case se.If.Trigger:return Je.visitTrigger(J,ee);case se.If.State:return Je.visitState(J,ee);case se.If.Transition:return Je.visitTransition(J,ee);case se.If.Sequence:return Je.visitSequence(J,ee);case se.If.Group:return Je.visitGroup(J,ee);case se.If.Animate:return Je.visitAnimate(J,ee);case se.If.Keyframes:return Je.visitKeyframes(J,ee);case se.If.Style:return Je.visitStyle(J,ee);case se.If.Reference:return Je.visitReference(J,ee);case se.If.AnimateChild:return Je.visitAnimateChild(J,ee);case se.If.AnimateRef:return Je.visitAnimateRef(J,ee);case se.If.Query:return Je.visitQuery(J,ee);case se.If.Stagger:return Je.visitStagger(J,ee);default:throw function Ge(){return new $.wOt(3004,!1)}()}}function We(Je,J){return window.getComputedStyle(Je)[J]}const Ft=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 an extends wi{normalizePropertyName(J,ee){return Be(J)}normalizeStyleValue(J,ee,Ce,Ye){let vt="";const Xt=Ce.toString().trim();if(Ft.has(ee)&&0!==Ce&&"0"!==Ce)if("number"==typeof Ce)vt="px";else{const St=Ce.match(/^[+-]?[\d\.]+([a-z]*)$/);St&&0==St[1].length&&Ye.push(function ht(){return new $.wOt(3005,!1)}())}return Xt+vt}}const Zt="*";const ro=new Set(["true","1"]),go=new Set(["false","0"]);function Ao(Je,J){const ee=ro.has(Je)||go.has(Je),Ce=ro.has(J)||go.has(J);return(Ye,vt)=>{let Xt=Je==Zt||Je==Ye,St=J==Zt||J==vt;return!Xt&&ee&&"boolean"==typeof Ye&&(Xt=Ye?ro.has(Je):go.has(Je)),!St&&Ce&&"boolean"==typeof vt&&(St=vt?ro.has(J):go.has(J)),Xt&&St}}const $r=new RegExp("s*:selfs*,?","g");function ct(Je,J,ee,Ce){return new Ot(Je).build(J,ee,Ce)}class Ot{constructor(J){this._driver=J}build(J,ee,Ce){const Ye=new ai(ee);return this._resetContextStyleTimingState(Ye),ge(this,ut(J),Ye)}_resetContextStyleTimingState(J){J.currentQuerySelector="",J.collectedStyles=new Map,J.collectedStyles.set("",new Map),J.currentTime=0}visitTrigger(J,ee){let Ce=ee.queryCount=0,Ye=ee.depCount=0;const vt=[],Xt=[];return"@"==J.name.charAt(0)&&ee.errors.push(function at(){return new $.wOt(3006,!1)}()),J.definitions.forEach(St=>{if(this._resetContextStyleTimingState(ee),St.type==se.If.State){const In=St,An=In.name;An.toString().split(/\s*,\s*/).forEach(Ui=>{In.name=Ui,vt.push(this.visitState(In,ee))}),In.name=An}else if(St.type==se.If.Transition){const In=this.visitTransition(St,ee);Ce+=In.queryCount,Ye+=In.depCount,Xt.push(In)}else ee.errors.push(function Tt(){return new $.wOt(3007,!1)}())}),{type:se.If.Trigger,name:J.name,states:vt,transitions:Xt,queryCount:Ce,depCount:Ye,options:null}}visitState(J,ee){const Ce=this.visitStyle(J.styles,ee),Ye=J.options&&J.options.params||null;if(Ce.containsDynamicStyles){const vt=new Set,Xt=Ye||{};Ce.styles.forEach(St=>{St instanceof Map&&St.forEach(In=>{Ut(In).forEach(An=>{Xt.hasOwnProperty(An)||vt.add(An)})})}),vt.size&&ee.errors.push(function dt(){return new $.wOt(3008,!1)}(0,vt.values()))}return{type:se.If.State,name:J.name,style:Ce,options:Ye?{params:Ye}:null}}visitTransition(J,ee){ee.queryCount=0,ee.depCount=0;const Ce=ge(this,ut(J.animation),ee),Ye=function Dn(Je,J){const ee=[];return"string"==typeof Je?Je.split(/\s*,\s*/).forEach(Ce=>function gi(Je,J,ee){if(":"==Je[0]){const In=function $i(Je,J){switch(Je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(ee,Ce)=>parseFloat(Ce)>parseFloat(ee);case":decrement":return(ee,Ce)=>parseFloat(Ce)<parseFloat(ee);default:return J.push(function rt(){return new $.wOt(3016,!1)}()),"* => *"}}(Je,ee);if("function"==typeof In)return void J.push(In);Je=In}const Ce=Je.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Ce||Ce.length<4)return ee.push(function P(){return new $.wOt(3015,!1)}()),J;const Ye=Ce[1],vt=Ce[2],Xt=Ce[3];J.push(Ao(Ye,Xt)),"<"==vt[0]&&(Ye!=Zt||Xt!=Zt)&&J.push(Ao(Xt,Ye))}(Ce,ee,J)):ee.push(Je),ee}(J.expr,ee.errors);return{type:se.If.Transition,matchers:Ye,animation:Ce,queryCount:ee.queryCount,depCount:ee.depCount,options:Ln(J.options)}}visitSequence(J,ee){return{type:se.If.Sequence,steps:J.steps.map(Ce=>ge(this,Ce,ee)),options:Ln(J.options)}}visitGroup(J,ee){const Ce=ee.currentTime;let Ye=0;const vt=J.steps.map(Xt=>{ee.currentTime=Ce;const St=ge(this,Xt,ee);return Ye=Math.max(Ye,ee.currentTime),St});return ee.currentTime=Ye,{type:se.If.Group,steps:vt,options:Ln(J.options)}}visitAnimate(J,ee){const Ce=function On(Je,J){if(Je.hasOwnProperty("duration"))return Je;if("number"==typeof Je)return Ei(xt(Je,J).duration,0,"");const ee=Je;if(ee.split(/\s+/).some(vt=>"{"==vt.charAt(0)&&"{"==vt.charAt(1))){const vt=Ei(0,0,"");return vt.dynamic=!0,vt.strValue=ee,vt}const Ye=xt(ee,J);return Ei(Ye.duration,Ye.delay,Ye.easing)}(J.timings,ee.errors);ee.currentAnimateTimings=Ce;let Ye,vt=J.styles?J.styles:(0,se.iF)({});if(vt.type==se.If.Keyframes)Ye=this.visitKeyframes(vt,ee);else{let Xt=J.styles,St=!1;if(!Xt){St=!0;const An={};Ce.easing&&(An.easing=Ce.easing),Xt=(0,se.iF)(An)}ee.currentTime+=Ce.duration+Ce.delay;const In=this.visitStyle(Xt,ee);In.isEmptyStep=St,Ye=In}return ee.currentAnimateTimings=null,{type:se.If.Animate,timings:Ce,style:Ye,options:null}}visitStyle(J,ee){const Ce=this._makeStyleAst(J,ee);return this._validateStyleAst(Ce,ee),Ce}_makeStyleAst(J,ee){const Ce=[],Ye=Array.isArray(J.styles)?J.styles:[J.styles];for(let St of Ye)"string"==typeof St?St===se.kp?Ce.push(St):ee.errors.push(new $.wOt(3002,!1)):Ce.push(new Map(Object.entries(St)));let vt=!1,Xt=null;return Ce.forEach(St=>{if(St instanceof Map&&(St.has("easing")&&(Xt=St.get("easing"),St.delete("easing")),!vt))for(let In of St.values())if(In.toString().indexOf("{{")>=0){vt=!0;break}}),{type:se.If.Style,styles:Ce,easing:Xt,offset:J.offset,containsDynamicStyles:vt,options:null}}_validateStyleAst(J,ee){const Ce=ee.currentAnimateTimings;let Ye=ee.currentTime,vt=ee.currentTime;Ce&&vt>0&&(vt-=Ce.duration+Ce.delay),J.styles.forEach(Xt=>{"string"!=typeof Xt&&Xt.forEach((St,In)=>{const An=ee.collectedStyles.get(ee.currentQuerySelector),Ui=An.get(In);let Zi=!0;Ui&&(vt!=Ye&&vt>=Ui.startTime&&Ye<=Ui.endTime&&(ee.errors.push(function B(){return new $.wOt(3010,!1)}()),Zi=!1),vt=Ui.startTime),Zi&&An.set(In,{startTime:vt,endTime:Ye}),ee.options&&function Et(Je,J,ee){const Ce=J.params||{},Ye=Ut(Je);Ye.length&&Ye.forEach(vt=>{Ce.hasOwnProperty(vt)||ee.push(function Ee(){return new $.wOt(3001,!1)}())})}(St,ee.options,ee.errors)})})}visitKeyframes(J,ee){const Ce={type:se.If.Keyframes,styles:[],options:null};if(!ee.currentAnimateTimings)return ee.errors.push(function Te(){return new $.wOt(3011,!1)}()),Ce;let vt=0;const Xt=[];let St=!1,In=!1,An=0;const Ui=J.steps.map(ds=>{const Es=this._makeStyleAst(ds,ee);let Ms=null!=Es.offset?Es.offset:function ln(Je){if("string"==typeof Je)return null;let J=null;if(Array.isArray(Je))Je.forEach(ee=>{if(ee instanceof Map&&ee.has("offset")){const Ce=ee;J=parseFloat(Ce.get("offset")),Ce.delete("offset")}});else if(Je instanceof Map&&Je.has("offset")){const ee=Je;J=parseFloat(ee.get("offset")),ee.delete("offset")}return J}(Es.styles),Fr=0;return null!=Ms&&(vt++,Fr=Es.offset=Ms),In=In||Fr<0||Fr>1,St=St||Fr<An,An=Fr,Xt.push(Fr),Es});In&&ee.errors.push(function be(){return new $.wOt(3012,!1)}()),St&&ee.errors.push(function Pe(){return new $.wOt(3200,!1)}());const Zi=J.steps.length;let _r=0;vt>0&&vt<Zi?ee.errors.push(function et(){return new $.wOt(3202,!1)}()):0==vt&&(_r=1/(Zi-1));const Ro=Zi-1,Oo=ee.currentTime,Lo=ee.currentAnimateTimings,ks=Lo.duration;return Ui.forEach((ds,Es)=>{const Ms=_r>0?Es==Ro?1:_r*Es:Xt[Es],Fr=Ms*ks;ee.currentTime=Oo+Lo.delay+Fr,Lo.duration=Fr,this._validateStyleAst(ds,ee),ds.offset=Ms,Ce.styles.push(ds)}),Ce}visitReference(J,ee){return{type:se.If.Reference,animation:ge(this,ut(J.animation),ee),options:Ln(J.options)}}visitAnimateChild(J,ee){return ee.depCount++,{type:se.If.AnimateChild,options:Ln(J.options)}}visitAnimateRef(J,ee){return{type:se.If.AnimateRef,animation:this.visitReference(J.animation,ee),options:Ln(J.options)}}visitQuery(J,ee){const Ce=ee.currentQuerySelector,Ye=J.options||{};ee.queryCount++,ee.currentQuery=J;const[vt,Xt]=function xn(Je){const J=!!Je.split(/\s*,\s*/).find(ee=>":self"==ee);return J&&(Je=Je.replace($r,"")),Je=Je.replace(/@\*/g,Hn).replace(/@\w+/g,ee=>Hn+"-"+ee.slice(1)).replace(/:animating/g,qt),[Je,J]}(J.selector);ee.currentQuerySelector=Ce.length?Ce+" "+vt:vt,fi(ee.collectedStyles,ee.currentQuerySelector,new Map);const St=ge(this,ut(J.animation),ee);return ee.currentQuery=null,ee.currentQuerySelector=Ce,{type:se.If.Query,selector:vt,limit:Ye.limit||0,optional:!!Ye.optional,includeSelf:Xt,animation:St,originalSelector:J.selector,options:Ln(J.options)}}visitStagger(J,ee){ee.currentQuery||ee.errors.push(function z(){return new $.wOt(3013,!1)}());const Ce="full"===J.timings?{duration:0,delay:0,easing:"full"}:xt(J.timings,ee.errors,!0);return{type:se.If.Stagger,animation:ge(this,ut(J.animation),ee),timings:Ce,options:null}}}class ai{constructor(J){this.errors=J,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 Ln(Je){return Je?(Je={...Je}).params&&(Je.params=function Fn(Je){return Je?{...Je}:null}(Je.params)):Je={},Je}function Ei(Je,J,ee){return{duration:Je,delay:J,easing:ee}}function Po(Je,J,ee,Ce,Ye,vt,Xt=null,St=!1){return{type:1,element:Je,keyframes:J,preStyleProps:ee,postStyleProps:Ce,duration:Ye,delay:vt,totalTime:Ye+vt,easing:Xt,subTimeline:St}}class Oi{constructor(){this._map=new Map}get(J){return this._map.get(J)||[]}append(J,ee){let Ce=this._map.get(J);Ce||this._map.set(J,Ce=[]),Ce.push(...ee)}has(J){return this._map.has(J)}clear(){this._map.clear()}}const wo=new RegExp(":enter","g"),jo=new RegExp(":leave","g");function or(Je,J,ee,Ce,Ye,vt=new Map,Xt=new Map,St,In,An=[]){return(new na).buildKeyframes(Je,J,ee,Ce,Ye,vt,Xt,St,In,An)}class na{buildKeyframes(J,ee,Ce,Ye,vt,Xt,St,In,An,Ui=[]){An=An||new Oi;const Zi=new gr(J,ee,An,Ye,vt,Ui,[]);Zi.options=In;const _r=In.delay?Cn(In.delay):0;Zi.currentTimeline.delayNextStep(_r),Zi.currentTimeline.setStyles([Xt],null,Zi.errors,In),ge(this,Ce,Zi);const Ro=Zi.timelines.filter(Oo=>Oo.containsAnimation());if(Ro.length&&St.size){let Oo;for(let Lo=Ro.length-1;Lo>=0;Lo--){const ks=Ro[Lo];if(ks.element===ee){Oo=ks;break}}Oo&&!Oo.allowOnlyTimelineStyles()&&Oo.setStyles([St],null,Zi.errors,In)}return Ro.length?Ro.map(Oo=>Oo.buildKeyframes()):[Po(ee,[],[],[],0,_r,"",!1)]}visitTrigger(J,ee){}visitState(J,ee){}visitTransition(J,ee){}visitAnimateChild(J,ee){const Ce=ee.subInstructions.get(ee.element);if(Ce){const Ye=ee.createSubContext(J.options),vt=ee.currentTimeline.currentTime,Xt=this._visitSubInstructions(Ce,Ye,Ye.options);vt!=Xt&&ee.transformIntoNewTimeline(Xt)}ee.previousNode=J}visitAnimateRef(J,ee){const Ce=ee.createSubContext(J.options);Ce.transformIntoNewTimeline(),this._applyAnimationRefDelays([J.options,J.animation.options],ee,Ce),this.visitReference(J.animation,Ce),ee.transformIntoNewTimeline(Ce.currentTimeline.currentTime),ee.previousNode=J}_applyAnimationRefDelays(J,ee,Ce){for(const Ye of J){const vt=Ye?.delay;if(vt){const Xt="number"==typeof vt?vt:Cn(Qn(vt,Ye?.params??{},ee.errors));Ce.delayNextStep(Xt)}}}_visitSubInstructions(J,ee,Ce){let vt=ee.currentTimeline.currentTime;const Xt=null!=Ce.duration?Cn(Ce.duration):null,St=null!=Ce.delay?Cn(Ce.delay):null;return 0!==Xt&&J.forEach(In=>{const An=ee.appendInstructionToTimeline(In,Xt,St);vt=Math.max(vt,An.duration+An.delay)}),vt}visitReference(J,ee){ee.updateOptions(J.options,!0),ge(this,J.animation,ee),ee.previousNode=J}visitSequence(J,ee){const Ce=ee.subContextCount;let Ye=ee;const vt=J.options;if(vt&&(vt.params||vt.delay)&&(Ye=ee.createSubContext(vt),Ye.transformIntoNewTimeline(),null!=vt.delay)){Ye.previousNode.type==se.If.Style&&(Ye.currentTimeline.snapshotCurrentStyles(),Ye.previousNode=Ko);const Xt=Cn(vt.delay);Ye.delayNextStep(Xt)}J.steps.length&&(J.steps.forEach(Xt=>ge(this,Xt,Ye)),Ye.currentTimeline.applyStylesToKeyframe(),Ye.subContextCount>Ce&&Ye.transformIntoNewTimeline()),ee.previousNode=J}visitGroup(J,ee){const Ce=[];let Ye=ee.currentTimeline.currentTime;const vt=J.options&&J.options.delay?Cn(J.options.delay):0;J.steps.forEach(Xt=>{const St=ee.createSubContext(J.options);vt&&St.delayNextStep(vt),ge(this,Xt,St),Ye=Math.max(Ye,St.currentTimeline.currentTime),Ce.push(St.currentTimeline)}),Ce.forEach(Xt=>ee.currentTimeline.mergeTimelineCollectedStyles(Xt)),ee.transformIntoNewTimeline(Ye),ee.previousNode=J}_visitTiming(J,ee){if(J.dynamic){const Ce=J.strValue;return xt(ee.params?Qn(Ce,ee.params,ee.errors):Ce,ee.errors)}return{duration:J.duration,delay:J.delay,easing:J.easing}}visitAnimate(J,ee){const Ce=ee.currentAnimateTimings=this._visitTiming(J.timings,ee),Ye=ee.currentTimeline;Ce.delay&&(ee.incrementTime(Ce.delay),Ye.snapshotCurrentStyles());const vt=J.style;vt.type==se.If.Keyframes?this.visitKeyframes(vt,ee):(ee.incrementTime(Ce.duration),this.visitStyle(vt,ee),Ye.applyStylesToKeyframe()),ee.currentAnimateTimings=null,ee.previousNode=J}visitStyle(J,ee){const Ce=ee.currentTimeline,Ye=ee.currentAnimateTimings;!Ye&&Ce.hasCurrentStyleProperties()&&Ce.forwardFrame();const vt=Ye&&Ye.easing||J.easing;J.isEmptyStep?Ce.applyEmptyStep(vt):Ce.setStyles(J.styles,vt,ee.errors,ee.options),ee.previousNode=J}visitKeyframes(J,ee){const Ce=ee.currentAnimateTimings,Ye=ee.currentTimeline.duration,vt=Ce.duration,St=ee.createSubContext().currentTimeline;St.easing=Ce.easing,J.styles.forEach(In=>{St.forwardTime((In.offset||0)*vt),St.setStyles(In.styles,In.easing,ee.errors,ee.options),St.applyStylesToKeyframe()}),ee.currentTimeline.mergeTimelineCollectedStyles(St),ee.transformIntoNewTimeline(Ye+vt),ee.previousNode=J}visitQuery(J,ee){const Ce=ee.currentTimeline.currentTime,Ye=J.options||{},vt=Ye.delay?Cn(Ye.delay):0;vt&&(ee.previousNode.type===se.If.Style||0==Ce&&ee.currentTimeline.hasCurrentStyleProperties())&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=Ko);let Xt=Ce;const St=ee.invokeQuery(J.selector,J.originalSelector,J.limit,J.includeSelf,!!Ye.optional,ee.errors);ee.currentQueryTotal=St.length;let In=null;St.forEach((An,Ui)=>{ee.currentQueryIndex=Ui;const Zi=ee.createSubContext(J.options,An);vt&&Zi.delayNextStep(vt),An===ee.element&&(In=Zi.currentTimeline),ge(this,J.animation,Zi),Zi.currentTimeline.applyStylesToKeyframe(),Xt=Math.max(Xt,Zi.currentTimeline.currentTime)}),ee.currentQueryIndex=0,ee.currentQueryTotal=0,ee.transformIntoNewTimeline(Xt),In&&(ee.currentTimeline.mergeTimelineCollectedStyles(In),ee.currentTimeline.snapshotCurrentStyles()),ee.previousNode=J}visitStagger(J,ee){const Ce=ee.parentContext,Ye=ee.currentTimeline,vt=J.timings,Xt=Math.abs(vt.duration),St=Xt*(ee.currentQueryTotal-1);let In=Xt*ee.currentQueryIndex;switch(vt.duration<0?"reverse":vt.easing){case"reverse":In=St-In;break;case"full":In=Ce.currentStaggerTime}const Ui=ee.currentTimeline;In&&Ui.delayNextStep(In);const Zi=Ui.currentTime;ge(this,J.animation,ee),ee.previousNode=J,Ce.currentStaggerTime=Ye.currentTime-Zi+(Ye.startTime-Ce.currentTimeline.startTime)}}const Ko={};class gr{constructor(J,ee,Ce,Ye,vt,Xt,St,In){this._driver=J,this.element=ee,this.subInstructions=Ce,this._enterClassName=Ye,this._leaveClassName=vt,this.errors=Xt,this.timelines=St,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ko,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=In||new ga(this._driver,ee,0),St.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(J,ee){if(!J)return;const Ce=J;let Ye=this.options;null!=Ce.duration&&(Ye.duration=Cn(Ce.duration)),null!=Ce.delay&&(Ye.delay=Cn(Ce.delay));const vt=Ce.params;if(vt){let Xt=Ye.params;Xt||(Xt=this.options.params={}),Object.keys(vt).forEach(St=>{(!ee||!Xt.hasOwnProperty(St))&&(Xt[St]=Qn(vt[St],Xt,this.errors))})}}_copyOptions(){const J={};if(this.options){const ee=this.options.params;if(ee){const Ce=J.params={};Object.keys(ee).forEach(Ye=>{Ce[Ye]=ee[Ye]})}}return J}createSubContext(J=null,ee,Ce){const Ye=ee||this.element,vt=new gr(this._driver,Ye,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ye,Ce||0));return vt.previousNode=this.previousNode,vt.currentAnimateTimings=this.currentAnimateTimings,vt.options=this._copyOptions(),vt.updateOptions(J),vt.currentQueryIndex=this.currentQueryIndex,vt.currentQueryTotal=this.currentQueryTotal,vt.parentContext=this,this.subContextCount++,vt}transformIntoNewTimeline(J){return this.previousNode=Ko,this.currentTimeline=this.currentTimeline.fork(this.element,J),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(J,ee,Ce){const Ye={duration:ee??J.duration,delay:this.currentTimeline.currentTime+(Ce??0)+J.delay,easing:""},vt=new ps(this._driver,J.element,J.keyframes,J.preStyleProps,J.postStyleProps,Ye,J.stretchStartingKeyframe);return this.timelines.push(vt),Ye}incrementTime(J){this.currentTimeline.forwardTime(this.currentTimeline.duration+J)}delayNextStep(J){J>0&&this.currentTimeline.delayNextStep(J)}invokeQuery(J,ee,Ce,Ye,vt,Xt){let St=[];if(Ye&&St.push(this.element),J.length>0){J=(J=J.replace(wo,"."+this._enterClassName)).replace(jo,"."+this._leaveClassName);let An=this._driver.query(this.element,J,1!=Ce);0!==Ce&&(An=Ce<0?An.slice(An.length+Ce,An.length):An.slice(0,Ce)),St.push(...An)}return!vt&&0==St.length&&Xt.push(function X(){return new $.wOt(3014,!1)}()),St}}class ga{constructor(J,ee,Ce,Ye){this._driver=J,this.element=ee,this.startTime=Ce,this._elementTimelineStylesLookup=Ye,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(ee),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(ee,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(J){const ee=1===this._keyframes.size&&this._pendingStyles.size;this.duration||ee?(this.forwardTime(this.currentTime+J),ee&&this.snapshotCurrentStyles()):this.startTime+=J}fork(J,ee){return this.applyStylesToKeyframe(),new ga(this._driver,J,ee||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(J){this.applyStylesToKeyframe(),this.duration=J,this._loadKeyframe()}_updateStyle(J,ee){this._localTimelineStyles.set(J,ee),this._globalTimelineStyles.set(J,ee),this._styleSummary.set(J,{time:this.currentTime,value:ee})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(J){J&&this._previousKeyframe.set("easing",J);for(let[ee,Ce]of this._globalTimelineStyles)this._backFill.set(ee,Ce||se.kp),this._currentKeyframe.set(ee,se.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(J,ee,Ce,Ye){ee&&this._previousKeyframe.set("easing",ee);const vt=Ye&&Ye.params||{},Xt=function Ls(Je,J){const ee=new Map;let Ce;return Je.forEach(Ye=>{if("*"===Ye){Ce??=J.keys();for(let vt of Ce)ee.set(vt,se.kp)}else for(let[vt,Xt]of Ye)ee.set(vt,Xt)}),ee}(J,this._globalTimelineStyles);for(let[St,In]of Xt){const An=Qn(In,vt,Ce);this._pendingStyles.set(St,An),this._localTimelineStyles.has(St)||this._backFill.set(St,this._globalTimelineStyles.get(St)??se.kp),this._updateStyle(St,An)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((J,ee)=>{this._currentKeyframe.set(ee,J)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((J,ee)=>{this._currentKeyframe.has(ee)||this._currentKeyframe.set(ee,J)}))}snapshotCurrentStyles(){for(let[J,ee]of this._localTimelineStyles)this._pendingStyles.set(J,ee),this._updateStyle(J,ee)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const J=[];for(let ee in this._currentKeyframe)J.push(ee);return J}mergeTimelineCollectedStyles(J){J._styleSummary.forEach((ee,Ce)=>{const Ye=this._styleSummary.get(Ce);(!Ye||ee.time>Ye.time)&&this._updateStyle(Ce,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const J=new Set,ee=new Set,Ce=1===this._keyframes.size&&0===this.duration;let Ye=[];this._keyframes.forEach((St,In)=>{const An=new Map([...this._backFill,...St]);An.forEach((Ui,Zi)=>{Ui===se.FX?J.add(Zi):Ui===se.kp&&ee.add(Zi)}),Ce||An.set("offset",In/this.duration),Ye.push(An)});const vt=[...J.values()],Xt=[...ee.values()];if(Ce){const St=Ye[0],In=new Map(St);St.set("offset",0),In.set("offset",1),Ye=[St,In]}return Po(this.element,Ye,vt,Xt,this.duration,this.startTime,this.easing,!1)}}class ps extends ga{constructor(J,ee,Ce,Ye,vt,Xt,St=!1){super(J,ee,Xt.delay),this.keyframes=Ce,this.preStyleProps=Ye,this.postStyleProps=vt,this._stretchStartingKeyframe=St,this.timings={duration:Xt.duration,delay:Xt.delay,easing:Xt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let J=this.keyframes,{delay:ee,duration:Ce,easing:Ye}=this.timings;if(this._stretchStartingKeyframe&&ee){const vt=[],Xt=Ce+ee,St=ee/Xt,In=new Map(J[0]);In.set("offset",0),vt.push(In);const An=new Map(J[0]);An.set("offset",vr(St)),vt.push(An);const Ui=J.length-1;for(let Zi=1;Zi<=Ui;Zi++){let _r=new Map(J[Zi]);const Ro=_r.get("offset");_r.set("offset",vr((ee+Ro*Ce)/Xt)),vt.push(_r)}Ce=Xt,ee=0,Ye="",J=vt}return Po(this.element,J,this.preStyleProps,this.postStyleProps,Ce,ee,Ye,!0)}}function vr(Je,J=3){const ee=Math.pow(10,J-1);return Math.round(Je*ee)/ee}function Pl(Je,J,ee,Ce,Ye,vt,Xt,St,In,An,Ui,Zi,_r){return{type:0,element:Je,triggerName:J,isRemovalTransition:Ye,fromState:ee,fromStyles:vt,toState:Ce,toStyles:Xt,timelines:St,queriedElements:In,preStyleProps:An,postStyleProps:Ui,totalTime:Zi,errors:_r}}const sa={};class Ea{constructor(J,ee,Ce){this._triggerName=J,this.ast=ee,this._stateStyles=Ce}match(J,ee,Ce,Ye){return function aa(Je,J,ee,Ce,Ye){return Je.some(vt=>vt(J,ee,Ce,Ye))}(this.ast.matchers,J,ee,Ce,Ye)}buildStyles(J,ee,Ce){let Ye=this._stateStyles.get("*");return void 0!==J&&(Ye=this._stateStyles.get(J?.toString())||Ye),Ye?Ye.buildStyles(ee,Ce):new Map}build(J,ee,Ce,Ye,vt,Xt,St,In,An,Ui){const Zi=[],_r=this.ast.options&&this.ast.options.params||sa,Oo=this.buildStyles(Ce,St&&St.params||sa,Zi),Lo=In&&In.params||sa,ks=this.buildStyles(Ye,Lo,Zi),ds=new Set,Es=new Map,Ms=new Map,Fr="void"===Ye,vs={params:va(Lo,_r),delay:this.ast.options?.delay},Gr=Ui?[]:or(J,ee,this.ast.animation,vt,Xt,Oo,ks,vs,An,Zi);let wr=0;return Gr.forEach(Ca=>{wr=Math.max(Ca.duration+Ca.delay,wr)}),Zi.length?Pl(ee,this._triggerName,Ce,Ye,Fr,Oo,ks,[],[],Es,Ms,wr,Zi):(Gr.forEach(Ca=>{const Ba=Ca.element,uo=fi(Es,Ba,new Set);Ca.preStyleProps.forEach(jr=>uo.add(jr));const yr=fi(Ms,Ba,new Set);Ca.postStyleProps.forEach(jr=>yr.add(jr)),Ba!==ee&&ds.add(Ba)}),Pl(ee,this._triggerName,Ce,Ye,Fr,Oo,ks,Gr,[...ds.values()],Es,Ms,wr))}}function va(Je,J){const ee={...J};return Object.entries(Je).forEach(([Ce,Ye])=>{null!=Ye&&(ee[Ce]=Ye)}),ee}class Va{constructor(J,ee,Ce){this.styles=J,this.defaultParams=ee,this.normalizer=Ce}buildStyles(J,ee){const Ce=new Map,Ye=va(J,this.defaultParams);return this.styles.styles.forEach(vt=>{"string"!=typeof vt&&vt.forEach((Xt,St)=>{Xt&&(Xt=Qn(Xt,Ye,ee));const In=this.normalizer.normalizePropertyName(St,ee);Xt=this.normalizer.normalizeStyleValue(St,In,Xt,ee),Ce.set(St,Xt)})}),Ce}}class la{constructor(J,ee,Ce){this.name=J,this.ast=ee,this._normalizer=Ce,this.transitionFactories=[],this.states=new Map,ee.states.forEach(Ye=>{this.states.set(Ye.name,new Va(Ye.style,Ye.options&&Ye.options.params||{},Ce))}),Nr(this.states,"true","1"),Nr(this.states,"false","0"),ee.transitions.forEach(Ye=>{this.transitionFactories.push(new Ea(J,Ye,this.states))}),this.fallbackTransition=function ao(Je,J){return new Ea(Je,{type:se.If.Transition,animation:{type:se.If.Sequence,steps:[],options:null},matchers:[(Xt,St)=>!0],options:null,queryCount:0,depCount:0},J)}(J,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(J,ee,Ce,Ye){return this.transitionFactories.find(Xt=>Xt.match(J,ee,Ce,Ye))||null}matchStyles(J,ee,Ce){return this.fallbackTransition.buildStyles(J,ee,Ce)}}function Nr(Je,J,ee){Je.has(J)?Je.has(ee)||Je.set(ee,Je.get(J)):Je.has(ee)&&Je.set(J,Je.get(ee))}const ml=new Oi;class Vs{constructor(J,ee,Ce){this.bodyNode=J,this._driver=ee,this._normalizer=Ce,this._animations=new Map,this._playersById=new Map,this.players=[]}register(J,ee){const Ce=[],vt=ct(this._driver,ee,Ce,[]);if(Ce.length)throw function mt(){return new $.wOt(3503,!1)}();this._animations.set(J,vt)}_buildPlayer(J,ee,Ce){const Ye=J.element,vt=oo(this._normalizer,J.keyframes,ee,Ce);return this._driver.animate(Ye,vt,J.duration,J.delay,J.easing,[],!0)}create(J,ee,Ce={}){const Ye=[],vt=this._animations.get(J);let Xt;const St=new Map;if(vt?(Xt=or(this._driver,ee,vt,Di,Mo,new Map,new Map,Ce,ml,Ye),Xt.forEach(Ui=>{const Zi=fi(St,Ui.element,new Map);Ui.postStyleProps.forEach(_r=>Zi.set(_r,null))})):(Ye.push(function Ke(){return new $.wOt(3300,!1)}()),Xt=[]),Ye.length)throw function Xe(){return new $.wOt(3504,!1)}();St.forEach((Ui,Zi)=>{Ui.forEach((_r,Ro)=>{Ui.set(Ro,this._driver.computeStyle(Zi,Ro,se.kp))})});const An=Ci(Xt.map(Ui=>{const Zi=St.get(Ui.element);return this._buildPlayer(Ui,new Map,Zi)}));return this._playersById.set(J,An),An.onDestroy(()=>this.destroy(J)),this.players.push(An),An}destroy(J){const ee=this._getPlayer(J);ee.destroy(),this._playersById.delete(J);const Ce=this.players.indexOf(ee);Ce>=0&&this.players.splice(Ce,1)}_getPlayer(J){const ee=this._playersById.get(J);if(!ee)throw function yt(){return new $.wOt(3301,!1)}();return ee}listen(J,ee,Ce,Ye){const vt=So(ee,"","","");return Rn(this._getPlayer(J),Ce,vt,Ye),()=>{}}command(J,ee,Ce,Ye){if("register"==Ce)return void this.register(J,Ye[0]);if("create"==Ce)return void this.create(J,ee,Ye[0]||{});const vt=this._getPlayer(J);switch(Ce){case"play":vt.play();break;case"pause":vt.pause();break;case"reset":vt.reset();break;case"restart":vt.restart();break;case"finish":vt.finish();break;case"init":vt.init();break;case"setPosition":vt.setPosition(parseFloat(Ye[0]));break;case"destroy":this.destroy(J)}}}const _a="ng-animate-queued",Gs="ng-animate-disabled",wt=[],nn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mi="__ng_removed";class ko{get params(){return this.options.params}constructor(J,ee=""){this.namespaceId=ee;const Ce=J&&J.hasOwnProperty("value");if(this.value=function ur(Je){return Je??null}(Ce?J.value:J),Ce){const{value:vt,...Xt}=J;this.options=Xt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(J){const ee=J.params;if(ee){const Ce=this.options.params;Object.keys(ee).forEach(Ye=>{null==Ce[Ye]&&(Ce[Ye]=ee[Ye])})}}}const $o="void",nr=new ko($o);class qo{constructor(J,ee,Ce){this.id=J,this.hostElement=ee,this._engine=Ce,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+J,fs(ee,this._hostClassName)}listen(J,ee,Ce,Ye){if(!this._triggers.has(ee))throw function Rt(){return new $.wOt(3302,!1)}();if(null==Ce||0==Ce.length)throw function Vt(){return new $.wOt(3303,!1)}();if(!function Ar(Je){return"start"==Je||"done"==Je}(Ce))throw function _n(){return new $.wOt(3400,!1)}();const vt=fi(this._elementListeners,J,[]),Xt={name:ee,phase:Ce,callback:Ye};vt.push(Xt);const St=fi(this._engine.statesByElement,J,new Map);return St.has(ee)||(fs(J,Yt),fs(J,Yt+"-"+ee),St.set(ee,nr)),()=>{this._engine.afterFlush(()=>{const In=vt.indexOf(Xt);In>=0&&vt.splice(In,1),this._triggers.has(ee)||St.delete(ee)})}}register(J,ee){return!this._triggers.has(J)&&(this._triggers.set(J,ee),!0)}_getTrigger(J){const ee=this._triggers.get(J);if(!ee)throw function oi(){return new $.wOt(3401,!1)}();return ee}trigger(J,ee,Ce,Ye=!0){const vt=this._getTrigger(ee),Xt=new Ts(this.id,ee,J);let St=this._engine.statesByElement.get(J);St||(fs(J,Yt),fs(J,Yt+"-"+ee),this._engine.statesByElement.set(J,St=new Map));let In=St.get(ee);const An=new ko(Ce,this.id);if(!(Ce&&Ce.hasOwnProperty("value"))&&In&&An.absorbOptions(In.options),St.set(ee,An),In||(In=nr),An.value!==$o&&In.value===An.value){if(!function ya(Je,J){const ee=Object.keys(Je),Ce=Object.keys(J);if(ee.length!=Ce.length)return!1;for(let Ye=0;Ye<ee.length;Ye++){const vt=ee[Ye];if(!J.hasOwnProperty(vt)||Je[vt]!==J[vt])return!1}return!0}(In.params,An.params)){const Lo=[],ks=vt.matchStyles(In.value,In.params,Lo),ds=vt.matchStyles(An.value,An.params,Lo);Lo.length?this._engine.reportError(Lo):this._engine.afterFlush(()=>{tt(J,ks),tn(J,ds)})}return}const _r=fi(this._engine.playersByElement,J,[]);_r.forEach(Lo=>{Lo.namespaceId==this.id&&Lo.triggerName==ee&&Lo.queued&&Lo.destroy()});let Ro=vt.matchTransition(In.value,An.value,J,An.params),Oo=!1;if(!Ro){if(!Ye)return;Ro=vt.fallbackTransition,Oo=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:J,triggerName:ee,transition:Ro,fromState:In,toState:An,player:Xt,isFallbackTransition:Oo}),Oo||(fs(J,_a),Xt.onStart(()=>{cs(J,_a)})),Xt.onDone(()=>{let Lo=this.players.indexOf(Xt);Lo>=0&&this.players.splice(Lo,1);const ks=this._engine.playersByElement.get(J);if(ks){let ds=ks.indexOf(Xt);ds>=0&&ks.splice(ds,1)}}),this.players.push(Xt),_r.push(Xt),Xt}deregister(J){this._triggers.delete(J),this._engine.statesByElement.forEach(ee=>ee.delete(J)),this._elementListeners.forEach((ee,Ce)=>{this._elementListeners.set(Ce,ee.filter(Ye=>Ye.name!=J))})}clearElementCache(J){this._engine.statesByElement.delete(J),this._elementListeners.delete(J);const ee=this._engine.playersByElement.get(J);ee&&(ee.forEach(Ce=>Ce.destroy()),this._engine.playersByElement.delete(J))}_signalRemovalForInnerTriggers(J,ee){const Ce=this._engine.driver.query(J,Hn,!0);Ce.forEach(Ye=>{if(Ye[Mi])return;const vt=this._engine.fetchNamespacesByElement(Ye);vt.size?vt.forEach(Xt=>Xt.triggerLeaveAnimation(Ye,ee,!1,!0)):this.clearElementCache(Ye)}),this._engine.afterFlushAnimationsDone(()=>Ce.forEach(Ye=>this.clearElementCache(Ye)))}triggerLeaveAnimation(J,ee,Ce,Ye){const vt=this._engine.statesByElement.get(J),Xt=new Map;if(vt){const St=[];if(vt.forEach((In,An)=>{if(Xt.set(An,In.value),this._triggers.has(An)){const Ui=this.trigger(J,An,$o,Ye);Ui&&St.push(Ui)}}),St.length)return this._engine.markElementAsRemoved(this.id,J,!0,ee,Xt),Ce&&Ci(St).onDone(()=>this._engine.processLeaveNode(J)),!0}return!1}prepareLeaveAnimationListeners(J){const ee=this._elementListeners.get(J),Ce=this._engine.statesByElement.get(J);if(ee&&Ce){const Ye=new Set;ee.forEach(vt=>{const Xt=vt.name;if(Ye.has(Xt))return;Ye.add(Xt);const In=this._triggers.get(Xt).fallbackTransition,An=Ce.get(Xt)||nr,Ui=new ko($o),Zi=new Ts(this.id,Xt,J);this._engine.totalQueuedPlayers++,this._queue.push({element:J,triggerName:Xt,transition:In,fromState:An,toState:Ui,player:Zi,isFallbackTransition:!0})})}}removeNode(J,ee){const Ce=this._engine;if(J.childElementCount&&this._signalRemovalForInnerTriggers(J,ee),this.triggerLeaveAnimation(J,ee,!0))return;let Ye=!1;if(Ce.totalAnimations){const vt=Ce.players.length?Ce.playersByQueriedElement.get(J):[];if(vt&&vt.length)Ye=!0;else{let Xt=J;for(;Xt=Xt.parentNode;)if(Ce.statesByElement.get(Xt)){Ye=!0;break}}}if(this.prepareLeaveAnimationListeners(J),Ye)Ce.markElementAsRemoved(this.id,J,!1,ee);else{const vt=J[Mi];(!vt||vt===nn)&&(Ce.afterFlush(()=>this.clearElementCache(J)),Ce.destroyInnerAnimations(J),Ce._onRemovalComplete(J,ee))}}insertNode(J,ee){fs(J,this._hostClassName)}drainQueuedTransitions(J){const ee=[];return this._queue.forEach(Ce=>{const Ye=Ce.player;if(Ye.destroyed)return;const vt=Ce.element,Xt=this._elementListeners.get(vt);Xt&&Xt.forEach(St=>{if(St.name==Ce.triggerName){const In=So(vt,Ce.triggerName,Ce.fromState.value,Ce.toState.value);In._data=J,Rn(Ce.player,St.phase,In,St.callback)}}),Ye.markedForDestroy?this._engine.afterFlush(()=>{Ye.destroy()}):ee.push(Ce)}),this._queue=[],ee.sort((Ce,Ye)=>{const vt=Ce.transition.ast.depCount,Xt=Ye.transition.ast.depCount;return 0==vt||0==Xt?vt-Xt:this._engine.driver.containsElement(Ce.element,Ye.element)?1:-1})}destroy(J){this.players.forEach(ee=>ee.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,J)}}class lo{_onRemovalComplete(J,ee){this.onRemovalComplete(J,ee)}constructor(J,ee,Ce){this.bodyNode=J,this.driver=ee,this._normalizer=Ce,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=(Ye,vt)=>{}}get queuedPlayers(){const J=[];return this._namespaceList.forEach(ee=>{ee.players.forEach(Ce=>{Ce.queued&&J.push(Ce)})}),J}createNamespace(J,ee){const Ce=new qo(J,ee,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ee)?this._balanceNamespaceList(Ce,ee):(this.newHostElements.set(ee,Ce),this.collectEnterElement(ee)),this._namespaceLookup[J]=Ce}_balanceNamespaceList(J,ee){const Ce=this._namespaceList,Ye=this.namespacesByHostElement;if(Ce.length-1>=0){let Xt=!1,St=this.driver.getParentElement(ee);for(;St;){const In=Ye.get(St);if(In){const An=Ce.indexOf(In);Ce.splice(An+1,0,J),Xt=!0;break}St=this.driver.getParentElement(St)}Xt||Ce.unshift(J)}else Ce.push(J);return Ye.set(ee,J),J}register(J,ee){let Ce=this._namespaceLookup[J];return Ce||(Ce=this.createNamespace(J,ee)),Ce}registerTrigger(J,ee,Ce){let Ye=this._namespaceLookup[J];Ye&&Ye.register(ee,Ce)&&this.totalAnimations++}destroy(J,ee){J&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Ce=this._fetchNamespace(J);this.namespacesByHostElement.delete(Ce.hostElement);const Ye=this._namespaceList.indexOf(Ce);Ye>=0&&this._namespaceList.splice(Ye,1),Ce.destroy(ee),delete this._namespaceLookup[J]}))}_fetchNamespace(J){return this._namespaceLookup[J]}fetchNamespacesByElement(J){const ee=new Set,Ce=this.statesByElement.get(J);if(Ce)for(let Ye of Ce.values())if(Ye.namespaceId){const vt=this._fetchNamespace(Ye.namespaceId);vt&&ee.add(vt)}return ee}trigger(J,ee,Ce,Ye){if(Ks(ee)){const vt=this._fetchNamespace(J);if(vt)return vt.trigger(ee,Ce,Ye),!0}return!1}insertNode(J,ee,Ce,Ye){if(!Ks(ee))return;const vt=ee[Mi];if(vt&&vt.setForRemoval){vt.setForRemoval=!1,vt.setForMove=!0;const Xt=this.collectedLeaveElements.indexOf(ee);Xt>=0&&this.collectedLeaveElements.splice(Xt,1)}if(J){const Xt=this._fetchNamespace(J);Xt&&Xt.insertNode(ee,Ce)}Ye&&this.collectEnterElement(ee)}collectEnterElement(J){this.collectedEnterElements.push(J)}markElementAsDisabled(J,ee){ee?this.disabledNodes.has(J)||(this.disabledNodes.add(J),fs(J,Gs)):this.disabledNodes.has(J)&&(this.disabledNodes.delete(J),cs(J,Gs))}removeNode(J,ee,Ce){if(Ks(ee)){const Ye=J?this._fetchNamespace(J):null;Ye?Ye.removeNode(ee,Ce):this.markElementAsRemoved(J,ee,!1,Ce);const vt=this.namespacesByHostElement.get(ee);vt&&vt.id!==J&&vt.removeNode(ee,Ce)}else this._onRemovalComplete(ee,Ce)}markElementAsRemoved(J,ee,Ce,Ye,vt){this.collectedLeaveElements.push(ee),ee[Mi]={namespaceId:J,setForRemoval:Ye,hasAnimation:Ce,removedBeforeQueried:!1,previousTriggersValues:vt}}listen(J,ee,Ce,Ye,vt){return Ks(ee)?this._fetchNamespace(J).listen(ee,Ce,Ye,vt):()=>{}}_buildInstruction(J,ee,Ce,Ye,vt){return J.transition.build(this.driver,J.element,J.fromState.value,J.toState.value,Ce,Ye,J.fromState.options,J.toState.options,ee,vt)}destroyInnerAnimations(J){let ee=this.driver.query(J,Hn,!0);ee.forEach(Ce=>this.destroyActiveAnimationsForElement(Ce)),0!=this.playersByQueriedElement.size&&(ee=this.driver.query(J,qt,!0),ee.forEach(Ce=>this.finishActiveQueriedAnimationOnElement(Ce)))}destroyActiveAnimationsForElement(J){const ee=this.playersByElement.get(J);ee&&ee.forEach(Ce=>{Ce.queued?Ce.markedForDestroy=!0:Ce.destroy()})}finishActiveQueriedAnimationOnElement(J){const ee=this.playersByQueriedElement.get(J);ee&&ee.forEach(Ce=>Ce.finish())}whenRenderingDone(){return new Promise(J=>{if(this.players.length)return Ci(this.players).onDone(()=>J());J()})}processLeaveNode(J){const ee=J[Mi];if(ee&&ee.setForRemoval){if(J[Mi]=nn,ee.namespaceId){this.destroyInnerAnimations(J);const Ce=this._fetchNamespace(ee.namespaceId);Ce&&Ce.clearElementCache(J)}this._onRemovalComplete(J,ee.setForRemoval)}J.classList?.contains(Gs)&&this.markElementAsDisabled(J,!1),this.driver.query(J,".ng-animate-disabled",!0).forEach(Ce=>{this.markElementAsDisabled(Ce,!1)})}flush(J=-1){let ee=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Ce,Ye)=>this._balanceNamespaceList(Ce,Ye)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Ce=0;Ce<this.collectedEnterElements.length;Ce++)fs(this.collectedEnterElements[Ce],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const Ce=[];try{ee=this._flushAnimations(Ce,J)}finally{for(let Ye=0;Ye<Ce.length;Ye++)Ce[Ye]()}}else for(let Ce=0;Ce<this.collectedLeaveElements.length;Ce++)this.processLeaveNode(this.collectedLeaveElements[Ce]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(Ce=>Ce()),this._flushFns=[],this._whenQuietFns.length){const Ce=this._whenQuietFns;this._whenQuietFns=[],ee.length?Ci(ee).onDone(()=>{Ce.forEach(Ye=>Ye())}):Ce.forEach(Ye=>Ye())}}reportError(J){throw function Vn(){return new $.wOt(3402,!1)}()}_flushAnimations(J,ee){const Ce=new Oi,Ye=[],vt=new Map,Xt=[],St=new Map,In=new Map,An=new Map,Ui=new Set;this.disabledNodes.forEach(ho=>{Ui.add(ho);const so=this.driver.query(ho,".ng-animate-queued",!0);for(let Ii=0;Ii<so.length;Ii++)Ui.add(so[Ii])});const Zi=this.bodyNode,_r=Array.from(this.statesByElement.keys()),Ro=xi(_r,this.collectedEnterElements),Oo=new Map;let Lo=0;Ro.forEach((ho,so)=>{const Ii=Di+Lo++;Oo.set(so,Ii),ho.forEach(cr=>fs(cr,Ii))});const ks=[],ds=new Set,Es=new Set;for(let ho=0;ho<this.collectedLeaveElements.length;ho++){const so=this.collectedLeaveElements[ho],Ii=so[Mi];Ii&&Ii.setForRemoval&&(ks.push(so),ds.add(so),Ii.hasAnimation?this.driver.query(so,".ng-star-inserted",!0).forEach(cr=>ds.add(cr)):Es.add(so))}const Ms=new Map,Fr=xi(_r,Array.from(ds));Fr.forEach((ho,so)=>{const Ii=Mo+Lo++;Ms.set(so,Ii),ho.forEach(cr=>fs(cr,Ii))}),J.push(()=>{Ro.forEach((ho,so)=>{const Ii=Oo.get(so);ho.forEach(cr=>cs(cr,Ii))}),Fr.forEach((ho,so)=>{const Ii=Ms.get(so);ho.forEach(cr=>cs(cr,Ii))}),ks.forEach(ho=>{this.processLeaveNode(ho)})});const vs=[],Gr=[];for(let ho=this._namespaceList.length-1;ho>=0;ho--)this._namespaceList[ho].drainQueuedTransitions(ee).forEach(Ii=>{const cr=Ii.player,_s=Ii.element;if(vs.push(cr),this.collectedEnterElements.length){const te=_s[Mi];if(te&&te.setForMove){if(te.previousTriggersValues&&te.previousTriggersValues.has(Ii.triggerName)){const je=te.previousTriggersValues.get(Ii.triggerName),ve=this.statesByElement.get(Ii.element);if(ve&&ve.has(Ii.triggerName)){const Re=ve.get(Ii.triggerName);Re.value=je,ve.set(Ii.triggerName,Re)}}return void cr.destroy()}}const hr=!Zi||!this.driver.containsElement(Zi,_s),Qs=Ms.get(_s),nc=Oo.get(_s),xo=this._buildInstruction(Ii,Ce,nc,Qs,hr);if(xo.errors&&xo.errors.length)return void Gr.push(xo);if(hr)return cr.onStart(()=>tt(_s,xo.fromStyles)),cr.onDestroy(()=>tn(_s,xo.toStyles)),void Ye.push(cr);if(Ii.isFallbackTransition)return cr.onStart(()=>tt(_s,xo.fromStyles)),cr.onDestroy(()=>tn(_s,xo.toStyles)),void Ye.push(cr);const Qa=[];xo.timelines.forEach(te=>{te.stretchStartingKeyframe=!0,this.disabledNodes.has(te.element)||Qa.push(te)}),xo.timelines=Qa,Ce.append(_s,xo.timelines),Xt.push({instruction:xo,player:cr,element:_s}),xo.queriedElements.forEach(te=>fi(St,te,[]).push(cr)),xo.preStyleProps.forEach((te,je)=>{if(te.size){let ve=In.get(je);ve||In.set(je,ve=new Set),te.forEach((Re,Pt)=>ve.add(Pt))}}),xo.postStyleProps.forEach((te,je)=>{let ve=An.get(je);ve||An.set(je,ve=new Set),te.forEach((Re,Pt)=>ve.add(Pt))})});if(Gr.length){const ho=[];Gr.forEach(so=>{ho.push(function qn(){return new $.wOt(3505,!1)}())}),vs.forEach(so=>so.destroy()),this.reportError(ho)}const wr=new Map,Ca=new Map;Xt.forEach(ho=>{const so=ho.element;Ce.has(so)&&(Ca.set(so,so),this._beforeAnimationBuild(ho.player.namespaceId,ho.instruction,wr))}),Ye.forEach(ho=>{const so=ho.element;this._getPreviousPlayers(so,!1,ho.namespaceId,ho.triggerName,null).forEach(cr=>{fi(wr,so,[]).push(cr),cr.destroy()})});const Ba=ks.filter(ho=>gs(ho,In,An)),uo=new Map;xl(uo,this.driver,Es,An,se.kp).forEach(ho=>{gs(ho,In,An)&&Ba.push(ho)});const jr=new Map;Ro.forEach((ho,so)=>{xl(jr,this.driver,new Set(ho),In,se.FX)}),Ba.forEach(ho=>{const so=uo.get(ho),Ii=jr.get(ho);uo.set(ho,new Map([...so?.entries()??[],...Ii?.entries()??[]]))});const ec=[],tc=[],kd={};Xt.forEach(ho=>{const{element:so,player:Ii,instruction:cr}=ho;if(Ce.has(so)){if(Ui.has(so))return Ii.onDestroy(()=>tn(so,cr.toStyles)),Ii.disabled=!0,Ii.overrideTotalTime(cr.totalTime),void Ye.push(Ii);let _s=kd;if(Ca.size>1){let Qs=so;const nc=[];for(;Qs=Qs.parentNode;){const xo=Ca.get(Qs);if(xo){_s=xo;break}nc.push(Qs)}nc.forEach(xo=>Ca.set(xo,_s))}const hr=this._buildAnimation(Ii.namespaceId,cr,wr,vt,jr,uo);if(Ii.setRealPlayer(hr),_s===kd)ec.push(Ii);else{const Qs=this.playersByElement.get(_s);Qs&&Qs.length&&(Ii.parentPlayer=Ci(Qs)),Ye.push(Ii)}}else tt(so,cr.fromStyles),Ii.onDestroy(()=>tn(so,cr.toStyles)),tc.push(Ii),Ui.has(so)&&Ye.push(Ii)}),tc.forEach(ho=>{const so=vt.get(ho.element);if(so&&so.length){const Ii=Ci(so);ho.setRealPlayer(Ii)}}),Ye.forEach(ho=>{ho.parentPlayer?ho.syncPlayerEvents(ho.parentPlayer):ho.destroy()});for(let ho=0;ho<ks.length;ho++){const so=ks[ho],Ii=so[Mi];if(cs(so,Mo),Ii&&Ii.hasAnimation)continue;let cr=[];if(St.size){let hr=St.get(so);hr&&hr.length&&cr.push(...hr);let Qs=this.driver.query(so,qt,!0);for(let nc=0;nc<Qs.length;nc++){let xo=St.get(Qs[nc]);xo&&xo.length&&cr.push(...xo)}}const _s=cr.filter(hr=>!hr.destroyed);_s.length?Ac(this,so,_s):this.processLeaveNode(so)}return ks.length=0,ec.forEach(ho=>{this.players.push(ho),ho.onDone(()=>{ho.destroy();const so=this.players.indexOf(ho);this.players.splice(so,1)}),ho.play()}),ec}afterFlush(J){this._flushFns.push(J)}afterFlushAnimationsDone(J){this._whenQuietFns.push(J)}_getPreviousPlayers(J,ee,Ce,Ye,vt){let Xt=[];if(ee){const St=this.playersByQueriedElement.get(J);St&&(Xt=St)}else{const St=this.playersByElement.get(J);if(St){const In=!vt||vt==$o;St.forEach(An=>{An.queued||!In&&An.triggerName!=Ye||Xt.push(An)})}}return(Ce||Ye)&&(Xt=Xt.filter(St=>!(Ce&&Ce!=St.namespaceId||Ye&&Ye!=St.triggerName))),Xt}_beforeAnimationBuild(J,ee,Ce){const vt=ee.element,Xt=ee.isRemovalTransition?void 0:J,St=ee.isRemovalTransition?void 0:ee.triggerName;for(const In of ee.timelines){const An=In.element,Ui=An!==vt,Zi=fi(Ce,An,[]);this._getPreviousPlayers(An,Ui,Xt,St,ee.toState).forEach(Ro=>{const Oo=Ro.getRealPlayer();Oo.beforeDestroy&&Oo.beforeDestroy(),Ro.destroy(),Zi.push(Ro)})}tt(vt,ee.fromStyles)}_buildAnimation(J,ee,Ce,Ye,vt,Xt){const St=ee.triggerName,In=ee.element,An=[],Ui=new Set,Zi=new Set,_r=ee.timelines.map(Oo=>{const Lo=Oo.element;Ui.add(Lo);const ks=Lo[Mi];if(ks&&ks.removedBeforeQueried)return new se.sf(Oo.duration,Oo.delay);const ds=Lo!==In,Es=function er(Je){const J=[];return ar(Je,J),J}((Ce.get(Lo)||wt).map(wr=>wr.getRealPlayer())).filter(wr=>!!wr.element&&wr.element===Lo),Ms=vt.get(Lo),Fr=Xt.get(Lo),vs=oo(this._normalizer,Oo.keyframes,Ms,Fr),Gr=this._buildPlayer(Oo,vs,Es);if(Oo.subTimeline&&Ye&&Zi.add(Lo),ds){const wr=new Ts(J,St,Lo);wr.setRealPlayer(Gr),An.push(wr)}return Gr});An.forEach(Oo=>{fi(this.playersByQueriedElement,Oo.element,[]).push(Oo),Oo.onDone(()=>function Ss(Je,J,ee){let Ce=Je.get(J);if(Ce){if(Ce.length){const Ye=Ce.indexOf(ee);Ce.splice(Ye,1)}0==Ce.length&&Je.delete(J)}return Ce}(this.playersByQueriedElement,Oo.element,Oo))}),Ui.forEach(Oo=>fs(Oo,Ri));const Ro=Ci(_r);return Ro.onDestroy(()=>{Ui.forEach(Oo=>cs(Oo,Ri)),tn(In,ee.toStyles)}),Zi.forEach(Oo=>{fi(Ye,Oo,[]).push(Ro)}),Ro}_buildPlayer(J,ee,Ce){return ee.length>0?this.driver.animate(J.element,ee,J.duration,J.delay,J.easing,Ce):new se.sf(J.duration,J.delay)}}class Ts{constructor(J,ee,Ce){this.namespaceId=J,this.triggerName=ee,this.element=Ce,this._player=new se.sf,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(J){this._containsRealPlayer||(this._player=J,this._queuedCallbacks.forEach((ee,Ce)=>{ee.forEach(Ye=>Rn(J,Ce,void 0,Ye))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(J.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(J){this.totalTime=J}syncPlayerEvents(J){const ee=this._player;ee.triggerCallback&&J.onStart(()=>ee.triggerCallback("start")),J.onDone(()=>this.finish()),J.onDestroy(()=>this.destroy())}_queueEvent(J,ee){fi(this._queuedCallbacks,J,[]).push(ee)}onDone(J){this.queued&&this._queueEvent("done",J),this._player.onDone(J)}onStart(J){this.queued&&this._queueEvent("start",J),this._player.onStart(J)}onDestroy(J){this.queued&&this._queueEvent("destroy",J),this._player.onDestroy(J)}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(J){this.queued||this._player.setPosition(J)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(J){const ee=this._player;ee.triggerCallback&&ee.triggerCallback(J)}}function Ks(Je){return Je&&1===Je.nodeType}function ls(Je,J){const ee=Je.style.display;return Je.style.display=J??"none",ee}function xl(Je,J,ee,Ce,Ye){const vt=[];ee.forEach(In=>vt.push(ls(In)));const Xt=[];Ce.forEach((In,An)=>{const Ui=new Map;In.forEach(Zi=>{const _r=J.computeStyle(An,Zi,Ye);Ui.set(Zi,_r),(!_r||0==_r.length)&&(An[Mi]=wn,Xt.push(An))}),Je.set(An,Ui)});let St=0;return ee.forEach(In=>ls(In,vt[St++])),Xt}function xi(Je,J){const ee=new Map;if(Je.forEach(St=>ee.set(St,[])),0==J.length)return ee;const Ye=new Set(J),vt=new Map;function Xt(St){if(!St)return 1;let In=vt.get(St);if(In)return In;const An=St.parentNode;return In=ee.has(An)?An:Ye.has(An)?1:Xt(An),vt.set(St,In),In}return J.forEach(St=>{const In=Xt(St);1!==In&&ee.get(In).push(St)}),ee}function fs(Je,J){Je.classList?.add(J)}function cs(Je,J){Je.classList?.remove(J)}function Ac(Je,J,ee){Ci(ee).onDone(()=>Je.processLeaveNode(J))}function ar(Je,J){for(let ee=0;ee<Je.length;ee++){const Ce=Je[ee];Ce instanceof se.ui?ar(Ce.players,J):J.push(Ce)}}function gs(Je,J,ee){const Ce=ee.get(Je);if(!Ce)return!1;let Ye=J.get(Je);return Ye?Ce.forEach(vt=>Ye.add(vt)):J.set(Je,Ce),ee.delete(Je),!0}class ir{constructor(J,ee,Ce){this._driver=ee,this._normalizer=Ce,this._triggerCache={},this.onRemovalComplete=(Ye,vt)=>{},this._transitionEngine=new lo(J.body,ee,Ce),this._timelineEngine=new Vs(J.body,ee,Ce),this._transitionEngine.onRemovalComplete=(Ye,vt)=>this.onRemovalComplete(Ye,vt)}registerTrigger(J,ee,Ce,Ye,vt){const Xt=J+"-"+Ye;let St=this._triggerCache[Xt];if(!St){const In=[],Ui=ct(this._driver,vt,In,[]);if(In.length)throw function sn(){return new $.wOt(3404,!1)}();St=function as(Je,J,ee){return new la(Je,J,ee)}(Ye,Ui,this._normalizer),this._triggerCache[Xt]=St}this._transitionEngine.registerTrigger(ee,Ye,St)}register(J,ee){this._transitionEngine.register(J,ee)}destroy(J,ee){this._transitionEngine.destroy(J,ee)}onInsert(J,ee,Ce,Ye){this._transitionEngine.insertNode(J,ee,Ce,Ye)}onRemove(J,ee,Ce){this._transitionEngine.removeNode(J,ee,Ce)}disableAnimations(J,ee){this._transitionEngine.markElementAsDisabled(J,ee)}process(J,ee,Ce,Ye){if("@"==Ce.charAt(0)){const[vt,Xt]=ei(Ce);this._timelineEngine.command(vt,ee,Xt,Ye)}else this._transitionEngine.trigger(J,ee,Ce,Ye)}listen(J,ee,Ce,Ye,vt){if("@"==Ce.charAt(0)){const[Xt,St]=ei(Ce);return this._timelineEngine.listen(Xt,ee,St,vt)}return this._transitionEngine.listen(J,ee,Ce,Ye,vt)}flush(J=-1){this._transitionEngine.flush(J)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(J){this._transitionEngine.afterFlushAnimationsDone(J)}}class js{static#e=this.initialStylesByElement=new WeakMap;constructor(J,ee,Ce){this._element=J,this._startStyles=ee,this._endStyles=Ce,this._state=0;let Ye=js.initialStylesByElement.get(J);Ye||js.initialStylesByElement.set(J,Ye=new Map),this._initialStyles=Ye}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(js.initialStylesByElement.delete(this._element),this._startStyles&&(tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}function Qo(Je){let J=null;return Je.forEach((ee,Ce)=>{(function lr(Je){return"display"===Je||"position"===Je})(Ce)&&(J=J||new Map,J.set(Ce,ee))}),J}class Bs{constructor(J,ee,Ce,Ye){this.element=J,this.keyframes=ee,this.options=Ce,this._specialStyles=Ye,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=Ce.duration,this._delay=Ce.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(J=>J()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const J=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,J,this.options),this._finalKeyframe=J.length?J[J.length-1]:new Map;const ee=()=>this._onFinish();this.domPlayer.addEventListener("finish",ee),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",ee)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(J){const ee=[];return J.forEach(Ce=>{ee.push(Object.fromEntries(Ce))}),ee}_triggerWebAnimation(J,ee,Ce){return J.animate(this._convertKeyframesToObject(ee),Ce)}onStart(J){this._originalOnStartFns.push(J),this._onStartFns.push(J)}onDone(J){this._originalOnDoneFns.push(J),this._onDoneFns.push(J)}onDestroy(J){this._onDestroyFns.push(J)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(J=>J()),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(J=>J()),this._onDestroyFns=[])}setPosition(J){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=J*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const J=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Ce,Ye)=>{"offset"!==Ye&&J.set(Ye,this._finished?Ce:We(this.element,Ye))}),this.currentSnapshot=J}triggerCallback(J){const ee="start"===J?this._onStartFns:this._onDoneFns;ee.forEach(Ce=>Ce()),ee.length=0}}class oa{validateStyleProperty(J){return!0}validateAnimatableStyleProperty(J){return!0}containsElement(J,ee){return Dt(J,ee)}getParentElement(J){return En(J)}query(J,ee,Ce){return rn(J,ee,Ce)}computeStyle(J,ee,Ce){return We(J,ee)}animate(J,ee,Ce,Ye,vt,Xt=[]){const In={duration:Ce,delay:Ye,fill:0==Ye?"both":"forwards"};vt&&(In.easing=vt);const An=new Map,Ui=Xt.filter(Ro=>Ro instanceof Bs);(function H(Je,J){return 0===Je||0===J})(Ce,Ye)&&Ui.forEach(Ro=>{Ro.currentSnapshot.forEach((Oo,Lo)=>An.set(Lo,Oo))});let Zi=function ot(Je){return Je.length?Je[0]instanceof Map?Je:Je.map(J=>new Map(Object.entries(J))):[]}(ee).map(Ro=>new Map(Ro));Zi=function re(Je,J,ee){if(ee.size&&J.length){let Ce=J[0],Ye=[];if(ee.forEach((vt,Xt)=>{Ce.has(Xt)||Ye.push(Xt),Ce.set(Xt,vt)}),Ye.length)for(let vt=1;vt<J.length;vt++){let Xt=J[vt];Ye.forEach(St=>Xt.set(St,We(Je,St)))}}return J}(J,Zi,An);const _r=function ms(Je,J){let ee=null,Ce=null;return Array.isArray(J)&&J.length?(ee=Qo(J[0]),J.length>1&&(Ce=Qo(J[J.length-1]))):J instanceof Map&&(ee=Qo(J)),ee||Ce?new js(Je,ee,Ce):null}(J,Zi);return new Bs(J,Zi,In,_r)}}const Jo="@.disabled";class Ll{constructor(J,ee,Ce,Ye){this.namespaceId=J,this.delegate=ee,this.engine=Ce,this._onDestroy=Ye,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(J){this.delegate.destroyNode?.(J)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(J,ee){return this.delegate.createElement(J,ee)}createComment(J){return this.delegate.createComment(J)}createText(J){return this.delegate.createText(J)}appendChild(J,ee){this.delegate.appendChild(J,ee),this.engine.onInsert(this.namespaceId,ee,J,!1)}insertBefore(J,ee,Ce,Ye=!0){this.delegate.insertBefore(J,ee,Ce),this.engine.onInsert(this.namespaceId,ee,J,Ye)}removeChild(J,ee,Ce){this.parentNode(ee)&&this.engine.onRemove(this.namespaceId,ee,this.delegate)}selectRootElement(J,ee){return this.delegate.selectRootElement(J,ee)}parentNode(J){return this.delegate.parentNode(J)}nextSibling(J){return this.delegate.nextSibling(J)}setAttribute(J,ee,Ce,Ye){this.delegate.setAttribute(J,ee,Ce,Ye)}removeAttribute(J,ee,Ce){this.delegate.removeAttribute(J,ee,Ce)}addClass(J,ee){this.delegate.addClass(J,ee)}removeClass(J,ee){this.delegate.removeClass(J,ee)}setStyle(J,ee,Ce,Ye){this.delegate.setStyle(J,ee,Ce,Ye)}removeStyle(J,ee,Ce){this.delegate.removeStyle(J,ee,Ce)}setProperty(J,ee,Ce){"@"==ee.charAt(0)&&ee==Jo?this.disableAnimations(J,!!Ce):this.delegate.setProperty(J,ee,Ce)}setValue(J,ee){this.delegate.setValue(J,ee)}listen(J,ee,Ce){return this.delegate.listen(J,ee,Ce)}disableAnimations(J,ee){this.engine.disableAnimations(J,ee)}}class Hs extends Ll{constructor(J,ee,Ce,Ye,vt){super(ee,Ce,Ye,vt),this.factory=J,this.namespaceId=ee}setProperty(J,ee,Ce){"@"==ee.charAt(0)?"."==ee.charAt(1)&&ee==Jo?this.disableAnimations(J,Ce=void 0===Ce||!!Ce):this.engine.process(this.namespaceId,J,ee.slice(1),Ce):this.delegate.setProperty(J,ee,Ce)}listen(J,ee,Ce){if("@"==ee.charAt(0)){const Ye=function Vl(Je){switch(Je){case"body":return document.body;case"document":return document;case"window":return window;default:return Je}}(J);let vt=ee.slice(1),Xt="";return"@"!=vt.charAt(0)&&([vt,Xt]=function Bl(Je){const J=Je.indexOf(".");return[Je.substring(0,J),Je.slice(J+1)]}(vt)),this.engine.listen(this.namespaceId,Ye,vt,Xt,St=>{this.factory.scheduleListenerCallback(St._data||-1,Ce,St)})}return this.delegate.listen(J,ee,Ce)}}class Wa{constructor(J,ee,Ce){this.delegate=J,this.engine=ee,this._zone=Ce,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ee.onRemovalComplete=(Ye,vt)=>{vt?.removeChild(null,Ye)}}createRenderer(J,ee){const Ye=this.delegate.createRenderer(J,ee);if(!J||!ee?.data?.animation){const An=this._rendererCache;let Ui=An.get(Ye);return Ui||(Ui=new Ll("",Ye,this.engine,()=>An.delete(Ye)),An.set(Ye,Ui)),Ui}const vt=ee.id,Xt=ee.id+"-"+this._currentId;this._currentId++,this.engine.register(Xt,J);const St=An=>{Array.isArray(An)?An.forEach(St):this.engine.registerTrigger(vt,Xt,J,An.name,An)};return ee.data.animation.forEach(St),new Hs(this,Xt,Ye,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(J,ee,Ce){if(J>=0&&J<this._microtaskId)return void this._zone.run(()=>ee(Ce));const Ye=this._animationCallbacksBuffer;0==Ye.length&&queueMicrotask(()=>{this._zone.run(()=>{Ye.forEach(vt=>{const[Xt,St]=vt;Xt(St)}),this._animationCallbacksBuffer=[]})}),Ye.push([ee,Ce])}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 xr=[{provide:wi,useFactory:function bo(){return new an}},{provide:ir,useClass:(()=>{class Je extends ir{constructor(ee,Ce,Ye){super(ee,Ce,Ye)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Ce){return new(Ce||Je)($.KVO(n.qQ),$.KVO(Bi),$.KVO(wi))};static#t=this.\u0275prov=$.jDH({token:Je,factory:Je.\u0275fac})}return Je})()},{provide:$._9s,useFactory:function Ma(Je,J,ee){return new Wa(Je,J,ee)},deps:[y.B7,ir,$.SKi]}],xa=[{provide:Bi,useFactory:()=>new oa},{provide:$.bc$,useValue:"BrowserAnimations"},...xr],Rc=[{provide:Bi,useClass:ri},{provide:$.bc$,useValue:"NoopAnimations"},...xr];let vl=(()=>{class Je{static withConfig(ee){return{ngModule:Je,providers:ee.disableAnimations?Rc:xa}}static#e=this.\u0275fac=function(Ce){return new(Ce||Je)};static#t=this.\u0275mod=$.$C({type:Je});static#n=this.\u0275inj=$.G2t({providers:xa,imports:[y.Bb]})}return Je})();var Ie=C(47987),he=C(37440),Qe=C(72036),$t=C(37405);const Ji={production:!0,zapierUrl:"https://zapier.com/apps/norby/integrations",cloudFunctionsBaseUrl:"https://api.norby.live",analyticsUrl:"https://analytics.services.norby.live/cubejs-api/v1",firestoreApiBaseUrl:"https://firestore.googleapis.com/v1/projects/magic-sauce/databases/(default)/documents/",embedsUrl:"https://embeds.norby.live/prod.js",stripeClientKey:"pk_live_PCP2WcGdCHMB0A8xSLEfD0AR00KyfAPamK",rootHost:"nor.by",cookiePrefix:"norby-",gtmConfig:{id:"GTM-PGHBSRJ"},firebaseConfig:{apiKey:"AIzaSyAozArSpUoOUNwrxG2ysjssS0a-hS4gcBE",authDomain:"magic-sauce.firebaseapp.com",databaseURL:"https://magic-sauce.firebaseio.com",projectId:"magic-sauce",storageBucket:"magic-sauce.appspot.com",messagingSenderId:"383296556887",appId:"1:383296556887:web:3ab65074cb154e848c7812",measurementId:"G-T1S9SMXFD7"},apiUrl:"https://api.services.norby.live",endUserUrl:"https://end-user.services.norby.live",authUrl:"https://auth.services.norby.live",corsAnywhereUrl:"https://cors-proxy.services.norby.live",screenshotUrl:"https://web-page-preview.services.norby.live",fontBucket:"magic-sauce-prod-fonts",mmsAttachmentBucket:"magic-sauce-prod-mms-attachments",socketServerUrl:"wss://socket.services.norby.live",recaptchaKey:"6LfdD0gkAAAAABuDzcopQmr86fkEK9oe_kE31jY5"};var Do=C(43559);const os=[{path:"",pathMatch:"full",loadChildren:()=>Promise.all([C.e(76),C.e(802)]).then(C.bind(C,15802)).then(Je=>Je.HomeModule)},{path:"event/:id",loadChildren:()=>Promise.all([C.e(76),C.e(90)]).then(C.bind(C,7090)).then(Je=>Je.EventModule)},{path:"e/:id",loadChildren:()=>Promise.all([C.e(76),C.e(90)]).then(C.bind(C,7090)).then(Je=>Je.EventModule)},{path:"drop/:id",loadChildren:()=>Promise.all([C.e(76),C.e(178)]).then(C.bind(C,99178)).then(Je=>Je.SignupModule)},{path:"signup/:id",loadChildren:()=>Promise.all([C.e(76),C.e(178)]).then(C.bind(C,99178)).then(Je=>Je.SignupModule)},{path:"send/:id",loadChildren:()=>Promise.all([C.e(76),C.e(779)]).then(C.bind(C,64779)).then(Je=>Je.SendModule)},{path:"message/:id",loadChildren:()=>Promise.all([C.e(76),C.e(68)]).then(C.bind(C,71068)).then(Je=>Je.MessageModule)},{path:"legal/mobile-terms",loadChildren:()=>Promise.all([C.e(76),C.e(246)]).then(C.bind(C,85246)).then(Je=>Je.LegalModule)},{path:":label",loadChildren:()=>Promise.all([C.e(76),C.e(375)]).then(C.bind(C,27375)).then(Je=>Je.LandingPageModule)},{path:"**",redirectTo:""}];let li=(()=>{class Je{static#e=this.\u0275fac=function(Ce){return new(Ce||Je)};static#t=this.\u0275mod=$.$C({type:Je});static#n=this.\u0275inj=$.G2t({imports:[Do.iI.forRoot(os,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled"}),Do.iI]})}return Je})();var Yr=C(5964),Ir=C(11869),Go=C(26069),Il=C(57072),Pc=C(88141);let rr=(()=>{class Je{constructor(ee,Ce,Ye){this._document=ee,this._socket=Ce,this._router=Ye,this._document?.addEventListener("visibilitychange",this._onVisibilityChange),this._router.events.pipe((0,Yr.p)(vt=>vt instanceof Do.wF&&vt.url!==this._previousRoute),(0,Pc.M)(vt=>this._previousRoute=vt.url)).subscribe(vt=>{this._pageViewStart({path:vt.url})})}_onVisibilityChange(){"visible"===this._document?.visibilityState?this._pageViewStart({path:this._previousRoute}):this._pageViewStop({path:this._previousRoute})}_pageViewStart({path:ee}){this._socket.sendMessage({message:"interactions/page_view",payload:{path:ee,action:"start",domReferrer:this._document?.referrer}})}_pageViewStop({path:ee}){this._socket.sendMessage({message:"interactions/page_view",payload:{path:ee,action:"stop",domReferrer:this._document?.referrer}})}ngOnDestroy(){this._document?.removeEventListener("visibilitychange",this._onVisibilityChange)}static#e=this.\u0275fac=function(Ce){return new(Ce||Je)($.KVO(n.qQ),$.KVO(Go.Luw),$.KVO(Do.Ix))};static#t=this.\u0275prov=$.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),nl=(()=>{class Je extends Ir.$GR{onDocumentClick(ee){this._clickService.interceptClick(ee)}constructor(ee,Ce,Ye,vt,Xt,St,In,An,Ui){super(),this._document=ee,this._clickService=Ce,this._stateTransfer=Ye,this._router=vt,this._auth=Xt,this._analytics=St,this._ui=In,this._pageTracking=An,this._logger=Ui}ngOnInit(){this._stateTransfer.getCurrentSlug$().pipe(this.takeUntilDestroy).subscribe(ee=>{const Ce=this.slug;this.slug=ee,this._updateCustomCssIfNeeded(),this._updateFavicon(),this._updateTrackingCodesIfNeeded(Ce?.trackers)}),this._router.events.pipe(this.takeUntilDestroy).subscribe(ee=>{this._updateFavicon(),this._setAllTrackingCodes(),ee instanceof Do.AL?this._ui.setLoading(!0):ee instanceof Do.vX&&this._ui.setLoading(!1)}),this._auth.user$.pipe((0,Yr.p)(ee=>!!ee?.uid),this.takeUntilDestroy).subscribe(ee=>{this._analytics.identify(ee.uid,{name:ee.displayName,email:ee.email,avatar:ee.photoURL,phone:ee.phoneNumber,createdAt:ee.metadata?.creationTime})})}ngOnDestroy(){super.ngOnDestroy(),this._removeCustomCss(),this._removeAllTrackingCodes()}get _head(){return this._document.head||this._document.getElementsByTagName("head")[0]}_updateFavicon(){const ee=this.slug?.theme?.metadata?.favicon,Ce=ee||"favicon.ico";this._document.getElementById("app-favicon")?.setAttribute("href",Ce)}_updateCustomCssIfNeeded(){this._removeCustomCss();const ee=this.slug?.customCode?.css?.trim();if(ee?.length){const Ce=this._document.createTextNode(ee);this._currentCustomCss=this._document.createElement("style"),this._currentCustomCss.appendChild(Ce),this._head.appendChild(this._currentCustomCss)}}_removeCustomCss(){this._currentCustomCss&&(this._head.removeChild(this._currentCustomCss),this._currentCustomCss=null)}_setAllTrackingCodes(){this._setFbTrackingCode(),this._setFbNoScript(),this._setTiktokTrackingCode(),this._setAdrollCode()}_removeAllTrackingCodes(){this._removeFbTrackingCode(),this._removeFbNoScript(),this._removeTiktokTrackingCode(),this._removeAdrollCode()}_setAdrollCode(){const ee=this.slug?.trackers?.adroll?.embedCode;this._adrollTrackingCode||!ee||(this._adrollTrackingCode=this._document?.createElement("script"),this._adrollTrackingCode.appendChild(this._document?.createTextNode(ee)),this._head.appendChild(this._adrollTrackingCode))}_removeAdrollCode(){this._adrollTrackingCode&&(this._head.removeChild(this._adrollTrackingCode),this._adrollTrackingCode=null)}_setFbNoScript(){const ee=this.slug?.trackers?.facebook?.pixelImage;if(this._fbNoScript||!ee)return;this._fbNoScript=this._document?.createElement("noscript");const Ce=this._document?.createElement("img");Ce.setAttribute("src",ee),Ce.setAttribute("height","1"),Ce.setAttribute("width","1"),Ce.style.display="none",this._fbNoScript.appendChild(Ce),this._head.appendChild(this._fbNoScript)}_removeFbNoScript(){this._fbNoScript&&(this._head.removeChild(this._fbNoScript),this._fbNoScript=null)}_setFbTrackingCode(){const ee=this.slug?.trackers?.facebook?.embedCode;this._fbTrackingCode||!ee||(this._fbTrackingCode=this._document?.createElement("script"),this._fbTrackingCode.appendChild(this._document?.createTextNode(ee)),this._head.appendChild(this._fbTrackingCode))}_removeFbTrackingCode(){this._fbTrackingCode&&(this._head.removeChild(this._fbTrackingCode),this._fbTrackingCode=null)}_setTiktokTrackingCode(){const ee=this.slug?.trackers?.tiktok?.embedCode;this._tiktokTrackingCode||!ee||(this._tiktokTrackingCode=this._document?.createElement("script"),this._tiktokTrackingCode.appendChild(this._document?.createTextNode(ee)),this._head.appendChild(this._tiktokTrackingCode))}_removeTiktokTrackingCode(){this._tiktokTrackingCode&&(this._head.removeChild(this._tiktokTrackingCode),this._tiktokTrackingCode=null)}_updateTrackingCodesIfNeeded(ee){const Ce=ee?.facebook?.embedCode!==this.slug?.trackers?.facebook?.embedCode,Ye=ee?.facebook?.pixelImage!==this.slug?.trackers?.facebook?.pixelImage,vt=ee?.tiktok?.embedCode!==this.slug?.trackers?.tiktok?.embedCode,Xt=ee?.adroll?.embedCode!==this.slug?.trackers?.adroll?.embedCode;Ce&&(this._removeFbTrackingCode(),this._setFbTrackingCode()),Ye&&(this._removeFbNoScript(),this._setFbNoScript()),vt&&(this._removeTiktokTrackingCode(),this._setTiktokTrackingCode()),Xt&&(this._removeAdrollCode(),this._setAdrollCode())}static#e=this.\u0275fac=function(Ce){return new(Ce||Je)($.rXU(n.qQ),$.rXU(Go.RsC),$.rXU(Il.a),$.rXU(Do.Ix),$.rXU(Go.uRZ),$.rXU(Go.cuq),$.rXU(Go.okG),$.rXU(rr),$.rXU(Go.gPJ))};static#t=this.\u0275cmp=$.VBU({type:Je,selectors:[["app-root"]],hostBindings:function(Ce,Ye){1&Ce&&$.bIt("click",function(Xt){return Ye.onDocumentClick(Xt)},!1,$.EBC)},features:[$.Vt3],decls:2,vars:0,consts:[[1,"root-container"]],template:function(Ce,Ye){1&Ce&&($.j41(0,"div",0),$.nrm(1,"router-outlet"),$.k0s())},dependencies:[Do.n3],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.root-container[_ngcontent-%COMP%]{position:relative;min-height:100%;display:flex;flex:1 1 auto;flex-direction:column}"]})}return Je})();var _l=C(82260);(0,n.EO)(ae);let ba=(()=>{class Je{static#e=this.\u0275fac=function(Ce){return new(Ce||Je)};static#t=this.\u0275mod=$.$C({type:Je,bootstrap:[nl]});static#n=this.\u0275inj=$.G2t({providers:[(0,he.MW)(()=>(0,he.Wp)(Ji.firebaseConfig)),(0,Qe._q)(()=>(0,Qe.xI)()),(0,$t.hV)(()=>(0,$t.aU)()),...(0,Go.Y5Y)(Ji),{provide:$.sZ2,useValue:"norby"},{provide:Ir.olz,useExisting:Go.gcd},{provide:Ir.pcU,useExisting:Go.DwC},{provide:Ir.MLf,useExisting:Go.u1m},{provide:Ir.E$7,useExisting:Go.GfA},{provide:Ir.jo3,useExisting:Go.fH8},{provide:Ir.gdS,useExisting:Go.cuq},{provide:_l.zs,useValue:Ji?.gtmConfig?.id},{provide:_l.nbi,useValue:Ji.screenshotUrl}],imports:[li,K.q1,vl,Ir.i7Z,Go.kiX,Go.pET,Ie.z_,Ir.uGs.forRoot()]})}return Je})(),Ud=(()=>{class Je{static#e=this.\u0275fac=function(Ce){return new(Ce||Je)};static#t=this.\u0275mod=$.$C({type:Je,bootstrap:[nl]});static#n=this.\u0275inj=$.G2t({imports:[ba]})}return Je})();Ji.production&&(0,$.SmG)(),document.addEventListener("DOMContentLoaded",()=>{y.sG().bootstrapModule(Ud).catch(Je=>console.error(Je))})},82027:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootActivity:()=>y});const y={name:"activity",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-activity"><path d="M22 12h-4l-3 9L9 3l-3 9H2"/></svg>'}},57910:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAirplay:()=>y});const y={name:"airplay",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"/><path d="m12 15 5 6H7l5-6z"/></svg>'}},50363:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlertCircle:()=>y});const y={name:"alert_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"/><path d="M12 8v4M12 16h.01"/></svg>'}},17036:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlertOctagon:()=>y});const y={name:"alert_octagon",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-octagon"><path d="M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86L7.86 2zM12 8v4M12 16h.01"/></svg>'}},40967:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlertTriangle:()=>y});const y={name:"alert_triangle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle"><path d="M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4M12 17h.01"/></svg>'}},83931:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlignCenter:()=>y});const y={name:"align_center",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-center"><path d="M18 10H6M21 6H3M21 14H3M18 18H6"/></svg>'}},74388:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlignJustify:()=>y});const y={name:"align_justify",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-justify"><path d="M21 10H3M21 6H3M21 14H3M21 18H3"/></svg>'}},5443:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlignLeft:()=>y});const y={name:"align_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-left"><path d="M17 10H3M21 6H3M21 14H3M17 18H3"/></svg>'}},55910:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAlignRight:()=>y});const y={name:"align_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-right"><path d="M21 10H7M21 6H3M21 14H3M21 18H7"/></svg>'}},99823:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAnchor:()=>y});const y={name:"anchor",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-anchor"><circle cx="12" cy="5" r="3"/><path d="M12 22V8M5 12H2a10 10 0 0 0 20 0h-3"/></svg>'}},97148:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAperture:()=>y});const y={name:"aperture",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-aperture"><circle cx="12" cy="12" r="10"/><path d="m14.31 8 5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16 3.95 6.06M14.31 16H2.83M16.62 12l-5.74 9.94"/></svg>'}},64432:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootApple:()=>y});const y={name:"apple",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 11.671875 6.351562 C 11.710938 6.351562 11.746094 6.351562 11.785156 6.351562 C 13.117188 6.351562 14.5625 5.601562 15.46875 4.4375 C 16.402344 3.238281 16.828125 1.800781 16.632812 0.492188 C 16.589844 0.195312 16.320312 -0.0195312 16.019531 0 C 14.707031 0.09375 13.21875 0.890625 12.320312 1.988281 C 11.34375 3.179688 10.894531 4.632812 11.121094 5.875 C 11.171875 6.144531 11.398438 6.339844 11.671875 6.351562 Z M 13.214844 2.722656 C 13.773438 2.042969 14.675781 1.480469 15.523438 1.253906 C 15.480469 2.40625 14.855469 3.339844 14.554688 3.726562 C 13.972656 4.476562 13.074219 5.015625 12.21875 5.160156 C 12.234375 4.015625 12.964844 3.027344 13.214844 2.722656 Z M 13.214844 2.722656 "/>\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 21.789062 17.453125 C 21.730469 17.304688 21.609375 17.1875 21.460938 17.132812 C 19.078125 16.234375 18.332031 13.652344 19.007812 11.777344 C 19.339844 10.84375 19.996094 10.089844 20.90625 9.589844 C 21.054688 9.507812 21.160156 9.363281 21.195312 9.195312 C 21.226562 9.027344 21.183594 8.855469 21.078125 8.71875 C 19.871094 7.214844 18.15625 6.316406 16.488281 6.316406 C 15.320312 6.316406 14.53125 6.613281 13.835938 6.878906 C 13.320312 7.074219 12.878906 7.242188 12.371094 7.242188 C 11.808594 7.242188 11.292969 7.058594 10.699219 6.84375 C 10.007812 6.597656 9.21875 6.316406 8.238281 6.316406 C 6.339844 6.316406 4.421875 7.460938 3.222656 9.308594 C 2.78125 9.992188 2.46875 10.839844 2.300781 11.828125 C 1.820312 14.636719 2.632812 17.984375 4.46875 20.78125 C 5.507812 22.363281 6.820312 23.984375 8.65625 24 L 8.695312 24 C 9.460938 24 9.972656 23.769531 10.472656 23.546875 C 10.996094 23.3125 11.492188 23.089844 12.394531 23.085938 L 12.421875 23.085938 C 13.304688 23.085938 13.785156 23.308594 14.292969 23.539062 C 14.78125 23.765625 15.285156 23.996094 16.050781 23.996094 L 16.085938 23.996094 C 17.882812 23.980469 19.246094 22.277344 20.34375 20.609375 C 21.015625 19.578125 21.273438 19.046875 21.785156 17.910156 C 21.847656 17.765625 21.851562 17.597656 21.789062 17.453125 Z M 19.375 19.976562 C 18.5 21.304688 17.335938 22.828125 16.074219 22.839844 L 16.050781 22.839844 C 15.539062 22.839844 15.203125 22.683594 14.777344 22.488281 C 14.234375 22.242188 13.558594 21.929688 12.421875 21.929688 L 12.386719 21.929688 C 11.242188 21.9375 10.554688 22.246094 10 22.492188 C 9.558594 22.6875 9.210938 22.84375 8.695312 22.84375 L 8.667969 22.84375 C 7.367188 22.832031 6.257812 21.394531 5.433594 20.144531 C 3.753906 17.585938 3.007812 14.550781 3.441406 12.023438 C 3.582031 11.191406 3.835938 10.488281 4.195312 9.933594 C 5.179688 8.414062 6.730469 7.472656 8.238281 7.472656 C 9.019531 7.472656 9.644531 7.695312 10.3125 7.933594 C 10.949219 8.164062 11.605469 8.398438 12.371094 8.398438 C 13.089844 8.398438 13.675781 8.175781 14.246094 7.960938 C 14.878906 7.71875 15.535156 7.472656 16.488281 7.472656 C 17.625 7.472656 18.804688 8.019531 19.742188 8.960938 C 18.894531 9.578125 18.269531 10.40625 17.917969 11.386719 C 17.003906 13.929688 18.148438 16.753906 20.488281 17.964844 C 20.140625 18.71875 19.894531 19.179688 19.375 19.976562 Z M 19.375 19.976562 "/>\n  </g>\n  </svg>\n  '}},20054:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArchive:()=>y});const y={name:"archive",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><path d="M21 8v13H3V8M1 3h22v5H1zM10 12h4"/></svg>'}},51077:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowDownCircle:()=>y});const y={name:"arrow_down_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-circle"><circle cx="12" cy="12" r="10"/><path d="m8 12 4 4 4-4M12 8v8"/></svg>'}},77986:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowDownLeft:()=>y});const y={name:"arrow_down_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-left"><path d="M17 7 7 17M17 17H7V7"/></svg>'}},65801:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowDownRight:()=>y});const y={name:"arrow_down_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-right"><path d="m7 7 10 10M17 7v10H7"/></svg>'}},84072:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowDown:()=>y});const y={name:"arrow_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down"><path d="M12 5v14M19 12l-7 7-7-7"/></svg>'}},14108:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowLeftCircle:()=>y});const y={name:"arrow_left_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left-circle"><circle cx="12" cy="12" r="10"/><path d="m12 8-4 4 4 4M16 12H8"/></svg>'}},74927:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowLeft:()=>y});const y={name:"arrow_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><path d="M19 12H5M12 19l-7-7 7-7"/></svg>'}},88199:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowRightCircle:()=>y});const y={name:"arrow_right_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"/><path d="m12 16 4-4-4-4M8 12h8"/></svg>'}},9562:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowRight:()=>y});const y={name:"arrow_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><path d="M5 12h14M12 5l7 7-7 7"/></svg>'}},74548:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowUpCircle:()=>y});const y={name:"arrow_up_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-circle"><circle cx="12" cy="12" r="10"/><path d="m16 12-4-4-4 4M12 16V8"/></svg>'}},74971:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowUpLeft:()=>y});const y={name:"arrow_up_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-left"><path d="M17 17 7 7M7 17V7h10"/></svg>'}},94078:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowUpRight:()=>y});const y={name:"arrow_up_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-right"><path d="M7 17 17 7M7 7h10v10"/></svg>'}},99431:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootArrowUp:()=>y});const y={name:"arrow_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up"><path d="M12 19V5M5 12l7-7 7 7"/></svg>'}},63239:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAtSign:()=>y});const y={name:"at_sign",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-at-sign"><circle cx="12" cy="12" r="4"/><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"/></svg>'}},55667:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootAward:()=>y});const y={name:"award",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-award"><circle cx="12" cy="8" r="7"/><path d="M8.21 13.89 7 23l5-3 5 3-1.21-9.12"/></svg>'}},14526:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBandcamp:()=>y});const y={name:"bandcamp",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12 2.25 C 6.625 2.25 2.25 6.625 2.25 12 C 2.25 17.375 6.625 21.75 12 21.75 C 17.375 21.75 21.75 17.375 21.75 12 C 21.75 6.625 17.375 2.25 12 2.25 Z M 12 3.75 C 16.546875 3.75 20.25 7.453125 20.25 12 C 20.25 16.546875 16.546875 20.25 12 20.25 C 7.453125 20.25 3.75 16.546875 3.75 12 C 3.75 7.453125 7.453125 3.75 12 3.75 Z M 10.035156 9 L 7.039062 15 L 13.964844 15 L 16.964844 9 Z M 10.964844 10.5 L 14.535156 10.5 L 13.035156 13.5 L 9.464844 13.5 Z M 10.964844 10.5 "/>\n  </g>\n  </svg>'}},52457:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBarChart2:()=>y});const y={name:"bar_chart_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2"><path d="M18 20V10M12 20V4M6 20v-6"/></svg>'}},80504:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBarChart:()=>y});const y={name:"bar_chart",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart"><path d="M12 20V10M18 20V4M6 20v-4"/></svg>'}},87197:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBatteryCharging:()=>y});const y={name:"battery_charging",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-battery-charging"><path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19M23 13v-2M11 6l-4 6h6l-4 6"/></svg>'}},88967:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBattery:()=>y});const y={name:"battery",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-battery"><rect x="1" y="6" width="18" height="12" rx="2" ry="2"/><path d="M23 13v-2"/></svg>'}},4959:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBellOff:()=>y});const y={name:"bell_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell-off"><path d="M13.73 21a2 2 0 0 1-3.46 0M18.63 13A17.89 17.89 0 0 1 18 8M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14M18 8a6 6 0 0 0-9.33-5M1 1l22 22"/></svg>'}},37707:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBell:()=>y});const y={name:"bell",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9M13.73 21a2 2 0 0 1-3.46 0"/></svg>'}},5842:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBluetooth:()=>y});const y={name:"bluetooth",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bluetooth"><path d="m6.5 6.5 11 11L12 23V1l5.5 5.5-11 11"/></svg>'}},77613:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBold:()=>y});const y={name:"bold",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bold"><path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6zM6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"/></svg>'}},3640:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBookOpen:()=>y});const y={name:"book_open",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>'}},95763:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBook:()=>y});const y={name:"book",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>'}},79660:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBookmark:()=>y});const y={name:"bookmark",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bookmark"><path d="m19 21-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/></svg>'}},31755:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBox:()=>y});const y={name:"box",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-box"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><path d="M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12"/></svg>'}},88e3:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootBriefcase:()=>y});const y={name:"briefcase",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/></svg>'}},19570:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCalendar:()=>y});const y={name:"calendar",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>'}},44866:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCalendly:()=>y});const y={name:"calendly",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>'}},66065:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCameraOff:()=>y});const y={name:"camera_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera-off"><path d="m1 1 22 22M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"/></svg>'}},56649:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCamera:()=>y});const y={name:"camera",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"/><circle cx="12" cy="13" r="4"/></svg>'}},42634:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCashapp:()=>y});const y={name:"cashapp",data:'<svg width="24px" height="24px" fill="currentColor" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>Cash App icon</title><path d="M23.59 3.47A5.1 5.1 0 0 0 20.54.42C19.23 0 18.04 0 15.62 0H8.36c-2.4 0-3.61 0-4.9.4A5.1 5.1 0 0 0 .41 3.46C0 4.76 0 5.96 0 8.36v7.27c0 2.41 0 3.6.4 4.9a5.1 5.1 0 0 0 3.05 3.05c1.3.41 2.5.41 4.9.41h7.28c2.41 0 3.61 0 4.9-.4a5.1 5.1 0 0 0 3.06-3.06c.41-1.3.41-2.5.41-4.9V8.38c0-2.41 0-3.61-.41-4.91zM17.42 8.1l-.93.93a.5.5 0 0 1-.67.01 5 5 0 0 0-3.22-1.18c-.97 0-1.94.32-1.94 1.21 0 .9 1.04 1.2 2.24 1.65 2.1.7 3.84 1.58 3.84 3.64 0 2.24-1.74 3.78-4.58 3.95l-.26 1.2a.49.49 0 0 1-.48.39H9.63l-.09-.01a.5.5 0 0 1-.38-.59l.28-1.27a6.54 6.54 0 0 1-2.88-1.57v-.01a.48.48 0 0 1 0-.68l1-.97a.49.49 0 0 1 .67 0c.91.86 2.13 1.34 3.39 1.32 1.3 0 2.17-.55 2.17-1.42 0-.87-.88-1.1-2.54-1.72-1.76-.63-3.43-1.52-3.43-3.6 0-2.42 2.01-3.6 4.39-3.71l.25-1.23a.48.48 0 0 1 .48-.38h1.78l.1.01c.26.06.43.31.37.57l-.27 1.37c.9.3 1.75.77 2.48 1.39l.02.02c.19.2.19.5 0 .68z"/></svg>'}},59897:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCast:()=>y});const y={name:"cast",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cast"><path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6M2 20h.01"/></svg>'}},745:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCheckCircle:()=>y});const y={name:"check_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="M22 4 12 14.01l-3-3"/></svg>'}},11e3:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCheckSquare:()=>y});const y={name:"check_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-square"><path d="m9 11 3 3L22 4"/><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"/></svg>'}},33596:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCheck:()=>y});const y={name:"check",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><path d="M20 6 9 17l-5-5"/></svg>'}},5674:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronDown:()=>y});const y={name:"chevron_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'}},56121:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronLeft:()=>y});const y={name:"chevron_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><path d="m15 18-6-6 6-6"/></svg>'}},49292:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronRight:()=>y});const y={name:"chevron_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><path d="m9 18 6-6-6-6"/></svg>'}},60197:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronUp:()=>y});const y={name:"chevron_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><path d="m18 15-6-6-6 6"/></svg>'}},53341:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronsDown:()=>y});const y={name:"chevrons_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-down"><path d="m7 13 5 5 5-5M7 6l5 5 5-5"/></svg>'}},10734:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronsLeft:()=>y});const y={name:"chevrons_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-left"><path d="m11 17-5-5 5-5M18 17l-5-5 5-5"/></svg>'}},61933:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronsRight:()=>y});const y={name:"chevrons_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-right"><path d="m13 17 5-5-5-5M6 17l5-5-5-5"/></svg>'}},79614:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChevronsUp:()=>y});const y={name:"chevrons_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-up"><path d="m17 11-5-5-5 5M17 18l-5-5-5 5"/></svg>'}},24630:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootChrome:()=>y});const y={name:"chrome",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chrome"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="4"/><path d="M21.17 8H12M3.95 6.06 8.54 14M10.88 21.94 15.46 14"/></svg>'}},85556:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCircle:()=>y});const y={name:"circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-circle"><circle cx="12" cy="12" r="10"/></svg>'}},53610:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootClipboard:()=>y});const y={name:"clipboard",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clipboard"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><rect x="8" y="2" width="8" height="4" rx="1" ry="1"/></svg>'}},94730:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootClock:()=>y});const y={name:"clock",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>'}},16698:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloudDrizzle:()=>y});const y={name:"cloud_drizzle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-drizzle"><path d="M8 19v2M8 13v2M16 19v2M16 13v2M12 21v2M12 15v2M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"/></svg>'}},31730:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloudLightning:()=>y});const y={name:"cloud_lightning",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-lightning"><path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"/><path d="m13 11-4 6h6l-4 6"/></svg>'}},27799:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloudOff:()=>y});const y={name:"cloud_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-off"><path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3M1 1l22 22"/></svg>'}},76706:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloudRain:()=>y});const y={name:"cloud_rain",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-rain"><path d="M16 13v8M8 13v8M12 15v8M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"/></svg>'}},777:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloudSnow:()=>y});const y={name:"cloud_snow",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-snow"><path d="M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25M8 16h.01M8 20h.01M12 18h.01M12 22h.01M16 16h.01M16 20h.01"/></svg>'}},66243:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCloud:()=>y});const y={name:"cloud",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud"><path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"/></svg>'}},70040:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootClubhouse:()=>y});const y={name:"clubhouse",data:'<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.7474 21C12.8742 20.9836 10.6912 20.4882 8.94489 18.6379C6.76194 16.3249 4.79845 14.7594 4.42781 14.3655C4.21797 14.1425 3.20359 13.257 3.83647 12.1901C4.16461 11.6369 5.16631 11.7329 5.71612 12.1901C5.98242 12.4115 8.51147 14.6298 8.6812 14.9742C8.27527 14.3834 3.92847 10.1131 3.51038 9.70135C2.91044 9.1105 2.80194 8.23723 3.3865 7.62443C3.89888 7.08729 4.6931 7.06043 5.25725 7.54385L9.77746 12.2333C9.85606 12.3148 9.99086 12.2985 10.0477 12.2005V12.2005C10.0852 12.1358 10.0761 12.0541 10.0253 11.9992L4.74537 6.29054C4.24304 5.79817 3.88191 4.67018 4.6931 4.17781C5.5888 3.63414 6.45871 4.40161 6.74924 4.76866L11.1626 10.1768C11.2374 10.2685 11.3685 10.2905 11.4691 10.2284V10.2284C11.5908 10.1533 11.6188 9.98885 11.528 9.87836C10.4424 8.55641 8.427 6.04538 7.85168 5.10884C7.24454 4.12051 7.7752 3.40792 8.11642 3.17516C8.52872 2.89392 9.52052 2.84049 10.1108 3.87343C10.6756 4.86176 12.9347 8.00938 13.9936 9.45964C14.2972 9.87541 14.9114 10.5411 15.5468 10.3549C16.341 10.1221 16.4822 8.95831 16.6058 8.22423C16.7293 7.49014 17.4176 6.02197 18.9355 6.00407C20.4533 5.98616 19.9768 7.50805 19.7297 7.86614C19.4826 8.22423 18.5648 9.85354 18.8649 11.5724C19.1649 13.2912 19.7826 15.1533 18.8649 17.4092C18.1307 19.214 16.9799 20.2925 16.1562 20.5312" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>'}},99323:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCode:()=>y});const y={name:"code",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><path d="m16 18 6-6-6-6M8 6l-6 6 6 6"/></svg>'}},4668:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCodepen:()=>y});const y={name:"codepen",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-codepen"><path d="m12 2 10 6.5v7L12 22 2 15.5v-7L12 2zM12 22v-6.5"/><path d="m22 8.5-10 7-10-7"/><path d="m2 15.5 10-7 10 7M12 2v6.5"/></svg>'}},69948:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCodesandbox:()=>y});const y={name:"codesandbox",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-codesandbox"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><path d="m7.5 4.21 4.5 2.6 4.5-2.6M7.5 19.79V14.6L3 12M21 12l-4.5 2.6v5.19M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12"/></svg>'}},95096:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCoffee:()=>y});const y={name:"coffee",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-coffee"><path d="M18 8h1a4 4 0 0 1 0 8h-1M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8zM6 1v3M10 1v3M14 1v3"/></svg>'}},56449:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootColumns:()=>y});const y={name:"columns",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-columns"><path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"/></svg>'}},59663:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCommand:()=>y});const y={name:"command",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-command"><path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"/></svg>'}},1784:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCompass:()=>y});const y={name:"compass",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-compass"><circle cx="12" cy="12" r="10"/><path d="m16.24 7.76-2.12 6.36-6.36 2.12 2.12-6.36 6.36-2.12z"/></svg>'}},51803:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCopy:()=>y});const y={name:"copy",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>'}},12822:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerDownLeft:()=>y});const y={name:"corner_down_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-left"><path d="m9 10-5 5 5 5"/><path d="M20 4v7a4 4 0 0 1-4 4H4"/></svg>'}},30741:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerDownRight:()=>y});const y={name:"corner_down_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-right"><path d="m15 10 5 5-5 5"/><path d="M4 4v7a4 4 0 0 0 4 4h12"/></svg>'}},5152:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerLeftDown:()=>y});const y={name:"corner_left_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-left-down"><path d="m14 15-5 5-5-5"/><path d="M20 4h-7a4 4 0 0 0-4 4v12"/></svg>'}},42943:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerLeftUp:()=>y});const y={name:"corner_left_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-left-up"><path d="M14 9 9 4 4 9"/><path d="M20 20h-7a4 4 0 0 1-4-4V4"/></svg>'}},54343:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerRightDown:()=>y});const y={name:"corner_right_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-right-down"><path d="m10 15 5 5 5-5"/><path d="M4 4h7a4 4 0 0 1 4 4v12"/></svg>'}},95828:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerRightUp:()=>y});const y={name:"corner_right_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-right-up"><path d="m10 9 5-5 5 5"/><path d="M4 20h7a4 4 0 0 0 4-4V4"/></svg>'}},26583:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerUpLeft:()=>y});const y={name:"corner_up_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-up-left"><path d="M9 14 4 9l5-5"/><path d="M20 20v-7a4 4 0 0 0-4-4H4"/></svg>'}},97346:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCornerUpRight:()=>y});const y={name:"corner_up_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-up-right"><path d="m15 14 5-5-5-5"/><path d="M4 20v-7a4 4 0 0 1 4-4h12"/></svg>'}},54258:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCpu:()=>y});const y={name:"cpu",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu"><rect x="4" y="4" width="16" height="16" rx="2" ry="2"/><path d="M9 9h6v6H9zM9 1v3M15 1v3M9 20v3M15 20v3M20 9h3M20 14h3M1 9h3M1 14h3"/></svg>'}},546:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCreditCard:()=>y});const y={name:"credit_card",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-credit-card"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"/><path d="M1 10h22"/></svg>'}},93722:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCrop:()=>y});const y={name:"crop",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crop"><path d="M6.13 1 6 16a2 2 0 0 0 2 2h15"/><path d="M1 6.13 16 6a2 2 0 0 1 2 2v15"/></svg>'}},98324:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootCrosshair:()=>y});const y={name:"crosshair",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crosshair"><circle cx="12" cy="12" r="10"/><path d="M22 12h-4M6 12H2M12 6V2M12 22v-4"/></svg>'}},48731:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDatabase:()=>y});const y={name:"database",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-database"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/></svg>'}},76485:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDelete:()=>y});const y={name:"delete",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-delete"><path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zM18 9l-6 6M12 9l6 6"/></svg>'}},59675:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDisc:()=>y});const y={name:"disc",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-disc"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="3"/></svg>'}},20784:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDiscord:()=>y});const y={name:"discord",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 18.398438 21.601562 L 17.878906 22.207031 C 18.03125 22.335938 18.226562 22.40625 18.425781 22.398438 Z M 16.695312 18.859375 C 16.417969 18.515625 15.917969 18.453125 15.570312 18.726562 C 15.222656 19.003906 15.164062 19.503906 15.4375 19.851562 Z M 17.332031 18.207031 L 17.054688 17.457031 C 17.042969 17.460938 17.03125 17.464844 17.023438 17.46875 Z M 14.550781 19.03125 L 14.417969 18.242188 L 14.402344 18.242188 Z M 9.582031 19.011719 L 9.433594 19.796875 L 9.4375 19.796875 Z M 6.765625 18.1875 L 6.472656 18.929688 L 6.472656 18.933594 Z M 5.363281 17.535156 L 4.917969 18.199219 C 4.9375 18.210938 4.953125 18.222656 4.972656 18.230469 Z M 5.191406 17.4375 L 5.636719 16.773438 C 5.609375 16.753906 5.578125 16.738281 5.550781 16.722656 Z M 5.113281 17.382812 L 5.679688 16.816406 C 5.628906 16.761719 5.570312 16.71875 5.503906 16.679688 Z M 8.5625 19.8125 C 8.835938 19.464844 8.777344 18.964844 8.429688 18.691406 C 8.082031 18.417969 7.578125 18.476562 7.304688 18.820312 Z M 5.601562 21.601562 L 5.574219 22.398438 C 5.777344 22.40625 5.976562 22.335938 6.128906 22.199219 Z M 0.800781 17.996094 L 0 17.996094 C 0 18.039062 0.00390625 18.082031 0.0117188 18.121094 Z M 3.5625 4.414062 L 3.082031 3.773438 C 2.960938 3.867188 2.867188 3.992188 2.8125 4.132812 Z M 8.949219 2.398438 L 9.746094 2.324219 C 9.707031 1.921875 9.375 1.609375 8.96875 1.601562 Z M 8.347656 4.488281 C 8.386719 4.929688 8.777344 5.253906 9.21875 5.210938 C 9.65625 5.167969 9.980469 4.777344 9.9375 4.339844 Z M 13.988281 4.386719 C 13.929688 4.828125 14.242188 5.226562 14.679688 5.285156 C 15.117188 5.339844 15.519531 5.03125 15.574219 4.59375 Z M 15.050781 2.398438 L 15.03125 1.601562 C 14.636719 1.609375 14.304688 1.90625 14.253906 2.296875 Z M 20.4375 4.414062 L 21.1875 4.132812 C 21.132812 3.992188 21.039062 3.867188 20.917969 3.773438 Z M 23.199219 17.996094 L 23.988281 18.121094 C 23.996094 18.082031 24 18.039062 24 17.996094 Z M 10.371094 14.082031 L 9.570312 14.070312 L 9.570312 14.082031 Z M 18.398438 21.601562 C 18.921875 20.992188 18.921875 20.992188 18.921875 20.992188 C 18.921875 20.992188 18.917969 20.992188 18.917969 20.988281 C 18.914062 20.988281 18.910156 20.984375 18.902344 20.976562 C 18.890625 20.96875 18.871094 20.949219 18.847656 20.929688 C 18.800781 20.886719 18.730469 20.828125 18.644531 20.753906 C 18.472656 20.601562 18.242188 20.390625 17.988281 20.160156 C 17.46875 19.683594 16.933594 19.167969 16.695312 18.859375 L 15.4375 19.851562 C 15.773438 20.273438 16.402344 20.878906 16.90625 21.339844 C 17.167969 21.582031 17.410156 21.796875 17.585938 21.953125 C 17.675781 22.03125 17.746094 22.09375 17.796875 22.136719 C 17.824219 22.160156 17.84375 22.175781 17.855469 22.1875 C 17.863281 22.195312 17.867188 22.199219 17.871094 22.199219 C 17.875 22.203125 17.875 22.203125 17.875 22.203125 C 17.875 22.207031 17.878906 22.207031 17.878906 22.207031 C 17.878906 22.207031 17.878906 22.207031 18.398438 21.601562 Z M 19.097656 16.40625 C 18.359375 16.890625 17.667969 17.226562 17.054688 17.457031 L 17.609375 18.957031 C 18.335938 18.683594 19.140625 18.292969 19.976562 17.742188 Z M 17.023438 17.46875 C 16.113281 17.847656 15.253906 18.097656 14.417969 18.242188 L 14.683594 19.820312 C 15.652344 19.65625 16.628906 19.367188 17.640625 18.941406 Z M 14.402344 18.242188 C 12.675781 18.566406 11.089844 18.480469 9.730469 18.226562 L 9.4375 19.796875 C 10.953125 20.082031 12.742188 20.183594 14.699219 19.816406 Z M 9.734375 18.226562 C 8.699219 18.027344 7.808594 17.734375 7.054688 17.441406 L 6.472656 18.933594 C 7.292969 19.25 8.28125 19.574219 9.433594 19.796875 Z M 7.054688 17.441406 C 6.636719 17.277344 6.191406 17.082031 5.753906 16.835938 L 4.972656 18.230469 C 5.496094 18.523438 6.007812 18.75 6.472656 18.929688 Z M 5.808594 16.871094 C 5.730469 16.816406 5.660156 16.78125 5.636719 16.769531 C 5.601562 16.753906 5.617188 16.761719 5.636719 16.773438 L 4.746094 18.105469 C 4.824219 18.15625 4.898438 18.191406 4.921875 18.203125 C 4.953125 18.21875 4.9375 18.210938 4.917969 18.199219 Z M 5.550781 16.722656 C 5.582031 16.738281 5.613281 16.757812 5.644531 16.785156 C 5.671875 16.804688 5.691406 16.828125 5.679688 16.816406 L 4.550781 17.945312 C 4.585938 17.984375 4.679688 18.078125 4.832031 18.152344 Z M 5.503906 16.679688 C 5.34375 16.59375 5.222656 16.519531 5.144531 16.46875 C 5.105469 16.445312 5.074219 16.425781 5.058594 16.414062 C 5.046875 16.40625 5.042969 16.402344 5.039062 16.402344 C 5.035156 16.398438 5.035156 16.398438 5.035156 16.398438 C 5.035156 16.398438 5.035156 16.398438 4.578125 17.054688 C 4.121094 17.710938 4.121094 17.710938 4.121094 17.710938 C 4.121094 17.710938 4.125 17.714844 4.125 17.714844 C 4.128906 17.714844 4.132812 17.71875 4.136719 17.722656 C 4.144531 17.726562 4.15625 17.734375 4.167969 17.746094 C 4.199219 17.761719 4.238281 17.789062 4.289062 17.824219 C 4.390625 17.886719 4.539062 17.976562 4.726562 18.082031 Z M 7.304688 18.820312 C 7.0625 19.132812 6.523438 19.660156 6.003906 20.148438 C 5.753906 20.382812 5.519531 20.597656 5.347656 20.753906 C 5.261719 20.828125 5.191406 20.890625 5.144531 20.933594 C 5.121094 20.957031 5.101562 20.972656 5.089844 20.984375 C 5.082031 20.988281 5.078125 20.992188 5.074219 20.996094 C 5.074219 20.996094 5.070312 21 5.070312 21 C 5.070312 21 5.070312 21 5.601562 21.601562 C 6.128906 22.199219 6.128906 22.199219 6.128906 22.199219 C 6.128906 22.199219 6.128906 22.199219 6.132812 22.199219 C 6.132812 22.199219 6.132812 22.195312 6.136719 22.195312 C 6.140625 22.191406 6.144531 22.1875 6.152344 22.179688 C 6.164062 22.167969 6.183594 22.152344 6.210938 22.128906 C 6.257812 22.085938 6.332031 22.019531 6.421875 21.941406 C 6.597656 21.78125 6.839844 21.558594 7.097656 21.316406 C 7.601562 20.84375 8.230469 20.234375 8.5625 19.8125 Z M 5.625 20.800781 C 3.761719 20.742188 2.78125 19.964844 2.25 19.265625 C 1.972656 18.898438 1.804688 18.535156 1.707031 18.265625 C 1.65625 18.132812 1.625 18.023438 1.609375 17.953125 C 1.601562 17.914062 1.59375 17.890625 1.589844 17.875 C 1.589844 17.867188 1.589844 17.863281 1.589844 17.863281 C 1.589844 17.859375 1.589844 17.859375 1.589844 17.863281 C 1.589844 17.867188 1.589844 17.867188 1.589844 17.867188 C 1.589844 17.867188 1.589844 17.867188 0.800781 17.996094 C 0.0117188 18.121094 0.0117188 18.121094 0.0117188 18.125 C 0.0117188 18.128906 0.0117188 18.128906 0.0117188 18.132812 C 0.0117188 18.136719 0.0117188 18.140625 0.015625 18.148438 C 0.015625 18.160156 0.0195312 18.175781 0.0234375 18.191406 C 0.03125 18.226562 0.0429688 18.277344 0.0546875 18.335938 C 0.0859375 18.457031 0.132812 18.617188 0.203125 18.8125 C 0.339844 19.195312 0.578125 19.710938 0.972656 20.230469 C 1.78125 21.296875 3.203125 22.324219 5.574219 22.398438 Z M 1.601562 17.996094 C 1.601562 15.007812 2.269531 11.691406 2.953125 9.09375 C 3.292969 7.796875 3.636719 6.695312 3.890625 5.917969 C 4.019531 5.527344 4.125 5.21875 4.199219 5.007812 C 4.234375 4.90625 4.261719 4.824219 4.28125 4.769531 C 4.292969 4.746094 4.300781 4.722656 4.304688 4.710938 C 4.308594 4.703125 4.308594 4.699219 4.308594 4.695312 C 4.308594 4.695312 4.3125 4.695312 4.3125 4.695312 C 4.3125 4.695312 4.3125 4.691406 4.3125 4.691406 C 4.3125 4.691406 4.3125 4.691406 3.5625 4.414062 C 2.8125 4.132812 2.8125 4.132812 2.8125 4.132812 C 2.8125 4.132812 2.8125 4.132812 2.8125 4.136719 C 2.8125 4.136719 2.808594 4.140625 2.808594 4.140625 C 2.808594 4.144531 2.804688 4.152344 2.804688 4.160156 C 2.796875 4.175781 2.789062 4.195312 2.777344 4.226562 C 2.757812 4.285156 2.726562 4.367188 2.6875 4.476562 C 2.609375 4.699219 2.5 5.015625 2.371094 5.417969 C 2.105469 6.222656 1.757812 7.355469 1.40625 8.683594 C 0.710938 11.332031 0 14.804688 0 17.996094 Z M 4.042969 5.054688 C 5.320312 4.09375 6.5625 3.632812 7.480469 3.40625 C 7.941406 3.296875 8.316406 3.242188 8.570312 3.21875 C 8.699219 3.207031 8.796875 3.203125 8.859375 3.199219 C 8.890625 3.199219 8.910156 3.199219 8.921875 3.199219 C 8.929688 3.199219 8.933594 3.199219 8.9375 3.199219 C 8.9375 3.199219 8.9375 3.199219 8.933594 3.199219 C 8.933594 3.199219 8.933594 3.199219 8.949219 2.398438 C 8.96875 1.601562 8.96875 1.601562 8.96875 1.601562 C 8.96875 1.601562 8.96875 1.601562 8.964844 1.601562 C 8.964844 1.601562 8.960938 1.601562 8.960938 1.601562 C 8.957031 1.601562 8.953125 1.601562 8.949219 1.601562 C 8.941406 1.601562 8.929688 1.601562 8.917969 1.601562 C 8.890625 1.601562 8.851562 1.601562 8.808594 1.601562 C 8.714844 1.605469 8.585938 1.613281 8.421875 1.625 C 8.097656 1.65625 7.644531 1.71875 7.101562 1.851562 C 6.015625 2.117188 4.5625 2.660156 3.082031 3.773438 Z M 8.152344 2.476562 L 8.347656 4.488281 L 9.9375 4.339844 L 9.746094 2.324219 Z M 15.574219 4.59375 L 15.84375 2.503906 L 14.253906 2.296875 L 13.988281 4.386719 Z M 15.050781 2.398438 C 15.066406 3.199219 15.066406 3.199219 15.066406 3.199219 C 15.0625 3.199219 15.0625 3.199219 15.0625 3.199219 C 15.066406 3.199219 15.070312 3.199219 15.074219 3.199219 C 15.089844 3.199219 15.109375 3.199219 15.140625 3.203125 C 15.203125 3.203125 15.300781 3.207031 15.429688 3.21875 C 15.683594 3.242188 16.058594 3.296875 16.519531 3.40625 C 17.433594 3.632812 18.679688 4.09375 19.957031 5.054688 L 20.917969 3.773438 C 19.4375 2.660156 17.984375 2.117188 16.898438 1.851562 C 16.355469 1.71875 15.902344 1.65625 15.578125 1.625 C 15.414062 1.613281 15.285156 1.605469 15.191406 1.601562 C 15.148438 1.601562 15.109375 1.601562 15.082031 1.601562 C 15.070312 1.601562 15.058594 1.601562 15.050781 1.601562 C 15.046875 1.601562 15.042969 1.601562 15.039062 1.601562 C 15.039062 1.601562 15.035156 1.601562 15.035156 1.601562 C 15.035156 1.601562 15.035156 1.601562 15.03125 1.601562 C 15.03125 1.601562 15.03125 1.601562 15.050781 2.398438 Z M 20.4375 4.414062 C 19.6875 4.691406 19.6875 4.691406 19.6875 4.691406 C 19.6875 4.695312 19.6875 4.695312 19.6875 4.695312 C 19.6875 4.695312 19.6875 4.695312 19.691406 4.695312 C 19.691406 4.699219 19.691406 4.703125 19.695312 4.710938 C 19.699219 4.722656 19.707031 4.746094 19.71875 4.769531 C 19.738281 4.824219 19.765625 4.90625 19.800781 5.007812 C 19.875 5.21875 19.980469 5.527344 20.109375 5.917969 C 20.363281 6.695312 20.703125 7.796875 21.046875 9.09375 C 21.730469 11.691406 22.398438 15.007812 22.398438 17.996094 L 24 17.996094 C 24 14.804688 23.289062 11.332031 22.59375 8.683594 C 22.242188 7.355469 21.894531 6.222656 21.628906 5.417969 C 21.5 5.015625 21.390625 4.699219 21.3125 4.476562 C 21.273438 4.367188 21.242188 4.285156 21.222656 4.226562 C 21.210938 4.195312 21.203125 4.175781 21.195312 4.160156 C 21.195312 4.152344 21.191406 4.144531 21.191406 4.140625 C 21.191406 4.140625 21.1875 4.136719 21.1875 4.136719 C 21.1875 4.136719 21.1875 4.132812 21.1875 4.132812 C 21.1875 4.132812 21.1875 4.132812 20.4375 4.414062 Z M 23.199219 17.996094 C 22.410156 17.867188 22.410156 17.867188 22.410156 17.867188 C 22.410156 17.867188 22.410156 17.867188 22.410156 17.863281 C 22.410156 17.859375 22.410156 17.859375 22.410156 17.863281 C 22.410156 17.863281 22.410156 17.867188 22.410156 17.875 C 22.40625 17.890625 22.398438 17.914062 22.390625 17.953125 C 22.375 18.023438 22.34375 18.132812 22.292969 18.265625 C 22.195312 18.535156 22.027344 18.898438 21.75 19.265625 C 21.21875 19.964844 20.238281 20.742188 18.375 20.800781 L 18.425781 22.398438 C 20.796875 22.324219 22.21875 21.296875 23.027344 20.230469 C 23.421875 19.710938 23.660156 19.195312 23.796875 18.8125 C 23.867188 18.617188 23.914062 18.457031 23.945312 18.335938 C 23.957031 18.277344 23.96875 18.226562 23.976562 18.191406 C 23.980469 18.175781 23.984375 18.160156 23.984375 18.148438 C 23.988281 18.140625 23.988281 18.136719 23.988281 18.132812 C 23.988281 18.128906 23.988281 18.128906 23.988281 18.125 C 23.988281 18.121094 23.988281 18.121094 23.199219 17.996094 Z M 8.414062 11.152344 C 6.8125 11.152344 5.65625 12.539062 5.65625 14.082031 L 7.257812 14.082031 C 7.257812 13.285156 7.828125 12.753906 8.414062 12.753906 Z M 5.65625 14.082031 C 5.65625 15.628906 6.835938 17.011719 8.414062 17.011719 L 8.414062 15.410156 C 7.84375 15.410156 7.257812 14.875 7.257812 14.082031 Z M 8.414062 17.011719 C 10.015625 17.011719 11.167969 15.625 11.167969 14.082031 L 9.570312 14.082031 C 9.570312 14.878906 9 15.410156 8.414062 15.410156 Z M 11.167969 14.09375 C 11.195312 12.53125 10.003906 11.152344 8.414062 11.152344 L 8.414062 12.753906 C 9.007812 12.753906 9.582031 13.292969 9.570312 14.070312 Z M 15.414062 11.152344 C 13.8125 11.152344 12.65625 12.539062 12.65625 14.082031 L 14.257812 14.082031 C 14.257812 13.285156 14.828125 12.753906 15.414062 12.753906 Z M 12.65625 14.082031 C 12.65625 15.628906 13.835938 17.011719 15.414062 17.011719 L 15.414062 15.410156 C 14.84375 15.410156 14.257812 14.875 14.257812 14.082031 Z M 15.414062 17.011719 C 17.015625 17.011719 18.167969 15.625 18.167969 14.082031 L 16.570312 14.082031 C 16.570312 14.878906 15.996094 15.410156 15.414062 15.410156 Z M 18.167969 14.082031 C 18.167969 12.539062 17.015625 11.152344 15.414062 11.152344 L 15.414062 12.753906 C 15.996094 12.753906 16.570312 13.285156 16.570312 14.082031 Z M 5.984375 7.101562 C 8.292969 5.84375 10.171875 5.253906 12.003906 5.253906 C 13.835938 5.253906 15.710938 5.839844 18.015625 7.101562 L 18.785156 5.699219 C 16.347656 4.363281 14.199219 3.652344 12.003906 3.65625 C 9.804688 3.65625 7.65625 4.367188 5.21875 5.699219 Z M 5.984375 7.101562 "/>\n  </g>\n  </svg>  \n  '}},10728:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDivideCircle:()=>y});const y={name:"divide_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-divide-circle"><path d="M8 12h8M12 16h0M12 8h0"/><circle cx="12" cy="12" r="10"/></svg>'}},28061:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDivideSquare:()=>y});const y={name:"divide_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-divide-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M8 12h8M12 16h0M12 8h0"/></svg>'}},98459:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDivide:()=>y});const y={name:"divide",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-divide"><circle cx="12" cy="6" r="2"/><path d="M5 12h14"/><circle cx="12" cy="18" r="2"/></svg>'}},41356:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDollarSign:()=>y});const y={name:"dollar_sign",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-dollar-sign"><path d="M12 1v22M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>'}},65008:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDownloadCloud:()=>y});const y={name:"download_cloud",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download-cloud"><path d="m8 17 4 4 4-4M12 12v9"/><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"/></svg>'}},7532:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDownload:()=>y});const y={name:"download",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3"/></svg>'}},53822:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDribbble:()=>y});const y={name:"dribbble",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-dribbble"><circle cx="12" cy="12" r="10"/><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"/></svg>'}},91417:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootDroplet:()=>y});const y={name:"droplet",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-droplet"><path d="m12 2.69 5.66 5.66a8 8 0 1 1-11.31 0z"/></svg>'}},52345:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootEdit2:()=>y});const y={name:"edit_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>'}},12600:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootEdit3:()=>y});const y={name:"edit_3",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-3"><path d="M12 20h9M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"/></svg>'}},86568:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootEdit:()=>y});const y={name:"edit",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>'}},54730:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootExternalLink:()=>y});const y={name:"external_link",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3"/></svg>'}},32339:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootEyeOff:()=>y});const y={name:"eye_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24M1 1l22 22"/></svg>'}},74127:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootEye:()=>y});const y={name:"eye",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>'}},74400:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFacebook:()=>y});const y={name:"facebook",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-facebook"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"/></svg>'}},4570:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFastForward:()=>y});const y={name:"fast_forward",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-fast-forward"><path d="m13 19 9-7-9-7v14zM2 19l9-7-9-7v14z"/></svg>'}},2173:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFeather:()=>y});const y={name:"feather",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-feather"><path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5zM16 8 2 22M17.5 15H9"/></svg>'}},46068:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFigma:()=>y});const y={name:"figma",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-figma"><path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5zM12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z"/><path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0zM5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0zM5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z"/></svg>'}},92153:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFileMinus:()=>y});const y={name:"file_minus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-minus"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6M9 15h6"/></svg>'}},78331:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFilePlus:()=>y});const y={name:"file_plus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-plus"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6M12 18v-6M9 15h6"/></svg>'}},82026:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFileText:()=>y});const y={name:"file_text",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6M16 13H8M16 17H8M10 9H8"/></svg>'}},99154:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFile:()=>y});const y={name:"file",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"/><path d="M13 2v7h7"/></svg>'}},14010:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFilm:()=>y});const y={name:"film",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-film"><rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"/><path d="M7 2v20M17 2v20M2 12h20M2 7h5M2 17h5M17 17h5M17 7h5"/></svg>'}},74346:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFilter:()=>y});const y={name:"filter",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-filter"><path d="M22 3H2l8 9.46V19l4 2v-8.54L22 3z"/></svg>'}},10922:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFlag:()=>y});const y={name:"flag",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-flag"><path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1zM4 22v-7"/></svg>'}},54267:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFolderMinus:()=>y});const y={name:"folder_minus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-folder-minus"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2zM9 14h6"/></svg>'}},44189:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFolderPlus:()=>y});const y={name:"folder_plus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-folder-plus"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2zM12 11v6M9 14h6"/></svg>'}},60836:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFolder:()=>y});const y={name:"folder",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-folder"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>'}},98175:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFramer:()=>y});const y={name:"framer",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-framer"><path d="M5 16V9h14V2H5l14 14h-7m-7 0 7 7v-7m-7 0h7"/></svg>'}},90796:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootFrown:()=>y});const y={name:"frown",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-frown"><circle cx="12" cy="12" r="10"/><path d="M16 16s-1.5-2-4-2-4 2-4 2M9 9h.01M15 9h.01"/></svg>'}},90214:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGift:()=>y});const y={name:"gift",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-gift"><path d="M20 12v10H4V12M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"/></svg>'}},35461:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGitBranch:()=>y});const y={name:"git_branch",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-branch"><path d="M6 3v12"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></svg>'}},90050:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGitCommit:()=>y});const y={name:"git_commit",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-commit"><circle cx="12" cy="12" r="4"/><path d="M1.05 12H7M17.01 12h5.95"/></svg>'}},47819:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGitMerge:()=>y});const y={name:"git_merge",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-merge"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M6 21V9a9 9 0 0 0 9 9"/></svg>'}},54032:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGitPullRequest:()=>y});const y={name:"git_pull_request",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-pull-request"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M13 6h3a2 2 0 0 1 2 2v7M6 9v12"/></svg>'}},33745:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGithub:()=>y});const y={name:"github",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/></svg>'}},56273:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGitlab:()=>y});const y={name:"gitlab",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-gitlab"><path d="M22.65 14.39 12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"/></svg>'}},8731:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGlobe:()=>y});const y={name:"globe",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>'}},77777:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGoogle:()=>y});const y={name:"google",data:'<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    \n  <title>google</title>\n  <desc>Created with sketchtool.</desc>\n  <g id="brand" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n      <g id="google" fill="currentColor" fill-rule="nonzero">\n          <path d="M11.99,13.9 L11.99,10.18 L21.35,10.18 C21.49,10.81 21.6,11.4 21.6,12.23 C21.6,17.94 17.77,22 12,22 C6.48,22 2,17.52 2,12 C2,6.48 6.48,2 12,2 C14.7,2 16.96,2.99 18.69,4.61 L15.85,7.37 C15.13,6.69 13.87,5.89 12,5.89 C8.69,5.89 5.99,8.64 5.99,12.01 C5.99,15.38 8.69,18.13 12,18.13 C15.83,18.13 17.24,15.48 17.5,13.91 L11.99,13.91 L11.99,13.9 Z" id="Shape"></path>\n      </g>\n  </g>\n</svg>'}},54388:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootGrid:()=>y});const y={name:"grid",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-grid"><path d="M3 3h7v7H3zM14 3h7v7h-7zM14 14h7v7h-7zM3 14h7v7H3z"/></svg>'}},24528:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHardDrive:()=>y});const y={name:"hard_drive",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-hard-drive"><path d="M22 12H2M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11zM6 16h.01M10 16h.01"/></svg>'}},59408:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHash:()=>y});const y={name:"hash",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-hash"><path d="M4 9h16M4 15h16M10 3 8 21M16 3l-2 18"/></svg>'}},68969:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHeadphones:()=>y});const y={name:"headphones",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-headphones"><path d="M3 18v-6a9 9 0 0 1 18 0v6"/><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"/></svg>'}},35776:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHeart:()=>y});const y={name:"heart",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></svg>'}},77642:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHelpCircle:()=>y});const y={name:"help_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01"/></svg>'}},28512:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHexagon:()=>y});const y={name:"hexagon",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-hexagon"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/></svg>'}},63557:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootHome:()=>y});const y={name:"home",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path d="M9 22V12h6v10"/></svg>'}},71603:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootImage:()=>y});const y={name:"image",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-image"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="m21 15-5-5L5 21"/></svg>'}},4452:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootInbox:()=>y});const y={name:"inbox",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-inbox"><path d="M22 12h-6l-2 3h-4l-2-3H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/></svg>'}},90004:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootInfo:()=>y});const y={name:"info",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>'}},29732:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootInstagram:()=>y});const y={name:"instagram",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-instagram"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"/><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37zM17.5 6.5h.01"/></svg>'}},11408:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootItalic:()=>y});const y={name:"italic",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-italic"><path d="M19 4h-9M14 20H5M15 4 9 20"/></svg>'}},40817:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootKey:()=>y});const y={name:"key",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-key"><path d="m21 2-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0 3 3L22 7l-3-3m-3.5 3.5L19 4"/></svg>'}},91507:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLastfm:()=>y});const y={name:"lastfm",data:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M10.584 17.209l-.88-2.392s-1.43 1.595-3.573 1.595c-1.897 0-3.244-1.65-3.244-4.289 0-3.381 1.704-4.591 3.382-4.591 2.419 0 3.188 1.567 3.849 3.574l.88 2.75c.879 2.667 2.528 4.811 7.284 4.811 3.409 0 5.719-1.044 5.719-3.793 0-2.227-1.265-3.381-3.629-3.932l-1.76-.385c-1.209-.275-1.566-.77-1.566-1.594 0-.935.742-1.485 1.952-1.485 1.319 0 2.034.495 2.144 1.677l2.749-.33c-.22-2.474-1.924-3.491-4.729-3.491-2.474 0-4.893.935-4.893 3.931 0 1.87.907 3.052 3.188 3.602l1.869.439c1.402.33 1.869.907 1.869 1.705 0 1.017-.989 1.43-2.858 1.43-2.776 0-3.932-1.457-4.591-3.464l-.907-2.749c-1.155-3.574-2.997-4.894-6.653-4.894-4.041-.001-6.186 2.556-6.186 6.899 0 4.179 2.145 6.433 5.993 6.433 3.107.001 4.591-1.457 4.591-1.457z" /></svg>'}},27138:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLayers:()=>y});const y={name:"layers",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layers"><path d="M12 2 2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>'}},74698:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLayout:()=>y});const y={name:"layout",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M3 9h18M9 21V9"/></svg>'}},36496:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLifeBuoy:()=>y});const y={name:"life_buoy",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-life-buoy"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="4"/><path d="m4.93 4.93 4.24 4.24M14.83 14.83l4.24 4.24M14.83 9.17l4.24-4.24M14.83 9.17l3.53-3.53M4.93 19.07l4.24-4.24"/></svg>'}},81869:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLink2:()=>y});const y={name:"link_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link-2"><path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3M8 12h8"/></svg>'}},13076:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLink:()=>y});const y={name:"link",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>'}},75574:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLinkedin:()=>y});const y={name:"linkedin",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-linkedin"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z"/><circle cx="4" cy="4" r="2"/></svg>'}},9720:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootList:()=>y});const y={name:"list",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>'}},79253:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLoader:()=>y});const y={name:"loader",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-loader"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line></svg>'}},9141:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLock:()=>y});const y={name:"lock",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>'}},97746:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLogIn:()=>y});const y={name:"log_in",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-in"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3"/></svg>'}},78969:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootLogOut:()=>y});const y={name:"log_out",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9"/></svg>'}},52473:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMail:()=>y});const y={name:"mail",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><path d="m22 6-10 7L2 6"/></svg>'}},39892:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMapPin:()=>y});const y={name:"map_pin",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>'}},84538:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMap:()=>y});const y={name:"map",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map"><path d="M1 6v16l7-4 8 4 7-4V2l-7 4-8-4-7 4zM8 2v16M16 6v16"/></svg>'}},66515:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMaximize2:()=>y});const y={name:"maximize_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-maximize-2"><path d="M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"/></svg>'}},56310:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMaximize:()=>y});const y={name:"maximize",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-maximize"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"/></svg>'}},12697:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMedium:()=>y});const y={name:"medium",data:'<svg width="24px" height="24px" viewBox="-2 -4 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" preserveAspectRatio="xMinYMin" class="jam jam-medium"><path d=\'M2.372 3.264a.784.784 0 0 0-.252-.658L.252.339V0H6.05l4.482 9.905L14.472 0H20v.339L18.403 1.88a.472.472 0 0 0-.177.452v11.334a.472.472 0 0 0 .177.452l1.56 1.542V16H12.12v-.339l1.615-1.58c.159-.16.159-.207.159-.451V4.468L9.402 15.962h-.606L3.566 4.468v7.704c-.043.324.064.65.29.884l2.101 2.568v.338H0v-.338l2.1-2.568a1.03 1.03 0 0 0 .272-.884V3.264z\' /></svg>'}},19486:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMeh:()=>y});const y={name:"meh",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-meh"><circle cx="12" cy="12" r="10"/><path d="M8 15h8M9 9h.01M15 9h.01"/></svg>'}},14605:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMenu:()=>y});const y={name:"menu",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><path d="M3 12h18M3 6h18M3 18h18"/></svg>'}},76574:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMessageCircle:()=>y});const y={name:"message_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>'}},16343:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMessageSquare:()=>y});const y={name:"message_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>'}},88237:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMicOff:()=>y});const y={name:"mic_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic-off"><path d="m1 1 22 22M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"/><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23M12 19v4M8 23h8"/></svg>'}},94549:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMic:()=>y});const y={name:"mic",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mic"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/><path d="M19 10v2a7 7 0 0 1-14 0v-2M12 19v4M8 23h8"/></svg>'}},14165:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMinimize2:()=>y});const y={name:"minimize_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minimize-2"><path d="M4 14h6v6M20 10h-6V4M14 10l7-7M3 21l7-7"/></svg>'}},56684:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMinimize:()=>y});const y={name:"minimize",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minimize"><path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"/></svg>'}},13333:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMinusCircle:()=>y});const y={name:"minus_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus-circle"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/></svg>'}},50516:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMinusSquare:()=>y});const y={name:"minus_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M8 12h8"/></svg>'}},41528:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMinus:()=>y});const y={name:"minus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus"><path d="M5 12h14"/></svg>'}},38258:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMonitor:()=>y});const y={name:"monitor",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-monitor"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><path d="M8 21h8M12 17v4"/></svg>'}},31643:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMoon:()=>y});const y={name:"moon",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>'}},3128:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMoreHorizontal:()=>y});const y={name:"more_horizontal",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-horizontal"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>'}},83798:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMoreVertical:()=>y});const y={name:"more_vertical",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>'}},46005:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMousePointer:()=>y});const y={name:"mouse_pointer",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mouse-pointer"><path d="m3 3 7.07 16.97 2.51-7.39 7.39-2.51L3 3zM13 13l6 6"/></svg>'}},18219:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMove:()=>y});const y={name:"move",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-move"><path d="m5 9-3 3 3 3M9 5l3-3 3 3M15 19l-3 3-3-3M19 9l3 3-3 3M2 12h20M12 2v20"/></svg>'}},73657:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootMusic:()=>y});const y={name:"music",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-music"><path d="M9 18V5l12-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="16" r="3"/></svg>'}},18435:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootNavigation2:()=>y});const y={name:"navigation_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation-2"><path d="m12 2 7 19-7-4-7 4 7-19z"/></svg>'}},11910:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootNavigation:()=>y});const y={name:"navigation",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-navigation"><path d="m3 11 19-9-9 19-2-8-8-2z"/></svg>'}},68369:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootNorbyAi:()=>y});const y={name:"norby-ai",data:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M19.6364 8.72727L21 5.72727L24 4.36364L21 3L19.6364 0L18.2727 3L15.2727 4.36364L18.2727 5.72727L19.6364 8.72727Z" fill="#474D66"/>\n  <path d="M19.6364 15.2727L18.2727 18.2727L15.2727 19.6364L18.2727 21L19.6364 24L21 21L24 19.6364L21 18.2727L19.6364 15.2727Z" fill="#474D66"/>\n  <path d="M11.4545 9.27273L8.72727 3.27273L6 9.27273L0 12L6 14.7273L8.72727 20.7273L11.4545 14.7273L17.4545 12L11.4545 9.27273ZM9.80727 13.08L8.72727 15.4581L7.64727 13.08L5.26909 12L7.64727 10.92L8.72727 8.54181L9.80727 10.92L12.1855 12L9.80727 13.08Z" fill="#474D66"/>\n  </svg>'}},86885:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootOctagon:()=>y});const y={name:"octagon",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-octagon"><path d="M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86L7.86 2z"/></svg>'}},87796:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPackage:()=>y});const y={name:"package",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-package"><path d="m16.5 9.4-9-5.19M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><path d="M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12"/></svg>'}},53932:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPaperclip:()=>y});const y={name:"paperclip",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-paperclip"><path d="m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"/></svg>'}},6855:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPatreon:()=>y});const y={name:"patreon",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 3 3 L 3 21 L 8.25 21 L 8.25 3 Z M 16.125 3 C 12.609375 3 9.75 5.859375 9.75 9.375 C 9.75 12.890625 12.609375 15.75 16.125 15.75 C 19.640625 15.75 22.5 12.890625 22.5 9.375 C 22.5 5.859375 19.640625 3 16.125 3 Z M 4.5 4.5 L 6.75 4.5 L 6.75 19.5 L 4.5 19.5 Z M 16.125 4.5 C 18.8125 4.5 21 6.6875 21 9.375 C 21 12.0625 18.8125 14.25 16.125 14.25 C 13.4375 14.25 11.25 12.0625 11.25 9.375 C 11.25 6.6875 13.4375 4.5 16.125 4.5 Z M 16.125 4.5 "/>\n  </g>\n  </svg>'}},63103:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPauseCircle:()=>y});const y={name:"pause_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pause-circle"><circle cx="12" cy="12" r="10"/><path d="M10 15V9M14 15V9"/></svg>'}},17490:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPause:()=>y});const y={name:"pause",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pause"><path d="M6 4h4v16H6zM14 4h4v16h-4z"/></svg>'}},78265:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPaypal:()=>y});const y={name:"paypal",data:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M22 9.761c0 .536-.065 1.084-.169 1.627-.847 4.419-3.746 5.946-7.449 5.946h-.572c-.453 0-.838.334-.908.789l-.803 5.09c-.071.453-.456.787-.908.787h-2.736c-.39 0-.688-.348-.628-.732l1.386-8.88.062-.056h2.155c5.235 0 8.509-2.618 9.473-7.568.812.814 1.097 1.876 1.097 2.997zm-14.216 4.252c.116-.826.459-1.177 1.385-1.179l2.26-.002c4.574 0 7.198-2.09 8.023-6.39.8-4.134-2.102-6.442-6.031-6.442h-7.344c-.517 0-.958.382-1.038.901-2.304 14.835-2.97 18.607-3.038 19.758-.021.362.269.672.635.672h3.989l1.159-7.318z"/></svg>'}},20348:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPenTool:()=>y});const y={name:"pen_tool",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pen-tool"><path d="m12 19 7-7 3 3-7 7-3-3z"/><path d="m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5zM2 2l7.586 7.586"/><circle cx="11" cy="11" r="2"/></svg>'}},93343:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPercent:()=>y});const y={name:"percent",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-percent"><path d="M19 5 5 19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/></svg>'}},28169:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneCall:()=>y});const y={name:"phone_call",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-call"><path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},37167:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneForwarded:()=>y});const y={name:"phone_forwarded",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-forwarded"><path d="m19 1 4 4-4 4M15 5h8M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},34345:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneIncoming:()=>y});const y={name:"phone_incoming",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-incoming"><path d="M16 2v6h6M23 1l-7 7M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},8614:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneMissed:()=>y});const y={name:"phone_missed",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-missed"><path d="m23 1-6 6M17 1l6 6M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},30556:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneOff:()=>y});const y={name:"phone_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-off"><path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91M23 1 1 23"/></svg>'}},71391:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhoneOutgoing:()=>y});const y={name:"phone_outgoing",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone-outgoing"><path d="M23 7V1h-6M16 8l7-7M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},41788:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPhone:()=>y});const y={name:"phone",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>'}},36193:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPieChart:()=>y});const y={name:"pie_chart",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pie-chart"><path d="M21.21 15.89A10 10 0 1 1 8 2.83"/><path d="M22 12A10 10 0 0 0 12 2v10z"/></svg>'}},97122:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPinterest:()=>y});const y={name:"pinterest",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 21.105469 5.976562 C 20.742188 4.746094 20.15625 3.710938 19.316406 2.8125 C 18.5 1.933594 17.554688 1.269531 16.433594 0.777344 C 15.15625 0.214844 13.675781 -0.0546875 12.261719 0.0078125 C 11.746094 0.03125 11.242188 0.0585938 10.75 0.132812 C 9.355469 0.332031 8.128906 0.746094 7 1.398438 C 5.558594 2.238281 4.433594 3.375 3.65625 4.78125 C 3.253906 5.511719 2.855469 6.804688 2.6875 7.648438 C 2.484375 8.644531 2.664062 10.367188 3.0625 11.339844 C 3.566406 12.550781 3.976562 13.089844 4.984375 13.839844 C 4.992188 13.84375 5.613281 14.292969 6.027344 14.285156 C 6.78125 14.269531 6.933594 13.550781 7.003906 13.203125 C 7.019531 13.136719 7.03125 13.070312 7.046875 13.011719 C 7.0625 12.957031 7.078125 12.898438 7.097656 12.839844 C 7.203125 12.496094 7.351562 12.023438 7.109375 11.605469 C 7.019531 11.449219 6.910156 11.328125 6.816406 11.21875 C 6.765625 11.160156 6.714844 11.105469 6.671875 11.042969 C 6.3125 10.511719 6.132812 9.84375 6.132812 9.066406 C 6.132812 8.039062 6.363281 7.113281 6.84375 6.230469 C 7.707031 4.625 9.144531 3.617188 10.996094 3.304688 C 12.050781 3.125 13.277344 3.199219 14.199219 3.496094 C 15.039062 3.765625 15.757812 4.242188 16.269531 4.878906 C 16.816406 5.546875 17.125 6.398438 17.195312 7.40625 C 17.242188 8.050781 17.183594 8.699219 17.132812 9.128906 C 16.949219 10.785156 16.464844 12.117188 15.699219 13.09375 C 15.074219 13.890625 14.398438 14.292969 13.636719 14.320312 C 13.144531 14.339844 12.777344 14.238281 12.445312 14 C 12.128906 13.777344 11.945312 13.5 11.855469 13.132812 C 11.757812 12.714844 11.875 12.277344 12.003906 11.820312 L 12.023438 11.746094 C 12.136719 11.339844 12.253906 10.96875 12.367188 10.605469 C 12.546875 10.03125 12.734375 9.4375 12.886719 8.75 C 13.0625 7.972656 13.085938 7.347656 12.957031 6.832031 C 12.804688 6.195312 12.460938 5.71875 11.941406 5.414062 C 11.390625 5.09375 10.613281 5.035156 9.957031 5.257812 C 8.984375 5.589844 8.238281 6.476562 7.917969 7.6875 C 7.753906 8.300781 7.707031 8.949219 7.777344 9.605469 C 7.832031 10.121094 7.945312 10.589844 8.160156 11.152344 C 8.152344 11.179688 8.144531 11.203125 8.136719 11.230469 C 8.121094 11.277344 8.105469 11.328125 8.097656 11.371094 C 7.867188 12.328125 7.644531 13.269531 7.421875 14.210938 C 7.210938 15.105469 7 16 6.785156 16.902344 L 6.734375 17.105469 C 6.511719 18.023438 6.285156 18.972656 6.234375 20.109375 L 6.207031 20.582031 C 6.160156 21.464844 6.113281 22.375 6.234375 23.21875 C 6.257812 23.382812 6.308594 23.753906 6.671875 23.882812 C 6.78125 23.964844 6.882812 24 6.984375 24 C 7.289062 24 7.558594 23.6875 7.789062 23.425781 C 8.542969 22.574219 9.179688 21.496094 9.742188 20.132812 C 9.996094 19.523438 10.160156 18.867188 10.324219 18.230469 L 10.417969 17.851562 C 10.539062 17.402344 10.652344 16.941406 10.765625 16.488281 L 10.773438 16.460938 C 10.988281 16.644531 11.230469 16.8125 11.515625 16.96875 C 12.117188 17.300781 12.792969 17.496094 13.53125 17.542969 C 14.21875 17.589844 14.945312 17.503906 15.746094 17.273438 C 16.355469 17.101562 16.9375 16.835938 17.476562 16.488281 C 19.417969 15.246094 20.738281 13.074219 21.199219 10.371094 C 21.339844 9.5625 21.398438 8.914062 21.398438 8.199219 C 21.398438 7.375 21.300781 6.628906 21.105469 5.976562 Z M 20.257812 10.210938 C 19.839844 12.644531 18.667969 14.589844 16.960938 15.683594 C 16.496094 15.980469 16 16.207031 15.480469 16.355469 C 14.789062 16.554688 14.167969 16.628906 13.59375 16.589844 C 12.988281 16.550781 12.460938 16.402344 11.976562 16.132812 C 11.488281 15.867188 11.175781 15.578125 10.953125 15.195312 L 10.367188 14.183594 L 9.839844 16.257812 C 9.726562 16.707031 9.609375 17.164062 9.492188 17.613281 L 9.394531 17.996094 C 9.234375 18.628906 9.082031 19.222656 8.855469 19.769531 C 8.351562 20.992188 7.789062 21.957031 7.140625 22.71875 C 7.089844 22.070312 7.125 21.34375 7.164062 20.636719 L 7.1875 20.15625 C 7.238281 19.113281 7.453125 18.207031 7.664062 17.332031 L 7.714844 17.128906 C 7.929688 16.226562 8.140625 15.332031 8.351562 14.433594 C 8.574219 13.492188 8.796875 12.550781 9.027344 11.597656 C 9.035156 11.570312 9.042969 11.539062 9.054688 11.503906 C 9.109375 11.3125 9.171875 11.113281 9.089844 10.910156 C 8.882812 10.382812 8.777344 9.964844 8.726562 9.507812 C 8.671875 8.964844 8.707031 8.4375 8.839844 7.933594 C 9.078125 7.039062 9.597656 6.394531 10.265625 6.164062 C 10.433594 6.109375 10.605469 6.085938 10.773438 6.085938 C 11.042969 6.085938 11.296875 6.148438 11.457031 6.246094 C 11.75 6.414062 11.933594 6.683594 12.027344 7.0625 C 12.117188 7.425781 12.089844 7.921875 11.953125 8.542969 C 11.808594 9.191406 11.636719 9.742188 11.453125 10.320312 C 11.335938 10.695312 11.214844 11.074219 11.101562 11.492188 L 11.082031 11.566406 C 10.933594 12.09375 10.765625 12.695312 10.925781 13.355469 C 11.066406 13.953125 11.382812 14.417969 11.886719 14.78125 C 12.386719 15.140625 12.976562 15.300781 13.667969 15.277344 C 14.714844 15.242188 15.652344 14.707031 16.453125 13.6875 C 17.328125 12.570312 17.878906 11.074219 18.085938 9.238281 C 18.136719 8.769531 18.199219 8.0625 18.152344 7.34375 C 18.066406 6.136719 17.6875 5.101562 17.015625 4.277344 C 16.382812 3.496094 15.511719 2.914062 14.492188 2.585938 C 13.433594 2.246094 12.03125 2.160156 10.835938 2.359375 C 8.683594 2.722656 7.011719 3.902344 6 5.777344 C 5.445312 6.804688 5.175781 7.878906 5.175781 9.066406 C 5.175781 10.039062 5.410156 10.886719 5.878906 11.578125 C 5.941406 11.671875 6.019531 11.761719 6.097656 11.851562 C 6.167969 11.933594 6.238281 12.011719 6.277344 12.082031 C 6.308594 12.160156 6.222656 12.429688 6.183594 12.558594 C 6.160156 12.632812 6.140625 12.703125 6.121094 12.769531 C 6.101562 12.84375 6.085938 12.925781 6.066406 13.007812 C 6.050781 13.097656 6.019531 13.238281 5.992188 13.316406 C 5.875 13.269531 5.667969 13.15625 5.558594 13.074219 C 4.699219 12.433594 4.382812 12.019531 3.949219 10.976562 C 3.625 10.191406 3.464844 8.636719 3.625 7.839844 C 3.804688 6.941406 4.1875 5.804688 4.496094 5.246094 C 5.1875 3.992188 6.195312 2.976562 7.484375 2.230469 C 8.503906 1.636719 9.617188 1.261719 10.886719 1.078125 C 11.335938 1.015625 11.816406 0.988281 12.308594 0.964844 C 13.574219 0.90625 14.90625 1.152344 16.050781 1.652344 C 17.050781 2.089844 17.890625 2.683594 18.617188 3.46875 C 19.355469 4.253906 19.867188 5.164062 20.1875 6.25 C 20.355469 6.8125 20.441406 7.46875 20.441406 8.199219 C 20.441406 8.859375 20.382812 9.457031 20.257812 10.210938 Z M 20.257812 10.210938 "/>\n  </g>\n  </svg>\n  '}},83367:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPlayCircle:()=>y});const y={name:"play_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"/><path d="m10 8 6 4-6 4V8z"/></svg>'}},54074:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPlay:()=>y});const y={name:"play",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play"><path d="m5 3 14 9-14 9V3z"/></svg>'}},4557:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPlusCircle:()=>y});const y={name:"plus_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus-circle"><circle cx="12" cy="12" r="10"/><path d="M12 8v8M8 12h8"/></svg>'}},5324:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPlusSquare:()=>y});const y={name:"plus_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M12 8v8M8 12h8"/></svg>'}},67280:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPlus:()=>y});const y={name:"plus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><path d="M12 5v14M5 12h14"/></svg>'}},93118:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPocket:()=>y});const y={name:"pocket",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pocket"><path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z"/><path d="m8 10 4 4 4-4"/></svg>'}},15263:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPower:()=>y});const y={name:"power",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-power"><path d="M18.36 6.64a9 9 0 1 1-12.73 0M12 2v10"/></svg>'}},66080:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootPrinter:()=>y});const y={name:"printer",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-printer"><path d="M6 9V2h12v7M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"/><path d="M6 14h12v8H6z"/></svg>'}},28568:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootQuote:()=>y});const y={name:"quote",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" stroke="currentColor" viewBox="0 0 57 57" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <circle style="fill:#101840;" cx="18.5" cy="31.5" r="5.5"></circle> <path style="fill:#101840;" d="M18.5,38c-3.584,0-6.5-2.916-6.5-6.5s2.916-6.5,6.5-6.5s6.5,2.916,6.5,6.5S22.084,38,18.5,38z M18.5,27c-2.481,0-4.5,2.019-4.5,4.5s2.019,4.5,4.5,4.5s4.5-2.019,4.5-4.5S20.981,27,18.5,27z"></path> </g> <g> <circle style="fill:#101840;" cx="35.5" cy="31.5" r="5.5"></circle> <path style="fill:#101840;" d="M35.5,38c-3.584,0-6.5-2.916-6.5-6.5s2.916-6.5,6.5-6.5s6.5,2.916,6.5,6.5S39.084,38,35.5,38z M35.5,27c-2.481,0-4.5,2.019-4.5,4.5s2.019,4.5,4.5,4.5s4.5-2.019,4.5-4.5S37.981,27,35.5,27z"></path> </g> <path style="fill:#101840;" d="M13,32c-0.553,0-1-0.447-1-1c0-7.72,6.28-14,14-14c0.553,0,1,0.447,1,1s-0.447,1-1,1 c-6.617,0-12,5.383-12,12C14,31.553,13.553,32,13,32z"></path> <path style="fill:#101840;" d="M30,32c-0.553,0-1-0.447-1-1c0-7.72,6.28-14,14-14c0.553,0,1,0.447,1,1s-0.447,1-1,1 c-6.617,0-12,5.383-12,12C31,31.553,30.553,32,30,32z"></path> </g></svg>'}},82681:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRadio:()=>y});const y={name:"radio",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-radio"><circle cx="12" cy="12" r="2"/><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"/></svg>'}},12275:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRefreshCcw:()=>y});const y={name:"refresh_ccw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-ccw"><path d="M1 4v6h6M23 20v-6h-6"/><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4-4.64 4.36A9 9 0 0 1 3.51 15"/></svg>'}},58056:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRefreshCw:()=>y});const y={name:"refresh_cw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-cw"><path d="M23 4v6h-6M1 20v-6h6"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></svg>'}},67173:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRepeat:()=>y});const y={name:"repeat",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-repeat"><path d="m17 1 4 4-4 4"/><path d="M3 11V9a4 4 0 0 1 4-4h14M7 23l-4-4 4-4"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/></svg>'}},37313:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRewind:()=>y});const y={name:"rewind",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rewind"><path d="m11 19-9-7 9-7v14zM22 19l-9-7 9-7v14z"/></svg>'}},30523:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRotateCcw:()=>y});const y={name:"rotate_ccw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rotate-ccw"><path d="M1 4v6h6"/><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"/></svg>'}},29056:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRotateCw:()=>y});const y={name:"rotate_cw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rotate-cw"><path d="M23 4v6h-6"/><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"/></svg>'}},24984:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootRss:()=>y});const y={name:"rss",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1"/></svg>'}},30235:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSave:()=>y});const y={name:"save",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-save"><path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"/><path d="M17 21v-8H7v8M7 3v5h8"/></svg>'}},44905:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootScissors:()=>y});const y={name:"scissors",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-scissors"><circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12"/></svg>'}},1828:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSearch:()=>y});const y={name:"search",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>'}},91246:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSend:()=>y});const y={name:"send",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"><path d="M22 2 11 13M22 2l-7 20-4-9-9-4 20-7z"/></svg>'}},91805:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootServer:()=>y});const y={name:"server",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-server"><rect x="2" y="2" width="20" height="8" rx="2" ry="2"/><rect x="2" y="14" width="20" height="8" rx="2" ry="2"/><path d="M6 6h.01M6 18h.01"/></svg>'}},46323:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSettings:()=>y});const y={name:"settings",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>'}},89668:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShare2:()=>y});const y={name:"share_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share-2"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98"/></svg>'}},14593:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShare:()=>y});const y={name:"share",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share"><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13"/></svg>'}},64287:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShieldOff:()=>y});const y={name:"shield_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shield-off"><path d="M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18M4.73 4.73 4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38M1 1l22 22"/></svg>'}},72971:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShield:()=>y});const y={name:"shield",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shield"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>'}},76069:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShoppingBag:()=>y});const y={name:"shopping_bag",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-bag"><path d="M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4zM3 6h18"/><path d="M16 10a4 4 0 0 1-8 0"/></svg>'}},82911:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShoppingCart:()=>y});const y={name:"shopping_cart",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-cart"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>'}},30263:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootShuffle:()=>y});const y={name:"shuffle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shuffle"><path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/></svg>'}},56152:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSidebar:()=>y});const y={name:"sidebar",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sidebar"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M9 3v18"/></svg>'}},6131:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSkipBack:()=>y});const y={name:"skip_back",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-skip-back"><path d="M19 20 9 12l10-8v16zM5 19V5"/></svg>'}},73785:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSkipForward:()=>y});const y={name:"skip_forward",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-skip-forward"><path d="m5 4 10 8-10 8V4zM19 5v14"/></svg>'}},60180:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSlack:()=>y});const y={name:"slack",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-slack"><path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5zM20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5zM3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14zM14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5zM15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5zM8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"/></svg>'}},49603:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSlash:()=>y});const y={name:"slash",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-slash"><circle cx="12" cy="12" r="10"/><path d="m4.93 4.93 14.14 14.14"/></svg>'}},40306:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSliders:()=>y});const y={name:"sliders",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sliders"><path d="M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"/></svg>'}},20797:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSmartphone:()=>y});const y={name:"smartphone",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-smartphone"><rect x="5" y="2" width="14" height="20" rx="2" ry="2"/><path d="M12 18h.01"/></svg>'}},84888:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSmile:()=>y});const y={name:"smile",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-smile"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></svg>'}},3044:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSoundcloud:()=>y});const y={name:"soundcloud",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 14.848958 9.901042 L 14.848958 22.197917 C 14.848958 22.75 15.296875 23.197917 15.848958 23.197917 L 26.401042 23.197917 C 28.28125 22.708333 29.588542 20.989583 29.552083 19.046875 C 29.520833 17.098958 28.161458 15.427083 26.260417 15 L 24 15 C 24.026042 11.65625 21.34375 8.927083 18 8.901042 L 15.848958 8.901042 C 15.296875 8.901042 14.848958 9.348958 14.848958 9.901042 Z M 14.848958 9.901042 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 10.890625 8.901042 L 10.890625 23.197917 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 6.932292 12.8125 L 6.932292 23.458333 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 2.75 16.770833 L 2.75 23.197917 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  </g>\n  </svg>'}},45943:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSpeaker:()=>y});const y={name:"speaker",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-speaker"><rect x="4" y="2" width="16" height="20" rx="2" ry="2"/><circle cx="12" cy="14" r="4"/><path d="M12 6h.01"/></svg>'}},69026:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSpotify:()=>y});const y={name:"spotify",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12 0 C 5.398438 0 0 5.398438 0 12 C 0 18.601562 5.398438 24 12 24 C 18.601562 24 24 18.601562 24 12 C 24 5.398438 18.660156 0 12 0 Z M 17.519531 17.339844 C 17.28125 17.699219 16.859375 17.820312 16.5 17.578125 C 13.679688 15.839844 10.140625 15.480469 5.9375 16.4375 C 5.519531 16.5625 5.160156 16.261719 5.039062 15.898438 C 4.921875 15.480469 5.21875 15.121094 5.578125 15 C 10.140625 13.980469 14.101562 14.398438 17.21875 16.320312 C 17.640625 16.5 17.699219 16.980469 17.519531 17.339844 Z M 18.960938 14.039062 C 18.660156 14.460938 18.121094 14.640625 17.699219 14.339844 C 14.460938 12.359375 9.539062 11.761719 5.761719 12.960938 C 5.28125 13.078125 4.738281 12.839844 4.621094 12.359375 C 4.5 11.878906 4.738281 11.339844 5.21875 11.21875 C 9.601562 9.898438 15 10.5625 18.71875 12.839844 C 19.082031 13.019531 19.261719 13.621094 18.960938 14.039062 Z M 19.082031 10.679688 C 15.238281 8.398438 8.820312 8.160156 5.160156 9.300781 C 4.558594 9.480469 3.960938 9.121094 3.78125 8.578125 C 3.601562 7.980469 3.960938 7.378906 4.5 7.199219 C 8.761719 5.9375 15.78125 6.179688 20.222656 8.820312 C 20.761719 9.121094 20.941406 9.839844 20.640625 10.378906 C 20.339844 10.800781 19.621094 10.980469 19.082031 10.679688 Z M 19.082031 10.679688 "/>\n  </g>\n  </svg>\n'}},59449:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSquare:()=>y});const y={name:"square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/></svg>'}},80388:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootStar:()=>y});const y={name:"star",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star"><path d="m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>'}},1121:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootStopCircle:()=>y});const y={name:"stop_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-stop-circle"><circle cx="12" cy="12" r="10"/><path d="M9 9h6v6H9z"/></svg>'}},76594:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSun:()=>y});const y={name:"sun",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"/></svg>'}},96897:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSunrise:()=>y});const y={name:"sunrise",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sunrise"><path d="M17 18a5 5 0 0 0-10 0M12 2v7M4.22 10.22l1.42 1.42M1 18h2M21 18h2M18.36 11.64l1.42-1.42M23 22H1M8 6l4-4 4 4"/></svg>'}},76186:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootSunset:()=>y});const y={name:"sunset",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sunset"><path d="M17 18a5 5 0 0 0-10 0M12 9V2M4.22 10.22l1.42 1.42M1 18h2M21 18h2M18.36 11.64l1.42-1.42M23 22H1M16 5l-4 4-4-4"/></svg>'}},7968:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTablet:()=>y});const y={name:"tablet",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tablet"><rect x="4" y="2" width="16" height="20" rx="2" ry="2"/><path d="M12 18h.01"/></svg>'}},78100:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTag:()=>y});const y={name:"tag",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="m20.59 13.41-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82zM7 7h.01"/></svg>'}},34895:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTarget:()=>y});const y={name:"target",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-target"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>'}},21588:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTerminal:()=>y});const y={name:"terminal",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-terminal"><path d="m4 17 6-6-6-6M12 19h8"/></svg>'}},72968:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootThermometer:()=>y});const y={name:"thermometer",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thermometer"><path d="M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z"/></svg>'}},95307:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootThreads:()=>y});const y={name:"threads",data:'<svg width="21" height="24" viewBox="0 0 21 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M16.0671 11.1235C15.9638 11.074 15.8587 11.0263 15.7524 10.9806C15.5671 7.56728 13.702 5.61312 10.5702 5.59312C10.556 5.59304 10.5419 5.59304 10.5278 5.59304C8.65455 5.59304 7.09664 6.39261 6.13775 7.84759L7.86012 9.0291C8.57645 7.94229 9.70065 7.7106 10.5286 7.7106C10.5381 7.7106 10.5477 7.7106 10.5572 7.71069C11.5884 7.71726 12.3665 8.01708 12.8701 8.60175C13.2366 9.02741 13.4817 9.61563 13.6031 10.358C12.6889 10.2026 11.7001 10.1548 10.6431 10.2154C7.66559 10.3869 5.75139 12.1235 5.87995 14.5365C5.94519 15.7605 6.55496 16.8135 7.59688 17.5014C8.4778 18.0829 9.61237 18.3673 10.7915 18.3029C12.3487 18.2175 13.5704 17.6234 14.4226 16.537C15.0699 15.712 15.4792 14.6429 15.66 13.2957C16.4021 13.7436 16.9521 14.333 17.2559 15.0415C17.7724 16.2459 17.8025 18.225 16.1876 19.8385C14.7728 21.252 13.072 21.8635 10.5017 21.8824C7.65052 21.8613 5.49422 20.9469 4.09226 19.1646C2.77944 17.4958 2.10096 15.0852 2.07565 12C2.10096 8.91473 2.77944 6.5042 4.09226 4.83534C5.49422 3.05311 7.65049 2.13875 10.5016 2.11756C13.3735 2.13891 15.5674 3.05767 17.023 4.8485C17.7368 5.7267 18.2749 6.8311 18.6296 8.11879L20.648 7.58028C20.218 5.99528 19.5414 4.62946 18.6206 3.49675C16.7545 1.20084 14.0253 0.0243935 10.5087 0H10.4946C6.9852 0.0243088 4.28651 1.20522 2.47354 3.50991C0.860237 5.5608 0.02805 8.41446 8.74996e-05 11.9916L0 12L8.74996e-05 12.0084C0.02805 15.5855 0.860237 18.4393 2.47354 20.4901C4.28651 22.7948 6.9852 23.9757 10.4946 24H10.5087C13.6288 23.9784 15.828 23.1615 17.6397 21.3514C20.0101 18.9833 19.9387 16.0149 19.1575 14.1926C18.597 12.8859 17.5284 11.8245 16.0671 11.1235ZM10.6801 16.1884C9.37506 16.2619 8.0193 15.6761 7.95245 14.4215C7.9029 13.4913 8.61448 12.4533 10.7601 12.3296C11.0059 12.3154 11.247 12.3085 11.4839 12.3085C12.2633 12.3085 12.9924 12.3842 13.6552 12.5291C13.408 15.6169 11.9577 16.1183 10.6801 16.1884Z" fill="currentColor"/>\n    </svg>'}},63612:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootThumbsDown:()=>y});const y={name:"thumbs_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"/></svg>'}},58675:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootThumbsUp:()=>y});const y={name:"thumbs_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"/></svg>'}},87110:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTiktok:()=>y});const y={name:"tiktok",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" fill="currentColor" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12.53125 0.0195312 C 13.839844 0 15.140625 0.0117188 16.441406 0 C 16.519531 1.53125 17.070312 3.089844 18.191406 4.171875 C 19.308594 5.28125 20.890625 5.789062 22.429688 5.960938 L 22.429688 9.988281 C 20.988281 9.941406 19.539062 9.640625 18.230469 9.019531 C 17.660156 8.761719 17.128906 8.429688 16.609375 8.089844 C 16.601562 11.011719 16.621094 13.929688 16.589844 16.839844 C 16.511719 18.238281 16.050781 19.628906 15.238281 20.78125 C 13.929688 22.699219 11.660156 23.949219 9.328125 23.988281 C 7.898438 24.070312 6.46875 23.679688 5.25 22.960938 C 3.230469 21.769531 1.808594 19.589844 1.601562 17.25 C 1.578125 16.75 1.570312 16.25 1.589844 15.761719 C 1.769531 13.859375 2.710938 12.039062 4.171875 10.800781 C 5.828125 9.359375 8.148438 8.671875 10.320312 9.078125 C 10.339844 10.558594 10.28125 12.039062 10.28125 13.519531 C 9.289062 13.199219 8.128906 13.289062 7.261719 13.890625 C 6.628906 14.300781 6.148438 14.929688 5.898438 15.640625 C 5.691406 16.148438 5.75 16.710938 5.761719 17.25 C 6 18.890625 7.578125 20.269531 9.261719 20.121094 C 10.378906 20.109375 11.449219 19.460938 12.03125 18.511719 C 12.21875 18.179688 12.429688 17.839844 12.441406 17.449219 C 12.539062 15.660156 12.5 13.878906 12.511719 12.089844 C 12.519531 8.058594 12.5 4.039062 12.53125 0.0195312 Z M 12.53125 0.0195312 "/>\n  </g>\n  </svg>\n  \n'}},10334:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootToggleLeft:()=>y});const y={name:"toggle_left",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-toggle-left"><rect x="1" y="5" width="22" height="14" rx="7" ry="7"/><circle cx="8" cy="12" r="3"/></svg>'}},57373:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootToggleRight:()=>y});const y={name:"toggle_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-toggle-right"><rect x="1" y="5" width="22" height="14" rx="7" ry="7"/><circle cx="16" cy="12" r="3"/></svg>'}},98426:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTool:()=>y});const y={name:"tool",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tool"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>'}},79747:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTrash2:()=>y});const y={name:"trash_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash-2"><path d="M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M10 11v6M14 11v6"/></svg>'}},96454:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTrash:()=>y});const y={name:"trash",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash"><path d="M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>'}},62526:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTrello:()=>y});const y={name:"trello",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trello"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="M7 7h3v9H7zM14 7h3v5h-3z"/></svg>'}},51556:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTrendingDown:()=>y});const y={name:"trending_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trending-down"><path d="m23 18-9.5-9.5-5 5L1 6"/><path d="M17 18h6v-6"/></svg>'}},12027:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTrendingUp:()=>y});const y={name:"trending_up",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trending-up"><path d="m23 6-9.5 9.5-5-5L1 18"/><path d="M17 6h6v6"/></svg>'}},25252:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTriangle:()=>y});const y={name:"triangle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-triangle"><path d="M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/></svg>'}},98229:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTruck:()=>y});const y={name:"truck",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-truck"><path d="M1 3h15v13H1zM16 8h4l3 3v5h-7V8z"/><circle cx="5.5" cy="18.5" r="2.5"/><circle cx="18.5" cy="18.5" r="2.5"/></svg>'}},73994:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTv:()=>y});const y={name:"tv",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tv"><rect x="2" y="7" width="20" height="15" rx="2" ry="2"/><path d="m17 2-5 5-5-5"/></svg>'}},13209:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTwitch:()=>y});const y={name:"twitch",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-twitch"><path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"/></svg>'}},18381:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootTwitter:()=>y});const y={name:"twitter",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"/></svg>'}},95852:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootType:()=>y});const y={name:"type",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-type"><path d="M4 7V4h16v3M9 20h6M12 4v16"/></svg>'}},75024:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUmbrella:()=>y});const y={name:"umbrella",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-umbrella"><path d="M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7"/></svg>'}},20256:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUnderline:()=>y});const y={name:"underline",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-underline"><path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3M4 21h16"/></svg>'}},15912:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUnlock:()=>y});const y={name:"unlock",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-unlock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></svg>'}},34807:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUploadCloud:()=>y});const y={name:"upload_cloud",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload-cloud"><path d="m16 16-4-4-4 4M12 12v9"/><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"/><path d="m16 16-4-4-4 4"/></svg>'}},30243:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUpload:()=>y});const y={name:"upload",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12"/></svg>'}},72734:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUserCheck:()=>y});const y={name:"user_check",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-check"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><path d="m17 11 2 2 4-4"/></svg>'}},20830:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUserMinus:()=>y});const y={name:"user_minus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-minus"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><path d="M23 11h-6"/></svg>'}},50758:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUserPlus:()=>y});const y={name:"user_plus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-plus"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><path d="M20 8v6M23 11h-6"/></svg>'}},5310:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUserX:()=>y});const y={name:"user_x",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-x"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><path d="m18 8 5 5M23 8l-5 5"/></svg>'}},89677:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUser:()=>y});const y={name:"user",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>'}},76124:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootUsers:()=>y});const y={name:"users",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"/></svg>'}},20823:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVenmo:()=>y});const y={name:"venmo",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 20.820312 1.5 L 3.292969 1.5 C 2.335938 1.5 1.5 2.1875 1.5 3.136719 L 1.5 20.699219 C 1.5 21.652344 2.335938 22.5 3.292969 22.5 L 20.816406 22.5 C 21.777344 22.5 22.5 21.648438 22.5 20.699219 L 22.5 3.136719 C 22.503906 2.1875 21.777344 1.5 20.820312 1.5 Z M 13.03125 18.140625 L 8.171875 18.140625 L 6.222656 6.488281 L 10.476562 6.085938 L 11.507812 14.375 C 12.46875 12.808594 13.660156 10.34375 13.660156 8.664062 C 13.660156 7.742188 13.5 7.117188 13.253906 6.601562 L 17.128906 5.816406 C 17.578125 6.558594 17.777344 7.316406 17.777344 8.28125 C 17.777344 11.351562 15.15625 15.339844 13.03125 18.140625 Z M 13.03125 18.140625 "/>\n  </g>\n  </svg>'}},10713:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVideoOff:()=>y});const y={name:"video_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video-off"><path d="M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10M1 1l22 22"/></svg>'}},54481:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVideo:()=>y});const y={name:"video",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video"><path d="m23 7-7 5 7 5V7z"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg>'}},2071:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVoicemail:()=>y});const y={name:"voicemail",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-voicemail"><circle cx="5.5" cy="11.5" r="4.5"/><circle cx="18.5" cy="11.5" r="4.5"/><path d="M5.5 16h13"/></svg>'}},31400:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVolume1:()=>y});const y={name:"volume_1",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-1"><path d="M11 5 6 9H2v6h4l5 4V5zM15.54 8.46a5 5 0 0 1 0 7.07"/></svg>'}},70983:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVolume2:()=>y});const y={name:"volume_2",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-2"><path d="M11 5 6 9H2v6h4l5 4V5zM19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"/></svg>'}},2225:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVolumeX:()=>y});const y={name:"volume_x",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-x"><path d="M11 5 6 9H2v6h4l5 4V5zM23 9l-6 6M17 9l6 6"/></svg>'}},45586:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootVolume:()=>y});const y={name:"volume",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume"><path d="M11 5 6 9H2v6h4l5 4V5z"/></svg>'}},23633:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootWatch:()=>y});const y={name:"watch",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-watch"><circle cx="12" cy="12" r="7"/><path d="M12 9v3l1.5 1.5M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"/></svg>'}},19419:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootWebsite:()=>y});const y={name:"website",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 11.25 1.617188 C 10.246094 1.921875 9.246094 2.84375 8.417969 4.398438 C 8.148438 4.914062 7.910156 5.449219 7.71875 6 L 11.25 6 Z M 6.136719 6 C 6.386719 5.203125 6.707031 4.429688 7.09375 3.691406 C 7.355469 3.199219 7.652344 2.734375 7.992188 2.292969 C 6.132812 3.0625 4.53125 4.347656 3.382812 6 Z M 5.261719 11.25 C 5.308594 9.933594 5.46875 8.671875 5.730469 7.5 L 2.511719 7.5 C 1.953125 8.675781 1.617188 9.949219 1.527344 11.25 Z M 7.269531 7.5 C 6.976562 8.730469 6.804688 9.984375 6.761719 11.25 L 11.25 11.25 L 11.25 7.5 Z M 12.75 7.5 L 12.75 11.25 L 17.234375 11.25 C 17.195312 9.984375 17.023438 8.730469 16.730469 7.5 Z M 6.765625 12.75 C 6.804688 14.015625 6.976562 15.269531 7.269531 16.5 L 11.25 16.5 L 11.25 12.75 Z M 12.75 12.75 L 12.75 16.5 L 16.730469 16.5 C 17.011719 15.351562 17.1875 14.089844 17.238281 12.75 Z M 7.71875 18 C 7.925781 18.578125 8.160156 19.117188 8.417969 19.601562 C 9.246094 21.15625 10.246094 22.078125 11.25 22.382812 L 11.25 18 Z M 7.992188 21.707031 C 7.652344 21.265625 7.355469 20.800781 7.09375 20.308594 C 6.707031 19.570312 6.386719 18.796875 6.136719 18 L 3.382812 18 C 4.53125 19.652344 6.132812 20.9375 7.992188 21.707031 Z M 5.730469 16.5 C 5.457031 15.265625 5.300781 14.011719 5.261719 12.75 L 1.527344 12.75 C 1.621094 14.085938 1.964844 15.347656 2.511719 16.5 Z M 16.007812 21.707031 C 17.867188 20.9375 19.46875 19.652344 20.617188 18 L 17.863281 18 C 17.613281 18.796875 17.292969 19.570312 16.90625 20.308594 C 16.644531 20.800781 16.347656 21.265625 16.007812 21.707031 Z M 12.75 18 L 12.75 22.382812 C 13.753906 22.078125 14.753906 21.15625 15.582031 19.601562 C 15.839844 19.117188 16.074219 18.578125 16.28125 18 Z M 18.269531 16.5 L 21.488281 16.5 C 22.035156 15.347656 22.378906 14.085938 22.472656 12.75 L 18.738281 12.75 C 18.699219 14.011719 18.542969 15.265625 18.269531 16.5 Z M 22.472656 11.25 C 22.382812 9.949219 22.046875 8.675781 21.488281 7.5 L 18.269531 7.5 C 18.53125 8.671875 18.691406 9.933594 18.738281 11.25 Z M 16.90625 3.691406 C 17.277344 4.386719 17.597656 5.160156 17.863281 6 L 20.617188 6 C 19.46875 4.347656 17.867188 3.0625 16.007812 2.292969 C 16.335938 2.71875 16.636719 3.1875 16.90625 3.691406 Z M 16.28125 6 C 16.089844 5.449219 15.851562 4.914062 15.582031 4.398438 C 14.753906 2.84375 13.753906 1.921875 12.75 1.617188 L 12.75 6 Z M 16.28125 6 "/>\n  </g>\n  </svg>'}},80655:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootWifiOff:()=>y});const y={name:"wifi_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-wifi-off"><path d="m1 1 22 22M16.72 11.06A10.94 10.94 0 0 1 19 12.55M5 12.55a10.94 10.94 0 0 1 5.17-2.39M10.71 5.05A16 16 0 0 1 22.58 9M1.42 9a15.91 15.91 0 0 1 4.7-2.88M8.53 16.11a6 6 0 0 1 6.95 0M12 20h.01"/></svg>'}},95195:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootWifi:()=>y});const y={name:"wifi",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-wifi"><path d="M5 12.55a11 11 0 0 1 14.08 0M1.42 9a16 16 0 0 1 21.16 0M8.53 16.11a6 6 0 0 1 6.95 0M12 20h.01"/></svg>'}},99982:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootWind:()=>y});const y={name:"wind",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-wind"><path d="M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2"/></svg>'}},80741:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootXCircle:()=>y});const y={name:"x_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6M9 9l6 6"/></svg>'}},18474:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootXOctagon:()=>y});const y={name:"x_octagon",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-octagon"><path d="M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86L7.86 2zM15 9l-6 6M9 9l6 6"/></svg>'}},43024:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootXSocial:()=>y});const y={name:"x_social",data:'<svg width="25" height="23" viewBox="0 0 25 23" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M0.94859 0.251404L10.2147 12.6411L0.890076 22.7144H2.98868L11.1524 13.8951L17.7484 22.7144H24.8901L15.1026 9.62785L23.7819 0.251404H21.6833L14.1649 8.37387L8.09022 0.251404H0.94859ZM4.03474 1.79724H7.31562L21.8034 21.1684H18.5226L4.03474 1.79724Z" fill="currentColor"/>\n    </svg>'}},71460:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootXSquare:()=>y});const y={name:"x_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-square"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><path d="m9 9 6 6M15 9l-6 6"/></svg>'}},76680:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootX:()=>y});const y={name:"x",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><path d="M18 6 6 18M6 6l12 12"/></svg>'}},54675:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootYoutube:()=>y});const y={name:"youtube",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-youtube"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"/><path d="m9.75 15.02 5.75-3.27-5.75-3.27v6.54z"/></svg>'}},57093:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootZapFill:()=>y});const y={name:"zap_fill",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-zap"><path d="M13 2 3 14h9l-1 8 10-12h-9l1-8z"/></svg>'}},40721:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootZapOff:()=>y});const y={name:"zap_off",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zap-off"><path d="M12.41 6.75 13 2l-2.43 2.92M18.57 12.91 21 10h-5.34M8 8l-5 6h9l-1 8 5-6M1 1l22 22"/></svg>'}},74838:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootZap:()=>y});const y={name:"zap",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zap"><path d="M13 2 3 14h9l-1 8 10-12h-9l1-8z"/></svg>'}},82351:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootZoomIn:()=>y});const y={name:"zoom_in",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zoom-in"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>'}},17390:(De,A,C)=>{"use strict";C.r(A),C.d(A,{rootZoomOut:()=>y});const y={name:"zoom_out",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zoom-out"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>'}},44912:(De,A,C)=>{"use strict";C.d(A,{_:()=>y});var y=function($){return $[$.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",$[$.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",$[$.CLASS_TO_CLASS=2]="CLASS_TO_CLASS",$}(y||{})},54626:(De,A,C)=>{"use strict";C.d(A,{uK:()=>ht,fL:()=>de,om:()=>Ee,bj:()=>qe});var y=C(75314),$=C(44912);class ae{constructor(B,Te){this.transformationType=B,this.options=Te,this.recursionStack=new Set}transform(B,Te,be,Pe,et,z=0){if(Array.isArray(Te)||Te instanceof Set){const X=Pe&&this.transformationType===$._.PLAIN_TO_CLASS?function L(ze){const B=new ze;return B instanceof Set||"push"in B?B:[]}(Pe):[];return Te.forEach((P,rt)=>{const Ue=B?B[rt]:void 0;if(this.options.enableCircularCheck&&this.isCircular(P))this.transformationType===$._.CLASS_TO_CLASS&&(X instanceof Set?X.add(P):X.push(P));else{let zt;if("function"!=typeof be&&be&&be.options&&be.options.discriminator&&be.options.discriminator.property&&be.options.discriminator.subTypes){if(this.transformationType===$._.PLAIN_TO_CLASS){zt=be.options.discriminator.subTypes.find(Ke=>Ke.name===P[be.options.discriminator.property]);const mt=be.typeFunction({newObject:X,object:P,property:void 0});zt=void 0===zt?mt:zt.value,be.options.keepDiscriminatorProperty||delete P[be.options.discriminator.property]}this.transformationType===$._.CLASS_TO_CLASS&&(zt=P.constructor),this.transformationType===$._.CLASS_TO_PLAIN&&(P[be.options.discriminator.property]=be.options.discriminator.subTypes.find(Mt=>Mt.value===P.constructor).name)}else zt=be;const sn=this.transform(Ue,P,zt,void 0,P instanceof Map,z+1);X instanceof Set?X.add(sn):X.push(sn)}}),X}if(be===String&&!et)return null==Te?Te:String(Te);if(be===Number&&!et)return null==Te?Te:Number(Te);if(be===Boolean&&!et)return null==Te?Te:!!Te;if((be===Date||Te instanceof Date)&&!et)return Te instanceof Date?new Date(Te.valueOf()):null==Te?Te:new Date(Te);if(function n(){return typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:void 0}().Buffer&&(be===Buffer||Te instanceof Buffer)&&!et)return null==Te?Te:Buffer.from(Te);if(function a(ze){return null!==ze&&"object"==typeof ze&&"function"==typeof ze.then}(Te)&&!et)return new Promise((X,P)=>{Te.then(rt=>X(this.transform(void 0,rt,be,void 0,void 0,z+1)),P)});if(!et&&null!==Te&&"object"==typeof Te&&"function"==typeof Te.then)return Te;if("object"==typeof Te&&null!==Te){!be&&Te.constructor!==Object&&(!Array.isArray(Te)&&Te.constructor===Array||(be=Te.constructor)),!be&&B&&(be=B.constructor),this.options.enableCircularCheck&&this.recursionStack.add(Te);const X=this.getKeys(be,Te,et);let P=B||{};!B&&(this.transformationType===$._.PLAIN_TO_CLASS||this.transformationType===$._.CLASS_TO_CLASS)&&(P=et?new Map:be?new be:{});for(const rt of X){if("__proto__"===rt||"constructor"===rt)continue;const Ue=rt;let Mt,zt=rt,sn=rt;if(!this.options.ignoreDecorators&&be)if(this.transformationType===$._.PLAIN_TO_CLASS){const Rt=y.s.findExposeMetadataByCustomName(be,rt);Rt&&(sn=Rt.propertyName,zt=Rt.propertyName)}else if(this.transformationType===$._.CLASS_TO_PLAIN||this.transformationType===$._.CLASS_TO_CLASS){const Rt=y.s.findExposeMetadata(be,rt);Rt&&Rt.options&&Rt.options.name&&(zt=Rt.options.name)}Mt=this.transformationType===$._.PLAIN_TO_CLASS?Te[Ue]:Te instanceof Map?Te.get(Ue):Te[Ue]instanceof Function?Te[Ue]():Te[Ue];let mt,Ke=Mt instanceof Map;if(be&&et)mt=be;else if(be){const Rt=y.s.findTypeMetadata(be,sn);if(Rt){const _n=Rt.typeFunction?Rt.typeFunction({newObject:P,object:Te,property:sn}):Rt.reflectedType;Rt.options&&Rt.options.discriminator&&Rt.options.discriminator.property&&Rt.options.discriminator.subTypes?Te[Ue]instanceof Array?mt=Rt:(this.transformationType===$._.PLAIN_TO_CLASS&&(mt=Rt.options.discriminator.subTypes.find(oi=>{if(Mt&&Mt instanceof Object&&Rt.options.discriminator.property in Mt)return oi.name===Mt[Rt.options.discriminator.property]}),mt=void 0===mt?_n:mt.value,Rt.options.keepDiscriminatorProperty||Mt&&Mt instanceof Object&&Rt.options.discriminator.property in Mt&&delete Mt[Rt.options.discriminator.property]),this.transformationType===$._.CLASS_TO_CLASS&&(mt=Mt.constructor),this.transformationType===$._.CLASS_TO_PLAIN&&Mt&&(Mt[Rt.options.discriminator.property]=Rt.options.discriminator.subTypes.find(oi=>oi.value===Mt.constructor).name)):mt=_n,Ke=Ke||Rt.reflectedType===Map}else if(this.options.targetMaps)this.options.targetMaps.filter(Vt=>Vt.target===be&&!!Vt.properties[sn]).forEach(Vt=>mt=Vt.properties[sn]);else if(this.options.enableImplicitConversion&&this.transformationType===$._.PLAIN_TO_CLASS){const Vt=Reflect.getMetadata("design:type",be.prototype,sn);Vt&&(mt=Vt)}}const Xe=Array.isArray(Te[Ue])?this.getReflectedType(be,sn):void 0,yt=B?B[Ue]:void 0;if(P.constructor.prototype){const Rt=Object.getOwnPropertyDescriptor(P.constructor.prototype,zt);if((this.transformationType===$._.PLAIN_TO_CLASS||this.transformationType===$._.CLASS_TO_CLASS)&&(Rt&&!Rt.set||P[zt]instanceof Function))continue}if(this.options.enableCircularCheck&&this.isCircular(Mt)){if(this.transformationType===$._.CLASS_TO_CLASS){let Rt=Mt;Rt=this.applyCustomTransformations(Rt,be,rt,Te,this.transformationType),(void 0!==Rt||this.options.exposeUnsetFields)&&(P instanceof Map?P.set(zt,Rt):P[zt]=Rt)}}else{const Rt=this.transformationType===$._.PLAIN_TO_CLASS?zt:rt;let Vt;this.transformationType===$._.CLASS_TO_PLAIN?(Vt=Te[Rt],Vt=this.applyCustomTransformations(Vt,be,Rt,Te,this.transformationType),Vt=Te[Rt]===Vt?Mt:Vt,Vt=this.transform(yt,Vt,mt,Xe,Ke,z+1)):void 0===Mt&&this.options.exposeDefaultValues?Vt=P[zt]:(Vt=this.transform(yt,Mt,mt,Xe,Ke,z+1),Vt=this.applyCustomTransformations(Vt,be,Rt,Te,this.transformationType)),(void 0!==Vt||this.options.exposeUnsetFields)&&(P instanceof Map?P.set(zt,Vt):P[zt]=Vt)}}return this.options.enableCircularCheck&&this.recursionStack.delete(Te),P}return Te}applyCustomTransformations(B,Te,be,Pe,et){let z=y.s.findTransformMetadatas(Te,be,this.transformationType);return void 0!==this.options.version&&(z=z.filter(X=>!X.options||this.checkVersion(X.options.since,X.options.until))),z=z.filter(this.options.groups&&this.options.groups.length?X=>!X.options||this.checkGroups(X.options.groups):X=>!X.options||!X.options.groups||!X.options.groups.length),z.forEach(X=>{B=X.transformFn({value:B,key:be,obj:Pe,type:et,options:this.options})}),B}isCircular(B){return this.recursionStack.has(B)}getReflectedType(B,Te){if(!B)return;const be=y.s.findTypeMetadata(B,Te);return be?be.reflectedType:void 0}getKeys(B,Te,be){let Pe=y.s.getStrategy(B);"none"===Pe&&(Pe=this.options.strategy||"exposeAll");let et=[];if(("exposeAll"===Pe||be)&&(et=Te instanceof Map?Array.from(Te.keys()):Object.keys(Te)),be)return et;if(this.options.ignoreDecorators&&this.options.excludeExtraneousValues&&B&&(et=[...y.s.getExposedProperties(B,this.transformationType),...y.s.getExcludedProperties(B,this.transformationType)]),!this.options.ignoreDecorators&&B){let z=y.s.getExposedProperties(B,this.transformationType);this.transformationType===$._.PLAIN_TO_CLASS&&(z=z.map(P=>{const rt=y.s.findExposeMetadata(B,P);return rt&&rt.options&&rt.options.name?rt.options.name:P})),et=this.options.excludeExtraneousValues?z:et.concat(z);const X=y.s.getExcludedProperties(B,this.transformationType);X.length>0&&(et=et.filter(P=>!X.includes(P))),void 0!==this.options.version&&(et=et.filter(P=>{const rt=y.s.findExposeMetadata(B,P);return!rt||!rt.options||this.checkVersion(rt.options.since,rt.options.until)})),et=et.filter(this.options.groups&&this.options.groups.length?P=>{const rt=y.s.findExposeMetadata(B,P);return!rt||!rt.options||this.checkGroups(rt.options.groups)}:P=>{const rt=y.s.findExposeMetadata(B,P);return!(rt&&rt.options&&rt.options.groups&&rt.options.groups.length)})}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(et=et.filter(z=>this.options.excludePrefixes.every(X=>z.substr(0,X.length)!==X))),et=et.filter((z,X,P)=>P.indexOf(z)===X),et}checkVersion(B,Te){let be=!0;return be&&B&&(be=this.options.version>=B),be&&Te&&(be=this.options.version<Te),be}checkGroups(B){return!B||this.options.groups.some(Te=>B.includes(Te))}}const K={enableCircularCheck:!1,enableImplicitConversion:!1,excludeExtraneousValues:!1,excludePrefixes:void 0,exposeDefaultValues:!1,exposeUnsetFields:!0,groups:void 0,ignoreDecorators:!1,strategy:void 0,targetMaps:void 0,version:void 0},fe=new class se{instanceToPlain(B,Te){return new ae($._.CLASS_TO_PLAIN,{...K,...Te}).transform(void 0,B,void 0,void 0,void 0,void 0)}classToPlainFromExist(B,Te,be){return new ae($._.CLASS_TO_PLAIN,{...K,...be}).transform(Te,B,void 0,void 0,void 0,void 0)}plainToInstance(B,Te,be){return new ae($._.PLAIN_TO_CLASS,{...K,...be}).transform(void 0,Te,B,void 0,void 0,void 0)}plainToClassFromExist(B,Te,be){return new ae($._.PLAIN_TO_CLASS,{...K,...be}).transform(B,Te,void 0,void 0,void 0,void 0)}instanceToInstance(B,Te){return new ae($._.CLASS_TO_CLASS,{...K,...Te}).transform(void 0,B,void 0,void 0,void 0,void 0)}classToClassFromExist(B,Te,be){return new ae($._.CLASS_TO_CLASS,{...K,...be}).transform(Te,B,void 0,void 0,void 0,void 0)}serialize(B,Te){return JSON.stringify(this.instanceToPlain(B,Te))}deserialize(B,Te,be){const Pe=JSON.parse(Te);return this.plainToInstance(B,Pe,be)}deserializeArray(B,Te,be){const Pe=JSON.parse(Te);return this.plainToInstance(B,Pe,be)}};function de(ze,B){return fe.instanceToPlain(ze,B)}function Ee(ze,B,Te){return fe.plainToInstance(ze,B,Te)}function qe(ze,B,Te){return fe.plainToInstance(ze,B,Te)}function ht(ze,B){return fe.instanceToInstance(ze,B)}},75314:(De,A,C)=>{"use strict";C.d(A,{s:()=>n});var y=C(44912);const n=new class ${constructor(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}addTypeMetadata(L){this._typeMetadatas.has(L.target)||this._typeMetadatas.set(L.target,new Map),this._typeMetadatas.get(L.target).set(L.propertyName,L)}addTransformMetadata(L){this._transformMetadatas.has(L.target)||this._transformMetadatas.set(L.target,new Map),this._transformMetadatas.get(L.target).has(L.propertyName)||this._transformMetadatas.get(L.target).set(L.propertyName,[]),this._transformMetadatas.get(L.target).get(L.propertyName).push(L)}addExposeMetadata(L){this._exposeMetadatas.has(L.target)||this._exposeMetadatas.set(L.target,new Map),this._exposeMetadatas.get(L.target).set(L.propertyName,L)}addExcludeMetadata(L){this._excludeMetadatas.has(L.target)||this._excludeMetadatas.set(L.target,new Map),this._excludeMetadatas.get(L.target).set(L.propertyName,L)}findTransformMetadatas(L,ae,K){return this.findMetadatas(this._transformMetadatas,L,ae).filter(se=>!se.options||!0===se.options.toClassOnly&&!0===se.options.toPlainOnly||(!0===se.options.toClassOnly?K===y._.CLASS_TO_CLASS||K===y._.PLAIN_TO_CLASS:!0!==se.options.toPlainOnly||K===y._.CLASS_TO_PLAIN))}findExcludeMetadata(L,ae){return this.findMetadata(this._excludeMetadatas,L,ae)}findExposeMetadata(L,ae){return this.findMetadata(this._exposeMetadatas,L,ae)}findExposeMetadataByCustomName(L,ae){return this.getExposedMetadatas(L).find(K=>K.options&&K.options.name===ae)}findTypeMetadata(L,ae){return this.findMetadata(this._typeMetadatas,L,ae)}getStrategy(L){const ae=this._excludeMetadatas.get(L),K=ae&&ae.get(void 0),se=this._exposeMetadatas.get(L),fe=se&&se.get(void 0);return K&&fe||!K&&!fe?"none":K?"excludeAll":"exposeAll"}getExposedMetadatas(L){return this.getMetadata(this._exposeMetadatas,L)}getExcludedMetadatas(L){return this.getMetadata(this._excludeMetadatas,L)}getExposedProperties(L,ae){return this.getExposedMetadatas(L).filter(K=>!K.options||!0===K.options.toClassOnly&&!0===K.options.toPlainOnly||(!0===K.options.toClassOnly?ae===y._.CLASS_TO_CLASS||ae===y._.PLAIN_TO_CLASS:!0!==K.options.toPlainOnly||ae===y._.CLASS_TO_PLAIN)).map(K=>K.propertyName)}getExcludedProperties(L,ae){return this.getExcludedMetadatas(L).filter(K=>!K.options||!0===K.options.toClassOnly&&!0===K.options.toPlainOnly||(!0===K.options.toClassOnly?ae===y._.CLASS_TO_CLASS||ae===y._.PLAIN_TO_CLASS:!0!==K.options.toPlainOnly||ae===y._.CLASS_TO_PLAIN)).map(K=>K.propertyName)}clear(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()}getMetadata(L,ae){const K=L.get(ae);let se;K&&(se=Array.from(K.values()).filter(le=>void 0!==le.propertyName));const fe=[];for(const le of this.getAncestors(ae)){const de=L.get(le);if(de){const Ve=Array.from(de.values()).filter(Ee=>void 0!==Ee.propertyName);fe.push(...Ve)}}return fe.concat(se||[])}findMetadata(L,ae,K){const se=L.get(ae);if(se){const fe=se.get(K);if(fe)return fe}for(const fe of this.getAncestors(ae)){const le=L.get(fe);if(le){const de=le.get(K);if(de)return de}}}findMetadatas(L,ae,K){const se=L.get(ae);let fe;se&&(fe=se.get(K));const le=[];for(const de of this.getAncestors(ae)){const Ve=L.get(de);Ve&&Ve.has(K)&&le.push(...Ve.get(K))}return le.slice().reverse().concat((fe||[]).slice().reverse())}getAncestors(L){if(!L)return[];if(!this._ancestorsMap.has(L)){const ae=[];for(let K=Object.getPrototypeOf(L.prototype.constructor);typeof K.prototype<"u";K=Object.getPrototypeOf(K.prototype.constructor))ae.push(K);this._ancestorsMap.set(L,ae)}return this._ancestorsMap.get(L)}}},67374:function(De){De.exports=function(){"use strict";var C=6e4,y=36e5,$="millisecond",n="second",a="minute",L="hour",ae="day",K="week",se="month",fe="quarter",le="year",de="date",Ve="Invalid Date",Ee=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,qe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Ge={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(z){var X=["th","st","nd","rd"],P=z%100;return"["+z+(X[(P-20)%10]||X[P]||X[0])+"]"}},ht=function(z,X,P){var rt=String(z);return!rt||rt.length>=X?z:""+Array(X+1-rt.length).join(P)+z},at={s:ht,z:function(z){var X=-z.utcOffset(),P=Math.abs(X),rt=Math.floor(P/60),Ue=P%60;return(X<=0?"+":"-")+ht(rt,2,"0")+":"+ht(Ue,2,"0")},m:function z(X,P){if(X.date()<P.date())return-z(P,X);var rt=12*(P.year()-X.year())+(P.month()-X.month()),Ue=X.clone().add(rt,se),zt=P-Ue<0,sn=X.clone().add(rt+(zt?-1:1),se);return+(-(rt+(P-Ue)/(zt?Ue-sn:sn-Ue))||0)},a:function(z){return z<0?Math.ceil(z)||0:Math.floor(z)},p:function(z){return{M:se,y:le,w:K,d:ae,D:de,h:L,m:a,s:n,ms:$,Q:fe}[z]||String(z||"").toLowerCase().replace(/s$/,"")},u:function(z){return void 0===z}},Tt="en",dt={};dt[Tt]=Ge;var ft="$isDayjsObject",ze=function(z){return z instanceof Pe||!(!z||!z[ft])},B=function z(X,P,rt){var Ue;if(!X)return Tt;if("string"==typeof X){var zt=X.toLowerCase();dt[zt]&&(Ue=zt),P&&(dt[zt]=P,Ue=zt);var sn=X.split("-");if(!Ue&&sn.length>1)return z(sn[0])}else{var Mt=X.name;dt[Mt]=X,Ue=Mt}return!rt&&Ue&&(Tt=Ue),Ue||!rt&&Tt},Te=function(z,X){if(ze(z))return z.clone();var P="object"==typeof X?X:{};return P.date=z,P.args=arguments,new Pe(P)},be=at;be.l=B,be.i=ze,be.w=function(z,X){return Te(z,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var Pe=function(){function z(P){this.$L=B(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[ft]=!0}var X=z.prototype;return X.parse=function(P){this.$d=function(rt){var Ue=rt.date,zt=rt.utc;if(null===Ue)return new Date(NaN);if(be.u(Ue))return new Date;if(Ue instanceof Date)return new Date(Ue);if("string"==typeof Ue&&!/Z$/i.test(Ue)){var sn=Ue.match(Ee);if(sn){var Mt=sn[2]-1||0,mt=(sn[7]||"0").substring(0,3);return zt?new Date(Date.UTC(sn[1],Mt,sn[3]||1,sn[4]||0,sn[5]||0,sn[6]||0,mt)):new Date(sn[1],Mt,sn[3]||1,sn[4]||0,sn[5]||0,sn[6]||0,mt)}}return new Date(Ue)}(P),this.init()},X.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},X.$utils=function(){return be},X.isValid=function(){return this.$d.toString()!==Ve},X.isSame=function(P,rt){var Ue=Te(P);return this.startOf(rt)<=Ue&&Ue<=this.endOf(rt)},X.isAfter=function(P,rt){return Te(P)<this.startOf(rt)},X.isBefore=function(P,rt){return this.endOf(rt)<Te(P)},X.$g=function(P,rt,Ue){return be.u(P)?this[rt]:this.set(Ue,P)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(P,rt){var Ue=this,zt=!!be.u(rt)||rt,sn=be.p(P),Mt=function(oi,Vn){var Wn=be.w(Ue.$u?Date.UTC(Ue.$y,Vn,oi):new Date(Ue.$y,Vn,oi),Ue);return zt?Wn:Wn.endOf(ae)},mt=function(oi,Vn){return be.w(Ue.toDate()[oi].apply(Ue.toDate("s"),(zt?[0,0,0,0]:[23,59,59,999]).slice(Vn)),Ue)},Ke=this.$W,Xe=this.$M,yt=this.$D,Rt="set"+(this.$u?"UTC":"");switch(sn){case le:return zt?Mt(1,0):Mt(31,11);case se:return zt?Mt(1,Xe):Mt(0,Xe+1);case K:var Vt=this.$locale().weekStart||0,_n=(Ke<Vt?Ke+7:Ke)-Vt;return Mt(zt?yt-_n:yt+(6-_n),Xe);case ae:case de:return mt(Rt+"Hours",0);case L:return mt(Rt+"Minutes",1);case a:return mt(Rt+"Seconds",2);case n:return mt(Rt+"Milliseconds",3);default:return this.clone()}},X.endOf=function(P){return this.startOf(P,!1)},X.$set=function(P,rt){var Ue,zt=be.p(P),sn="set"+(this.$u?"UTC":""),Mt=(Ue={},Ue[ae]=sn+"Date",Ue[de]=sn+"Date",Ue[se]=sn+"Month",Ue[le]=sn+"FullYear",Ue[L]=sn+"Hours",Ue[a]=sn+"Minutes",Ue[n]=sn+"Seconds",Ue[$]=sn+"Milliseconds",Ue)[zt],mt=zt===ae?this.$D+(rt-this.$W):rt;if(zt===se||zt===le){var Ke=this.clone().set(de,1);Ke.$d[Mt](mt),Ke.init(),this.$d=Ke.set(de,Math.min(this.$D,Ke.daysInMonth())).$d}else Mt&&this.$d[Mt](mt);return this.init(),this},X.set=function(P,rt){return this.clone().$set(P,rt)},X.get=function(P){return this[be.p(P)]()},X.add=function(P,rt){var Ue,zt=this;P=Number(P);var sn=be.p(rt),Mt=function(Xe){var yt=Te(zt);return be.w(yt.date(yt.date()+Math.round(Xe*P)),zt)};if(sn===se)return this.set(se,this.$M+P);if(sn===le)return this.set(le,this.$y+P);if(sn===ae)return Mt(1);if(sn===K)return Mt(7);var mt=(Ue={},Ue[a]=C,Ue[L]=y,Ue[n]=1e3,Ue)[sn]||1,Ke=this.$d.getTime()+P*mt;return be.w(Ke,this)},X.subtract=function(P,rt){return this.add(-1*P,rt)},X.format=function(P){var rt=this,Ue=this.$locale();if(!this.isValid())return Ue.invalidDate||Ve;var zt=P||"YYYY-MM-DDTHH:mm:ssZ",sn=be.z(this),Mt=this.$H,mt=this.$m,Ke=this.$M,Xe=Ue.weekdays,yt=Ue.months,Vt=function(Vn,Wn,qn,Ni){return Vn&&(Vn[Wn]||Vn(rt,zt))||qn[Wn].slice(0,Ni)},_n=function(Vn){return be.s(Mt%12||12,Vn,"0")},oi=Ue.meridiem||function(Vn,Wn,qn){var Ni=Vn<12?"AM":"PM";return qn?Ni.toLowerCase():Ni};return zt.replace(qe,function(Vn,Wn){return Wn||function(qn){switch(qn){case"YY":return String(rt.$y).slice(-2);case"YYYY":return be.s(rt.$y,4,"0");case"M":return Ke+1;case"MM":return be.s(Ke+1,2,"0");case"MMM":return Vt(Ue.monthsShort,Ke,yt,3);case"MMMM":return Vt(yt,Ke);case"D":return rt.$D;case"DD":return be.s(rt.$D,2,"0");case"d":return String(rt.$W);case"dd":return Vt(Ue.weekdaysMin,rt.$W,Xe,2);case"ddd":return Vt(Ue.weekdaysShort,rt.$W,Xe,3);case"dddd":return Xe[rt.$W];case"H":return String(Mt);case"HH":return be.s(Mt,2,"0");case"h":return _n(1);case"hh":return _n(2);case"a":return oi(Mt,mt,!0);case"A":return oi(Mt,mt,!1);case"m":return String(mt);case"mm":return be.s(mt,2,"0");case"s":return String(rt.$s);case"ss":return be.s(rt.$s,2,"0");case"SSS":return be.s(rt.$ms,3,"0");case"Z":return sn}return null}(Vn)||sn.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(P,rt,Ue){var zt,sn=this,Mt=be.p(rt),mt=Te(P),Ke=(mt.utcOffset()-this.utcOffset())*C,Xe=this-mt,yt=function(){return be.m(sn,mt)};switch(Mt){case le:zt=yt()/12;break;case se:zt=yt();break;case fe:zt=yt()/3;break;case K:zt=(Xe-Ke)/6048e5;break;case ae:zt=(Xe-Ke)/864e5;break;case L:zt=Xe/y;break;case a:zt=Xe/C;break;case n:zt=Xe/1e3;break;default:zt=Xe}return Ue?zt:be.a(zt)},X.daysInMonth=function(){return this.endOf(se).$D},X.$locale=function(){return dt[this.$L]},X.locale=function(P,rt){if(!P)return this.$L;var Ue=this.clone(),zt=B(P,rt,!0);return zt&&(Ue.$L=zt),Ue},X.clone=function(){return be.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},z}(),et=Pe.prototype;return Te.prototype=et,[["$ms",$],["$s",n],["$m",a],["$H",L],["$W",ae],["$M",se],["$y",le],["$D",de]].forEach(function(z){et[z[1]]=function(X){return this.$g(X,z[0],z[1])}}),Te.extend=function(z,X){return z.$i||(z(X,Pe,Te),z.$i=!0),Te},Te.locale=B,Te.isDayjs=ze,Te.unix=function(z){return Te(1e3*z)},Te.en=dt[Tt],Te.Ls=dt,Te.p={},Te}()},32900:function(De){De.exports=function(){"use strict";return function(A,C){var y=C.prototype,$=y.format;y.format=function(n){var a=this,L=this.$locale();if(!this.isValid())return $.bind(this)(n);var ae=this.$utils(),K=(n||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(se){switch(se){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return L.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return L.ordinal(a.week(),"W");case"w":case"ww":return ae.s(a.week(),"w"===se?1:2,"0");case"W":case"WW":return ae.s(a.isoWeek(),"W"===se?1:2,"0");case"k":case"kk":return ae.s(String(0===a.$H?24:a.$H),"k"===se?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return se}});return $.bind(this)(K)}}}()},34543:function(De){De.exports=function(){"use strict";return function(A,C,y){var $="h:mm A",n={lastDay:"[Yesterday at] "+$,sameDay:"[Today at] "+$,nextDay:"[Tomorrow at] "+$,nextWeek:"dddd [at] "+$,lastWeek:"[Last] dddd [at] "+$,sameElse:"MM/DD/YYYY"};C.prototype.calendar=function(a,L){var ae=L||this.$locale().calendar||n,K=y(a||void 0).startOf("d"),se=this.diff(K,"d",!0),fe="sameElse",le=se<-6?fe:se<-1?"lastWeek":se<0?"lastDay":se<1?"sameDay":se<2?"nextDay":se<7?"nextWeek":fe,de=ae[le]||n[le];return"function"==typeof de?de.call(this,y()):this.format(de)}}}()},55180:function(De){De.exports=function(){"use strict";var A={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},C=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,y=/\d/,$=/\d\d/,n=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,L={},ae=function(Ee){return(Ee=+Ee)+(Ee>68?1900:2e3)},K=function(Ee){return function(qe){this[Ee]=+qe}},se=[/[+-]\d\d:?(\d\d)?|Z/,function(Ee){(this.zone||(this.zone={})).offset=function(qe){if(!qe||"Z"===qe)return 0;var Ge=qe.match(/([+-]|\d\d)/g),ht=60*Ge[1]+(+Ge[2]||0);return 0===ht?0:"+"===Ge[0]?-ht:ht}(Ee)}],fe=function(Ee){var qe=L[Ee];return qe&&(qe.indexOf?qe:qe.s.concat(qe.f))},le=function(Ee,qe){var Ge,ht=L.meridiem;if(ht){for(var at=1;at<=24;at+=1)if(Ee.indexOf(ht(at,0,qe))>-1){Ge=at>12;break}}else Ge=Ee===(qe?"pm":"PM");return Ge},de={A:[a,function(Ee){this.afternoon=le(Ee,!1)}],a:[a,function(Ee){this.afternoon=le(Ee,!0)}],Q:[y,function(Ee){this.month=3*(Ee-1)+1}],S:[y,function(Ee){this.milliseconds=100*+Ee}],SS:[$,function(Ee){this.milliseconds=10*+Ee}],SSS:[/\d{3}/,function(Ee){this.milliseconds=+Ee}],s:[n,K("seconds")],ss:[n,K("seconds")],m:[n,K("minutes")],mm:[n,K("minutes")],H:[n,K("hours")],h:[n,K("hours")],HH:[n,K("hours")],hh:[n,K("hours")],D:[n,K("day")],DD:[$,K("day")],Do:[a,function(Ee){var qe=L.ordinal,Ge=Ee.match(/\d+/);if(this.day=Ge[0],qe)for(var ht=1;ht<=31;ht+=1)qe(ht).replace(/\[|\]/g,"")===Ee&&(this.day=ht)}],w:[n,K("week")],ww:[$,K("week")],M:[n,K("month")],MM:[$,K("month")],MMM:[a,function(Ee){var qe=fe("months"),Ge=(fe("monthsShort")||qe.map(function(ht){return ht.slice(0,3)})).indexOf(Ee)+1;if(Ge<1)throw new Error;this.month=Ge%12||Ge}],MMMM:[a,function(Ee){var qe=fe("months").indexOf(Ee)+1;if(qe<1)throw new Error;this.month=qe%12||qe}],Y:[/[+-]?\d+/,K("year")],YY:[$,function(Ee){this.year=ae(Ee)}],YYYY:[/\d{4}/,K("year")],Z:se,ZZ:se};return function(Ee,qe,Ge){Ge.p.customParseFormat=!0,Ee&&Ee.parseTwoDigitYear&&(ae=Ee.parseTwoDigitYear);var ht=qe.prototype,at=ht.parse;ht.parse=function(Tt){var dt=Tt.date,ft=Tt.utc,ze=Tt.args;this.$u=ft;var B=ze[1];if("string"==typeof B){var Te=!0===ze[2],be=!0===ze[3],Pe=Te||be,et=ze[2];be&&(et=ze[2]),L=this.$locale(),!Te&&et&&(L=Ge.Ls[et]),this.$d=function(rt,Ue,zt,sn){try{if(["x","X"].indexOf(Ue)>-1)return new Date(("X"===Ue?1e3:1)*rt);var Mt=function Ve(Ee){var Ge;Ge=L&&L.formats;for(var ht=(Ee=Ee.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Te,be,Pe){var et=Pe&&Pe.toUpperCase();return be||Ge[Pe]||A[Pe]||Ge[et].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(z,X,P){return X||P.slice(1)})})).match(C),at=ht.length,Tt=0;Tt<at;Tt+=1){var dt=ht[Tt],ft=de[dt],B=ft&&ft[1];ht[Tt]=B?{regex:ft&&ft[0],parser:B}:dt.replace(/^\[|\]$/g,"")}return function(Te){for(var be={},Pe=0,et=0;Pe<at;Pe+=1){var z=ht[Pe];if("string"==typeof z)et+=z.length;else{var X=z.regex,P=z.parser,rt=Te.slice(et),Ue=X.exec(rt)[0];P.call(be,Ue),Te=Te.replace(Ue,"")}}return function(zt){var sn=zt.afternoon;if(void 0!==sn){var Mt=zt.hours;sn?Mt<12&&(zt.hours+=12):12===Mt&&(zt.hours=0),delete zt.afternoon}}(be),be}}(Ue)(rt),mt=Mt.year,Ke=Mt.month,Xe=Mt.day,yt=Mt.hours,Rt=Mt.minutes,Vt=Mt.seconds,_n=Mt.milliseconds,oi=Mt.zone,Vn=Mt.week,Wn=new Date,qn=Xe||(mt||Ke?1:Wn.getDate()),Ni=mt||Wn.getFullYear(),Ci=0;mt&&!Ke||(Ci=Ke>0?Ke-1:Wn.getMonth());var oo,Rn=yt||0,vi=Rt||0,So=Vt||0,fi=_n||0;return oi?new Date(Date.UTC(Ni,Ci,qn,Rn,vi,So,fi+60*oi.offset*1e3)):zt?new Date(Date.UTC(Ni,Ci,qn,Rn,vi,So,fi)):(oo=new Date(Ni,Ci,qn,Rn,vi,So,fi),Vn&&(oo=sn(oo).week(Vn).toDate()),oo)}catch{return new Date("")}}(dt,B,ft,Ge),this.init(),et&&!0!==et&&(this.$L=this.locale(et).$L),Pe&&dt!=this.format(B)&&(this.$d=new Date("")),L={}}else if(B instanceof Array)for(var z=B.length,X=1;X<=z;X+=1){ze[1]=B[X-1];var P=Ge.apply(this,ze);if(P.isValid()){this.$d=P.$d,this.$L=P.$L,this.init();break}X===z&&(this.$d=new Date(""))}else at.call(this,Tt)}}}()},2781:function(De){De.exports=function(){"use strict";var A,C,y=1e3,$=6e4,n=36e5,a=864e5,L=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ae=31536e6,K=2628e6,se=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,fe={years:ae,months:K,days:a,hours:n,minutes:$,seconds:y,milliseconds:1,weeks:6048e5},le=function(dt){return dt instanceof at},de=function(dt,ft,ze){return new at(dt,ze,ft.$l)},Ve=function(dt){return C.p(dt)+"s"},Ee=function(dt){return dt<0},qe=function(dt){return Ee(dt)?Math.ceil(dt):Math.floor(dt)},Ge=function(dt){return Math.abs(dt)},ht=function(dt,ft){return dt?Ee(dt)?{negative:!0,format:""+Ge(dt)+ft}:{negative:!1,format:""+dt+ft}:{negative:!1,format:""}},at=function(){function dt(ze,B,Te){var be=this;if(this.$d={},this.$l=Te,void 0===ze&&(this.$ms=0,this.parseFromMilliseconds()),B)return de(ze*fe[Ve(B)],this);if("number"==typeof ze)return this.$ms=ze,this.parseFromMilliseconds(),this;if("object"==typeof ze)return Object.keys(ze).forEach(function(z){be.$d[Ve(z)]=ze[z]}),this.calMilliseconds(),this;if("string"==typeof ze){var Pe=ze.match(se);if(Pe){var et=Pe.slice(2).map(function(z){return null!=z?Number(z):0});return this.$d.years=et[0],this.$d.months=et[1],this.$d.weeks=et[2],this.$d.days=et[3],this.$d.hours=et[4],this.$d.minutes=et[5],this.$d.seconds=et[6],this.calMilliseconds(),this}}return this}var ft=dt.prototype;return ft.calMilliseconds=function(){var ze=this;this.$ms=Object.keys(this.$d).reduce(function(B,Te){return B+(ze.$d[Te]||0)*fe[Te]},0)},ft.parseFromMilliseconds=function(){var ze=this.$ms;this.$d.years=qe(ze/ae),this.$d.months=qe((ze%=ae)/K),this.$d.days=qe((ze%=K)/a),this.$d.hours=qe((ze%=a)/n),this.$d.minutes=qe((ze%=n)/$),this.$d.seconds=qe((ze%=$)/y),this.$d.milliseconds=ze%=y},ft.toISOString=function(){var ze=ht(this.$d.years,"Y"),B=ht(this.$d.months,"M"),Te=+this.$d.days||0;this.$d.weeks&&(Te+=7*this.$d.weeks);var be=ht(Te,"D"),Pe=ht(this.$d.hours,"H"),et=ht(this.$d.minutes,"M"),z=this.$d.seconds||0;this.$d.milliseconds&&(z+=this.$d.milliseconds/1e3,z=Math.round(1e3*z)/1e3);var X=ht(z,"S"),Ue=(ze.negative||B.negative||be.negative||Pe.negative||et.negative||X.negative?"-":"")+"P"+ze.format+B.format+be.format+(Pe.format||et.format||X.format?"T":"")+Pe.format+et.format+X.format;return"P"===Ue||"-P"===Ue?"P0D":Ue},ft.toJSON=function(){return this.toISOString()},ft.format=function(ze){var B=ze||"YYYY-MM-DDTHH:mm:ss",Te={Y:this.$d.years,YY:C.s(this.$d.years,2,"0"),YYYY:C.s(this.$d.years,4,"0"),M:this.$d.months,MM:C.s(this.$d.months,2,"0"),D:this.$d.days,DD:C.s(this.$d.days,2,"0"),H:this.$d.hours,HH:C.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:C.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:C.s(this.$d.seconds,2,"0"),SSS:C.s(this.$d.milliseconds,3,"0")};return B.replace(L,function(be,Pe){return Pe||String(Te[be])})},ft.as=function(ze){return this.$ms/fe[Ve(ze)]},ft.get=function(ze){var B=this.$ms,Te=Ve(ze);return"milliseconds"===Te?B%=1e3:B="weeks"===Te?qe(B/fe[Te]):this.$d[Te],B||0},ft.add=function(ze,B,Te){var be;return be=B?ze*fe[Ve(B)]:le(ze)?ze.$ms:de(ze,this).$ms,de(this.$ms+be*(Te?-1:1),this)},ft.subtract=function(ze,B){return this.add(ze,B,!0)},ft.locale=function(ze){var B=this.clone();return B.$l=ze,B},ft.clone=function(){return de(this.$ms,this)},ft.humanize=function(ze){return A().add(this.$ms,"ms").locale(this.$l).fromNow(!ze)},ft.valueOf=function(){return this.asMilliseconds()},ft.milliseconds=function(){return this.get("milliseconds")},ft.asMilliseconds=function(){return this.as("milliseconds")},ft.seconds=function(){return this.get("seconds")},ft.asSeconds=function(){return this.as("seconds")},ft.minutes=function(){return this.get("minutes")},ft.asMinutes=function(){return this.as("minutes")},ft.hours=function(){return this.get("hours")},ft.asHours=function(){return this.as("hours")},ft.days=function(){return this.get("days")},ft.asDays=function(){return this.as("days")},ft.weeks=function(){return this.get("weeks")},ft.asWeeks=function(){return this.as("weeks")},ft.months=function(){return this.get("months")},ft.asMonths=function(){return this.as("months")},ft.years=function(){return this.get("years")},ft.asYears=function(){return this.as("years")},dt}(),Tt=function(dt,ft,ze){return dt.add(ft.years()*ze,"y").add(ft.months()*ze,"M").add(ft.days()*ze,"d").add(ft.hours()*ze,"h").add(ft.minutes()*ze,"m").add(ft.seconds()*ze,"s").add(ft.milliseconds()*ze,"ms")};return function(dt,ft,ze){A=ze,C=ze().$utils(),ze.duration=function(be,Pe){var et=ze.locale();return de(be,{$l:et},Pe)},ze.isDuration=le;var B=ft.prototype.add,Te=ft.prototype.subtract;ft.prototype.add=function(be,Pe){return le(be)?Tt(this,be,1):B.bind(this)(be,Pe)},ft.prototype.subtract=function(be,Pe){return le(be)?Tt(this,be,-1):Te.bind(this)(be,Pe)}}}()},24955:function(De){De.exports=function(){"use strict";var A={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(C,y,$){var n=y.prototype,a=n.format;$.en.formats=A,n.format=function(L){void 0===L&&(L="YYYY-MM-DDTHH:mm:ssZ");var fe,ae=this.$locale().formats,K=(fe=void 0===ae?{}:ae,L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(le,de,Ve){var Ee=Ve&&Ve.toUpperCase();return de||fe[Ve]||A[Ve]||fe[Ee].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(qe,Ge,ht){return Ge||ht.slice(1)})}));return a.call(this,K)}}}()},85164:function(De){De.exports=function(){"use strict";return function(A,C,y){A=A||{};var $=C.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(ae,K,se,fe){return $.fromToBase(ae,K,se,fe)}y.en.relativeTime=n,$.fromToBase=function(ae,K,se,fe,le){for(var de,Ve,Ee,qe=se.$locale().relativeTime||n,Ge=A.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ht=Ge.length,at=0;at<ht;at+=1){var Tt=Ge[at];Tt.d&&(de=fe?y(ae).diff(se,Tt.d,!0):se.diff(ae,Tt.d,!0));var dt=(A.rounding||Math.round)(Math.abs(de));if(Ee=de>0,dt<=Tt.r||!Tt.r){dt<=1&&at>0&&(Tt=Ge[at-1]);var ft=qe[Tt.l];le&&(dt=le(""+dt)),Ve="string"==typeof ft?ft.replace("%d",dt):ft(dt,K,Tt.l,Ee);break}}if(K)return Ve;var ze=Ee?qe.future:qe.past;return"function"==typeof ze?ze(Ve):ze.replace("%s",Ve)},$.to=function(ae,K){return a(ae,K,this,!0)},$.from=function(ae,K){return a(ae,K,this)};var L=function(ae){return ae.$u?y.utc():y()};$.toNow=function(ae){return this.to(L(this),ae)},$.fromNow=function(ae){return this.from(L(this),ae)}}}()},50902:function(De){De.exports=function(){"use strict";var A={year:0,month:1,day:2,hour:3,minute:4,second:5},C={};return function(y,$,n){var a,L=function(fe,le,de){void 0===de&&(de={});var Ve=new Date(fe);return function(qe,Ge){void 0===Ge&&(Ge={});var ht=Ge.timeZoneName||"short",at=qe+"|"+ht,Tt=C[at];return Tt||(Tt=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:qe,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ht}),C[at]=Tt),Tt}(le,de).formatToParts(Ve)},ae=function(fe,le){for(var de=L(fe,le),Ve=[],Ee=0;Ee<de.length;Ee+=1){var qe=de[Ee],at=A[qe.type];at>=0&&(Ve[at]=parseInt(qe.value,10))}var Tt=Ve[3],ze=+fe;return(n.utc(Ve[0]+"-"+Ve[1]+"-"+Ve[2]+" "+(24===Tt?0:Tt)+":"+Ve[4]+":"+Ve[5]+":000").valueOf()-(ze-=ze%1e3))/6e4},K=$.prototype;K.tz=function(fe,le){void 0===fe&&(fe=a);var de,Ve=this.utcOffset(),Ee=this.toDate(),qe=Ee.toLocaleString("en-US",{timeZone:fe}),Ge=Math.round((Ee-new Date(qe))/1e3/60),ht=15*-Math.round(Ee.getTimezoneOffset()/15)-Ge;if(Number(ht)){if(de=n(qe,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(ht,!0),le){var at=de.utcOffset();de=de.add(Ve-at,"minute")}}else de=this.utcOffset(0,le);return de.$x.$timezone=fe,de},K.offsetName=function(fe){var le=this.$x.$timezone||n.tz.guess(),de=L(this.valueOf(),le,{timeZoneName:fe}).find(function(Ve){return"timezonename"===Ve.type.toLowerCase()});return de&&de.value};var se=K.startOf;K.startOf=function(fe,le){if(!this.$x||!this.$x.$timezone)return se.call(this,fe,le);var de=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return se.call(de,fe,le).tz(this.$x.$timezone,!0)},n.tz=function(fe,le,de){var Ve=de&&le,Ee=de||le||a,qe=ae(+n(),Ee);if("string"!=typeof fe)return n(fe).tz(Ee);var Ge=function(dt,ft,ze){var B=dt-60*ft*1e3,Te=ae(B,ze);if(ft===Te)return[B,ft];var be=ae(B-=60*(Te-ft)*1e3,ze);return Te===be?[B,Te]:[dt-60*Math.min(Te,be)*1e3,Math.max(Te,be)]}(n.utc(fe,Ve).valueOf(),qe,Ee),at=Ge[1],Tt=n(Ge[0]).utcOffset(at);return Tt.$x.$timezone=Ee,Tt},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(fe){a=fe}}}()},89181:function(De){De.exports=function(y,$,n,a,L){for($=$.split?$.split("."):$,a=0;a<$.length;a++)y=y?y[$[a]]:L;return y===L?n:y}},2578:function(De,A){var C,$;void 0!==($="function"==typeof(C=function(){"use strict";function a(le,de,Ve){var Ee=new XMLHttpRequest;Ee.open("GET",le),Ee.responseType="blob",Ee.onload=function(){fe(Ee.response,de,Ve)},Ee.onerror=function(){console.error("could not download file")},Ee.send()}function L(le){var de=new XMLHttpRequest;de.open("HEAD",le,!1);try{de.send()}catch{}return 200<=de.status&&299>=de.status}function ae(le){try{le.dispatchEvent(new MouseEvent("click"))}catch{var de=document.createEvent("MouseEvents");de.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),le.dispatchEvent(de)}}var K="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,se=K.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),fe=K.saveAs||("object"!=typeof window||window!==K?function(){}:"download"in HTMLAnchorElement.prototype&&!se?function(le,de,Ve){var Ee=K.URL||K.webkitURL,qe=document.createElement("a");qe.download=de=de||le.name||"download",qe.rel="noopener","string"==typeof le?(qe.href=le,qe.origin===location.origin?ae(qe):L(qe.href)?a(le,de,Ve):ae(qe,qe.target="_blank")):(qe.href=Ee.createObjectURL(le),setTimeout(function(){Ee.revokeObjectURL(qe.href)},4e4),setTimeout(function(){ae(qe)},0))}:"msSaveOrOpenBlob"in navigator?function(le,de,Ve){if(de=de||le.name||"download","string"!=typeof le)navigator.msSaveOrOpenBlob(function n(le,de){return typeof de>"u"?de={autoBom:!1}:"object"!=typeof de&&(console.warn("Deprecated: Expected third argument to be a object"),de={autoBom:!de}),de.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(le.type)?new Blob(["\ufeff",le],{type:le.type}):le}(le,Ve),de);else if(L(le))a(le,de,Ve);else{var Ee=document.createElement("a");Ee.href=le,Ee.target="_blank",setTimeout(function(){ae(Ee)})}}:function(le,de,Ve,Ee){if((Ee=Ee||open("","_blank"))&&(Ee.document.title=Ee.document.body.innerText="downloading..."),"string"==typeof le)return a(le,de,Ve);var qe="application/octet-stream"===le.type,Ge=/constructor/i.test(K.HTMLElement)||K.safari,ht=/CriOS\/[\d]+/.test(navigator.userAgent);if((ht||qe&&Ge||se)&&typeof FileReader<"u"){var at=new FileReader;at.onloadend=function(){var ft=at.result;ft=ht?ft:ft.replace(/^data:[^;]*;/,"data:attachment/file;"),Ee?Ee.location.href=ft:location=ft,Ee=null},at.readAsDataURL(le)}else{var Tt=K.URL||K.webkitURL,dt=Tt.createObjectURL(le);Ee?Ee.location=dt:location.href=dt,Ee=null,setTimeout(function(){Tt.revokeObjectURL(dt)},4e4)}});K.saveAs=fe.saveAs=fe,De.exports=fe})?C.apply(A,[]):C)&&(De.exports=$)},15883:(De,A,C)=>{De=C.nmd(De);var $="__lodash_hash_undefined__",L=9007199254740991,ae="[object Arguments]",se="[object AsyncFunction]",Ve="[object Function]",Ee="[object GeneratorFunction]",ht="[object Null]",at="[object Object]",Tt="[object Proxy]",B="[object Undefined]",Ke=/^\[object .+?Constructor\]$/,Xe=/^(?:0|[1-9]\d*)$/,yt={};yt["[object Float32Array]"]=yt["[object Float64Array]"]=yt["[object Int8Array]"]=yt["[object Int16Array]"]=yt["[object Int32Array]"]=yt["[object Uint8Array]"]=yt["[object Uint8ClampedArray]"]=yt["[object Uint16Array]"]=yt["[object Uint32Array]"]=!0,yt[ae]=yt["[object Array]"]=yt["[object ArrayBuffer]"]=yt["[object Boolean]"]=yt["[object DataView]"]=yt["[object Date]"]=yt["[object Error]"]=yt[Ve]=yt["[object Map]"]=yt["[object Number]"]=yt[at]=yt["[object RegExp]"]=yt["[object Set]"]=yt["[object String]"]=yt["[object WeakMap]"]=!1;var wt,Rt="object"==typeof global&&global&&global.Object===Object&&global,Vt="object"==typeof self&&self&&self.Object===Object&&self,_n=Rt||Vt||Function("return this")(),oi=A&&!A.nodeType&&A,Vn=oi&&De&&!De.nodeType&&De,Wn=Vn&&Vn.exports===oi,qn=Wn&&Rt.process,Ni=function(){try{return Vn&&Vn.require&&Vn.require("util").types||qn&&qn.binding&&qn.binding("util")}catch{}}(),Ci=Ni&&Ni.isTypedArray,ei=Array.prototype,En=Object.prototype,Xn=_n["__core-js_shared__"],lt=Function.prototype.toString,He=En.hasOwnProperty,Le=(wt=/[^.]+$/.exec(Xn&&Xn.keys&&Xn.keys.IE_PROTO||""))?"Symbol(src)_1."+wt:"",nt=En.toString,gt=lt.call(Object),Dt=RegExp("^"+lt.call(He).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rn=Wn?_n.Buffer:void 0,mn=_n.Symbol,ri=_n.Uint8Array,Bi=rn?rn.allocUnsafe:void 0,wi=function fi(wt,nn){return function(wn){return wt(nn(wn))}}(Object.getPrototypeOf,Object),mi=Object.create,Li=En.propertyIsEnumerable,_o=ei.splice,Vi=mn?mn.toStringTag:void 0,Di=function(){try{var wt=Oi(Object,"defineProperty");return wt({},"",{}),wt}catch{}}(),Mo=rn?rn.isBuffer:void 0,Yt=Math.max,Hn=Date.now,Ri=Oi(_n,"Map"),qt=Oi(Object,"create"),Cn=function(){function wt(){}return function(nn){if(!ao(nn))return{};if(mi)return mi(nn);wt.prototype=nn;var wn=new wt;return wt.prototype=void 0,wn}}();function Bn(wt){var nn=-1,wn=null==wt?0:wt.length;for(this.clear();++nn<wn;){var Mi=wt[nn];this.set(Mi[0],Mi[1])}}function tt(wt){var nn=-1,wn=null==wt?0:wt.length;for(this.clear();++nn<wn;){var Mi=wt[nn];this.set(Mi[0],Mi[1])}}function Nt(wt){var nn=-1,wn=null==wt?0:wt.length;for(this.clear();++nn<wn;){var Mi=wt[nn];this.set(Mi[0],Mi[1])}}function We(wt){var nn=this.__data__=new tt(wt);this.size=nn.size}function yo(wt,nn,wn){(void 0!==wn&&!sa(wt[nn],wn)||void 0===wn&&!(nn in wt))&&Dn(wt,nn,wn)}function hn(wt,nn,wn){var Mi=wt[nn];(!He.call(wt,nn)||!sa(Mi,wn)||void 0===wn&&!(nn in wt))&&Dn(wt,nn,wn)}function Zt(wt,nn){for(var wn=wt.length;wn--;)if(sa(wt[wn][0],nn))return wn;return-1}function Dn(wt,nn,wn){"__proto__"==nn&&Di?Di(wt,nn,{configurable:!0,enumerable:!0,value:wn,writable:!0}):wt[nn]=wn}Bn.prototype.clear=function xt(){this.__data__=qt?qt(null):{},this.size=0},Bn.prototype.delete=function en(wt){var nn=this.has(wt)&&delete this.__data__[wt];return this.size-=nn?1:0,nn},Bn.prototype.get=function ot(wt){var nn=this.__data__;if(qt){var wn=nn[wt];return wn===$?void 0:wn}return He.call(nn,wt)?nn[wt]:void 0},Bn.prototype.has=function Ct(wt){var nn=this.__data__;return qt?void 0!==nn[wt]:He.call(nn,wt)},Bn.prototype.set=function tn(wt,nn){var wn=this.__data__;return this.size+=this.has(wt)?0:1,wn[wt]=qt&&void 0===nn?$:nn,this},tt.prototype.clear=function ut(){this.__data__=[],this.size=0},tt.prototype.delete=function Et(wt){var nn=this.__data__,wn=Zt(nn,wt);return!(wn<0||(wn==nn.length-1?nn.pop():_o.call(nn,wn,1),--this.size,0))},tt.prototype.get=function gn(wt){var nn=this.__data__,wn=Zt(nn,wt);return wn<0?void 0:nn[wn][1]},tt.prototype.has=function Ut(wt){return Zt(this.__data__,wt)>-1},tt.prototype.set=function Qn(wt,nn){var wn=this.__data__,Mi=Zt(wn,wt);return Mi<0?(++this.size,wn.push([wt,nn])):wn[Mi][1]=nn,this},Nt.prototype.clear=function Be(){this.size=0,this.__data__={hash:new Bn,map:new(Ri||tt),string:new Bn}},Nt.prototype.delete=function we(wt){var nn=Po(this,wt).delete(wt);return this.size-=nn?1:0,nn},Nt.prototype.get=function H(wt){return Po(this,wt).get(wt)},Nt.prototype.has=function re(wt){return Po(this,wt).has(wt)},Nt.prototype.set=function ge(wt,nn){var wn=Po(this,wt),Mi=wn.size;return wn.set(wt,nn),this.size+=wn.size==Mi?0:1,this},We.prototype.clear=function Ft(){this.__data__=new tt,this.size=0},We.prototype.delete=function an(wt){var nn=this.__data__,wn=nn.delete(wt);return this.size=nn.size,wn},We.prototype.get=function yn(wt){return this.__data__.get(wt)},We.prototype.has=function di(wt){return this.__data__.has(wt)},We.prototype.set=function ui(wt,nn){var wn=this.__data__;if(wn instanceof tt){var Mi=wn.__data__;if(!Ri||Mi.length<199)return Mi.push([wt,nn]),this.size=++wn.size,this;wn=this.__data__=new Nt(Mi)}return wn.set(wt,nn),this.size=wn.size,this};var gi=function Ei(wt){return function(nn,wn,Mi){for(var ko=-1,$o=Object(nn),nr=Mi(nn),qo=nr.length;qo--;){var lo=nr[wt?qo:++ko];if(!1===wn($o[lo],lo,$o))break}return nn}}();function $i(wt){return null==wt?void 0===wt?B:ht:Vi&&Vi in Object(wt)?function mr(wt){var nn=He.call(wt,Vi),wn=wt[Vi];try{wt[Vi]=void 0;var Mi=!0}catch{}var ko=nt.call(wt);return Mi&&(nn?wt[Vi]=wn:delete wt[Vi]),ko}(wt):function gr(wt){return nt.call(wt)}(wt)}function ro(wt){return Nr(wt)&&$i(wt)==ae}function $r(wt,nn,wn,Mi,ko){wt!==nn&&gi(nn,function($o,nr){if(ko||(ko=new We),ao($o))!function ct(wt,nn,wn,Mi,ko,$o,nr){var qo=ps(wt,wn),lo=ps(nn,wn),Ts=nr.get(lo);if(Ts)yo(wt,wn,Ts);else{var Ss=$o?$o(qo,lo,wn+"",wt,nn,nr):void 0,ur=void 0===Ss;if(ur){var Ks=bc(lo),Ar=!Ks&&Va(lo),ls=!Ks&&!Ar&&Vs(lo);Ss=lo,Ks||Ar||ls?bc(qo)?Ss=qo:function va(wt){return Nr(wt)&&aa(wt)}(qo)?Ss=function ln(wt,nn){var wn=-1,Mi=wt.length;for(nn||(nn=Array(Mi));++wn<Mi;)nn[wn]=wt[wn];return nn}(qo):Ar?(ur=!1,Ss=function xn(wt,nn){if(nn)return wt.slice();var wn=wt.length,Mi=Bi?Bi(wn):new wt.constructor(wn);return wt.copy(Mi),Mi}(lo,!0)):ls?(ur=!1,Ss=function ai(wt,nn){var wn=nn?function Fn(wt){var nn=new wt.constructor(wt.byteLength);return new ri(nn).set(new ri(wt)),nn}(wt.buffer):wt.buffer;return new wt.constructor(wn,wt.byteOffset,wt.length)}(lo,!0)):Ss=[]:function ml(wt){if(!Nr(wt)||$i(wt)!=at)return!1;var nn=wi(wt);if(null===nn)return!0;var wn=He.call(nn,"constructor")&&nn.constructor;return"function"==typeof wn&&wn instanceof wn&&lt.call(wn)==gt}(lo)||Ea(lo)?(Ss=qo,Ea(qo)?Ss=function _a(wt){return function On(wt,nn,wn,Mi){var ko=!wn;wn||(wn={});for(var $o=-1,nr=nn.length;++$o<nr;){var qo=nn[$o],lo=Mi?Mi(wn[qo],wt[qo],qo,wn,wt):void 0;void 0===lo&&(lo=wt[qo]),ko?Dn(wn,qo,lo):hn(wn,qo,lo)}return wn}(wt,ia(wt))}(qo):(!ao(qo)||as(qo))&&(Ss=function Bo(wt){return"function"!=typeof wt.constructor||na(wt)?{}:Cn(wi(wt))}(lo))):ur=!1}ur&&(nr.set(lo,Ss),ko(Ss,lo,Mi,$o,nr),nr.delete(lo)),yo(wt,wn,Ss)}}(wt,nn,nr,wn,$r,Mi,ko);else{var qo=Mi?Mi(ps(wt,nr),$o,nr+"",wt,nn,ko):void 0;void 0===qo&&(qo=$o),yo(wt,nr,qo)}},ia)}var Ot=Di?function(wt,nn){return Di(wt,"toString",{configurable:!0,enumerable:!1,value:Ur(nn),writable:!0})}:ws;function Po(wt,nn){var wn=wt.__data__;return function jo(wt){var nn=typeof wt;return"string"==nn||"number"==nn||"symbol"==nn||"boolean"==nn?"__proto__"!==wt:null===wt}(nn)?wn["string"==typeof nn?"string":"hash"]:wn.map}function Oi(wt,nn){var wn=function So(wt,nn){return wt?.[nn]}(wt,nn);return function go(wt){return!(!ao(wt)||function or(wt){return!!Le&&Le in wt}(wt))&&(as(wt)?Dt:Ke).test(function Pl(wt){if(null!=wt){try{return lt.call(wt)}catch{}try{return wt+""}catch{}}return""}(wt))}(wn)?wn:void 0}function wo(wt,nn){var wn=typeof wt;return!!(nn=nn??L)&&("number"==wn||"symbol"!=wn&&Xe.test(wt))&&wt>-1&&wt%1==0&&wt<nn}function na(wt){var nn=wt&&wt.constructor;return wt===("function"==typeof nn&&nn.prototype||En)}function ps(wt,nn){if(("constructor"!==nn||"function"!=typeof wt[nn])&&"__proto__"!=nn)return wt[nn]}var vr=function Ls(wt){var nn=0,wn=0;return function(){var Mi=Hn(),ko=16-(Mi-wn);if(wn=Mi,ko>0){if(++nn>=800)return arguments[0]}else nn=0;return wt.apply(void 0,arguments)}}(Ot);function sa(wt,nn){return wt===nn||wt!=wt&&nn!=nn}var Ea=ro(function(){return arguments}())?ro:function(wt){return Nr(wt)&&He.call(wt,"callee")&&!Li.call(wt,"callee")},bc=Array.isArray;function aa(wt){return null!=wt&&la(wt.length)&&!as(wt)}var Va=Mo||function io(){return!1};function as(wt){if(!ao(wt))return!1;var nn=$i(wt);return nn==Ve||nn==Ee||nn==se||nn==Tt}function la(wt){return"number"==typeof wt&&wt>-1&&wt%1==0&&wt<=L}function ao(wt){var nn=typeof wt;return null!=wt&&("object"==nn||"function"==nn)}function Nr(wt){return null!=wt&&"object"==typeof wt}var Vs=Ci?function vi(wt){return function(nn){return wt(nn)}}(Ci):function Ao(wt){return Nr(wt)&&la(wt.length)&&!!yt[$i(wt)]};function ia(wt){return aa(wt)?function Qi(wt,nn){var wn=bc(wt),Mi=!wn&&Ea(wt),ko=!wn&&!Mi&&Va(wt),$o=!wn&&!Mi&&!ko&&Vs(wt),nr=wn||Mi||ko||$o,qo=nr?function Rn(wt,nn){for(var wn=-1,Mi=Array(wt);++wn<wt;)Mi[wn]=nn(wn);return Mi}(wt.length,String):[],lo=qo.length;for(var Ts in wt)(nn||He.call(wt,Ts))&&(!nr||!("length"==Ts||ko&&("offset"==Ts||"parent"==Ts)||$o&&("buffer"==Ts||"byteLength"==Ts||"byteOffset"==Ts)||wo(Ts,lo)))&&qo.push(Ts);return qo}(wt,!0):function Yo(wt){if(!ao(wt))return function Ko(wt){var nn=[];if(null!=wt)for(var wn in Object(wt))nn.push(wn);return nn}(wt);var nn=na(wt),wn=[];for(var Mi in wt)"constructor"==Mi&&(nn||!He.call(wt,Mi))||wn.push(Mi);return wn}(wt)}var Gs=function Ln(wt){return function Gt(wt,nn){return vr(function ga(wt,nn,wn){return nn=Yt(void 0===nn?wt.length-1:nn,0),function(){for(var Mi=arguments,ko=-1,$o=Yt(Mi.length-nn,0),nr=Array($o);++ko<$o;)nr[ko]=Mi[nn+ko];ko=-1;for(var qo=Array(nn+1);++ko<nn;)qo[ko]=Mi[ko];return qo[nn]=wn(nr),function oo(wt,nn,wn){switch(wn.length){case 0:return wt.call(nn);case 1:return wt.call(nn,wn[0]);case 2:return wt.call(nn,wn[0],wn[1]);case 3:return wt.call(nn,wn[0],wn[1],wn[2])}return wt.apply(nn,wn)}(wt,this,qo)}}(wt,nn,ws),wt+"")}(function(nn,wn){var Mi=-1,ko=wn.length,$o=ko>1?wn[ko-1]:void 0,nr=ko>2?wn[2]:void 0;for($o=wt.length>3&&"function"==typeof $o?(ko--,$o):void 0,nr&&function Io(wt,nn,wn){if(!ao(wn))return!1;var Mi=typeof nn;return!!("number"==Mi?aa(wn)&&wo(nn,wn.length):"string"==Mi&&nn in wn)&&sa(wn[nn],wt)}(wn[0],wn[1],nr)&&($o=ko<3?void 0:$o,ko=1),nn=Object(nn);++Mi<ko;){var qo=wn[Mi];qo&&wt(nn,qo,Mi,$o)}return nn})}(function(wt,nn,wn,Mi){$r(wt,nn,wn,Mi)});function Ur(wt){return function(){return wt}}function ws(wt){return wt}De.exports=Gs},84412:(De,A,C)=>{"use strict";C.d(A,{t:()=>$});var y=C(21413);class $ extends y.B{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const L=super._subscribe(a);return!L.closed&&a.next(this._value),L}getValue(){const{hasError:a,thrownError:L,_value:ae}=this;if(a)throw L;return this._throwIfClosed(),ae}next(a){super.next(this._value=a)}}},71985:(De,A,C)=>{"use strict";C.d(A,{c:()=>se});var y=C(47707),$=C(18359),n=C(3494),a=C(71203),L=C(41026),ae=C(98071),K=C(49786);let se=(()=>{class Ve{constructor(qe){qe&&(this._subscribe=qe)}lift(qe){const Ge=new Ve;return Ge.source=this,Ge.operator=qe,Ge}subscribe(qe,Ge,ht){const at=function de(Ve){return Ve&&Ve instanceof y.vU||function le(Ve){return Ve&&(0,ae.T)(Ve.next)&&(0,ae.T)(Ve.error)&&(0,ae.T)(Ve.complete)}(Ve)&&(0,$.Uv)(Ve)}(qe)?qe:new y.Ms(qe,Ge,ht);return(0,K.Y)(()=>{const{operator:Tt,source:dt}=this;at.add(Tt?Tt.call(at,dt):dt?this._subscribe(at):this._trySubscribe(at))}),at}_trySubscribe(qe){try{return this._subscribe(qe)}catch(Ge){qe.error(Ge)}}forEach(qe,Ge){return new(Ge=fe(Ge))((ht,at)=>{const Tt=new y.Ms({next:dt=>{try{qe(dt)}catch(ft){at(ft),Tt.unsubscribe()}},error:at,complete:ht});this.subscribe(Tt)})}_subscribe(qe){var Ge;return null===(Ge=this.source)||void 0===Ge?void 0:Ge.subscribe(qe)}[n.s](){return this}pipe(...qe){return(0,a.m)(qe)(this)}toPromise(qe){return new(qe=fe(qe))((Ge,ht)=>{let at;this.subscribe(Tt=>at=Tt,Tt=>ht(Tt),()=>Ge(at))})}}return Ve.create=Ee=>new Ve(Ee),Ve})();function fe(Ve){var Ee;return null!==(Ee=Ve??L.$.Promise)&&void 0!==Ee?Ee:Promise}},92771:(De,A,C)=>{"use strict";C.d(A,{m:()=>n});var y=C(21413),$=C(86129);class n extends y.B{constructor(L=1/0,ae=1/0,K=$.U){super(),this._bufferSize=L,this._windowTime=ae,this._timestampProvider=K,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=ae===1/0,this._bufferSize=Math.max(1,L),this._windowTime=Math.max(1,ae)}next(L){const{isStopped:ae,_buffer:K,_infiniteTimeWindow:se,_timestampProvider:fe,_windowTime:le}=this;ae||(K.push(L),!se&&K.push(fe.now()+le)),this._trimBuffer(),super.next(L)}_subscribe(L){this._throwIfClosed(),this._trimBuffer();const ae=this._innerSubscribe(L),{_infiniteTimeWindow:K,_buffer:se}=this,fe=se.slice();for(let le=0;le<fe.length&&!L.closed;le+=K?1:2)L.next(fe[le]);return this._checkFinalizedStatuses(L),ae}_trimBuffer(){const{_bufferSize:L,_timestampProvider:ae,_buffer:K,_infiniteTimeWindow:se}=this,fe=(se?1:2)*L;if(L<1/0&&fe<K.length&&K.splice(0,K.length-fe),!se){const le=ae.now();let de=0;for(let Ve=1;Ve<K.length&&K[Ve]<=le;Ve+=2)de=Ve;de&&K.splice(0,de+1)}}}},21413:(De,A,C)=>{"use strict";C.d(A,{B:()=>K});var y=C(71985),$=C(18359);const a=(0,C(81853).L)(fe=>function(){fe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var L=C(57908),ae=C(49786);let K=(()=>{class fe extends y.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(de){const Ve=new se(this,this);return Ve.operator=de,Ve}_throwIfClosed(){if(this.closed)throw new a}next(de){(0,ae.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Ve of this.currentObservers)Ve.next(de)}})}error(de){(0,ae.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=de;const{observers:Ve}=this;for(;Ve.length;)Ve.shift().error(de)}})}complete(){(0,ae.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:de}=this;for(;de.length;)de.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var de;return(null===(de=this.observers)||void 0===de?void 0:de.length)>0}_trySubscribe(de){return this._throwIfClosed(),super._trySubscribe(de)}_subscribe(de){return this._throwIfClosed(),this._checkFinalizedStatuses(de),this._innerSubscribe(de)}_innerSubscribe(de){const{hasError:Ve,isStopped:Ee,observers:qe}=this;return Ve||Ee?$.Kn:(this.currentObservers=null,qe.push(de),new $.yU(()=>{this.currentObservers=null,(0,L.o)(qe,de)}))}_checkFinalizedStatuses(de){const{hasError:Ve,thrownError:Ee,isStopped:qe}=this;Ve?de.error(Ee):qe&&de.complete()}asObservable(){const de=new y.c;return de.source=this,de}}return fe.create=(le,de)=>new se(le,de),fe})();class se extends K{constructor(le,de){super(),this.destination=le,this.source=de}next(le){var de,Ve;null===(Ve=null===(de=this.destination)||void 0===de?void 0:de.next)||void 0===Ve||Ve.call(de,le)}error(le){var de,Ve;null===(Ve=null===(de=this.destination)||void 0===de?void 0:de.error)||void 0===Ve||Ve.call(de,le)}complete(){var le,de;null===(de=null===(le=this.destination)||void 0===le?void 0:le.complete)||void 0===de||de.call(le)}_subscribe(le){var de,Ve;return null!==(Ve=null===(de=this.source)||void 0===de?void 0:de.subscribe(le))&&void 0!==Ve?Ve:$.Kn}}},47707:(De,A,C)=>{"use strict";C.d(A,{Ms:()=>ht,vU:()=>Ve});var y=C(98071),$=C(18359),n=C(41026),a=C(45334),L=C(85343);const ae=fe("C",void 0,void 0);function fe(ze,B,Te){return{kind:ze,value:B,error:Te}}var le=C(19270),de=C(49786);class Ve extends $.yU{constructor(B){super(),this.isStopped=!1,B?(this.destination=B,(0,$.Uv)(B)&&B.add(this)):this.destination=ft}static create(B,Te,be){return new ht(B,Te,be)}next(B){this.isStopped?dt(function se(ze){return fe("N",ze,void 0)}(B),this):this._next(B)}error(B){this.isStopped?dt(function K(ze){return fe("E",void 0,ze)}(B),this):(this.isStopped=!0,this._error(B))}complete(){this.isStopped?dt(ae,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(B){this.destination.next(B)}_error(B){try{this.destination.error(B)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ee=Function.prototype.bind;function qe(ze,B){return Ee.call(ze,B)}class Ge{constructor(B){this.partialObserver=B}next(B){const{partialObserver:Te}=this;if(Te.next)try{Te.next(B)}catch(be){at(be)}}error(B){const{partialObserver:Te}=this;if(Te.error)try{Te.error(B)}catch(be){at(be)}else at(B)}complete(){const{partialObserver:B}=this;if(B.complete)try{B.complete()}catch(Te){at(Te)}}}class ht extends Ve{constructor(B,Te,be){let Pe;if(super(),(0,y.T)(B)||!B)Pe={next:B??void 0,error:Te??void 0,complete:be??void 0};else{let et;this&&n.$.useDeprecatedNextContext?(et=Object.create(B),et.unsubscribe=()=>this.unsubscribe(),Pe={next:B.next&&qe(B.next,et),error:B.error&&qe(B.error,et),complete:B.complete&&qe(B.complete,et)}):Pe=B}this.destination=new Ge(Pe)}}function at(ze){n.$.useDeprecatedSynchronousErrorHandling?(0,de.l)(ze):(0,a.m)(ze)}function dt(ze,B){const{onStoppedNotification:Te}=n.$;Te&&le.f.setTimeout(()=>Te(ze,B))}const ft={closed:!0,next:L.l,error:function Tt(ze){throw ze},complete:L.l}},18359:(De,A,C)=>{"use strict";C.d(A,{Kn:()=>ae,yU:()=>L,Uv:()=>K});var y=C(98071);const n=(0,C(81853).L)(fe=>function(de){fe(this),this.message=de?`${de.length} errors occurred during unsubscription:\n${de.map((Ve,Ee)=>`${Ee+1}) ${Ve.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=de});var a=C(57908);class L{constructor(le){this.initialTeardown=le,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let le;if(!this.closed){this.closed=!0;const{_parentage:de}=this;if(de)if(this._parentage=null,Array.isArray(de))for(const qe of de)qe.remove(this);else de.remove(this);const{initialTeardown:Ve}=this;if((0,y.T)(Ve))try{Ve()}catch(qe){le=qe instanceof n?qe.errors:[qe]}const{_finalizers:Ee}=this;if(Ee){this._finalizers=null;for(const qe of Ee)try{se(qe)}catch(Ge){le=le??[],Ge instanceof n?le=[...le,...Ge.errors]:le.push(Ge)}}if(le)throw new n(le)}}add(le){var de;if(le&&le!==this)if(this.closed)se(le);else{if(le instanceof L){if(le.closed||le._hasParent(this))return;le._addParent(this)}(this._finalizers=null!==(de=this._finalizers)&&void 0!==de?de:[]).push(le)}}_hasParent(le){const{_parentage:de}=this;return de===le||Array.isArray(de)&&de.includes(le)}_addParent(le){const{_parentage:de}=this;this._parentage=Array.isArray(de)?(de.push(le),de):de?[de,le]:le}_removeParent(le){const{_parentage:de}=this;de===le?this._parentage=null:Array.isArray(de)&&(0,a.o)(de,le)}remove(le){const{_finalizers:de}=this;de&&(0,a.o)(de,le),le instanceof L&&le._removeParent(this)}}L.EMPTY=(()=>{const fe=new L;return fe.closed=!0,fe})();const ae=L.EMPTY;function K(fe){return fe instanceof L||fe&&"closed"in fe&&(0,y.T)(fe.remove)&&(0,y.T)(fe.add)&&(0,y.T)(fe.unsubscribe)}function se(fe){(0,y.T)(fe)?fe():fe.unsubscribe()}},41026:(De,A,C)=>{"use strict";C.d(A,{$:()=>y});const y={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},54843:(De,A,C)=>{"use strict";C.d(A,{_:()=>n});var y=C(9350),$=C(47707);function n(a,L){const ae="object"==typeof L;return new Promise((K,se)=>{const fe=new $.Ms({next:le=>{K(le),fe.unsubscribe()},error:se,complete:()=>{ae?K(L.defaultValue):se(new y.G)}});a.subscribe(fe)})}},30017:(De,A,C)=>{"use strict";C.d(A,{G:()=>ae});var y=C(71985),$=C(18359),n=C(99898),a=C(54360),L=C(39974);class ae extends y.c{constructor(se,fe){super(),this.source=se,this.subjectFactory=fe,this._subject=null,this._refCount=0,this._connection=null,(0,L.S)(se)&&(this.lift=se.lift)}_subscribe(se){return this.getSubject().subscribe(se)}getSubject(){const se=this._subject;return(!se||se.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:se}=this;this._subject=this._connection=null,se?.unsubscribe()}connect(){let se=this._connection;if(!se){se=this._connection=new $.yU;const fe=this.getSubject();se.add(this.source.subscribe((0,a._)(fe,void 0,()=>{this._teardown(),fe.complete()},le=>{this._teardown(),fe.error(le)},()=>this._teardown()))),se.closed&&(this._connection=null,se=$.yU.EMPTY)}return se}refCount(){return(0,n.B)()(this)}}},84572:(De,A,C)=>{"use strict";C.d(A,{z:()=>le});var y=C(71985),$=C(93073),n=C(48455),a=C(33669),L=C(6450),ae=C(9326),K=C(58496),se=C(54360),fe=C(45225);function le(...Ee){const qe=(0,ae.lI)(Ee),Ge=(0,ae.ms)(Ee),{args:ht,keys:at}=(0,$.D)(Ee);if(0===ht.length)return(0,n.H)([],qe);const Tt=new y.c(function de(Ee,qe,Ge=a.D){return ht=>{Ve(qe,()=>{const{length:at}=Ee,Tt=new Array(at);let dt=at,ft=at;for(let ze=0;ze<at;ze++)Ve(qe,()=>{const B=(0,n.H)(Ee[ze],qe);let Te=!1;B.subscribe((0,se._)(ht,be=>{Tt[ze]=be,Te||(Te=!0,ft--),ft||ht.next(Ge(Tt.slice()))},()=>{--dt||ht.complete()}))},ht)},ht)}}(ht,qe,at?dt=>(0,K.e)(at,dt):a.D));return Ge?Tt.pipe((0,L.I)(Ge)):Tt}function Ve(Ee,qe,Ge){Ee?(0,fe.N)(Ge,Ee,qe):qe()}},28793:(De,A,C)=>{"use strict";C.d(A,{x:()=>L});var y=C(26365),n=C(9326),a=C(48455);function L(...ae){return function $(){return(0,y.U)(1)}()((0,a.H)(ae,(0,n.lI)(ae)))}},59030:(De,A,C)=>{"use strict";C.d(A,{v:()=>n});var y=C(71985),$=C(58750);function n(a){return new y.c(L=>{(0,$.Tg)(a()).subscribe(L)})}},983:(De,A,C)=>{"use strict";C.d(A,{w:()=>$});const $=new(C(71985).c)(L=>L.complete())},27468:(De,A,C)=>{"use strict";C.d(A,{p:()=>se});var y=C(71985),$=C(93073),n=C(58750),a=C(9326),L=C(54360),ae=C(6450),K=C(58496);function se(...fe){const le=(0,a.ms)(fe),{args:de,keys:Ve}=(0,$.D)(fe),Ee=new y.c(qe=>{const{length:Ge}=de;if(!Ge)return void qe.complete();const ht=new Array(Ge);let at=Ge,Tt=Ge;for(let dt=0;dt<Ge;dt++){let ft=!1;(0,n.Tg)(de[dt]).subscribe((0,L._)(qe,ze=>{ft||(ft=!0,Tt--),ht[dt]=ze},()=>at--,void 0,()=>{(!at||!ft)&&(Tt||qe.next(Ve?(0,K.e)(Ve,ht):ht),qe.complete())}))}});return le?Ee.pipe((0,ae.I)(le)):Ee}},48455:(De,A,C)=>{"use strict";C.d(A,{H:()=>B});var y=C(58750),$=C(40941),n=C(56745),ae=C(71985),se=C(4761),fe=C(98071),le=C(45225);function Ve(Te,be){if(!Te)throw new Error("Iterable cannot be null");return new ae.c(Pe=>{(0,le.N)(Pe,be,()=>{const et=Te[Symbol.asyncIterator]();(0,le.N)(Pe,be,()=>{et.next().then(z=>{z.done?Pe.complete():Pe.next(z.value)})},0,!0)})})}var Ee=C(55055),qe=C(59858),Ge=C(47441),ht=C(85397),at=C(37953),Tt=C(50591),dt=C(15196);function B(Te,be){return be?function ze(Te,be){if(null!=Te){if((0,Ee.l)(Te))return function a(Te,be){return(0,y.Tg)(Te).pipe((0,n._)(be),(0,$.Q)(be))}(Te,be);if((0,Ge.X)(Te))return function K(Te,be){return new ae.c(Pe=>{let et=0;return be.schedule(function(){et===Te.length?Pe.complete():(Pe.next(Te[et++]),Pe.closed||this.schedule())})})}(Te,be);if((0,qe.y)(Te))return function L(Te,be){return(0,y.Tg)(Te).pipe((0,n._)(be),(0,$.Q)(be))}(Te,be);if((0,at.T)(Te))return Ve(Te,be);if((0,ht.x)(Te))return function de(Te,be){return new ae.c(Pe=>{let et;return(0,le.N)(Pe,be,()=>{et=Te[se.l](),(0,le.N)(Pe,be,()=>{let z,X;try{({value:z,done:X}=et.next())}catch(P){return void Pe.error(P)}X?Pe.complete():Pe.next(z)},0,!0)}),()=>(0,fe.T)(et?.return)&&et.return()})}(Te,be);if((0,dt.U)(Te))return function ft(Te,be){return Ve((0,dt.C)(Te),be)}(Te,be)}throw(0,Tt.L)(Te)}(Te,be):(0,y.Tg)(Te)}},33726:(De,A,C)=>{"use strict";C.d(A,{R:()=>le});var y=C(58750),$=C(71985),n=C(31397),a=C(47441),L=C(98071),ae=C(6450);const K=["addListener","removeListener"],se=["addEventListener","removeEventListener"],fe=["on","off"];function le(Ge,ht,at,Tt){if((0,L.T)(at)&&(Tt=at,at=void 0),Tt)return le(Ge,ht,at).pipe((0,ae.I)(Tt));const[dt,ft]=function qe(Ge){return(0,L.T)(Ge.addEventListener)&&(0,L.T)(Ge.removeEventListener)}(Ge)?se.map(ze=>B=>Ge[ze](ht,B,at)):function Ve(Ge){return(0,L.T)(Ge.addListener)&&(0,L.T)(Ge.removeListener)}(Ge)?K.map(de(Ge,ht)):function Ee(Ge){return(0,L.T)(Ge.on)&&(0,L.T)(Ge.off)}(Ge)?fe.map(de(Ge,ht)):[];if(!dt&&(0,a.X)(Ge))return(0,n.Z)(ze=>le(ze,ht,at))((0,y.Tg)(Ge));if(!dt)throw new TypeError("Invalid event target");return new $.c(ze=>{const B=(...Te)=>ze.next(1<Te.length?Te:Te[0]);return dt(B),()=>ft(B)})}function de(Ge,ht){return at=>Tt=>Ge[at](ht,Tt)}},58750:(De,A,C)=>{"use strict";C.d(A,{Tg:()=>Ee});var y=C(31635),$=C(47441),n=C(59858),a=C(71985),L=C(55055),ae=C(37953),K=C(50591),se=C(85397),fe=C(15196),le=C(98071),de=C(45334),Ve=C(3494);function Ee(ze){if(ze instanceof a.c)return ze;if(null!=ze){if((0,L.l)(ze))return function qe(ze){return new a.c(B=>{const Te=ze[Ve.s]();if((0,le.T)(Te.subscribe))return Te.subscribe(B);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ze);if((0,$.X)(ze))return function Ge(ze){return new a.c(B=>{for(let Te=0;Te<ze.length&&!B.closed;Te++)B.next(ze[Te]);B.complete()})}(ze);if((0,n.y)(ze))return function ht(ze){return new a.c(B=>{ze.then(Te=>{B.closed||(B.next(Te),B.complete())},Te=>B.error(Te)).then(null,de.m)})}(ze);if((0,ae.T)(ze))return Tt(ze);if((0,se.x)(ze))return function at(ze){return new a.c(B=>{for(const Te of ze)if(B.next(Te),B.closed)return;B.complete()})}(ze);if((0,fe.U)(ze))return function dt(ze){return Tt((0,fe.C)(ze))}(ze)}throw(0,K.L)(ze)}function Tt(ze){return new a.c(B=>{(function ft(ze,B){var Te,be,Pe,et;return(0,y.sH)(this,void 0,void 0,function*(){try{for(Te=(0,y.xN)(ze);!(be=yield Te.next()).done;)if(B.next(be.value),B.closed)return}catch(z){Pe={error:z}}finally{try{be&&!be.done&&(et=Te.return)&&(yield et.call(Te))}finally{if(Pe)throw Pe.error}}B.complete()})})(ze,B).catch(Te=>B.error(Te))})}},57786:(De,A,C)=>{"use strict";C.d(A,{h:()=>ae});var y=C(26365),$=C(58750),n=C(983),a=C(9326),L=C(48455);function ae(...K){const se=(0,a.lI)(K),fe=(0,a.R0)(K,1/0),le=K;return le.length?1===le.length?(0,$.Tg)(le[0]):(0,y.U)(fe)((0,L.H)(le,se)):n.w}},7673:(De,A,C)=>{"use strict";C.d(A,{of:()=>n});var y=C(9326),$=C(48455);function n(...a){const L=(0,y.lI)(a);return(0,$.H)(a,L)}},41584:(De,A,C)=>{"use strict";C.d(A,{O:()=>L});var y=C(71985),$=C(43236),n=C(79470);function L(ae=0,K,se=$.b){let fe=-1;return null!=K&&((0,n.m)(K)?se=K:fe=K),new y.c(le=>{let de=function a(ae){return ae instanceof Date&&!isNaN(ae)}(ae)?+ae-se.now():ae;de<0&&(de=0);let Ve=0;return se.schedule(function(){le.closed||(le.next(Ve++),0<=fe?this.schedule(void 0,fe):le.complete())},de)})}},54360:(De,A,C)=>{"use strict";C.d(A,{_:()=>$});var y=C(47707);function $(a,L,ae,K,se){return new n(a,L,ae,K,se)}class n extends y.vU{constructor(L,ae,K,se,fe,le){super(L),this.onFinalize=fe,this.shouldUnsubscribe=le,this._next=ae?function(de){try{ae(de)}catch(Ve){L.error(Ve)}}:super._next,this._error=se?function(de){try{se(de)}catch(Ve){L.error(Ve)}finally{this.unsubscribe()}}:super._error,this._complete=K?function(){try{K()}catch(de){L.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var L;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ae}=this;super.unsubscribe(),!ae&&(null===(L=this.onFinalize)||void 0===L||L.call(this))}}}},13798:(De,A,C)=>{"use strict";C.d(A,{Z:()=>K});var y=C(43236),$=C(39974),n=C(58750),a=C(54360),ae=C(41584);function K(se,fe=y.E){return function L(se){return(0,$.N)((fe,le)=>{let de=!1,Ve=null,Ee=null,qe=!1;const Ge=()=>{if(Ee?.unsubscribe(),Ee=null,de){de=!1;const at=Ve;Ve=null,le.next(at)}qe&&le.complete()},ht=()=>{Ee=null,qe&&le.complete()};fe.subscribe((0,a._)(le,at=>{de=!0,Ve=at,Ee||(0,n.Tg)(se(at)).subscribe(Ee=(0,a._)(le,Ge,ht))},()=>{qe=!0,(!de||!Ee||Ee.closed)&&le.complete()}))})}(()=>(0,ae.O)(se,fe))}},99437:(De,A,C)=>{"use strict";C.d(A,{W:()=>a});var y=C(58750),$=C(54360),n=C(39974);function a(L){return(0,n.N)((ae,K)=>{let le,se=null,fe=!1;se=ae.subscribe((0,$._)(K,void 0,void 0,de=>{le=(0,y.Tg)(L(de,a(L)(ae))),se?(se.unsubscribe(),se=null,le.subscribe(K)):fe=!0})),fe&&(se.unsubscribe(),se=null,le.subscribe(K))})}},70274:(De,A,C)=>{"use strict";C.d(A,{H:()=>n});var y=C(31397),$=C(98071);function n(a,L){return(0,$.T)(L)?(0,y.Z)(a,L,1):(0,y.Z)(a,1)}},83229:(De,A,C)=>{"use strict";C.d(A,{s:()=>L});var y=C(39974),$=C(85343),n=C(54360),a=C(58750);function L(ae){return(0,y.N)((K,se)=>{let fe=!1,le=null,de=null;const Ve=()=>{if(de?.unsubscribe(),de=null,fe){fe=!1;const Ee=le;le=null,se.next(Ee)}};K.subscribe((0,n._)(se,Ee=>{de?.unsubscribe(),fe=!0,le=Ee,de=(0,n._)(se,Ve,$.l),(0,a.Tg)(ae(Ee)).subscribe(de)},()=>{Ve(),se.complete()},void 0,()=>{le=de=null}))})}},70152:(De,A,C)=>{"use strict";C.d(A,{B:()=>a});var y=C(43236),$=C(39974),n=C(54360);function a(L,ae=y.E){return(0,$.N)((K,se)=>{let fe=null,le=null,de=null;const Ve=()=>{if(fe){fe.unsubscribe(),fe=null;const qe=le;le=null,se.next(qe)}};function Ee(){const qe=de+L,Ge=ae.now();if(Ge<qe)return fe=this.schedule(void 0,qe-Ge),void se.add(fe);Ve()}K.subscribe((0,n._)(se,qe=>{le=qe,de=ae.now(),fe||(fe=ae.schedule(Ee,L),se.add(fe))},()=>{Ve(),se.complete()},void 0,()=>{le=fe=null}))})}},39901:(De,A,C)=>{"use strict";C.d(A,{U:()=>n});var y=C(39974),$=C(54360);function n(a){return(0,y.N)((L,ae)=>{let K=!1;L.subscribe((0,$._)(ae,se=>{K=!0,ae.next(se)},()=>{K||ae.next(a),ae.complete()}))})}},91986:(De,A,C)=>{"use strict";C.d(A,{c:()=>Ee});var y=C(43236),$=C(28793),n=C(96697),a=C(39974),L=C(54360),ae=C(85343),se=C(73703),fe=C(31397),le=C(58750);function de(qe,Ge){return Ge?ht=>(0,$.x)(Ge.pipe((0,n.s)(1),function K(){return(0,a.N)((qe,Ge)=>{qe.subscribe((0,L._)(Ge,ae.l))})}()),ht.pipe(de(qe))):(0,fe.Z)((ht,at)=>(0,le.Tg)(qe(ht,at)).pipe((0,n.s)(1),(0,se.u)(ht)))}var Ve=C(41584);function Ee(qe,Ge=y.E){const ht=(0,Ve.O)(qe,Ge);return de(()=>ht)}},23294:(De,A,C)=>{"use strict";C.d(A,{F:()=>a});var y=C(33669),$=C(39974),n=C(54360);function a(ae,K=y.D){return ae=ae??L,(0,$.N)((se,fe)=>{let le,de=!0;se.subscribe((0,n._)(fe,Ve=>{const Ee=K(Ve);(de||!ae(le,Ee))&&(de=!1,le=Ee,fe.next(Ve))}))})}function L(ae,K){return ae===K}},5964:(De,A,C)=>{"use strict";C.d(A,{p:()=>n});var y=C(39974),$=C(54360);function n(a,L){return(0,y.N)((ae,K)=>{let se=0;ae.subscribe((0,$._)(K,fe=>a.call(L,fe,se++)&&K.next(fe)))})}},70980:(De,A,C)=>{"use strict";C.d(A,{j:()=>$});var y=C(39974);function $(n){return(0,y.N)((a,L)=>{try{a.subscribe(L)}finally{L.add(n)}})}},61594:(De,A,C)=>{"use strict";C.d(A,{$:()=>K});var y=C(9350),$=C(5964),n=C(96697),a=C(39901),L=C(93774),ae=C(33669);function K(se,fe){const le=arguments.length>=2;return de=>de.pipe(se?(0,$.p)((Ve,Ee)=>se(Ve,Ee,de)):ae.D,(0,n.s)(1),le?(0,a.U)(fe):(0,L.v)(()=>new y.G))}},96354:(De,A,C)=>{"use strict";C.d(A,{T:()=>n});var y=C(39974),$=C(54360);function n(a,L){return(0,y.N)((ae,K)=>{let se=0;ae.subscribe((0,$._)(K,fe=>{K.next(a.call(L,fe,se++))}))})}},73703:(De,A,C)=>{"use strict";C.d(A,{u:()=>$});var y=C(96354);function $(n){return(0,y.T)(()=>n)}},26365:(De,A,C)=>{"use strict";C.d(A,{U:()=>n});var y=C(31397),$=C(33669);function n(a=1/0){return(0,y.Z)($.D,a)}},31397:(De,A,C)=>{"use strict";C.d(A,{Z:()=>se});var y=C(96354),$=C(58750),n=C(39974),a=C(45225),L=C(54360),K=C(98071);function se(fe,le,de=1/0){return(0,K.T)(le)?se((Ve,Ee)=>(0,y.T)((qe,Ge)=>le(Ve,qe,Ee,Ge))((0,$.Tg)(fe(Ve,Ee))),de):("number"==typeof le&&(de=le),(0,n.N)((Ve,Ee)=>function ae(fe,le,de,Ve,Ee,qe,Ge,ht){const at=[];let Tt=0,dt=0,ft=!1;const ze=()=>{ft&&!at.length&&!Tt&&le.complete()},B=be=>Tt<Ve?Te(be):at.push(be),Te=be=>{qe&&le.next(be),Tt++;let Pe=!1;(0,$.Tg)(de(be,dt++)).subscribe((0,L._)(le,et=>{Ee?.(et),qe?B(et):le.next(et)},()=>{Pe=!0},void 0,()=>{if(Pe)try{for(Tt--;at.length&&Tt<Ve;){const et=at.shift();Ge?(0,a.N)(le,Ge,()=>Te(et)):Te(et)}ze()}catch(et){le.error(et)}}))};return fe.subscribe((0,L._)(le,B,()=>{ft=!0,ze()})),()=>{ht?.()}}(Ve,Ee,fe,de)))}},40941:(De,A,C)=>{"use strict";C.d(A,{Q:()=>a});var y=C(45225),$=C(39974),n=C(54360);function a(L,ae=0){return(0,$.N)((K,se)=>{K.subscribe((0,n._)(se,fe=>(0,y.N)(se,L,()=>se.next(fe),ae),()=>(0,y.N)(se,L,()=>se.complete(),ae),fe=>(0,y.N)(se,L,()=>se.error(fe),ae)))})}},13946:(De,A,C)=>{"use strict";C.d(A,{J:()=>n});var y=C(39974),$=C(54360);function n(){return(0,y.N)((a,L)=>{let ae,K=!1;a.subscribe((0,$._)(L,se=>{const fe=ae;ae=se,K&&L.next([fe,se]),K=!0}))})}},99898:(De,A,C)=>{"use strict";C.d(A,{B:()=>n});var y=C(39974),$=C(54360);function n(){return(0,y.N)((a,L)=>{let ae=null;a._refCount++;const K=(0,$._)(L,void 0,void 0,void 0,()=>{if(!a||a._refCount<=0||0<--a._refCount)return void(ae=null);const se=a._connection,fe=ae;ae=null,se&&(!fe||se===fe)&&se.unsubscribe(),L.unsubscribe()});a.subscribe(K),K.closed||(ae=a.connect())})}},22816:(De,A,C)=>{"use strict";C.d(A,{S:()=>a});var y=C(39974),$=C(54360);function a(L,ae){return(0,y.N)(function n(L,ae,K,se,fe){return(le,de)=>{let Ve=K,Ee=ae,qe=0;le.subscribe((0,$._)(de,Ge=>{const ht=qe++;Ee=Ve?L(Ee,Ge,ht):(Ve=!0,Ge),se&&de.next(Ee)},fe&&(()=>{Ve&&de.next(Ee),de.complete()})))}}(L,ae,arguments.length>=2,!0))}},97647:(De,A,C)=>{"use strict";C.d(A,{u:()=>L});var y=C(58750),$=C(21413),n=C(47707),a=C(39974);function L(K={}){const{connector:se=()=>new $.B,resetOnError:fe=!0,resetOnComplete:le=!0,resetOnRefCountZero:de=!0}=K;return Ve=>{let Ee,qe,Ge,ht=0,at=!1,Tt=!1;const dt=()=>{qe?.unsubscribe(),qe=void 0},ft=()=>{dt(),Ee=Ge=void 0,at=Tt=!1},ze=()=>{const B=Ee;ft(),B?.unsubscribe()};return(0,a.N)((B,Te)=>{ht++,!Tt&&!at&&dt();const be=Ge=Ge??se();Te.add(()=>{ht--,0===ht&&!Tt&&!at&&(qe=ae(ze,de))}),be.subscribe(Te),!Ee&&ht>0&&(Ee=new n.Ms({next:Pe=>be.next(Pe),error:Pe=>{Tt=!0,dt(),qe=ae(ft,fe,Pe),be.error(Pe)},complete:()=>{at=!0,dt(),qe=ae(ft,le),be.complete()}}),(0,y.Tg)(B).subscribe(Ee))})(Ve)}}function ae(K,se,...fe){if(!0===se)return void K();if(!1===se)return;const le=new n.Ms({next:()=>{le.unsubscribe(),K()}});return(0,y.Tg)(se(...fe)).subscribe(le)}},44668:(De,A,C)=>{"use strict";C.d(A,{t:()=>n});var y=C(92771),$=C(97647);function n(a,L,ae){let K,se=!1;return a&&"object"==typeof a?({bufferSize:K=1/0,windowTime:L=1/0,refCount:se=!1,scheduler:ae}=a):K=a??1/0,(0,$.u)({connector:()=>new y.m(K,L,ae),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:se})}},65245:(De,A,C)=>{"use strict";C.d(A,{i:()=>$});var y=C(5964);function $(n){return(0,y.p)((a,L)=>n<=L)}},99172:(De,A,C)=>{"use strict";C.d(A,{Z:()=>a});var y=C(28793),$=C(9326),n=C(39974);function a(...L){const ae=(0,$.lI)(L);return(0,n.N)((K,se)=>{(ae?(0,y.x)(L,K,ae):(0,y.x)(L,K)).subscribe(se)})}},56745:(De,A,C)=>{"use strict";C.d(A,{_:()=>$});var y=C(39974);function $(n,a=0){return(0,y.N)((L,ae)=>{ae.add(n.schedule(()=>L.subscribe(ae),a))})}},25558:(De,A,C)=>{"use strict";C.d(A,{n:()=>a});var y=C(58750),$=C(39974),n=C(54360);function a(L,ae){return(0,$.N)((K,se)=>{let fe=null,le=0,de=!1;const Ve=()=>de&&!fe&&se.complete();K.subscribe((0,n._)(se,Ee=>{fe?.unsubscribe();let qe=0;const Ge=le++;(0,y.Tg)(L(Ee,Ge)).subscribe(fe=(0,n._)(se,ht=>se.next(ae?ae(Ee,ht,Ge,qe++):ht),()=>{fe=null,Ve()}))},()=>{de=!0,Ve()}))})}},96697:(De,A,C)=>{"use strict";C.d(A,{s:()=>a});var y=C(983),$=C(39974),n=C(54360);function a(L){return L<=0?()=>y.w:(0,$.N)((ae,K)=>{let se=0;ae.subscribe((0,n._)(K,fe=>{++se<=L&&(K.next(fe),L<=se&&K.complete())}))})}},56977:(De,A,C)=>{"use strict";C.d(A,{Q:()=>L});var y=C(39974),$=C(54360),n=C(58750),a=C(85343);function L(ae){return(0,y.N)((K,se)=>{(0,n.Tg)(ae).subscribe((0,$._)(se,()=>se.complete(),a.l)),!se.closed&&K.subscribe(se)})}},77048:(De,A,C)=>{"use strict";C.d(A,{v:()=>n});var y=C(39974),$=C(54360);function n(a,L=!1){return(0,y.N)((ae,K)=>{let se=0;ae.subscribe((0,$._)(K,fe=>{const le=a(fe,se++);(le||L)&&K.next(fe),!le&&K.complete()}))})}},88141:(De,A,C)=>{"use strict";C.d(A,{M:()=>L});var y=C(98071),$=C(39974),n=C(54360),a=C(33669);function L(ae,K,se){const fe=(0,y.T)(ae)||K||se?{next:ae,error:K,complete:se}:ae;return fe?(0,$.N)((le,de)=>{var Ve;null===(Ve=fe.subscribe)||void 0===Ve||Ve.call(fe);let Ee=!0;le.subscribe((0,n._)(de,qe=>{var Ge;null===(Ge=fe.next)||void 0===Ge||Ge.call(fe,qe),de.next(qe)},()=>{var qe;Ee=!1,null===(qe=fe.complete)||void 0===qe||qe.call(fe),de.complete()},qe=>{var Ge;Ee=!1,null===(Ge=fe.error)||void 0===Ge||Ge.call(fe,qe),de.error(qe)},()=>{var qe,Ge;Ee&&(null===(qe=fe.unsubscribe)||void 0===qe||qe.call(fe)),null===(Ge=fe.finalize)||void 0===Ge||Ge.call(fe)}))}):a.D}},23386:(De,A,C)=>{"use strict";C.d(A,{c:()=>K});var y=C(43236),$=C(39974),n=C(54360),a=C(58750),ae=C(41584);function K(se,fe=y.E,le){const de=(0,ae.O)(se,fe);return function L(se,fe){return(0,$.N)((le,de)=>{const{leading:Ve=!0,trailing:Ee=!1}=fe??{};let qe=!1,Ge=null,ht=null,at=!1;const Tt=()=>{ht?.unsubscribe(),ht=null,Ee&&(ze(),at&&de.complete())},dt=()=>{ht=null,at&&de.complete()},ft=B=>ht=(0,a.Tg)(se(B)).subscribe((0,n._)(de,Tt,dt)),ze=()=>{if(qe){qe=!1;const B=Ge;Ge=null,de.next(B),!at&&ft(B)}};le.subscribe((0,n._)(de,B=>{qe=!0,Ge=B,(!ht||ht.closed)&&(Ve?ze():ft(B))},()=>{at=!0,(!(Ee&&qe&&ht)||ht.closed)&&de.complete()}))})}(()=>de,le)}},93774:(De,A,C)=>{"use strict";C.d(A,{v:()=>a});var y=C(9350),$=C(39974),n=C(54360);function a(ae=L){return(0,$.N)((K,se)=>{let fe=!1;K.subscribe((0,n._)(se,le=>{fe=!0,se.next(le)},()=>fe?se.complete():se.error(ae())))})}function L(){return new y.G}},96780:(De,A,C)=>{"use strict";C.d(A,{R:()=>L});var y=C(18359);class $ extends y.yU{constructor(K,se){super()}schedule(K,se=0){return this}}const n={setInterval(ae,K,...se){const{delegate:fe}=n;return fe?.setInterval?fe.setInterval(ae,K,...se):setInterval(ae,K,...se)},clearInterval(ae){const{delegate:K}=n;return(K?.clearInterval||clearInterval)(ae)},delegate:void 0};var a=C(57908);class L extends ${constructor(K,se){super(K,se),this.scheduler=K,this.work=se,this.pending=!1}schedule(K,se=0){var fe;if(this.closed)return this;this.state=K;const le=this.id,de=this.scheduler;return null!=le&&(this.id=this.recycleAsyncId(de,le,se)),this.pending=!0,this.delay=se,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(de,this.id,se),this}requestAsyncId(K,se,fe=0){return n.setInterval(K.flush.bind(K,this),fe)}recycleAsyncId(K,se,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return se;null!=se&&n.clearInterval(se)}execute(K,se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(K,se);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(K,se){let le,fe=!1;try{this.work(K)}catch(de){fe=!0,le=de||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),le}unsubscribe(){if(!this.closed){const{id:K,scheduler:se}=this,{actions:fe}=se;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.o)(fe,this),null!=K&&(this.id=this.recycleAsyncId(se,K,null)),this.delay=null,super.unsubscribe()}}}},39687:(De,A,C)=>{"use strict";C.d(A,{q:()=>n});var y=C(86129);class ${constructor(L,ae=$.now){this.schedulerActionCtor=L,this.now=ae}schedule(L,ae=0,K){return new this.schedulerActionCtor(this,L).schedule(K,ae)}}$.now=y.U.now;class n extends ${constructor(L,ae=$.now){super(L,ae),this.actions=[],this._active=!1}flush(L){const{actions:ae}=this;if(this._active)return void ae.push(L);let K;this._active=!0;do{if(K=L.execute(L.state,L.delay))break}while(L=ae.shift());if(this._active=!1,K){for(;L=ae.shift();)L.unsubscribe();throw K}}}},30536:(De,A,C)=>{"use strict";C.d(A,{X:()=>K});var y=C(96780),$=C(18359);const n={schedule(fe){let le=requestAnimationFrame,de=cancelAnimationFrame;const{delegate:Ve}=n;Ve&&(le=Ve.requestAnimationFrame,de=Ve.cancelAnimationFrame);const Ee=le(qe=>{de=void 0,fe(qe)});return new $.yU(()=>de?.(Ee))},requestAnimationFrame(...fe){const{delegate:le}=n;return(le?.requestAnimationFrame||requestAnimationFrame)(...fe)},cancelAnimationFrame(...fe){const{delegate:le}=n;return(le?.cancelAnimationFrame||cancelAnimationFrame)(...fe)},delegate:void 0};var L=C(39687);const K=new class ae extends L.q{flush(le){this._active=!0;const de=this._scheduled;this._scheduled=void 0;const{actions:Ve}=this;let Ee;le=le||Ve.shift();do{if(Ee=le.execute(le.state,le.delay))break}while((le=Ve[0])&&le.id===de&&Ve.shift());if(this._active=!1,Ee){for(;(le=Ve[0])&&le.id===de&&Ve.shift();)le.unsubscribe();throw Ee}}}(class a extends y.R{constructor(le,de){super(le,de),this.scheduler=le,this.work=de}requestAsyncId(le,de,Ve=0){return null!==Ve&&Ve>0?super.requestAsyncId(le,de,Ve):(le.actions.push(this),le._scheduled||(le._scheduled=n.requestAnimationFrame(()=>le.flush(void 0))))}recycleAsyncId(le,de,Ve=0){var Ee;if(null!=Ve?Ve>0:this.delay>0)return super.recycleAsyncId(le,de,Ve);const{actions:qe}=le;null!=de&&(null===(Ee=qe[qe.length-1])||void 0===Ee?void 0:Ee.id)!==de&&(n.cancelAnimationFrame(de),le._scheduled=void 0)}})},25007:(De,A,C)=>{"use strict";C.d(A,{$:()=>qe});var y=C(96780);let n,$=1;const a={};function L(ht){return ht in a&&(delete a[ht],!0)}const ae={setImmediate(ht){const at=$++;return a[at]=!0,n||(n=Promise.resolve()),n.then(()=>L(at)&&ht()),at},clearImmediate(ht){L(ht)}},{setImmediate:se,clearImmediate:fe}=ae,le={setImmediate(...ht){const{delegate:at}=le;return(at?.setImmediate||se)(...ht)},clearImmediate(ht){const{delegate:at}=le;return(at?.clearImmediate||fe)(ht)},delegate:void 0};var Ve=C(39687);const qe=new class Ee extends Ve.q{flush(at){this._active=!0;const Tt=this._scheduled;this._scheduled=void 0;const{actions:dt}=this;let ft;at=at||dt.shift();do{if(ft=at.execute(at.state,at.delay))break}while((at=dt[0])&&at.id===Tt&&dt.shift());if(this._active=!1,ft){for(;(at=dt[0])&&at.id===Tt&&dt.shift();)at.unsubscribe();throw ft}}}(class de extends y.R{constructor(at,Tt){super(at,Tt),this.scheduler=at,this.work=Tt}requestAsyncId(at,Tt,dt=0){return null!==dt&&dt>0?super.requestAsyncId(at,Tt,dt):(at.actions.push(this),at._scheduled||(at._scheduled=le.setImmediate(at.flush.bind(at,void 0))))}recycleAsyncId(at,Tt,dt=0){var ft;if(null!=dt?dt>0:this.delay>0)return super.recycleAsyncId(at,Tt,dt);const{actions:ze}=at;null!=Tt&&(null===(ft=ze[ze.length-1])||void 0===ft?void 0:ft.id)!==Tt&&(le.clearImmediate(Tt),at._scheduled===Tt&&(at._scheduled=void 0))}})},43236:(De,A,C)=>{"use strict";C.d(A,{E:()=>n,b:()=>a});var y=C(96780);const n=new(C(39687).q)(y.R),a=n},86129:(De,A,C)=>{"use strict";C.d(A,{U:()=>y});const y={now:()=>(y.delegate||Date).now(),delegate:void 0}},19270:(De,A,C)=>{"use strict";C.d(A,{f:()=>y});const y={setTimeout($,n,...a){const{delegate:L}=y;return L?.setTimeout?L.setTimeout($,n,...a):setTimeout($,n,...a)},clearTimeout($){const{delegate:n}=y;return(n?.clearTimeout||clearTimeout)($)},delegate:void 0}},4761:(De,A,C)=>{"use strict";C.d(A,{l:()=>$});const $=function y(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(De,A,C)=>{"use strict";C.d(A,{s:()=>y});const y="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(De,A,C)=>{"use strict";C.d(A,{G:()=>$});const $=(0,C(81853).L)(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(De,A,C)=>{"use strict";C.d(A,{R0:()=>ae,lI:()=>L,ms:()=>a});var y=C(98071),$=C(79470);function n(K){return K[K.length-1]}function a(K){return(0,y.T)(n(K))?K.pop():void 0}function L(K){return(0,$.m)(n(K))?K.pop():void 0}function ae(K,se){return"number"==typeof n(K)?K.pop():se}},93073:(De,A,C)=>{"use strict";C.d(A,{D:()=>L});const{isArray:y}=Array,{getPrototypeOf:$,prototype:n,keys:a}=Object;function L(K){if(1===K.length){const se=K[0];if(y(se))return{args:se,keys:null};if(function ae(K){return K&&"object"==typeof K&&$(K)===n}(se)){const fe=a(se);return{args:fe.map(le=>se[le]),keys:fe}}}return{args:K,keys:null}}},57908:(De,A,C)=>{"use strict";function y($,n){if($){const a=$.indexOf(n);0<=a&&$.splice(a,1)}}C.d(A,{o:()=>y})},81853:(De,A,C)=>{"use strict";function y($){const a=$(L=>{Error.call(L),L.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}C.d(A,{L:()=>y})},58496:(De,A,C)=>{"use strict";function y($,n){return $.reduce((a,L,ae)=>(a[L]=n[ae],a),{})}C.d(A,{e:()=>y})},49786:(De,A,C)=>{"use strict";C.d(A,{Y:()=>n,l:()=>a});var y=C(41026);let $=null;function n(L){if(y.$.useDeprecatedSynchronousErrorHandling){const ae=!$;if(ae&&($={errorThrown:!1,error:null}),L(),ae){const{errorThrown:K,error:se}=$;if($=null,K)throw se}}else L()}function a(L){y.$.useDeprecatedSynchronousErrorHandling&&$&&($.errorThrown=!0,$.error=L)}},45225:(De,A,C)=>{"use strict";function y($,n,a,L=0,ae=!1){const K=n.schedule(function(){a(),ae?$.add(this.schedule(null,L)):this.unsubscribe()},L);if($.add(K),!ae)return K}C.d(A,{N:()=>y})},33669:(De,A,C)=>{"use strict";function y($){return $}C.d(A,{D:()=>y})},47441:(De,A,C)=>{"use strict";C.d(A,{X:()=>y});const y=$=>$&&"number"==typeof $.length&&"function"!=typeof $},37953:(De,A,C)=>{"use strict";C.d(A,{T:()=>$});var y=C(98071);function $(n){return Symbol.asyncIterator&&(0,y.T)(n?.[Symbol.asyncIterator])}},98071:(De,A,C)=>{"use strict";function y($){return"function"==typeof $}C.d(A,{T:()=>y})},55055:(De,A,C)=>{"use strict";C.d(A,{l:()=>n});var y=C(3494),$=C(98071);function n(a){return(0,$.T)(a[y.s])}},85397:(De,A,C)=>{"use strict";C.d(A,{x:()=>n});var y=C(4761),$=C(98071);function n(a){return(0,$.T)(a?.[y.l])}},74402:(De,A,C)=>{"use strict";C.d(A,{A:()=>n});var y=C(71985),$=C(98071);function n(a){return!!a&&(a instanceof y.c||(0,$.T)(a.lift)&&(0,$.T)(a.subscribe))}},59858:(De,A,C)=>{"use strict";C.d(A,{y:()=>$});var y=C(98071);function $(n){return(0,y.T)(n?.then)}},15196:(De,A,C)=>{"use strict";C.d(A,{C:()=>n,U:()=>a});var y=C(31635),$=C(98071);function n(L){return(0,y.AQ)(this,arguments,function*(){const K=L.getReader();try{for(;;){const{value:se,done:fe}=yield(0,y.N3)(K.read());if(fe)return yield(0,y.N3)(void 0);yield yield(0,y.N3)(se)}}finally{K.releaseLock()}})}function a(L){return(0,$.T)(L?.getReader)}},79470:(De,A,C)=>{"use strict";C.d(A,{m:()=>$});var y=C(98071);function $(n){return n&&(0,y.T)(n.schedule)}},39974:(De,A,C)=>{"use strict";C.d(A,{N:()=>n,S:()=>$});var y=C(98071);function $(a){return(0,y.T)(a?.lift)}function n(a){return L=>{if($(L))return L.lift(function(ae){try{return a(ae,this)}catch(K){this.error(K)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(De,A,C)=>{"use strict";C.d(A,{I:()=>a});var y=C(96354);const{isArray:$}=Array;function a(L){return(0,y.T)(ae=>function n(L,ae){return $(ae)?L(...ae):L(ae)}(L,ae))}},85343:(De,A,C)=>{"use strict";function y(){}C.d(A,{l:()=>y})},71203:(De,A,C)=>{"use strict";C.d(A,{F:()=>$,m:()=>n});var y=C(33669);function $(...a){return n(a)}function n(a){return 0===a.length?y.D:1===a.length?a[0]:function(ae){return a.reduce((K,se)=>se(K),ae)}}},45334:(De,A,C)=>{"use strict";C.d(A,{m:()=>n});var y=C(41026),$=C(19270);function n(a){$.f.setTimeout(()=>{const{onUnhandledError:L}=y.$;if(!L)throw a;L(a)})}},50591:(De,A,C)=>{"use strict";function y($){return new TypeError(`You provided ${null!==$&&"object"==typeof $?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}C.d(A,{L:()=>y})},99387:(De,A,C)=>{var y={"./root-activity.icon":82027,"./root-airplay.icon":57910,"./root-alert-circle.icon":50363,"./root-alert-octagon.icon":17036,"./root-alert-triangle.icon":40967,"./root-align-center.icon":83931,"./root-align-justify.icon":74388,"./root-align-left.icon":5443,"./root-align-right.icon":55910,"./root-anchor.icon":99823,"./root-aperture.icon":97148,"./root-apple.icon":64432,"./root-archive.icon":20054,"./root-arrow-down-circle.icon":51077,"./root-arrow-down-left.icon":77986,"./root-arrow-down-right.icon":65801,"./root-arrow-down.icon":84072,"./root-arrow-left-circle.icon":14108,"./root-arrow-left.icon":74927,"./root-arrow-right-circle.icon":88199,"./root-arrow-right.icon":9562,"./root-arrow-up-circle.icon":74548,"./root-arrow-up-left.icon":74971,"./root-arrow-up-right.icon":94078,"./root-arrow-up.icon":99431,"./root-at-sign.icon":63239,"./root-award.icon":55667,"./root-bandcamp.icon":14526,"./root-bar-chart-2.icon":52457,"./root-bar-chart.icon":80504,"./root-battery-charging.icon":87197,"./root-battery.icon":88967,"./root-bell-off.icon":4959,"./root-bell.icon":37707,"./root-bluetooth.icon":5842,"./root-bold.icon":77613,"./root-book-open.icon":3640,"./root-book.icon":95763,"./root-bookmark.icon":79660,"./root-box.icon":31755,"./root-briefcase.icon":88e3,"./root-calendar.icon":19570,"./root-calendly.icon":44866,"./root-camera-off.icon":66065,"./root-camera.icon":56649,"./root-cashapp.icon":42634,"./root-cast.icon":59897,"./root-check-circle.icon":745,"./root-check-square.icon":11e3,"./root-check.icon":33596,"./root-chevron-down.icon":5674,"./root-chevron-left.icon":56121,"./root-chevron-right.icon":49292,"./root-chevron-up.icon":60197,"./root-chevrons-down.icon":53341,"./root-chevrons-left.icon":10734,"./root-chevrons-right.icon":61933,"./root-chevrons-up.icon":79614,"./root-chrome.icon":24630,"./root-circle.icon":85556,"./root-clipboard.icon":53610,"./root-clock.icon":94730,"./root-cloud-drizzle.icon":16698,"./root-cloud-lightning.icon":31730,"./root-cloud-off.icon":27799,"./root-cloud-rain.icon":76706,"./root-cloud-snow.icon":777,"./root-cloud.icon":66243,"./root-clubhouse.icon":70040,"./root-code.icon":99323,"./root-codepen.icon":4668,"./root-codesandbox.icon":69948,"./root-coffee.icon":95096,"./root-columns.icon":56449,"./root-command.icon":59663,"./root-compass.icon":1784,"./root-copy.icon":51803,"./root-corner-down-left.icon":12822,"./root-corner-down-right.icon":30741,"./root-corner-left-down.icon":5152,"./root-corner-left-up.icon":42943,"./root-corner-right-down.icon":54343,"./root-corner-right-up.icon":95828,"./root-corner-up-left.icon":26583,"./root-corner-up-right.icon":97346,"./root-cpu.icon":54258,"./root-credit-card.icon":546,"./root-crop.icon":93722,"./root-crosshair.icon":98324,"./root-database.icon":48731,"./root-delete.icon":76485,"./root-disc.icon":59675,"./root-discord.icon":20784,"./root-divide-circle.icon":10728,"./root-divide-square.icon":28061,"./root-divide.icon":98459,"./root-dollar-sign.icon":41356,"./root-download-cloud.icon":65008,"./root-download.icon":7532,"./root-dribbble.icon":53822,"./root-droplet.icon":91417,"./root-edit-2.icon":52345,"./root-edit-3.icon":12600,"./root-edit.icon":86568,"./root-external-link.icon":54730,"./root-eye-off.icon":32339,"./root-eye.icon":74127,"./root-facebook.icon":74400,"./root-fast-forward.icon":4570,"./root-feather.icon":2173,"./root-figma.icon":46068,"./root-file-minus.icon":92153,"./root-file-plus.icon":78331,"./root-file-text.icon":82026,"./root-file.icon":99154,"./root-film.icon":14010,"./root-filter.icon":74346,"./root-flag.icon":10922,"./root-folder-minus.icon":54267,"./root-folder-plus.icon":44189,"./root-folder.icon":60836,"./root-framer.icon":98175,"./root-frown.icon":90796,"./root-gift.icon":90214,"./root-git-branch.icon":35461,"./root-git-commit.icon":90050,"./root-git-merge.icon":47819,"./root-git-pull-request.icon":54032,"./root-github.icon":33745,"./root-gitlab.icon":56273,"./root-globe.icon":8731,"./root-google.icon":77777,"./root-grid.icon":54388,"./root-hard-drive.icon":24528,"./root-hash.icon":59408,"./root-headphones.icon":68969,"./root-heart.icon":35776,"./root-help-circle.icon":77642,"./root-hexagon.icon":28512,"./root-home.icon":63557,"./root-image.icon":71603,"./root-inbox.icon":4452,"./root-info.icon":90004,"./root-instagram.icon":29732,"./root-italic.icon":11408,"./root-key.icon":40817,"./root-lastfm.icon":91507,"./root-layers.icon":27138,"./root-layout.icon":74698,"./root-life-buoy.icon":36496,"./root-link-2.icon":81869,"./root-link.icon":13076,"./root-linkedin.icon":75574,"./root-list.icon":9720,"./root-loader.icon":79253,"./root-lock.icon":9141,"./root-log-in.icon":97746,"./root-log-out.icon":78969,"./root-mail.icon":52473,"./root-map-pin.icon":39892,"./root-map.icon":84538,"./root-maximize-2.icon":66515,"./root-maximize.icon":56310,"./root-medium.icon":12697,"./root-meh.icon":19486,"./root-menu.icon":14605,"./root-message-circle.icon":76574,"./root-message-square.icon":16343,"./root-mic-off.icon":88237,"./root-mic.icon":94549,"./root-minimize-2.icon":14165,"./root-minimize.icon":56684,"./root-minus-circle.icon":13333,"./root-minus-square.icon":50516,"./root-minus.icon":41528,"./root-monitor.icon":38258,"./root-moon.icon":31643,"./root-more-horizontal.icon":3128,"./root-more-vertical.icon":83798,"./root-mouse-pointer.icon":46005,"./root-move.icon":18219,"./root-music.icon":73657,"./root-navigation-2.icon":18435,"./root-navigation.icon":11910,"./root-norby-ai.icon":68369,"./root-octagon.icon":86885,"./root-package.icon":87796,"./root-paperclip.icon":53932,"./root-patreon.icon":6855,"./root-pause-circle.icon":63103,"./root-pause.icon":17490,"./root-paypal.icon":78265,"./root-pen-tool.icon":20348,"./root-percent.icon":93343,"./root-phone-call.icon":28169,"./root-phone-forwarded.icon":37167,"./root-phone-incoming.icon":34345,"./root-phone-missed.icon":8614,"./root-phone-off.icon":30556,"./root-phone-outgoing.icon":71391,"./root-phone.icon":41788,"./root-pie-chart.icon":36193,"./root-pinterest.icon":97122,"./root-play-circle.icon":83367,"./root-play.icon":54074,"./root-plus-circle.icon":4557,"./root-plus-square.icon":5324,"./root-plus.icon":67280,"./root-pocket.icon":93118,"./root-power.icon":15263,"./root-printer.icon":66080,"./root-quote.icon":28568,"./root-radio.icon":82681,"./root-refresh-ccw.icon":12275,"./root-refresh-cw.icon":58056,"./root-repeat.icon":67173,"./root-rewind.icon":37313,"./root-rotate-ccw.icon":30523,"./root-rotate-cw.icon":29056,"./root-rss.icon":24984,"./root-save.icon":30235,"./root-scissors.icon":44905,"./root-search.icon":1828,"./root-send.icon":91246,"./root-server.icon":91805,"./root-settings.icon":46323,"./root-share-2.icon":89668,"./root-share.icon":14593,"./root-shield-off.icon":64287,"./root-shield.icon":72971,"./root-shopping-bag.icon":76069,"./root-shopping-cart.icon":82911,"./root-shuffle.icon":30263,"./root-sidebar.icon":56152,"./root-skip-back.icon":6131,"./root-skip-forward.icon":73785,"./root-slack.icon":60180,"./root-slash.icon":49603,"./root-sliders.icon":40306,"./root-smartphone.icon":20797,"./root-smile.icon":84888,"./root-soundcloud.icon":3044,"./root-speaker.icon":45943,"./root-spotify.icon":69026,"./root-square.icon":59449,"./root-star.icon":80388,"./root-stop-circle.icon":1121,"./root-sun.icon":76594,"./root-sunrise.icon":96897,"./root-sunset.icon":76186,"./root-tablet.icon":7968,"./root-tag.icon":78100,"./root-target.icon":34895,"./root-terminal.icon":21588,"./root-thermometer.icon":72968,"./root-threads.icon":95307,"./root-thumbs-down.icon":63612,"./root-thumbs-up.icon":58675,"./root-tiktok.icon":87110,"./root-toggle-left.icon":10334,"./root-toggle-right.icon":57373,"./root-tool.icon":98426,"./root-trash-2.icon":79747,"./root-trash.icon":96454,"./root-trello.icon":62526,"./root-trending-down.icon":51556,"./root-trending-up.icon":12027,"./root-triangle.icon":25252,"./root-truck.icon":98229,"./root-tv.icon":73994,"./root-twitch.icon":13209,"./root-twitter.icon":18381,"./root-type.icon":95852,"./root-umbrella.icon":75024,"./root-underline.icon":20256,"./root-unlock.icon":15912,"./root-upload-cloud.icon":34807,"./root-upload.icon":30243,"./root-user-check.icon":72734,"./root-user-minus.icon":20830,"./root-user-plus.icon":50758,"./root-user-x.icon":5310,"./root-user.icon":89677,"./root-users.icon":76124,"./root-venmo.icon":20823,"./root-video-off.icon":10713,"./root-video.icon":54481,"./root-voicemail.icon":2071,"./root-volume-1.icon":31400,"./root-volume-2.icon":70983,"./root-volume-x.icon":2225,"./root-volume.icon":45586,"./root-watch.icon":23633,"./root-website.icon":19419,"./root-wifi-off.icon":80655,"./root-wifi.icon":95195,"./root-wind.icon":99982,"./root-x-circle.icon":80741,"./root-x-octagon.icon":18474,"./root-x-social.icon":43024,"./root-x-square.icon":71460,"./root-x.icon":76680,"./root-youtube.icon":54675,"./root-zap-fill.icon":57093,"./root-zap-off.icon":40721,"./root-zap.icon":74838,"./root-zoom-in.icon":82351,"./root-zoom-out.icon":17390};function $(n){return Promise.resolve().then(()=>{if(!C.o(y,n)){var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a}return C(y[n])})}$.keys=()=>Object.keys(y),$.id=99387,De.exports=$},82260:(De,A,C)=>{"use strict";C.d(A,{P56:()=>va,rSH:()=>sa,WS6:()=>We,Ezh:()=>ge,TT7:()=>Et,$Id:()=>Hn,jsb:()=>en,OUt:()=>wi,Hsf:()=>ot,uZL:()=>_n,KXf:()=>Vt,V$P:()=>$o,TCs:()=>Be,J5N:()=>ro,moF:()=>Dc,uzT:()=>tn,MS9:()=>tt,Yzd:()=>we,v0h:()=>je,GHw:()=>Li,U6q:()=>Mi,ME8:()=>Bn,KKD:()=>Qn,KqJ:()=>Bi,Bb3:()=>oi,bdX:()=>pu,QZo:()=>L2,gdG:()=>Ag,Eif:()=>S1,ve_:()=>Dh,o_b:()=>Rr,x79:()=>ol,UEu:()=>pr,UCW:()=>jd,kGp:()=>$c,plM:()=>Cl,up4:()=>Su,dx0:()=>zs,hSD:()=>ip,qnL:()=>mr,Xz7:()=>kd,yDZ:()=>ml,m2u:()=>Nr,S$d:()=>ao,yZj:()=>Vs,YkL:()=>Va,aeB:()=>_a,nhB:()=>gd,hfw:()=>yn,FXh:()=>Cn,rvQ:()=>di,Hrf:()=>ri,xZi:()=>re,PlI:()=>On,Ruq:()=>Od,KdI:()=>Er,aB8:()=>nu,zJL:()=>ia,ulr:()=>Ni,lUn:()=>Ut,KZM:()=>I,LPt:()=>Qu,zs:()=>Ct,All:()=>Oi,ioJ:()=>Ys,tBu:()=>v1,Dr3:()=>Pf,I3r:()=>cp,eSB:()=>an,zs1:()=>Os,GvY:()=>Ba,Hu4:()=>Wf,DC_:()=>Ju,GlY:()=>Vr,dGT:()=>Iu,ney:()=>gu,eXm:()=>Bo,tKb:()=>Nt,WGt:()=>ga,eX5:()=>hu,YeN:()=>im,QHT:()=>G2,Slh:()=>wo,mde:()=>ln,pkx:()=>Qi,chv:()=>ut,BTN:()=>Is,ZYp:()=>vd,sEL:()=>wa,mf1:()=>Nd,xqq:()=>nn,_yM:()=>Po,iTi:()=>qt,FvU:()=>Gs,qYC:()=>fu,nbi:()=>Ft,V9J:()=>Ln,kdQ:()=>Vi,ZTY:()=>Ke,w4e:()=>wt,w7I:()=>be,yF0:()=>gn,QjI:()=>xt,sDb:()=>nc,p3X:()=>hr,Bmh:()=>xo,pKk:()=>S2,f5b:()=>T2,tq0:()=>k2,eMt:()=>iu,baN:()=>Cg,FQd:()=>Ns,Ouu:()=>Ds,bS6:()=>Gl,GcS:()=>_1,X0l:()=>Fc,gu4:()=>yo,VqS:()=>Ic,Sxu:()=>Vc,SCb:()=>Bc,DHo:()=>Ov,DbC:()=>Io,Q7J:()=>wn,w04:()=>Hu,Fmz:()=>y1,wH5:()=>rr,wQA:()=>fa,Pfe:()=>z,sLo:()=>qn,hpO:()=>Re,dWo:()=>id,c_Y:()=>Ia,lwl:()=>d0,hlY:()=>Ye,w9V:()=>H,sao:()=>Pc,r8g:()=>Wa,_$T:()=>Bl,kt5:()=>Al,GIp:()=>E0,HPh:()=>X2,_wX:()=>Ug,TDx:()=>E,Wom:()=>h,uTf:()=>$g,nCK:()=>m,zW0:()=>Ma,qvj:()=>xr,r5A:()=>gl,gV1:()=>bo,n4R:()=>Rc,SDw:()=>ir,AEw:()=>Il,YZz:()=>Qo,_4n:()=>Ce,BdH:()=>Ll,ETW:()=>ue,zgz:()=>Fo,oFP:()=>up,doO:()=>C1,E8H:()=>J4,z1s:()=>x2,pZ4:()=>Uf,tAT:()=>Gf,qJ4:()=>wg,CoZ:()=>Z4,iIQ:()=>p0,HtL:()=>b1,vh$:()=>I2,D3C:()=>Kl,Dog:()=>it,xHs:()=>rc,oJg:()=>ah,XR9:()=>vu,TWm:()=>kn,WVF:()=>Gd,lVl:()=>U1,sb2:()=>ee,OKj:()=>nl,rWn:()=>ad,KP_:()=>Je,KbU:()=>lh,haU:()=>pi,Qcm:()=>pn,cUV:()=>W,zST:()=>At,Bnw:()=>da,SyX:()=>J,aA4:()=>Z,PeO:()=>_u,b6t:()=>Yr,WqT:()=>J8,TJj:()=>Tg,yOE:()=>Ka,gZm:()=>Do});var y=C(31635),$=C(75314);function n(g,D={}){return function(R,q){$.s.addTransformMetadata({target:R.constructor,propertyName:q,transformFn:g,options:D})}}function a(g,D={}){return function(R,q){const ce=Reflect.getMetadata("design:type",R,q);$.s.addTypeMetadata({target:R.constructor,propertyName:q,reflectedType:ce,typeFunction:g,options:D})}}var L=C(54626);function ae(g={}){return function(D,R){$.s.addExcludeMetadata({target:D instanceof Function?D:D.constructor,propertyName:R,options:g})}}function K(g={}){return function(D,R){$.s.addExposeMetadata({target:D instanceof Function?D:D.constructor,propertyName:R,options:g})}}var se=C(73273),fe=C(67374),le=C(93953),de=C(85164),Ve=C(55180),Ee=C(89417),qe=C(84412),Ge=C(50902),ht=C(32900),at=C(34543),Tt=C(24955),dt=C(27530),ft=C(2606),ze=C(47987),B=C(60177);const be={website:{icon:"website",placeholder:"https://www.you.com",label:"Website",color:"#000"},twitter:{icon:"twitter",placeholder:"https://twitter.com/you",label:"Twitter",color:"#1DA1F2"},instagram:{icon:"instagram",placeholder:"https://instagram.com/you",label:"Instagram",color:"#405DE6"},linkedIn:{icon:"linkedin",placeholder:"https://linkedin.com/in/you",label:"LinkedIn",color:"#0e76a8"},facebook:{icon:"facebook",placeholder:"https://facebook.com/you",label:"Facebook",color:"#3b5998"},youtube:{icon:"youtube",placeholder:"https://youtube.com/channel/you",label:"YouTube",color:"#c4302b"},tiktok:{icon:"tiktok",placeholder:"https://tiktok.com/@you",label:"TikTok",color:"#EE1D52"},soundcloud:{icon:"soundcloud",placeholder:"https://soundcloud.com/you",label:"SoundCloud",color:"#ff7700"},clubhouse:{icon:"clubhouse",placeholder:"https://joinclubhouse.com/you",label:"Clubhouse",color:"#f2d878"},twitch:{icon:"twitch",placeholder:"https://twitch.tv/you",label:"Twitch",color:"#6441a5"},spotify:{icon:"spotify",placeholder:"https://spotify.com/you",label:"Spotify",color:"#1DB954"},apple:{icon:"apple",placeholder:"https://podcasts.apple.com/you",label:"Apple",color:"#f94c57"},medium:{icon:"medium",placeholder:"https://medium.com/@you",label:"Medium",color:"#34a245"},github:{icon:"github",placeholder:"https://github.com/you",label:"GitHub",color:"#24292e"},dribbble:{icon:"dribbble",placeholder:"https://dribbble.com/you",label:"Dribbble",color:"#ea4c89"},patreon:{icon:"patreon",placeholder:"https://patreon.com/you",label:"Patreon",color:"#f96854"},discord:{icon:"discord",placeholder:"https://you.discord.com/",label:"Discord",color:"#5865F2"},pinterest:{icon:"pinterest",placeholder:"https://pinterest.com/you",label:"Pinterest",color:"#E60023"},bandcamp:{icon:"bandcamp",placeholder:"https://bandcamp.com/you",label:"Bandcamp",color:"#629aa9"},venmo:{icon:"venmo",placeholder:"https://venmo.com/you",label:"Venmo",color:"#3d95ce"},cashapp:{icon:"cashapp",placeholder:"https://cashapp.com/you",label:"Cash App",color:"#00C244"},paypal:{icon:"paypal",placeholder:"https://paypal.me/you",label:"PayPal",color:"#3b7bbf"},lastfm:{icon:"lastfm",placeholder:"https://last.fm/you",label:"last.fm",color:"#d50000"},threads:{icon:"threads",placeholder:"https://www.threads.net/you",label:"Threads",color:"#5E4CCA"},x:{icon:"x_social",placeholder:"https://x.com/you",label:"X",color:"#000000"}},Pe=["Red","Green","Blue","Brown","Yellow","Orange","Purple","Indigo","Violet","Teal","Pink","Magenta","Aqua","Chartreuse","Crimson","Cyan","Fuchsia","Maroon","Silver","Gold","Turquoise","Navy"],et=["Giraffe","Hippo","Tiger","Zebra","Antelope","Robot","Lion","Turkey","Squirrel","Panda","Raccoon","Wolf","Owl","Turtle","Alligator","Rabbit","Dinosaur","Leopard","Falcon","Shark","Whale","Koala","Walrus","Camel","Bear","Coyote","Chimpanzee","Walrus","Elephant","Dolphin","Kangaroo","Otter","Badger","Frog"],z={US:{label:"United States",value:1,flag:"\u{1f1fa}\u{1f1f8}",regex:/^\d{10}$/,placeholder:"(123) 456-7890"},CA:{label:"Canada",value:1,flag:"\u{1f1e8}\u{1f1e6}",regex:/^\d{10}$/,placeholder:"(123) 456-7890"},AU:{label:"Australia",value:61,flag:"\u{1f1e6}\u{1f1fa}",regex:/^\d{8,14}$/,placeholder:"(01) 2345-6789"},AT:{label:"Austria",value:43,flag:"\u{1f1e6}\u{1f1f9}",regex:/^\d{8,14}$/,placeholder:"(0) 1 512 3457"},MX:{label:"Mexico",value:52,flag:"\u{1f1f2}\u{1f1fd}",regex:/^\d{8,14}$/,placeholder:"222 123 4567"},NL:{label:"Netherlands",value:31,flag:"\u{1f1f3}\u{1f1f1}",regex:/^\d{8,14}$/,placeholder:"06 12345678"},SE:{label:"Sweden",value:46,flag:"\u{1f1f8}\u{1f1ea}",regex:/^\d{8,14}$/,placeholder:"070-123 45 67"},UK:{label:"United Kingdom",value:44,flag:"\u{1f1ec}\u{1f1e7}",regex:/^\d{8,14}$/,placeholder:"07400 123456"}},rt=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,24}(:[0-9]{1,5})?(\/.*)?$/,Ke=/^\w{1,16}$/,Xe=/^(https?\:\/\/)?(www\.)?(youtube\.com|youtu\.be)\/.+$/,Rt=/^[a-zA-Z0-9\s]+$/,Vt=[{name:"Circle",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fcircle.svg?alt=media&token=1c8d5058-6f0f-4083-959e-01343b9dca6d"},{name:"Burst",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fburst.svg?alt=media&token=04696d8f-7839-4964-8466-31e1801c0d12"},{name:"Cloud",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fcloud.svg?alt=media&token=427a7648-ffe5-40d6-b1cd-9fe83f8834c0"},{name:"Heart",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fheart.svg?alt=media&token=41a606d1-7a82-4046-a346-1ff41c5acd0f"},{name:"Orbit",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Forbit.svg?alt=media&token=277f3dcc-3536-4cc7-8cd1-2e36fd37b704"},{name:"Star 1",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fstar1.svg?alt=media&token=e1ad2c63-bfcf-4dd9-adad-89282a68d3d0"},{name:"Star 2",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fstar2.svg?alt=media&token=b7cc5ca8-28b8-49eb-a096-fa045269e887"},{name:"Star 3",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fstar3.svg?alt=media&token=0110702b-6b00-4c00-9a32-a7152a0d3f84"},{name:"Blob",url:"https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/shapes%2Fblob.svg?alt=media&token=bb470e1c-81b8-40df-a2f9-b3558d484153"}],_n=["linear-gradient(90deg, hsla(152, 100%, 50%, 1) 0%, hsla(186, 100%, 69%, 1) 100%)","linear-gradient(90deg, hsla(217, 100%, 50%, 1) 0%, hsla(186, 100%, 69%, 1) 100%)","linear-gradient(90deg, hsla(339, 100%, 55%, 1) 0%, hsla(197, 100%, 64%, 1) 100%)","linear-gradient(90deg, hsla(197, 100%, 63%, 1) 0%, hsla(294, 100%, 55%, 1) 100%)","linear-gradient(90deg, hsla(33, 100%, 53%, 1) 0%, hsla(58, 100%, 68%, 1) 100%)","linear-gradient(90deg, hsla(333, 100%, 53%, 1) 0%, hsla(33, 94%, 57%, 1) 100%)","linear-gradient(90deg, hsla(284, 100%, 53%, 1) 0%, hsla(77, 100%, 64%, 1) 100%)","linear-gradient(90deg, hsla(94, 100%, 70%, 1) 0%, hsla(0, 100%, 77%, 1) 100%)","linear-gradient(90deg, hsla(141, 81%, 87%, 1) 0%, hsla(41, 88%, 75%, 1) 50%, hsla(358, 82%, 71%, 1) 100%)","linear-gradient(90deg, hsla(141, 54%, 86%, 1) 0%, hsla(333, 73%, 85%, 1) 50%, hsla(211, 58%, 79%, 1) 100%)","linear-gradient(90deg, hsla(179, 83%, 64%, 1) 0%, hsla(338, 75%, 64%, 1) 50%, hsla(14, 92%, 86%, 1) 100%)","linear-gradient(90deg, hsla(187, 82%, 65%, 1) 0%, hsla(65, 77%, 63%, 1) 50%, hsla(327, 67%, 74%, 1) 100%)","radial-gradient(circle at center center, rgb(8, 80, 120) 8%, rgb(133, 216, 206) 99%)"],oi=[{importUrl:null,fontFamily:"",fontSize:null,displayName:"Default",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Abel&display=swap",fontFamily:'"Abel", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FAbel.png?alt=media&token=09377074-00b1-442d-a270-42c1d8b758b0",displayName:"Abel",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap",fontFamily:'"Abril Fatface", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FAbril%20Fatface.png?alt=media&token=475fe579-892d-4322-8976-c32ed4820adb",displayName:"Abril Fatface",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Akaya+Telivigala&display=swap",fontFamily:'"Akaya Telivigala", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Fakaya.png?alt=media&token=7bf5e777-4526-4302-a28b-998309e7ac90",displayName:"Akaya Telivigala",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Anton&display=swap",fontFamily:'"Anton", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FAnton.png?alt=media&token=a38f9e63-5bd5-4c48-ac0f-b5a5284e43c8",displayName:"Anton",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Antonio:wght@400;700&display=swap",fontFamily:'"Antonio", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FAntonio.png?alt=media&token=c5eae4cc-378b-495e-9c74-1f69fe6ad888",displayName:"Antonio",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Arvo", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FArvo.png?alt=media&token=c8061ac8-a6b7-43f9-868a-8b3515f23fbe",displayName:"Arvo",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Barlow", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FBarlow.png?alt=media&token=6a31d028-62cb-44a0-a7f6-e97023818931",displayName:"Barlow",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap",fontFamily:'"Bebas Neue", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Fbebas.png?alt=media&token=3617be9e-ce5e-42df-b5db-c5b1f01154b1",displayName:"Bebas Neue",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap",fontFamily:'"Comfortaa", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FComfortaa.png?alt=media&token=0210eb4a-4689-44c5-bf22-1ec3ddc46cd6",displayName:"Comfortaa",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Cormorant Garamond", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FCormorant%20Garamond.png?alt=media&token=8d392c8a-e3a8-4fe9-ad7c-19bd109f8e8b",displayName:"Cormorant Garamond",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap",fontFamily:'"Dancing Script", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Fdancing.png?alt=media&token=0ee0ef9d-160b-4d38-806b-c1f427b8128a",displayName:"Dancing Script",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;1,400;1,600&display=swap",fontFamily:'"Fira Sans", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Ffira.png?alt=media&token=2c1ff32c-ff2f-4f3d-841f-70ccb3ed0a6d",displayName:"Fira Sans",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap",fontFamily:'"Fugaz One", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FFugaz%20One.png?alt=media&token=4d1b24c1-f096-448f-8590-ca6317efdd31",displayName:"Fugaz One",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap",fontFamily:'"Homemade Apple", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Fhomemadeapple.png?alt=media&token=22ed12aa-f21c-45d9-9342-69d64e7a6e15",displayName:"Homemade Apple",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap",fontFamily:'"Inconsolata", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FInconsolata.png?alt=media&token=fa4f7a57-8ce3-461f-b8f0-93f219e65406",displayName:"Inconsolata",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap",fontFamily:'"Inter", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FInter.png?alt=media&token=51c2f922-3996-4ed7-85b8-a7d127dbbdca",displayName:"Inter",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Josefin Sans", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FJosefin%20Sans.png?alt=media&token=19ae6a66-68a9-421b-bf7c-e58a06c5ff76",displayName:"Josefin Sans",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Karla", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FKarla.png?alt=media&token=1c5a24d1-a2f8-4221-ac70-ccd68479b885",displayName:"Karla",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Krona+One&display=swap",fontFamily:'"Krona One", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FKrona%20One.png?alt=media&token=41b4cd03-832b-451e-a3d1-9841ce60a775",displayName:"Krona One",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Lato", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FLato.png?alt=media&token=44a70189-f5e5-46f2-99bd-677b74369f80",displayName:"Lato",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap",fontFamily:'"Lexend", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FLexend.png?alt=media&token=e97a9a9a-5829-4756-b186-96e8eb54cccc",displayName:"Lexend",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap",fontFamily:'"Libre Baskerville", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FLibre%20Baskerville.png?alt=media&token=014e9bbf-6864-4f90-81ad-87a785977ceb",displayName:"Libre Baskerville",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Lobster&display=swap",fontFamily:'"Lobster", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FLobster.png?alt=media&token=3f1aeed9-2c68-4c75-a927-496627bde60b",displayName:"Lobster",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Lora", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FLora.png?alt=media&token=ccdb344a-3102-4c68-ac3e-ac9b33e7eccc",displayName:"Lora",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Merriweather", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FMerriweather.png?alt=media&token=aded150f-7dc6-4d27-a389-a85a9dd3bd88",displayName:"Merriweather",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Montserrat", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FMontserrat.png?alt=media&token=d205ba41-b38e-4e0e-8c36-5fddf8eab40f",displayName:"Montserrat",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Nunito", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FNunito.png?alt=media&token=ee056bed-c69f-40ae-9083-d55e3b4af181",displayName:"Nunito",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Open Sans", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FOpen%20Sans.png?alt=media&token=46529e1d-2c13-4d31-968a-189548b01d33",displayName:"Open Sans",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap",fontFamily:'"Orbitron", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Forbitron.png?alt=media&token=6397f893-1361-4849-b753-da1646e215a7",displayName:"Orbitron",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Original+Surfer&display=swap",fontFamily:'"Original Surfer", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FOriginal%20Surfer.png?alt=media&token=dad9935d-c3dc-4677-af62-2120b235d2b0",displayName:"Original Surfer",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap",fontFamily:'"Oswald", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FOswald.png?alt=media&token=cc900521-94e7-4f19-b8d4-62ee13eefe3e",displayName:"Oswald",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Playfair Display", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FPlayfair%20Display.png?alt=media&token=9bce62fa-2b37-4547-871a-af4cc6b68b14",displayName:"Playfair Display",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Poppins", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FPoppins.png?alt=media&token=b431a3f7-03de-4692-a103-d76a136e32c8",displayName:"Poppins",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap",fontFamily:'"Prompt", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FPrompt.png?alt=media&token=68519970-8878-47f5-9a51-a447dc8f2f67",displayName:"Prompt",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"PT Serif", serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FPT%20Serif.png?alt=media&token=740373e6-5efc-4cbd-8f8f-61489c42b348",displayName:"PT Serif",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap",fontFamily:'"Quicksand", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FQuicksand.png?alt=media&token=8e1fe0c6-3ae0-4fce-9b6e-a54e3f7aa932",displayName:"Quicksand",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Raleway", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FRaleway.png?alt=media&token=1516eace-4ef6-4ce9-829a-ce38d32147bb",displayName:"Raleway",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Redressed&display=swap",fontFamily:'"Redressed", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FRedressed.png?alt=media&token=8c799708-c2e2-4973-b341-b82e82e45f8b",displayName:"Redressed",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Roboto", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FRoboto.png?alt=media&token=731ddc40-d910-45cb-98c9-01c156afdfe7",displayName:"Roboto",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Rubik", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FRubik.png?alt=media&token=7c8f7c8d-f2b6-4c7d-9ef0-1a8383857b76",displayName:"Rubik",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Source Code Pro", monospace',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FSource%20Code%20Pro.png?alt=media&token=99658925-e7d4-41c5-9bd4-0eade1a95b15",displayName:"Source Code Pro",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Titan+One&display=swap",fontFamily:'"Titan One", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Ftitan_one.png?alt=media&token=2a239ce2-12d1-412c-9372-e91b0a04ceaa",displayName:"Titan One",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,400;0,700;1,400;1,700&display=swap",fontFamily:'"Titillium Web", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Ftitillium.png?alt=media&token=7735b4fd-9542-4cbe-8a72-43c6ecf51f50",displayName:"Titillium Web",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Train+One&display=swap",fontFamily:'"Train One", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FTrain%20One.png?alt=media&token=cef34278-619e-421d-98e1-9cfdbe927610",displayName:"Train One",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Varela+Round&display=swap",fontFamily:'"Varela Round", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2Fvarela.png?alt=media&token=103e5114-085a-4925-8d47-191b5a005d72",displayName:"Varela Round",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap",fontFamily:'"Work Sans", sans-serif',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FWork%20Sans.png?alt=media&token=f4e24c33-3e65-4059-84e1-7f628dfbab7e",displayName:"Work Sans",isCustom:!1},{importUrl:"https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap",fontFamily:'"Zen Dots", cursive',imageUrl:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/fontnames%2FZen%20Dots.png?alt=media&token=0a208f38-3fd0-4f03-88d4-e64217a70d7f",displayName:"Zen Dots",isCustom:!1}],qn="https://help.withnorby.com/sms-email-variables-usage",Ni={pages:"landingPages",announcements:"announcements",contacts:"contacts",themes:"themes_v2",onboardingCopy:"onboardingCopy",static:"static",singleSends:"singleSends",slugs:{all:"slugs",metadata:"slugMetadata",requests:"slugRequests"},content:{all:"content",metadata:"contentMetadata",referrals:"contentReferrals",notifications:"contentNotifications",keywords:"contentKeywords"},users:{all:"users",metadata:"userMetadata",content:"userContent"}},Ci=g=>{const D=g?.value;if("string"==typeof D)return new Date(D);const R=D?.seconds??D?._seconds;return R?new se.Dc(R,(D?.nanoseconds??D?._nanoseconds)||0).toDate():D},oo=g=>{const D=g?.value,R=D?.seconds??D?._seconds,ce=R?new se.Dc(R,(D?.nanoseconds??D?._nanoseconds)||0).toDate():D;return ce?fe(ce):null};var vi=function(g){return g.FREE="free",g.STARTER="starter",g.GROWTH="basic",g.PRO="unlimited",g.ENTERPRISE="enterprise",g}(vi||{}),So=function(g){return g.MONTHLY="monthly",g.ANNUAL="annual",g}(So||{});let En=(()=>{class g{}return(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"scheduleAt",void 0),g})();var He=function(g){return g.VISA="VISA",g.MASTERCARD="MASTERCARD",g.AMERICANEXPRESS="AMERICANEXPRESS",g.DISCOVER="DISCOVER",g.DINERSCLUB="DINERSCLUB",g.JCB="JCB",g.MAESTRO="MAESTRO",g.UNIONPAY="UNIONPAY",g.DANKORT="DANKORT",g.FORBRUGSFORENINGEN="FORBRUGSFORENINGEN",g}(He||{});Object.values({[vi.FREE]:{type:vi.FREE,monthlyPrice:0,yearlyPrice:0,title:"Free",summary:"For experimenting and trying out ideas.",promo:null,features:["Custom link in bio and subdomain","Limited SMS notifications and alerts","Limited analytics","7 day message history","1 custom landing page","2 custom events","1 team member"]},[vi.STARTER]:{type:vi.STARTER,monthlyPrice:6,yearlyPrice:6,title:"Starter",summary:"For new projects and side hustles.",promo:null,features:["Custom link in bio and subdomain","Limited SMS notifications and alerts","Basic analytics","30 day message history","2 landing pages","3 events","1 team member"]},[vi.GROWTH]:{type:vi.GROWTH,monthlyPrice:39,yearlyPrice:29,title:"Growth",summary:"For side projects and new ideas.",promo:null,features:["Custom link in bio and subdomain","200 SMS & 25k email sends","Your own phone number","Detailed analytics","60 day message history","5 landing pages","Unlimited signups & events","3 team members"]},[vi.PRO]:{type:vi.PRO,monthlyPrice:99,yearlyPrice:79,title:"Pro",summary:"For entrepreneurs and small teams.",promo:null,features:["Custom link in bio and subdomain","2k SMS & 50k email sends","Your own phone number","Advanced analytics","Full message history","Unlimited landing pages","5 team members","Remove Norby branding"]}});const ri={support:{ticket:"support/ticket"},ai:{conversation:"/ai/conversation",shortener:"/message/shortener",exampleQuestions:"/ai/example_questions",categoryQuestions:"/ai/example_questions/category"},onboarding:{slugRequest:"v2/onboarding/slug_request",slugValidation:"onboarding/slug_valid",unauthorizedSlugRequest:"onboarding/unauthorized_slug_request",completeSlugRequest:"onboarding/complete_slug_provision",socialSlugRequest:"onboarding/social_login_slug_request"},singlesend:"/singlesend",singleSendV2:"/v2/singlesend",singleSendSummaryV2:"/v2/singlesend/summary",organization:{member:{invite:"/organization/member/invite",update:"/organization/member/update",remove:"/organization/member/remove",inviteAck:"/organization/member/invite_ack"},notificationSettings:"/organization/notification_settings",transferOwnership:"/organization/transfer_ownership",mailing:{replyTo:"/organization/mailing/reply_to"},sms:{alphaSender:"/organization/sms/alpha_sender"},account_settings:"/organization/account_settings",generate_api_key:"/organization/generate_api_key",brandRegistration:"/organization/sms/brand_registration",tollFreeRegistration:"/organization/sms/toll_free_registration",brandOtpVerification:"/organization/sms/brand_otp_verification",googleUserConsent:"/organization/google_user_consent"},content:{sampleCopy:"content/sample_copy"},event:"/event",link:"/link",landingPage:"/landing_page",signup:"/drop",newsletter:"/newsletter",analytics:{trackEntityInteraction:"/analytics/track_entity_interaction",beacon:"/beacon/interaction",trackProductAnalytics:"/analytics/track_product_analytics"},auth:{refresh:"/auth/refresh",google:"/auth/google",analytics:"/auth/analytics_token",search:"/v2/auth/search_key",stream:"/auth/stream_key",email:{promote:"/auth/email/promote"},login:{phone:{request:"/auth/phone/login/request",verify:"/auth/phone/login/verify"},email:{request:"/auth/email/login/request",verify:"/auth/email/login/verify"}},onboarding:{google:"/auth/google/onboarding"},logout:"/auth/logout",integration:"auth/integration_token",billing:"/auth/billing_token",calendar:"/auth/calendar_token"},contacts:{csvImport:"contact/import",csvImportV2:"/v2/contact/import",edit:"/contact"},search:{contacts:"/search/contacts",content:"/search/content",contactList:"/search/contact_list",singleSends:"/search/single_sends",exampleQuestions:"/search/admin/nlq_example_question"},integration:{accountIntegrations:"/integration",accountIntegrationsByType:"/integration/type",linkFacebook:"integration/auth/facebook",google:"integration/auth/google",accountIntegrationJob:"integration/job",linkShopify:"integration/auth/shopify/app_store/link_account"},featureFlags:"/feature_flag",segment:{preview:"/segment/preview"}},Bi={userClickedPreEventCta:"userClickedPreEventCta",userClickedPostEventCta:"userClickedPostEventCta",userSavedToGcal:"userSavedToGcal",userSavedToIcal:"userSavedToIcal",userTappedShare:"userTappedShare",userTappedDonate:"userTappedDonate"},wi={userBeganLoginFlow:"userBeganLoginFlow",userFinishedLoginFlow:"userFinishedLoginFlow",userBeganRegisterForDropFlow:"userBeganRegisterForDropFlow",userFinishedRegisterForDropFlow:"userFinishedRegisterForDropFlow",userBeganRegisterForEventFlow:"userBeganRegisterForEventFlow",userFinishedRegisterForEventFlow:"userFinishedRegisterForEventFlow",userBeganRegisterForNewsletterFlow:"userBeganRegisterForNewsletterFlow",userFinishedRegisterForNewsletterFlow:"userFinishedRegisterForNewsletterFlow"},Li={userBeganCreateLinkFlow:"userBeganCreateLinkFlow",userFinishedCreateLinkFlow:"userFinishedCreateLinkFlow",userBeganEditLinkFlow:"userBeganEditLinkFlow",userFinishedEditLinkFlow:"userFinishedEditLinkFlow",userBeganDuplicateLinkFlow:"userBeganDuplicateLinkFlow",userFinishedDuplicateLinkFlow:"userFinishedDuplicateLinkFlow",userBeganCreateEventFlow:"userBeganCreateEventFlow",userFinishedCreateEventFlow:"userFinishedCreateEventFlow",userBeganEditEventFlow:"userBeganEditEventFlow",userFinishedEditEventFlow:"userFinishedEditEventFlow",userBeganDuplicateEventFlow:"userBeganDuplicateEventFlow",userFinishedDuplicateEventFlow:"userFinishedDuplicateEventFlow",userBeganCreateCollectionFlow:"userBeganCreateCollectionFlow",userFinishedCreateCollectionFlow:"userFinishedCreateCollectionFlow",userBeganEditCollectionFlow:"userBeganEditCollectionFlow",userFinishedEditCollectionFlow:"userFinishedEditCollectionFlow",userBeganDuplicateCollectionFlow:"userBeganDuplicateCollectionFlow",userFinishedDuplicateCollectionFlow:"userFinishedDuplicateCollectionFlow",userBeganCreateDropFlow:"userBeganCreateDropFlow",userFinishedCreateDropFlow:"userFinishedCreateDropFlow",userBeganEditDropFlow:"userBeganEditDropFlow",userFinishedEditDropFlow:"userFinishedEditDropFlow",userBeganDuplicateDropFlow:"userBeganDuplicateDropFlow",userFinishedDuplicateDropFlow:"userFinishedDuplicateDropFlow",userBeganCreateNewsletterFlow:"userBeganCreateNewsletterFlow",userFinishedCreateNewsletterFlow:"userFinishedCreateNewsletterFlow",userBeganEditNewsletterFlow:"userBeganEditNewsletterFlow",userFinishedEditNewsletterFlow:"userFinishedEditNewsletterFlow",userBeganDuplicateNewsletterFlow:"userBeganDuplicateNewsletterFlow",userFinishedDuplicateNewsletterFlow:"userFinishedDuplicateNewsletterFlow",userBeganEditSingleSendFlow:"userBeganEditSingleSendFlow",userFinishedEditSingleSendFlow:"userFinishedEditSingleSendFlow",userUploadedMmsAttachmentsToSignup:"userUploadedMmsAttachmentsToSignup",userUploadedMmsAttachmentsToEvent:"userUploadedMmsAttachmentsToEvent",userUploadedMmsAttachmentsToSingleSend:"userUploadedMmsAttachmentsToSingleSend",userUploadedMmsAttachmentsToContentNotification:"userUploadedMmsAttachmentsToContentNotification"},Vi={userBeganAskAnExpertFlow:"userBeganAskAnExpertFlow",userFinishedAskAnExpertFlow:"userFinishedAskAnExpertFlow",userUpdatedSlug:"userUpdatedSlug",userBeganIntegrationFlow:"userBeganIntegrationFlow",addedZoomToEvent:"addedZoomToEvent",removedZoomFromEvent:"removedZoomFromEvent",userAppliedTheme:"userAppliedTheme",userBeganInviteTeamMemberFlow:"userBeganInviteTeamMemberFlow",userFinishedInviteTeamMemberFlow:"userFinishedInviteTeamMemberFlow",userUploadedContactsCsv:"userUploadedContactsCsv"},Hn=(new le.nKC("REQUEST"),new le.nKC("RESPONSE"),"analytics_api_url_token"),qt="root_host_token",Cn="embeds_url_token",Bn="cookie_prefix_token",xt="stripe_client_key_token",en="api_url_token",ot="auth_api_url_token",Ct="gtm_id",tn="chameleon_api_key",tt="chameleon_fast_url",ut="profitwell_api_key",Et="analytics_tracking_debug_mode",gn="socket_server_url_token",Ut="font_bucket_token",Qn="cors_anywhere_url_token",Nt="mms_attachment_bucket_token",Be="billing_portal_url_token",we="cloud_functions_url_token",H="zapier_url_token",re="end_user_api_url_token",ge="analytics_api_url_token",We="admin_nlq_api_url_token",Ft="screenshot_api_url_token",an="is_norby_next_token",yn={event:{type:"event",variants:{card:"card",main:"register",share:"share"}},drop:{type:"drop",variants:{card:"card",main:"register",share:"share",scroll:"scroll"}},page:{type:"page"}},di="norby-embed",Qi="https://www.withnorby.com/legal/privacy",yo="https://www.withnorby.com/legal/terms",ro="https://firebasestorage.googleapis.com/v0/b/magic-sauce-assets/o/builtwithnorbyhorizontal.png?alt=media&token=bdc87543-1750-4bdb-bbb9-be8649e09295",ln=10,On=5,Ln=400,Po=["administrator","editor","contributor"],Oi=[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"}],mr=[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"}],Bo=[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"},{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:15,label:"15"},{value:16,label:"16"},{value:17,label:"17"},{value:18,label:"18"},{value:19,label:"19"},{value:20,label:"20"},{value:21,label:"21"},{value:22,label:"22"},{value:23,label:"23"},{value:24,label:"24"},{value:25,label:"25"},{value:26,label:"26"},{value:27,label:"27"},{value:28,label:"28"},{value:29,label:"29"},{value:30,label:"30"},{value:31,label:"31"},{value:32,label:"32"},{value:33,label:"33"},{value:34,label:"34"},{value:35,label:"35"},{value:36,label:"36"},{value:37,label:"37"},{value:38,label:"38"},{value:39,label:"39"},{value:40,label:"40"},{value:41,label:"41"},{value:42,label:"42"},{value:43,label:"43"},{value:44,label:"44"},{value:45,label:"45"},{value:46,label:"46"},{value:47,label:"47"},{value:48,label:"48"},{value:49,label:"49"},{value:50,label:"50"},{value:51,label:"51"},{value:52,label:"52"},{value:53,label:"53"},{value:54,label:"54"},{value:55,label:"55"},{value:56,label:"56"},{value:57,label:"57"},{value:58,label:"58"},{value:59,label:"59"}],wo=[{multiplier:-1,label:"minutes"},{multiplier:-60,label:"hours"},{multiplier:-1440,label:"days"}],Io={analytics:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FAnalytics.png?alt=media&token=cf396031-703d-427f-8b3c-1e537dbd0094",events:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FEvents.png?alt=media&token=2a2d41dd-93ed-4d35-a13c-283123d84365",forms:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FForms.png?alt=media&token=b5a9b55b-c0d9-474a-9de4-ba9d3ef2681a",landingPages:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FLanding%20pages.png?alt=media&token=3c676d3c-7486-493c-808e-c005c81cf99e",messaging:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FMessaging.png?alt=media&token=846e4821-86f1-4455-8bab-082b96de8170",marketing:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FSMS%20%26%20Email%20Marketing.png?alt=media&token=771149ad-41d4-4948-98a1-96b57dc76021",signups:"https://firebasestorage.googleapis.com/v0/b/magic-sauce.appspot.com/o/images%2Fmocks%2FSignups.png?alt=media&token=ae6c8d2b-307d-4c42-aa49-a2ca6dae0dad"},ga=10,sa=["image/jpeg","image/jpg","image/gif","image/png","audio/basic","audio/L24","audio/mp4","audio/mpeg","audio/ogg","audio/vnd.rn-realaudio","audio/vnd.wave","audio/3gpp","audio/3gpp2","audio/ac3","audio/webm","audio/amr-nb","audio/amr","video/mpeg","video/mp4","video/quicktime","video/webm","video/3gpp","video/3gpp2","video/3gpp-tt","video/H261","video/H263","video/H263-1998","video/H263-2000","video/H264","image/bmp","image/tiff","text/vcard","text/x-vcard","text/csv","text/rtf","text/richtext","text/calendar","text/directory","application/pdf","application/vcard"].join(","),va=(["image/jpeg","image/jpg","image/png","image/bmp","image/vnd.microsoft.icon"].join(","),["image/jpeg","image/jpg","image/gif","image/png","image/bmp","image/tiff"].join(",")),Va=42,ao=16,Nr=16,ml=11,Vs="center",_a=688,ia="https://norby.imgix.net/https%3A%2F%2Ffirebasestorage.googleapis.com%2Fv0%2Fb%2Fmagic-sauce.appspot.com%2Fo%2FdefaultOnboardingAvatar.jpeg%3Falt%3Dmedia%26token%3D27e5fd1a-4bd1-47c3-ad28-2a83e74ad751?ixlib=js-2.3.2&fit=clip&w=1600&auto=compress%2Cformat&fm=webp%2Cjp2&s=4412b27394247426f14629dc6f8e0c9d";var Gs=function(g){return g.CLASSIC_LEFT="classicLeft",g.CLASSIC_RIGHT="classicRight",g.CLASSIC_VERTICAL="classicVertical",g.LARGE_IMAGE="largeImage",g.FULL_WIDTH_IMAGE="fullWidthImage",g.INFO_PANEL="infoPanel",g.LARGE_HEADER="largeHeader",g}(Gs||{});const wt="social-login-onboarding-token-flag",nn="refresh-token-flag",wn="temp-userContent",Mi="temp-content";var $o=function(g){return g.API="api",g.AUTH="auth",g.BILLING="billing",g.END_USER="end-user",g.ANALYTICS="analytics-worker",g.ADMIN_NLQ="admin-nlq",g}($o||{});const ir=g=>{const D=Qo(g||"Anonymous"),R=js(D),q=ms(D);return{label:`Anonymous ${q} ${R}`,color:q.toLowerCase()}},ms=g=>Pe[g%(Pe.length-1)],js=g=>et[g%(et.length-1)],Qo=g=>{let D=0;for(let R=0;R<g?.length;R++)D=(D<<5)-D+g.charCodeAt(R),D|=0;return Math.abs(D)},lr=g=>Array(g).fill(0),Bs=/(\d{1,4})/g,oa=[...lr(4)," ",...lr(4)," ",...lr(4)," ",...lr(4)," ",...lr(3)],is=[...lr(4)," ",...lr(4)," ",...lr(4)," ",...lr(4)],Sd=[...lr(4)," ",...lr(6)," ",...lr(4)],Fl=[...lr(4)," ",...lr(6)," ",...lr(5)],Ll=(Object.freeze([{type:He.VISA,patterns:[4],format:Bs,mask:is.join(""),length:[13,16,19],cvvLength:[3],luhn:!0},{type:He.MAESTRO,patterns:[5018,502,503,506,56,58,639,6220,67],format:Bs,mask:oa.join(""),length:[12,13,14,15,16,17,18,19],cvvLength:[3],luhn:!0},{type:He.FORBRUGSFORENINGEN,patterns:[600],format:Bs,mask:is.join(""),length:[16],cvvLength:[3],luhn:!0},{type:He.DANKORT,patterns:[5019],format:Bs,mask:is.join(""),length:[16],cvvLength:[3],luhn:!0},{type:He.MASTERCARD,patterns:[51,52,53,54,55,22,23,24,25,26,27],format:Bs,mask:is.join(""),length:[16],cvvLength:[3],luhn:!0},{type:He.AMERICANEXPRESS,patterns:[34,37],format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,mask:Fl.join(""),length:[15],cvvLength:[3,4],luhn:!0},{type:He.DINERSCLUB,patterns:[30,36,38,39],format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,mask:Sd.join(""),length:[14],cvvLength:[3],luhn:!0},{type:He.DISCOVER,patterns:[60,64,65,622],format:Bs,mask:is.join(""),length:[16],cvvLength:[3],luhn:!0},{type:He.UNIONPAY,patterns:[62,88],format:Bs,mask:oa.join(""),length:[16,17,18,19],cvvLength:[3],luhn:!1},{type:He.JCB,patterns:[35],format:Bs,mask:oa.join(""),length:[16,19],cvvLength:[3],luhn:!0}]),typeof window<"u");function Vl(g){return g?.length>0?g.replace(/<.*?>/g,""):g}const Bl=(g,D)=>({key:g,icon:be[g]?.icon,label:be[g]?.label,url:D?.links?.[g]}),Wa=g=>{const D=Object.keys(g)[0];return{key:D,icon:be[D]?.icon,label:be[D]?.label||"Unknown",url:g?.[D]||""}},gl=(g,D)=>g?.theme?.layout?.backgroundColor?`background-color: ${g.theme.layout.backgroundColor}`:g?.theme?.layout?.backgroundGradient?`background: ${g.theme.layout.backgroundGradient}`:g?.theme?.layout?.backgroundImage?.url?`background-image: url(${g.theme.layout.backgroundImage.url})`:D?.layout?.backgroundColor?`background-color: ${D.layout.backgroundColor}`:D?.layout?.backgroundGradient?`background: ${D.layout.backgroundGradient}`:D?.layout?.backgroundImage?.url?`background-image: url(${D.layout.backgroundImage.url})`:"",bo=(g,D)=>{const R=!!g?.theme?.layout?.backgroundColor,q=!!g?.theme?.layout?.backgroundGradient,ce=!!g?.theme?.layout?.backgroundImage?.url,xe=!!D?.layout?.backgroundColor,Ze=!!D?.layout?.backgroundGradient,It=!!D?.layout?.backgroundImage?.url;return R?g.theme.layout.backgroundColor:q?xa(g.theme.layout.backgroundGradient):ce?g.theme.layout.backgroundImage.palettes?.[0]??"white":xe?D.layout.backgroundColor:Ze?xa(D.layout.backgroundGradient):It?D.layout.backgroundImage.palettes?.[0]??"white":"white"},Ma=(g,D)=>g?.theme?.layout?.backgroundColor?`background-color: ${g.theme.layout.backgroundColor}`:g?.theme?.layout?.backgroundGradient?`background: ${g.theme.layout.backgroundGradient}`:g?.theme?.layout?.backgroundImage?.url?`background-image: url(${g.theme.layout.backgroundImage.url})`:D?.layout?.backgroundColor?`background-color: ${D.layout.backgroundColor}`:D?.layout?.backgroundGradient?`background: ${D.layout.backgroundGradient}`:D?.layout?.backgroundImage?.url?`background-image: url(${D.layout.backgroundImage.url})`:"",xr=(g,D)=>{const R=!!g?.theme?.layout?.backgroundColor,q=!!g?.theme?.layout?.backgroundGradient,ce=!!g?.theme?.layout?.backgroundImage?.url,xe=!!D?.layout?.backgroundColor,Ze=!!D?.layout?.backgroundGradient,It=!!D?.layout?.backgroundImage?.url;return R?g.theme.layout.backgroundColor:q?xa(g.theme.layout.backgroundGradient):ce?g.theme.layout.backgroundImage.palettes?.[0]??"white":xe?D.layout.backgroundColor:Ze?xa(D.layout.backgroundGradient):It?D.layout.backgroundImage.palettes?.[0]??"white":""},xa=g=>{const D=g.match(/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/);return D?`rgb(${parseInt(D[1])}, ${parseInt(D[2])}, ${parseInt(D[3])})`:"white"},Rc=(g,D)=>{const R=g.replace(/[^0-9]+/g,"");return`+${z[D]?.value}${R}`},Ka=g=>g?.substring(0,60)||"",Ie=new Uint8Array(256);let he=Ie.length;function Qe(){return he>Ie.length-16&&(Ll?window.crypto.getRandomValues(Ie):require("crypto").randomFillSync(Ie),he=0),Ie.slice(he,he+=16)}const $t=[];for(let g=0;g<256;++g)$t.push((g+256).toString(16).substr(1));function Do(g,D,R){const q=(g=g||{}).random||(g.rng||Qe)();if(q[6]=15&q[6]|64,q[8]=63&q[8]|128,D){R=R||0;for(let ce=0;ce<16;++ce)D[R+ce]=q[ce];return D}return function Ji(g,D=0){return($t[g[D+0]]+$t[g[D+1]]+$t[g[D+2]]+$t[g[D+3]]+"-"+$t[g[D+4]]+$t[g[D+5]]+"-"+$t[g[D+6]]+$t[g[D+7]]+"-"+$t[g[D+8]]+$t[g[D+9]]+"-"+$t[g[D+10]]+$t[g[D+11]]+$t[g[D+12]]+$t[g[D+13]]+$t[g[D+14]]+$t[g[D+15]]).toLowerCase()}(q)}fe.extend(Ve);const Yr=g=>Math.floor(g.getTime()/1e3).toString(16)+"0000000000000000";function Il(g,D){const{large:R,medium:q,small:ce,thumbnail:xe}=D??{};return g??q?.url??R?.url??ce?.url??xe?.url}function Pc(g){const{large:D,medium:R,small:q,thumbnail:ce}=g??{};return[...ce?[`${ce?.url} ${ce?.width}w`]:[],...q?[`${q?.url} ${q?.width}w`]:[],...R?[`${R?.url} ${R?.width}w`]:[],...D?[`${D?.url} ${D?.width}w`]:[]].join(", ")}function rr(g){return rt.test(g.value)||!g.value?null:{invalidUrl:{value:g.value}}}const nl=(g,D)=>{const R=g.replace(/[^0-9]+/g,""),q=z[D]?.regex;return R?.match(q)?null:{invalidNumber:!0}};function Je(g){return D=>D.parent&&g()?Ee.k0.required(D):null}function J(g){return D=>D.parent&&g()?rr(D):null}const ee=(g,D)=>R=>{const q=R.parent?.controls[g.name],ce=R.parent?.controls[D.name];return q?.value<g.minValue&&ce?.value<D.minValue?{invalidPadding:!0}:null};function Ce(g){return Rt.test(g?.value)?null:{invalidText:!0}}function Ye(g){return Xe.test(g.value)||!g.value?null:{invalidUrl:{value:g.value}}}let Lo=(()=>{class g{}return(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"invoicePaymentLastFailedAt",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"projectStartDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"billingPeriodStartDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"billingPeriodEndDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"usagePeriodStartDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"usagePeriodEndDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"subscriptionCancelAtDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"subscriptionCanceledAtDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"retentionPromoLastRedeemedAt",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"trialStartDate",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"trialEndDate",void 0),g})();var Fr=function(g){return g.PENDING="pending",g.FAILED="failed",g.COMPLETE="complete",g}(Fr||{}),Gr=function(g){return g.PENDING="pending",g.FAILED="failed",g.COMPLETE="complete",g.IN_REVIEW="inReview",g}(Gr||{});let wr=(()=>{class g{}return(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"tollFreeProvisionedAt",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"tollFreeRegistrationCompletedAt",void 0),g})(),Ba=(()=>{class g{get hasPaymentMethod(){return!!this.stripe?.stripeDefaultPaymentMethodId}}return(0,y.Cg)([a(()=>Lo)],g.prototype,"billingInfo",void 0),g})();fe.extend(de);let jr=(()=>{class g{}return(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"invoicePaymentLastFailedAt",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"billingStart",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"billingEnd",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"trialStart",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"trialEnd",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"usageStart",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"usageEnd",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"cancelAt",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"canceledAt",void 0),(0,y.Cg)([n(oo,{toClassOnly:!0})],g.prototype,"retentionPromoLastRedeemedAt",void 0),g})();class ec extends wr{get isTollFreeProvisioned(){return this.tollFreeProvisionedAt?.isBefore(fe())}get isTollFreeApprovalPending(){return this.tollFreeRegistrationStatus===Gr.PENDING}get isTollFreeApprovalInReview(){return this.tollFreeRegistrationStatus===Gr.IN_REVIEW}get isTollFreeApprovalComplete(){return this.tollFreeRegistrationStatus===Gr.COMPLETE}get isTollFreeApprovalFailed(){return this.tollFreeRegistrationStatus===Gr.FAILED}get tollFreeFailureMessages(){return this.tollFreeRegistrationFailureMessage?this._tollFreeMessages||(this._tollFreeMessages=this.tollFreeRegistrationFailureMessage.split(";")):this._tollFreeMessages=[],this._tollFreeMessages}get isTollFreeRecentlyCompleted(){return!!this.tollFreeRegistrationCompletedAt&&Math.abs(this.tollFreeRegistrationCompletedAt.diff(fe(),"days"))<2}get isBrandRegistrationRejected(){return this.brandRegistrationStatus===Fr.FAILED}get isBrandRegistrationPending(){return this.brandRegistrationStatus===Fr.PENDING}get isBrandRegistrationComplete(){return this.brandRegistrationStatus===Fr.COMPLETE}get brandFailureMessages(){return this.brandRegistrationFailureMessage?this._brandMessages||(this._brandMessages=this.brandRegistrationFailureMessage.split(";")):this._brandMessages=[],this._brandMessages}}const kd=(()=>{class g{constructor(){this._labels={billingPeriodEndLabel:null,billingPeriodStartLabel:null,billingRangeLabel:null}}static fromMetadata(R){return(0,L.om)(g,{slug:R?.slug,projectTier:R?.billingInfo?.projectTier,projectPeriod:R?.billingInfo?.projectPeriod,stripe:R?.stripe,dates:{invoicePaymentLastFailedAt:R?.billingInfo?.invoicePaymentLastFailedAt,billingStart:R?.billingInfo?.billingPeriodStartDate,billingEnd:R?.billingInfo?.billingPeriodEndDate,usageStart:R?.billingInfo?.usagePeriodStartDate,usageEnd:R?.billingInfo?.usagePeriodEndDate,trialStart:R?.billingInfo?.trialStartDate,trialEnd:R?.billingInfo?.trialEndDate,cancelAt:R?.billingInfo?.subscriptionCancelAtDate,canceledAt:R?.billingInfo?.subscriptionCanceledAtDate,retentionPromoLastRedeemedAt:R?.billingInfo?.retentionPromoLastRedeemedAt},sms:R?.sms,subscriptionSchedules:R?.billingInfo?.subscriptionSchedules,address:R?.billingInfo?.address,funnel:R?.billingInfo?.funnel??"i",subscriptionDiscount:R?.billingInfo?.subscriptionDiscount,trialPeriod:R?.billingInfo?.trialPeriod,trialUsageWarnings:R?.billingInfo?.trialUsageWarnings,usageLimitLastApproachedAt:R?.billingInfo?.usageLimitLastApproachedAt,redeemedUnlimitedPlanFirstYearPromo:R?.billingInfo?.redeemedUnlimitedPlanFirstYearPromo,redeemedRetentionPromo:R?.billingInfo?.redeemedRetentionPromo,referrer:R?.referrer,featurePermissions:R?.featurePermissions,onboardingInfo:R?.onboardingInfo})}isEqualTo(R){return JSON.stringify((0,L.fL)(this))===JSON.stringify((0,L.fL)(R))}get canUseAiTools(){return this.isGrowthTier||this.isProTier||this.isEnterpriseTier}get canUseTrackingPixels(){return this.isProTier||this.isEnterpriseTier}get canRemoveBranding(){return this.isProTier||this.isEnterpriseTier}get canCustomizeCss(){return this.isGrowthTier||this.isProTier||this.isEnterpriseTier}get canCustomizeLegalTerms(){return this.isEnterpriseTier}get isOnSharedNumberTier(){return this.isFreeTier||this.isStarterTier}get isOnPrivateNumberTier(){return this.isGrowthTier||this.isProTier||this.isEnterpriseTier}get isEligibleToClaimNumber(){return(this.isGrowthTier||this.isProTier||this.isEnterpriseTier)&&this.hasPaymentMethod&&!this.hasPrimaryPhoneNumber&&!this.isPhoneNumberDisabled&&!this.sms?.isTollFreeProvisioned&&!this.sms?.isTollFreeApprovalPending&&!this.sms?.isTollFreeApprovalFailed&&!this.sms?.isTollFreeApprovalInReview&&!this.sms?.isTollFreeApprovalComplete&&!this.sms?.isBrandRegistrationPending&&!this.sms?.isBrandRegistrationRejected&&!this.sms?.isBrandRegistrationComplete}get isAllowedCubeCloud(){return!this.isFreeTier&&this.hasPaymentMethod}get hasScheduledChurn(){return this.subscriptionSchedules?.length&&this.subscriptionSchedules[0].projectTier===vi.FREE}get isFreeTier(){return!this.projectTier||this.projectTier===vi.FREE}get isStarterTier(){return this.projectTier===vi.STARTER}get isGrowthTier(){return this.projectTier===vi.GROWTH}get isProTier(){return this.projectTier===vi.PRO}get isEnterpriseTier(){return this.projectTier===vi.ENTERPRISE}get isInTrial(){const R=fe();return this.dates.trialStart&&this.dates.trialEnd&&R.isBefore(this.dates.trialEnd)&&R.isAfter(this.dates.trialStart)}get planName(){return this.isFreeTier?"Free":this.isStarterTier?"Starter":this.isGrowthTier?"Growth":this.isProTier?"Pro":this.isEnterpriseTier?"Enterprise":""}get trialDaysRemaining(){return this.isInTrial&&this.dates.trialEnd.diff(fe(),"days")}get isPaidPlan(){return this.isStarterTier||this.isGrowthTier||this.isProTier||this.isEnterpriseTier}get isAnnualPlan(){return this.projectPeriod===So.ANNUAL}get isMonthlyPlan(){return this.projectPeriod===So.MONTHLY}get hasBillingPeriod(){return!(!this.dates?.billingStart||!this.dates?.billingEnd)}get hasPaymentMethod(){return!!this.stripe?.stripeDefaultPaymentMethodId}get billingPeriodStartLabel(){return this._labels.billingPeriodStartLabel=this._labels.billingPeriodStartLabel||this.dates?.billingStart?.format("M/D/YYYY"),this._labels.billingPeriodStartLabel||"--"}get billingPeriodEndLabel(){return this._labels.billingPeriodEndLabel=this._labels.billingPeriodEndLabel||this.dates?.billingEnd?.format("M/D/YYYY"),this._labels.billingPeriodEndLabel||"--"}get billingPeriodLabel(){return`${this.billingPeriodStartLabel} - ${this.billingPeriodEndLabel}`}get hasFailedPayment(){return!!this.dates?.invoicePaymentLastFailedAt}get hasPrimaryPhoneNumber(){return!!this.sms?.primaryPhoneNumber}get isPhoneNumberDisabled(){return this.hasPrimaryPhoneNumber&&this.sms.phoneNumberDisabled}get limits(){switch(this.projectTier){case vi.FREE:return{landingPages:1,seats:1,sms:10,email:100};case vi.STARTER:return{landingPages:2,seats:1,sms:10,email:1e3};case vi.GROWTH:return{landingPages:5,seats:3,sms:200,email:25e3};case vi.PRO:return{landingPages:Number.MAX_SAFE_INTEGER,seats:10,sms:2e3,email:5e4};case vi.ENTERPRISE:return{landingPages:Number.MAX_SAFE_INTEGER,seats:+(this.stripe?.stripePriceMetadata?.teamMemberLimit??10),sms:Number.MAX_SAFE_INTEGER,email:Number.MAX_SAFE_INTEGER}}}getPhoneNumberMessageForAction(R){return this.isFreeTier||this.isStarterTier?{message:`Upgrade your plan to ${R}.`,tooltipType:"link",url:"/"+this.slug+"/account"}:this.hasPaymentMethod?this.isEligibleToClaimNumber?{message:`Claim your Norby Number to ${R}.`,tooltipType:"simple"}:this.isPhoneNumberDisabled?{message:"Your Norby Number is disabled. Please refer to your dashboard for more information.",tooltipType:"simple"}:null:{message:`Add a payment method to ${R}.`,tooltipType:"simple"}}}return(0,y.Cg)([a(()=>jr)],g.prototype,"dates",void 0),(0,y.Cg)([a(()=>En)],g.prototype,"subscriptionSchedules",void 0),(0,y.Cg)([a(()=>ec)],g.prototype,"sms",void 0),g})().fromMetadata();class _s{}let hr=(()=>{class g extends _s{static fromObject(R){return(0,L.bj)(g,R)}get hash(){if(!this._hash){const R=`\n        ${this.filterOperator}\n        ${this.filters.map(q=>q.hash).join(",")}\n      `;this._hash=Qo(R)}return this._hash}toCreateDTO(){return{filterOperator:this.filterOperator,filters:this.filters.map(R=>R.toCreateDTO())}}updateProperties(R){for(const q in R)this[q]=R[q];this._hash=null}addFilter(R){this.filters.push(R),this._hash=null}removeFilterAtIndex(R){this.filters.splice(R,1),this._hash=null}}return(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([a(()=>nc)],g.prototype,"filters",void 0),g})();class Qs{}let nc=(()=>{class g extends Qs{static fromObject(R){return(0,L.bj)(g,R)}get hash(){if(!this._hash){const R=`\n        ${this.type}\n        ${this.contentId}\n        ${this.operationType}\n        ${this.date?.toString()}\n        ${this.prompt}\n        ${this.response}\n        ${this.lowerBoundDate}\n        ${this.upperLowerDate}\n        ${this.tag}\n        ${this.contactListId}\n        ${this.sendId}\n        ${this.rawUrl}\n        ${this.landingPageId}\n      `;this._hash=Qo(R)}return this._hash}toCreateDTO(){const{type:R,contentId:q,contactListId:ce,landingPageId:xe,sendId:Ze,rawUrl:It,operationType:Kt,date:Tn,prompt:Yn,response:Un,lowerBoundDate:Ti,upperLowerDate:ji,tag:Pi,medium:Wi}=this.toObject();return{...R&&{type:R},...q&&{contentId:q},...ce&&{contactListId:ce},...xe&&{landingPageId:xe},...Ze&&{sendId:Ze},...Kt&&{operationType:Kt},...Tn&&{date:Tn},...Yn&&{prompt:Yn},...Un&&{response:Un},...Ti&&{lowerBoundDate:Ti},...ji&&{upperLowerDate:ji},...Pi&&{tag:Pi},...It&&{rawUrl:It},...Wi&&{medium:Wi}}}get displayTitle(){if(!this._displayTitle)switch(this.type){case xo.REGISTERED:this._displayTitle="Registered for "+this.contentTitle;break;case xo.SKIPPED:this._displayTitle="Skipped "+this.contentTitle;break;case xo.ATTENDED:this._displayTitle="Attended "+this.contentTitle;break;case xo.RESPONDED_TO_PROMPT:this._displayTitle=`${this.contentTitle} "${this.prompt}" responded "${this.response}"`;break;case xo.RESPONDED_TO_DATE_PICKER_PROMPT:this._displayTitle=this.contentTitle,this.date&&(this._displayTitle+=` "${this.prompt}" is ${"on"!==this.operationType?this.operationType+" ":""}${fe(this.date).format("MMM D YYYY")}`);break;case xo.REGISTERED_DATE:this._displayTitle="Registered for "+this.contentTitle,this.date&&(this._displayTitle+=` ${this.operationType} `,this._displayTitle+=fe(this.date).format("MMM D YYYY"));break;case xo.TAGGED_CONTACTS:this._displayTitle="Tagged with "+this.tag;break;case xo.NOT_TAGGED_CONTACTS:this._displayTitle="Not tagged with "+this.tag;break;case xo.CONTACT_LIST:this._displayTitle="In "+this.contactListName;break;case xo.OPENED_SPECIFIC_EMAIL:this._displayTitle="Opened "+this.singleSendDisplay;break;case xo.NOT_OPENED_SPECIFIC_EMAIL:this._displayTitle="Did not open "+this.singleSendDisplay;break;case xo.CLICKED_SPECIFIC_SEND_LINK:this._displayTitle=`Clicked ${this.rawUrl}${this.singleSendDisplay?" in "+this.singleSendDisplay:""}`;break;case xo.CLICKED_ANY_SEND_LINK:this._displayTitle="Clicked a link"+(this.singleSendDisplay?" in "+this.singleSendDisplay:"");break;case xo.VISITED_CONTENT_PAGE:this._displayTitle=`Visited ${this.contentTitle}`;break;case xo.VISITED_LANDING_PAGE:this._displayTitle=`Visited ${this.landingPageTitle}`;break;case xo.MEDIUM_CONTACTS:this._displayTitle=`${this.medium} contacts`}return this._displayTitle}toObject(){return(0,L.fL)(this)}}return(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([ae()],g.prototype,"_displayTitle",void 0),(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"contentTitle",void 0),(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"contactListName",void 0),(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"singleSendDisplay",void 0),(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"landingPageTitle",void 0),g})();var xo=function(g){return g.REGISTERED="registered",g.REGISTERED_DATE="registeredDate",g.REGISTERED_DATE_RANGE="registeredDateRange",g.SKIPPED="skipped",g.ATTENDED="attended",g.RESPONDED_TO_PROMPT="respondedToPrompt",g.RESPONDED_TO_DATE_PICKER_PROMPT="respondedToDatePickerPrompt",g.TAGGED_CONTACTS="taggedContacts",g.NOT_TAGGED_CONTACTS="notTaggedContacts",g.ALL_CONTACTS="allContacts",g.CONTACT_LIST="contactList",g.OPENED_SPECIFIC_EMAIL="openedSpecificEmail",g.NOT_OPENED_SPECIFIC_EMAIL="notOpenedSpecificEmail",g.CLICKED_ANY_SEND_LINK="clickedAnySendLink",g.CLICKED_SPECIFIC_SEND_LINK="clickedSpecificSendLink",g.VISITED_LANDING_PAGE="visitedLandingPage",g.VISITED_CONTENT_PAGE="visitedContentPage",g.MEDIUM_CONTACTS="mediumContacts",g}(xo||{});const Qa=new Set([xo.REGISTERED,xo.REGISTERED_DATE,xo.REGISTERED_DATE_RANGE,xo.SKIPPED,xo.ATTENDED,xo.RESPONDED_TO_PROMPT]);class nd{}let te=(()=>{let g=class rO extends nd{static new(){return(0,L.bj)(rO,{filterGroups:[],includedContactIds:[],excludedContactIds:[]})}static fromObject(R){return(0,L.bj)(rO,R)}get includedContactsHash(){if(!this._includedContactsHash){const R=this.includedContacts.reduce((q,ce)=>`${q}${ce.contactId}`,"");this._includedContactsHash=Qo(R)}return this._includedContactsHash}get excludedContactsHash(){if(!this._excludedContactsHash){const R=this.excludedContacts.reduce((q,ce)=>`${q}${ce.contactId}`,"");this._excludedContactsHash=Qo(R)}return this._excludedContactsHash}get filterGroupsHash(){if(!this._filterGroupsHash){const R=this.filterGroups.reduce((q,ce)=>`${q}${ce.hash}`,"");this._filterGroupsHash=Qo(R)}return this._filterGroupsHash}get hash(){return this._hash||(this._hash=Qo(`\n        ${this.includedContactsHash}\n        ${this.excludedContactsHash}\n        ${this.filterGroupsHash}\n      `)),this._hash}updateProperties(R){for(const q in R)this[q]=R[q];R?.includedContacts&&(this._includedContactsHash=null),R?.excludedContacts&&(this._excludedContactsHash=null),R?.filterGroups&&(this._filterGroupsHash=null),Object.keys(R).length&&(this._hash=null)}clone(R){const q=(0,L.uK)(this);return R&&q.updateProperties(R),q}updateFilterGroupAtIndex(R,q){this.filterGroups[R]=q,this._filterGroupsHash=null,this._hash=null}updateFilterGroupOperatorAtIndex(R,q){this.filterGroups[R].updateProperties({filterOperator:q}),this._filterGroupsHash=null,this._hash=null}removeAllFilterGroups(){this.filterGroups.splice(0,this.filterGroups.length),this._filterGroupsHash=null,this._hash=null}removeFilterGroupAtIndex(R){this.filterGroups.splice(R,1),this._filterGroupsHash=null,this._hash=null}addIncludedContact(R){this.includedContacts.push(R),this._includedContactsHash=null,this._hash=null}removeIncludedContact(R){const q=this.includedContacts.findIndex(ce=>ce.contactId===R);q>-1&&(this.includedContacts.splice(q,1),this._includedContactsHash=null,this._hash=null)}addExcludedContact(R){this.excludedContacts.push(R),this._excludedContactsHash=null,this._hash=null}removeExcludedContact(R){const q=this.excludedContacts.findIndex(ce=>ce.contactId===R);q>-1&&(this.excludedContacts.splice(q,1),this._excludedContactsHash=null,this._hash=null)}toObject(){return(0,L.fL)(this)}};return(0,y.Cg)([ae()],g.prototype,"_filterGroupsHash",void 0),(0,y.Cg)([ae()],g.prototype,"_includedContactsHash",void 0),(0,y.Cg)([ae()],g.prototype,"_excludedContactsHash",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([K(),n(D=>(D?.value||[]).map(R=>hr.fromObject(R)),{toClassOnly:!0})],g.prototype,"filterGroups",void 0),(0,y.Cg)([K(),n(D=>D?.value||[],{toClassOnly:!0})],g.prototype,"includedContacts",void 0),(0,y.Cg)([K(),n(D=>D?.value||[],{toClassOnly:!0})],g.prototype,"excludedContacts",void 0),(0,y.Cg)([n(D=>D.obj.excludedContacts.map(R=>R.contactId),{toPlainOnly:!0})],g.prototype,"excludedContactIds",void 0),(0,y.Cg)([n(D=>D.obj.includedContacts.map(R=>R.contactId),{toPlainOnly:!0})],g.prototype,"includedContactIds",void 0),g})();const je={altPhotoUrl:"Alternate photo",hasOptedIntoEmailMarketing:"Email marketing",hasOptedIntoSmsMarketing:"SMS marketing",mediums:"Channels",emails:"Email addresses",phoneNumbers:"Phone numbers",primaryEmail:"Primary email",primaryEmailVerified:"Verified email",primaryPhoneNumber:"Primary phone number",photoUrl:"Photo",verifiedEmails:"Verified emails",name:"Name",tags:"Tags"},Re=Object.keys(je).filter(g=>"photoUrl"!==g&&"altPhotoUrl"!==g);var vn=function(g){return g.ALL_CONTACT_LIST_ID="all",g.SMS_CONTACT_LIST_ID="sms",g.EMAIL_CONTACT_LIST_ID="email",g.EVENTBRITE_CONTACT_LIST_ID="eventbrite",g.KLAVIYO_CONTACT_LIST_ID="klaviyo",g.SHOPIFY_CONTACT_LIST_ID="shopify",g.GOOGLE_CONTACT_LIST_ID="google",g.STRIPE_CONTACT_LIST_ID="stripe",g.ZOOM_CONTACT_LIST_ID="zoom",g.MAILCHIMP_CONTACT_LIST_ID="mailchimp",g.BEEHIIV_CONTACT_LIST_ID="beehiiv",g}(vn||{});class Xi{}function Fo(g){return g?.isCustom}let pr=(()=>{class g extends Xi{clone(R){const q=(0,L.fL)(this);return(0,L.bj)(hi,{...q,...R,_type:"custom"})}get isDefault(){return"default"===this._type}get isCustom(){return"custom"===this._type}static fromObject(R){return"default"===R?._type?(0,L.bj)(rs,R):(0,L.bj)(hi,{...R,_type:"custom"})}}return(0,y.Cg)([a(()=>te)],g.prototype,"segment",void 0),g})(),hi=(()=>{class g extends pr{get canQuery(){return!!this.segment?.initializationCompletedAt}get title(){return this.name??"New list"}get closable(){return!0}addIncludedContact(R){this.segment?.addIncludedContact(R)}removeIncludedContact(R){this.segment?.removeIncludedContact(R)}addExcludedContact(R){this.segment?.addExcludedContact(R)}removeExcludedContact(R){this.segment?.removeExcludedContact(R)}}return(0,y.Cg)([a(()=>te)],g.prototype,"segment",void 0),g})();class rs extends pr{constructor(){super(...arguments),this.id=vn.ALL_CONTACT_LIST_ID}get canQuery(){return!0}get title(){switch(this.id){case"all":return"All";case"email":return"Email";case"sms":return"SMS";case"eventbrite":return"Eventbrite";case"mailchimp":return"Mailchimp";case"klaviyo":return"Klaviyo";case"stripe":return"Stripe";case"zoom":return"Zoom";case"shopify":return"Shopify";case"google":return"Google Analytics";case"beehiiv":return"Beehiiv";default:return"Unknown list"}}get closable(){return!1}}class Lr{}let Rr=(()=>{class g extends Lr{}return(0,y.Cg)([a(()=>pr,{keepDiscriminatorProperty:!0,discriminator:{property:"_type",subTypes:[{value:rs,name:"default"},{value:hi,name:"custom"}]}})],g.prototype,"pinned",void 0),g})(),il=(()=>{class g{}return(0,y.Cg)([a(()=>hi)],g.prototype,"node",void 0),g})(),ol=(()=>{class g{}return(0,y.Cg)([a(()=>il)],g.prototype,"edges",void 0),g})();[{_type:"default",id:"all",size:0,columns:["name","primaryEmail","primaryPhoneNumber","tags"]},{_type:"default",id:"email",size:0,columns:["name","primaryEmail"]},{_type:"default",id:"sms",size:0,columns:["name","primaryPhoneNumber"]}].map(g=>pr.fromObject(g)),[{_type:"default",id:"all",size:0,columns:["name","primaryEmail","mediums"]}].map(g=>pr.fromObject(g));let Is=(()=>{class g{static clone(R){return(0,L.uK)(R)}static fromObject(R){switch(R?.blockType){case"content":return(0,L.om)(Md,R);case"profile":return(0,L.om)(wa,R);case"text":return(0,L.om)(fu,R);case"socialIcons":return(0,L.om)(Ds,R);case"image":return(0,L.om)(Vr,R);case"spacer":return(0,L.om)(Gl,R);case"upcomingEvents":return(0,L.om)(Hu,R);case"youtube":return(0,L.om)(Ia,R);case"spotify":return(0,L.om)(Fc,R);case"calendly":return(0,L.om)(pu,R);case"vimeo":return(0,L.om)(id,R);case"twitter":return(0,L.om)(Ul,R);case"embed":return(0,L.om)(Er,R);case"newsletterSignup":return(0,L.om)(hu,R);case"header":return(0,L.om)(Ys,R);case"instagram":return(0,L.om)(zl,R);default:return null}}get hash(){if(!this._hash){const R=this._stringify();this._hash=Qo(`${this.theme?.hash??0}${R}`)}return this._hash}}return(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([a(()=>Vc)],g.prototype,"theme",void 0),g})(),Md=(()=>{class g extends Is{_stringify(){return`\n        ${this.contentId}\n        ${this.blockType}\n        ${this.title}\n        ${this.signupType}\n        ${this.content?.title}\n        ${this.content?.subtitle}\n        ${this.content?.description}\n        ${this.content?.signupType}\n        ${this.content?.images?.map(R=>`${R?.url||""}${R?.altText||""}`)?.join()}\n    `}get icon(){return this.content?.isLink?"link":this.content?.isSignup?"edit":this.content?.isEvent?"calendar":null}get headline(){const R=this.content?.contentType??"content";return this.title||this.content?.title||(this.content?.isLink?"Link":this.content?.isSignup?"Signup":this.content?.isEvent?"Event":`${R[0].toUpperCase()}${R.substring(1)}`)}get hasDefaultTitle(){return!this.title}get summary(){return this.description??this.content?.summary}get isEmpty(){return!this.contentId}}return(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"responsiveImages",void 0),(0,y.Cg)([n(D=>jd.fromObject(D.value),{toClassOnly:!0}),ae({toPlainOnly:!0})],g.prototype,"content",void 0),g})(),hu=(()=>{class g extends Is{get imageUrl(){return this.responsiveImage?.large?.url??this.responsiveImage?.medium?.url??this.image?.url}get imagesUrls(){return this.responsiveImages.map((R,q)=>R?.large?.url??R?.medium?.url??this.image[q]?.url??this.image?.url)}get image(){return this.images?.[0]??(this.images?.length&&{url:this.images[0]?.url})}get responsiveImage(){return this.responsiveImages?.[0]??(this.images?.length&&{thumbnail:{url:this.images[0]?.url},small:{url:this.images[0]?.url},medium:{url:this.images[0]?.url},large:{url:this.images[0]?.url}})}get icon(){return"user-plus"}get headline(){return"Newsletter signup"}get isEmpty(){return!1}_stringify(){return`\n        ${this.blockType}\n        ${this.title}\n        ${this.subtitle}\n        ${this.postSubmitTitle}\n        ${this.postSubmitMessage}\n        ${this.buttonLabel}\n        ${this.images?.reduce((R,q)=>`${R}${q?.url}`,"")}\n        ${this.tags?.join()}\n      `}}return(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"responsiveImages",void 0),g})();class Hu extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.groupBy}\n        ${this.tag}\n        ${this.limit}\n        ${this.reverse}\n        ${this.startAt?.toString()}\n      `}get icon(){return"server"}get isEmpty(){return!1}get headline(){const D=this.limit??10;return`Up to ${D} ${this.reverse?"past":"upcoming"} event${1===D?"":"s"}`}}let Ys=(()=>{class g extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.style}\n        ${this.avatarImage?.url}\n        ${this.avatarImage?.altText}\n        ${this.height}\n        ${this.backgroundColor}\n        ${this.backgroundGradient}\n        ${this.backgroundImage?.url}\n        ${this.maskUrl}\n        ${this.avatarClickThroughUrlType}\n        ${this.avatarClickThroughUrl}\n        ${this.imageSize}\n        ${this.headerType}\n        ${this.menuOptions?.reduce((R,q)=>`${R}${q?.contentId}${q?.title}${q?.disabled}`,"")}\n        ${this.menuAlignment}\n        ${this.hamburgerMenuColor}\n      `}get icon(){return"home"}get isEmpty(){return!1}get headline(){return"brand"===this.style?"Logo only header":"Avatar header"}}return(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"responsiveAvatarImage",void 0),(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"responsiveBackgroundImage",void 0),g})();class Ia extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.width}\n        ${this.height}\n      `}get icon(){return"youtube"}get headline(){return"YouTube video"}get isEmpty(){return!this.url}}class id extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.width}\n        ${this.height}\n        ${this.embedCode}\n      `}get icon(){return"video"}get headline(){return"Vimeo video"}get isEmpty(){return!this.url}}class Fc extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.width}\n        ${this.height}\n        ${this.hideColor}\n      `}get icon(){return"spotify"}get headline(){return"Spotify embed"}get isEmpty(){return!this.url}}class pu extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.bookingPageBackgroundColor}\n        ${this.bookingPageTextColor}\n        ${this.bookingPageButtonLinkColor}\n        ${this.hidePageDetails}\n        ${this.hideCookieBanner}\n      `}get icon(){return"calendly"}get headline(){return"Calendly embed"}get isEmpty(){return!this.url}}class Ul extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.embedCode}\n      `}get icon(){return"twitter"}get headline(){return"Tweet"}get isEmpty(){return!this.url}}class zl extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.url}\n        ${this.embedCode}\n      `}get icon(){return"instagram"}get headline(){return"Instagram Post"}get isEmpty(){return!this.url}}class Er extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.embedCode}\n      `}get icon(){return"code"}get headline(){return"Embedded HTML"}get isEmpty(){return!this.embedCode}}let wa=(()=>{class g extends Is{_stringify(){return this.items?.join()}get items(){return this._items||(this._items=[...this.showTitle?["name"]:[],...this.showPronouns?["pronouns"]:[],...this.showBio?["bio"]:[],...this.showLocation?["location"]:[]]),this._items}get icon(){return"user"}get headline(){const R=this.items;return`Your ${R.length>0?R.join(", "):"profile"}`}get isEmpty(){return!1}}return(0,y.Cg)([ae()],g.prototype,"_items",void 0),g})();class fu extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.body}\n      `}get icon(){return"type"}get headline(){return Vl(this.body)}get isEmpty(){return!this.body}}class Ds extends Is{_stringify(){return`\n      ${this.blockType}\n      ${JSON.stringify(this.settingsV2)}\n    `}get icon(){return"circle"}get headline(){return"Social Icons"}get isEmpty(){return!1}}let Vr=(()=>{class g extends Is{_stringify(){return`\n        ${this.blockType}\n        ${this.images?.map(R=>`${R?.url||""}${R?.altText||""}`)?.join()}\n        ${this.hideCard}\n      `}get icon(){return"image"}get headline(){const R=1===this.images?.length;return`${this.images?.length||0} image${R?"":"s"}`}get isEmpty(){return!this.images||0===this.images?.length}}return(0,y.Cg)([ae({toPlainOnly:!0})],g.prototype,"responsiveImages",void 0),g})();class Gl extends Is{_stringify(){return`spacer${this.height}`}get icon(){return"square"}get headline(){return"Spacer"}get isEmpty(){return!1}}const mu=()=>(0,dt.d_)("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",5)();let gu=(()=>{class g{constructor(){this._changes$=new qe.t(null),this.changes$=this._changes$.asObservable()}static new(){return(0,L.om)(g,{blocks:[],label:mu()})}static fromObject(R){return(0,L.om)(g,R)}clone(R){const q=(0,L.uK)(this);return R&&q.updateProperties(R),q}toObject(){return(0,L.fL)(this)}toCreateDTO(R){const{theme:q,blocks:ce,slug:xe,label:Ze,title:It,isDefault:Kt,description:Tn}=this.toObject();return{...q&&{theme:q},...ce&&{blocks:ce},...xe&&{slug:xe},...Tn&&{description:Tn},title:It??"New page",label:Ze??mu(),isDefault:Kt??!1,published:R??this.published??!1}}toUpdateDTO(R){const{theme:q,blocks:ce,label:xe,title:Ze,isDefault:It,description:Kt}=this.toObject();return{...q&&{theme:q},...ce&&{blocks:ce},...xe&&{label:xe},...Ze&&{title:Ze},...It&&{isDefault:It},...Kt&&{description:Kt},published:R??this.published??!1}}get hash(){if(!this._hash){const R=this.blocks.reduce((xe,Ze)=>`${xe}${Ze.hash}`,"");this._hash=Qo(`\n        ${R}\n        ${this.theme?.hash??0}\n        ${this.title}\n        ${this.label}\n        ${this.description}\n        ${this.isDefault}\n      `)}return this._hash}updateProperties(R,q=!0){const ce=R instanceof g?R.toObject():R;for(const xe in ce)this[xe]=R[xe];this._hash=null,q&&this._changes$.next(this)}removeBlockAtIndex(R,q=!0){this.blocks.splice(R,1),this._hash=null,q&&this._changes$.next(this)}updateBlockAtIndex(R,q,ce=!0){this.blocks[R]=q,this._hash=null,ce&&this._changes$.next(this)}insertBlockAtIndex(R,q,ce=!0){R<0||(R>this.blocks.length?this.blocks.push(q):this.blocks.splice(R,0,q),this._hash=null,ce&&this._changes$.next(this))}}return(0,y.Cg)([ae()],g.prototype,"_changes$",void 0),(0,y.Cg)([ae()],g.prototype,"changes$",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([a(()=>Vc)],g.prototype,"theme",void 0),(0,y.Cg)([a(()=>Is,{keepDiscriminatorProperty:!0,discriminator:{property:"blockType",subTypes:[{value:Md,name:"content"},{value:wa,name:"profile"},{value:fu,name:"text"},{value:Vr,name:"image"},{value:Ds,name:"socialIcons"},{value:Gl,name:"spacer"},{value:Er,name:"embed"},{value:Ul,name:"twitter"},{value:id,name:"vimeo"},{value:Ia,name:"youtube"},{value:Fc,name:"spotify"},{value:pu,name:"calendly"},{value:Hu,name:"upcomingEvents"},{value:hu,name:"newsletterSignup"},{value:Ys,name:"header"},{value:zl,name:"instagram"}]}})],g.prototype,"blocks",void 0),g})();function sd(g){return"content"===g.blockType}function Gd(g){return sd(g)&&"link"===g.content?.contentType}function ah(g){return sd(g)&&"event"===g.content?.contentType}function lh(g){return sd(g)&&"drop"===g.content?.contentType}function U1(g){return"newsletterSignup"===g.blockType}function da(g){return"upcomingEvents"===g.blockType}function ad(g){return"profile"===g.blockType}function vu(g){return"header"===g.blockType}function _u(g){return"youtube"===g.blockType}function W(g){return"spotify"===g.blockType}function ue(g){return"calendly"===g.blockType}function Z(g){return"vimeo"===g.blockType}function it(g){return"embed"===g.blockType}function At(g){return"text"===g.blockType}function kn(g){return"image"===g.blockType}function pn(g){return"spacer"===g.blockType}function pi(g){return"socialIcons"===g.blockType}let Os=(()=>{class g{static fromObject(R){return(0,L.om)(g,R)}}return(0,y.Cg)([a(()=>Vc)],g.prototype,"theme",void 0),g})(),ld=(()=>{class g{}return(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsiveBackgroundImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"previewImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsivePreviewImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundGradient",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundColor",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"font",void 0),g})(),Zh=(()=>{class g{}return(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"font",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h1",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h2",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h3",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h4",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h5",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"h6",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"p",void 0),g})(),Ef=(()=>{class g{}return(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"id",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"metadata",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"header",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"layout",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"fonts",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"text",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"link",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"card",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"customCards",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"button",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"secondaryButton",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"customButtons",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"palette",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"tooltip",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"dropdown",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"snackbar",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"textInput",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"select",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"checkbox",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"name",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"description",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"image",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsiveImage",void 0),g})(),Vc=(()=>{class g extends Ef{get hash(){return this._hash||(this._hash=Qo(JSON.stringify(this.toObject()))),this._hash}static new(){return(0,L.om)(g,{})}static fromObject(R){return(0,L.om)(g,R)}clone(R){const q=(0,L.uK)(this);if(R){for(const ce in R)q[ce]=R[ce];q._hash=null}return q}updateProperties(R){for(const q in R)this[q]=R[q];this._hash=null}toObject(){return(0,L.fL)(this)}}return(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"id",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"card",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"metadata",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"header",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"text",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"link",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"customCards",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"button",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"secondaryButton",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"customButtons",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"palette",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"tooltip",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"dropdown",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"snackbar",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"textInput",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"select",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"checkbox",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"name",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"description",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"image",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsiveImage",void 0),(0,y.Cg)([K(),n(D=>D.value??[],{toClassOnly:!0})],g.prototype,"tags",void 0),(0,y.Cg)([K(),a(()=>Bc)],g.prototype,"layout",void 0),(0,y.Cg)([K(),a(()=>Cc)],g.prototype,"fonts",void 0),g})(),Bc=(()=>{class g extends ld{static fromObject(R){return(0,L.om)(g,R)}}return(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsiveBackgroundImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"previewImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"responsivePreviewImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"font",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundImage",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundGradient",void 0),(0,y.Cg)([K(),n(D=>D.value??null,{toClassOnly:!0})],g.prototype,"backgroundColor",void 0),g})(),Cc=(()=>{class g extends Zh{get hash(){return this._hash||(this._hash=Qo(JSON.stringify(this.toObject()))),this._hash}toObject(){return(0,L.fL)(this)}}return(0,y.Cg)([ae()],g.prototype,"_hash",void 0),g})();fe.extend(at),fe.extend(Ge),fe.extend(ht),fe.extend(de),fe.extend(Tt);let jd=(()=>{class g{constructor(){this._changes$=new qe.t(null),this.changes$=this._changes$.asObservable()}get imageUrl(){return this.imgixImage?.large?.url??this.imgixImage?.medium?.url??this.image?.url}get imagesUrls(){return this.imgixImages.map((R,q)=>R?.large?.url??R?.medium?.url??this.image[q]?.url??this.image?.url)}get image(){return this.images?.[0]}get imgixImage(){return this.imgixImages?.[0]}get isEvent(){return rc(this)}get isSignup(){return Uc(this)}get isLink(){return qr(this)}get routerPath(){return"/"}get primaryColor(){return this.image?.palettes?.[0]}get shareUrl(){return Uc(this)||rc(this)?this.urls?.pageShortLink??this.urls?.pageRaw:qr(this)?this.url:void 0}get summary(){return this.modifiedAt||this.createdAt?`Updated ${fe(this.modifiedAt??this.createdAt).fromNow()}`:"Not saved"}get contentName(){return this.isSignup?"Signup":this.isEvent?"Event":this.isLink?"Link":"Content"}static fromObject(R,q=!1){switch(R?.contentType){case"event":return $c.fromObject(R,q);case"link":return _i.fromObject(R,q);case"drop":return Su.fromObject(R,q);default:return null}}}return(0,y.Cg)([ae()],g.prototype,"_changes$",void 0),(0,y.Cg)([ae()],g.prototype,"changes$",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([K()],g.prototype,"contentType",void 0),(0,y.Cg)([K()],g.prototype,"images",void 0),(0,y.Cg)([K()],g.prototype,"published",void 0),(0,y.Cg)([K()],g.prototype,"description",void 0),(0,y.Cg)([K()],g.prototype,"subtitle",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.id,{toClassOnly:!0})],g.prototype,"contentId",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.responsiveImages,{toClassOnly:!0})],g.prototype,"imgixImages",void 0),(0,y.Cg)([K(),a(()=>Vc)],g.prototype,"theme",void 0),(0,y.Cg)([K(),n(Ci,{toClassOnly:!0})],g.prototype,"createdAt",void 0),(0,y.Cg)([K()],g.prototype,"createdAtCursor",void 0),(0,y.Cg)([K(),n(Ci,{toClassOnly:!0})],g.prototype,"modifiedAt",void 0),(0,y.Cg)([K()],g.prototype,"modifiedAtCursor",void 0),(0,y.Cg)([K()],g.prototype,"title",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.slug,{toClassOnly:!0})],g.prototype,"primarySlugIdentifier",void 0),(0,y.Cg)([ae()],g.prototype,"imageUrl",null),(0,y.Cg)([ae()],g.prototype,"imagesUrls",null),(0,y.Cg)([ae()],g.prototype,"image",null),(0,y.Cg)([ae()],g.prototype,"imgixImage",null),(0,y.Cg)([ae()],g.prototype,"isEvent",null),(0,y.Cg)([ae()],g.prototype,"isSignup",null),(0,y.Cg)([ae()],g.prototype,"isLink",null),(0,y.Cg)([ae()],g.prototype,"routerPath",null),(0,y.Cg)([ae()],g.prototype,"primaryColor",null),(0,y.Cg)([ae()],g.prototype,"shareUrl",null),(0,y.Cg)([ae()],g.prototype,"summary",null),(0,y.Cg)([ae()],g.prototype,"contentName",null),g})(),Hd=(()=>{class g extends jd{get isFull(){return this.rsvpRestrictions&&this.rsvpRestrictions?.remaining<1}get hasCapacity(){return this.rsvpRestrictions?.remaining>0}get isPaid(){return this.tickets?.length>0}get hasPromoCodes(){return this.promoCodes?.length>0}get hasEmailRequirement(){return this.privateUserInfoRequirements?.email?.required}get hasPhoneRequirement(){return this.privateUserInfoRequirements?.phoneNumber?.required}get primaryColor(){return this.image?.palettes?.[0]??this.theme?.button?.backgroundColor}get isPastRegistrationDeadline(){const R=fe();return this.registrationCloseDate&&R.isAfter(fe(this.registrationCloseDate))}}return(0,y.Cg)([ae()],g.prototype,"_fullHash",void 0),(0,y.Cg)([ae()],g.prototype,"_promptsHash",void 0),(0,y.Cg)([K(),n(D=>D?.value??{email:{required:D?.obj?.registrationRequirements?.email??!1},phoneNumber:{required:D?.obj?.registrationRequirements?.sms??!1},displayName:{required:D?.obj?.registrationRequirements?.displayName??!1}},{toClassOnly:!0})],g.prototype,"userInfoRequirements",void 0),(0,y.Cg)([K(),n(D=>D?.value??{email:{required:D?.obj?.registrationRequirements?.email??!1},phoneNumber:{required:D?.obj?.registrationRequirements?.sms??!1},displayName:{required:D?.obj?.registrationRequirements?.displayName??!1}},{toClassOnly:!0})],g.prototype,"privateUserInfoRequirements",void 0),(0,y.Cg)([K(),n(D=>Ci(D?.value??D.obj?.metadata?.canceledAt),{toClassOnly:!0})],g.prototype,"canceledAt",void 0),(0,y.Cg)([K(),n(Ci,{toClassOnly:!0})],g.prototype,"registrationCloseDate",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.registrationRestrictions,{toClassOnly:!0})],g.prototype,"rsvpRestrictions",void 0),(0,y.Cg)([K()],g.prototype,"tickets",void 0),(0,y.Cg)([K()],g.prototype,"buttonLabels",void 0),(0,y.Cg)([K()],g.prototype,"promoCodes",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.metadata?.isCanceled,{toClassOnly:!0})],g.prototype,"isCanceled",void 0),(0,y.Cg)([K()],g.prototype,"tags",void 0),(0,y.Cg)([K()],g.prototype,"urls",void 0),(0,y.Cg)([K()],g.prototype,"platform",void 0),(0,y.Cg)([K()],g.prototype,"subtitle",void 0),(0,y.Cg)([K()],g.prototype,"body",void 0),(0,y.Cg)([K()],g.prototype,"signedBody",void 0),(0,y.Cg)([K()],g.prototype,"people",void 0),(0,y.Cg)([K()],g.prototype,"bodyType",void 0),(0,y.Cg)([K()],g.prototype,"prompts",void 0),(0,y.Cg)([K()],g.prototype,"layout",void 0),(0,y.Cg)([ae()],g.prototype,"isFull",null),(0,y.Cg)([ae()],g.prototype,"hasCapacity",null),(0,y.Cg)([ae()],g.prototype,"isPaid",null),(0,y.Cg)([ae()],g.prototype,"hasPromoCodes",null),(0,y.Cg)([ae()],g.prototype,"hasEmailRequirement",null),(0,y.Cg)([ae()],g.prototype,"hasPhoneRequirement",null),(0,y.Cg)([ae()],g.prototype,"primaryColor",null),(0,y.Cg)([ae()],g.prototype,"isPastRegistrationDeadline",null),g})(),$c=(()=>{class g extends Hd{clone(R,q=!1){const ce=(0,L.uK)(this,{excludeExtraneousValues:q});return R&&ce.updateProperties(R),ce}updateProperties(R,q=!0){const ce=R instanceof g?R.toObject():R;for(const xe in ce)this[xe]=R[xe];this._hash=null,this._fullHash=null,R.prompts&&(this._promptsHash=null),q&&this._changes$.next(this)}static new(){return(0,L.bj)(g,{contentType:"event"})}static fromObject(R,q=!1){return(0,L.bj)(g,{contentType:"event",...R},{excludeExtraneousValues:q})}toObject(){return(0,L.fL)(this)}toCreateDTO(R,q=!0){const{title:ce,contentLocationType:xe,eventType:Ze,startDate:It,endDate:Kt,privateUserInfoRequirements:Tn,userInfoRequirements:Yn,registrationCloseDate:Un,prompts:Ti,subtitle:ji,body:Pi,images:Wi,buttonLabels:To,theme:po,tickets:Jt,promoCodes:Bt,urls:Wt,tags:cn,shouldGenerateZoomLink:un,layout:bn}=this.toObject(),{notifications:jt,managedNotifications:ka,password:ja,keywords:T,rsvpRestrictions:Vo,contentLocation:Wr,contentLocationPublic:sr}=R,Pr="irl"==xe?Wr:"",Xs=Wt?.donateRaw,Rl=Wt?.postRegistrationRedirect,{limit:Pa,displayLimit:Ql}=Vo||{},Ja="online"==xe?R.urls?.clickThroughRaw:"";return{contentType:"event",published:q,title:ce,...Ze&&{eventType:Ze},...xe&&{contentLocationType:xe},..."irl"==xe&&{contentLocation:Pr},contentLocationPublic:sr||!1,...It&&{startDate:It.toISOString()},...Kt&&{endDate:Kt.toISOString()},..."online"==xe&&{contentUrl:Ja},rsvpRestrictions:Pa>=0?{limit:Pa,displayLimit:Ql}:null,...Tn&&{privateUserInfoRequirements:Tn},...Yn&&{userInfoRequirements:Yn},...Ti&&{prompts:Ti},...T&&{keywords:T},...Rl&&{postRegistrationRedirectUrl:Rl},...Un&&{registrationCloseDate:Un.toISOString()},...ja&&{password:ja},...ji&&{subtitle:ji},...Pi&&{body:Pi},...Wi&&{images:Wi},...To&&{buttonLabels:To},...po&&{theme:po},...bn&&{layout:bn},...jt&&!ka&&{notifications:jt||[]},...Jt&&{tickets:Jt||[]},...Bt&&{promoCodes:Bt||[]},donateUrl:Xs,...cn&&{tags:cn||[]},...un&&{zoomGeneration:{generateZoom:!0}}}}toUpdateDTO(R,q=!0){const{title:ce,eventType:xe,contentLocationType:Ze,startDate:It,endDate:Kt,privateUserInfoRequirements:Tn,userInfoRequirements:Yn,registrationCloseDate:Un,prompts:Ti,subtitle:ji,body:Pi,images:Wi,buttonLabels:To,theme:po,tickets:Jt,promoCodes:Bt,urls:Wt,tags:cn,shouldGenerateZoomLink:un,layout:bn}=this.toObject(),{notifications:jt,managedNotifications:ka,password:ja,keywords:T,rsvpRestrictions:Vo,contentLocation:Wr,contentLocationPublic:sr,zoom:Pr}=R,Xs="irl"==Ze?Wr:"",{limit:Rl,displayLimit:Pa}=Vo||{},Ql=Wt?.donateRaw,Ja=Wt?.postRegistrationRedirect,I1="online"==Ze?R.urls?.clickThroughRaw:"";return{published:q,title:ce,...xe&&{eventType:xe},contentLocation:Xs,...Ze&&{contentLocationType:Ze},contentLocationPublic:sr||!1,...It&&{startDate:"string"==typeof It?It:It.toISOString()},...Kt&&{endDate:"string"==typeof Kt?Kt:Kt.toISOString()},contentUrl:I1,rsvpRestrictions:Rl>=0?{limit:Rl,displayLimit:Pa}:null,...Tn&&{privateUserInfoRequirements:Tn},...Yn&&{userInfoRequirements:Yn},...Ti&&{prompts:Ti},...T&&{keywords:T},postRegistrationRedirectUrl:Ja,registrationCloseDate:"string"==typeof Un?Un:Un?.toISOString()||null,password:ja,subtitle:ji,body:Pi||null,...Wi&&{images:Wi},...To&&{buttonLabels:To},...po&&{theme:po},...bn&&{layout:bn},...jt&&!ka&&{notifications:jt||[]},...Jt&&{tickets:Jt||[]},...Bt&&{promoCodes:Bt||[]},donateUrl:Ql,...cn&&{tags:cn||[]},...!un&&Pr?.meetingId&&{zoomGeneration:{generateZoom:!1}},...un&&!Pr?.meetingId&&{zoomGeneration:{generateZoom:!0}}}}static fromDTO(R){const{title:q,eventType:ce,contentLocation:xe,contentLocationPublic:Ze,contentUrl:It,startDate:Kt,endDate:Tn,layout:Yn,privateUserInfoRequirements:Un,userInfoRequirements:Ti,postRegistrationRedirectUrl:ji,registrationCloseDate:Pi,prompts:Wi,rsvpRestrictions:To,subtitle:po,body:Jt,images:Bt,buttonLabels:Wt,theme:cn,tickets:un,promoCodes:bn,donateUrl:jt,keywords:ka,tags:ja,zoomGeneration:T}=R;return this.fromObject({contentType:"event",title:q,...ce&&{eventType:ce},...xe&&Ze&&{contentLocation:xe},contentLocationType:xe?"irl":"online",...Kt&&{startDate:new Date(Kt)},...Tn&&{endDate:new Date(Tn)},...Un&&{privateUserInfoRequirements:Un},...Ti&&{userInfoRequirements:Ti},...Pi&&{registrationCloseDate:new Date(Pi)},...Wi?.length&&{prompts:Wi},...Yn&&{layout:Yn},...To&&{rsvpRestrictions:{...To,remaining:To.limit}},subtitle:po,body:Jt,...Bt&&{images:Bt},...Wt&&{buttonLabels:Wt},...cn&&{theme:cn},...ji&&{urls:{postRegistrationRedirect:ji}},...un?.length&&{tickets:un},...bn?.length&&{promoCodes:bn},...jt&&{urls:{donateRaw:jt}},...ja?.length&&{tags:ja},...ka?.length&&{keywords:ka},...T&&{shouldGenerateZoomLink:!0},...T&&{contentUrl:""},...!T&&{contentUrl:It}})}get hash(){if(!this._hash){const R=this.theme?.hash??0,q=this.images?.map(Ze=>`${Ze.url}${Ze.altText}`)||"",ce=this.promoCodes?.map(Ze=>`${Ze.promoCode}${Ze.discountPercentage}`)||"";this._hash=Qo(`\n        ${R}\n        ${this.title}\n        ${this.startDate}\n        ${this.endDate}\n        ${this.registrationCloseDate}\n        ${this.contentLocation}\n        ${this.contentLocationType}\n        ${this.subtitle}\n        ${this.body}\n        ${q}\n        ${this.buttonLabels}\n        ${this.rsvpRestrictions?.displayLimit}\n        ${this.rsvpRestrictions?.limit}\n        ${this.rsvpRestrictions?.remaining}\n        ${this.layout}\n        ${this.promptsHash}\n        ${ce}\n      `)}return this._hash}get fullHash(){return this._fullHash||(this._fullHash=Qo(JSON.stringify(this.toObject()))),this._fullHash}get promptsHash(){return this._promptsHash||(this._promptsHash=Qo(JSON.stringify(this.prompts))),this._promptsHash}get isOnline(){return"irl"!==this.contentLocationType}get isIrl(){return"irl"===this.contentLocationType}get routerPath(){return`/event/${this.contentId}`}get hours(){return this.endDate?this.startMoment().diff(this.endMoment(),"hours"):1}get summary(){const R=this.platform?` on ${this.platform}`:"",q=this.startMoment(),ce=this.endMoment(),xe=this.isToday;if((q&&ce?Math.abs(q.diff(ce,"days")):0)>0)return xe?`Today through ${ce.format("MMMM D, YYYY")}${R}`:`${q.format("MMMM D, YYYY")} to ${ce.format("MMMM D, YYYY")}${R}`;if(xe){const It=this.isHappening;return this.isOver?`Ended ${q.fromNow()}${R}`:It?`Started ${q.fromNow()}${R}`:`${q.format("h:mm a")} to ${ce.format("h:mm a z")}${R}`}return q?`${q.calendar(null,{lastDay:"[Yesterday at] h:mm a z",sameDay:"[Today at] h:mm a z",nextDay:"[Tomorrow at] h:mm a z",lastWeek:"[Last] dddd [at] h:mm a z",nextWeek:"dddd [at] h:mm a z",sameElse:"LL [at] h:mm a z"})}${R}`:""}get isToday(){return this.startMoment()?.isSame(fe(),"day")||!1}get isHappening(){const R=fe();return this.startMoment()?.isBefore(R)&&this.endMoment()?.isAfter(R)||!1}get isOver(){return this.endMoment()?.isBefore(fe())||!1}get isFuture(){return this.startMoment()?.isAfter(fe())||!1}startMoment(){return this.startDate?fe(this.startDate):null}endMoment(){return this.endDate?fe(this.endDate):this.startMoment()}registrationCloseDateMoment(){return this.registrationCloseDate?fe(this.registrationCloseDate):null}}return(0,y.Cg)([K()],g.prototype,"contentType",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.metadata?.contentLocation,{toClassOnly:!0})],g.prototype,"contentLocation",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.metadata?.contentLocationType,{toClassOnly:!0})],g.prototype,"contentLocationType",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.metadata?.eventType,{toClassOnly:!0})],g.prototype,"eventType",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.isZoom,{toClassOnly:!0})],g.prototype,"shouldGenerateZoomLink",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.urls?.clickThroughRaw,{toClassOnly:!0})],g.prototype,"contentUrl",void 0),(0,y.Cg)([K(),n(Ci,{toClassOnly:!0})],g.prototype,"startDate",void 0),(0,y.Cg)([K()],g.prototype,"startDateCursor",void 0),(0,y.Cg)([K(),n(Ci,{toClassOnly:!0})],g.prototype,"endDate",void 0),(0,y.Cg)([ae()],g.prototype,"hash",null),(0,y.Cg)([ae()],g.prototype,"fullHash",null),(0,y.Cg)([ae()],g.prototype,"promptsHash",null),(0,y.Cg)([ae()],g.prototype,"isOnline",null),(0,y.Cg)([ae()],g.prototype,"isIrl",null),(0,y.Cg)([ae()],g.prototype,"routerPath",null),(0,y.Cg)([ae()],g.prototype,"hours",null),(0,y.Cg)([ae()],g.prototype,"summary",null),(0,y.Cg)([ae()],g.prototype,"isToday",null),(0,y.Cg)([ae()],g.prototype,"isHappening",null),(0,y.Cg)([ae()],g.prototype,"isOver",null),(0,y.Cg)([ae()],g.prototype,"isFuture",null),g})();function rc(g){return"event"===g?.contentType}let Su=(()=>{class g extends Hd{static new(){return(0,L.bj)(g,{contentType:"drop",signupType:"flow"})}toObject(){return(0,L.fL)(this)}clone(R,q=!1){const ce=(0,L.uK)(this,{excludeExtraneousValues:q});return R&&ce.updateProperties(R),ce}updateProperties(R,q=!0){const ce=R instanceof g?R.toObject():R;for(const xe in ce)this[xe]=R[xe];this._hash=null,this._fullHash=null,R.prompts&&(this._promptsHash=null),q&&this._changes$.next(this)}static fromObject(R,q=!1){return(0,L.bj)(g,{contentType:"drop",...R},{excludeExtraneousValues:q})}get hash(){if(!this._hash){const R=this.theme?.hash??0,q=this.images?.reduce((Ze,It)=>`${Ze}${It.url}${It.altText}`,""),ce=this.promoCodes?.map(Ze=>`${Ze.promoCode}${Ze.discountPercentage}`)||"";this._hash=Qo(`\n        ${R}\n        ${this.title}\n        ${this.signupType}\n        ${this.registrationCloseDate}\n        ${this.subtitle}\n        ${this.promptsHash}\n        ${this.body}\n        ${q}\n        ${this.buttonLabels}\n        ${this.rsvpRestrictions?.displayLimit}\n        ${this.rsvpRestrictions?.limit}\n        ${this.rsvpRestrictions?.remaining}\n        ${this.layout}\n        ${ce}\n      `)}return this._hash}get fullHash(){return this._fullHash||(this._fullHash=Qo(JSON.stringify(this.toObject()))),this._fullHash}get promptsHash(){return this._promptsHash||(this._promptsHash=Qo(JSON.stringify(this.prompts))),this._promptsHash}get routerPath(){return`/signup/${this.contentId}`}registrationCloseDateMoment(){return this.registrationCloseDate?fe(this.registrationCloseDate):null}toCreateDTO(R,q=!0){const{title:ce,privateUserInfoRequirements:xe,userInfoRequirements:Ze,registrationCloseDate:It,prompts:Kt,subtitle:Tn,body:Yn,images:Un,buttonLabels:Ti,theme:ji,tickets:Pi,promoCodes:Wi,urls:To,tags:po,signupType:Jt,layout:Bt}=this.toObject(),{notifications:Wt,managedNotifications:cn,password:un,keywords:bn,rsvpRestrictions:jt}=R,ka=To?.donateRaw,ja=To?.postRegistrationRedirect,{limit:T,displayLimit:Vo}=jt||{};return{contentType:"drop",signupType:Jt||"flow",published:q,title:ce,rsvpRestrictions:T>=0?{limit:T,displayLimit:Vo}:null,...xe&&{privateUserInfoRequirements:xe},...Ze&&{userInfoRequirements:Ze},...Kt&&{prompts:Kt},...bn&&{keywords:bn},...ja&&{postRegistrationRedirectUrl:ja},...It&&{registrationCloseDate:It.toISOString()},...un&&{password:un},...Tn&&{subtitle:Tn},...Yn&&{body:Yn},...Un&&{images:Un},...Ti&&{buttonLabels:Ti},...ji&&{theme:ji},...Wt&&!cn&&{notifications:Wt||[]},...Pi&&{tickets:Pi||[]},...Wi&&{promoCodes:Wi||[]},donateUrl:ka,...po&&{tags:po||[]},...Bt&&{layout:Bt}}}toUpdateDTO(R,q=!0){const{title:ce,privateUserInfoRequirements:xe,userInfoRequirements:Ze,registrationCloseDate:It,prompts:Kt,subtitle:Tn,body:Yn,images:Un,buttonLabels:Ti,theme:ji,tickets:Pi,promoCodes:Wi,signupType:To,urls:po,tags:Jt,layout:Bt}=this.toObject(),{notifications:Wt,managedNotifications:cn,password:un,keywords:bn,rsvpRestrictions:jt}=R,{limit:ka,displayLimit:ja}=jt||{},T=po?.donateRaw,Vo=po?.postRegistrationRedirect;return{published:q,title:ce,signupType:To||"flow",rsvpRestrictions:ka>=0?{limit:ka,displayLimit:ja}:null,...xe&&{privateUserInfoRequirements:xe},...Ze&&{userInfoRequirements:Ze},...Kt&&{prompts:Kt},...bn&&{keywords:bn},postRegistrationRedirectUrl:Vo,registrationCloseDate:"string"==typeof It?It:It?.toISOString()||null,password:un,subtitle:Tn,body:Yn||null,...Un&&{images:Un},...Ti&&{buttonLabels:Ti},...ji&&{theme:ji},...Wt&&!cn&&{notifications:Wt||[]},...Pi&&{tickets:Pi||[]},...Wi&&{promoCodes:Wi||[]},donateUrl:T,...Jt&&{tags:Jt||[]},...Bt&&{layout:Bt}}}static fromDTO(R){const{title:q,privateUserInfoRequirements:ce,userInfoRequirements:xe,postRegistrationRedirectUrl:Ze,registrationCloseDate:It,prompts:Kt,rsvpRestrictions:Tn,subtitle:Yn,body:Un,images:Ti,buttonLabels:ji,signupType:Pi,theme:Wi,tickets:To,keywords:po,donateUrl:Jt,tags:Bt,layout:Wt}=R;return this.fromObject({contentType:"drop",title:q,signupType:Pi,...ce&&{privateUserInfoRequirements:ce},...xe&&{userInfoRequirements:xe},...It&&{registrationCloseDate:new Date(It)},...Ze&&{urls:{postRegistrationRedirect:Ze}},...Kt?.length&&{prompts:Kt},...Tn&&{rsvpRestrictions:{...Tn,remaining:Tn.limit}},subtitle:Yn,body:Un,...Ti&&{images:Ti},...ji&&{buttonLabels:ji},...Wi&&{theme:Wi},...To?.length&&{tickets:To},...po?.length&&{keywords:po},...Jt&&{urls:{donateRaw:Jt}},...Bt?.length&&{tags:Bt},...Wt&&{layout:Wt}})}}return(0,y.Cg)([K()],g.prototype,"contentType",void 0),(0,y.Cg)([K()],g.prototype,"signupType",void 0),(0,y.Cg)([ae()],g.prototype,"hash",null),(0,y.Cg)([ae()],g.prototype,"fullHash",null),(0,y.Cg)([ae()],g.prototype,"promptsHash",null),(0,y.Cg)([ae()],g.prototype,"routerPath",null),g})();function Uc(g){return"drop"===g?.contentType}let _i=(()=>{class g extends jd{clone(R,q=!1){const ce=(0,L.uK)(this,{excludeExtraneousValues:q});return R&&ce.updateProperties(R),ce}updateProperties(R,q=!0){const ce=R instanceof g?R.toObject():R;for(const xe in ce)this[xe]=R[xe];this._hash=null,q&&this._changes$.next(this)}get routerPath(){return`/link/${this.contentId}`}get hash(){if(!this._hash){const R=this.theme?.hash??0,q=this.images?.map(xe=>xe.url)||"";this._hash=Qo(`\n        ${R}\n        ${this.title}\n        ${this.description}\n        ${this.url}\n        ${q}\n      `)}return this._hash}static new(){return(0,L.bj)(g,{contentType:"link"})}static fromObject(R,q=!1){return(0,L.bj)(g,{...R},{excludeExtraneousValues:q})}toObject(){return(0,L.fL)(this)}}return(0,y.Cg)([K()],g.prototype,"contentType",void 0),(0,y.Cg)([K()],g.prototype,"url",void 0),(0,y.Cg)([K()],g.prototype,"description",void 0),(0,y.Cg)([K()],g.prototype,"colors",void 0),(0,y.Cg)([K()],g.prototype,"type",void 0),(0,y.Cg)([K(),n(D=>D?.value??D?.obj?.clickThroughUrls,{toClassOnly:!0})],g.prototype,"urls",void 0),(0,y.Cg)([ae()],g.prototype,"routerPath",null),(0,y.Cg)([ae()],g.prototype,"hash",null),g})();function qr(g){return"link"===g?.contentType}class jc{static fromObject(D){switch(D?.contentType){case"event":return(0,L.om)(Cl,D);case"link":return(0,L.om)(kc,D);case"drop":return(0,L.om)(zs,D);default:return(0,L.om)(jc,D)}}}let ku=(()=>{class g extends jc{constructor(){super(...arguments),this._changes$=new qe.t(null),this.changes$=this._changes$.asObservable()}}return(0,y.Cg)([ae()],g.prototype,"_changes$",void 0),(0,y.Cg)([ae()],g.prototype,"changes$",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([ae()],g.prototype,"_fullHash",void 0),(0,y.Cg)([K(),n(D=>null!=D?.value?D.value:!D?.obj?.notifications,{toClassOnly:!0})],g.prototype,"managedNotifications",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"canceledAt",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"refundIssuedAt",void 0),g})();class kc extends jc{}class Cl extends ku{static new(){return(0,L.om)(Cl,{})}static fromObject(D){return(0,L.om)(Cl,{...D})}clone(D){const R=(0,L.uK)(this);return D&&R.updateProperties(D),R}updateProperties(D,R=!0){const q=D instanceof Cl?D.toObject():D;for(const ce in q)this[ce]=D[ce];this._hash=null,this._fullHash=null,R&&this._changes$.next(this)}toObject(){return(0,L.fL)(this)}get hash(){return this._hash||(this._hash=Qo(`\n        ${this.managedNotifications}\n        ${this.rsvpRestrictions?.limit}\n        ${this.rsvpRestrictions?.displayLimit}\n        ${this.zoom?.meetingId}\n        ${this.password}\n        ${this.urls}\n      `)),this._hash}get fullHash(){return this._fullHash||(this._fullHash=Qo(JSON.stringify(this.toObject()))),this._fullHash}static fromDTO(D){const{contentLocation:R,contentLocationPublic:q,contentUrl:ce,rsvpRestrictions:xe,keywords:Ze,password:It,notifications:Kt}=D;return this.fromObject({...R&&{contentLocation:R},contentLocationPublic:q??!1,...ce&&{contentUrl:ce},...xe&&{rsvpRestrictions:xe},...Ze&&{keywords:Ze},...It&&{password:It},...Kt?.length&&{notifications:Kt,managedNotifications:!1}})}}class zs extends ku{static new(){return(0,L.om)(zs,{})}static fromObject(D){return(0,L.om)(zs,D)}clone(D){const R=(0,L.uK)(this);return D&&R.updateProperties(D),R}updateProperties(D,R=!0){const q=D instanceof zs?D.toObject():D;for(const ce in q)this[ce]=D[ce];this._hash=null,this._fullHash=null,R&&this._changes$.next(this)}toObject(){return(0,L.fL)(this)}get hash(){return this._hash||(this._hash=Qo(`\n        ${this.managedNotifications}\n        ${this.rsvpRestrictions?.limit}\n        ${this.rsvpRestrictions?.displayLimit}\n        ${this.password}\n        ${this.urls}\n      `)),this._hash}get fullHash(){return this._fullHash||(this._fullHash=Qo(JSON.stringify(this.toObject()))),this._fullHash}static fromDTO(D){const{contentUrl:R,rsvpRestrictions:q,keywords:ce,password:xe,notifications:Ze}=D;return this.fromObject({...R&&{contentUrl:R},...q&&{rsvpRestrictions:q},...ce&&{keywords:ce},...xe&&{password:xe},...Ze?.length&&{notifications:Ze,managedNotifications:!1}})}}class Xl{}const np=/<h[12]\b[^>]*>(.*?)<\/h[12]>/,Br=/<p\b[^>]*>(.*?)<\/p>/;let ip=(()=>{class g extends Xl{static fromObject(R){return(0,L.om)(g,{...R})}toObject(){return(0,L.fL)(this)}get isInbound(){return!(this.isOptimistic||this.role&&"assistant"!==this.role)}get isOutbound(){return!this.isInbound}get isOptimistic(){return!this.id||this.id.startsWith("optimistic")}get timestamp(){return this._timestamp||(this._timestamp=this.createdAt?fe(this.createdAt):null),this._timestamp}get title(){return this._plaintextTitle||(this._plaintextTitle=this.content?.match?.(np)?.[1]??"Norby Chat"),this._plaintextTitle}get description(){return this._plaintextDescription||(this._plaintextDescription=this.content?.match?.(Br)?.[1]??"Norby Chat"),this._plaintextDescription}get displayHtml(){if(!this._displayHtml){const R=new RegExp("<(table)([^>]*)>([\\s\\S]*?)<\\/table>","gi");this._displayHtml=this.content.replace(R,(q,ce,xe,Ze)=>{const It=new RegExp("<tr(\\s|>)","gi"),Kt=Ze.match(It),Tn=Kt?Kt.length-1:0;return`<div class="table-outer-wrapper">\n                    <div class="table-inner-wrapper">\n                      <${ce}${xe}>${Ze}</${ce}>\n                      ${Tn>4?`<div class="table-footer">${Tn} row${1===Tn?"":"s"}</div>`:""}\n                    </div>\n                  </div>`})}return this._displayHtml}}return(0,y.Cg)([ae()],g.prototype,"_timestamp",void 0),(0,y.Cg)([ae()],g.prototype,"_displayHtml",void 0),(0,y.Cg)([ae()],g.prototype,"_plaintextTitle",void 0),(0,y.Cg)([ae()],g.prototype,"_plaintextDescription",void 0),(0,y.Cg)([K(),n(D=>D?.value??`optimistic-${Do()}`,{toClassOnly:!0})],g.prototype,"id",void 0),g})();const Od={conferenceSummit:"Conference or Summit",fairTradeShow:"Fair or Trade Show",networkingEventWorkshop:"Networking Event or Workshop",webinarsPanelDiscussion:"Webinar or Panel Discussion",launchParty:"Launch Party",popUp:"Pop-Up",other:"Other"};let Pf=(()=>{class g{}return(0,y.Cg)([K()],g.prototype,"height",void 0),(0,y.Cg)([K()],g.prototype,"width",void 0),(0,y.Cg)([K()],g.prototype,"mimeType",void 0),(0,y.Cg)([K()],g.prototype,"palettes",void 0),(0,y.Cg)([K()],g.prototype,"url",void 0),(0,y.Cg)([K()],g.prototype,"altText",void 0),g})(),cp=(()=>{class g{get name(){let R=this.nickname??this.display_name??this._randomName;if(!R){const{label:q,color:ce}=ir(this.id);this._randomColor=ce,R=this._randomName=q}return R}get avatarUrl(){return this.alt_photo_url??this.photo_url}get avatarColor(){if(!this._randomColor){const{label:R,color:q}=ir(this.id);this._randomName=R,this._randomColor=q}return this._randomColor}}return(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"last_sent_contact_card_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"last_informed_about_keywords_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"inbox_last_seen_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"inbox_last_updated_by_contact_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"inbox_message_activity_last_updated_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"inbox_last_updated_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"modified_at",void 0),(0,y.Cg)([n(Ci,{toClassOnly:!0})],g.prototype,"created_at",void 0),g})();var Ns=function(g){return g.TEXT="text",g.HEADER="header",g.IMAGE="image",g.SPACER="spacer",g.FOOTER="footer",g.DIVIDER="divider",g.BUTTON="button",g.YOUTUBE="youtube",g.EVENT="event",g.QUOTE="quote",g.SIGNUP="signup",g.UPCOMING_EVENTS="upcomingEvents",g}(Ns||{});let xc=(()=>{class g{static clone(R){return(0,L.uK)(R)}static fromObject(R){switch(R?.blockType){case"text":return(0,L.om)(Ic,R);case"header":return(0,L.om)(v1,R);case"image":return(0,L.om)(Iu,R);case"spacer":return(0,L.om)(_1,R);case"footer":return(0,L.om)(Qu,R);case"divider":return(0,L.om)(gd,R);case"button":return(0,L.om)(Dc,R);case"youtube":return(0,L.om)(d0,R);case"event":return(0,L.om)(nu,R);case"quote":return(0,L.om)(Nd,R);case"signup":return(0,L.om)(iu,R);case"upcomingEvents":return(0,L.om)(y1,R);default:return null}}toObject(){return(0,L.fL)(this)}getHtml(R,q){return this._html=(0,ft.E)([this],{clickThroughUrl:`https://${R?.slug}.nor.by`,avatarUrl:R?.accountInfo?.avatarUrl,slugTitle:R?.accountInfo?.title||R?.slug,copyright:fe().year().toString(),socialLinks:R?.accountInfo?.links,slugTheme:R?.theme},q?.contentBlockMap,q?.theme),this._html}get hash(){if(!this._hash){const R=this._stringify();this._hash=Qo(`${this.theme?.hash??0}${R}`)}return this._hash}}return(0,y.Cg)([ae()],g.prototype,"_html",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([K(),a(()=>Vc)],g.prototype,"theme",void 0),g})();class Ic extends xc{get isEmpty(){return!this.body?.length}_stringify(){return`\n    ${this.body}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(Ic,{blockType:Ns.TEXT,body:"",paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class v1 extends xc{get isEmpty(){return!1}_stringify(){return`\n    ${this.height}\n    ${this.image?.url}\n    ${this.clickThroughUrl}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(v1,{blockType:Ns.HEADER,image:null,height:75,clickThroughUrl:"",paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class Iu extends xc{get isEmpty(){return!this.image?.url?.length}_stringify(){return`\n    ${this.height}\n    ${this.alignment}\n    ${this.image?.url}\n    ${this.clickThroughUrl}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(Iu,{blockType:Ns.IMAGE,image:null,height:75,clickThroughUrl:"",alignment:Vs,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class _1 extends xc{get isEmpty(){return!(this.height>0)}_stringify(){return`\n    ${this.height}\n    ${this.blockType}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(_1,{blockType:Ns.SPACER,height:75,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0})}}class Qu extends xc{get isEmpty(){return!1}_stringify(){return`\n    ${this.image?.url}\n    ${this.imageEnabled}\n    ${this.title}\n    ${this.copyright}\n    ${this.mailingAddress}\n    ${this.socialLinks}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(Qu,{blockType:Ns.FOOTER,image:null,imageEnabled:!0,title:"",copyright:"",mailingAddress:"",socialLinks:null,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class gd extends xc{get isEmpty(){return!this.height}_stringify(){return`\n    ${this.blockType}\n    ${this.height}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(gd,{blockType:Ns.DIVIDER,height:75,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class Dc extends xc{get isEmpty(){return!this.label?.length&&!this.clickThroughUrl?.length}_stringify(){return`\n    ${this.blockType}\n    ${this.height}\n    ${this.label}\n    ${this.clickThroughUrl}\n    ${this.alignment}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(Dc,{blockType:Ns.BUTTON,height:75,label:"",clickThroughUrl:"",alignment:Vs,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class d0 extends xc{get isEmpty(){return!this.url?.length}_stringify(){return`\n    ${this.url}\n    ${this.height}\n    ${this.alignment},\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(d0,{blockType:Ns.YOUTUBE,url:"",height:75,alignment:Vs,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class nu extends xc{get isEmpty(){return!this.contentId?.length}_stringify(){return`\n      ${this.blockType}\n      ${this.contentId}\n      ${this.paddingTop}\n      ${this.paddingRight}\n      ${this.paddingBottom}\n      ${this.paddingLeft}\n      `}static new(){return(0,L.om)(nu,{blockType:Ns.EVENT,contentId:"",paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class y1 extends xc{get isEmpty(){return!1}_stringify(){return`\n      ${this.blockType}\n      ${this.tag}\n      ${this.limit}\n      ${this.reverse}\n      ${this.eventIds}\n      ${this.paddingTop}\n      ${this.paddingRight}\n      ${this.paddingBottom}\n      ${this.paddingLeft}\n      `}static new(){return(0,L.om)(y1,{blockType:Ns.UPCOMING_EVENTS,tag:"",limit:10,reverse:!1,eventIds:[],paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class Nd extends xc{get isEmpty(){return!1}_stringify(){return`\n    ${this.blockType}\n    ${this.alignment}\n    ${this.quote}\n    ${this.quoteFontSize}\n    ${this.attribution}\n    ${this.attributionFontSize}\n    ${this.paddingTop}\n    ${this.paddingRight}\n    ${this.paddingBottom}\n    ${this.paddingLeft}\n    `}static new(){return(0,L.om)(Nd,{blockType:Ns.QUOTE,alignment:Vs,quote:"",quoteFontSize:Nr,attribution:"",attributionFontSize:ml,paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}class iu extends xc{get isEmpty(){return!this.contentId?.length}_stringify(){return`\n      ${this.blockType}\n      ${this.contentId}\n      ${this.paddingTop}\n      ${this.paddingRight}\n      ${this.paddingBottom}\n      ${this.paddingLeft}\n      `}static new(){return(0,L.om)(iu,{blockType:Ns.SIGNUP,contentId:"",paddingTop:ao,paddingRight:ao,paddingBottom:ao,paddingLeft:ao})}}var Vf=function(g){return g.GENERAL="general",g.EVENT_UPDATES="eventUpdates",g.BLOG="blog",g.UPDATES="updates",g.SURVEY="survey",g.INVITATION="invitation",g.NEWSLETTER="newsletter",g.SALE="sale",g.SHOPPING="shopping",g.PRODUCT_LAUNCH="productLaunch",g.RESOURCE="resource",g}(Vf||{});class u0{}let Cg=(()=>{class g extends u0{constructor(){super(...arguments),this._changes$=new qe.t(null),this.changes$=this._changes$.asObservable()}get hash(){return this._hash||(this._hash=Qo(`\n        ${this.blockHash},\n        ${this.deliveryType},\n        ${this.marketingCommunicationType},\n        ${this.subject},\n        ${this.senderName},\n        ${this.previewText},\n        ${this.replyTo},\n        ${this.attachmentHash},\n        ${this.mappedContentHash}\n        ${this.theme?.hash??0}\n      `)),this._hash}get attachmentHash(){if(!this._attachmentHash){const R=this.attachments?.reduce((q,ce)=>`${q}${ce.source}`,"");this._attachmentHash=Qo(R)}return this._attachmentHash}get blockHash(){if(!this._blockHash){const R=this.blocks?.reduce((q,ce)=>`${q}${ce.hash}`,"");this._blockHash=Qo(R)}return this._blockHash}get mappedContentHash(){if(!this._mappedContentHash){let R="";this.contentBlockMap&&(R=Object.values(this.contentBlockMap)?.reduce((q,ce)=>`${q}${ce.hash}`,"")),this._mappedContentHash=Qo(R)}return this._mappedContentHash}get firstTextBlockContent(){return this.blocks?.find(q=>"text"===q.blockType)?.body}get isValid(){return this.deliveryType&&!this.hasBeenSent&&!!("sms"!==this.deliveryType||this.firstTextBlockContent||this.attachments?.length>0)&&!!("email"!==this.deliveryType||this.marketingCommunicationType&&this.subject)&&this.eventUpdatesConditionsAreSatisfied}get eventUpdatesConditionsAreSatisfied(){if("email"!==this.deliveryType||this.marketingCommunicationType!==Vf.EVENT_UPDATES)return!0;if(!this.associatedSegment?.filterGroups?.length)return!1;const R=Qa,q=new Set;let ce=!0;return this.associatedSegment?.filterGroups.forEach(xe=>xe.filters.forEach(Ze=>{(!Ze.contentId||!R.has(Ze.type))&&(ce=!1),q.size&&!q.has(Ze.contentId)&&(ce=!1),q.add(Ze.contentId)})),this.associatedSegment.includedContacts.length>0&&(ce=!1),ce}updateProperties(R,q=!0){const ce=R instanceof g?R.toObject():R;for(const xe in ce)this[xe]=R[xe];this._hash=null,R?.attachments&&(this._attachmentHash=null),R?.blocks&&(this._blockHash=null),q&&this._changes$.next(this)}static new(){return(0,L.om)(g,{blocks:[v1.new().toObject(),Ic.new().toObject(),Qu.new().toObject()],attachments:[],associatedSegment:{includedContacts:[],excludedContacts:[]}})}clone(R){const q=(0,L.uK)(this);return R&&q.updateProperties(R),q}toObject(){return(0,L.fL)(this)}static fromObject(R){return(0,L.om)(g,{...R})}addIncludedContact(R,q=!0){this.associatedSegment?.addIncludedContact(R),q&&this._changes$.next(this)}removeIncludedContact(R,q=!0){this.associatedSegment?.removeIncludedContact(R),q&&this._changes$.next(this)}addExcludedContact(R,q=!0){this.associatedSegment?.addExcludedContact(R),q&&this._changes$.next(this)}removeExcludedContact(R,q=!0){this.associatedSegment?.removeExcludedContact(R),q&&this._changes$.next(this)}addContentToMap(R){return this.contentBlockMap||(this.contentBlockMap={}),R?.contentId&&(this.contentBlockMap[R.contentId]=R,this._mappedContentHash=null,this._hash=null),this}addContentArrayToMap(R){return this.contentBlockMap||(this.contentBlockMap={}),R?.length&&(R.forEach(q=>{q?.contentId&&(this.contentBlockMap[q.contentId]=q)}),this._mappedContentHash=null,this._hash=null),this}removeBlockAtIndex(R,q=!0){this.blocks?.splice(R,1),this._blockHash=null,this._hash=null,q&&this._changes$.next(this)}updateBlockAtIndex(R,q,ce=!0){this.blocks[R]=q,this._blockHash=null,this._hash=null,ce&&this._changes$.next(this)}insertBlockAtIndex(R,q,ce=!0){R<0||(R>this.blocks.length?this.blocks.push(q):this.blocks.splice(R,0,q),this._blockHash=null,this._hash=null,ce&&this._changes$.next(this))}toCreateDTO(){const{deliveryType:R,marketingCommunicationType:q,subject:ce,previewText:xe,senderName:Ze,sendAt:It,draft:Kt,disableNorbyBrandedTracking:Tn,replyTo:Yn,attachments:Un,webhosted:Ti,theme:ji}=this.toObject();return{...R&&{deliveryType:R},...q&&{marketingCommunicationType:q},...xe&&{previewText:xe},...Ze&&{senderName:Ze},...Yn&&{replyTo:Yn},...Un&&{attachments:Un},subject:"email"===R?ce:null,blocks:this.blocks?.reduce((Wi,To)=>To.isEmpty?Wi:[...Wi,To.toObject()],[])??[],sendAt:It??(new Date).toISOString(),draft:Kt??!1,disableNorbyBrandedTracking:Tn??!1,excludedContactIds:this.associatedSegment?.excludedContacts?.map(Wi=>Wi.contactId)??[],includedContactIds:this.associatedSegment?.includedContacts?.map(Wi=>Wi.contactId)??[],filterGroups:this.associatedSegment?.filterGroups.map(Wi=>Wi.toCreateDTO())??[],webhosted:Ti??!1,...ji&&{theme:ji}}}toTestMessageDTO(){const{deliveryType:R,subject:q,previewText:ce,senderName:xe,disableNorbyBrandedTracking:Ze,replyTo:It,attachments:Kt,theme:Tn}=this.toObject();return{...q&&{subject:q},...ce&&{previewText:ce},...xe&&{senderName:xe},...It&&{replyTo:It},...Kt&&{attachments:Kt},blocks:this.blocks?.reduce((Un,Ti)=>Ti.isEmpty?Un:[...Un,Ti.toObject()],[])??[],disableNorbyBrandedTracking:Ze??!1,deliveryType:R??"email",...Tn&&{theme:Tn}}}}return(0,y.Cg)([ae()],g.prototype,"_changes$",void 0),(0,y.Cg)([ae()],g.prototype,"changes$",void 0),(0,y.Cg)([ae()],g.prototype,"_hash",void 0),(0,y.Cg)([ae()],g.prototype,"_attachmentHash",void 0),(0,y.Cg)([ae()],g.prototype,"_blockHash",void 0),(0,y.Cg)([ae()],g.prototype,"_mappedContentHash",void 0),(0,y.Cg)([a(()=>te)],g.prototype,"associatedSegment",void 0),(0,y.Cg)([a(()=>Vc)],g.prototype,"theme",void 0),(0,y.Cg)([a(()=>xc,{keepDiscriminatorProperty:!0,discriminator:{property:"blockType",subTypes:[{value:Ic,name:"text"},{value:v1,name:"header"},{value:Iu,name:"image"},{value:_1,name:"spacer"},{value:Qu,name:"footer"},{value:gd,name:"divider"},{value:Dc,name:"button"},{value:d0,name:"youtube"},{value:nu,name:"event"},{value:Nd,name:"quote"},{value:iu,name:"signup"},{value:y1,name:"upcomingEvents"}]}})],g.prototype,"blocks",void 0),g})();var T2=function(g){return g.USER_FIRST_NAME="USER_FIRST_NAME",g.USER_LAST_NAME="USER_LAST_NAME",g.USER_FULL_NAME="USER_FULL_NAME",g}(T2||{}),S2=function(g){return g.CONTENT_LOCATION="CONTENT_LOCATION",g.CONTENT_TITLE="CONTENT_TITLE",g.CONTENT_URL="CONTENT_URL",g.CONTENT_PAGE_URL="CONTENT_PAGE_URL",g.CONTENT_REFERRAL_URL="CONTENT_REFERRAL_URL",g.USER_REFERRAL_URL="USER_REFERRAL_URL",g.CONTENT_IMAGE="CONTENT_IMAGE",g.CONTENT_SUBTITLE="CONTENT_SUBTITLE",g.CONTENT_PASSWORD="CONTENT_PASSWORD",g.CONTENT_START_DATE="CONTENT_START_DATE",g.CONTENT_END_DATE="CONTENT_END_DATE",g.APPLE_CALENDAR_URL="APPLE_CALENDAR_URL",g.APPLE_CALENDAR="APPLE_CALENDAR",g.GOOGLE_CALENDAR_URL="GOOGLE_CALENDAR_URL",g.GOOGLE_CALENDAR="GOOGLE_CALENDAR",g.OUTLOOK_CALENDAR_URL="OUTLOOK_CALENDAR_URL",g.OUTLOOK_CALENDAR="OUTLOOK_CALENDAR",g.TOTAL_TICKETS_PURCHASED="TOTAL_TICKETS_PURCHASED",g.USER_PROMPT_RESPONSES="USER_PROMPT_RESPONSES",g}(S2||{}),k2=function(g){return g.USER_FIRST_NAME="First name",g.USER_LAST_NAME="Last name",g.USER_FULL_NAME="Full name",g.CONTENT_LOCATION="Location",g.CONTENT_TITLE="Title",g.CONTENT_URL="Join URL",g.CONTENT_PAGE_URL="Page URL",g.CONTENT_REFERRAL_URL="Content referral URL",g.USER_REFERRAL_URL="Referral link",g.CONTENT_IMAGE="Image",g.CONTENT_SUBTITLE="Subtitle",g.CONTENT_PASSWORD="Password",g.CONTENT_START_DATE="Start date",g.CONTENT_END_DATE="End date",g.APPLE_CALENDAR_URL="Apple Calendar URL",g.APPLE_CALENDAR='"Add to Apple Calendar" link',g.GOOGLE_CALENDAR_URL="Google Calendar URL",g.GOOGLE_CALENDAR='"Add to Google Calendar" link',g.OUTLOOK_CALENDAR_URL="Outlook Calendar URL",g.OUTLOOK_CALENDAR='"Add to Outlook Calendar" link',g.TOTAL_TICKETS_PURCHASED="Total tickets purchased",g.USER_PROMPT_RESPONSES="Custom field responses",g}(k2||{});function Uf(g){return g?.blockType===Ns.HEADER}function b1(g){return g?.blockType===Ns.TEXT}function Gf(g){return g?.blockType===Ns.IMAGE}function p0(g){return g?.blockType===Ns.SPACER}function x2(g){return g?.blockType===Ns.FOOTER}function C1(g){return g?.blockType===Ns.DIVIDER}function up(g){return g?.blockType===Ns.BUTTON}function Kl(g){return g?.blockType===Ns.YOUTUBE}function J4(g){return g?.blockType===Ns.EVENT}function wg(g){return g?.blockType===Ns.QUOTE}function Z4(g){return g?.blockType===Ns.SIGNUP}function I2(g){return g?.blockType===Ns.UPCOMING_EVENTS}function Tg(g){return{...null!==g.borderRadius&&g.borderRadius>-1&&{borderRadius:Number(g.borderRadius)},...null!==g.borderWidth&&g.borderWidth>-1&&{borderWidth:Number(g.borderWidth)},...g.dropShadow&&{dropShadow:g.dropShadow},...g.backgroundColor&&{backgroundColor:g.backgroundColor},...g.textColor&&{textColor:g.textColor},...g.borderColor&&{borderColor:g.borderColor}}}class Hf{}class fa extends Hf{get firstName(){return this.displayName?.split(" ")?.[0]}}class Wf{}class Ju{}let im=(()=>{class g extends ze.Sf{constructor(R,q){super(R,q),this._platform=q}_createContainer(){const q="cdk-overlay-container";if(typeof window<"u"){const xe=this._document?.querySelectorAll(`.${q}[platform="server"], .${q}[platform="test"]`);for(let Ze=0;Ze<xe.length;Ze++)xe[Ze].parentNode?.removeChild(xe[Ze])}const ce=this._document?.createElement("div");ce.classList.add(q,"norby"),this._document?.body.appendChild(ce),this._containerElement=ce}static#e=this.\u0275fac=function(q){return new(q||g)(le.KVO(B.qQ),le.KVO(le.Agw))};static#t=this.\u0275prov=le.jDH({token:g,factory:g.\u0275fac})}return g})();var vd=function(g){return g.CLICKED_UPSELL="clickedUpsell",g.USER_SEARCHED="userSearched",g.DUPLICATED_ENTITY="duplicatedEntity",g.CLICKED_ENTITY="clickedEntity",g.CLICKED_ELEMENT="clickedElement",g.UPDATED_PROFILE="updatedProfile",g.LINK_BLOCK_CREATED="linkBlockCreated",g.SIGNUP_BLOCK_CREATED="signupBlockCreated",g.EVENT_BLOCK_CREATED="eventBlockCreated",g.CONTACTS_IMPORTED="contactsImported",g.APPLIED_THEME="appliedTheme",g.COMPLETED_PRODUCTIZED_ONBOARDING="completedProductizedOnboarding",g.UPDATED_THEME="updatedTheme",g.SUBMITTED_DOWNGRADE_REASON="submittedDowngradeReason",g.ABORT_DOWNGRADE="abortDowngrade",g.SUBMITTED_DOWNGRADE_FOLLOW_UP="submittedDowngradeFollowUp",g}(vd||{}),Dh=function(g){return g.OUT_OF_TEXTS="outOfTexts",g.ALMOST_OUT_OF_TEXTS="almostOutOfTexts",g.UPGRADE="upgrade",g}(Dh||{}),S1=function(g){return g.LEFT_SIDE_BAR="leftSideBar",g.RIGHT_SIDE_BAR="rightSideBar",g.DASHBOARD_BANNER="dashboardBanner",g.SEARCH_RESULTS="searchResults",g.SMS_MESSAGE_BAR_ATTACHMENTS_TOOLTIP="smsMessageBarAttachmentsTooltip",g.SMS_MESSAGE_BAR_ALERT="smsMessageBarAlert",g.SINGLE_SEND_ATTACHMENTS_TOOLTIP="singleSendAttachmentsTooltip",g.EVENT_NOTIFICATIONS_ATTACHMENTS_TOOLTIP="eventNotificationsAttachmentsTooltip",g.SIGNUP_NOTIFICATIONS_ATTACHMENTS_TOOLTIP="signupNotificationsAttachmentsTooltip",g.SINGLE_SEND_SMS_SENDS="singleSendsSmsSendsTooltip",g.CONTENT_NOTIFICATIONS_ATTACHMENTS_TOOLTIP="contentNotificationsAttachmentsTooltip",g.DISABLE_NORBY_BRANDING="disableNorbyBranding",g.CUSTOMIZE_TERMS_OF_SERVICE="customizeTermsOfService",g.CUSTOMIZE_PRIVACY_POLICY="customizePrivacyPolicy",g.CUSTOM_CSS="customCss",g.ADD_LANDING_PAGES_TOOLTIP="addLandingPagesTooltip",g.ZAPIER_INTEGRATION_TOOLTIP="zapierIntegrationTooltip",g.FB_PIXEL_TOOLTIP="fbPixelTooltip",g.TIKTOK_PIXEL_TOOLTIP="tiktokPixelTooltip",g.ADROLL_TOOLTIP="adrollTooltip",g.ADD_TEAM_MEMBER_TOOLTIP="addTeamMemberTooltip",g.CUSTOM_FAVICON="customFavicon",g.HTML_BLOCK="htmlBlock",g.USAGE_TRACKER="usageTracker",g.ANALYTICS_PAGE="analyticsPage",g.SIGNUP_LINKS="signupLinks",g.SIGNUP_REFERRERS="signupReferrers",g.SIGNUP_CUSTOM_FIELDS="signupCustomFields",g.SIGNUP_KEYWORDS="signupKeywords",g.SIGNUP_NOTIFICATIONS="signupNotifications",g.EVENT_LINKS="eventLinks",g.EVENT_REFERRERS="eventReferrers",g.EVENT_CUSTOM_FIELDS="eventCustomFields",g.EVENT_KEYWORDS="eventCustomFields",g.EVENT_CAPACITY="eventCustomFields",g.EVENT_NOTIFICATIONS="eventNotifications",g.INBOX_MESSAGE_HISTORY="inboxMessageHistory",g}(S1||{}),Ag=function(g){return g.BUTTON="button",g.CARD="card",g.ADMIN_NOTIFICATION="adminNotification",g}(Ag||{}),L2=function(g){return g.HOST_EVENT="hostAnEvent",g.CREATE_SIGNUP="createSignup",g.SEND_TEXT_EMAIL="sendTextOrEmail",g.TALK_TO_EXPERT="talkToMarketingExpert",g.SKIPPED_SAMPLE_REGISTRATION="skippedSampleRegistration",g.COMPLETED_SAMPLE_REGISTRATION="completedSampleRegistration",g.OPENED_LAUNCHER="openedLauncher",g.DISMISSED_LAUNCHER="dismissedLauncher",g.EDIT_LINK_IN_BIO="editLinkInBio",g.EDIT_PROFILE="editProfile",g.SEND_SMS="sendSMS",g.CREATE_EVENT="createEvent",g.COPY_NORBY_LINK="copyNorbyLink",g.COPY_NORBY_NUMBER="copyNorbyNumber",g.COPY_REFERRAL_LINK="copyReferralLink",g.KNOWLEDGE_BASE="knowledgeBase",g.ASK_A_QUESTION="askAQuestion",g.NOTIFICATION_ACTION="notificationAction",g.DOWNGRADE_TO_FREE="downgradeToFree",g.DOWNGRADE_TO_STARTER="downgradeToStarter",g.DOWNGRADE_TO_BASIC="downgradeToBasic",g.UPGRADE_TO_BASIC="upgradeToBasic",g.UPGRADE_TO_STARTER="upgradeToStarter",g.UPGRADE_TO_UNLIMITED="upgradeToUnlimited",g.SKIPPED_ONBOARDING_PROFILE="skippedOnboardingProfile",g.SKIPPED_ONBOARDING_THEME="skippedOnboardingTheme",g.SKIPPED_ONBOARDING_LINK_BLOCK="skippedOnboardingLinkBlock",g.SKIPPED_ONBOARDING_SIGNUP_BLOCK="skippedOnboardingSignupBlock",g.SKIPPED_ONBOARDING_EVENT_BLOCK="skippedOnboardingEventBlock",g.SKIPPED_ONBOARDING_IMPORT_CONTACTS="skippedOnboardingImportContacts",g.CLAIM_PHONE_NUMBER="claimPhoneNumber",g.SUBMIT_10DLC_USER_INFO="submit10DLCUserInfo",g.SUBMIT_10DLC_BUSINESS_INFO="submit10DLCBusinessInfo",g.SUBMIT_10DLC_USE_CASE="submit10DLCUseCase",g.SUBMIT_10DLC_APPLICATION="submit10DLCApplication",g.SUBMIT_TOLLFREE_USER_INFO="submitTollFreeUserInfo",g.SUBMIT_TOLLFREE_BUSINESS_INFO="submitTollFreeBusinessInfo",g.SUBMIT_TOLLFREE_USE_CASE="submitTollFreeUseCase",g.SUBMIT_TOLLFREE_APPLICATION="submitTollFreeApplication",g}(L2||{});class Pd{}class Pg extends Pd{}class cm extends Pd{}class C0 extends Pd{}class $2 extends Pd{}class Ou extends Pd{}class zu extends Pd{}class _d extends Pd{}class ru extends Pd{}class U2 extends Pd{}class dm extends Pd{}class w0 extends Pd{}class Nu extends Pd{}let Ov=(()=>{class g{}return(0,y.Cg)([a(()=>Pd,{keepDiscriminatorProperty:!0,discriminator:{property:"event",subTypes:[{value:Pg,name:vd.CLICKED_UPSELL},{value:cm,name:vd.USER_SEARCHED},{value:$2,name:vd.DUPLICATED_ENTITY},{value:Ou,name:vd.CLICKED_ENTITY},{value:C0,name:vd.CLICKED_ELEMENT},{value:zu,name:vd.UPDATED_PROFILE},{value:_d,name:vd.COMPLETED_PRODUCTIZED_ONBOARDING},{value:ru,name:vd.UPDATED_THEME},{value:U2,name:vd.APPLIED_THEME},{value:dm,name:vd.SUBMITTED_DOWNGRADE_REASON},{value:w0,name:vd.ABORT_DOWNGRADE},{value:Nu,name:vd.SUBMITTED_DOWNGRADE_FOLLOW_UP}]}})],g.prototype,"data",void 0),g})();var G2=function(g){return g.CONTENT_SELECTOR="content-selector",g.THEME_SELECTOR="theme-selector",g.SOCIAL_LINKS_SELECTOR="social-links-selector",g.FONT_SELECTOR="font-selector",g.LAYOUT_SELECTOR="layout-selector",g.CONTENT_SELECTOR_BY_ID="content-selector-by-id",g}(G2||{});function J8(g){const D=(g??"0px 0px 0px #000000").trim().split(" ").map(Ze=>Ze.replace("px","").trim());for(;D.length<4;)D.push("");return{h:+(D[0]||0),v:+(D[1]||0),blur:+(D[2]||0),color:D[3]||"#000000"}}const $g=(...[g,D])=>!g&&!D||!(!g||!D)&&(g=g instanceof Vc?g:Vc.fromObject(g),D=D instanceof Vc?D:Vc.fromObject(D),g.hash===D.hash),X2=(...[g,D])=>!g&&!D||!(!g||!D)&&(g=g instanceof $c?g:$c.fromObject(g),D=D instanceof $c?D:$c.fromObject(D),g.fullHash===D.fullHash),Ug=(...[g,D])=>!g&&!D||!(!g||!D)&&(g=g instanceof Cl?g:Cl.fromObject(g),D=D instanceof Cl?D:Cl.fromObject(D),g.fullHash===D.fullHash);function Gg(){var q=3,ce=4,Ti=12,ji=13,To=16,po=17;function bn(T,Vo){return 55296<=T.charCodeAt(Vo)&&T.charCodeAt(Vo)<=56319&&56320<=T.charCodeAt(Vo+1)&&T.charCodeAt(Vo+1)<=57343}function jt(T,Vo){void 0===Vo&&(Vo=0);var Wr=T.charCodeAt(Vo);if(55296<=Wr&&Wr<=56319&&Vo<T.length-1){var sr=Wr;return 56320<=(Pr=T.charCodeAt(Vo+1))&&Pr<=57343?1024*(sr-55296)+(Pr-56320)+65536:sr}if(56320<=Wr&&Wr<=57343&&Vo>=1){var Pr=Wr;return 55296<=(sr=T.charCodeAt(Vo-1))&&sr<=56319?1024*(sr-55296)+(Pr-56320)+65536:Pr}return Wr}function ka(T,Vo,Wr){var sr=[T].concat(Vo).concat([Wr]),Pr=sr[sr.length-2],Xs=Wr,Rl=sr.lastIndexOf(14);if(Rl>1&&sr.slice(1,Rl).every(function(Ja){return Ja==q})&&-1==[q,ji,po].indexOf(T))return 2;var Pa=sr.lastIndexOf(ce);if(Pa>0&&sr.slice(1,Pa).every(function(Ja){return Ja==ce})&&-1==[Ti,ce].indexOf(Pr))return sr.filter(function(Ja){return Ja==ce}).length%2==1?3:4;if(0==Pr&&1==Xs)return 0;if(2==Pr||0==Pr||1==Pr)return 14==Xs&&Vo.every(function(Ja){return Ja==q})?2:1;if(2==Xs||0==Xs||1==Xs)return 1;if(6==Pr&&(6==Xs||7==Xs||9==Xs||10==Xs))return 0;if(!(9!=Pr&&7!=Pr||7!=Xs&&8!=Xs))return 0;if((10==Pr||8==Pr)&&8==Xs)return 0;if(Xs==q||15==Xs)return 0;if(5==Xs)return 0;if(Pr==Ti)return 0;var Ql=-1!=sr.indexOf(q)?sr.lastIndexOf(q)-1:sr.length-2;return-1!=[ji,po].indexOf(sr[Ql])&&sr.slice(Ql+1,-1).every(function(Ja){return Ja==q})&&14==Xs||15==Pr&&-1!=[To,po].indexOf(Xs)?0:-1!=Vo.indexOf(ce)?2:Pr==ce&&Xs==ce?0:1}function ja(T){return 1536<=T&&T<=1541||1757==T||1807==T||2274==T||3406==T||69821==T||70082<=T&&T<=70083||72250==T||72326<=T&&T<=72329||73030==T?Ti:13==T?0:10==T?1:0<=T&&T<=9||11<=T&&T<=12||14<=T&&T<=31||127<=T&&T<=159||173==T||1564==T||6158==T||8203==T||8206<=T&&T<=8207||8232==T||8233==T||8234<=T&&T<=8238||8288<=T&&T<=8292||8293==T||8294<=T&&T<=8303||55296<=T&&T<=57343||65279==T||65520<=T&&T<=65528||65529<=T&&T<=65531||113824<=T&&T<=113827||119155<=T&&T<=119162||917504==T||917505==T||917506<=T&&T<=917535||917632<=T&&T<=917759||918e3<=T&&T<=921599?2:768<=T&&T<=879||1155<=T&&T<=1159||1160<=T&&T<=1161||1425<=T&&T<=1469||1471==T||1473<=T&&T<=1474||1476<=T&&T<=1477||1479==T||1552<=T&&T<=1562||1611<=T&&T<=1631||1648==T||1750<=T&&T<=1756||1759<=T&&T<=1764||1767<=T&&T<=1768||1770<=T&&T<=1773||1809==T||1840<=T&&T<=1866||1958<=T&&T<=1968||2027<=T&&T<=2035||2070<=T&&T<=2073||2075<=T&&T<=2083||2085<=T&&T<=2087||2089<=T&&T<=2093||2137<=T&&T<=2139||2260<=T&&T<=2273||2275<=T&&T<=2306||2362==T||2364==T||2369<=T&&T<=2376||2381==T||2385<=T&&T<=2391||2402<=T&&T<=2403||2433==T||2492==T||2494==T||2497<=T&&T<=2500||2509==T||2519==T||2530<=T&&T<=2531||2561<=T&&T<=2562||2620==T||2625<=T&&T<=2626||2631<=T&&T<=2632||2635<=T&&T<=2637||2641==T||2672<=T&&T<=2673||2677==T||2689<=T&&T<=2690||2748==T||2753<=T&&T<=2757||2759<=T&&T<=2760||2765==T||2786<=T&&T<=2787||2810<=T&&T<=2815||2817==T||2876==T||2878==T||2879==T||2881<=T&&T<=2884||2893==T||2902==T||2903==T||2914<=T&&T<=2915||2946==T||3006==T||3008==T||3021==T||3031==T||3072==T||3134<=T&&T<=3136||3142<=T&&T<=3144||3146<=T&&T<=3149||3157<=T&&T<=3158||3170<=T&&T<=3171||3201==T||3260==T||3263==T||3266==T||3270==T||3276<=T&&T<=3277||3285<=T&&T<=3286||3298<=T&&T<=3299||3328<=T&&T<=3329||3387<=T&&T<=3388||3390==T||3393<=T&&T<=3396||3405==T||3415==T||3426<=T&&T<=3427||3530==T||3535==T||3538<=T&&T<=3540||3542==T||3551==T||3633==T||3636<=T&&T<=3642||3655<=T&&T<=3662||3761==T||3764<=T&&T<=3769||3771<=T&&T<=3772||3784<=T&&T<=3789||3864<=T&&T<=3865||3893==T||3895==T||3897==T||3953<=T&&T<=3966||3968<=T&&T<=3972||3974<=T&&T<=3975||3981<=T&&T<=3991||3993<=T&&T<=4028||4038==T||4141<=T&&T<=4144||4146<=T&&T<=4151||4153<=T&&T<=4154||4157<=T&&T<=4158||4184<=T&&T<=4185||4190<=T&&T<=4192||4209<=T&&T<=4212||4226==T||4229<=T&&T<=4230||4237==T||4253==T||4957<=T&&T<=4959||5906<=T&&T<=5908||5938<=T&&T<=5940||5970<=T&&T<=5971||6002<=T&&T<=6003||6068<=T&&T<=6069||6071<=T&&T<=6077||6086==T||6089<=T&&T<=6099||6109==T||6155<=T&&T<=6157||6277<=T&&T<=6278||6313==T||6432<=T&&T<=6434||6439<=T&&T<=6440||6450==T||6457<=T&&T<=6459||6679<=T&&T<=6680||6683==T||6742==T||6744<=T&&T<=6750||6752==T||6754==T||6757<=T&&T<=6764||6771<=T&&T<=6780||6783==T||6832<=T&&T<=6845||6846==T||6912<=T&&T<=6915||6964==T||6966<=T&&T<=6970||6972==T||6978==T||7019<=T&&T<=7027||7040<=T&&T<=7041||7074<=T&&T<=7077||7080<=T&&T<=7081||7083<=T&&T<=7085||7142==T||7144<=T&&T<=7145||7149==T||7151<=T&&T<=7153||7212<=T&&T<=7219||7222<=T&&T<=7223||7376<=T&&T<=7378||7380<=T&&T<=7392||7394<=T&&T<=7400||7405==T||7412==T||7416<=T&&T<=7417||7616<=T&&T<=7673||7675<=T&&T<=7679||8204==T||8400<=T&&T<=8412||8413<=T&&T<=8416||8417==T||8418<=T&&T<=8420||8421<=T&&T<=8432||11503<=T&&T<=11505||11647==T||11744<=T&&T<=11775||12330<=T&&T<=12333||12334<=T&&T<=12335||12441<=T&&T<=12442||42607==T||42608<=T&&T<=42610||42612<=T&&T<=42621||42654<=T&&T<=42655||42736<=T&&T<=42737||43010==T||43014==T||43019==T||43045<=T&&T<=43046||43204<=T&&T<=43205||43232<=T&&T<=43249||43302<=T&&T<=43309||43335<=T&&T<=43345||43392<=T&&T<=43394||43443==T||43446<=T&&T<=43449||43452==T||43493==T||43561<=T&&T<=43566||43569<=T&&T<=43570||43573<=T&&T<=43574||43587==T||43596==T||43644==T||43696==T||43698<=T&&T<=43700||43703<=T&&T<=43704||43710<=T&&T<=43711||43713==T||43756<=T&&T<=43757||43766==T||44005==T||44008==T||44013==T||64286==T||65024<=T&&T<=65039||65056<=T&&T<=65071||65438<=T&&T<=65439||66045==T||66272==T||66422<=T&&T<=66426||68097<=T&&T<=68099||68101<=T&&T<=68102||68108<=T&&T<=68111||68152<=T&&T<=68154||68159==T||68325<=T&&T<=68326||69633==T||69688<=T&&T<=69702||69759<=T&&T<=69761||69811<=T&&T<=69814||69817<=T&&T<=69818||69888<=T&&T<=69890||69927<=T&&T<=69931||69933<=T&&T<=69940||70003==T||70016<=T&&T<=70017||70070<=T&&T<=70078||70090<=T&&T<=70092||70191<=T&&T<=70193||70196==T||70198<=T&&T<=70199||70206==T||70367==T||70371<=T&&T<=70378||70400<=T&&T<=70401||70460==T||70462==T||70464==T||70487==T||70502<=T&&T<=70508||70512<=T&&T<=70516||70712<=T&&T<=70719||70722<=T&&T<=70724||70726==T||70832==T||70835<=T&&T<=70840||70842==T||70845==T||70847<=T&&T<=70848||70850<=T&&T<=70851||71087==T||71090<=T&&T<=71093||71100<=T&&T<=71101||71103<=T&&T<=71104||71132<=T&&T<=71133||71219<=T&&T<=71226||71229==T||71231<=T&&T<=71232||71339==T||71341==T||71344<=T&&T<=71349||71351==T||71453<=T&&T<=71455||71458<=T&&T<=71461||71463<=T&&T<=71467||72193<=T&&T<=72198||72201<=T&&T<=72202||72243<=T&&T<=72248||72251<=T&&T<=72254||72263==T||72273<=T&&T<=72278||72281<=T&&T<=72283||72330<=T&&T<=72342||72344<=T&&T<=72345||72752<=T&&T<=72758||72760<=T&&T<=72765||72767==T||72850<=T&&T<=72871||72874<=T&&T<=72880||72882<=T&&T<=72883||72885<=T&&T<=72886||73009<=T&&T<=73014||73018==T||73020<=T&&T<=73021||73023<=T&&T<=73029||73031==T||92912<=T&&T<=92916||92976<=T&&T<=92982||94095<=T&&T<=94098||113821<=T&&T<=113822||119141==T||119143<=T&&T<=119145||119150<=T&&T<=119154||119163<=T&&T<=119170||119173<=T&&T<=119179||119210<=T&&T<=119213||119362<=T&&T<=119364||121344<=T&&T<=121398||121403<=T&&T<=121452||121461==T||121476==T||121499<=T&&T<=121503||121505<=T&&T<=121519||122880<=T&&T<=122886||122888<=T&&T<=122904||122907<=T&&T<=122913||122915<=T&&T<=122916||122918<=T&&T<=122922||125136<=T&&T<=125142||125252<=T&&T<=125258||917536<=T&&T<=917631||917760<=T&&T<=917999?q:127462<=T&&T<=127487?ce:2307==T||2363==T||2366<=T&&T<=2368||2377<=T&&T<=2380||2382<=T&&T<=2383||2434<=T&&T<=2435||2495<=T&&T<=2496||2503<=T&&T<=2504||2507<=T&&T<=2508||2563==T||2622<=T&&T<=2624||2691==T||2750<=T&&T<=2752||2761==T||2763<=T&&T<=2764||2818<=T&&T<=2819||2880==T||2887<=T&&T<=2888||2891<=T&&T<=2892||3007==T||3009<=T&&T<=3010||3014<=T&&T<=3016||3018<=T&&T<=3020||3073<=T&&T<=3075||3137<=T&&T<=3140||3202<=T&&T<=3203||3262==T||3264<=T&&T<=3265||3267<=T&&T<=3268||3271<=T&&T<=3272||3274<=T&&T<=3275||3330<=T&&T<=3331||3391<=T&&T<=3392||3398<=T&&T<=3400||3402<=T&&T<=3404||3458<=T&&T<=3459||3536<=T&&T<=3537||3544<=T&&T<=3550||3570<=T&&T<=3571||3635==T||3763==T||3902<=T&&T<=3903||3967==T||4145==T||4155<=T&&T<=4156||4182<=T&&T<=4183||4228==T||6070==T||6078<=T&&T<=6085||6087<=T&&T<=6088||6435<=T&&T<=6438||6441<=T&&T<=6443||6448<=T&&T<=6449||6451<=T&&T<=6456||6681<=T&&T<=6682||6741==T||6743==T||6765<=T&&T<=6770||6916==T||6965==T||6971==T||6973<=T&&T<=6977||6979<=T&&T<=6980||7042==T||7073==T||7078<=T&&T<=7079||7082==T||7143==T||7146<=T&&T<=7148||7150==T||7154<=T&&T<=7155||7204<=T&&T<=7211||7220<=T&&T<=7221||7393==T||7410<=T&&T<=7411||7415==T||43043<=T&&T<=43044||43047==T||43136<=T&&T<=43137||43188<=T&&T<=43203||43346<=T&&T<=43347||43395==T||43444<=T&&T<=43445||43450<=T&&T<=43451||43453<=T&&T<=43456||43567<=T&&T<=43568||43571<=T&&T<=43572||43597==T||43755==T||43758<=T&&T<=43759||43765==T||44003<=T&&T<=44004||44006<=T&&T<=44007||44009<=T&&T<=44010||44012==T||69632==T||69634==T||69762==T||69808<=T&&T<=69810||69815<=T&&T<=69816||69932==T||70018==T||70067<=T&&T<=70069||70079<=T&&T<=70080||70188<=T&&T<=70190||70194<=T&&T<=70195||70197==T||70368<=T&&T<=70370||70402<=T&&T<=70403||70463==T||70465<=T&&T<=70468||70471<=T&&T<=70472||70475<=T&&T<=70477||70498<=T&&T<=70499||70709<=T&&T<=70711||70720<=T&&T<=70721||70725==T||70833<=T&&T<=70834||70841==T||70843<=T&&T<=70844||70846==T||70849==T||71088<=T&&T<=71089||71096<=T&&T<=71099||71102==T||71216<=T&&T<=71218||71227<=T&&T<=71228||71230==T||71340==T||71342<=T&&T<=71343||71350==T||71456<=T&&T<=71457||71462==T||72199<=T&&T<=72200||72249==T||72279<=T&&T<=72280||72343==T||72751==T||72766==T||72873==T||72881==T||72884==T||94033<=T&&T<=94078||119142==T||119149==T?5:4352<=T&&T<=4447||43360<=T&&T<=43388?6:4448<=T&&T<=4519||55216<=T&&T<=55238?7:4520<=T&&T<=4607||55243<=T&&T<=55291?8:44032==T||44060==T||44088==T||44116==T||44144==T||44172==T||44200==T||44228==T||44256==T||44284==T||44312==T||44340==T||44368==T||44396==T||44424==T||44452==T||44480==T||44508==T||44536==T||44564==T||44592==T||44620==T||44648==T||44676==T||44704==T||44732==T||44760==T||44788==T||44816==T||44844==T||44872==T||44900==T||44928==T||44956==T||44984==T||45012==T||45040==T||45068==T||45096==T||45124==T||45152==T||45180==T||45208==T||45236==T||45264==T||45292==T||45320==T||45348==T||45376==T||45404==T||45432==T||45460==T||45488==T||45516==T||45544==T||45572==T||45600==T||45628==T||45656==T||45684==T||45712==T||45740==T||45768==T||45796==T||45824==T||45852==T||45880==T||45908==T||45936==T||45964==T||45992==T||46020==T||46048==T||46076==T||46104==T||46132==T||46160==T||46188==T||46216==T||46244==T||46272==T||46300==T||46328==T||46356==T||46384==T||46412==T||46440==T||46468==T||46496==T||46524==T||46552==T||46580==T||46608==T||46636==T||46664==T||46692==T||46720==T||46748==T||46776==T||46804==T||46832==T||46860==T||46888==T||46916==T||46944==T||46972==T||47e3==T||47028==T||47056==T||47084==T||47112==T||47140==T||47168==T||47196==T||47224==T||47252==T||47280==T||47308==T||47336==T||47364==T||47392==T||47420==T||47448==T||47476==T||47504==T||47532==T||47560==T||47588==T||47616==T||47644==T||47672==T||47700==T||47728==T||47756==T||47784==T||47812==T||47840==T||47868==T||47896==T||47924==T||47952==T||47980==T||48008==T||48036==T||48064==T||48092==T||48120==T||48148==T||48176==T||48204==T||48232==T||48260==T||48288==T||48316==T||48344==T||48372==T||48400==T||48428==T||48456==T||48484==T||48512==T||48540==T||48568==T||48596==T||48624==T||48652==T||48680==T||48708==T||48736==T||48764==T||48792==T||48820==T||48848==T||48876==T||48904==T||48932==T||48960==T||48988==T||49016==T||49044==T||49072==T||49100==T||49128==T||49156==T||49184==T||49212==T||49240==T||49268==T||49296==T||49324==T||49352==T||49380==T||49408==T||49436==T||49464==T||49492==T||49520==T||49548==T||49576==T||49604==T||49632==T||49660==T||49688==T||49716==T||49744==T||49772==T||49800==T||49828==T||49856==T||49884==T||49912==T||49940==T||49968==T||49996==T||50024==T||50052==T||50080==T||50108==T||50136==T||50164==T||50192==T||50220==T||50248==T||50276==T||50304==T||50332==T||50360==T||50388==T||50416==T||50444==T||50472==T||50500==T||50528==T||50556==T||50584==T||50612==T||50640==T||50668==T||50696==T||50724==T||50752==T||50780==T||50808==T||50836==T||50864==T||50892==T||50920==T||50948==T||50976==T||51004==T||51032==T||51060==T||51088==T||51116==T||51144==T||51172==T||51200==T||51228==T||51256==T||51284==T||51312==T||51340==T||51368==T||51396==T||51424==T||51452==T||51480==T||51508==T||51536==T||51564==T||51592==T||51620==T||51648==T||51676==T||51704==T||51732==T||51760==T||51788==T||51816==T||51844==T||51872==T||51900==T||51928==T||51956==T||51984==T||52012==T||52040==T||52068==T||52096==T||52124==T||52152==T||52180==T||52208==T||52236==T||52264==T||52292==T||52320==T||52348==T||52376==T||52404==T||52432==T||52460==T||52488==T||52516==T||52544==T||52572==T||52600==T||52628==T||52656==T||52684==T||52712==T||52740==T||52768==T||52796==T||52824==T||52852==T||52880==T||52908==T||52936==T||52964==T||52992==T||53020==T||53048==T||53076==T||53104==T||53132==T||53160==T||53188==T||53216==T||53244==T||53272==T||53300==T||53328==T||53356==T||53384==T||53412==T||53440==T||53468==T||53496==T||53524==T||53552==T||53580==T||53608==T||53636==T||53664==T||53692==T||53720==T||53748==T||53776==T||53804==T||53832==T||53860==T||53888==T||53916==T||53944==T||53972==T||54e3==T||54028==T||54056==T||54084==T||54112==T||54140==T||54168==T||54196==T||54224==T||54252==T||54280==T||54308==T||54336==T||54364==T||54392==T||54420==T||54448==T||54476==T||54504==T||54532==T||54560==T||54588==T||54616==T||54644==T||54672==T||54700==T||54728==T||54756==T||54784==T||54812==T||54840==T||54868==T||54896==T||54924==T||54952==T||54980==T||55008==T||55036==T||55064==T||55092==T||55120==T||55148==T||55176==T?9:44033<=T&&T<=44059||44061<=T&&T<=44087||44089<=T&&T<=44115||44117<=T&&T<=44143||44145<=T&&T<=44171||44173<=T&&T<=44199||44201<=T&&T<=44227||44229<=T&&T<=44255||44257<=T&&T<=44283||44285<=T&&T<=44311||44313<=T&&T<=44339||44341<=T&&T<=44367||44369<=T&&T<=44395||44397<=T&&T<=44423||44425<=T&&T<=44451||44453<=T&&T<=44479||44481<=T&&T<=44507||44509<=T&&T<=44535||44537<=T&&T<=44563||44565<=T&&T<=44591||44593<=T&&T<=44619||44621<=T&&T<=44647||44649<=T&&T<=44675||44677<=T&&T<=44703||44705<=T&&T<=44731||44733<=T&&T<=44759||44761<=T&&T<=44787||44789<=T&&T<=44815||44817<=T&&T<=44843||44845<=T&&T<=44871||44873<=T&&T<=44899||44901<=T&&T<=44927||44929<=T&&T<=44955||44957<=T&&T<=44983||44985<=T&&T<=45011||45013<=T&&T<=45039||45041<=T&&T<=45067||45069<=T&&T<=45095||45097<=T&&T<=45123||45125<=T&&T<=45151||45153<=T&&T<=45179||45181<=T&&T<=45207||45209<=T&&T<=45235||45237<=T&&T<=45263||45265<=T&&T<=45291||45293<=T&&T<=45319||45321<=T&&T<=45347||45349<=T&&T<=45375||45377<=T&&T<=45403||45405<=T&&T<=45431||45433<=T&&T<=45459||45461<=T&&T<=45487||45489<=T&&T<=45515||45517<=T&&T<=45543||45545<=T&&T<=45571||45573<=T&&T<=45599||45601<=T&&T<=45627||45629<=T&&T<=45655||45657<=T&&T<=45683||45685<=T&&T<=45711||45713<=T&&T<=45739||45741<=T&&T<=45767||45769<=T&&T<=45795||45797<=T&&T<=45823||45825<=T&&T<=45851||45853<=T&&T<=45879||45881<=T&&T<=45907||45909<=T&&T<=45935||45937<=T&&T<=45963||45965<=T&&T<=45991||45993<=T&&T<=46019||46021<=T&&T<=46047||46049<=T&&T<=46075||46077<=T&&T<=46103||46105<=T&&T<=46131||46133<=T&&T<=46159||46161<=T&&T<=46187||46189<=T&&T<=46215||46217<=T&&T<=46243||46245<=T&&T<=46271||46273<=T&&T<=46299||46301<=T&&T<=46327||46329<=T&&T<=46355||46357<=T&&T<=46383||46385<=T&&T<=46411||46413<=T&&T<=46439||46441<=T&&T<=46467||46469<=T&&T<=46495||46497<=T&&T<=46523||46525<=T&&T<=46551||46553<=T&&T<=46579||46581<=T&&T<=46607||46609<=T&&T<=46635||46637<=T&&T<=46663||46665<=T&&T<=46691||46693<=T&&T<=46719||46721<=T&&T<=46747||46749<=T&&T<=46775||46777<=T&&T<=46803||46805<=T&&T<=46831||46833<=T&&T<=46859||46861<=T&&T<=46887||46889<=T&&T<=46915||46917<=T&&T<=46943||46945<=T&&T<=46971||46973<=T&&T<=46999||47001<=T&&T<=47027||47029<=T&&T<=47055||47057<=T&&T<=47083||47085<=T&&T<=47111||47113<=T&&T<=47139||47141<=T&&T<=47167||47169<=T&&T<=47195||47197<=T&&T<=47223||47225<=T&&T<=47251||47253<=T&&T<=47279||47281<=T&&T<=47307||47309<=T&&T<=47335||47337<=T&&T<=47363||47365<=T&&T<=47391||47393<=T&&T<=47419||47421<=T&&T<=47447||47449<=T&&T<=47475||47477<=T&&T<=47503||47505<=T&&T<=47531||47533<=T&&T<=47559||47561<=T&&T<=47587||47589<=T&&T<=47615||47617<=T&&T<=47643||47645<=T&&T<=47671||47673<=T&&T<=47699||47701<=T&&T<=47727||47729<=T&&T<=47755||47757<=T&&T<=47783||47785<=T&&T<=47811||47813<=T&&T<=47839||47841<=T&&T<=47867||47869<=T&&T<=47895||47897<=T&&T<=47923||47925<=T&&T<=47951||47953<=T&&T<=47979||47981<=T&&T<=48007||48009<=T&&T<=48035||48037<=T&&T<=48063||48065<=T&&T<=48091||48093<=T&&T<=48119||48121<=T&&T<=48147||48149<=T&&T<=48175||48177<=T&&T<=48203||48205<=T&&T<=48231||48233<=T&&T<=48259||48261<=T&&T<=48287||48289<=T&&T<=48315||48317<=T&&T<=48343||48345<=T&&T<=48371||48373<=T&&T<=48399||48401<=T&&T<=48427||48429<=T&&T<=48455||48457<=T&&T<=48483||48485<=T&&T<=48511||48513<=T&&T<=48539||48541<=T&&T<=48567||48569<=T&&T<=48595||48597<=T&&T<=48623||48625<=T&&T<=48651||48653<=T&&T<=48679||48681<=T&&T<=48707||48709<=T&&T<=48735||48737<=T&&T<=48763||48765<=T&&T<=48791||48793<=T&&T<=48819||48821<=T&&T<=48847||48849<=T&&T<=48875||48877<=T&&T<=48903||48905<=T&&T<=48931||48933<=T&&T<=48959||48961<=T&&T<=48987||48989<=T&&T<=49015||49017<=T&&T<=49043||49045<=T&&T<=49071||49073<=T&&T<=49099||49101<=T&&T<=49127||49129<=T&&T<=49155||49157<=T&&T<=49183||49185<=T&&T<=49211||49213<=T&&T<=49239||49241<=T&&T<=49267||49269<=T&&T<=49295||49297<=T&&T<=49323||49325<=T&&T<=49351||49353<=T&&T<=49379||49381<=T&&T<=49407||49409<=T&&T<=49435||49437<=T&&T<=49463||49465<=T&&T<=49491||49493<=T&&T<=49519||49521<=T&&T<=49547||49549<=T&&T<=49575||49577<=T&&T<=49603||49605<=T&&T<=49631||49633<=T&&T<=49659||49661<=T&&T<=49687||49689<=T&&T<=49715||49717<=T&&T<=49743||49745<=T&&T<=49771||49773<=T&&T<=49799||49801<=T&&T<=49827||49829<=T&&T<=49855||49857<=T&&T<=49883||49885<=T&&T<=49911||49913<=T&&T<=49939||49941<=T&&T<=49967||49969<=T&&T<=49995||49997<=T&&T<=50023||50025<=T&&T<=50051||50053<=T&&T<=50079||50081<=T&&T<=50107||50109<=T&&T<=50135||50137<=T&&T<=50163||50165<=T&&T<=50191||50193<=T&&T<=50219||50221<=T&&T<=50247||50249<=T&&T<=50275||50277<=T&&T<=50303||50305<=T&&T<=50331||50333<=T&&T<=50359||50361<=T&&T<=50387||50389<=T&&T<=50415||50417<=T&&T<=50443||50445<=T&&T<=50471||50473<=T&&T<=50499||50501<=T&&T<=50527||50529<=T&&T<=50555||50557<=T&&T<=50583||50585<=T&&T<=50611||50613<=T&&T<=50639||50641<=T&&T<=50667||50669<=T&&T<=50695||50697<=T&&T<=50723||50725<=T&&T<=50751||50753<=T&&T<=50779||50781<=T&&T<=50807||50809<=T&&T<=50835||50837<=T&&T<=50863||50865<=T&&T<=50891||50893<=T&&T<=50919||50921<=T&&T<=50947||50949<=T&&T<=50975||50977<=T&&T<=51003||51005<=T&&T<=51031||51033<=T&&T<=51059||51061<=T&&T<=51087||51089<=T&&T<=51115||51117<=T&&T<=51143||51145<=T&&T<=51171||51173<=T&&T<=51199||51201<=T&&T<=51227||51229<=T&&T<=51255||51257<=T&&T<=51283||51285<=T&&T<=51311||51313<=T&&T<=51339||51341<=T&&T<=51367||51369<=T&&T<=51395||51397<=T&&T<=51423||51425<=T&&T<=51451||51453<=T&&T<=51479||51481<=T&&T<=51507||51509<=T&&T<=51535||51537<=T&&T<=51563||51565<=T&&T<=51591||51593<=T&&T<=51619||51621<=T&&T<=51647||51649<=T&&T<=51675||51677<=T&&T<=51703||51705<=T&&T<=51731||51733<=T&&T<=51759||51761<=T&&T<=51787||51789<=T&&T<=51815||51817<=T&&T<=51843||51845<=T&&T<=51871||51873<=T&&T<=51899||51901<=T&&T<=51927||51929<=T&&T<=51955||51957<=T&&T<=51983||51985<=T&&T<=52011||52013<=T&&T<=52039||52041<=T&&T<=52067||52069<=T&&T<=52095||52097<=T&&T<=52123||52125<=T&&T<=52151||52153<=T&&T<=52179||52181<=T&&T<=52207||52209<=T&&T<=52235||52237<=T&&T<=52263||52265<=T&&T<=52291||52293<=T&&T<=52319||52321<=T&&T<=52347||52349<=T&&T<=52375||52377<=T&&T<=52403||52405<=T&&T<=52431||52433<=T&&T<=52459||52461<=T&&T<=52487||52489<=T&&T<=52515||52517<=T&&T<=52543||52545<=T&&T<=52571||52573<=T&&T<=52599||52601<=T&&T<=52627||52629<=T&&T<=52655||52657<=T&&T<=52683||52685<=T&&T<=52711||52713<=T&&T<=52739||52741<=T&&T<=52767||52769<=T&&T<=52795||52797<=T&&T<=52823||52825<=T&&T<=52851||52853<=T&&T<=52879||52881<=T&&T<=52907||52909<=T&&T<=52935||52937<=T&&T<=52963||52965<=T&&T<=52991||52993<=T&&T<=53019||53021<=T&&T<=53047||53049<=T&&T<=53075||53077<=T&&T<=53103||53105<=T&&T<=53131||53133<=T&&T<=53159||53161<=T&&T<=53187||53189<=T&&T<=53215||53217<=T&&T<=53243||53245<=T&&T<=53271||53273<=T&&T<=53299||53301<=T&&T<=53327||53329<=T&&T<=53355||53357<=T&&T<=53383||53385<=T&&T<=53411||53413<=T&&T<=53439||53441<=T&&T<=53467||53469<=T&&T<=53495||53497<=T&&T<=53523||53525<=T&&T<=53551||53553<=T&&T<=53579||53581<=T&&T<=53607||53609<=T&&T<=53635||53637<=T&&T<=53663||53665<=T&&T<=53691||53693<=T&&T<=53719||53721<=T&&T<=53747||53749<=T&&T<=53775||53777<=T&&T<=53803||53805<=T&&T<=53831||53833<=T&&T<=53859||53861<=T&&T<=53887||53889<=T&&T<=53915||53917<=T&&T<=53943||53945<=T&&T<=53971||53973<=T&&T<=53999||54001<=T&&T<=54027||54029<=T&&T<=54055||54057<=T&&T<=54083||54085<=T&&T<=54111||54113<=T&&T<=54139||54141<=T&&T<=54167||54169<=T&&T<=54195||54197<=T&&T<=54223||54225<=T&&T<=54251||54253<=T&&T<=54279||54281<=T&&T<=54307||54309<=T&&T<=54335||54337<=T&&T<=54363||54365<=T&&T<=54391||54393<=T&&T<=54419||54421<=T&&T<=54447||54449<=T&&T<=54475||54477<=T&&T<=54503||54505<=T&&T<=54531||54533<=T&&T<=54559||54561<=T&&T<=54587||54589<=T&&T<=54615||54617<=T&&T<=54643||54645<=T&&T<=54671||54673<=T&&T<=54699||54701<=T&&T<=54727||54729<=T&&T<=54755||54757<=T&&T<=54783||54785<=T&&T<=54811||54813<=T&&T<=54839||54841<=T&&T<=54867||54869<=T&&T<=54895||54897<=T&&T<=54923||54925<=T&&T<=54951||54953<=T&&T<=54979||54981<=T&&T<=55007||55009<=T&&T<=55035||55037<=T&&T<=55063||55065<=T&&T<=55091||55093<=T&&T<=55119||55121<=T&&T<=55147||55149<=T&&T<=55175||55177<=T&&T<=55203?10:9757==T||9977==T||9994<=T&&T<=9997||127877==T||127938<=T&&T<=127940||127943==T||127946<=T&&T<=127948||128066<=T&&T<=128067||128070<=T&&T<=128080||128110==T||128112<=T&&T<=128120||128124==T||128129<=T&&T<=128131||128133<=T&&T<=128135||128170==T||128372<=T&&T<=128373||128378==T||128400==T||128405<=T&&T<=128406||128581<=T&&T<=128583||128587<=T&&T<=128591||128675==T||128692<=T&&T<=128694||128704==T||128716==T||129304<=T&&T<=129308||129310<=T&&T<=129311||129318==T||129328<=T&&T<=129337||129341<=T&&T<=129342||129489<=T&&T<=129501?ji:127995<=T&&T<=127999?14:8205==T?15:9792==T||9794==T||9877<=T&&T<=9878||9992==T||10084==T||127752==T||127806==T||127859==T||127891==T||127908==T||127912==T||127979==T||127981==T||128139==T||128187<=T&&T<=128188||128295==T||128300==T||128488==T||128640==T||128658==T?To:128102<=T&&T<=128105?po:11}return this.nextBreak=function(T,Vo){if(void 0===Vo&&(Vo=0),Vo<0)return 0;if(Vo>=T.length-1)return T.length;for(var Wr=ja(jt(T,Vo)),sr=[],Pr=Vo+1;Pr<T.length;Pr++)if(!bn(T,Pr-1)){var Xs=ja(jt(T,Pr));if(ka(Wr,sr,Xs))return Pr;sr.push(Xs)}return T.length},this.splitGraphemes=function(T){for(var sr,Vo=[],Wr=0;(sr=this.nextBreak(T,Wr))<T.length;)Vo.push(T.slice(Wr,sr)),Wr=sr;return Wr<T.length&&Vo.push(T.slice(Wr)),Vo},this.iterateGraphemes=function(T){var Vo=0,Wr={next:function(){var sr,Pr;return(Pr=this.nextBreak(T,Vo))<T.length?(sr=T.slice(Vo,Pr),Vo=Pr,{value:sr,done:!1}):Vo<T.length?(sr=T.slice(Vo),Vo=T.length,{value:sr,done:!1}):{value:void 0,done:!0}}.bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(Wr[Symbol.iterator]=function(){return Wr}),Wr},this.countGraphemes=function(T){for(var sr,Vo=0,Wr=0;(sr=this.nextBreak(T,Wr))<T.length;)Wr=sr,Vo++;return Wr<T.length&&Vo++,Vo},this}const w3={10:[10],12:[27,10],13:[13],32:[32],33:[33],34:[34],35:[35],36:[2],37:[37],38:[38],39:[39],40:[40],41:[41],42:[42],43:[43],44:[44],45:[45],46:[46],47:[47],48:[48],49:[49],50:[50],51:[51],52:[52],53:[53],54:[54],55:[55],56:[56],57:[57],58:[58],59:[59],60:[60],61:[61],62:[62],63:[63],64:[0],65:[65],66:[66],67:[67],68:[68],69:[69],70:[70],71:[71],72:[72],73:[73],74:[74],75:[75],76:[76],77:[77],78:[78],79:[79],80:[80],81:[81],82:[82],83:[83],84:[84],85:[85],86:[86],87:[87],88:[88],89:[89],90:[90],91:[27,60],92:[27,47],93:[27,62],94:[27,20],95:[17],97:[97],98:[98],99:[99],100:[100],101:[101],102:[102],103:[103],104:[104],105:[105],106:[106],107:[107],108:[108],109:[109],110:[110],111:[111],112:[112],113:[113],114:[114],115:[115],116:[116],117:[117],118:[118],119:[119],120:[120],121:[121],122:[122],123:[27,40],124:[27,64],125:[27,41],126:[27,61],161:[64],163:[1],164:[36],165:[3],167:[95],191:[96],196:[91],197:[14],198:[28],201:[31],209:[93],214:[92],216:[11],220:[94],223:[30],224:[127],228:[123],229:[15],230:[29],199:[9],232:[4],233:[5],236:[7],241:[125],242:[8],246:[124],248:[12],249:[6],252:[126],915:[19],916:[16],920:[25],923:[20],926:[26],928:[22],931:[24],934:[18],936:[23],937:[21],8364:[27,101]};class W2{constructor(D){this.raw=D,this.codeUnits=null}sizeInBits(){return 0}static codeUnitSizeInBits(){}}class Ru extends W2{constructor(D){super(null),this.codeUnits=null}sizeInBits(){return 8}static codeUnitSizeInBits(){return 8}}class yp extends W2{constructor(D){super(D),1===D.length&&(this.codeUnits=w3[D.charCodeAt(0)])}static codeUnitSizeInBits(){return 7}sizeInBits(){return this.codeUnits?7*this.codeUnits.length:0}}class Pu extends W2{constructor(D,R){super(D),this.graphemeSize=void 0===R?1:R,this.codeUnits=2===D.length?[D.charCodeAt(0),D.charCodeAt(1)]:[0,D.charCodeAt(0)]}static codeUnitSizeInBits(){return 8}sizeInBits(){return 16*this.graphemeSize}}class Z8 extends Array{constructor(D){if(super(),this.hasTwilioReservedBits=D,this.hasTwilioReservedBits)for(let R=0;R<6;R++)this.push(new Ru)}sizeInBits(){return this.reduce((D,R)=>D+R.sizeInBits(),0)}messageSizeInBits(){return this.reduce((D,R)=>D+(R instanceof Ru?0:R.sizeInBits()),0)}freeSizeInBits(){return 1120-this.sizeInBits()}}class k0{constructor(D,R="auto"){this.charClass=this.charClassForEncoding(R),this.encoding=R,this.splitter=new Gg;let q=this.encodeChars(D);"auto"===R&&this.hasIncompatibleEncoding(q)&&(this.charClass=Pu,q=this.encodeChars(D)),this.segments=this.buildSegments(q)}buildSegments(D,R){let q=[];const ce=!0===R;let xe=null;for(const Ze of D){if(null===xe||xe.freeSizeInBits()<Ze.sizeInBits()){if(xe&&!1===ce)return this.buildSegments(D,!0);xe=new Z8(ce),q.push(xe)}xe.push(Ze)}return q}charClassForEncoding(D){if("GSM-7"===D)return yp;if("UCS-2"===D)return Pu;if("auto"===D)return yp;throw"Unsupported encoding"}getEncodingName(){return this.charClass===yp?"GSM-7":this.charClass===Pu?"UCS-2":"Unkown"}hasIncompatibleEncoding(D){for(const R of D)if(!R.codeUnits)return!0;return!1}encodeChars(D){let R=[];for(const q of this.splitter.iterateGraphemes(D))if(q.length<=2)R.push(new this.charClass(q));else{const ce=[...q];for(let xe=0;xe<ce.length;xe++)R.push(new this.charClass(ce[xe],0===xe?ce.length:0))}return R}get totalSize(){let D=0;for(const R of this.segments)D+=R.sizeInBits();return D}get messageSize(){let D=0;for(const R of this.segments)D+=R.messageSizeInBits();return D}}function E0(g){return new k0(g).segments.length}function Al(g){return g.length>160?g.length%160:g.length}const E=(...[g,D])=>!g&&!D||!(!g||!D)&&(g=g instanceof Su?g:Su.fromObject(g),D=D instanceof Su?D:Su.fromObject(D),g.fullHash===D.fullHash),h=(...[g,D])=>!g&&!D||!(!g||!D)&&(g=g instanceof zs?g:zs.fromObject(g),D=D instanceof zs?D:zs.fromObject(D),g.fullHash===D.fullHash),m=g=>{if(!g)return"";let ce=Vl(g);return ce=ce.replace(/{{([^{}]+)}}{{\^(\1)}}(.*){{\/\1}}/g,"1234567890"),ce=ce.replace(/{{.*?}}/g,"1234567890"),ce},w={required:()=>"This field is required.",minlength:({requiredLength:g})=>`Enter at least ${g} character${1===g?"":"s"}.`,invalidUrl:()=>"Please enter a valid URL."},I=new le.nKC("FORM_ERROR_PROVIDER",{providedIn:"root",factory:()=>w})},26069:(De,A,C)=>{"use strict";C.d(A,{cuq:()=>JD,GfA:()=>Lp,uRZ:()=>Uu,RsC:()=>HG,u1m:()=>DA,fH8:()=>dT,Anx:()=>vG,cDJ:()=>ZH,gcd:()=>ih,HCW:()=>YG,bBy:()=>xA,il2:()=>BA,gPJ:()=>AA,kiX:()=>UA,RHQ:()=>GG,pET:()=>GA,DwC:()=>bG,hKm:()=>uT,Luw:()=>zA,okG:()=>cM,DLc:()=>cg,Y5Y:()=>yG});var y={};C.r(y),C.d(y,{Decoder:()=>l9,Encoder:()=>u5,PacketType:()=>Ws,protocol:()=>lz});var $=C(10467),n=C(93953),a=C(84412),L=C(96354),ae=C(5964),K=C(23294),se=C(33726),fe=C(54843),le=C(48455),de=C(25558),Ve=C(41584),Ee=C(21413),qe=C(84572),Ge=C(59030),ht=C(70980),at=C(88141),ze=(C(70152),C(99437),C(27468),C(99172)),B=C(82260),Te=C(99327),be=C(2578),Pe=C(47987),et=C(90450),z=C(11869),X=C(60177),P=C(89417),Ue=(C(77048),C(57786)),mt=(C(71985),C(7673),C(20946),C(65463)),Ke=C(76939),Xe=C(56977),yt=C(57806),Vt=(C(21377),C(26035));new n.nKC("nz-empty-component-name"),C(39974),C(54360),C(58750),C(33669),C(85343),C(9326),C(21025);var Hn=C(39397),Ri=C(31635),qt=C(67336),Cn=C(36860),Bn=C(40713);C(92771);var Et=C(26841),Ut=(C(94500),C(70317)),Nt=(C(89888),C(28203)),io=C(54626),wt=C(67374),nn=Object.prototype.toString,wn=Array.isArray||function(d){return"[object Array]"===nn.call(d)};function Mi(o){return"function"==typeof o}function $o(o){return o.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function nr(o,d){return null!=o&&"object"==typeof o&&d in o}function qo(o,d){return null!=o&&"object"!=typeof o&&o.hasOwnProperty&&o.hasOwnProperty(d)}var lo=RegExp.prototype.test,Ss=/\S/;function ur(o){return!function Ts(o,d){return lo.call(o,d)}(Ss,o)}var Ks={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},ls=/\s*/,xl=/\s+/,xi=/\s*=/,fs=/\s*\}/,cs=/#|\^|\/|>|\{|&|=|!/;function ya(o){this.string=o,this.tail=o,this.pos=0}function gs(o,d){this.view=o,this.cache={".":this.view},this.parent=d}function ir(){this.templateCache={_cache:{},set:function(d,i){this._cache[d]=i},get:function(d){return this._cache[d]},clear:function(){this._cache={}}}}ya.prototype.eos=function(){return""===this.tail},ya.prototype.scan=function(d){var i=this.tail.match(d);if(!i||0!==i.index)return"";var s=i[0];return this.tail=this.tail.substring(s.length),this.pos+=s.length,s},ya.prototype.scanUntil=function(d){var s,i=this.tail.search(d);switch(i){case-1:s=this.tail,this.tail="";break;case 0:s="";break;default:s=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=s.length,s},gs.prototype.push=function(d){return new gs(d,this)},gs.prototype.lookup=function(d){var s,i=this.cache;if(i.hasOwnProperty(d))s=i[d];else{for(var v,M,F,l=this,j=!1;l;){if(d.indexOf(".")>0)for(v=l.view,M=d.split("."),F=0;null!=v&&F<M.length;)F===M.length-1&&(j=nr(v,M[F])||qo(v,M[F])),v=v[M[F++]];else v=l.view[d],j=nr(l.view,d);if(j){s=v;break}l=l.parent}i[d]=s}return Mi(s)&&(s=s.call(this.view)),s},ir.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()},ir.prototype.parse=function(d,i){var s=this.templateCache,l=d+":"+(i||ms.tags).join(":"),v=typeof s<"u",M=v?s.get(l):void 0;return null==M&&(M=function Ac(o,d){if(!o)return[];var $e,bt,Lt,i=!1,s=[],l=[],v=[],M=!1,F=!1,j="",oe=0;function Se(){if(M&&!F)for(;v.length;)delete l[v.pop()];else v=[];M=!1,F=!1}function dn(Hr){if("string"==typeof Hr&&(Hr=Hr.split(xl,2)),!wn(Hr)||2!==Hr.length)throw new Error("Invalid tags: "+Hr);$e=new RegExp($o(Hr[0])+"\\s*"),bt=new RegExp("\\s*"+$o(Hr[1])),Lt=new RegExp("\\s*"+$o("}"+Hr[1]))}dn(d||ms.tags);for(var jn,zi,Si,ki,bi,Gi,Jn=new ya(o);!Jn.eos();){if(jn=Jn.pos,Si=Jn.scanUntil($e))for(var $s=0,Ps=Si.length;$s<Ps;++$s)ur(ki=Si.charAt($s))?(v.push(l.length),j+=ki):(F=!0,i=!0,j+=" "),l.push(["text",ki,jn,jn+1]),jn+=1,"\n"===ki&&(Se(),j="",oe=0,i=!1);if(!Jn.scan($e))break;if(M=!0,zi=Jn.scan(cs)||"name",Jn.scan(ls),"="===zi?(Si=Jn.scanUntil(xi),Jn.scan(xi),Jn.scanUntil(bt)):"{"===zi?(Si=Jn.scanUntil(Lt),Jn.scan(fs),Jn.scanUntil(bt),zi="&"):Si=Jn.scanUntil(bt),!Jn.scan(bt))throw new Error("Unclosed tag at "+Jn.pos);if(bi=">"==zi?[zi,Si,jn,Jn.pos,j,oe,i]:[zi,Si,jn,Jn.pos],oe++,l.push(bi),"#"===zi||"^"===zi)s.push(bi);else if("/"===zi){if(!(Gi=s.pop()))throw new Error('Unopened section "'+Si+'" at '+jn);if(Gi[1]!==Si)throw new Error('Unclosed section "'+Gi[1]+'" at '+jn)}else"name"===zi||"{"===zi||"&"===zi?F=!0:"="===zi&&dn(Si)}if(Se(),Gi=s.pop())throw new Error('Unclosed section "'+Gi[1]+'" at '+Jn.pos);return function ar(o){for(var l,d=[],i=d,s=[],M=0,F=o.length;M<F;++M)switch(l=o[M],l[0]){case"#":case"^":i.push(l),s.push(l),i=l[4]=[];break;case"/":s.pop()[5]=l[2],i=s.length>0?s[s.length-1][4]:d;break;default:i.push(l)}return d}(function er(o){for(var i,s,d=[],l=0,v=o.length;l<v;++l)(i=o[l])&&("text"===i[0]&&s&&"text"===s[0]?(s[1]+=i[1],s[3]=i[3]):(d.push(i),s=i));return d}(l))}(d,i),v&&s.set(l,M)),M},ir.prototype.render=function(d,i,s,l){var v=this.getConfigTags(l),M=this.parse(d,v),F=i instanceof gs?i:new gs(i,void 0);return this.renderTokens(M,F,s,d,l)},ir.prototype.renderTokens=function(d,i,s,l,v){for(var F,j,oe,M="",Se=0,$e=d.length;Se<$e;++Se)oe=void 0,"#"===(j=(F=d[Se])[0])?oe=this.renderSection(F,i,s,l,v):"^"===j?oe=this.renderInverted(F,i,s,l,v):">"===j?oe=this.renderPartial(F,i,s,v):"&"===j?oe=this.unescapedValue(F,i):"name"===j?oe=this.escapedValue(F,i,v):"text"===j&&(oe=this.rawValue(F)),void 0!==oe&&(M+=oe);return M},ir.prototype.renderSection=function(d,i,s,l,v){var M=this,F="",j=i.lookup(d[1]);if(j){if(wn(j))for(var Se=0,$e=j.length;Se<$e;++Se)F+=this.renderTokens(d[4],i.push(j[Se]),s,l,v);else if("object"==typeof j||"string"==typeof j||"number"==typeof j)F+=this.renderTokens(d[4],i.push(j),s,l,v);else if(Mi(j)){if("string"!=typeof l)throw new Error("Cannot use higher-order sections without the original template");null!=(j=j.call(i.view,l.slice(d[3],d[5]),function oe(bt){return M.render(bt,i,s,v)}))&&(F+=j)}else F+=this.renderTokens(d[4],i,s,l,v);return F}},ir.prototype.renderInverted=function(d,i,s,l,v){var M=i.lookup(d[1]);if(!M||wn(M)&&0===M.length)return this.renderTokens(d[4],i,s,l,v)},ir.prototype.indentPartial=function(d,i,s){for(var l=i.replace(/[^ \t]/g,""),v=d.split("\n"),M=0;M<v.length;M++)v[M].length&&(M>0||!s)&&(v[M]=l+v[M]);return v.join("\n")},ir.prototype.renderPartial=function(d,i,s,l){if(s){var v=this.getConfigTags(l),M=Mi(s)?s(d[1]):s[d[1]];if(null!=M){var oe=d[4],Se=M;0==d[5]&&oe&&(Se=this.indentPartial(M,oe,d[6]));var $e=this.parse(Se,v);return this.renderTokens($e,i,s,Se,l)}}},ir.prototype.unescapedValue=function(d,i){var s=i.lookup(d[1]);if(null!=s)return s},ir.prototype.escapedValue=function(d,i,s){var l=this.getConfigEscape(s)||ms.escape,v=i.lookup(d[1]);if(null!=v)return"number"==typeof v&&l===ms.escape?String(v):l(v)},ir.prototype.rawValue=function(d){return d[1]},ir.prototype.getConfigTags=function(d){return wn(d)?d:d&&"object"==typeof d?d.tags:void 0},ir.prototype.getConfigEscape=function(d){if(d&&"object"==typeof d&&!wn(d))return d.escape};var ms={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(o){js.templateCache=o},get templateCache(){return js.templateCache}},js=new ir;ms.clearCache=function(){return js.clearCache()},ms.parse=function(d,i){return js.parse(d,i)},ms.render=function(d,i,s,l){if("string"!=typeof d)throw new TypeError('Invalid template! Template should be a "string" but "'+function ko(o){return wn(o)?"array":typeof o}(d)+'" was given as the first argument for mustache#render(template, view, partials)');return js.render(d,i,s,l)},ms.escape=function Ar(o){return String(o).replace(/[&<>"'`=\/]/g,function(i){return Ks[i]})},ms.Scanner=ya,ms.Context=gs,ms.Writer=ir;var lr=C(43053);const Bs={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"],["table"]]};new n.nKC("config",{providedIn:"root",factory:()=>({modules:Bs})});var Fl=C(345);C(74402),C(18359),C(44668);var xa=C(31397),li=C(50513),Yr=C(16389),Go=(C(25930),C(43559)),Pc=(C(1236),C(94369));const wa=o=>Math.round(Number(o||0));class Ds extends Pc.q{constructor(d){super((o=>{if(o&&"object"==typeof o&&"h"in o&&"b"in o){const{b:d,...i}=o;return{...i,v:d}}return"string"==typeof o&&/hsb/.test(o)?o.replace(/hsb/,"hsv"):o})(d))}toHsbString(){const d=this.toHsb(),i=wa(100*d.s),s=wa(100*d.b),l=wa(d.h),v=d.a,M=`hsb(${l}, ${i}%, ${s}%)`,F=`hsba(${l}, ${i}%, ${s}%, ${v.toFixed(0===v?0:2)})`;return 1===v?M:F}toHsb(){let d=this.toHsv();"object"==typeof this.originalInput&&this.originalInput&&"h"in this.originalInput&&(d=this.originalInput);const{v:i,...s}=d;return{...s,b:d.v}}}(o=>{o instanceof Ds||new Ds(o)})("#1677ff");var _u=C(73703),W=C(13798);const ue=["nz-menu-item",""],Z=["*"],pe=["nz-submenu-inline-child",""];function Oe(o,d){}const it=["nz-submenu-none-inline-child",""];function At(o,d){}const kn=["nz-submenu-title",""];function pn(o,d){if(1&o&&n.nrm(0,"span",0),2&o){const i=n.XpG();n.Y8G("nzType",i.nzIcon)}}function pi(o,d){if(1&o&&(n.qex(0),n.j41(1,"span",4),n.EFF(2),n.k0s(),n.bVm()),2&o){const i=n.XpG();n.R7$(2),n.JRh(i.nzTitle)}}function Co(o,d){1&o&&n.nrm(0,"span",5)}function Uo(o,d){1&o&&n.nrm(0,"span",6)}function us(o,d){if(1&o&&(n.j41(0,"span",2),n.DNE(1,Co,1,0,"span",5)(2,Uo,1,0,"span",6),n.k0s()),2&o){let i;const s=n.XpG();n.R7$(),n.vxM("rtl"===(i=s.dir)?1:2)}}function bl(o,d){1&o&&n.nrm(0,"span",3)}const zo=["nz-submenu",""],Os=[[["","title",""]],"*"],ss=["[title]","*"];function jl(o,d){1&o&&n.SdG(0)}function Ta(o,d){if(1&o&&n.nrm(0,"div",3),2&o){const i=n.XpG(),s=n.sdS(6);n.Y8G("mode",i.mode)("nzOpen",i.nzOpen)("@.disabled",!(null==i.noAnimation||!i.noAnimation.nzNoAnimation))("nzNoAnimation",null==i.noAnimation?null:i.noAnimation.nzNoAnimation)("menuClass",i.nzMenuClassName)("templateOutlet",s)}}function Lc(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",6),n.bIt("subMenuMouseState",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.setMouseEnterState(l))}),n.k0s()}if(2&o){const i=n.XpG(2),s=n.sdS(6);n.Y8G("theme",i.theme)("mode",i.mode)("nzOpen",i.nzOpen)("position",i.position)("nzDisabled",i.nzDisabled)("isMenuInsideDropDown",i.isMenuInsideDropDown)("templateOutlet",s)("menuClass",i.nzMenuClassName)("@.disabled",!(null==i.noAnimation||!i.noAnimation.nzNoAnimation))("nzNoAnimation",null==i.noAnimation?null:i.noAnimation.nzNoAnimation)}}function Z0(o,d){if(1&o){const i=n.RV6();n.DNE(0,Lc,1,10,"ng-template",5),n.bIt("positionChange",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.onPositionChange(l))})}if(2&o){const i=n.XpG(),s=n.sdS(1);n.Y8G("cdkConnectedOverlayPositions",i.overlayPositions)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayWidth",i.triggerWidth)("cdkConnectedOverlayOpen",i.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function ld(o,d){1&o&&n.SdG(0,1)}const Zh=["titleElement"],kf=["nz-menu-group",""],yu=["*",[["","title",""]]],Ef=["*","[title]"];function e1(o,d){if(1&o&&(n.qex(0),n.EFF(1),n.bVm()),2&o){const i=n.XpG();n.R7$(),n.JRh(i.nzTitle)}}function t1(o,d){1&o&&n.SdG(0,1)}const Oa=new n.nKC("NzIsInDropDownMenuToken"),xd=new n.nKC("NzMenuServiceLocalToken");let oc=(()=>{class o{constructor(){this.descendantMenuItemClick$=new Ee.B,this.childMenuItemClick$=new Ee.B,this.theme$=new a.t("light"),this.mode$=new a.t("vertical"),this.inlineIndent$=new a.t(24),this.isChildSubMenuOpen$=new a.t(!1)}onDescendantMenuItemClick(i){this.descendantMenuItemClick$.next(i)}onChildMenuItemClick(i){this.childMenuItemClick$.next(i)}setMode(i){this.mode$.next(i)}setTheme(i){this.theme$.next(i)}setInlineIndent(i){this.inlineIndent$.next(i)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac})}return o})(),Bp=(()=>{class o{onChildMenuItemClick(i){this.childMenuItemClick$.next(i)}setOpenStateWithoutDebounce(i){this.isCurrentSubMenuOpen$.next(i)}setMouseEnterTitleOrOverlayState(i){this.isMouseEnterTitleOrOverlay$.next(i)}constructor(i){this.nzMenuService=i,this.mode$=this.nzMenuService.mode$.pipe((0,L.T)(M=>"inline"===M?"inline":"vertical"===M||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isMenuInsideDropDown=(0,n.WQX)(Oa),this.isCurrentSubMenuOpen$=new a.t(!1),this.isChildSubMenuOpen$=new a.t(!1),this.isMouseEnterTitleOrOverlay$=new Ee.B,this.childMenuItemClick$=new Ee.B,this.destroy$=new Ee.B,this.nzHostSubmenuService=(0,n.WQX)(o,{optional:!0,skipSelf:!0}),this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const s=this.childMenuItemClick$.pipe((0,xa.Z)(()=>this.mode$),(0,ae.p)(M=>"inline"!==M||this.isMenuInsideDropDown),(0,_u.u)(!1)),l=(0,Ue.h)(this.isMouseEnterTitleOrOverlay$,s);(0,qe.z)([this.isChildSubMenuOpen$,l]).pipe((0,L.T)(([M,F])=>M||F),(0,W.Z)(150),(0,K.F)(),(0,Xe.Q)(this.destroy$)).pipe((0,K.F)()).subscribe(M=>{this.setOpenStateWithoutDebounce(M),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(M):this.nzMenuService.isChildSubMenuOpen$.next(M)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(oc))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac})}return o})(),Hl=(()=>{class o{clickMenuItem(i){this.nzDisabled?(i.preventDefault(),i.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(i){this.nzSelected=i,this.selected$.next(i)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const i=this.hasActiveLinks();this.nzSelected!==i&&(this.nzSelected=i,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const i=this.isLinkActive(this.router);return this.routerLink&&i(this.routerLink)||this.listOfRouterLink.some(i)}isLinkActive(i){return s=>i.isActive(s.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(i,s){this.nzMenuService=i,this.cdr=s,this.destroy$=new Ee.B,this.nzSubmenuService=(0,n.WQX)(Bp,{optional:!0}),this.directionality=(0,n.WQX)(Nt.dS),this.routerLink=(0,n.WQX)(Go.Wk,{optional:!0}),this.router=(0,n.WQX)(Go.Ix,{optional:!0}),this.isMenuInsideDropDown=(0,n.WQX)(Oa),this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new Ee.B,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,this.router&&this.router.events.pipe((0,Xe.Q)(this.destroy$),(0,ae.p)(l=>l instanceof Go.wF)).subscribe(()=>{this.updateRouterActive()})}ngOnInit(){(0,qe.z)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Xe.Q)(this.destroy$)).subscribe(([i,s])=>{this.inlinePaddingLeft="inline"===i?this.level*s:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,Xe.Q)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(i){i.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(oc),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-menu-item",""]],contentQueries:function(s,l,v){if(1&s&&n.wni(v,Go.Wk,5),2&s){let M;n.mGM(M=n.lsd())&&(l.listOfRouterLink=M)}},hostVars:20,hostBindings:function(s,l){1&s&&n.bIt("click",function(M){return l.clickMenuItem(M)}),2&s&&(n.xc7("padding-left","rtl"===l.dir?null:l.nzPaddingLeft||l.inlinePaddingLeft,"px")("padding-right","rtl"===l.dir?l.nzPaddingLeft||l.inlinePaddingLeft:null,"px"),n.AVh("ant-dropdown-menu-item",l.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",l.isMenuInsideDropDown&&l.nzSelected)("ant-dropdown-menu-item-danger",l.isMenuInsideDropDown&&l.nzDanger)("ant-dropdown-menu-item-disabled",l.isMenuInsideDropDown&&l.nzDisabled)("ant-menu-item",!l.isMenuInsideDropDown)("ant-menu-item-selected",!l.isMenuInsideDropDown&&l.nzSelected)("ant-menu-item-danger",!l.isMenuInsideDropDown&&l.nzDanger)("ant-menu-item-disabled",!l.isMenuInsideDropDown&&l.nzDisabled))},inputs:{nzPaddingLeft:[2,"nzPaddingLeft","nzPaddingLeft",Ut.cj],nzDisabled:[2,"nzDisabled","nzDisabled",n.L39],nzSelected:[2,"nzSelected","nzSelected",n.L39],nzDanger:[2,"nzDanger","nzDanger",n.L39],nzMatchRouterExact:[2,"nzMatchRouterExact","nzMatchRouterExact",n.L39],nzMatchRouter:[2,"nzMatchRouter","nzMatchRouter",n.L39]},exportAs:["nzMenuItem"],standalone:!0,features:[n.GFd,n.OA$,n.aNF],attrs:ue,ngContentSelectors:Z,decls:2,vars:0,consts:[[1,"ant-menu-title-content"]],template:function(s,l){1&s&&(n.NAR(),n.j41(0,"span",0),n.SdG(1),n.k0s())},encapsulation:2,changeDetection:0})}return o})(),Vc=(()=>{class o{constructor(i,s,l){this.elementRef=i,this.renderer=s,this.directionality=l,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new Ee.B}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i})}ngOnChanges(i){const{mode:s,nzOpen:l,menuClass:v}=i;(s||l)&&this.calcMotionState(),v&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(M=>!!M).forEach(M=>{this.renderer.removeClass(this.elementRef.nativeElement,M)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(M=>!!M).forEach(M=>{this.renderer.addClass(this.elementRef.nativeElement,M)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(Nt.dS))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(s,l){2&s&&(n.zvX("@collapseMotion",l.expandState),n.AVh("ant-menu-rtl","rtl"===l.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],standalone:!0,features:[n.OA$,n.aNF],attrs:pe,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(s,l){1&s&&n.DNE(0,Oe,0,0,"ng-template",0),2&s&&n.Y8G("ngTemplateOutlet",l.templateOutlet)},dependencies:[X.T3],encapsulation:2,data:{animation:[Bn.GE]},changeDetection:0})}return o})(),Bc=(()=>{class o{constructor(i){this.directionality=i,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new n.bkB,this.expandState="collapsed",this.dir="ltr",this.destroy$=new Ee.B}setMouseState(i){this.nzDisabled||this.subMenuMouseState.next(i)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i})}ngOnChanges(i){const{mode:s,nzOpen:l}=i;(s||l)&&this.calcMotionState()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(Nt.dS))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(s,l){1&s&&n.bIt("mouseenter",function(){return l.setMouseState(!0)})("mouseleave",function(){return l.setMouseState(!1)}),2&s&&(n.zvX("@slideMotion",l.expandState)("@zoomBigMotion",l.expandState),n.AVh("ant-menu-light","light"===l.theme)("ant-menu-dark","dark"===l.theme)("ant-menu-submenu-placement-bottom","horizontal"===l.mode)("ant-menu-submenu-placement-right","vertical"===l.mode&&"right"===l.position)("ant-menu-submenu-placement-left","vertical"===l.mode&&"left"===l.position)("ant-menu-submenu-rtl","rtl"===l.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],standalone:!0,features:[n.OA$,n.aNF],attrs:it,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(s,l){1&s&&(n.j41(0,"div",0),n.DNE(1,At,0,0,"ng-template",1),n.k0s()),2&s&&(n.AVh("ant-dropdown-menu",l.isMenuInsideDropDown)("ant-menu",!l.isMenuInsideDropDown)("ant-dropdown-menu-vertical",l.isMenuInsideDropDown)("ant-menu-vertical",!l.isMenuInsideDropDown)("ant-dropdown-menu-sub",l.isMenuInsideDropDown)("ant-menu-sub",!l.isMenuInsideDropDown)("ant-menu-rtl","rtl"===l.dir),n.Y8G("ngClass",l.menuClass),n.R7$(),n.Y8G("ngTemplateOutlet",l.templateOutlet))},dependencies:[X.YU,X.T3],encapsulation:2,data:{animation:[Bn.uX,Bn.U1]},changeDetection:0})}return o})(),Cc=(()=>{class o{constructor(i,s){this.cdr=i,this.directionality=s,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new n.bkB,this.subMenuMouseState=new n.bkB,this.dir="ltr",this.destroy$=new Ee.B}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(i){this.nzDisabled||this.subMenuMouseState.next(i)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.gRc),n.rXU(Nt.dS))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(s,l){1&s&&n.bIt("click",function(){return l.clickTitle()})("mouseenter",function(){return l.setMouseState(!0)})("mouseleave",function(){return l.setMouseState(!1)}),2&s&&(n.xc7("padding-left","rtl"===l.dir?null:l.paddingLeft,"px")("padding-right","rtl"===l.dir?l.paddingLeft:null,"px"),n.AVh("ant-dropdown-menu-submenu-title",l.isMenuInsideDropDown)("ant-menu-submenu-title",!l.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],standalone:!0,features:[n.aNF],attrs:kn,ngContentSelectors:Z,decls:5,vars:3,consts:[["nz-icon","",3,"nzType"],[4,"nzStringTemplateOutlet"],[1,"ant-dropdown-menu-submenu-expand-icon"],[1,"ant-menu-submenu-arrow"],[1,"ant-menu-title-content"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"]],template:function(s,l){1&s&&(n.NAR(),n.DNE(0,pn,1,1,"span",0)(1,pi,3,1,"ng-container",1),n.SdG(2),n.DNE(3,us,3,1,"span",2)(4,bl,1,0,"span",3)),2&s&&(n.vxM(l.nzIcon?0:-1),n.R7$(),n.Y8G("nzStringTemplateOutlet",l.nzTitle),n.R7$(2),n.vxM(l.isMenuInsideDropDown?3:4))},dependencies:[Hn.Y3,Hn.Dn,yt.C,yt.m],encapsulation:2,changeDetection:0})}return o})();const $p=[mt.pn.rightTop,mt.pn.right,mt.pn.rightBottom,mt.pn.leftTop,mt.pn.left,mt.pn.leftBottom],jd=[mt.pn.bottomLeft,mt.pn.bottomRight,mt.pn.topRight,mt.pn.topLeft];let Hd=(()=>{class o{setOpenStateWithoutDebounce(i){this.nzSubmenuService.setOpenStateWithoutDebounce(i)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(i){this.isActive=i,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(i)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(i){const s=(0,mt.jj)(i);"rightTop"===s||"rightBottom"===s||"right"===s?this.position="right":("leftTop"===s||"leftBottom"===s||"left"===s)&&(this.position="left")}constructor(i,s,l,v){this.nzMenuService=i,this.cdr=s,this.nzSubmenuService=l,this.platform=v,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new n.bkB,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new Ee.B,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=$p,this.isSelected=!1,this.isActive=!1,this.dir="ltr",this.isMenuInsideDropDown=(0,n.WQX)(Oa),this.noAnimation=(0,n.WQX)(Et.z,{optional:!0,host:!0}),this.directionality=(0,n.WQX)(Nt.dS)}ngOnInit(){this.nzMenuService.theme$.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.theme=i,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.mode=i,"horizontal"===i?this.overlayPositions=[mt.pn[this.nzPlacement],...jd]:"vertical"===i&&(this.overlayPositions=$p),this.cdr.markForCheck()}),(0,qe.z)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Xe.Q)(this.destroy$)).subscribe(([i,s])=>{this.inlinePaddingLeft="inline"===i?this.level*s:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.isActive=i,i!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=i,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const i=this.listOfNzMenuItemDirective,s=i.changes,l=(0,Ue.h)(s,...i.map(v=>v.selected$));s.pipe((0,ze.Z)(i),(0,de.n)(()=>l),(0,ze.Z)(!0),(0,L.T)(()=>i.some(v=>v.nzSelected)),(0,Xe.Q)(this.destroy$)).subscribe(v=>{this.isSelected=v,this.cdr.markForCheck()})}ngOnChanges(i){const{nzOpen:s}=i;s&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(oc),n.rXU(n.gRc),n.rXU(Bp),n.rXU(Cn.OD))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-submenu",""]],contentQueries:function(s,l,v){if(1&s&&(n.wni(v,o,5),n.wni(v,Hl,5)),2&s){let M;n.mGM(M=n.lsd())&&(l.listOfNzSubMenuComponent=M),n.mGM(M=n.lsd())&&(l.listOfNzMenuItemDirective=M)}},viewQuery:function(s,l){if(1&s&&n.GBs(Pe.$Q,7,n.aKT),2&s){let v;n.mGM(v=n.lsd())&&(l.cdkOverlayOrigin=v.first)}},hostVars:34,hostBindings:function(s,l){2&s&&n.AVh("ant-dropdown-menu-submenu",l.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",l.isMenuInsideDropDown&&l.nzDisabled)("ant-dropdown-menu-submenu-open",l.isMenuInsideDropDown&&l.nzOpen)("ant-dropdown-menu-submenu-selected",l.isMenuInsideDropDown&&l.isSelected)("ant-dropdown-menu-submenu-vertical",l.isMenuInsideDropDown&&"vertical"===l.mode)("ant-dropdown-menu-submenu-horizontal",l.isMenuInsideDropDown&&"horizontal"===l.mode)("ant-dropdown-menu-submenu-inline",l.isMenuInsideDropDown&&"inline"===l.mode)("ant-dropdown-menu-submenu-active",l.isMenuInsideDropDown&&l.isActive)("ant-menu-submenu",!l.isMenuInsideDropDown)("ant-menu-submenu-disabled",!l.isMenuInsideDropDown&&l.nzDisabled)("ant-menu-submenu-open",!l.isMenuInsideDropDown&&l.nzOpen)("ant-menu-submenu-selected",!l.isMenuInsideDropDown&&l.isSelected)("ant-menu-submenu-vertical",!l.isMenuInsideDropDown&&"vertical"===l.mode)("ant-menu-submenu-horizontal",!l.isMenuInsideDropDown&&"horizontal"===l.mode)("ant-menu-submenu-inline",!l.isMenuInsideDropDown&&"inline"===l.mode)("ant-menu-submenu-active",!l.isMenuInsideDropDown&&l.isActive)("ant-menu-submenu-rtl","rtl"===l.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:[2,"nzOpen","nzOpen",n.L39],nzDisabled:[2,"nzDisabled","nzDisabled",n.L39],nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],standalone:!0,features:[n.Jv_([Bp]),n.GFd,n.OA$,n.aNF],attrs:zo,ngContentSelectors:ss,decls:7,vars:8,consts:[["origin","cdkOverlayOrigin"],["subMenuTemplate",""],["nz-submenu-title","","cdkOverlayOrigin","",3,"subMenuMouseState","toggleSubMenu","nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["cdkConnectedOverlay","",3,"positionChange","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["nz-submenu-none-inline-child","",3,"subMenuMouseState","theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation"]],template:function(s,l){if(1&s){const v=n.RV6();n.NAR(Os),n.j41(0,"div",2,0),n.bIt("subMenuMouseState",function(F){return n.eBV(v),n.Njj(l.setMouseEnterState(F))})("toggleSubMenu",function(){return n.eBV(v),n.Njj(l.toggleSubMenu())}),n.DNE(2,jl,1,0),n.k0s(),n.DNE(3,Ta,1,6,"div",3)(4,Z0,1,5,null,4)(5,ld,1,0,"ng-template",null,1,n.C5r)}2&s&&(n.Y8G("nzIcon",l.nzIcon)("nzTitle",l.nzTitle)("mode",l.mode)("nzDisabled",l.nzDisabled)("isMenuInsideDropDown",l.isMenuInsideDropDown)("paddingLeft",l.nzPaddingLeft||l.inlinePaddingLeft),n.R7$(2),n.vxM(l.nzTitle?-1:2),n.R7$(),n.vxM("inline"===l.mode?3:4))},dependencies:[Cc,Vc,Et.z,Bc,Pe.z_,Pe.WB,Pe.$Q],encapsulation:2,changeDetection:0})}return o})();function G1(){const o=(0,n.WQX)(oc,{skipSelf:!0,optional:!0}),d=(0,n.WQX)(xd);return o??d}function $c(){return(0,n.WQX)(Oa,{skipSelf:!0,optional:!0})??!1}let rc=(()=>{class o{setInlineCollapsed(i){this.nzInlineCollapsed=i,this.inlineCollapsed$.next(i)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(i=>i.nzOpen),this.listOfNzSubMenuComponent.forEach(i=>i.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(i=>i.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}constructor(i,s){this.nzMenuService=i,this.cdr=s,this.isMenuInsideDropDown=(0,n.WQX)(Oa),this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new n.bkB,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new a.t(this.nzInlineCollapsed),this.mode$=new a.t(this.nzMode),this.destroy$=new Ee.B,this.listOfOpenedNzSubMenuComponent=[],this.directionality=(0,n.WQX)(Nt.dS)}ngOnInit(){(0,qe.z)([this.inlineCollapsed$,this.mode$]).pipe((0,Xe.Q)(this.destroy$)).subscribe(([i,s])=>{this.actualMode=i?"vertical":s,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.nzClick.emit(i),this.nzSelectable&&!i.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(s=>s.setSelectedState(s===i))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,Xe.Q)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(i){const{nzInlineCollapsed:s,nzInlineIndent:l,nzTheme:v,nzMode:M}=i;s&&this.inlineCollapsed$.next(this.nzInlineCollapsed),l&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),v&&this.nzMenuService.setTheme(this.nzTheme),M&&(this.mode$.next(this.nzMode),!i.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(F=>F.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(oc),n.rXU(n.gRc))};static#t=this.\u0275dir=n.FsC({type:o,selectors:[["","nz-menu",""]],contentQueries:function(s,l,v){if(1&s&&(n.wni(v,Hl,5),n.wni(v,Hd,5)),2&s){let M;n.mGM(M=n.lsd())&&(l.listOfNzMenuItemDirective=M),n.mGM(M=n.lsd())&&(l.listOfNzSubMenuComponent=M)}},hostVars:34,hostBindings:function(s,l){2&s&&n.AVh("ant-dropdown-menu",l.isMenuInsideDropDown)("ant-dropdown-menu-root",l.isMenuInsideDropDown)("ant-dropdown-menu-light",l.isMenuInsideDropDown&&"light"===l.nzTheme)("ant-dropdown-menu-dark",l.isMenuInsideDropDown&&"dark"===l.nzTheme)("ant-dropdown-menu-vertical",l.isMenuInsideDropDown&&"vertical"===l.actualMode)("ant-dropdown-menu-horizontal",l.isMenuInsideDropDown&&"horizontal"===l.actualMode)("ant-dropdown-menu-inline",l.isMenuInsideDropDown&&"inline"===l.actualMode)("ant-dropdown-menu-inline-collapsed",l.isMenuInsideDropDown&&l.nzInlineCollapsed)("ant-menu",!l.isMenuInsideDropDown)("ant-menu-root",!l.isMenuInsideDropDown)("ant-menu-light",!l.isMenuInsideDropDown&&"light"===l.nzTheme)("ant-menu-dark",!l.isMenuInsideDropDown&&"dark"===l.nzTheme)("ant-menu-vertical",!l.isMenuInsideDropDown&&"vertical"===l.actualMode)("ant-menu-horizontal",!l.isMenuInsideDropDown&&"horizontal"===l.actualMode)("ant-menu-inline",!l.isMenuInsideDropDown&&"inline"===l.actualMode)("ant-menu-inline-collapsed",!l.isMenuInsideDropDown&&l.nzInlineCollapsed)("ant-menu-rtl","rtl"===l.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:[2,"nzInlineCollapsed","nzInlineCollapsed",n.L39],nzSelectable:[2,"nzSelectable","nzSelectable",n.L39]},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],standalone:!0,features:[n.Jv_([{provide:xd,useClass:oc},{provide:oc,useFactory:G1},{provide:Oa,useFactory:$c}]),n.GFd,n.OA$]})}return o})();function wc(){return(0,n.WQX)(Oa,{optional:!0,skipSelf:!0})??!1}let cd=(()=>{class o{constructor(i,s){this.elementRef=i,this.renderer=s,this.isMenuInsideDropDown=(0,n.WQX)(Oa),this.renderer.addClass(i.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const i=this.titleElement.nativeElement.nextElementSibling;i&&this.renderer.addClass(i,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["","nz-menu-group",""]],viewQuery:function(s,l){if(1&s&&n.GBs(Zh,5),2&s){let v;n.mGM(v=n.lsd())&&(l.titleElement=v.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],standalone:!0,features:[n.Jv_([{provide:Oa,useFactory:wc}]),n.aNF],attrs:kf,ngContentSelectors:Ef,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"]],template:function(s,l){1&s&&(n.NAR(yu),n.j41(0,"div",null,0),n.DNE(2,e1,2,1,"ng-container",1)(3,t1,1,0),n.k0s(),n.SdG(4)),2&s&&(n.AVh("ant-menu-item-group-title",!l.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",l.isMenuInsideDropDown),n.R7$(2),n.Y8G("nzStringTemplateOutlet",l.nzTitle),n.R7$(),n.vxM(l.nzTitle?-1:3))},dependencies:[yt.C,yt.m],encapsulation:2,changeDetection:0})}return o})(),j1=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[Hd,cd,Cc]})}return o})();var bu=C(983);const Cu=["*"];function sc(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",0),n.bIt("@slideMotion.done",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.onAnimationEvent(l))})("mouseenter",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.setMouseState(!0))})("mouseleave",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.setMouseState(!1))}),n.SdG(1),n.k0s()}if(2&o){const i=n.XpG();n.AVh("ant-dropdown-rtl","rtl"===i.dir),n.Y8G("ngClass",i.nzOverlayClassName)("ngStyle",i.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",!(null==i.noAnimation||!i.noAnimation.nzNoAnimation))("nzNoAnimation",null==i.noAnimation?null:i.noAnimation.nzNoAnimation)}}const Yd=[mt.pn.bottomLeft,mt.pn.bottomRight,mt.pn.topRight,mt.pn.topLeft];let Js=(()=>{class o{setDropdownMenuValue(i,s){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(i,s)}constructor(i,s,l,v,M,F){this.nzConfigService=i,this.elementRef=s,this.overlay=l,this.renderer=v,this.viewContainerRef=M,this.platform=F,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new Ee.B,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new a.t(!1),this.nzTrigger$=new a.t("hover"),this.overlayClose$=new Ee.B,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new n.bkB}ngAfterViewInit(){if(this.nzDropdownMenu){const i=this.elementRef.nativeElement,s=(0,Ue.h)((0,se.R)(i,"mouseenter").pipe((0,_u.u)(!0)),(0,se.R)(i,"mouseleave").pipe((0,_u.u)(!1))),v=(0,Ue.h)(this.nzDropdownMenu.mouseState$,s),M=(0,se.R)(i,"click").pipe((0,L.T)(()=>!this.nzVisible)),F=this.nzTrigger$.pipe((0,de.n)($e=>"hover"===$e?v:"click"===$e?M:bu.w)),j=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,ae.p)(()=>this.nzClickHide),(0,_u.u)(!1)),oe=(0,Ue.h)(F,j,this.overlayClose$).pipe((0,ae.p)(()=>!this.nzDisabled)),Se=(0,Ue.h)(this.inputVisible$,oe);(0,qe.z)([Se,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,L.T)(([$e,bt])=>$e||bt),(0,W.Z)(150),(0,K.F)(),(0,ae.p)(()=>this.platform.isBrowser),(0,Xe.Q)(this.destroy$)).subscribe($e=>{const Lt=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:i).getBoundingClientRect().width;this.nzVisible!==$e&&this.nzVisibleChange.emit($e),this.nzVisible=$e,$e?(this.overlayRef?this.overlayRef.getConfig().minWidth=Lt:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:Lt,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,Ue.h)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,ae.p)(dn=>!this.elementRef.nativeElement.contains(dn.target))),this.overlayRef.keydownEvents().pipe((0,ae.p)(dn=>dn.keyCode===qt._f&&!(0,qt.rp)(dn)))).pipe((0,Xe.Q)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([mt.pn[this.nzPlacement],...Yd]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new Ke.VA(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,Xe.Q)(this.destroy$)).subscribe($e=>{"void"===$e.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(i){const{nzVisible:s,nzDisabled:l,nzOverlayClassName:v,nzOverlayStyle:M,nzTrigger:F}=i;if(F&&this.nzTrigger$.next(this.nzTrigger),s&&this.inputVisible$.next(this.nzVisible),l){const j=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(j,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(j,"disabled")}v&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),M&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(Vt.yx),n.rXU(n.aKT),n.rXU(Pe.hJ),n.rXU(n.sFG),n.rXU(n.c1b),n.rXU(Cn.OD))};static#t=this.\u0275dir=n.FsC({type:o,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:[2,"nzBackdrop","nzBackdrop",n.L39],nzClickHide:[2,"nzClickHide","nzClickHide",n.L39],nzDisabled:[2,"nzDisabled","nzDisabled",n.L39],nzVisible:[2,"nzVisible","nzVisible",n.L39],nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],standalone:!0,features:[n.GFd,n.OA$]})}return(0,Ri.Cg)([(0,Vt.H4)()],o.prototype,"nzBackdrop",void 0),o})(),co=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({})}return o})(),za=(()=>{class o{onAnimationEvent(i){this.animationStateChange$.emit(i)}setMouseState(i){this.mouseState$.next(i)}setValue(i,s){this[i]=s,this.cdr.markForCheck()}constructor(i,s,l,v,M,F){this.cdr=i,this.elementRef=s,this.renderer=l,this.viewContainerRef=v,this.nzMenuService=M,this.directionality=F,this.mouseState$=new a.t(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new n.bkB,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new Ee.B,this.noAnimation=(0,n.WQX)(Et.z,{host:!0,optional:!0})}ngOnInit(){this.directionality.change?.pipe((0,Xe.Q)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.gRc),n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(n.c1b),n.rXU(oc),n.rXU(Nt.dS))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["nz-dropdown-menu"]],viewQuery:function(s,l){if(1&s&&n.GBs(n.C4Q,7),2&s){let v;n.mGM(v=n.lsd())&&(l.templateRef=v.first)}},exportAs:["nzDropdownMenu"],standalone:!0,features:[n.Jv_([oc,{provide:Oa,useValue:!0}]),n.aNF],ngContentSelectors:Cu,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"mouseenter","mouseleave","ngClass","ngStyle","nzNoAnimation"]],template:function(s,l){1&s&&(n.NAR(),n.DNE(0,sc,2,7,"ng-template"))},dependencies:[X.YU,X.B3,Et.z],encapsulation:2,data:{animation:[Bn.U1]},changeDetection:0})}return o})(),Tr=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[co,j1]})}return o})();new Pe.uH({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new Pe.uH({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Pe.uH({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Pe.uH({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),C(1875);var H1=C(13946),sl=C(35154),jc=C(21626),Hi=(C(3451),C(49969)),cc="0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9",pa="".concat("-\u2010-\u2015\u2212\u30fc\uff0d").concat("\uff0f/").concat("\uff0e.").concat(" \xa0\xad\u200b\u2060\u3000").concat("()\uff08\uff09\uff3b\uff3d\\[\\]").concat("~\u2053\u223c\uff5e");Error;var eu=function(d){return"([".concat(cc,"]{1,").concat(d,"})")};function fg(o){var v="[ \xa0\\t,]*",M="[:\\.\uff0e]?[ \xa0\\t,-]*",F="#?",$e="[ \xa0\\t]*";return";ext="+eu("20")+"|"+v+"(?:e?xt(?:ensi(?:o\u0301?|\xf3))?n?|\uff45?\uff58\uff54\uff4e?|\u0434\u043e\u0431|anexo)"+M+eu("20")+"#?|"+v+"(?:[x\uff58#\uff03~\uff5e]|int|\uff49\uff4e\uff54)"+M+eu("9")+"#?|[- ]+"+eu("6")+"#|"+$e+"(?:,{2}|;)"+M+eu("15")+"#?|"+$e+"(?:,)+"+M+eu("9")+F}var y2="["+cc+"]{2}",mg="[+\uff0b]{0,1}(?:["+pa+"]*["+cc+"]){3,}["+pa+cc+"]*",A8=(new RegExp("^[+\uff0b]{0,1}(?:["+pa+"]*["+cc+"]){1,2}$","i"),mg+"(?:"+fg()+")?");new RegExp("^"+y2+"$|^"+A8+"$","i"),new RegExp("(?:"+fg()+")$","i"),new RegExp("(["+cc+"])");var Rd="(["+cc+"]|[\\-\\.\\(\\)]?)";new RegExp("^\\+"+Rd+"*["+cc+"]"+Rd+"*$","g"),new RegExp("^(["+cc+"]+((\\-)*["+cc+"])*\\.)*[a-zA-Z]+((\\-)*["+cc+"])*\\.?$","g"),new RegExp("[+\uff0b"+cc+"]"),new RegExp("[^"+cc+"#]+$");var Du=C(85164);C(83229);let S1=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({})}return o})();C(72318);var M1,o,_d=C(83801);(function(o){let d=(()=>{class M{static encodeText(j,oe){const Se=o.QrSegment.makeSegments(j);return M.encodeSegments(Se,oe)}static encodeBinary(j,oe){const Se=o.QrSegment.makeBytes(j);return M.encodeSegments([Se],oe)}static encodeSegments(j,oe,Se=1,$e=40,bt=-1,Lt=!0){if(!(M.MIN_VERSION<=Se&&Se<=$e&&$e<=M.MAX_VERSION)||bt<-1||bt>7)throw new RangeError("Invalid value");let dn,Jn;for(dn=Se;;dn++){const ki=8*M.getNumDataCodewords(dn,oe),bi=v.getTotalBits(j,dn);if(bi<=ki){Jn=bi;break}if(dn>=$e)throw new RangeError("Data too long")}for(const ki of[M.Ecc.MEDIUM,M.Ecc.QUARTILE,M.Ecc.HIGH])Lt&&Jn<=8*M.getNumDataCodewords(dn,ki)&&(oe=ki);let jn=[];for(const ki of j){i(ki.mode.modeBits,4,jn),i(ki.numChars,ki.mode.numCharCountBits(dn),jn);for(const bi of ki.getData())jn.push(bi)}l(jn.length==Jn);const zi=8*M.getNumDataCodewords(dn,oe);l(jn.length<=zi),i(0,Math.min(4,zi-jn.length),jn),i(0,(8-jn.length%8)%8,jn),l(jn.length%8==0);for(let ki=236;jn.length<zi;ki^=253)i(ki,8,jn);let Si=[];for(;8*Si.length<jn.length;)Si.push(0);return jn.forEach((ki,bi)=>Si[bi>>>3]|=ki<<7-(7&bi)),new M(dn,oe,Si,bt)}constructor(j,oe,Se,$e){if(this.version=j,this.errorCorrectionLevel=oe,this.modules=[],this.isFunction=[],j<M.MIN_VERSION||j>M.MAX_VERSION)throw new RangeError("Version value out of range");if($e<-1||$e>7)throw new RangeError("Mask value out of range");this.size=4*j+17;let bt=[];for(let dn=0;dn<this.size;dn++)bt.push(!1);for(let dn=0;dn<this.size;dn++)this.modules.push(bt.slice()),this.isFunction.push(bt.slice());this.drawFunctionPatterns();const Lt=this.addEccAndInterleave(Se);if(this.drawCodewords(Lt),-1==$e){let dn=1e9;for(let Jn=0;Jn<8;Jn++){this.applyMask(Jn),this.drawFormatBits(Jn);const jn=this.getPenaltyScore();jn<dn&&($e=Jn,dn=jn),this.applyMask(Jn)}}l($e>=0&&$e<=7),this.mask=$e,this.applyMask($e),this.drawFormatBits($e),this.isFunction=[]}getModule(j,oe){return j>=0&&j<this.size&&oe>=0&&oe<this.size&&this.modules[oe][j]}getModules(){return this.modules}drawFunctionPatterns(){for(let Se=0;Se<this.size;Se++)this.setFunctionModule(6,Se,Se%2==0),this.setFunctionModule(Se,6,Se%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const j=this.getAlignmentPatternPositions(),oe=j.length;for(let Se=0;Se<oe;Se++)for(let $e=0;$e<oe;$e++)0==Se&&0==$e||0==Se&&$e==oe-1||Se==oe-1&&0==$e||this.drawAlignmentPattern(j[Se],j[$e]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(j){const oe=this.errorCorrectionLevel.formatBits<<3|j;let Se=oe;for(let bt=0;bt<10;bt++)Se=Se<<1^1335*(Se>>>9);const $e=21522^(oe<<10|Se);l($e>>>15==0);for(let bt=0;bt<=5;bt++)this.setFunctionModule(8,bt,s($e,bt));this.setFunctionModule(8,7,s($e,6)),this.setFunctionModule(8,8,s($e,7)),this.setFunctionModule(7,8,s($e,8));for(let bt=9;bt<15;bt++)this.setFunctionModule(14-bt,8,s($e,bt));for(let bt=0;bt<8;bt++)this.setFunctionModule(this.size-1-bt,8,s($e,bt));for(let bt=8;bt<15;bt++)this.setFunctionModule(8,this.size-15+bt,s($e,bt));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let j=this.version;for(let Se=0;Se<12;Se++)j=j<<1^7973*(j>>>11);const oe=this.version<<12|j;l(oe>>>18==0);for(let Se=0;Se<18;Se++){const $e=s(oe,Se),bt=this.size-11+Se%3,Lt=Math.floor(Se/3);this.setFunctionModule(bt,Lt,$e),this.setFunctionModule(Lt,bt,$e)}}drawFinderPattern(j,oe){for(let Se=-4;Se<=4;Se++)for(let $e=-4;$e<=4;$e++){const bt=Math.max(Math.abs($e),Math.abs(Se)),Lt=j+$e,dn=oe+Se;Lt>=0&&Lt<this.size&&dn>=0&&dn<this.size&&this.setFunctionModule(Lt,dn,2!=bt&&4!=bt)}}drawAlignmentPattern(j,oe){for(let Se=-2;Se<=2;Se++)for(let $e=-2;$e<=2;$e++)this.setFunctionModule(j+$e,oe+Se,1!=Math.max(Math.abs($e),Math.abs(Se)))}setFunctionModule(j,oe,Se){this.modules[oe][j]=Se,this.isFunction[oe][j]=!0}addEccAndInterleave(j){const oe=this.version,Se=this.errorCorrectionLevel;if(j.length!=M.getNumDataCodewords(oe,Se))throw new RangeError("Invalid argument");const $e=M.NUM_ERROR_CORRECTION_BLOCKS[Se.ordinal][oe],bt=M.ECC_CODEWORDS_PER_BLOCK[Se.ordinal][oe],Lt=Math.floor(M.getNumRawDataModules(oe)/8),dn=$e-Lt%$e,Jn=Math.floor(Lt/$e);let jn=[];const zi=M.reedSolomonComputeDivisor(bt);for(let ki=0,bi=0;ki<$e;ki++){let Gi=j.slice(bi,bi+Jn-bt+(ki<dn?0:1));bi+=Gi.length;const $s=M.reedSolomonComputeRemainder(Gi,zi);ki<dn&&Gi.push(0),jn.push(Gi.concat($s))}let Si=[];for(let ki=0;ki<jn[0].length;ki++)jn.forEach((bi,Gi)=>{(ki!=Jn-bt||Gi>=dn)&&Si.push(bi[ki])});return l(Si.length==Lt),Si}drawCodewords(j){if(j.length!=Math.floor(M.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let oe=0;for(let Se=this.size-1;Se>=1;Se-=2){6==Se&&(Se=5);for(let $e=0;$e<this.size;$e++)for(let bt=0;bt<2;bt++){const Lt=Se-bt,Jn=Se+1&2?$e:this.size-1-$e;!this.isFunction[Jn][Lt]&&oe<8*j.length&&(this.modules[Jn][Lt]=s(j[oe>>>3],7-(7&oe)),oe++)}}l(oe==8*j.length)}applyMask(j){if(j<0||j>7)throw new RangeError("Mask value out of range");for(let oe=0;oe<this.size;oe++)for(let Se=0;Se<this.size;Se++){let $e;switch(j){case 0:$e=(Se+oe)%2==0;break;case 1:$e=oe%2==0;break;case 2:$e=Se%3==0;break;case 3:$e=(Se+oe)%3==0;break;case 4:$e=(Math.floor(Se/3)+Math.floor(oe/2))%2==0;break;case 5:$e=Se*oe%2+Se*oe%3==0;break;case 6:$e=(Se*oe%2+Se*oe%3)%2==0;break;case 7:$e=((Se+oe)%2+Se*oe%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[oe][Se]&&$e&&(this.modules[oe][Se]=!this.modules[oe][Se])}}getPenaltyScore(){let j=0;for(let bt=0;bt<this.size;bt++){let Lt=!1,dn=0,Jn=[0,0,0,0,0,0,0];for(let jn=0;jn<this.size;jn++)this.modules[bt][jn]==Lt?(dn++,5==dn?j+=M.PENALTY_N1:dn>5&&j++):(this.finderPenaltyAddHistory(dn,Jn),Lt||(j+=this.finderPenaltyCountPatterns(Jn)*M.PENALTY_N3),Lt=this.modules[bt][jn],dn=1);j+=this.finderPenaltyTerminateAndCount(Lt,dn,Jn)*M.PENALTY_N3}for(let bt=0;bt<this.size;bt++){let Lt=!1,dn=0,Jn=[0,0,0,0,0,0,0];for(let jn=0;jn<this.size;jn++)this.modules[jn][bt]==Lt?(dn++,5==dn?j+=M.PENALTY_N1:dn>5&&j++):(this.finderPenaltyAddHistory(dn,Jn),Lt||(j+=this.finderPenaltyCountPatterns(Jn)*M.PENALTY_N3),Lt=this.modules[jn][bt],dn=1);j+=this.finderPenaltyTerminateAndCount(Lt,dn,Jn)*M.PENALTY_N3}for(let bt=0;bt<this.size-1;bt++)for(let Lt=0;Lt<this.size-1;Lt++){const dn=this.modules[bt][Lt];dn==this.modules[bt][Lt+1]&&dn==this.modules[bt+1][Lt]&&dn==this.modules[bt+1][Lt+1]&&(j+=M.PENALTY_N2)}let oe=0;for(const bt of this.modules)oe=bt.reduce((Lt,dn)=>Lt+(dn?1:0),oe);const Se=this.size*this.size,$e=Math.ceil(Math.abs(20*oe-10*Se)/Se)-1;return l($e>=0&&$e<=9),j+=$e*M.PENALTY_N4,l(j>=0&&j<=2568888),j}getAlignmentPatternPositions(){if(1==this.version)return[];{const j=Math.floor(this.version/7)+2,oe=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*j-2));let Se=[6];for(let $e=this.size-7;Se.length<j;$e-=oe)Se.splice(1,0,$e);return Se}}static getNumRawDataModules(j){if(j<M.MIN_VERSION||j>M.MAX_VERSION)throw new RangeError("Version number out of range");let oe=(16*j+128)*j+64;if(j>=2){const Se=Math.floor(j/7)+2;oe-=(25*Se-10)*Se-55,j>=7&&(oe-=36)}return l(oe>=208&&oe<=29648),oe}static getNumDataCodewords(j,oe){return Math.floor(M.getNumRawDataModules(j)/8)-M.ECC_CODEWORDS_PER_BLOCK[oe.ordinal][j]*M.NUM_ERROR_CORRECTION_BLOCKS[oe.ordinal][j]}static reedSolomonComputeDivisor(j){if(j<1||j>255)throw new RangeError("Degree out of range");let oe=[];for(let $e=0;$e<j-1;$e++)oe.push(0);oe.push(1);let Se=1;for(let $e=0;$e<j;$e++){for(let bt=0;bt<oe.length;bt++)oe[bt]=M.reedSolomonMultiply(oe[bt],Se),bt+1<oe.length&&(oe[bt]^=oe[bt+1]);Se=M.reedSolomonMultiply(Se,2)}return oe}static reedSolomonComputeRemainder(j,oe){let Se=oe.map($e=>0);for(const $e of j){const bt=$e^Se.shift();Se.push(0),oe.forEach((Lt,dn)=>Se[dn]^=M.reedSolomonMultiply(Lt,bt))}return Se}static reedSolomonMultiply(j,oe){if(j>>>8||oe>>>8)throw new RangeError("Byte out of range");let Se=0;for(let $e=7;$e>=0;$e--)Se=Se<<1^285*(Se>>>7),Se^=(oe>>>$e&1)*j;return l(Se>>>8==0),Se}finderPenaltyCountPatterns(j){const oe=j[1];l(oe<=3*this.size);const Se=oe>0&&j[2]==oe&&j[3]==3*oe&&j[4]==oe&&j[5]==oe;return(Se&&j[0]>=4*oe&&j[6]>=oe?1:0)+(Se&&j[6]>=4*oe&&j[0]>=oe?1:0)}finderPenaltyTerminateAndCount(j,oe,Se){return j&&(this.finderPenaltyAddHistory(oe,Se),oe=0),this.finderPenaltyAddHistory(oe+=this.size,Se),this.finderPenaltyCountPatterns(Se)}finderPenaltyAddHistory(j,oe){0==oe[0]&&(j+=this.size),oe.pop(),oe.unshift(j)}static#e=this.MIN_VERSION=1;static#t=this.MAX_VERSION=40;static#n=this.PENALTY_N1=3;static#i=this.PENALTY_N2=3;static#o=this.PENALTY_N3=40;static#r=this.PENALTY_N4=10;static#s=this.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]];static#a=this.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]}return M})();function i(M,F,j){if(F<0||F>31||M>>>F)throw new RangeError("Value out of range");for(let oe=F-1;oe>=0;oe--)j.push(M>>>oe&1)}function s(M,F){return!!(M>>>F&1)}function l(M){if(!M)throw new Error("Assertion error")}o.QrCode=d;let v=(()=>{class M{static makeBytes(j){let oe=[];for(const Se of j)i(Se,8,oe);return new M(M.Mode.BYTE,j.length,oe)}static makeNumeric(j){if(!M.isNumeric(j))throw new RangeError("String contains non-numeric characters");let oe=[];for(let Se=0;Se<j.length;){const $e=Math.min(j.length-Se,3);i(parseInt(j.substring(Se,Se+$e),10),3*$e+1,oe),Se+=$e}return new M(M.Mode.NUMERIC,j.length,oe)}static makeAlphanumeric(j){if(!M.isAlphanumeric(j))throw new RangeError("String contains unencodable characters in alphanumeric mode");let Se,oe=[];for(Se=0;Se+2<=j.length;Se+=2){let $e=45*M.ALPHANUMERIC_CHARSET.indexOf(j.charAt(Se));$e+=M.ALPHANUMERIC_CHARSET.indexOf(j.charAt(Se+1)),i($e,11,oe)}return Se<j.length&&i(M.ALPHANUMERIC_CHARSET.indexOf(j.charAt(Se)),6,oe),new M(M.Mode.ALPHANUMERIC,j.length,oe)}static makeSegments(j){return""==j?[]:M.isNumeric(j)?[M.makeNumeric(j)]:M.isAlphanumeric(j)?[M.makeAlphanumeric(j)]:[M.makeBytes(M.toUtf8ByteArray(j))]}static makeEci(j){let oe=[];if(j<0)throw new RangeError("ECI assignment value out of range");if(j<128)i(j,8,oe);else if(j<16384)i(2,2,oe),i(j,14,oe);else{if(!(j<1e6))throw new RangeError("ECI assignment value out of range");i(6,3,oe),i(j,21,oe)}return new M(M.Mode.ECI,0,oe)}static isNumeric(j){return M.NUMERIC_REGEX.test(j)}static isAlphanumeric(j){return M.ALPHANUMERIC_REGEX.test(j)}constructor(j,oe,Se){if(this.mode=j,this.numChars=oe,this.bitData=Se,oe<0)throw new RangeError("Invalid argument");this.bitData=Se.slice()}getData(){return this.bitData.slice()}static getTotalBits(j,oe){let Se=0;for(const $e of j){const bt=$e.mode.numCharCountBits(oe);if($e.numChars>=1<<bt)return 1/0;Se+=4+bt+$e.bitData.length}return Se}static toUtf8ByteArray(j){j=encodeURI(j);let oe=[];for(let Se=0;Se<j.length;Se++)"%"!=j.charAt(Se)?oe.push(j.charCodeAt(Se)):(oe.push(parseInt(j.substring(Se+1,Se+3),16)),Se+=2);return oe}static#e=this.NUMERIC_REGEX=/^[0-9]*$/;static#t=this.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/;static#n=this.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"}return M})();o.QrSegment=v})(M1||(M1={})),function(i){class s{static#e=this.LOW=new s(0,1);static#t=this.MEDIUM=new s(1,0);static#n=this.QUARTILE=new s(2,3);static#i=this.HIGH=new s(3,2);constructor(v,M){this.ordinal=v,this.formatBits=M}}i.Ecc=s}((o=M1||(M1={})).QrCode||(o.QrCode={})),function(o){!function(i){class s{static#e=this.NUMERIC=new s(1,[10,12,14]);static#t=this.ALPHANUMERIC=new s(2,[9,11,13]);static#n=this.BYTE=new s(4,[8,16,16]);static#i=this.KANJI=new s(8,[8,10,12]);static#o=this.ECI=new s(7,[0,0,0]);constructor(v,M){this.modeBits=v,this.numBitsCharCount=M}numCharCountBits(v){return this.numBitsCharCount[Math.floor((v+7)/17)]}}i.Mode=s}(o.QrSegment||(o.QrSegment={}))}(M1||(M1={})),C(72874),wt.extend(Du),(0,Hi.hZ)("fadeInOut",[(0,Hi.kY)(":enter",[(0,Hi.iF)({opacity:0}),(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({opacity:1}))]),(0,Hi.kY)(":leave",[(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({opacity:0})),(0,Hi.iF)({position:"absolute",height:"0px"})])]),(0,Hi.hZ)("fadeInFrom50",[(0,Hi.kY)(":enter",[(0,Hi.iF)({opacity:.5}),(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({opacity:1}))])]),(0,Hi.hZ)("slideIn",[(0,Hi.kY)(":enter",[(0,Hi.iF)({transform:`translateY(${z.cfR})`,opacity:0}),(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({transform:"translateY(0)",opacity:1}))])]),(0,Hi.hZ)("slideDownInUpOut",[(0,Hi.kY)("void => slide",[(0,Hi.iF)({transform:"translateY(-100%)",opacity:0}),(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({transform:"translateY(0)",opacity:1}))]),(0,Hi.kY)("slide => void",[(0,Hi.i0)(`${z.xtd}s ${z.WBN}`,(0,Hi.iF)({transform:"translateY(-100%)"}))])]),(0,Hi.hZ)("popInStaggered",[(0,Hi.kY)(":enter",[(0,Hi.P)(".shape > *",[(0,Hi.iF)({transform:`scale(${z.L4O})`,opacity:0}),(0,Hi.yc)(z.uD5,[(0,Hi.i0)(`${z.xtd}s ${z.T2U}`,(0,Hi.iF)({transform:"none",opacity:1}))])])])]),wt.extend(Du),C(65245),C(91986),C(14085),C(26006);var mk=C(24955),X_=C(96697),gk=C(39901),Pp=(C(23386),C(22816),C(72036)),Wo=C(37405),iw=C(89181),ow=C.n(iw),ky="undefined",rw="any",W_="*",Yh=(typeof process<"u"&&process,typeof document<"u");function xx(o,d){return d.charAt(0)[o]()+d.slice(1)}Yh&&window,typeof Deno<"u"&&Deno,"object"==typeof self&&self.constructor&&self,Yh&&"nodejs"===window.name||typeof navigator<"u"&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var kO=xx.bind(null,"toUpperCase"),Ek=xx.bind(null,"toLowerCase");function ev(o,d){void 0===d&&(d=!0);var i=function Mk(o){return tg(o)?kO("null"):"object"==typeof o?function zk(o){return vc(o.constructor)?o.constructor.name:null}(o):Object.prototype.toString.call(o).slice(8,-1)}(o);return d?Ek(i):i}function Q_(o,d){return typeof d===o}var vc=Q_.bind(null,"function"),qh=Q_.bind(null,"string"),eg=Q_.bind(null,"undefined"),Ix=Q_.bind(null,"boolean");function tg(o){return null===o}function Zc(o){if(!function aw(o){return o&&("object"==typeof o||null!==o)}(o))return!1;for(var d=o;null!==Object.getPrototypeOf(d);)d=Object.getPrototypeOf(d);return Object.getPrototypeOf(o)===d}function lw(o,d){if("object"!=typeof d||tg(d))return!1;if(d instanceof o)return!0;var i=ev(new o(""));if(function Ak(o){return o instanceof Error||qh(o.message)&&o.constructor&&function xk(o){return"number"===ev(o)&&!isNaN(o)}(o.constructor.stackTraceLimit)}(d))for(;d;){if(ev(d)===i)return!0;d=Object.getPrototypeOf(d)}return!1}function Dy(o,d){var i=o instanceof Element||o instanceof HTMLDocument;return i&&d?function Fx(o,d){return void 0===d&&(d=""),o&&o.nodeName===d.toUpperCase()}(o,d):i}function Z_(o){var d=[].slice.call(arguments,1);return function(){return o.apply(void 0,[].slice.call(arguments).concat(d))}}function cw(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function UO(o,d,i){for(var s=d.length-1,l=0;l<s;++l){var v=d[l];if("__proto__"===v||"constructor"===v)break;v in o||(o[v]={}),o=o[v]}o[d[s]]=i}function C8(){for(var o="",d=0,i=4294967295*Math.random()|0;d++<36;){var s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[d-1],l=15&i;o+="-"==s||"4"==s?s:("x"==s?l:3&l|8).toString(16),i=d%8==0?4294967295*Math.random()|0:i>>4}return o}Q_.bind(null,"symbol"),lw.bind(null,TypeError),lw.bind(null,SyntaxError),Z_(Dy,"form"),Z_(Dy,"button"),Z_(Dy,"input"),Z_(Dy,"select");var e5="global",iv="__global__",ov="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||void 0;function w8(o){return ov[iv][o]}function T8(o,d){return ov[iv][o]=d}function rv(o){delete ov[iv][o]}function S8(o,d,i){var s;try{if(uw(o)){var l=window[o];s=l[d].bind(l)}}catch{}return s||i}ov[iv]||(ov[iv]={});var Oy={};function uw(o){if(typeof Oy[o]!==ky)return Oy[o];try{var d=window[o];d.setItem(ky,ky),d.removeItem(ky)}catch{return Oy[o]=!1}return Oy[o]=!0}function kr(){return kr=Object.assign||function(o){for(var d=1;d<arguments.length;d++){var i=arguments[d];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(o[s]=i[s])}return o},kr.apply(this,arguments)}var $4="function",ng="undefined",Yx="@@redux/"+Math.random().toString(36),Lk=function(){return typeof Symbol===$4&&Symbol.observable||"@@observable"}(),zy=" != "+$4;function Vk(o,d,i){var s;if(typeof d===$4&&typeof i===ng&&(i=d,d=void 0),typeof i!==ng){if(typeof i!==$4)throw new Error("enhancer"+zy);return i(Vk)(o,d)}if(typeof o!==$4)throw new Error("reducer"+zy);var l=o,v=d,M=[],F=M,j=!1;function oe(){F===M&&(F=M.slice())}function Se(){return v}function $e(Lt){if(typeof Lt!==$4)throw new Error("Listener"+zy);var dn=!0;return oe(),F.push(Lt),function(){if(dn){dn=!1,oe();var Jn=F.indexOf(Lt);F.splice(Jn,1)}}}function bt(Lt){if(!Zc(Lt))throw new Error("Act != obj");if(typeof Lt.type===ng)throw new Error("ActType "+ng);if(j)throw new Error("Dispatch in reducer");try{j=!0,v=l(v,Lt)}finally{j=!1}for(var dn=M=F,Jn=0;Jn<dn.length;Jn++)(0,dn[Jn])();return Lt}return bt({type:"@@redux/INIT"}),(s={dispatch:bt,subscribe:$e,getState:Se,replaceReducer:function(Lt){if(typeof Lt!==$4)throw new Error("next reducer"+zy);l=Lt,bt({type:"@@redux/INIT"})}})[Lk]=function(){var Lt,dn=$e;return(Lt={subscribe:function(Jn){if("object"!=typeof Jn)throw new TypeError("Observer != obj");function jn(){Jn.next&&Jn.next(Se())}return jn(),{unsubscribe:dn(jn)}}})[Lk]=function(){return this},Lt},s}function qx(o,d){var i=d&&d.type;return"action "+(i&&i.toString()||"?")+"reducer "+o+" returns "+ng}function sv(){var o=[].slice.call(arguments);return 0===o.length?function(d){return d}:1===o.length?o[0]:o.reduce(function(d,i){return function(){return d(i.apply(void 0,[].slice.call(arguments)))}})}function Xx(){var o=arguments;return function(d){return function(i,s,l){var v,M=d(i,s,l),F=M.dispatch,j={getState:M.getState,dispatch:function(oe){return F(oe)}};return v=[].slice.call(o).map(function(oe){return oe(j)}),kr({},M,{dispatch:F=sv.apply(void 0,v)(M.dispatch)})}}}var ig="__anon_id",og="__user_id",rg="__user_traits",U4="userId",k8="anonymousId",Ny=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Ay=["name","EVENTS","config","loaded"],Mr=Ny.reduce(function(o,d){return o[d]=d,o},{registerPluginType:function(o){return"registerPlugin:"+o},pluginReadyType:function(o){return"ready:"+o}}),Bk=/^utm_/,hw=/^an_prop_/,pw=/^an_trait_/;function Wx(o){var d=o.storage.setItem;return function(i){return function(s){return function(l){if(l.type===Mr.bootstrap){var v=l.params,M=l.user,F=l.persistedUser,j=l.initialUser,oe=F.userId===M.userId;F.anonymousId!==M.anonymousId&&d(ig,M.anonymousId),oe||d(og,M.userId),j.traits&&d(rg,kr({},oe&&F.traits?F.traits:{},j.traits));var Se=Object.keys(l.params);if(Se.length){var $e=v.an_uid,bt=v.an_event,Lt=Se.reduce(function(dn,Jn){if(Jn.match(Bk)||Jn.match(/^(d|g)clid/)){var jn=Jn.replace(Bk,"");dn.campaign["campaign"===jn?"name":jn]=v[Jn]}return Jn.match(hw)&&(dn.props[Jn.replace(hw,"")]=v[Jn]),Jn.match(pw)&&(dn.traits[Jn.replace(pw,"")]=v[Jn]),dn},{campaign:{},props:{},traits:{}});i.dispatch(kr({type:Mr.params,raw:v},Lt,$e?{userId:$e}:{})),$e&&setTimeout(function(){return o.identify($e,Lt.traits)},0),bt&&setTimeout(function(){return o.track(bt,Lt.props)},0),Object.keys(Lt.campaign).length&&i.dispatch({type:Mr.campaign,campaign:Lt.campaign})}}return s(l)}}}}function $k(o){return function(d,i){if(void 0===d&&(d={}),void 0===i&&(i={}),i.type===Mr.setItemEnd){if(i.key===ig)return kr({},d,{anonymousId:i.value});if(i.key===og)return kr({},d,{userId:i.value})}switch(i.type){case Mr.identify:return Object.assign({},d,{userId:i.userId,traits:kr({},d.traits,i.traits)});case Mr.reset:return[og,ig,rg].forEach(function(s){o.removeItem(s)}),Object.assign({},d,{userId:null,anonymousId:null,traits:{}});default:return d}}}function Uk(o){return{userId:o.getItem(og),anonymousId:o.getItem(ig),traits:o.getItem(rg)}}var t5=function(o){return"__TEMP__"+o};function fw(o){var d=o.storage,i=d.setItem,s=d.removeItem,l=d.getItem;return function(v){return function(M){return function(F){var j=F.userId,oe=F.traits,Se=F.options;if(F.type===Mr.reset&&([og,rg,ig].forEach(function(Lt){s(Lt)}),[U4,k8,"traits"].forEach(function(Lt){rv(t5(Lt))})),F.type===Mr.identify){l(ig)||i(ig,C8());var $e=l(og),bt=l(rg)||{};$e&&$e!==j&&v.dispatch({type:Mr.userIdChanged,old:{userId:$e,traits:bt},new:{userId:j,traits:oe},options:Se}),j&&i(og,j),oe&&i(rg,kr({},bt,oe))}return M(F)}}}}var av={};function mw(o,d){av[o]&&vc(av[o])&&(av[o](d),delete av[o])}function gw(o,d,i){return new Promise(function(s,l){return d()?s(o):i<1?l(kr({},o,{queue:!0})):new Promise(function(v){return setTimeout(v,10)}).then(function(v){return gw(o,d,i-10).then(s,l)})})}function Ry(o){return{abort:o}}function Kx(o,d,i){var s={},l=d(),v=o.getState(),M=v.plugins,F=v.queue,j=v.user;if(!v.context.offline&&F&&F.actions&&F.actions.length){var oe=F.actions.reduce(function($e,bt,Lt){return M[bt.plugin].loaded?($e.process.push(bt),$e.processIndex.push(Lt)):($e.requeue.push(bt),$e.requeueIndex.push(Lt)),$e},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(oe.processIndex&&oe.processIndex.length){oe.processIndex.forEach(function($e){var bi,Gi,bt=F.actions[$e],Lt=bt.plugin,dn=bt.payload.type,Jn=l[Lt][dn];if(Jn&&vc(Jn)){var jn,zi=(void 0===(bi=bt.payload)&&(bi={}),void 0===(Gi=j)&&(Gi={}),[U4,k8].reduce(function($s,Ps){return bi.hasOwnProperty(Ps)&&Gi[Ps]&&Gi[Ps]!==bi[Ps]&&($s[Ps]=Gi[Ps]),$s},bi)),Si=s[zi.meta.rid];if(!Si&&(jn=Jn({payload:zi,config:M[Lt].config,instance:i,abort:Ry}))&&Zc(jn)&&jn.abort)return void(s[zi.meta.rid]=!0);if(!Si){var ki=dn+":"+Lt;o.dispatch(kr({},zi,{type:ki,_:{called:ki,from:"queueDrain"}}))}}});var Se=F.actions.filter(function($e,bt){return!~oe.processIndex.indexOf(bt)});F.actions=Se}}}var Py=function(o){var d=o.data,i=o.action,s=o.instance,l=o.state,v=o.allPlugins,M=o.allMatches,F=o.store,j=o.EVENTS;try{var oe=l.plugins,Se=l.context,$e=i.type,bt=$e.match(lv),Lt=d.exact.map(function(jn){return jn.pluginName});bt&&(Lt=M.during.map(function(jn){return jn.pluginName}));var dn=function(jn,zi){return function(Si,ki,bi){var Gi=ki.config,$s=ki.name,Ps=$s+"."+Si.type;bi&&(Ps=bi.event);var Hr=Si.type.match(lv)?function(yc,Nc,Q0,$d,J0){return function(Gu,ns){var $1=$d?$d.name:yc,Vp=ns&&i5(ns)?ns:Q0;if($d&&(!(Vp=ns&&i5(ns)?ns:[yc]).includes(yc)||1!==Vp.length))throw new Error("Method "+Nc+" can only abort "+yc+" plugin. "+JSON.stringify(Vp)+" input valid");return kr({},J0,{abort:{reason:Gu,plugins:Vp,caller:Nc,_:$1}})}}($s,Ps,zi,bi,Si):function(yc,Nc){return function(){throw new Error(yc.type+" action not cancellable. Remove abort in "+Nc)}}(Si,Ps);return{payload:Jx(Si),instance:jn,config:Gi||{},abort:Hr}}}(s,Lt),Jn=d.exact.reduce(function(jn,zi){var Si=zi.pluginName,ki=zi.methodName,bi=!1;return ki.match(/^initialize/)||ki.match(/^reset/)||(bi=!oe[Si].loaded),Se.offline&&ki.match(/^(page|track|identify)/)&&(bi=!0),jn[""+Si]=bi,jn},{});return Promise.resolve(d.exact.reduce(function(jn,zi,Si){try{var ki=zi.pluginName;return Promise.resolve(jn).then(function(bi){function Gi(){return Promise.resolve(bi)}var $s=function(){if(d.namespaced&&d.namespaced[ki])return Promise.resolve(d.namespaced[ki].reduce(function(Ps,Hr,yc){try{return Promise.resolve(Ps).then(function(Nc){return Hr.method&&vc(Hr.method)?(function(Gu,ns){var $1=Hk(Gu);if($1&&$1.name===ns){var Vp=Hk($1.method);throw new Error([ns+" plugin is calling method "+Gu,"Plugins cant call self","Use "+$1.method+" "+(Vp?"or "+Vp.method:"")+" in "+ns+" plugin insteadof "+Gu].join("\n"))}}(Hr.methodName,Hr.pluginName),Promise.resolve(Hr.method({payload:Nc,instance:s,abort:(Q0=Nc,$d=ki,J0=Hr.pluginName,function(Gu,ns){return kr({},Q0,{abort:{reason:Gu,plugins:ns||[$d],caller:$e,from:J0||$d}})}),config:_w(Hr.pluginName,oe,v),plugins:oe})).then(function(Gu){var ns=Zc(Gu)?Gu:{};return Promise.resolve(kr({},Nc,ns))})):Nc;var Q0,$d,J0})}catch(Nc){return Promise.reject(Nc)}},Promise.resolve(i))).then(function(Ps){bi[ki]=Ps});bi[ki]=i}();return $s&&$s.then?$s.then(Gi):Gi()})}catch(bi){return Promise.reject(bi)}},Promise.resolve({}))).then(function(jn){return Promise.resolve(d.exact.reduce(function(zi,Si,ki){try{var bi=d.exact.length===ki+1,Gi=Si.pluginName,$s=v[Gi];return Promise.resolve(zi).then(function(Ps){var Hr=jn[Gi]?jn[Gi]:{};if(bt&&(Hr=Ps),cv(Hr,Gi))return vw({data:Hr,method:$e,instance:s,pluginName:Gi,store:F}),Promise.resolve(Ps);if(cv(Ps,Gi))return bi&&vw({data:Ps,method:$e,instance:s,store:F}),Promise.resolve(Ps);if(Jn.hasOwnProperty(Gi)&&!0===Jn[Gi])return F.dispatch({type:"queue",plugin:Gi,payload:Hr,_:{called:"queue",from:"queueMechanism"}}),Promise.resolve(Ps);var yc=dn(jn[Gi],v[Gi]);return Promise.resolve($s[$e]({abort:yc.abort,payload:Hr,instance:s,config:_w(Gi,oe,v),plugins:oe})).then(function(Nc){var Q0=Zc(Nc)?Nc:{},$d=kr({},Ps,Q0),J0=jn[Gi];if(cv(J0,Gi))vw({data:J0,method:$e,instance:s,pluginName:Gi,store:F});else{var Gu=$e+":"+Gi;(Gu.match(/:/g)||[]).length<2&&!$e.match(Qx)&&!$e.match(Gk)&&s.dispatch(kr({},bt?$d:Hr,{type:Gu,_:{called:Gu,from:"submethod"}}))}return Promise.resolve($d)})})}catch(Ps){return Promise.reject(Ps)}},Promise.resolve(i))).then(function(zi){if(!($e.match(lv)||$e.match(/^registerPlugin/)||$e.match(Gk)||$e.match(Qx)||$e.match(/^params/)||$e.match(/^userIdChanged/))){if(j.plugins.includes($e),zi._&&zi._.originalAction===$e)return zi;var Si=kr({},zi,{_:{originalAction:zi.type,called:zi.type,from:"engineEnd"}});yw(zi,d.exact.length)&&!$e.match(/End$/)&&(Si=kr({},Si,{type:zi.type+"Aborted"})),F.dispatch(Si)}return zi})})}catch(jn){return Promise.reject(jn)}},lv=/Start$/,Qx=/^bootstrap/,Gk=/^ready/;function vw(o){var d=o.pluginName,i=o.method+"Aborted"+(d?":"+d:"");o.store.dispatch(kr({},o.data,{type:i,_:{called:i,from:"abort"}}))}function _w(o,d,i){var s=d[o]||i[o];return s&&s.config?s.config:{}}function H0(o,d){return d.reduce(function(i,s){return s[o]?i.concat({methodName:o,pluginName:s.name,method:s[o]}):i},[])}function n5(o,d){var i=o.replace(lv,""),s=d?":"+d:"";return[""+o+s,""+i+s,i+"End"+s]}function cv(o,d){var i=o.abort;return!!i&&(!0===i||jk(i,d)||i&&jk(i.plugins,d))}function yw(o,d){var i=o.abort;if(!i)return!1;if(!0===i||qh(i))return!0;var s=i.plugins;return i5(i)&&i.length===d||i5(s)&&s.length===d}function i5(o){return Array.isArray(o)}function jk(o,d){return!(!o||!i5(o))&&o.includes(d)}function Hk(o){var d=o.match(/(.*):(.*)/);return!!d&&{method:d[1],name:d[2]}}function Jx(o){return Object.keys(o).reduce(function(d,i){return"type"===i||(d[i]=Zc(o[i])?Object.assign({},o[i]):o[i]),d},{})}function HO(o,d,i){var s={};return function(l){return function(v){return function(M){try{var F,j=function(bi){return F?bi:v($e)},oe=M.type,Se=M.plugins,$e=M;if(M.abort)return Promise.resolve(v(M));if(oe===Mr.enablePlugin&&l.dispatch({type:Mr.initializeStart,plugins:Se,disabled:[],fromEnable:!0,meta:M.meta}),oe===Mr.disablePlugin&&setTimeout(function(){return mw(M.meta.rid,{payload:M})},0),oe===Mr.initializeEnd){var bt=d(),Lt=Object.keys(bt),dn=Lt.filter(function(bi){return Se.includes(bi)}).map(function(bi){return bt[bi]}),Jn=[],jn=[],zi=M.disabled,Si=dn.map(function(bi){var Gi=bi.loaded,$s=bi.name,Ps=bi.config;return gw(bi,function(){return Gi({config:Ps})},1e4).then(function(Hr){return s[$s]||(l.dispatch({type:Mr.pluginReadyType($s),name:$s,events:Object.keys(bi).filter(function(yc){return!Ay.includes(yc)})}),s[$s]=!0),Jn=Jn.concat($s),bi}).catch(function(Hr){if(Hr instanceof Error)throw new Error(Hr);return jn=jn.concat(Hr.name),Hr})});Promise.all(Si).then(function(bi){var Gi={plugins:Jn,failed:jn,disabled:zi};setTimeout(function(){Lt.length===Si.length+zi.length&&l.dispatch(kr({},{type:Mr.ready},Gi))},0)})}var ki=function(){if(oe!==Mr.bootstrap)return/^ready:([^:]*)$/.test(oe)&&setTimeout(function(){return Kx(l,d,o)},0),Promise.resolve(function(bi,Gi,$s,Ps,Hr){try{var yc=vc(Gi)?Gi():Gi,Nc=bi.type,Q0=Nc.replace(lv,"");if(bi._&&bi._.called)return Promise.resolve(bi);var $d=$s.getState(),J0=($1=yc,void 0===(Vp=$d.plugins)&&(Vp={}),void 0===(hT=bi.options)&&(hT={}),Object.keys($1).filter(function(Zn){var yi=hT.plugins||{};return Ix(yi[Zn])?yi[Zn]:!1!==yi.all&&(!Vp[Zn]||!1!==Vp[Zn].enabled)}).map(function(Zn){return $1[Zn]}));Nc===Mr.initializeStart&&bi.fromEnable&&(J0=Object.keys($d.plugins).filter(function(Zn){var yi=$d.plugins[Zn];return bi.plugins.includes(Zn)&&!yi.initialized}).map(function(Zn){return yc[Zn]}));var Gu=J0.map(function(Zn){return Zn.name}),ns=(yi=J0,Fs=n5(Zn=Nc).map(function(Us){return H0(Us,yi)}),yi.reduce(function(Us,La){var oh=La.name,tl=n5(Zn,oh).map(function(pT){return H0(pT,yi)}),uu=tl[0],Xa=tl[1],W4=tl[2];return uu.length&&(Us.beforeNS[oh]=uu),Xa.length&&(Us.duringNS[oh]=Xa),W4.length&&(Us.afterNS[oh]=W4),Us},{before:Fs[0],beforeNS:{},during:Fs[1],duringNS:{},after:Fs[2],afterNS:{}}));return Promise.resolve(Py({action:bi,data:{exact:ns.before,namespaced:ns.beforeNS},state:$d,allPlugins:yc,allMatches:ns,instance:$s,store:Ps,EVENTS:Hr})).then(function(Zn){function yi(){var Us=function(){if(Nc.match(lv))return Promise.resolve(Py({action:kr({},tr,{type:Q0+"End"}),data:{exact:ns.after,namespaced:ns.afterNS},state:$d,allPlugins:yc,allMatches:ns,instance:$s,store:Ps,EVENTS:Hr})).then(function(La){La.meta&&La.meta.hasCallback&&mw(La.meta.rid,{payload:La})})}();return Us&&Us.then?Us.then(function(){return Zn}):Zn}if(yw(Zn,Gu.length))return Zn;var tr,Fs=function(){if(Nc!==Q0)return Promise.resolve(Py({action:kr({},Zn,{type:Q0}),data:{exact:ns.during,namespaced:ns.duringNS},state:$d,allPlugins:yc,allMatches:ns,instance:$s,store:Ps,EVENTS:Hr})).then(function(Us){tr=Us});tr=Zn}();return Fs&&Fs.then?Fs.then(yi):yi()})}catch(Zn){return Promise.reject(Zn)}var Zn,yi,Fs,$1,Vp,hT}(M,d,o,l,i)).then(function(bi){return F=1,v(bi)})}();return Promise.resolve(ki&&ki.then?ki.then(j):j(ki))}catch(bi){return Promise.reject(bi)}}}}}function Zx(o){return function(d){return function(i){return function(s){var l=s.type,v=s.key,M=s.value,F=s.options;if(l===Mr.setItem||l===Mr.removeItem){if(s.abort)return i(s);l===Mr.setItem?o.setItem(v,M,F):o.removeItem(v,F)}return i(s)}}}}var Yk=function(){var o=this;this.before=[],this.after=[],this.addMiddleware=function(d,i){o[i]=o[i].concat(d)},this.removeMiddleware=function(d,i){var s=o[i].findIndex(function(l){return l===d});-1!==s&&(o[i]=[].concat(o[i].slice(0,s),o[i].slice(s+1)))},this.dynamicMiddlewares=function(d){return function(i){return function(s){return function(l){var v={getState:i.getState,dispatch:function(F){return i.dispatch(F)}},M=o[d].map(function(F){return F(v)});return sv.apply(void 0,M)(s)(l)}}}}};function eI(o){return function(d,i){void 0===d&&(d={});var s={};if("initialize:aborted"===i.type)return d;if(/^registerPlugin:([^:]*)$/.test(i.type)){var l=qk(i.type,"registerPlugin"),v=o()[l];if(!v||!l)return d;var M=i.enabled,F=v.config;return s[l]={enabled:M,initialized:!!M&&!v.initialize,loaded:!!M&&!!v.loaded({config:F}),config:F},kr({},d,s)}if(/^initialize:([^:]*)$/.test(i.type)){var j=qk(i.type,Mr.initialize),oe=o()[j];return oe&&j?(s[j]=kr({},d[j],{initialized:!0,loaded:!!oe.loaded({config:oe.config})}),kr({},d,s)):d}if(/^ready:([^:]*)$/.test(i.type))return s[i.name]=kr({},d[i.name],{loaded:!0}),kr({},d,s);switch(i.type){case Mr.disablePlugin:return kr({},d,Fy(i.plugins,!1,d));case Mr.enablePlugin:return kr({},d,Fy(i.plugins,!0,d));default:return d}}}function qk(o,d){return o.substring(d.length+1,o.length)}function Fy(o,d,i){return o.reduce(function(s,l){return s[l]=kr({},i[l],{enabled:d}),s},i)}function tI(o){try{return JSON.parse(JSON.stringify(o))}catch{}return o}var bw={last:{},history:[]};function nI(o,d){void 0===o&&(o=bw);var i=d.options,s=d.meta;if(d.type===Mr.track){var l=tI(kr({event:d.event,properties:d.properties},Object.keys(i).length&&{options:i},{meta:s}));return kr({},o,{last:l,history:o.history.concat(l)})}return o}var Xk={actions:[]};function Cw(o,d){void 0===o&&(o=Xk);var i=d.payload;switch(d.type){case"queue":var s;return s=i&&i.type&&i.type===Mr.identify?[d].concat(o.actions):o.actions.concat(d),kr({},o,{actions:s});case"dequeue":return[];default:return o}}var ww=/#.*$/;function YO(o){var d=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(o);return"/"+(d&&d[3]?d[3].split("?")[0].replace(ww,""):"")}var dv,iI,Wk,Ly,oI=function(o){if(void 0===o&&(o={}),!Yh)return o;var bt,Lt,d=document,i=d.title,s=d.referrer,l=window,v=l.location,M=l.innerWidth,F=l.innerHeight,j=v.hash,oe=v.search,Se=(bt=oe,(Lt=function(){if(Yh)for(var dn,Jn=document.getElementsByTagName("link"),jn=0;dn=Jn[jn];jn++)if("canonical"===dn.getAttribute("rel"))return dn.getAttribute("href")}())?Lt.match(/\?/)?Lt:Lt+bt:window.location.href.replace(ww,"")),$e={title:i,url:Se,path:YO(Se),hash:j,search:oe,width:M,height:F};return s&&""!==s&&($e.referrer=s),kr({},$e,o)},qO={last:{},history:[]};function XO(o,d){void 0===o&&(o=qO);var i=d.options;if(d.type===Mr.page){var s=tI(kr({properties:d.properties,meta:d.meta},Object.keys(i).length&&{options:i}));return kr({},o,{last:s,history:o.history.concat(s)})}return o}dv=function(){if(!Yh)return!1;var o=navigator.appVersion;return~o.indexOf("Win")?"Windows":~o.indexOf("Mac")?"MacOS":~o.indexOf("X11")?"UNIX":~o.indexOf("Linux")?"Linux":"Unknown OS"}(),iI=Yh?document.referrer:null,Wk=function BO(){if(Yh){var o=navigator,d=o.languages;return o.userLanguage||(d&&d.length?d[0]:o.language)}}(),Ly=function Pk(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}();var Kk={initialized:!1,sessionId:C8(),app:null,version:null,debug:!1,offline:!!Yh&&!navigator.onLine,os:{name:dv},userAgent:Yh?navigator.userAgent:"node",library:{name:"analytics",version:"0.12.14"},timezone:Ly,locale:Wk,campaign:{},referrer:iI};function rI(o,d){void 0===o&&(o=Kk);var i=o.initialized,s=d.campaign;switch(d.type){case Mr.campaign:return kr({},o,{campaign:s});case Mr.offline:return kr({},o,{offline:!0});case Mr.online:return kr({},o,{offline:!1});default:return i?o:kr({},Kk,o,{initialized:!0})}}var Qk=["plugins","reducers","storage"];function WO(o,d,i){if(Yh){var s=window[(i?"add":"remove")+"EventListener"];o.split(" ").forEach(function(l){s(l,d)})}}function sI(o){var d=WO.bind(null,"online offline",function(i){return Promise.resolve(!navigator.onLine).then(o)});return d(!0),function(i){return d(!1)}}function Jk(){return T8("analytics",[]),function(o){return function(d,i,s){var l=o(d,i,s),v=l.dispatch;return Object.assign(l,{dispatch:function(M){return ov[iv].analytics.push(M.action||M),v(M)}})}}}function Vy(o){return function(){return sv(sv.apply(null,arguments),Jk())}}function uv(o){return o?function Ik(o){return"array"===ev(o)}(o)?o:[o]:[]}function Tw(o,d,i){void 0===o&&(o={});var s,l,v=C8();return d&&(av[v]=(s=d,l=function(M){for(var F,j=M||Array.prototype.slice.call(arguments),oe=0;oe<j.length;oe++)if(vc(j[oe])){F=j[oe];break}return F}(i),function(M){l&&l(M),s(M)})),kr({},o,{rid:v,ts:(new Date).getTime()},d?{hasCallback:!0}:{})}function aI(o){void 0===o&&(o={});var d=o.reducers||{},i=o.initialUser||{},s=(o.plugins||[]).reduce(function(Zn,yi){if(vc(yi))return Zn.middlewares=Zn.middlewares.concat(yi),Zn;if(yi.NAMESPACE&&(yi.name=yi.NAMESPACE),!yi.name)throw new Error("https://lytics.dev/errors/1");yi.config||(yi.config={});var tr=yi.EVENTS?Object.keys(yi.EVENTS).map(function(La){return yi.EVENTS[La]}):[];Zn.pluginEnabled[yi.name]=!(!1===yi.enabled||!1===yi.config.enabled),delete yi.enabled,yi.methods&&(Zn.methods[yi.name]=Object.keys(yi.methods).reduce(function(La,oh){var tl;return La[oh]=(tl=yi.methods[oh],function(){for(var uu=Array.prototype.slice.call(arguments),Xa=new Array(tl.length),W4=0;W4<uu.length;W4++)Xa[W4]=uu[W4];return Xa[Xa.length]=Gi,tl.apply({instance:Gi},Xa)}),La},{}),delete yi.methods);var Fs=Object.keys(yi).concat(tr),Us=new Set(Zn.events.concat(Fs));if(Zn.events=Array.from(Us),Zn.pluginsArray=Zn.pluginsArray.concat(yi),Zn.plugins[yi.name])throw new Error(yi.name+"AlreadyLoaded");return Zn.plugins[yi.name]=yi,Zn.plugins[yi.name].loaded||(Zn.plugins[yi.name].loaded=function(){return!0}),Zn},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),l=o.storage?o.storage:{getItem:w8,setItem:T8,removeItem:rv},v=function(Zn){return function(yi,tr,Fs){return tr.getState("user")[yi]||(Fs&&Zc(Fs)&&Fs[yi]?Fs[yi]:Uk(Zn)[yi]||w8(t5(yi))||null)}}(l),M=s.plugins,F=s.events.filter(function(Zn){return!Ay.includes(Zn)}).sort(),j=new Set(F.concat(Ny).filter(function(Zn){return!Ay.includes(Zn)})),oe=Array.from(j).sort(),Se=function(){return M},$e=new Yk,bt=$e.addMiddleware,Lt=$e.removeMiddleware,dn=$e.dynamicMiddlewares,Jn=function(){throw new Error("Abort disabled inListener")},jn=function Gx(o){return function(d){for(var i,s=Object.create(null),l=/([^&=]+)=?([^&]*)/g;i=l.exec(d);){var v=cw(i[1]),M=cw(i[2]);"[]"===v.substring(v.length-2)?(s[v=v.substring(0,v.length-2)]||(s[v]=[])).push(M):s[v]=""===M||M}for(var F in s){var j=F.split("[");j.length>1&&(UO(s,j.map(function(oe){return oe.replace(/[?[\]\\ ]/g,"")}),s[F]),delete s[F])}return s}(function(d){if(d){var i=d.match(/\?(.*)/);return i&&i[1]?i[1].split("#")[0]:""}return Yh&&window.location.search.substring(1)}(o))}(),zi=Uk(l),Si=kr({},zi,i,jn.an_uid?{userId:jn.an_uid}:{},jn.an_aid?{anonymousId:jn.an_aid}:{});Si.anonymousId||(Si.anonymousId=C8());var ki=kr({enable:function(Zn,yi){return new Promise(function(tr){ns.dispatch({type:Mr.enablePlugin,plugins:uv(Zn),_:{originalAction:Mr.enablePlugin}},tr,[yi])})},disable:function(Zn,yi){return new Promise(function(tr){ns.dispatch({type:Mr.disablePlugin,plugins:uv(Zn),_:{originalAction:Mr.disablePlugin}},tr,[yi])})}},s.methods),bi=!1,Gi={identify:function(Zn,yi,tr,Fs){try{var Us=qh(Zn)?Zn:null,La=Zc(Zn)?Zn:yi,oh=tr||{},tl=Gi.user();T8(t5(U4),Us);var uu=Us||La.userId||v(U4,Gi,La);return Promise.resolve(new Promise(function(Xa){ns.dispatch(kr({type:Mr.identifyStart,userId:uu,traits:La||{},options:oh,anonymousId:tl.anonymousId},tl.id&&tl.id!==Us&&{previousId:tl.id}),Xa,[yi,tr,Fs])}))}catch(Xa){return Promise.reject(Xa)}},track:function(Zn,yi,tr,Fs){try{var Us=Zc(Zn)?Zn.event:Zn;if(!Us||!qh(Us))throw new Error("EventMissing");var La=Zc(Zn)?Zn:yi||{},oh=Zc(tr)?tr:{};return Promise.resolve(new Promise(function(tl){ns.dispatch({type:Mr.trackStart,event:Us,properties:La,options:oh,userId:v(U4,Gi,yi),anonymousId:v(k8,Gi,yi)},tl,[yi,tr,Fs])}))}catch(tl){return Promise.reject(tl)}},page:function(Zn,yi,tr){try{var Fs=Zc(Zn)?Zn:{},Us=Zc(yi)?yi:{};return Promise.resolve(new Promise(function(La){ns.dispatch({type:Mr.pageStart,properties:oI(Fs),options:Us,userId:v(U4,Gi,Fs),anonymousId:v(k8,Gi,Fs)},La,[Zn,yi,tr])}))}catch(La){return Promise.reject(La)}},user:function(Zn){if(Zn===U4||"id"===Zn)return v(U4,Gi);if(Zn===k8||"anonId"===Zn)return v(k8,Gi);var yi=Gi.getState("user");return Zn?ow()(yi,Zn):yi},reset:function(Zn){return new Promise(function(yi){ns.dispatch({type:Mr.resetStart},yi,Zn)})},ready:function(Zn){return bi&&Zn({plugins:ki,instance:Gi}),Gi.on(Mr.ready,function(yi){Zn(yi),bi=!0})},on:function(Zn,yi){if(!Zn||!vc(yi))return!1;if(Zn===Mr.bootstrap)throw new Error(".on disabled for "+Zn);var tr=/Start$|Start:/;if("*"===Zn){var Fs=function(tl){return function(uu){return function(Xa){return Xa.type.match(tr)&&yi({payload:Xa,instance:Gi,plugins:M}),uu(Xa)}}},Us=function(tl){return function(uu){return function(Xa){return Xa.type.match(tr)||yi({payload:Xa,instance:Gi,plugins:M}),uu(Xa)}}};return bt(Fs,o5),bt(Us,Y0),function(){Lt(Fs,o5),Lt(Us,Y0)}}var La=Zn.match(tr)?o5:Y0,oh=function(tl){return function(uu){return function(Xa){return Xa.type===Zn&&yi({payload:Xa,instance:Gi,plugins:M,abort:Jn}),uu(Xa)}}};return bt(oh,La),function(){return Lt(oh,La)}},once:function(Zn,yi){if(!Zn||!vc(yi))return!1;if(Zn===Mr.bootstrap)throw new Error(".once disabled for "+Zn);var tr=Gi.on(Zn,function(Fs){yi({payload:Fs.payload,instance:Gi,plugins:M,abort:Jn}),tr()});return tr},getState:function(Zn){var yi=ns.getState();return Zn?ow()(yi,Zn):Object.assign({},yi)},dispatch:function(Zn){var yi=qh(Zn)?{type:Zn}:Zn;if(Ny.includes(yi.type))throw new Error("reserved action "+yi.type);var tr=kr({},yi,{_:kr({originalAction:yi.type},Zn._||{})});ns.dispatch(tr)},enablePlugin:ki.enable,disablePlugin:ki.disable,plugins:ki,storage:{getItem:l.getItem,setItem:function(Zn,yi,tr){ns.dispatch({type:Mr.setItemStart,key:Zn,value:yi,options:tr})},removeItem:function(Zn,yi){ns.dispatch({type:Mr.removeItemStart,key:Zn,options:yi})}},setAnonymousId:function(Zn,yi){Gi.storage.setItem(ig,Zn,yi)},events:{core:Ny,plugins:F}},$s=s.middlewares.concat([function(Zn){return function(yi){return function(tr){return tr.meta||(tr.meta=Tw()),yi(tr)}}},dn(o5),HO(Gi,Se,{all:oe,plugins:F}),Zx(l),Wx(Gi),fw(Gi),dn(Y0)]),Ps={context:rI,user:$k(l),page:XO,track:nI,plugins:eI(Se),queue:Cw},Hr=sv,yc=sv;if(Yh&&o.debug){var Nc=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;Nc&&(Hr=Nc({trace:!0,traceLimit:25})),yc=function(){return 0===arguments.length?Jk():Zc(typeof arguments[0])?Vy():Vy().apply(null,arguments)}}var Q0,Zn,$d=(Zn=o,Object.keys(Zn).reduce(function(yi,tr){return Qk.includes(tr)||(yi[tr]=Zn[tr]),yi},{})),J0=s.pluginsArray.reduce(function(Zn,yi){var tr=yi.name,Fs=yi.config,La=s.pluginEnabled[tr];return Zn[tr]={enabled:La,initialized:!!La&&!yi.initialize,loaded:!!(0,yi.loaded)({config:Fs}),config:Fs},Zn},{}),Gu={context:$d,user:Si,plugins:J0},ns=Vk(function(Zn){for(var yi=Object.keys(Zn),tr={},Fs=0;Fs<yi.length;Fs++){var Us=yi[Fs];typeof Zn[Us]===$4&&(tr[Us]=Zn[Us])}var La,tl,oh=Object.keys(tr);try{tl=tr,Object.keys(tl).forEach(function(uu){var Xa=tl[uu];if(typeof Xa(void 0,{type:"@@redux/INIT"})===ng||typeof Xa(void 0,{type:Yx})===ng)throw new Error("reducer "+uu+" "+ng)})}catch(tl){La=tl}return function(tl,uu){if(void 0===tl&&(tl={}),La)throw La;for(var Xa=!1,W4={},pT=0;pT<oh.length;pT++){var uM=oh[pT],HA=tl[uM],oO=(0,tr[uM])(HA,uu);if(typeof oO===ng){var eq=qx(uM,uu);throw new Error(eq)}W4[uM]=oO,Xa=Xa||oO!==HA}return Xa?W4:tl}}(kr({},Ps,d)),Gu,yc(Hr(Xx.apply(void 0,$s))));ns.dispatch=(Q0=ns.dispatch,function(Zn,yi,tr){var Fs=kr({},Zn,{meta:Tw(Zn.meta,yi,uv(tr))});return Q0.apply(null,[Fs])});var $1=Object.keys(M);ns.dispatch({type:Mr.bootstrap,plugins:$1,config:$d,params:jn,user:Si,initialUser:i,persistedUser:zi});var Vp=$1.filter(function(Zn){return s.pluginEnabled[Zn]}),hT=$1.filter(function(Zn){return!s.pluginEnabled[Zn]});return ns.dispatch({type:Mr.registerPlugins,plugins:$1,enabled:s.pluginEnabled}),s.pluginsArray.map(function(Zn,yi){var tr=Zn.bootstrap,Fs=Zn.config,Us=Zn.name;tr&&vc(tr)&&tr({instance:Gi,config:Fs,payload:Zn}),ns.dispatch({type:Mr.registerPluginType(Us),name:Us,enabled:s.pluginEnabled[Us],plugin:Zn}),s.pluginsArray.length===yi+1&&ns.dispatch({type:Mr.initializeStart,plugins:Vp,disabled:hT})}),sI(function(Zn){ns.dispatch({type:Zn?Mr.offline:Mr.online})}),function(Zn,yi,tr){setInterval(function(){return Kx(Zn,yi,tr)},3e3)}(ns,Se,Gi),Gi}var o5="before",Y0="after",hv="cookie",E8=By(),Sw=kw,Zk=kw;function eE(o){return E8?kw(o,"",-1):rv(o)}function By(){if(void 0!==E8)return E8;var o="cookiecookie";try{kw(o,o),E8=-1!==document.cookie.indexOf(o),eE(o)}catch{E8=!1}return E8}function kw(o,d,i,s,l,v){if(typeof window<"u"){var M=arguments.length>1;return!1===E8&&(M?T8(o,d):w8(o)),M?document.cookie=o+"="+encodeURIComponent(d)+(i?"; expires="+new Date(+new Date+1e3*i).toUTCString()+(s?"; path="+s:"")+(l?"; domain="+l:"")+(v?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+o+"=")[1]||"").split(";")[0])}}var r5="localStorage",tE=uw.bind(null,"localStorage"),s5=(S8("localStorage","getItem",w8),S8("localStorage","setItem",T8),S8("localStorage","removeItem",rv),"sessionStorage"),lI=uw.bind(null,"sessionStorage");function M8(o){var d=o;try{if("true"===(d=JSON.parse(o)))return!0;if("false"===d)return!1;if(Zc(d))return d;parseFloat(d)===d&&(d=parseFloat(d))}catch{}if(null!==d&&""!==d)return d}S8("sessionStorage","getItem",w8),S8("sessionStorage","setItem",T8),S8("sessionStorage","removeItem",rv);var dI=tE(),uI=lI(),KO=By();function hI(o,d){if(o){var i=nE(d),s=!Mw(i),l=$y(i)?M8(localStorage.getItem(o)):void 0;if(s&&!eg(l))return l;var v=pv(i)?M8(Sw(o)):void 0;if(s&&v)return v;var M=Ew(i)?M8(sessionStorage.getItem(o)):void 0;if(s&&M)return M;var F=w8(o);return s?F:{localStorage:l,sessionStorage:M,cookie:v,global:F}}}function nE(o){return o?qh(o)?o:o.storage:rw}function $y(o){return dI&&a5(o,r5)}function pv(o){return KO&&a5(o,hv)}function Ew(o){return uI&&a5(o,s5)}function Mw(o){return o===W_||"all"===o}function a5(o,d){return o===rw||o===d||Mw(o)}function bf(o,d,i){return{location:o,current:d,previous:i}}var iE={setItem:function QO(o,d,i){if(o&&!eg(d)){var s={},l=nE(i),v=JSON.stringify(d),M=!Mw(l);return $y(l)&&(s[r5]=bf(r5,d,M8(localStorage.getItem(o))),localStorage.setItem(o,v),M)?s[r5]:pv(l)&&(s[hv]=bf(hv,d,M8(Sw(o))),Zk(o,v),M)?s[hv]:Ew(l)&&(s[s5]=bf(s5,d,M8(sessionStorage.getItem(o))),sessionStorage.setItem(o,v),M)?s[s5]:(s[e5]=bf(e5,d,w8(o)),T8(o,d),M?s[e5]:s)}},getItem:hI,removeItem:function JO(o,d){if(o){var i=nE(d),s=hI(o,W_),l={};return!eg(s.localStorage)&&$y(i)&&(localStorage.removeItem(o),l[r5]=s.localStorage),!eg(s.cookie)&&pv(i)&&(eE(o),l[hv]=s.cookie),!eg(s.sessionStorage)&&Ew(i)&&(sessionStorage.removeItem(o),l[s5]=s.sessionStorage),!eg(s.global)&&a5(i,e5)&&(rv(o),l[e5]=s.global),l}}};function xw(o,d,i){return d in o?Object.defineProperty(o,d,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[d]=i,o}function Uy(o,d){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);d&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable})),i.push.apply(i,s)}return i}function oE(o){for(var d=1;d<arguments.length;d++){var i=null!=arguments[d]?arguments[d]:{};d%2?Uy(Object(i),!0).forEach(function(s){xw(o,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):Uy(Object(i)).forEach(function(s){Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(i,s))})}return o}function Gy(o,d){var i=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);d&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable})),i.push.apply(i,s)}return i}function x8(o){for(var d=1;d<arguments.length;d++){var i=null!=arguments[d]?arguments[d]:{};d%2?Gy(Object(i),!0).forEach(function(s){ZO(o,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):Gy(Object(i)).forEach(function(s){Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(i,s))})}return o}function ZO(o,d,i){return d in o?Object.defineProperty(o,d,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[d]=i,o}var Dw,ez={debug:!1,containerId:null,dataLayerName:"dataLayer",dataLayer:void 0,preview:void 0,auth:void 0,execution:"async"},sE={};function aE(o,d){var i=sE[o];if(!i){var s=d.replace(/^https?:\/\//,"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&");i=new RegExp(s+".*[?&]id="+o),sE[o]=i}var l=document.querySelectorAll("script[src]");return!!Object.keys(l).filter(function(v){return(l[v].src||"").match(i)}).length}var pI=function rE(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d="https://www.googletagmanager.com/gtm.js";return{name:"google-tag-manager",config:x8(x8({},ez),o),initialize:function(s){var l=s.config,v=l.containerId,M=l.dataLayerName,F=l.customScriptSrc,j=l.preview,oe=l.auth,Se=l.execution;if(!v)throw new Error("No google tag manager containerId defined");if(j&&!oe)throw new Error("When enabling preview mode, both preview and auth parameters must be defined");var $e=F||d;aE(v,$e)||(function(bt,Lt,dn,Jn,jn){bt[Jn]=bt[Jn]||[],bt[Jn].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var zi=Lt.getElementsByTagName("script")[0],Si=Lt.createElement("script"),ki="dataLayer"!=Jn?"&l="+Jn:"",bi=j?"&gtm_preview="+j+"&gtm_auth="+oe+"&gtm_cookies_win=x":"";Se&&(Si[Se]=!0),Si.src="".concat($e,"?id=")+jn+ki+bi,zi.parentNode.insertBefore(Si,zi)}(window,document,0,M,v),Dw=M,l.dataLayer=window[M])},page:function(s){var v=s.config;typeof v.dataLayer<"u"&&v.dataLayer.push(s.payload.properties)},track:function(s){var l=s.payload,v=s.config;if(typeof v.dataLayer<"u"){var M=l.anonymousId,F=l.userId,j=l.properties,oe=j;F&&(oe.userId=F),M&&(oe.anonymousId=M),j.category||(oe.category="All"),v.debug&&console.log("dataLayer push",x8({event:l.event},oe)),v.dataLayer.push(x8({event:l.event},oe))}},loaded:function(){var s=!!Dw&&!(!window[Dw]||Array.prototype.push===window[Dw].push);return aE(o.containerId,o.customScriptSrc||d)&&s}}};const Cf=Object.create(null);Cf.open="0",Cf.close="1",Cf.ping="2",Cf.pong="3",Cf.message="4",Cf.upgrade="5",Cf.noop="6";const l5=Object.create(null);Object.keys(Cf).forEach(o=>{l5[Cf[o]]=o});const jy={type:"error",data:"parser error"},Ow="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),lE="function"==typeof ArrayBuffer,cE=o=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(o):o&&o.buffer instanceof ArrayBuffer,Hy=({type:o,data:d},i,s)=>Ow&&d instanceof Blob?i?s(d):Yy(d,s):lE&&(d instanceof ArrayBuffer||cE(d))?i?s(d):Yy(new Blob([d]),s):s(Cf[o]+(d||"")),Yy=(o,d)=>{const i=new FileReader;return i.onload=function(){const s=i.result.split(",")[1];d("b"+(s||""))},i.readAsDataURL(o)};function fI(o){return o instanceof Uint8Array?o:o instanceof ArrayBuffer?new Uint8Array(o):new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}let qy;const c5=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let o=0;o<64;o++)c5["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(o)]=o;const mI="function"==typeof ArrayBuffer,Nw=(o,d)=>{if("string"!=typeof o)return{type:"message",data:ed(o,d)};const i=o.charAt(0);return"b"===i?{type:"message",data:nz(o.substring(1),d)}:l5[i]?o.length>1?{type:l5[i],data:o.substring(1)}:{type:l5[i]}:jy},nz=(o,d)=>{if(mI){const i=(o=>{let s,v,M,F,j,d=.75*o.length,i=o.length,l=0;"="===o[o.length-1]&&(d--,"="===o[o.length-2]&&d--);const oe=new ArrayBuffer(d),Se=new Uint8Array(oe);for(s=0;s<i;s+=4)v=c5[o.charCodeAt(s)],M=c5[o.charCodeAt(s+1)],F=c5[o.charCodeAt(s+2)],j=c5[o.charCodeAt(s+3)],Se[l++]=v<<2|M>>4,Se[l++]=(15&M)<<4|F>>2,Se[l++]=(3&F)<<6|63&j;return oe})(o);return ed(i,d)}return{base64:!0,data:o}},ed=(o,d)=>"blob"===d?o instanceof Blob?o:new Blob([o]):o instanceof ArrayBuffer?o:o.buffer;let uE;function Ky(o){return o.reduce((d,i)=>d+i.length,0)}function Aw(o,d){if(o[0].length===d)return o.shift();const i=new Uint8Array(d);let s=0;for(let l=0;l<d;l++)i[l]=o[0][s++],s===o[0].length&&(o.shift(),s=0);return o.length&&s<o[0].length&&(o[0]=o[0].slice(s)),i}function td(o){if(o)return function hE(o){for(var d in td.prototype)o[d]=td.prototype[d];return o}(o)}td.prototype.on=td.prototype.addEventListener=function(o,d){return this._callbacks=this._callbacks||{},(this._callbacks["$"+o]=this._callbacks["$"+o]||[]).push(d),this},td.prototype.once=function(o,d){function i(){this.off(o,i),d.apply(this,arguments)}return i.fn=d,this.on(o,i),this},td.prototype.off=td.prototype.removeListener=td.prototype.removeAllListeners=td.prototype.removeEventListener=function(o,d){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i=this._callbacks["$"+o];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+o],this;for(var s,l=0;l<i.length;l++)if((s=i[l])===d||s.fn===d){i.splice(l,1);break}return 0===i.length&&delete this._callbacks["$"+o],this},td.prototype.emit=function(o){this._callbacks=this._callbacks||{};for(var d=new Array(arguments.length-1),i=this._callbacks["$"+o],s=1;s<arguments.length;s++)d[s-1]=arguments[s];if(i){s=0;for(var l=(i=i.slice(0)).length;s<l;++s)i[s].apply(this,d)}return this},td.prototype.emitReserved=td.prototype.emit,td.prototype.listeners=function(o){return this._callbacks=this._callbacks||{},this._callbacks["$"+o]||[]},td.prototype.hasListeners=function(o){return!!this.listeners(o).length};const L1=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function Rw(o,...d){return d.reduce((i,s)=>(o.hasOwnProperty(s)&&(i[s]=o[s]),i),{})}const pE=L1.setTimeout,gI=L1.clearTimeout;function Jy(o,d){d.useNativeTimers?(o.setTimeoutFn=pE.bind(L1),o.clearTimeoutFn=gI.bind(L1)):(o.setTimeoutFn=L1.setTimeout.bind(L1),o.clearTimeoutFn=L1.clearTimeout.bind(L1))}function vI(o){return"string"==typeof o?function mE(o){let d=0,i=0;for(let s=0,l=o.length;s<l;s++)d=o.charCodeAt(s),d<128?i+=1:d<2048?i+=2:d<55296||d>=57344?i+=3:(s++,i+=4);return i}(o):Math.ceil(1.33*(o.byteLength||o.size))}class e9 extends Error{constructor(d,i,s){super(d),this.description=i,this.context=s,this.type="TransportError"}}class t9 extends td{constructor(d){super(),this.writable=!1,Jy(this,d),this.opts=d,this.query=d.query,this.socket=d.socket}onError(d,i,s){return super.emitReserved("error",new e9(d,i,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(d){"open"===this.readyState&&this.write(d)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(d){const i=Nw(d,this.socket.binaryType);this.onPacket(i)}onPacket(d){super.emitReserved("packet",d)}onClose(d){this.readyState="closed",super.emitReserved("close",d)}pause(d){}createUri(d,i={}){return d+"://"+this._hostname()+this._port()+this.opts.path+this._query(i)}_hostname(){const d=this.opts.hostname;return-1===d.indexOf(":")?d:"["+d+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(d){const i=function Zy(o){let d="";for(let i in o)o.hasOwnProperty(i)&&(d.length&&(d+="&"),d+=encodeURIComponent(i)+"="+encodeURIComponent(o[i]));return d}(d);return i.length?"?"+i:""}}const Pw="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Fw=64,_I={};let gE,yI=0,G4=0;function bI(o){let d="";do{d=Pw[o%Fw]+d,o=Math.floor(o/Fw)}while(o>0);return d}function Lw(){const o=bI(+new Date);return o!==gE?(yI=0,gE=o):o+"."+bI(yI++)}for(;G4<Fw;G4++)_I[Pw[G4]]=G4;let wI=!1;try{wI=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const n9=wI;function TI(o){const d=o.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!d||n9))return new XMLHttpRequest}catch{}if(!d)try{return new(L1[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function oz(){}const SI=null!=new TI({xdomain:!1}).responseType;let Vw=(()=>{class o extends td{constructor(i,s){super(),Jy(this,s),this.opts=s,this.method=s.method||"GET",this.uri=i,this.data=void 0!==s.data?s.data:null,this.create()}create(){var i;const s=Rw(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this.opts.xd;const l=this.xhr=new TI(s);try{l.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){l.setDisableHeaderCheck&&l.setDisableHeaderCheck(!0);for(let v in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(v)&&l.setRequestHeader(v,this.opts.extraHeaders[v])}}catch{}if("POST"===this.method)try{l.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{l.setRequestHeader("Accept","*/*")}catch{}null===(i=this.opts.cookieJar)||void 0===i||i.addCookies(l),"withCredentials"in l&&(l.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(l.timeout=this.opts.requestTimeout),l.onreadystatechange=()=>{var v;3===l.readyState&&(null===(v=this.opts.cookieJar)||void 0===v||v.parseCookies(l)),4===l.readyState&&(200===l.status||1223===l.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof l.status?l.status:0)},0))},l.send(this.data)}catch(v){return void this.setTimeoutFn(()=>{this.onError(v)},0)}typeof document<"u"&&(this.index=o.requestsCount++,o.requests[this.index]=this)}onError(i){this.emitReserved("error",i,this.xhr),this.cleanup(!0)}cleanup(i){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=oz,i)try{this.xhr.abort()}catch{}typeof document<"u"&&delete o.requests[this.index],this.xhr=null}}onLoad(){const i=this.xhr.responseText;null!==i&&(this.emitReserved("data",i),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return o.requestsCount=0,o.requests={},o})();function vE(){for(let o in Vw.requests)Vw.requests.hasOwnProperty(o)&&Vw.requests[o].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",vE):"function"==typeof addEventListener&&addEventListener("onpagehide"in L1?"pagehide":"unload",vE,!1));const Bw="function"==typeof Promise&&"function"==typeof Promise.resolve?d=>Promise.resolve().then(d):(d,i)=>i(d,0),$w=L1.WebSocket||L1.MozWebSocket,EI=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),yE={websocket:class sz extends t9{constructor(d){super(d),this.supportsBinary=!d.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const d=this.uri(),i=this.opts.protocols,s=EI?{}:Rw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=EI?new $w(d,i,s):i?new $w(d,i):new $w(d)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=d=>this.onClose({description:"websocket connection closed",context:d}),this.ws.onmessage=d=>this.onData(d.data),this.ws.onerror=d=>this.onError("websocket error",d)}write(d){this.writable=!1;for(let i=0;i<d.length;i++){const l=i===d.length-1;Hy(d[i],this.supportsBinary,v=>{try{this.ws.send(v)}catch{}l&&Bw(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const d=this.opts.secure?"wss":"ws",i=this.query||{};return this.opts.timestampRequests&&(i[this.opts.timestampParam]=Lw()),this.supportsBinary||(i.b64=1),this.createUri(d,i)}check(){return!!$w}},webtransport:class _E extends t9{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(d=>{this.onError("webtransport error",d)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(d=>{const i=function iz(o,d){uE||(uE=new TextDecoder);const i=[];let s=0,l=-1,v=!1;return new TransformStream({transform(M,F){for(i.push(M);;){if(0===s){if(Ky(i)<1)break;const j=Aw(i,1);v=!(128&~j[0]),l=127&j[0],s=l<126?3:126===l?1:2}else if(1===s){if(Ky(i)<2)break;const j=Aw(i,2);l=new DataView(j.buffer,j.byteOffset,j.length).getUint16(0),s=3}else if(2===s){if(Ky(i)<8)break;const j=Aw(i,8),oe=new DataView(j.buffer,j.byteOffset,j.length),Se=oe.getUint32(0);if(Se>Math.pow(2,21)-1){F.enqueue(jy);break}l=Se*Math.pow(2,32)+oe.getUint32(4),s=3}else{if(Ky(i)<l)break;const j=Aw(i,l);F.enqueue(Nw(v?j:uE.decode(j),d)),s=0}if(0===l||l>o){F.enqueue(jy);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=d.readable.pipeThrough(i).getReader(),l=function dE(){return new TransformStream({transform(o,d){!function zw(o,d){Ow&&o.data instanceof Blob?o.data.arrayBuffer().then(fI).then(d):lE&&(o.data instanceof ArrayBuffer||cE(o.data))?d(fI(o.data)):Hy(o,!1,i=>{qy||(qy=new TextEncoder),d(qy.encode(i))})}(o,i=>{const s=i.length;let l;if(s<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,s);else if(s<65536){l=new Uint8Array(3);const v=new DataView(l.buffer);v.setUint8(0,126),v.setUint16(1,s)}else{l=new Uint8Array(9);const v=new DataView(l.buffer);v.setUint8(0,127),v.setBigUint64(1,BigInt(s))}o.data&&"string"!=typeof o.data&&(l[0]|=128),d.enqueue(l),d.enqueue(i)})}})}();l.readable.pipeTo(d.writable),this.writer=l.writable.getWriter();const v=()=>{s.read().then(({done:F,value:j})=>{F||(this.onPacket(j),v())}).catch(F=>{})};v();const M={type:"open"};this.query.sid&&(M.data=`{"sid":"${this.query.sid}"}`),this.writer.write(M).then(()=>this.onOpen())})}))}write(d){this.writable=!1;for(let i=0;i<d.length;i++){const l=i===d.length-1;this.writer.write(d[i]).then(()=>{l&&Bw(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var d;null===(d=this.transport)||void 0===d||d.close()}},polling:class rz extends t9{constructor(d){if(super(d),this.polling=!1,typeof location<"u"){const s="https:"===location.protocol;let l=location.port;l||(l=s?"443":"80"),this.xd=typeof location<"u"&&d.hostname!==location.hostname||l!==d.port}this.supportsBinary=SI&&!(d&&d.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(d){this.readyState="pausing";const i=()=>{this.readyState="paused",d()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||i()})),this.writable||(s++,this.once("drain",function(){--s||i()}))}else i()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(d){((o,d)=>{const i=o.split("\x1e"),s=[];for(let l=0;l<i.length;l++){const v=Nw(i[l],d);if(s.push(v),"error"===v.type)break}return s})(d,this.socket.binaryType).forEach(s=>{if("opening"===this.readyState&&"open"===s.type&&this.onOpen(),"close"===s.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const d=()=>{this.write([{type:"close"}])};"open"===this.readyState?d():this.once("open",d)}write(d){this.writable=!1,((o,d)=>{const i=o.length,s=new Array(i);let l=0;o.forEach((v,M)=>{Hy(v,!1,F=>{s[M]=F,++l===i&&d(s.join("\x1e"))})})})(d,i=>{this.doWrite(i,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const d=this.opts.secure?"https":"http",i=this.query||{};return!1!==this.opts.timestampRequests&&(i[this.opts.timestampParam]=Lw()),!this.supportsBinary&&!i.sid&&(i.b64=1),this.createUri(d,i)}request(d={}){return Object.assign(d,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Vw(this.uri(),d)}doWrite(d,i){const s=this.request({method:"POST",data:d});s.on("success",i),s.on("error",(l,v)=>{this.onError("xhr post error",l,v)})}doPoll(){const d=this.request();d.on("data",this.onData.bind(this)),d.on("error",(i,s)=>{this.onError("xhr poll error",i,s)}),this.pollXhr=d}}},MI=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,bE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Uw(o){if(o.length>2e3)throw"URI too long";const d=o,i=o.indexOf("["),s=o.indexOf("]");-1!=i&&-1!=s&&(o=o.substring(0,i)+o.substring(i,s).replace(/:/g,";")+o.substring(s,o.length));let l=MI.exec(o||""),v={},M=14;for(;M--;)v[bE[M]]=l[M]||"";return-1!=i&&-1!=s&&(v.source=d,v.host=v.host.substring(1,v.host.length-1).replace(/;/g,":"),v.authority=v.authority.replace("[","").replace("]","").replace(/;/g,":"),v.ipv6uri=!0),v.pathNames=function Gw(o,d){const s=d.replace(/\/{2,9}/g,"/").split("/");return("/"==d.slice(0,1)||0===d.length)&&s.splice(0,1),"/"==d.slice(-1)&&s.splice(s.length-1,1),s}(0,v.path),v.queryKey=function CE(o,d){const i={};return d.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,l,v){l&&(i[l]=v)}),i}(0,v.query),v}let wE=(()=>{class o extends td{constructor(i,s={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],i&&"object"==typeof i&&(s=i,i=null),i?(i=Uw(i),s.hostname=i.host,s.secure="https"===i.protocol||"wss"===i.protocol,s.port=i.port,i.query&&(s.query=i.query)):s.host&&(s.hostname=Uw(s.host).host),Jy(this,s),this.secure=null!=s.secure?s.secure:typeof location<"u"&&"https:"===location.protocol,s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=s.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function d5(o){let d={},i=o.split("&");for(let s=0,l=i.length;s<l;s++){let v=i[s].split("=");d[decodeURIComponent(v[0])]=decodeURIComponent(v[1])}return d}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(i){const s=Object.assign({},this.opts.query);s.EIO=4,s.transport=i,this.id&&(s.sid=this.id);const l=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[i]);return new yE[i](l)}open(){let i;if(this.opts.rememberUpgrade&&o.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))i="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);i=this.transports[0]}this.readyState="opening";try{i=this.createTransport(i)}catch{return this.transports.shift(),void this.open()}i.open(),this.setTransport(i)}setTransport(i){this.transport&&this.transport.removeAllListeners(),this.transport=i,i.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",s=>this.onClose("transport close",s))}probe(i){let s=this.createTransport(i),l=!1;o.priorWebsocketSuccess=!1;const v=()=>{l||(s.send([{type:"ping",data:"probe"}]),s.once("packet",bt=>{if(!l)if("pong"===bt.type&&"probe"===bt.data){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;o.priorWebsocketSuccess="websocket"===s.name,this.transport.pause(()=>{l||"closed"!==this.readyState&&($e(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const Lt=new Error("probe error");Lt.transport=s.name,this.emitReserved("upgradeError",Lt)}}))};function M(){l||(l=!0,$e(),s.close(),s=null)}const F=bt=>{const Lt=new Error("probe error: "+bt);Lt.transport=s.name,M(),this.emitReserved("upgradeError",Lt)};function j(){F("transport closed")}function oe(){F("socket closed")}function Se(bt){s&&bt.name!==s.name&&M()}const $e=()=>{s.removeListener("open",v),s.removeListener("error",F),s.removeListener("close",j),this.off("close",oe),this.off("upgrading",Se)};s.once("open",v),s.once("error",F),s.once("close",j),this.once("close",oe),this.once("upgrading",Se),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==i?this.setTimeoutFn(()=>{l||s.open()},200):s.open()}onOpen(){if(this.readyState="open",o.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let i=0;const s=this.upgrades.length;for(;i<s;i++)this.probe(this.upgrades[i])}}onPacket(i){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",i),this.emitReserved("heartbeat"),this.resetPingTimeout(),i.type){case"open":this.onHandshake(JSON.parse(i.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const s=new Error("server error");s.code=i.data,this.onError(s);break;case"message":this.emitReserved("data",i.data),this.emitReserved("message",i.data)}}onHandshake(i){this.emitReserved("handshake",i),this.id=i.sid,this.transport.query.sid=i.sid,this.upgrades=this.filterUpgrades(i.upgrades),this.pingInterval=i.pingInterval,this.pingTimeout=i.pingTimeout,this.maxPayload=i.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const i=this.getWritablePackets();this.transport.send(i),this.prevBufferLen=i.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let l=0;l<this.writeBuffer.length;l++){const v=this.writeBuffer[l].data;if(v&&(s+=vI(v)),l>0&&s>this.maxPayload)return this.writeBuffer.slice(0,l);s+=2}return this.writeBuffer}write(i,s,l){return this.sendPacket("message",i,s,l),this}send(i,s,l){return this.sendPacket("message",i,s,l),this}sendPacket(i,s,l,v){if("function"==typeof s&&(v=s,s=void 0),"function"==typeof l&&(v=l,l=null),"closing"===this.readyState||"closed"===this.readyState)return;(l=l||{}).compress=!1!==l.compress;const M={type:i,data:s,options:l};this.emitReserved("packetCreate",M),this.writeBuffer.push(M),v&&this.once("flush",v),this.flush()}close(){const i=()=>{this.onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),i()},l=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?l():i()}):this.upgrading?l():i()),this}onError(i){o.priorWebsocketSuccess=!1,this.emitReserved("error",i),this.onClose("transport error",i)}onClose(i,s){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",i,s),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(i){const s=[];let l=0;const v=i.length;for(;l<v;l++)~this.transports.indexOf(i[l])&&s.push(i[l]);return s}}return o.protocol=4,o})();const xI="function"==typeof ArrayBuffer,SE=o=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(o):o.buffer instanceof ArrayBuffer,II=Object.prototype.toString,DI="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===II.call(Blob),OI="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===II.call(File);function jw(o){return xI&&(o instanceof ArrayBuffer||SE(o))||DI&&o instanceof Blob||OI&&o instanceof File}function o9(o,d){if(!o||"object"!=typeof o)return!1;if(Array.isArray(o)){for(let i=0,s=o.length;i<s;i++)if(o9(o[i]))return!0;return!1}if(jw(o))return!0;if(o.toJSON&&"function"==typeof o.toJSON&&1===arguments.length)return o9(o.toJSON(),!0);for(const i in o)if(Object.prototype.hasOwnProperty.call(o,i)&&o9(o[i]))return!0;return!1}function kE(o){const d=[],s=o;return s.data=r9(o.data,d),s.attachments=d.length,{packet:s,buffers:d}}function r9(o,d){if(!o)return o;if(jw(o)){const i={_placeholder:!0,num:d.length};return d.push(o),i}if(Array.isArray(o)){const i=new Array(o.length);for(let s=0;s<o.length;s++)i[s]=r9(o[s],d);return i}if("object"==typeof o&&!(o instanceof Date)){const i={};for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=r9(o[s],d));return i}return o}function zI(o,d){return o.data=s9(o.data,d),delete o.attachments,o}function s9(o,d){if(!o)return o;if(o&&!0===o._placeholder){if("number"==typeof o.num&&o.num>=0&&o.num<d.length)return d[o.num];throw new Error("illegal attachments")}if(Array.isArray(o))for(let i=0;i<o.length;i++)o[i]=s9(o[i],d);else if("object"==typeof o)for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(o[i]=s9(o[i],d));return o}const EE=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],lz=5;var Ws=function(o){return o[o.CONNECT=0]="CONNECT",o[o.DISCONNECT=1]="DISCONNECT",o[o.EVENT=2]="EVENT",o[o.ACK=3]="ACK",o[o.CONNECT_ERROR=4]="CONNECT_ERROR",o[o.BINARY_EVENT=5]="BINARY_EVENT",o[o.BINARY_ACK=6]="BINARY_ACK",o}(Ws||{});class u5{constructor(d){this.replacer=d}encode(d){return d.type!==Ws.EVENT&&d.type!==Ws.ACK||!o9(d)?[this.encodeAsString(d)]:this.encodeAsBinary({type:d.type===Ws.EVENT?Ws.BINARY_EVENT:Ws.BINARY_ACK,nsp:d.nsp,data:d.data,id:d.id})}encodeAsString(d){let i=""+d.type;return(d.type===Ws.BINARY_EVENT||d.type===Ws.BINARY_ACK)&&(i+=d.attachments+"-"),d.nsp&&"/"!==d.nsp&&(i+=d.nsp+","),null!=d.id&&(i+=d.id),null!=d.data&&(i+=JSON.stringify(d.data,this.replacer)),i}encodeAsBinary(d){const i=kE(d),s=this.encodeAsString(i.packet),l=i.buffers;return l.unshift(s),l}}function a9(o){return"[object Object]"===Object.prototype.toString.call(o)}class l9 extends td{constructor(d){super(),this.reviver=d}add(d){let i;if("string"==typeof d){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");i=this.decodeString(d);const s=i.type===Ws.BINARY_EVENT;s||i.type===Ws.BINARY_ACK?(i.type=s?Ws.EVENT:Ws.ACK,this.reconstructor=new NI(i),0===i.attachments&&super.emitReserved("decoded",i)):super.emitReserved("decoded",i)}else{if(!jw(d)&&!d.base64)throw new Error("Unknown type: "+d);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");i=this.reconstructor.takeBinaryData(d),i&&(this.reconstructor=null,super.emitReserved("decoded",i))}}decodeString(d){let i=0;const s={type:Number(d.charAt(0))};if(void 0===Ws[s.type])throw new Error("unknown packet type "+s.type);if(s.type===Ws.BINARY_EVENT||s.type===Ws.BINARY_ACK){const v=i+1;for(;"-"!==d.charAt(++i)&&i!=d.length;);const M=d.substring(v,i);if(M!=Number(M)||"-"!==d.charAt(i))throw new Error("Illegal attachments");s.attachments=Number(M)}if("/"===d.charAt(i+1)){const v=i+1;for(;++i&&","!==d.charAt(i)&&i!==d.length;);s.nsp=d.substring(v,i)}else s.nsp="/";const l=d.charAt(i+1);if(""!==l&&Number(l)==l){const v=i+1;for(;++i;){const M=d.charAt(i);if(null==M||Number(M)!=M){--i;break}if(i===d.length)break}s.id=Number(d.substring(v,i+1))}if(d.charAt(++i)){const v=this.tryParse(d.substr(i));if(!l9.isPayloadValid(s.type,v))throw new Error("invalid payload");s.data=v}return s}tryParse(d){try{return JSON.parse(d,this.reviver)}catch{return!1}}static isPayloadValid(d,i){switch(d){case Ws.CONNECT:return a9(i);case Ws.DISCONNECT:return void 0===i;case Ws.CONNECT_ERROR:return"string"==typeof i||a9(i);case Ws.EVENT:case Ws.BINARY_EVENT:return Array.isArray(i)&&("number"==typeof i[0]||"string"==typeof i[0]&&-1===EE.indexOf(i[0]));case Ws.ACK:case Ws.BINARY_ACK:return Array.isArray(i)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class NI{constructor(d){this.packet=d,this.buffers=[],this.reconPack=d}takeBinaryData(d){if(this.buffers.push(d),this.buffers.length===this.reconPack.attachments){const i=zI(this.reconPack,this.buffers);return this.finishedReconstruction(),i}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function q0(o,d,i){return o.on(d,i),function(){o.off(d,i)}}const c9=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class ME extends td{constructor(d,i,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=d,this.nsp=i,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const d=this.io;this.subs=[q0(d,"open",this.onopen.bind(this)),q0(d,"packet",this.onpacket.bind(this)),q0(d,"error",this.onerror.bind(this)),q0(d,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...d){return d.unshift("message"),this.emit.apply(this,d),this}emit(d,...i){if(c9.hasOwnProperty(d))throw new Error('"'+d.toString()+'" is a reserved event name');if(i.unshift(d),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(i),this;const s={type:Ws.EVENT,data:i,options:{}};if(s.options.compress=!1!==this.flags.compress,"function"==typeof i[i.length-1]){const M=this.ids++,F=i.pop();this._registerAckCallback(M,F),s.id=M}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(d,i){var s;const l=null!==(s=this.flags.timeout)&&void 0!==s?s:this._opts.ackTimeout;if(void 0===l)return void(this.acks[d]=i);const v=this.io.setTimeoutFn(()=>{delete this.acks[d];for(let F=0;F<this.sendBuffer.length;F++)this.sendBuffer[F].id===d&&this.sendBuffer.splice(F,1);i.call(this,new Error("operation has timed out"))},l),M=(...F)=>{this.io.clearTimeoutFn(v),i.apply(this,F)};M.withError=!0,this.acks[d]=M}emitWithAck(d,...i){return new Promise((s,l)=>{const v=(M,F)=>M?l(M):s(F);v.withError=!0,i.push(v),this.emit(d,...i)})}_addToQueue(d){let i;"function"==typeof d[d.length-1]&&(i=d.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:d,flags:Object.assign({fromQueue:!0},this.flags)};d.push((l,...v)=>s!==this._queue[0]?void 0:(null!==l?s.tryCount>this._opts.retries&&(this._queue.shift(),i&&i(l)):(this._queue.shift(),i&&i(null,...v)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(d=!1){if(!this.connected||0===this._queue.length)return;const i=this._queue[0];i.pending&&!d||(i.pending=!0,i.tryCount++,this.flags=i.flags,this.emit.apply(this,i.args))}packet(d){d.nsp=this.nsp,this.io._packet(d)}onopen(){"function"==typeof this.auth?this.auth(d=>{this._sendConnectPacket(d)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(d){this.packet({type:Ws.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},d):d})}onerror(d){this.connected||this.emitReserved("connect_error",d)}onclose(d,i){this.connected=!1,delete this.id,this.emitReserved("disconnect",d,i),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(d=>{if(!this.sendBuffer.some(s=>String(s.id)===d)){const s=this.acks[d];delete this.acks[d],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(d){if(d.nsp===this.nsp)switch(d.type){case Ws.CONNECT:d.data&&d.data.sid?this.onconnect(d.data.sid,d.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ws.EVENT:case Ws.BINARY_EVENT:this.onevent(d);break;case Ws.ACK:case Ws.BINARY_ACK:this.onack(d);break;case Ws.DISCONNECT:this.ondisconnect();break;case Ws.CONNECT_ERROR:this.destroy();const s=new Error(d.data.message);s.data=d.data.data,this.emitReserved("connect_error",s)}}onevent(d){const i=d.data||[];null!=d.id&&i.push(this.ack(d.id)),this.connected?this.emitEvent(i):this.receiveBuffer.push(Object.freeze(i))}emitEvent(d){if(this._anyListeners&&this._anyListeners.length){const i=this._anyListeners.slice();for(const s of i)s.apply(this,d)}super.emit.apply(this,d),this._pid&&d.length&&"string"==typeof d[d.length-1]&&(this._lastOffset=d[d.length-1])}ack(d){const i=this;let s=!1;return function(...l){s||(s=!0,i.packet({type:Ws.ACK,id:d,data:l}))}}onack(d){const i=this.acks[d.id];"function"==typeof i&&(delete this.acks[d.id],i.withError&&d.data.unshift(null),i.apply(this,d.data))}onconnect(d,i){this.id=d,this.recovered=i&&this._pid===i,this._pid=i,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(d=>this.emitEvent(d)),this.receiveBuffer=[],this.sendBuffer.forEach(d=>{this.notifyOutgoingListeners(d),this.packet(d)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(d=>d()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ws.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(d){return this.flags.compress=d,this}get volatile(){return this.flags.volatile=!0,this}timeout(d){return this.flags.timeout=d,this}onAny(d){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(d),this}prependAny(d){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(d),this}offAny(d){if(!this._anyListeners)return this;if(d){const i=this._anyListeners;for(let s=0;s<i.length;s++)if(d===i[s])return i.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(d){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(d),this}prependAnyOutgoing(d){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(d),this}offAnyOutgoing(d){if(!this._anyOutgoingListeners)return this;if(d){const i=this._anyOutgoingListeners;for(let s=0;s<i.length;s++)if(d===i[s])return i.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(d){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const i=this._anyOutgoingListeners.slice();for(const s of i)s.apply(this,d.data)}}}function gv(o){this.ms=(o=o||{}).min||100,this.max=o.max||1e4,this.factor=o.factor||2,this.jitter=o.jitter>0&&o.jitter<=1?o.jitter:0,this.attempts=0}gv.prototype.duration=function(){var o=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var d=Math.random(),i=Math.floor(d*this.jitter*o);o=1&Math.floor(10*d)?o+i:o-i}return 0|Math.min(o,this.max)},gv.prototype.reset=function(){this.attempts=0},gv.prototype.setMin=function(o){this.ms=o},gv.prototype.setMax=function(o){this.max=o},gv.prototype.setJitter=function(o){this.jitter=o};class d9 extends td{constructor(d,i){var s;super(),this.nsps={},this.subs=[],d&&"object"==typeof d&&(i=d,d=void 0),(i=i||{}).path=i.path||"/socket.io",this.opts=i,Jy(this,i),this.reconnection(!1!==i.reconnection),this.reconnectionAttempts(i.reconnectionAttempts||1/0),this.reconnectionDelay(i.reconnectionDelay||1e3),this.reconnectionDelayMax(i.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(s=i.randomizationFactor)&&void 0!==s?s:.5),this.backoff=new gv({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==i.timeout?2e4:i.timeout),this._readyState="closed",this.uri=d;const l=i.parser||y;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=!1!==i.autoConnect,this._autoConnect&&this.open()}reconnection(d){return arguments.length?(this._reconnection=!!d,this):this._reconnection}reconnectionAttempts(d){return void 0===d?this._reconnectionAttempts:(this._reconnectionAttempts=d,this)}reconnectionDelay(d){var i;return void 0===d?this._reconnectionDelay:(this._reconnectionDelay=d,null===(i=this.backoff)||void 0===i||i.setMin(d),this)}randomizationFactor(d){var i;return void 0===d?this._randomizationFactor:(this._randomizationFactor=d,null===(i=this.backoff)||void 0===i||i.setJitter(d),this)}reconnectionDelayMax(d){var i;return void 0===d?this._reconnectionDelayMax:(this._reconnectionDelayMax=d,null===(i=this.backoff)||void 0===i||i.setMax(d),this)}timeout(d){return arguments.length?(this._timeout=d,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(d){if(~this._readyState.indexOf("open"))return this;this.engine=new wE(this.uri,this.opts);const i=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const l=q0(i,"open",function(){s.onopen(),d&&d()}),v=F=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",F),d?d(F):this.maybeReconnectOnOpen()},M=q0(i,"error",v);if(!1!==this._timeout){const j=this.setTimeoutFn(()=>{l(),v(new Error("timeout")),i.close()},this._timeout);this.opts.autoUnref&&j.unref(),this.subs.push(()=>{this.clearTimeoutFn(j)})}return this.subs.push(l),this.subs.push(M),this}connect(d){return this.open(d)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const d=this.engine;this.subs.push(q0(d,"ping",this.onping.bind(this)),q0(d,"data",this.ondata.bind(this)),q0(d,"error",this.onerror.bind(this)),q0(d,"close",this.onclose.bind(this)),q0(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(d){try{this.decoder.add(d)}catch(i){this.onclose("parse error",i)}}ondecoded(d){Bw(()=>{this.emitReserved("packet",d)},this.setTimeoutFn)}onerror(d){this.emitReserved("error",d)}socket(d,i){let s=this.nsps[d];return s?this._autoConnect&&!s.active&&s.connect():(s=new ME(this,d,i),this.nsps[d]=s),s}_destroy(d){const i=Object.keys(this.nsps);for(const s of i)if(this.nsps[s].active)return;this._close()}_packet(d){const i=this.encoder.encode(d);for(let s=0;s<i.length;s++)this.engine.write(i[s],d.options)}cleanup(){this.subs.forEach(d=>d()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(d,i){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",d,i),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const d=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const i=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{d.skipReconnect||(this.emitReserved("reconnect_attempt",d.backoff.attempts),!d.skipReconnect&&d.open(l=>{l?(d._reconnecting=!1,d.reconnect(),this.emitReserved("reconnect_error",l)):d.onreconnect()}))},i);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const d=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",d)}}const vv={};function Hw(o,d){"object"==typeof o&&(d=o,o=void 0);const i=function TE(o,d="",i){let s=o;i=i||typeof location<"u"&&location,null==o&&(o=i.protocol+"//"+i.host),"string"==typeof o&&("/"===o.charAt(0)&&(o="/"===o.charAt(1)?i.protocol+o:i.host+o),/^(https?|wss?):\/\//.test(o)||(o=typeof i<"u"?i.protocol+"//"+o:"https://"+o),s=Uw(o)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const v=-1!==s.host.indexOf(":")?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+v+":"+s.port+d,s.href=s.protocol+"://"+v+(i&&i.port===s.port?"":":"+s.port),s}(o,(d=d||{}).path||"/socket.io"),s=i.source,l=i.id;let j;return d.forceNew||d["force new connection"]||!1===d.multiplex||vv[l]&&i.path in vv[l].nsps?j=new d9(s,d):(vv[l]||(vv[l]=new d9(s,d)),j=vv[l]),i.query&&!d.query&&(d.query=i.queryKey),j.socket(i.path,d)}Object.assign(Hw,{Manager:d9,Socket:ME,io:Hw,connect:Hw}),C(55407),C(37440),C(2214);var I8=C(17852),h5=C(21076),AI=C(51362);const RI="firebasestorage.googleapis.com";class _c extends h5.g{constructor(d,i,s=0){super(DE(d),`Firebase Storage: ${i} (${DE(d)})`),this.status_=s,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,_c.prototype)}get status(){return this.status_}set status(d){this.status_=d}_codeEquals(d){return DE(d)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(d){this.customData.serverResponse=d,this.message=this.customData.serverResponse?`${this._baseMessage}\n${this.customData.serverResponse}`:this._baseMessage}}var Zl=function(o){return o.UNKNOWN="unknown",o.OBJECT_NOT_FOUND="object-not-found",o.BUCKET_NOT_FOUND="bucket-not-found",o.PROJECT_NOT_FOUND="project-not-found",o.QUOTA_EXCEEDED="quota-exceeded",o.UNAUTHENTICATED="unauthenticated",o.UNAUTHORIZED="unauthorized",o.UNAUTHORIZED_APP="unauthorized-app",o.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",o.INVALID_CHECKSUM="invalid-checksum",o.CANCELED="canceled",o.INVALID_EVENT_NAME="invalid-event-name",o.INVALID_URL="invalid-url",o.INVALID_DEFAULT_BUCKET="invalid-default-bucket",o.NO_DEFAULT_BUCKET="no-default-bucket",o.CANNOT_SLICE_BLOB="cannot-slice-blob",o.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",o.NO_DOWNLOAD_URL="no-download-url",o.INVALID_ARGUMENT="invalid-argument",o.INVALID_ARGUMENT_COUNT="invalid-argument-count",o.APP_DELETED="app-deleted",o.INVALID_ROOT_OPERATION="invalid-root-operation",o.INVALID_FORMAT="invalid-format",o.INTERNAL_ERROR="internal-error",o.UNSUPPORTED_ENVIRONMENT="unsupported-environment",o}(Zl||{});function DE(o){return"storage/"+o}function Yw(o){return new _c(Zl.INVALID_ARGUMENT,o)}function HI(){return new _c(Zl.APP_DELETED,"The Firebase app was deleted.")}class _{constructor(d,i){this.bucket=d,this.path_=i}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const d=encodeURIComponent;return"/b/"+d(this.bucket)+"/o/"+d(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(d,i){let s;try{s=_.makeFromUrl(d,i)}catch{return new _(d,"")}if(""===s.path)return s;throw function $I(o){return new _c(Zl.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+o+"'.")}(d)}static makeFromUrl(d,i){let s=null;const l="([A-Za-z0-9.\\-_]+)",F=new RegExp("^gs://"+l+"(/(.*))?$","i");function oe(bi){bi.path_=decodeURIComponent(bi.path)}const $e=i.replace(/[.]/g,"\\."),ki=[{regex:F,indices:{bucket:1,path:3},postModify:function v(bi){"/"===bi.path.charAt(bi.path.length-1)&&(bi.path_=bi.path_.slice(0,-1))}},{regex:new RegExp(`^https?://${$e}/v[A-Za-z0-9_]+/b/${l}/o(/([^?#]*).*)?$`,"i"),indices:{bucket:1,path:3},postModify:oe},{regex:new RegExp(`^https?://${i===RI?"(?:storage.googleapis.com|storage.cloud.google.com)":i}/${l}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:oe}];for(let bi=0;bi<ki.length;bi++){const Gi=ki[bi],$s=Gi.regex.exec(d);if($s){let Hr=$s[Gi.indices.path];Hr||(Hr=""),s=new _($s[Gi.indices.bucket],Hr),Gi.postModify(s);break}}if(null==s)throw function BI(o){return new _c(Zl.INVALID_URL,"Invalid URL '"+o+"'.")}(d);return s}}class S{constructor(d){this.promise_=Promise.reject(d)}getPromise(){return this.promise_}cancel(d=!1){}}function Qt(o,d,i,s){if(s<d)throw Yw(`Invalid value for '${o}'. Expected ${d} or greater.`);if(s>i)throw Yw(`Invalid value for '${o}'. Expected ${i} or less.`)}var Ai=function(o){return o[o.NO_ERROR=0]="NO_ERROR",o[o.NETWORK_ERROR=1]="NETWORK_ERROR",o[o.ABORT=2]="ABORT",o}(Ai||{});class ii{constructor(d,i,s,l,v,M,F,j,oe,Se,$e,bt=!0){this.url_=d,this.method_=i,this.headers_=s,this.body_=l,this.successCodes_=v,this.additionalRetryCodes_=M,this.callback_=F,this.errorCallback_=j,this.timeout_=oe,this.progressCallback_=Se,this.connectionFactory_=$e,this.retry=bt,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((Lt,dn)=>{this.resolve_=Lt,this.reject_=dn,this.start_()})}start_(){const i=(s,l)=>{const v=this.resolve_,M=this.reject_,F=l.connection;if(l.wasSuccessCode)try{const j=this.callback_(F,F.getResponse());!function Y(o){return void 0!==o}(j)?v():v(j)}catch(j){M(j)}else if(null!==F){const j=function OE(){return new _c(Zl.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}();j.serverResponse=F.getErrorText(),M(this.errorCallback_?this.errorCallback_(F,j):j)}else M(l.canceled?this.appDelete_?HI():function zE(){return new _c(Zl.CANCELED,"User canceled the upload/download.")}():function VI(){return new _c(Zl.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}())};this.canceled_?i(0,new Cr(!1,null,!0)):this.backoffId_=function O(o,d,i){let s=1,l=null,v=null,M=!1,F=0;function j(){return 2===F}let oe=!1;function Se(...jn){oe||(oe=!0,d.apply(null,jn))}function $e(jn){l=setTimeout(()=>{l=null,o(Lt,j())},jn)}function bt(){v&&clearTimeout(v)}function Lt(jn,...zi){if(oe)return void bt();if(jn)return bt(),void Se.call(null,jn,...zi);if(j()||M)return bt(),void Se.call(null,jn,...zi);let ki;s<64&&(s*=2),1===F?(F=2,ki=0):ki=1e3*(s+Math.random()),$e(ki)}let dn=!1;function Jn(jn){dn||(dn=!0,bt(),!oe&&(null!==l?(jn||(F=2),clearTimeout(l),$e(0)):jn||(F=1)))}return $e(0),v=setTimeout(()=>{M=!0,Jn(!0)},i),Jn}((s,l)=>{if(l)return void s(!1,new Cr(!1,null,!0));const v=this.connectionFactory_();this.pendingConnection_=v;const M=F=>{null!==this.progressCallback_&&this.progressCallback_(F.loaded,F.lengthComputable?F.total:-1)};null!==this.progressCallback_&&v.addUploadProgressListener(M),v.send(this.url_,this.method_,this.body_,this.headers_).then(()=>{null!==this.progressCallback_&&v.removeUploadProgressListener(M),this.pendingConnection_=null;const F=v.getErrorCode()===Ai.NO_ERROR,j=v.getStatus();if(!F||function Ki(o,d){const i=o>=500&&o<600,l=-1!==[408,429].indexOf(o),v=-1!==d.indexOf(o);return i||l||v}(j,this.additionalRetryCodes_)&&this.retry){const Se=v.getErrorCode()===Ai.ABORT;return void s(!1,new Cr(!1,null,Se))}const oe=-1!==this.successCodes_.indexOf(j);s(!0,new Cr(oe,v))})},i,this.timeout_)}getPromise(){return this.promise_}cancel(d){this.canceled_=!0,this.appDelete_=d||!1,null!==this.backoffId_&&function V(o){o(!1)}(this.backoffId_),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class Cr{constructor(d,i,s){this.wasSuccessCode=d,this.connection=i,this.canceled=!!s}}class p5{constructor(d,i){this._service=d,this._location=i instanceof _?i:_.makeFromUrl(i,d.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(d,i){return new p5(d,i)}get root(){const d=new _(this._location.bucket,"");return this._newRef(this._service,d)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return function _z(o){const d=o.lastIndexOf("/",o.length-2);return-1===d?o:o.slice(d+1)}(this._location.path)}get storage(){return this._service}get parent(){const d=function fR(o){if(0===o.length)return null;const d=o.lastIndexOf("/");return-1===d?"":o.slice(0,d)}(this._location.path);if(null===d)return null;const i=new _(this._location.bucket,d);return new p5(this._service,i)}_throwIfRoot(d){if(""===this._location.path)throw function c(o){return new _c(Zl.INVALID_ROOT_OPERATION,"The operation '"+o+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}(d)}}function Nz(o,d){const i=d?.storageBucket;return null==i?null:_.makeFromBucketSpec(i,o)}class JI{constructor(d,i,s,l,v){this.app=d,this._authProvider=i,this._appCheckProvider=s,this._url=l,this._firebaseVersion=v,this._bucket=null,this._host=RI,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=l?_.makeFromBucketSpec(l,this._host):Nz(this._host,this.app.options)}get host(){return this._host}set host(d){this._host=d,this._bucket=null!=this._url?_.makeFromBucketSpec(this._url,d):Nz(d,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(d){Qt("time",0,Number.POSITIVE_INFINITY,d),this._maxUploadRetryTime=d}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(d){Qt("time",0,Number.POSITIVE_INFINITY,d),this._maxOperationRetryTime=d}_getAuthToken(){var d=this;return(0,$.A)(function*(){if(d._overrideAuthToken)return d._overrideAuthToken;const i=d._authProvider.getImmediate({optional:!0});if(i){const s=yield i.getToken();if(null!==s)return s.accessToken}return null})()}_getAppCheckToken(){var d=this;return(0,$.A)(function*(){const i=d._appCheckProvider.getImmediate({optional:!0});return i?(yield i.getToken()).token:null})()}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(d=>d.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(d){return new p5(this,d)}_makeRequest(d,i,s,l,v=!0){if(this._deleted)return new S(HI());{const M=function _v(o,d,i,s,l,v,M=!0){const F=function ti(o){const d=encodeURIComponent;let i="?";for(const s in o)o.hasOwnProperty(s)&&(i=i+(d(s)+"=")+d(o[s])+"&");return i=i.slice(0,-1),i}(o.urlParams),j=o.url+F,oe=Object.assign({},o.headers);return function zc(o,d){d&&(o["X-Firebase-GMPID"]=d)}(oe,d),function Rs(o,d){null!==d&&d.length>0&&(o.Authorization="Firebase "+d)}(oe,i),function qa(o,d){o["X-Firebase-Storage-Version"]="webjs/"+(d??"AppManager")}(oe,v),function Wh(o,d){null!==d&&(o["X-Firebase-AppCheck"]=d)}(oe,s),new ii(j,o.method,oe,o.body,o.successCodes,o.additionalRetryCodes,o.handler,o.errorHandler,o.timeout,o.progressCallback,l,M)}(d,this._appId,s,l,i,this._firebaseVersion,v);return this._requests.add(M),M.getPromise().then(()=>this._requests.delete(M),()=>this._requests.delete(M)),M}}makeRequestWithTokens(d,i){var s=this;return(0,$.A)(function*(){const[l,v]=yield Promise.all([s._getAuthToken(),s._getAppCheckToken()]);return s._makeRequest(d,i,l,v).getPromise()})()}}const Az="@firebase/storage";function oP(o,{instanceIdentifier:d}){const i=o.getProvider("app").getImmediate(),s=o.getProvider("auth-internal"),l=o.getProvider("app-check-internal");return new JI(i,s,l,d,I8.MF)}!function rP(){(0,I8.om)(new AI.uA("storage",oP,"PUBLIC").setMultipleInstances(!0)),(0,I8.KO)(Az,"0.13.2",""),(0,I8.KO)(Az,"0.13.2","esm2017")}();const Kw=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,f5="8.31.0",Fa=globalThis;function VE(o,d,i){const s=i||Fa,l=s.__SENTRY__=s.__SENTRY__||{},v=l[f5]=l[f5]||{};return v[o]||(v[o]=d())}const eD=["debug","info","warn","error","log","assert","trace"],BE={};function Qw(o){if(!("console"in Fa))return o();const d=Fa.console,i={},s=Object.keys(BE);s.forEach(l=>{const v=BE[l];i[l]=d[l],d[l]=v});try{return o()}finally{s.forEach(l=>{d[l]=i[l]})}}const Jr=VE("logger",function hP(){let o=!1;const d={enable:()=>{o=!0},disable:()=>{o=!1},isEnabled:()=>o};return eD.forEach(Kw?i=>{d[i]=(...s)=>{o&&Qw(()=>{Fa.console[i](`Sentry Logger [${i}]:`,...s)})}}:i=>{d[i]=()=>{}}),d}),$z=Object.prototype.toString;function tD(o){switch($z.call(o)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m5(o,Error)}}function p9(o,d){return $z.call(o)===`[object ${d}]`}function Uz(o){return p9(o,"ErrorEvent")}function Gz(o){return p9(o,"DOMError")}function O8(o){return p9(o,"String")}function nD(o){return"object"==typeof o&&null!==o&&"__sentry_template_string__"in o&&"__sentry_template_values__"in o}function iD(o){return null===o||nD(o)||"object"!=typeof o&&"function"!=typeof o}function f9(o){return p9(o,"Object")}function $E(o){return typeof Event<"u"&&m5(o,Event)}function UE(o){return!(!o||!o.then||"function"!=typeof o.then)}function m5(o,d){try{return o instanceof d}catch{return!1}}function jz(o){return!("object"!=typeof o||null===o||!o.__isVue&&!o._isVue)}const m9=Fa,vP=80;function Hz(o,d={}){if(!o)return"<unknown>";try{let i=o;const s=5,l=[];let v=0,M=0;const F=" > ",j=F.length;let oe;const Se=Array.isArray(d)?d:d.keyAttrs,$e=!Array.isArray(d)&&d.maxStringLength||vP;for(;i&&v++<s&&(oe=_P(i,Se),!("html"===oe||v>1&&M+l.length*j+oe.length>=$e));)l.push(oe),M+=oe.length,i=i.parentNode;return l.reverse().join(F)}catch{return"<unknown>"}}function _P(o,d){const i=o,s=[];if(!i||!i.tagName)return"";if(m9.HTMLElement&&i instanceof HTMLElement&&i.dataset){if(i.dataset.sentryComponent)return i.dataset.sentryComponent;if(i.dataset.sentryElement)return i.dataset.sentryElement}s.push(i.tagName.toLowerCase());const l=d&&d.length?d.filter(M=>i.getAttribute(M)).map(M=>[M,i.getAttribute(M)]):null;if(l&&l.length)l.forEach(M=>{s.push(`[${M[0]}="${M[1]}"]`)});else{i.id&&s.push(`#${i.id}`);const M=i.className;if(M&&O8(M)){const F=M.split(/\s+/);for(const j of F)s.push(`.${j}`)}}const v=["aria-label","type","name","title","alt"];for(const M of v){const F=i.getAttribute(M);F&&s.push(`[${M}="${F}"]`)}return s.join("")}function g9(o,d=0){return"string"!=typeof o||0===d||o.length<=d?o:`${o.slice(0,d)}...`}function Yz(o,d){if(!Array.isArray(o))return"";const i=[];for(let s=0;s<o.length;s++){const l=o[s];try{jz(l)?i.push("[VueViewModel]"):i.push(String(l))}catch{i.push("[value cannot be serialized]")}}return i.join(d)}function GE(o,d=[],i=!1){return d.some(s=>function CP(o,d,i=!1){return!!O8(o)&&(function mP(o){return p9(o,"RegExp")}(d)?d.test(o):!!O8(d)&&(i?o===d:o.includes(d)))}(o,s,i))}function X0(o,d,i){if(!(d in o))return;const s=o[d],l=i(s);"function"==typeof l&&qz(l,s),o[d]=l}function g5(o,d,i){try{Object.defineProperty(o,d,{value:i,writable:!0,configurable:!0})}catch{Kw&&Jr.log(`Failed to add non-enumerable property "${d}" to object`,o)}}function qz(o,d){try{o.prototype=d.prototype=d.prototype||{},g5(o,"__sentry_original__",d)}catch{}}function oD(o){return o.__sentry_original__}function Xz(o){if(tD(o))return{message:o.message,name:o.name,stack:o.stack,...Kz(o)};if($E(o)){const d={type:o.type,target:Wz(o.target),currentTarget:Wz(o.currentTarget),...Kz(o)};return typeof CustomEvent<"u"&&m5(o,CustomEvent)&&(d.detail=o.detail),d}return o}function Wz(o){try{return function fP(o){return typeof Element<"u"&&m5(o,Element)}(o)?Hz(o):Object.prototype.toString.call(o)}catch{return"<unknown>"}}function Kz(o){if("object"==typeof o&&null!==o){const d={};for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(d[i]=o[i]);return d}return{}}function wf(o){return rD(o,new Map)}function rD(o,d){if(function SP(o){if(!f9(o))return!1;try{const d=Object.getPrototypeOf(o).constructor.name;return!d||"Object"===d}catch{return!0}}(o)){const i=d.get(o);if(void 0!==i)return i;const s={};d.set(o,s);for(const l of Object.keys(o))typeof o[l]<"u"&&(s[l]=rD(o[l],d));return s}if(Array.isArray(o)){const i=d.get(o);if(void 0!==i)return i;const s=[];return d.set(o,s),o.forEach(l=>{s.push(rD(l,d))}),s}return o}function Tf(){const d=Fa.crypto||Fa.msCrypto;let i=()=>16*Math.random();try{if(d&&d.randomUUID)return d.randomUUID().replace(/-/g,"");d&&d.getRandomValues&&(i=()=>{const s=new Uint8Array(1);return d.getRandomValues(s),s[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,s=>(s^(15&i())>>s/4).toString(16))}function Qz(o){return o.exception&&o.exception.values?o.exception.values[0]:void 0}function yv(o){const{message:d,event_id:i}=o;if(d)return d;const s=Qz(o);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||i||"<unknown>":i||"<unknown>"}function sD(o,d,i){const s=o.exception=o.exception||{},l=s.values=s.values||[],v=l[0]=l[0]||{};v.value||(v.value=d||""),v.type||(v.type=i||"Error")}function Jw(o,d){const i=Qz(o);if(!i)return;const l=i.mechanism;if(i.mechanism={type:"generic",handled:!0,...l,...d},d&&"data"in d){const v={...l&&l.data,...d.data};i.mechanism.data=v}}function Jz(o){if(o&&o.__sentry_captured__)return!0;try{g5(o,"__sentry_captured__",!0)}catch{}return!1}function Zz(o){return Array.isArray(o)?o:[o]}const El=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,eN=[];function MP(o){const d=o.defaultIntegrations||[],i=o.integrations;let s;d.forEach(M=>{M.isDefaultInstance=!0}),s=Array.isArray(i)?[...d,...i]:"function"==typeof i?Zz(i(d)):d;const l=function EP(o){const d={};return o.forEach(i=>{const{name:s}=i,l=d[s];l&&!l.isDefaultInstance&&i.isDefaultInstance||(d[s]=i)}),Object.values(d)}(s),v=l.findIndex(M=>"Debug"===M.name);if(v>-1){const[M]=l.splice(v,1);l.push(M)}return l}function tN(o,d){for(const i of d)i&&i.afterAllSetup&&i.afterAllSetup(o)}function nN(o,d,i){if(i[d.name])El&&Jr.log(`Integration skipped because it was already installed: ${d.name}`);else{if(i[d.name]=d,-1===eN.indexOf(d.name)&&"function"==typeof d.setupOnce&&(d.setupOnce(),eN.push(d.name)),d.setup&&"function"==typeof d.setup&&d.setup(o),"function"==typeof d.preprocessEvent){const s=d.preprocessEvent.bind(d);o.on("preprocessEvent",(l,v)=>s(l,v,o))}if("function"==typeof d.processEvent){const s=d.processEvent.bind(d),l=Object.assign((v,M)=>s(v,M,o),{id:d.name});o.addEventProcessor(l)}El&&Jr.log(`Integration installed: ${d.name}`)}}const IP=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],OP=(o={})=>({name:"InboundFilters",processEvent(d,i,s){const l=s.getOptions(),v=function zP(o={},d={}){return{allowUrls:[...o.allowUrls||[],...d.allowUrls||[]],denyUrls:[...o.denyUrls||[],...d.denyUrls||[]],ignoreErrors:[...o.ignoreErrors||[],...d.ignoreErrors||[],...o.disableErrorDefaults?[]:IP],ignoreTransactions:[...o.ignoreTransactions||[],...d.ignoreTransactions||[]],ignoreInternal:void 0===o.ignoreInternal||o.ignoreInternal}}(o,l);return function NP(o,d){return d.ignoreInternal&&function VP(o){try{return"SentryError"===o.exception.values[0].type}catch{}return!1}(o)?(El&&Jr.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${yv(o)}`),!0):function AP(o,d){return!(o.type||!d||!d.length)&&function LP(o){const d=[];let i;o.message&&d.push(o.message);try{i=o.exception.values[o.exception.values.length-1]}catch{}return i&&i.value&&(d.push(i.value),i.type&&d.push(`${i.type}: ${i.value}`)),d}(o).some(i=>GE(i,d))}(o,d.ignoreErrors)?(El&&Jr.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${yv(o)}`),!0):function $P(o){return!(o.type||!o.exception||!o.exception.values||0===o.exception.values.length||o.message||o.exception.values.some(d=>d.stacktrace||d.type&&"Error"!==d.type||d.value))}(o)?(El&&Jr.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${yv(o)}`),!0):function RP(o,d){if("transaction"!==o.type||!d||!d.length)return!1;const i=o.transaction;return!!i&&GE(i,d)}(o,d.ignoreTransactions)?(El&&Jr.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${yv(o)}`),!0):function PP(o,d){if(!d||!d.length)return!1;const i=jE(o);return!!i&&GE(i,d)}(o,d.denyUrls)?(El&&Jr.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${yv(o)}.\nUrl: ${jE(o)}`),!0):!function FP(o,d){if(!d||!d.length)return!0;const i=jE(o);return!i||GE(i,d)}(o,d.allowUrls)&&(El&&Jr.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${yv(o)}.\nUrl: ${jE(o)}`),!0)}(d,v)?null:d}});function jE(o){try{let d;try{d=o.exception.values[0].stacktrace.frames}catch{}return d?function BP(o=[]){for(let d=o.length-1;d>=0;d--){const i=o[d];if(i&&"<anonymous>"!==i.filename&&"[native code]"!==i.filename)return i.filename||null}return null}(d):null}catch{return El&&Jr.error(`Cannot extract url for event ${yv(o)}`),null}}function HE(){return lD(Fa),Fa}function lD(o){const d=o.__SENTRY__=o.__SENTRY__||{};return d.version=d.version||f5,d[f5]=d[f5]||{}}function iN(){return{traceId:Tf(),spanId:Tf().substring(16)}}const oN=1e3;function Zw(){return Date.now()/oN}const z8=function UP(){const{performance:o}=Fa;if(!o||!o.now)return Zw;const d=Date.now()-o.now(),i=null==o.timeOrigin?d:o.timeOrigin;return()=>(i+o.now())/oN}();let YE;function v9(o,d={}){if(d.user&&(!o.ipAddress&&d.user.ip_address&&(o.ipAddress=d.user.ip_address),!o.did&&!d.did&&(o.did=d.user.id||d.user.email||d.user.username)),o.timestamp=d.timestamp||z8(),d.abnormal_mechanism&&(o.abnormal_mechanism=d.abnormal_mechanism),d.ignoreDuration&&(o.ignoreDuration=d.ignoreDuration),d.sid&&(o.sid=32===d.sid.length?d.sid:Tf()),void 0!==d.init&&(o.init=d.init),!o.did&&d.did&&(o.did=`${d.did}`),"number"==typeof d.started&&(o.started=d.started),o.ignoreDuration)o.duration=void 0;else if("number"==typeof d.duration)o.duration=d.duration;else{const i=o.timestamp-o.started;o.duration=i>=0?i:0}d.release&&(o.release=d.release),d.environment&&(o.environment=d.environment),!o.ipAddress&&d.ipAddress&&(o.ipAddress=d.ipAddress),!o.userAgent&&d.userAgent&&(o.userAgent=d.userAgent),"number"==typeof d.errors&&(o.errors=d.errors),d.status&&(o.status=d.status)}(()=>{const{performance:o}=Fa;if(!o||!o.now)return void(YE="none");const d=36e5,i=o.now(),s=Date.now(),l=o.timeOrigin?Math.abs(o.timeOrigin+i-s):d,v=l<d,M=o.timing&&o.timing.navigationStart,j="number"==typeof M?Math.abs(M+i-s):d;YE=v||j<d?l<=j?"timeOrigin":"navigationStart":"dateNow"})();const cD="_sentrySpan";function rN(o,d){d?g5(o,cD,d):delete o[cD]}function sN(o){return o[cD]}class dD{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=iN()}clone(){const d=new dD;return d._breadcrumbs=[...this._breadcrumbs],d._tags={...this._tags},d._extra={...this._extra},d._contexts={...this._contexts},d._user=this._user,d._level=this._level,d._session=this._session,d._transactionName=this._transactionName,d._fingerprint=this._fingerprint,d._eventProcessors=[...this._eventProcessors],d._requestSession=this._requestSession,d._attachments=[...this._attachments],d._sdkProcessingMetadata={...this._sdkProcessingMetadata},d._propagationContext={...this._propagationContext},d._client=this._client,d._lastEventId=this._lastEventId,rN(d,sN(this)),d}setClient(d){this._client=d}setLastEventId(d){this._lastEventId=d}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(d){this._scopeListeners.push(d)}addEventProcessor(d){return this._eventProcessors.push(d),this}setUser(d){return this._user=d||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&v9(this._session,{user:d}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(d){return this._requestSession=d,this}setTags(d){return this._tags={...this._tags,...d},this._notifyScopeListeners(),this}setTag(d,i){return this._tags={...this._tags,[d]:i},this._notifyScopeListeners(),this}setExtras(d){return this._extra={...this._extra,...d},this._notifyScopeListeners(),this}setExtra(d,i){return this._extra={...this._extra,[d]:i},this._notifyScopeListeners(),this}setFingerprint(d){return this._fingerprint=d,this._notifyScopeListeners(),this}setLevel(d){return this._level=d,this._notifyScopeListeners(),this}setTransactionName(d){return this._transactionName=d,this._notifyScopeListeners(),this}setContext(d,i){return null===i?delete this._contexts[d]:this._contexts[d]=i,this._notifyScopeListeners(),this}setSession(d){return d?this._session=d:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(d){if(!d)return this;const i="function"==typeof d?d(this):d,[s,l]=i instanceof bv?[i.getScopeData(),i.getRequestSession()]:f9(i)?[d,d.requestSession]:[],{tags:v,extra:M,user:F,contexts:j,level:oe,fingerprint:Se=[],propagationContext:$e}=s||{};return this._tags={...this._tags,...v},this._extra={...this._extra,...M},this._contexts={...this._contexts,...j},F&&Object.keys(F).length&&(this._user=F),oe&&(this._level=oe),Se.length&&(this._fingerprint=Se),$e&&(this._propagationContext=$e),l&&(this._requestSession=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,rN(this,void 0),this._attachments=[],this._propagationContext=iN(),this._notifyScopeListeners(),this}addBreadcrumb(d,i){const s="number"==typeof i?i:100;if(s<=0)return this;const l={timestamp:Zw(),...d},v=this._breadcrumbs;return v.push(l),this._breadcrumbs=v.length>s?v.slice(-s):v,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(d){return this._attachments.push(d),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:sN(this)}}setSDKProcessingMetadata(d){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...d},this}setPropagationContext(d){return this._propagationContext=d,this}getPropagationContext(){return this._propagationContext}captureException(d,i){const s=i&&i.event_id?i.event_id:Tf();if(!this._client)return Jr.warn("No client configured on scope - will not capture exception!"),s;const l=new Error("Sentry syntheticException");return this._client.captureException(d,{originalException:d,syntheticException:l,...i,event_id:s},this),s}captureMessage(d,i,s){const l=s&&s.event_id?s.event_id:Tf();if(!this._client)return Jr.warn("No client configured on scope - will not capture message!"),l;const v=new Error(d);return this._client.captureMessage(d,i,{originalException:d,syntheticException:v,...s,event_id:l},this),l}captureEvent(d,i){const s=i&&i.event_id?i.event_id:Tf();return this._client?(this._client.captureEvent(d,{...i,event_id:s},this),s):(Jr.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(d=>{d(this)}),this._notifyingListeners=!1)}}const bv=dD;class WP{constructor(d,i){let s,l;s=d||new bv,l=i||new bv,this._stack=[{scope:s}],this._isolationScope=l}withScope(d){const i=this._pushScope();let s;try{s=d(i)}catch(l){throw this._popScope(),l}return UE(s)?s.then(l=>(this._popScope(),l),l=>{throw this._popScope(),l}):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const d=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:d}),d}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function _9(){const d=lD(HE());return d.stack=d.stack||new WP(function qP(){return VE("defaultCurrentScope",()=>new bv)}(),function XP(){return VE("defaultIsolationScope",()=>new bv)}())}function KP(o){return _9().withScope(o)}function QP(o,d){const i=_9();return i.withScope(()=>(i.getStackTop().scope=o,d(o)))}function aN(o){return _9().withScope(()=>o(_9().getIsolationScope()))}function uD(o){const d=lD(o);return d.acs?d.acs:function JP(){return{withIsolationScope:aN,withScope:KP,withSetScope:QP,withSetIsolationScope:(o,d)=>aN(d),getCurrentScope:()=>_9().getScope(),getIsolationScope:()=>_9().getIsolationScope()}}()}function Cv(){return uD(HE()).getCurrentScope()}function eT(){return uD(HE()).getIsolationScope()}function B1(){return Cv().getClient()}let lN;const cN=new WeakMap,nF=()=>({name:"FunctionToString",setupOnce(){lN=Function.prototype.toString;try{Function.prototype.toString=function(...o){const d=oD(this),i=cN.has(B1())&&void 0!==d?d:this;return lN.apply(i,o)}}catch{}},setup(o){cN.set(o,!0)}}),dN=50,q4="?",uN=/\(error: (.*)\)/,hN=/captureMessage|captureException/;function pN(...o){const d=o.sort((i,s)=>i[0]-s[0]).map(i=>i[1]);return(i,s=0,l=0)=>{const v=[],M=i.split("\n");for(let F=s;F<M.length;F++){const j=M[F];if(j.length>1024)continue;const oe=uN.test(j)?j.replace(uN,"$1"):j;if(!oe.match(/\S*Error: /)){for(const Se of d){const $e=Se(oe);if($e){v.push($e);break}}if(v.length>=dN+l)break}}return function oF(o){if(!o.length)return[];const d=Array.from(o);return/sentryWrapped/.test(qE(d).function||"")&&d.pop(),d.reverse(),hN.test(qE(d).function||"")&&(d.pop(),hN.test(qE(d).function||"")&&d.pop()),d.slice(0,dN).map(i=>({...i,filename:i.filename||qE(d).filename,function:i.function||q4}))}(v.slice(l))}}function iF(o){return Array.isArray(o)?pN(...o):o}function qE(o){return o[o.length-1]||{}}const hD="<anonymous>";function wv(o){try{return o&&"function"==typeof o&&o.name||hD}catch{return hD}}function fN(o){const d=o.exception;if(d){const i=[];try{return d.values.forEach(s=>{s.stacktrace.frames&&i.push(...s.stacktrace.frames)}),i}catch{return}}}const sF=()=>{let o;return{name:"Dedupe",processEvent(d){if(d.type)return d;try{if(function aF(o,d){return!(!d||!function lF(o,d){const i=o.message,s=d.message;return!(!i&&!s||i&&!s||!i&&s||i!==s||!gN(o,d)||!mN(o,d))}(o,d)&&!function cF(o,d){const i=vN(d),s=vN(o);return!!(i&&s&&i.type===s.type&&i.value===s.value&&gN(o,d)&&mN(o,d))}(o,d))}(d,o))return El&&Jr.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return o=d}}};function mN(o,d){let i=fN(o),s=fN(d);if(!i&&!s)return!0;if(i&&!s||!i&&s||s.length!==i.length)return!1;for(let l=0;l<s.length;l++){const v=s[l],M=i[l];if(v.filename!==M.filename||v.lineno!==M.lineno||v.colno!==M.colno||v.function!==M.function)return!1}return!0}function gN(o,d){let i=o.fingerprint,s=d.fingerprint;if(!i&&!s)return!0;if(i&&!s||!i&&s)return!1;try{return i.join("")===s.join("")}catch{return!1}}function vN(o){return o.exception&&o.exception.values&&o.exception.values[0]}const pD="production";function Tv(o,d=100,i=1/0){try{return fD("",o,d,i)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function _N(o,d=3,i=102400){const s=Tv(o,d);return function gF(o){return function mF(o){return~-encodeURI(o).split(/%..|./).length}(JSON.stringify(o))}(s)>i?_N(o,d-1,i):s}function fD(o,d,i=1/0,s=1/0,l=function hF(){const o="function"==typeof WeakSet,d=o?new WeakSet:[];return[function i(l){if(o)return!!d.has(l)||(d.add(l),!1);for(let v=0;v<d.length;v++)if(d[v]===l)return!0;return d.push(l),!1},function s(l){if(o)d.delete(l);else for(let v=0;v<d.length;v++)if(d[v]===l){d.splice(v,1);break}}]}()){const[v,M]=l;if(null==d||["boolean","string"].includes(typeof d)||"number"==typeof d&&Number.isFinite(d))return d;const F=function pF(o,d){try{if("domain"===o&&d&&"object"==typeof d&&d._events)return"[Domain]";if("domainEmitter"===o)return"[DomainEmitter]";if(typeof global<"u"&&d===global)return"[Global]";if(typeof window<"u"&&d===window)return"[Window]";if(typeof document<"u"&&d===document)return"[Document]";if(jz(d))return"[VueViewModel]";if(function gP(o){return f9(o)&&"nativeEvent"in o&&"preventDefault"in o&&"stopPropagation"in o}(d))return"[SyntheticEvent]";if("number"==typeof d&&!Number.isFinite(d))return`[${d}]`;if("function"==typeof d)return`[Function: ${wv(d)}]`;if("symbol"==typeof d)return`[${String(d)}]`;if("bigint"==typeof d)return`[BigInt: ${String(d)}]`;const i=function fF(o){const d=Object.getPrototypeOf(o);return d?d.constructor.name:"null prototype"}(d);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(i){return`**non-serializable** (${i})`}}(o,d);if(!F.startsWith("[object "))return F;if(d.__sentry_skip_normalization__)return d;const j="number"==typeof d.__sentry_override_normalization_depth__?d.__sentry_override_normalization_depth__:i;if(0===j)return F.replace("object ","");if(v(d))return"[Circular ~]";const oe=d;if(oe&&"function"==typeof oe.toJSON)try{return fD("",oe.toJSON(),j-1,s,l)}catch{}const Se=Array.isArray(d)?[]:{};let $e=0;const bt=Xz(d);for(const Lt in bt)if(Object.prototype.hasOwnProperty.call(bt,Lt)){if($e>=s){Se[Lt]="[MaxProperties ~]";break}Se[Lt]=fD(Lt,bt[Lt],j-1,s,l),$e++}return M(d),Se}var N8;function v5(o){return new Sf(d=>{d(o)})}function XE(o){return new Sf((d,i)=>{i(o)})}!function(o){o[o.PENDING=0]="PENDING",o[o.RESOLVED=1]="RESOLVED",o[o.REJECTED=2]="REJECTED"}(N8||(N8={}));class Sf{constructor(d){Sf.prototype.__init.call(this),Sf.prototype.__init2.call(this),Sf.prototype.__init3.call(this),Sf.prototype.__init4.call(this),this._state=N8.PENDING,this._handlers=[];try{d(this._resolve,this._reject)}catch(i){this._reject(i)}}then(d,i){return new Sf((s,l)=>{this._handlers.push([!1,v=>{if(d)try{s(d(v))}catch(M){l(M)}else s(v)},v=>{if(i)try{s(i(v))}catch(M){l(M)}else l(v)}]),this._executeHandlers()})}catch(d){return this.then(i=>i,d)}finally(d){return new Sf((i,s)=>{let l,v;return this.then(M=>{v=!1,l=M,d&&d()},M=>{v=!0,l=M,d&&d()}).then(()=>{v?s(l):i(l)})})}__init(){this._resolve=d=>{this._setResult(N8.RESOLVED,d)}}__init2(){this._reject=d=>{this._setResult(N8.REJECTED,d)}}__init3(){this._setResult=(d,i)=>{if(this._state===N8.PENDING){if(UE(i))return void i.then(this._resolve,this._reject);this._state=d,this._value=i,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===N8.PENDING)return;const d=this._handlers.slice();this._handlers=[],d.forEach(i=>{i[0]||(this._state===N8.RESOLVED&&i[1](this._value),this._state===N8.REJECTED&&i[2](this._value),i[0]=!0)})}}}function mD(o,d,i,s=0){return new Sf((l,v)=>{const M=o[s];if(null===d||"function"!=typeof M)l(d);else{const F=M({...d},i);El&&M.id&&null===F&&Jr.log(`Event processor "${M.id}" dropped event`),UE(F)?F.then(j=>mD(o,j,i,s+1).then(l)).then(null,v):mD(o,F,i,s+1).then(l).then(null,v)}})}const yN="sentry-",vF=/^sentry-/;function bN(o){return o.split(",").map(d=>d.split("=").map(i=>decodeURIComponent(i.trim()))).reduce((d,[i,s])=>(i&&s&&(d[i]=s),d),{})}const wF="sentry.source",TF="sentry.sample_rate",SF="sentry.op",kF="sentry.origin",gD="_sentryMetrics";function EF(o){const d=o[gD];if(!d)return;const i={};for(const[,[s,l]]of d)(i[s]||(i[s]=[])).push(wf(l));return i}const MF=0,CN=1,IF=1;function DF(o){const{spanId:d,traceId:i}=o.spanContext(),{parent_span_id:s}=tT(o);return wf({parent_span_id:s,span_id:d,trace_id:i})}function wN(o){return"number"==typeof o?TN(o):Array.isArray(o)?o[0]+o[1]/1e9:o instanceof Date?TN(o.getTime()):z8()}function TN(o){return o>9999999999?o/1e3:o}function tT(o){if(function zF(o){return"function"==typeof o.getSpanJSON}(o))return o.getSpanJSON();try{const{spanId:d,traceId:i}=o.spanContext();if(function OF(o){return!!(o.attributes&&o.startTime&&o.name&&o.endTime&&o.status)}(o)){const{attributes:s,startTime:l,name:v,endTime:M,parentSpanId:F,status:j}=o;return wf({span_id:d,trace_id:i,data:s,description:v,parent_span_id:F,start_timestamp:wN(l),timestamp:wN(M)||void 0,status:NF(j),op:s[SF],origin:s[kF],_metrics_summary:EF(o)})}return{span_id:d,trace_id:i}}catch{return{}}}function NF(o){if(o&&o.code!==MF)return o.code===CN?"ok":o.message||"unknown_error"}const _D="_sentryRootSpan";function SN(o){return o[_D]||o}const kN="_frozenDsc";function EN(o,d){const i=d.getOptions(),{publicKey:s}=d.getDsn()||{},l=wf({environment:i.environment||pD,release:i.release,public_key:s,trace_id:o});return d.emit("createDsc",l),l}function MN(o){const d=B1();if(!d)return{};const i=EN(tT(o).trace_id||"",d),s=SN(o),l=s[kN];if(l)return l;const v=s.spanContext().traceState,M=v&&v.get("sentry.dsc"),F=M&&function yF(o){const d=function bF(o){if(o&&(O8(o)||Array.isArray(o)))return Array.isArray(o)?o.reduce((d,i)=>{const s=bN(i);return Object.entries(s).forEach(([l,v])=>{d[l]=v}),d},{}):bN(o)}(o);if(!d)return;const i=Object.entries(d).reduce((s,[l,v])=>(l.match(vF)&&(s[l.slice(yN.length)]=v),s),{});return Object.keys(i).length>0?i:void 0}(M);if(F)return F;const j=tT(s),oe=j.data||{},Se=oe[TF];null!=Se&&(i.sample_rate=`${Se}`);const bt=j.description;return"url"!==oe[wF]&&bt&&(i.transaction=bt),i.sampled=String(function vD(o){const{traceFlags:d}=o.spanContext();return d===IF}(s)),d.emit("createDsc",i,s),i}function xN(o,d){const{extra:i,tags:s,user:l,contexts:v,level:M,sdkProcessingMetadata:F,breadcrumbs:j,fingerprint:oe,eventProcessors:Se,attachments:$e,propagationContext:bt,transactionName:Lt,span:dn}=d;nT(o,"extra",i),nT(o,"tags",s),nT(o,"user",l),nT(o,"contexts",v),nT(o,"sdkProcessingMetadata",F),M&&(o.level=M),Lt&&(o.transactionName=Lt),dn&&(o.span=dn),j.length&&(o.breadcrumbs=[...o.breadcrumbs,...j]),oe.length&&(o.fingerprint=[...o.fingerprint,...oe]),Se.length&&(o.eventProcessors=[...o.eventProcessors,...Se]),$e.length&&(o.attachments=[...o.attachments,...$e]),o.propagationContext={...o.propagationContext,...bt}}function nT(o,d,i){if(i&&Object.keys(i).length){o[d]={...o[d]};for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(o[d][s]=i[s])}}function $F(o,d,i,s,l,v){const{normalizeDepth:M=3,normalizeMaxBreadth:F=1e3}=o,j={...d,event_id:d.event_id||i.event_id||Tf(),timestamp:d.timestamp||Zw()},oe=i.integrations||o.integrations.map(jn=>jn.name);(function UF(o,d){const{environment:i,release:s,dist:l,maxValueLength:v=250}=d;"environment"in o||(o.environment="environment"in d?i:pD),void 0===o.release&&void 0!==s&&(o.release=s),void 0===o.dist&&void 0!==l&&(o.dist=l),o.message&&(o.message=g9(o.message,v));const M=o.exception&&o.exception.values&&o.exception.values[0];M&&M.value&&(M.value=g9(M.value,v));const F=o.request;F&&F.url&&(F.url=g9(F.url,v))})(j,o),function HF(o,d){d.length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...d])}(j,oe),l&&l.emit("applyFrameMetadata",d),void 0===d.type&&function GF(o,d){const i=Fa._sentryDebugIds;if(!i)return;let s;const l=IN.get(d);l?s=l:(s=new Map,IN.set(d,s));const v=Object.entries(i).reduce((M,[F,j])=>{let oe;const Se=s.get(F);Se?oe=Se:(oe=d(F),s.set(F,oe));for(let $e=oe.length-1;$e>=0;$e--){const bt=oe[$e];if(bt.filename){M[bt.filename]=j;break}}return M},{});try{o.exception.values.forEach(M=>{M.stacktrace.frames.forEach(F=>{F.filename&&(F.debug_id=v[F.filename])})})}catch{}}(j,o.stackParser);const Se=function qF(o,d){if(!d)return o;const i=o?o.clone():new bv;return i.update(d),i}(s,i.captureContext);i.mechanism&&Jw(j,i.mechanism);const $e=l?l.getEventProcessors():[],bt=function ZP(){return VE("globalScope",()=>new bv)}().getScopeData();v&&xN(bt,v.getScopeData()),Se&&xN(bt,Se.getScopeData());const Lt=[...i.attachments||[],...bt.attachments];return Lt.length&&(i.attachments=Lt),function RF(o,d){const{fingerprint:i,span:s,breadcrumbs:l,sdkProcessingMetadata:v}=d;(function PF(o,d){const{extra:i,tags:s,user:l,contexts:v,level:M,transactionName:F}=d,j=wf(i);j&&Object.keys(j).length&&(o.extra={...j,...o.extra});const oe=wf(s);oe&&Object.keys(oe).length&&(o.tags={...oe,...o.tags});const Se=wf(l);Se&&Object.keys(Se).length&&(o.user={...Se,...o.user});const $e=wf(v);$e&&Object.keys($e).length&&(o.contexts={...$e,...o.contexts}),M&&(o.level=M),F&&"transaction"!==o.type&&(o.transaction=F)})(o,d),s&&function VF(o,d){o.contexts={trace:DF(d),...o.contexts},o.sdkProcessingMetadata={dynamicSamplingContext:MN(d),...o.sdkProcessingMetadata};const s=tT(SN(d)).description;s&&!o.transaction&&"transaction"===o.type&&(o.transaction=s)}(o,s),function BF(o,d){o.fingerprint=o.fingerprint?Zz(o.fingerprint):[],d&&(o.fingerprint=o.fingerprint.concat(d)),o.fingerprint&&!o.fingerprint.length&&delete o.fingerprint}(o,i),function FF(o,d){const i=[...o.breadcrumbs||[],...d];o.breadcrumbs=i.length?i:void 0}(o,l),function LF(o,d){o.sdkProcessingMetadata={...o.sdkProcessingMetadata,...d}}(o,v)}(j,bt),mD([...$e,...bt.eventProcessors],j,i).then(jn=>(jn&&function jF(o){const d={};try{o.exception.values.forEach(s=>{s.stacktrace.frames.forEach(l=>{l.debug_id&&(l.abs_path?d[l.abs_path]=l.debug_id:l.filename&&(d[l.filename]=l.debug_id),delete l.debug_id)})})}catch{}if(0===Object.keys(d).length)return;o.debug_meta=o.debug_meta||{},o.debug_meta.images=o.debug_meta.images||[];const i=o.debug_meta.images;Object.entries(d).forEach(([s,l])=>{i.push({type:"sourcemap",code_file:s,debug_id:l})})}(jn),"number"==typeof M&&M>0?function YF(o,d,i){if(!o)return null;const s={...o,...o.breadcrumbs&&{breadcrumbs:o.breadcrumbs.map(l=>({...l,...l.data&&{data:Tv(l.data,d,i)}}))},...o.user&&{user:Tv(o.user,d,i)},...o.contexts&&{contexts:Tv(o.contexts,d,i)},...o.extra&&{extra:Tv(o.extra,d,i)}};return o.contexts&&o.contexts.trace&&s.contexts&&(s.contexts.trace=o.contexts.trace,o.contexts.trace.data&&(s.contexts.trace.data=Tv(o.contexts.trace.data,d,i))),o.spans&&(s.spans=o.spans.map(l=>({...l,...l.data&&{data:Tv(l.data,d,i)}}))),s}(jn,M,F):jn))}const IN=new WeakMap;const KF=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function DN(o,d){return Cv().captureException(o,function XF(o){if(o)return function WF(o){return o instanceof bv||"function"==typeof o}(o)||function QF(o){return Object.keys(o).some(d=>KF.includes(d))}(o)?{captureContext:o}:o}(d))}function ON(o,d){return Cv().captureEvent(o,d)}function NN(o){const d=B1(),i=eT(),s=Cv(),{release:l,environment:v=pD}=d&&d.getOptions()||{},{userAgent:M}=Fa.navigator||{},F=function GP(o){const d=z8(),i={sid:Tf(),init:!0,timestamp:d,started:d,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function HP(o){return wf({sid:`${o.sid}`,init:o.init,started:new Date(1e3*o.started).toISOString(),timestamp:new Date(1e3*o.timestamp).toISOString(),status:o.status,errors:o.errors,did:"number"==typeof o.did||"string"==typeof o.did?`${o.did}`:void 0,duration:o.duration,abnormal_mechanism:o.abnormal_mechanism,attrs:{release:o.release,environment:o.environment,ip_address:o.ipAddress,user_agent:o.userAgent}})}(i)};return o&&v9(i,o),i}({release:l,environment:v,user:s.getUser()||i.getUser(),...M&&{userAgent:M},...o}),j=i.getSession();return j&&"ok"===j.status&&v9(j,{status:"exited"}),AN(),i.setSession(F),s.setSession(F),F}function AN(){const o=eT(),d=Cv(),i=d.getSession()||o.getSession();i&&function jP(o,d){let i={};d?i={status:d}:"ok"===o.status&&(i={status:"exited"}),v9(o,i)}(i),RN(),o.setSession(),d.setSession()}function RN(){const o=eT(),d=Cv(),i=B1(),s=d.getSession()||o.getSession();s&&i&&i.captureSession(s)}function PN(o=!1){o?AN():RN()}const WE=Fa;function CD(){if(!("fetch"in WE))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function wD(o){return o&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(o.toString())}const y9={},FN={};function y5(o,d){y9[o]=y9[o]||[],y9[o].push(d)}function b5(o,d){FN[o]||(d(),FN[o]=!0)}function lg(o,d){const i=o&&y9[o];if(i)for(const s of i)try{s(d)}catch(l){Kw&&Jr.error(`Error while triggering instrumentation handler.\nType: ${o}\nName: ${wv(s)}\nError:`,l)}}const KE=Fa,Kh=Fa;let QE;function LN(o){const d="history";y5(d,o),b5(d,eL)}function eL(){if(!function ZF(){const o=KE.chrome;return!(o&&o.app&&o.app.runtime||!("history"in KE)||!KE.history.pushState||!KE.history.replaceState)}())return;const o=Kh.onpopstate;function d(i){return function(...s){const l=s.length>2?s[2]:void 0;if(l){const v=QE,M=String(l);QE=M,lg("history",{from:v,to:M})}return i.apply(this,s)}}Kh.onpopstate=function(...i){const s=Kh.location.href,l=QE;if(QE=s,lg("history",{from:l,to:s}),o)try{return o.apply(this,i)}catch{}},X0(Kh.history,"pushState",d),X0(Kh.history,"replaceState",d)}const tL=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function JE(o,d=!1){const{host:i,path:s,pass:l,port:v,projectId:M,protocol:F,publicKey:j}=o;return`${F}://${j}${d&&l?`:${l}`:""}@${i}${v?`:${v}`:""}/${s&&`${s}/`}${M}`}function VN(o){return{protocol:o.protocol,publicKey:o.publicKey||"",pass:o.pass||"",host:o.host,port:o.port||"",path:o.path||"",projectId:o.projectId}}function iT(o,d=[]){return[o,d]}function sL(o,d){const[i,s]=o;return[i,[...s,d]]}function TD(o,d){const i=o[1];for(const s of i)if(d(s,s[0].type))return!0;return!1}function ZE(o){return Fa.__SENTRY__&&Fa.__SENTRY__.encodePolyfill?Fa.__SENTRY__.encodePolyfill(o):(new TextEncoder).encode(o)}function lL(o){const[d,i]=o;let s=JSON.stringify(d);function l(v){"string"==typeof s?s="string"==typeof v?s+v:[ZE(s),v]:s.push("string"==typeof v?ZE(v):v)}for(const v of i){const[M,F]=v;if(l(`\n${JSON.stringify(M)}\n`),"string"==typeof F||F instanceof Uint8Array)l(F);else{let j;try{j=JSON.stringify(F)}catch{j=JSON.stringify(Tv(F))}l(j)}}return"string"==typeof s?s:function cL(o){const d=o.reduce((l,v)=>l+v.length,0),i=new Uint8Array(d);let s=0;for(const l of o)i.set(l,s),s+=l.length;return i}(s)}function dL(o){const d="string"==typeof o.data?ZE(o.data):o.data;return[wf({type:"attachment",length:d.length,filename:o.filename,content_type:o.contentType,attachment_type:o.attachmentType}),d]}const uL={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function BN(o){return uL[o]}function $N(o){if(!o||!o.sdk)return;const{name:d,version:i}=o.sdk;return{name:d,version:i}}class X4 extends Error{constructor(d,i="warn"){super(d),this.message=d,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=i}}const fL="7";function vL(o,d,i){return d||`${function mL(o){return`${function UN(o){return`${o.protocol?`${o.protocol}:`:""}//${o.host}${o.port?`:${o.port}`:""}${o.path?`/${o.path}`:""}/api/`}(o)}${o.projectId}/envelope/`}(o)}?${function gL(o,d){return function wP(o){return Object.keys(o).map(d=>`${encodeURIComponent(d)}=${encodeURIComponent(o[d])}`).join("&")}({sentry_key:o.publicKey,sentry_version:fL,...d&&{sentry_client:`${d.name}/${d.version}`}})}(o,i)}`}const GN="Not capturing exception because it's already been captured.";class wL{constructor(d){if(this._options=d,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],d.dsn?this._dsn=function rL(o){const d="string"==typeof o?function iL(o){const d=tL.exec(o);if(!d)return void Qw(()=>{console.error(`Invalid Sentry Dsn: ${o}`)});const[i,s,l="",v="",M="",F=""]=d.slice(1);let j="",oe=F;const Se=oe.split("/");if(Se.length>1&&(j=Se.slice(0,-1).join("/"),oe=Se.pop()),oe){const $e=oe.match(/^\d+/);$e&&(oe=$e[0])}return VN({host:v,pass:l,path:j,projectId:oe,port:M,protocol:i,publicKey:s})}(o):VN(o);if(d&&function oL(o){if(!Kw)return!0;const{port:d,projectId:i,protocol:s}=o;return!(["protocol","publicKey","host","projectId"].find(M=>!o[M]&&(Jr.error(`Invalid Sentry Dsn: ${M} missing`),!0))||(i.match(/^\d+$/)?function nL(o){return"http"===o||"https"===o}(s)?d&&isNaN(parseInt(d,10))&&(Jr.error(`Invalid Sentry Dsn: Invalid port ${d}`),1):(Jr.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(Jr.error(`Invalid Sentry Dsn: Invalid projectId ${i}`),1)))}(d))return d}(d.dsn):El&&Jr.warn("No DSN provided, client will not send events."),this._dsn){const i=vL(this._dsn,d.tunnel,d._metadata?d._metadata.sdk:void 0);this._transport=d.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...d.transportOptions,url:i})}}captureException(d,i,s){const l=Tf();if(Jz(d))return El&&Jr.log(GN),l;const v={event_id:l,...i};return this._process(this.eventFromException(d,v).then(M=>this._captureEvent(M,v,s))),v.event_id}captureMessage(d,i,s,l){const v={event_id:Tf(),...s},M=nD(d)?d:String(d),F=iD(d)?this.eventFromMessage(M,i,v):this.eventFromException(d,v);return this._process(F.then(j=>this._captureEvent(j,v,l))),v.event_id}captureEvent(d,i,s){const l=Tf();if(i&&i.originalException&&Jz(i.originalException))return El&&Jr.log(GN),l;const v={event_id:l,...i};return this._process(this._captureEvent(d,v,(d.sdkProcessingMetadata||{}).capturedSpanScope||s)),v.event_id}captureSession(d){"string"!=typeof d.release?El&&Jr.warn("Discarded session because of missing or non-string release"):(this.sendSession(d),v9(d,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(d){const i=this._transport;return i?(this.emit("flush"),this._isClientDoneProcessing(d).then(s=>i.flush(d).then(l=>s&&l))):v5(!0)}close(d){return this.flush(d).then(i=>(this.getOptions().enabled=!1,this.emit("close"),i))}getEventProcessors(){return this._eventProcessors}addEventProcessor(d){this._eventProcessors.push(d)}init(){(this._isEnabled()||this._options.integrations.some(({name:d})=>d.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(d){return this._integrations[d]}addIntegration(d){const i=this._integrations[d.name];nN(this,d,this._integrations),i||tN(this,[d])}sendEvent(d,i={}){this.emit("beforeSendEvent",d,i);let s=function bL(o,d,i,s){const l=$N(i),v=o.type&&"replay_event"!==o.type?o.type:"event";!function _L(o,d){d&&(o.sdk=o.sdk||{},o.sdk.name=o.sdk.name||d.name,o.sdk.version=o.sdk.version||d.version,o.sdk.integrations=[...o.sdk.integrations||[],...d.integrations||[]],o.sdk.packages=[...o.sdk.packages||[],...d.packages||[]])}(o,i&&i.sdk);const M=function hL(o,d,i,s){const l=o.sdkProcessingMetadata&&o.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:o.event_id,sent_at:(new Date).toISOString(),...d&&{sdk:d},...!!i&&s&&{dsn:JE(s)},...l&&{trace:wf({...l})}}}(o,l,s,d);return delete o.sdkProcessingMetadata,iT(M,[[{type:v},o]])}(d,this._dsn,this._options._metadata,this._options.tunnel);for(const v of i.attachments||[])s=sL(s,dL(v));const l=this.sendEnvelope(s);l&&l.then(v=>this.emit("afterSendEvent",d,v),null)}sendSession(d){const i=function yL(o,d,i,s){const l=$N(i);return iT({sent_at:(new Date).toISOString(),...l&&{sdk:l},...!!s&&d&&{dsn:JE(d)}},["aggregates"in o?[{type:"sessions"},o]:[{type:"session"},o.toJSON()]])}(d,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(d,i,s){if(this._options.sendClientReports){const l="number"==typeof s?s:1,v=`${d}:${i}`;El&&Jr.log(`Recording outcome: "${v}"${l>1?` (${l} times)`:""}`),this._outcomes[v]=(this._outcomes[v]||0)+l}}on(d,i){const s=this._hooks[d]=this._hooks[d]||[];return s.push(i),()=>{const l=s.indexOf(i);l>-1&&s.splice(l,1)}}emit(d,...i){const s=this._hooks[d];s&&s.forEach(l=>l(...i))}sendEnvelope(d){return this.emit("beforeEnvelope",d),this._isEnabled()&&this._transport?this._transport.send(d).then(null,i=>(El&&Jr.error("Error while sending event:",i),i)):(El&&Jr.error("Transport disabled"),v5({}))}_setupIntegrations(){const{integrations:d}=this._options;this._integrations=function xP(o,d){const i={};return d.forEach(s=>{s&&nN(o,s,i)}),i}(this,d),tN(this,d)}_updateSessionFromEvent(d,i){let s=!1,l=!1;const v=i.exception&&i.exception.values;if(v){l=!0;for(const j of v){const oe=j.mechanism;if(oe&&!1===oe.handled){s=!0;break}}}const M="ok"===d.status;(M&&0===d.errors||M&&s)&&(v9(d,{...s&&{status:"crashed"},errors:d.errors||Number(l||s)}),this.captureSession(d))}_isClientDoneProcessing(d){return new Sf(i=>{let s=0;const v=setInterval(()=>{0==this._numProcessing?(clearInterval(v),i(!0)):(s+=1,d&&s>=d&&(clearInterval(v),i(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(d,i,s,l=eT()){const v=this.getOptions(),M=Object.keys(this._integrations);return!i.integrations&&M.length>0&&(i.integrations=M),this.emit("preprocessEvent",d,i),d.type||l.setLastEventId(d.event_id||i.event_id),$F(v,d,i,s,this,l).then(F=>{if(null===F)return F;const j={...l.getPropagationContext(),...s?s.getPropagationContext():void 0};if((!F.contexts||!F.contexts.trace)&&j){const{traceId:Se,spanId:$e,parentSpanId:bt,dsc:Lt}=j;F.contexts={trace:wf({trace_id:Se,span_id:$e,parent_span_id:bt}),...F.contexts};const dn=Lt||EN(Se,this);F.sdkProcessingMetadata={dynamicSamplingContext:dn,...F.sdkProcessingMetadata}}return F})}_captureEvent(d,i={},s){return this._processEvent(d,i,s).then(l=>l.event_id,l=>{if(El){const v=l;"log"===v.logLevel?Jr.log(v.message):Jr.warn(v)}})}_processEvent(d,i,s){const l=this.getOptions(),{sampleRate:v}=l,M=HN(d),F=jN(d),j=d.type||"error",oe=`before send for type \`${j}\``,Se=typeof v>"u"?void 0:function CL(o){if("boolean"==typeof o)return Number(o);const d="string"==typeof o?parseFloat(o):o;if(!("number"!=typeof d||isNaN(d)||d<0||d>1))return d;El&&Jr.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`)}(v);if(F&&"number"==typeof Se&&Math.random()>Se)return this.recordDroppedEvent("sample_rate","error",d),XE(new X4(`Discarding event because it's not included in the random sample (sampling rate = ${v})`,"log"));const $e="replay_event"===j?"replay":j;return this._prepareEvent(d,i,s,(d.sdkProcessingMetadata||{}).capturedSpanIsolationScope).then(dn=>{if(null===dn)throw this.recordDroppedEvent("event_processor",$e,d),new X4("An event processor returned `null`, will not send event.","log");if(i.data&&!0===i.data.__sentry__)return dn;const jn=function SL(o,d,i,s){const{beforeSend:l,beforeSendTransaction:v,beforeSendSpan:M}=d;if(jN(i)&&l)return l(i,s);if(HN(i)){if(i.spans&&M){const F=[];for(const j of i.spans){const oe=M(j);oe?F.push(oe):o.recordDroppedEvent("before_send","span")}i.spans=F}if(v)return i.spans&&(i.sdkProcessingMetadata={...i.sdkProcessingMetadata,spanCountBeforeProcessing:i.spans.length}),v(i,s)}return i}(this,l,dn,i);return function TL(o,d){const i=`${d} must return \`null\` or a valid event.`;if(UE(o))return o.then(s=>{if(!f9(s)&&null!==s)throw new X4(i);return s},s=>{throw new X4(`${d} rejected with ${s}`)});if(!f9(o)&&null!==o)throw new X4(i);return o}(jn,oe)}).then(dn=>{if(null===dn)throw this.recordDroppedEvent("before_send",$e,d),M&&this.recordDroppedEvent("before_send","span",1+(d.spans||[]).length),new X4(`${oe} returned \`null\`, will not send event.`,"log");const Jn=s&&s.getSession();if(!M&&Jn&&this._updateSessionFromEvent(Jn,dn),M){const ki=(dn.sdkProcessingMetadata&&dn.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(dn.spans?dn.spans.length:0);ki>0&&this.recordDroppedEvent("before_send","span",ki)}const jn=dn.transaction_info;if(M&&jn&&dn.transaction!==d.transaction){const zi="custom";dn.transaction_info={...jn,source:zi}}return this.sendEvent(dn,i),dn}).then(null,dn=>{throw dn instanceof X4?dn:(this.captureException(dn,{data:{__sentry__:!0},originalException:dn}),new X4(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${dn}`))})}_process(d){this._numProcessing++,d.then(i=>(this._numProcessing--,i),i=>(this._numProcessing--,i))}_clearOutcomes(){const d=this._outcomes;return this._outcomes={},Object.entries(d).map(([i,s])=>{const[l,v]=i.split(":");return{reason:l,category:v,quantity:s}})}_flushOutcomes(){El&&Jr.log("Flushing outcomes...");const d=this._clearOutcomes();if(0===d.length)return void(El&&Jr.log("No outcomes to send"));if(!this._dsn)return void(El&&Jr.log("No dsn provided, will not send outcomes"));El&&Jr.log("Sending outcomes:",d);const i=function pL(o,d,i){return iT(d?{dsn:d}:{},[[{type:"client_report"},{timestamp:i||Zw(),discarded_events:o}]])}(d,this._options.tunnel&&JE(this._dsn));this.sendEnvelope(i)}}function jN(o){return void 0===o.type}function HN(o){return"transaction"===o.type}const oT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function SD(o,d){const i=ED(o,d),s={type:d&&d.name,value:OL(d)};return i.length&&(s.stacktrace={frames:i}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function kD(o,d){return{exception:{values:[SD(o,d)]}}}function ED(o,d){const i=d.stacktrace||d.stack||"",s=function IL(o){return o&&xL.test(o.message)?1:0}(d),l=function DL(o){return"number"==typeof o.framesToPop?o.framesToPop:0}(d);try{return o(i,s,l)}catch{}return[]}const xL=/Minified React error #\d+;/i;function OL(o){const d=o&&o.message;return d?d.error&&"string"==typeof d.error.message?d.error.message:d:"No error message"}function MD(o,d,i,s,l){let v;if(Uz(d)&&d.error)return kD(o,d.error);if(Gz(d)||function pP(o){return p9(o,"DOMException")}(d)){const M=d;if("stack"in d)v=kD(o,d);else{const F=M.name||(Gz(M)?"DOMError":"DOMException"),j=M.message?`${F}: ${M.message}`:F;v=xD(o,j,i,s),sD(v,j)}return"code"in M&&(v.tags={...v.tags,"DOMException.code":`${M.code}`}),v}return tD(d)?kD(o,d):f9(d)||$E(d)?(v=function ML(o,d,i,s){const l=B1(),v=l&&l.getOptions().normalizeDepth,M=function PL(o){for(const d in o)if(Object.prototype.hasOwnProperty.call(o,d)){const i=o[d];if(i instanceof Error)return i}}(d),F={__serialized__:_N(d,v)};if(M)return{exception:{values:[SD(o,M)]},extra:F};const j={exception:{values:[{type:$E(d)?d.constructor.name:s?"UnhandledRejection":"Error",value:AL(d,{isUnhandledRejection:s})}]},extra:F};if(i){const oe=ED(o,i);oe.length&&(j.exception.values[0].stacktrace={frames:oe})}return j}(o,d,i,l),Jw(v,{synthetic:!0}),v):(v=xD(o,d,i,s),sD(v,`${d}`,void 0),Jw(v,{synthetic:!0}),v)}function xD(o,d,i,s){const l={};if(s&&i){const v=ED(o,i);v.length&&(l.exception={values:[{value:d,stacktrace:{frames:v}}]})}if(nD(d)){const{__sentry_template_string__:v,__sentry_template_values__:M}=d;return l.logentry={message:v,params:M},l}return l.message=d,l}function AL(o,{isUnhandledRejection:d}){const i=function TP(o,d=40){const i=Object.keys(Xz(o));i.sort();const s=i[0];if(!s)return"[object has no keys]";if(s.length>=d)return g9(s,d);for(let l=i.length;l>0;l--){const v=i.slice(0,l).join(", ");if(!(v.length>d))return l===i.length?v:g9(v,d)}return""}(o),s=d?"promise rejection":"exception";return Uz(o)?`Event \`ErrorEvent\` captured as ${s} with message \`${o.message}\``:$E(o)?`Event \`${function RL(o){try{const d=Object.getPrototypeOf(o);return d?d.constructor.name:void 0}catch{}}(o)}\` (type=${o.type}) captured as ${s}`:`Object captured as ${s} with keys: ${i}`}const Ml=Fa;let ID=0;function YN(){return ID>0}function b9(o,d={},i){if("function"!=typeof o)return o;try{const l=o.__sentry_wrapped__;if(l)return l;if(oD(o))return o}catch{return o}const s=function(){const l=Array.prototype.slice.call(arguments);try{i&&"function"==typeof i&&i.apply(this,arguments);const v=l.map(M=>b9(M,d));return o.apply(this,v)}catch(v){throw function FL(){ID++,setTimeout(()=>{ID--})}(),function eF(...o){const i=uD(HE());if(2===o.length){const[s,l]=o;return s?i.withSetScope(s,l):i.withScope(l)}i.withScope(o[0])}(M=>{M.addEventProcessor(F=>(d.mechanism&&(sD(F,void 0,void 0),Jw(F,d.mechanism)),F.extra={...F.extra,arguments:l},F)),DN(v)}),v}};try{for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(s[l]=o[l])}catch{}qz(s,o),g5(o,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>o.name})}catch{}return s}class BL extends wL{constructor(d){const i={parentSpanIsAlwaysRootSpan:!0,...d};(function kL(o,d,i=[d],s="npm"){const l=o._metadata||{};l.sdk||(l.sdk={name:`sentry.javascript.${d}`,packages:i.map(v=>({name:`${s}:@sentry/${v}`,version:f5})),version:f5}),o._metadata=l})(i,"browser",["browser"],Ml.SENTRY_SDK_SOURCE||"npm"),super(i),i.sendClientReports&&Ml.document&&Ml.document.addEventListener("visibilitychange",()=>{"hidden"===Ml.document.visibilityState&&this._flushOutcomes()})}eventFromException(d,i){return function zL(o,d,i,s){const v=MD(o,d,i&&i.syntheticException||void 0,s);return Jw(v),v.level="error",i&&i.event_id&&(v.event_id=i.event_id),v5(v)}(this._options.stackParser,d,i,this._options.attachStacktrace)}eventFromMessage(d,i="info",s){return function NL(o,d,i="info",s,l){const M=xD(o,d,s&&s.syntheticException||void 0,l);return M.level=i,s&&s.event_id&&(M.event_id=s.event_id),v5(M)}(this._options.stackParser,d,i,s,this._options.attachStacktrace)}captureUserFeedback(d){if(!this._isEnabled())return void(oT&&Jr.warn("SDK not enabled, will not capture user feedback."));const i=function LL(o,{metadata:d,tunnel:i,dsn:s}){const l={event_id:o.event_id,sent_at:(new Date).toISOString(),...d&&d.sdk&&{sdk:{name:d.sdk.name,version:d.sdk.version}},...!!i&&!!s&&{dsn:JE(s)}},v=function VL(o){return[{type:"user_report"},o]}(o);return iT(l,[v])}(d,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(i)}_prepareEvent(d,i,s){return d.platform=d.platform||"javascript",super._prepareEvent(d,i,s)}}const $L=1e3;let qN,DD,OD;function GL(){if(!Kh.document)return;const o=lg.bind(null,"dom"),d=XN(o,!0);Kh.document.addEventListener("click",d,!1),Kh.document.addEventListener("keypress",d,!1),["EventTarget","Node"].forEach(i=>{const s=Kh[i]&&Kh[i].prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||(X0(s,"addEventListener",function(l){return function(v,M,F){if("click"===v||"keypress"==v)try{const j=this,oe=j.__sentry_instrumentation_handlers__=j.__sentry_instrumentation_handlers__||{},Se=oe[v]=oe[v]||{refCount:0};if(!Se.handler){const $e=XN(o);Se.handler=$e,l.call(this,v,$e,F)}Se.refCount++}catch{}return l.call(this,v,M,F)}}),X0(s,"removeEventListener",function(l){return function(v,M,F){if("click"===v||"keypress"==v)try{const j=this,oe=j.__sentry_instrumentation_handlers__||{},Se=oe[v];Se&&(Se.refCount--,Se.refCount<=0&&(l.call(this,v,Se.handler,F),Se.handler=void 0,delete oe[v]),0===Object.keys(oe).length&&delete j.__sentry_instrumentation_handlers__)}catch{}return l.call(this,v,M,F)}}))})}function XN(o,d=!1){return i=>{if(!i||i._sentryCaptured)return;const s=function YL(o){try{return o.target}catch{return null}}(i);if(function HL(o,d){return!("keypress"!==o||d&&d.tagName&&("INPUT"===d.tagName||"TEXTAREA"===d.tagName||d.isContentEditable))}(i.type,s))return;g5(i,"_sentryCaptured",!0),s&&!s._sentryId&&g5(s,"_sentryId",Tf());const l="keypress"===i.type?"input":i.type;(function jL(o){if(o.type!==DD)return!1;try{if(!o.target||o.target._sentryId!==OD)return!1}catch{}return!0})(i)||(o({event:i,name:l,global:d}),DD=i.type,OD=s?s._sentryId:void 0),clearTimeout(qN),qN=Kh.setTimeout(()=>{OD=void 0,DD=void 0},$L)}}const rT="__sentry_xhr_v3__";function XL(){if(!Kh.XMLHttpRequest)return;const o=XMLHttpRequest.prototype;o.open=new Proxy(o.open,{apply(d,i,s){const l=1e3*z8(),v=O8(s[0])?s[0].toUpperCase():void 0,M=function WL(o){if(O8(o))return o;try{return o.toString()}catch{}}(s[1]);if(!v||!M)return d.apply(i,s);i[rT]={method:v,url:M,request_headers:{}},"POST"===v&&M.match(/sentry_key/)&&(i.__sentry_own_request__=!0);const F=()=>{const j=i[rT];if(j&&4===i.readyState){try{j.status_code=i.status}catch{}lg("xhr",{endTimestamp:1e3*z8(),startTimestamp:l,xhr:i})}};return"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?i.onreadystatechange=new Proxy(i.onreadystatechange,{apply:(j,oe,Se)=>(F(),j.apply(oe,Se))}):i.addEventListener("readystatechange",F),i.setRequestHeader=new Proxy(i.setRequestHeader,{apply(j,oe,Se){const[$e,bt]=Se,Lt=oe[rT];return Lt&&O8($e)&&O8(bt)&&(Lt.request_headers[$e.toLowerCase()]=bt),j.apply(oe,Se)}}),d.apply(i,s)}}),o.send=new Proxy(o.send,{apply(d,i,s){const l=i[rT];return l?(void 0!==s[0]&&(l.body=s[0]),lg("xhr",{startTimestamp:1e3*z8(),xhr:i}),d.apply(i,s)):d.apply(i,s)}})}const KL=100;function C5(o,d){const i=B1(),s=eT();if(!i)return;const{beforeBreadcrumb:l=null,maxBreadcrumbs:v=KL}=i.getOptions();if(v<=0)return;const F={timestamp:Zw(),...o},j=l?Qw(()=>l(F,d)):F;null!==j&&(i.emit&&i.emit("beforeAddBreadcrumb",j,d),s.addBreadcrumb(j,v))}function JL(){"console"in Fa&&eD.forEach(function(o){o in Fa.console&&X0(Fa.console,o,function(d){return BE[o]=d,function(...i){lg("console",{args:i,level:o});const l=BE[o];l&&l.apply(Fa.console,i)}})})}function AD(o,d){return!!o&&"object"==typeof o&&!!o[d]}function KN(o){return"string"==typeof o?o:o?AD(o,"url")?o.url:o.toString?o.toString():"":""}const iV=["fatal","error","warning","log","info","debug"];function oV(o){return"warn"===o?"warning":iV.includes(o)?o:"log"}function RD(o){if(!o)return{};const d=o.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!d)return{};const i=d[6]||"",s=d[8]||"";return{host:d[4],path:d[5],protocol:d[2],search:i,hash:s,relative:d[5]+i+s}}const sV=(o={})=>{const d={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...o};return{name:"Breadcrumbs",setup(i){d.console&&function QL(o){const d="console";y5(d,o),b5(d,JL)}(function cV(o){return function(i){if(B1()!==o)return;const s={category:"console",data:{arguments:i.args,logger:"console"},level:oV(i.level),message:Yz(i.args," ")};if("assert"===i.level){if(!1!==i.args[0])return;s.message=`Assertion failed: ${Yz(i.args.slice(1)," ")||"console.assert"}`,s.data.arguments=i.args.slice(1)}C5(s,{input:i.args,level:i.level})}}(i)),d.dom&&function UL(o){y5("dom",o),b5("dom",GL)}(function lV(o,d){return function(s){if(B1()!==o)return;let l,v,M="object"==typeof d?d.serializeAttribute:void 0,F="object"==typeof d&&"number"==typeof d.maxStringLength?d.maxStringLength:void 0;F&&F>1024&&(oT&&Jr.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${F} was configured. Sentry will use 1024 instead.`),F=1024),"string"==typeof M&&(M=[M]);try{const oe=s.event,Se=function pV(o){return!!o&&!!o.target}(oe)?oe.target:oe;l=Hz(Se,{keyAttrs:M,maxStringLength:F}),v=function bP(o){if(!m9.HTMLElement)return null;let d=o;for(let s=0;s<5;s++){if(!d)return null;if(d instanceof HTMLElement){if(d.dataset.sentryComponent)return d.dataset.sentryComponent;if(d.dataset.sentryElement)return d.dataset.sentryElement}d=d.parentNode}return null}(Se)}catch{l="<unknown>"}if(0===l.length)return;const j={category:`ui.${s.name}`,message:l};v&&(j.data={"ui.component_name":v}),C5(j,{event:s.event,name:s.name,global:s.global})}}(i,d.dom)),d.xhr&&function qL(o){y5("xhr",o),b5("xhr",XL)}(function dV(o){return function(i){if(B1()!==o)return;const{startTimestamp:s,endTimestamp:l}=i,v=i.xhr[rT];if(!s||!l||!v)return;const{method:M,url:F,status_code:j,body:oe}=v;C5({category:"xhr",data:{method:M,url:F,status_code:j},type:"http"},{xhr:i.xhr,input:oe,startTimestamp:s,endTimestamp:l})}}(i)),d.fetch&&function ZL(o,d){const i="fetch";y5(i,o),b5(i,()=>function WN(o,d=!1){d&&!function JF(){if("string"==typeof EdgeRuntime)return!0;if(!CD())return!1;if(wD(WE.fetch))return!0;let o=!1;const d=WE.document;if(d&&"function"==typeof d.createElement)try{const i=d.createElement("iframe");i.hidden=!0,d.head.appendChild(i),i.contentWindow&&i.contentWindow.fetch&&(o=wD(i.contentWindow.fetch)),d.head.removeChild(i)}catch(i){Kw&&Jr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return o}()||X0(Fa,"fetch",function(i){return function(...s){const{method:l,url:v}=function nV(o){if(0===o.length)return{method:"GET",url:""};if(2===o.length){const[i,s]=o;return{url:KN(i),method:AD(s,"method")?String(s.method).toUpperCase():"GET"}}const d=o[0];return{url:KN(d),method:AD(d,"method")?String(d.method).toUpperCase():"GET"}}(s),M={args:s,fetchData:{method:l,url:v},startTimestamp:1e3*z8()};o||lg("fetch",{...M});const F=(new Error).stack;return i.apply(Fa,s).then(function(){var j=(0,$.A)(function*(oe){return o?o(oe):lg("fetch",{...M,endTimestamp:1e3*z8(),response:oe}),oe});return function(oe){return j.apply(this,arguments)}}(),j=>{throw lg("fetch",{...M,endTimestamp:1e3*z8(),error:j}),tD(j)&&void 0===j.stack&&(j.stack=F,g5(j,"framesToPop",1)),j})}})}(void 0,d))}(function uV(o){return function(i){if(B1()!==o)return;const{startTimestamp:s,endTimestamp:l}=i;if(l&&(!i.fetchData.url.match(/sentry_key/)||"POST"!==i.fetchData.method))if(i.error)C5({category:"fetch",data:i.fetchData,level:"error",type:"http"},{data:i.error,input:i.args,startTimestamp:s,endTimestamp:l});else{const v=i.response;C5({category:"fetch",data:{...i.fetchData,status_code:v&&v.status},type:"http"},{input:i.args,response:v,startTimestamp:s,endTimestamp:l})}}}(i)),d.history&&LN(function hV(o){return function(i){if(B1()!==o)return;let s=i.from,l=i.to;const v=RD(Ml.location.href);let M=s?RD(s):void 0;const F=RD(l);(!M||!M.path)&&(M=v),v.protocol===F.protocol&&v.host===F.host&&(l=F.relative),v.protocol===M.protocol&&v.host===M.host&&(s=M.relative),C5({category:"navigation",data:{from:s,to:l}})}}(i)),d.sentry&&i.on("beforeSendEvent",function aV(o){return function(i){B1()===o&&C5({category:"sentry."+("transaction"===i.type?"transaction":"event"),event_id:i.event_id,level:i.level,message:yv(i)},{event:i})}}(i))}}},fV=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],gV=(o={})=>{const d={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...o};return{name:"BrowserApiErrors",setupOnce(){d.setTimeout&&X0(Ml,"setTimeout",QN),d.setInterval&&X0(Ml,"setInterval",QN),d.requestAnimationFrame&&X0(Ml,"requestAnimationFrame",vV),d.XMLHttpRequest&&"XMLHttpRequest"in Ml&&X0(XMLHttpRequest.prototype,"send",_V);const i=d.eventTarget;i&&(Array.isArray(i)?i:fV).forEach(yV)}}};function QN(o){return function(...d){return d[0]=b9(d[0],{mechanism:{data:{function:wv(o)},handled:!1,type:"instrument"}}),o.apply(this,d)}}function vV(o){return function(d){return o.apply(this,[b9(d,{mechanism:{data:{function:"requestAnimationFrame",handler:wv(o)},handled:!1,type:"instrument"}})])}}function _V(o){return function(...d){const i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(l=>{l in i&&"function"==typeof i[l]&&X0(i,l,function(v){const M={mechanism:{data:{function:l,handler:wv(v)},handled:!1,type:"instrument"}},F=oD(v);return F&&(M.mechanism.data.handler=wv(F)),b9(v,M)})}),o.apply(this,d)}}function yV(o){const i=Ml[o]&&Ml[o].prototype;!i||!i.hasOwnProperty||!i.hasOwnProperty("addEventListener")||(X0(i,"addEventListener",function(s){return function(l,v,M){try{"function"==typeof v.handleEvent&&(v.handleEvent=b9(v.handleEvent,{mechanism:{data:{function:"handleEvent",handler:wv(v),target:o},handled:!1,type:"instrument"}}))}catch{}return s.apply(this,[l,b9(v,{mechanism:{data:{function:"addEventListener",handler:wv(v),target:o},handled:!1,type:"instrument"}}),M])}}),X0(i,"removeEventListener",function(s){return function(l,v,M){const F=v;try{const j=F&&F.__sentry_wrapped__;j&&s.call(this,l,j,M)}catch{}return s.call(this,l,F,M)}}))}let tM=null;function CV(){tM=Fa.onerror,Fa.onerror=function(o,d,i,s,l){return lg("error",{column:s,error:l,line:i,msg:o,url:d}),!(!tM||tM.__SENTRY_LOADER__)&&tM.apply(this,arguments)},Fa.onerror.__SENTRY_INSTRUMENTED__=!0}let nM=null;function TV(){nM=Fa.onunhandledrejection,Fa.onunhandledrejection=function(o){return lg("unhandledrejection",o),!(nM&&!nM.__SENTRY_LOADER__)||nM.apply(this,arguments)},Fa.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const kV=(o={})=>{const d={onerror:!0,onunhandledrejection:!0,...o};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(i){d.onerror&&(function EV(o){!function bV(o){const d="error";y5(d,o),b5(d,CV)}(d=>{const{stackParser:i,attachStacktrace:s}=ZN();if(B1()!==o||YN())return;const{msg:l,url:v,line:M,column:F,error:j}=d,oe=function DV(o,d,i,s){const l=o.exception=o.exception||{},v=l.values=l.values||[],M=v[0]=v[0]||{},F=M.stacktrace=M.stacktrace||{},j=F.frames=F.frames||[],oe=isNaN(parseInt(s,10))?void 0:s,Se=isNaN(parseInt(i,10))?void 0:i,$e=O8(d)&&d.length>0?d:function yP(){try{return m9.document.location.href}catch{return""}}();return 0===j.length&&j.push({colno:oe,filename:$e,function:q4,in_app:!0,lineno:Se}),o}(MD(i,j||l,void 0,s,!1),v,M,F);oe.level="error",ON(oe,{originalException:j,mechanism:{handled:!1,type:"onerror"}})})}(i),JN("onerror")),d.onunhandledrejection&&(function MV(o){!function wV(o){const d="unhandledrejection";y5(d,o),b5(d,TV)}(d=>{const{stackParser:i,attachStacktrace:s}=ZN();if(B1()!==o||YN())return;const l=function xV(o){if(iD(o))return o;try{if("reason"in o)return o.reason;if("detail"in o&&"reason"in o.detail)return o.detail.reason}catch{}return o}(d),v=iD(l)?function IV(o){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}}(l):MD(i,l,void 0,s,!0);v.level="error",ON(v,{originalException:l,mechanism:{handled:!1,type:"onunhandledrejection"}})})}(i),JN("onunhandledrejection"))}}};function JN(o){oT&&Jr.log(`Global Handler attached: ${o}`)}function ZN(){const o=B1();return o&&o.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function zV(o,d,i=250,s,l,v,M){if(!(v.exception&&v.exception.values&&M&&m5(M.originalException,Error)))return;const F=v.exception.values.length>0?v.exception.values[v.exception.values.length-1]:void 0;F&&(v.exception.values=function NV(o,d){return o.map(i=>(i.value&&(i.value=g9(i.value,d)),i))}(PD(o,d,l,M.originalException,s,v.exception.values,F,0),i))}function PD(o,d,i,s,l,v,M,F){if(v.length>=i+1)return v;let j=[...v];if(m5(s[l],Error)){eA(M,F);const oe=o(d,s[l]),Se=j.length;tA(oe,l,Se,F),j=PD(o,d,i,s[l],l,[oe,...j],oe,Se)}return Array.isArray(s.errors)&&s.errors.forEach((oe,Se)=>{if(m5(oe,Error)){eA(M,F);const $e=o(d,oe),bt=j.length;tA($e,`errors[${Se}]`,bt,F),j=PD(o,d,i,oe,l,[$e,...j],$e,bt)}}),j}function eA(o,d){o.mechanism=o.mechanism||{type:"generic",handled:!0},o.mechanism={...o.mechanism,..."AggregateError"===o.type&&{is_exception_group:!0},exception_id:d}}function tA(o,d,i,s){o.mechanism=o.mechanism||{type:"generic",handled:!0},o.mechanism={...o.mechanism,type:"chained",source:d,exception_id:i,parent_id:s}}const FV=(o={})=>{const d=o.limit||5,i=o.key||"cause";return{name:"LinkedErrors",preprocessEvent(s,l,v){const M=v.getOptions();zV(SD,M.stackParser,M.maxValueLength,i,d,s,l)}}};function C9(o,d,i,s){const l={filename:o,function:"<anonymous>"===d?q4:d,in_app:!0};return void 0!==i&&(l.lineno=i),void 0!==s&&(l.colno=s),l}const GV=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,jV=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,HV=/\((\S*)(?::(\d+))(?::(\d+))\)/,YV=[30,o=>{const d=GV.exec(o);if(d){const[,s,l,v]=d;return C9(s,q4,+l,+v)}const i=jV.exec(o);if(i){if(i[2]&&0===i[2].indexOf("eval")){const M=HV.exec(i[2]);M&&(i[2]=M[1],i[3]=M[2],i[4]=M[3])}const[l,v]=nA(i[1]||q4,i[2]);return C9(v,l,i[3]?+i[3]:void 0,i[4]?+i[4]:void 0)}}],qV=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,XV=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,WV=[50,o=>{const d=qV.exec(o);if(d){if(d[3]&&d[3].indexOf(" > eval")>-1){const v=XV.exec(d[3]);v&&(d[1]=d[1]||"eval",d[3]=v[1],d[4]=v[2],d[5]="")}let s=d[3],l=d[1]||q4;return[l,s]=nA(l,s),C9(s,l,d[4]?+d[4]:void 0,d[5]?+d[5]:void 0)}}],ZV=pN(YV,WV),nA=(o,d)=>{const i=-1!==o.indexOf("safari-extension"),s=-1!==o.indexOf("safari-web-extension");return i||s?[-1!==o.indexOf("@")?o.split("@")[0]:q4,i?`safari-extension:${d}`:`safari-web-extension:${d}`]:[o,d]},eB=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,iM={};function iA(o){iM[o]=void 0}const nB=6e4;const aB=64;function lB(o,d,i=function tB(o){const d=[];function s(M){return d.splice(d.indexOf(M),1)[0]||Promise.resolve(void 0)}return{$:d,add:function l(M){if(!function i(){return void 0===o||d.length<o}())return XE(new X4("Not adding Promise because buffer limit was reached."));const F=M();return-1===d.indexOf(F)&&d.push(F),F.then(()=>s(F)).then(null,()=>s(F).then(null,()=>{})),F},drain:function v(M){return new Sf((F,j)=>{let oe=d.length;if(!oe)return F(!0);const Se=setTimeout(()=>{M&&M>0&&F(!1)},M);d.forEach($e=>{v5($e).then(()=>{--oe||(clearTimeout(Se),F(!0))},j)})})}}}(o.bufferSize||aB)){let s={};return{send:function v(M){const F=[];if(TD(M,($e,bt)=>{const Lt=BN(bt);if(function rB(o,d,i=Date.now()){return function oB(o,d){return o[d]||o.all||0}(o,d)>i}(s,Lt)){const dn=oA($e,bt);o.recordDroppedEvent("ratelimit_backoff",Lt,dn)}else F.push($e)}),0===F.length)return v5({});const j=iT(M[0],F),oe=$e=>{TD(j,(bt,Lt)=>{const dn=oA(bt,Lt);o.recordDroppedEvent($e,BN(Lt),dn)})};return i.add(()=>d({body:lL(j)}).then($e=>(void 0!==$e.statusCode&&($e.statusCode<200||$e.statusCode>=300)&&El&&Jr.warn(`Sentry responded with status code ${$e.statusCode} to sent event.`),s=function sB(o,{statusCode:d,headers:i},s=Date.now()){const l={...o},v=i&&i["x-sentry-rate-limits"],M=i&&i["retry-after"];if(v)for(const F of v.trim().split(",")){const[j,oe,,,Se]=F.split(":",5),$e=parseInt(j,10),bt=1e3*(isNaN($e)?60:$e);if(oe)for(const Lt of oe.split(";"))"metric_bucket"===Lt?(!Se||Se.split(";").includes("custom"))&&(l[Lt]=s+bt):l[Lt]=s+bt;else l.all=s+bt}else M?l.all=s+function iB(o,d=Date.now()){const i=parseInt(`${o}`,10);if(!isNaN(i))return 1e3*i;const s=Date.parse(`${o}`);return isNaN(s)?nB:s-d}(M,s):429===d&&(l.all=s+6e4);return l}(s,$e),$e),$e=>{throw oe("network_error"),$e})).then($e=>$e,$e=>{if($e instanceof X4)return El&&Jr.error("Skipped sending event because buffer is full."),oe("queue_overflow"),v5({});throw $e})},flush:M=>i.drain(M)}}function oA(o,d){if("event"===d||"transaction"===d)return Array.isArray(o)?o[1]:void 0}function cB(o,d=function FD(o){const d=iM[o];if(d)return d;let i=Kh[o];if(wD(i))return iM[o]=i.bind(Kh);const s=Kh.document;if(s&&"function"==typeof s.createElement)try{const l=s.createElement("iframe");l.hidden=!0,s.head.appendChild(l);const v=l.contentWindow;v&&v[o]&&(i=v[o]),s.head.removeChild(l)}catch(l){eB&&Jr.warn(`Could not create sandbox iframe for ${o} check, bailing to window.${o}: `,l)}return i&&(iM[o]=i.bind(Kh))}("fetch")){let i=0,s=0;return lB(o,function l(v){const M=v.body.length;i+=M,s++;const F={body:v.body,method:"POST",referrerPolicy:"origin",headers:o.headers,keepalive:i<=6e4&&s<15,...o.fetchOptions};if(!d)return iA("fetch"),XE("No fetch implementation available");try{return d(o.url,F).then(j=>(i-=M,s--,{statusCode:j.status,headers:{"x-sentry-rate-limits":j.headers.get("X-Sentry-Rate-Limits"),"retry-after":j.headers.get("Retry-After")}}))}catch(j){return iA("fetch"),i-=M,s--,XE(j)}})}function pB(o={}){const d=function uB(o={}){const d={defaultIntegrations:[OP(),nF(),gV(),sV(),kV(),FV(),sF(),{name:"HttpContext",preprocessEvent(o){if(!Ml.navigator&&!Ml.location&&!Ml.document)return;const d=o.request&&o.request.url||Ml.location&&Ml.location.href,{referrer:i}=Ml.document||{},{userAgent:s}=Ml.navigator||{},l={...o.request&&o.request.headers,...i&&{Referer:i},...s&&{"User-Agent":s}},v={...o.request,...d&&{url:d},headers:l};o.request=v}}],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Ml.SENTRY_RELEASE&&Ml.SENTRY_RELEASE.id?Ml.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==o.defaultIntegrations&&delete o.defaultIntegrations,{...d,...o}}(o);if(function hB(){const o=typeof Ml.window<"u"&&Ml;if(!o)return!1;const i=o[o.chrome?"chrome":"browser"],s=i&&i.runtime&&i.runtime.id,l=Ml.location&&Ml.location.href||"",M=!!s&&Ml===Ml.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(j=>l.startsWith(`${j}//`));return!(!s||M||typeof o.nw<"u")}())return void Qw(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});oT&&(CD()||Jr.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const i={...d,stackParser:iF(d.stackParser||ZV),integrations:MP(d),transport:d.transport||cB},s=function dF(o,d){!0===d.debug&&(El?Jr.enable():Qw(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Cv().update(d.initialScope);const s=new o(d);return function uF(o){Cv().setClient(o)}(s),s.init(),s}(BL,i);return d.autoSessionTracking&&function fB(){typeof Ml.document>"u"?oT&&Jr.warn("Session tracking in non-browser environment with @sentry/browser is not supported."):(NN({ignoreDuration:!0}),PN(),LN(({from:o,to:d})=>{void 0!==o&&o!==d&&(NN({ignoreDuration:!0}),PN())}))}(),s}class yB{constructor(d,i,s){this.auth=null,this.messaging=null,this.appCheck=null,this.auth=d.getImmediate({optional:!0}),this.messaging=i.getImmediate({optional:!0}),this.auth||d.get().then(l=>this.auth=l,()=>{}),this.messaging||i.get().then(l=>this.messaging=l,()=>{}),this.appCheck||s.get().then(l=>this.appCheck=l,()=>{})}getAuthToken(){var d=this;return(0,$.A)(function*(){if(d.auth)try{const i=yield d.auth.getToken();return i?.accessToken}catch{return}})()}getMessagingToken(){var d=this;return(0,$.A)(function*(){if(d.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return yield d.messaging.getToken()}catch{return}})()}getAppCheckToken(d){var i=this;return(0,$.A)(function*(){if(i.appCheck){const s=d?yield i.appCheck.getLimitedUseToken():yield i.appCheck.getToken();return s.error?null:s.token}return null})()}getContext(d){var i=this;return(0,$.A)(function*(){return{authToken:yield i.getAuthToken(),messagingToken:yield i.getMessagingToken(),appCheckToken:yield i.getAppCheckToken(d)}})()}}const BD="us-central1";class CB{constructor(d,i,s,l,v=BD,M){this.app=d,this.fetchImpl=M,this.emulatorOrigin=null,this.contextProvider=new yB(i,s,l),this.cancelAllRequests=new Promise(F=>{this.deleteService=()=>Promise.resolve(F())});try{const F=new URL(v);this.customDomain=F.origin+("/"===F.pathname?"":F.pathname),this.region=BD}catch{this.customDomain=null,this.region=v}}_delete(){return this.deleteService()}_url(d){const i=this.app.options.projectId;return null!==this.emulatorOrigin?`${this.emulatorOrigin}/${i}/${this.region}/${d}`:null!==this.customDomain?`${this.customDomain}/${d}`:`https://${this.region}-${i}.cloudfunctions.net/${d}`}}const lA="@firebase/functions";!function DB(o,d){(0,I8.om)(new AI.uA("functions",(s,{instanceIdentifier:l})=>{const v=s.getProvider("app").getImmediate(),M=s.getProvider("auth-internal"),F=s.getProvider("messaging-internal"),j=s.getProvider("app-check-internal");return new CB(v,M,F,j,l,o)},"PUBLIC").setMultipleInstances(!0)),(0,I8.KO)(lA,"0.11.8",d),(0,I8.KO)(lA,"0.11.8","esm2017")}(fetch.bind(self));var BB=C(2781);new n.nKC("NZ_DRAWER_DATA");var aT,fA="https://js.stripe.com/v3",h$=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,mA="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",gA=function(d){var i=d&&!d.advancedFraudSignals?"?advancedFraudSignals=false":"",s=document.createElement("script");s.src="".concat(fA).concat(i);var l=document.head||document.body;if(!l)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return l.appendChild(s),s},sT=null,sM=null,aM=null,vA=!1,_A=function(){return aT||(aT=(d=null,null!==sT?sT:(sT=new Promise(function(i,s){if(typeof window>"u"||typeof document>"u")i(null);else if(window.Stripe&&d&&console.warn(mA),window.Stripe)i(window.Stripe);else try{var l=function(){for(var d=document.querySelectorAll('script[src^="'.concat(fA,'"]')),i=0;i<d.length;i++){var s=d[i];if(h$.test(s.src))return s}return null}();if(l&&d)console.warn(mA);else if(l){if(l&&null!==aM&&null!==sM){var v;l.removeEventListener("load",aM),l.removeEventListener("error",sM),null===(v=l.parentNode)||void 0===v||v.removeChild(l),l=gA(d)}}else l=gA(d);aM=function(d,i){return function(){window.Stripe?d(window.Stripe):i(new Error("Stripe.js not available"))}}(i,s),sM=function(d){return function(){d(new Error("Failed to load Stripe.js"))}}(s),l.addEventListener("load",aM),l.addEventListener("error",sM)}catch(M){return void s(M)}})).catch(function(i){return sT=null,Promise.reject(i)})).catch(function(d){return aT=null,Promise.reject(d)}));var d};Promise.resolve().then(function(){return _A()}).catch(function(o){vA||console.warn(o)});let ih=(()=>{class o{constructor(i,s){this._host=i,this._observer=s,this._currentSlug$=new a.t(this.currentSlug),this.slugInfo$=this._currentSlug$.asObservable().pipe((0,L.T)(v=>({rootUrl:`${v}.${this._host}`,referUrl:`nor.by/\u2764/${v}`,slug:v}))),this.currentSlug$=this._currentSlug$.asObservable().pipe((0,ae.p)(v=>!!v),(0,K.F)());const l=!this.hostname||"localhost"===this.hostname||this.hostname.startsWith("192");this._currentSlug=l?"teamnorbyexp":this._clean(this.hostname),this._currentSlug$.next(this._currentSlug)}get resize$(){return this._resize$||(this._resize$=(0,se.R)(window,"resize")),this._resize$}get scroll$(){return this._scroll$||(this._scroll$=(0,se.R)(window,"scroll")),this._scroll$}get isMobile$(){return this._isMobile$||(this._isMobile$=this._observer.observe("(max-width: 576px)").pipe((0,L.T)(i=>!!i?.matches))),this._isMobile$}forceSlug(i){this._currentSlug=i,this._currentSlug$.next(i)}_clean(i){return(i.startsWith("www.")&&i.length>3?i.substring(4):i).split(".")[0]}get timezone(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return"UTC"}}get currentSlug(){return this._currentSlug}get history(){return window.history}get hostname(){return window.location.hostname}get currentHost(){return this.hostname&&"localhost"!==this.hostname?this._host:"localhost"}get currentSiteRootURL(){return this.hostname&&"localhost"!==this.hostname?`${this.currentSlug}.${this._host}`:"localhost"}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(B.iTi),n.KVO(Te.QP))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const T5=o=>`0${parseInt(o,10)}`.slice(-2),CA=o=>[o.getFullYear(),T5(o.getMonth()+1),T5(o.getDate())].join(""),wA=o=>[T5(o.getHours()),T5(o.getMinutes()),T5(o.getSeconds())].join(""),TA=(o,d)=>{const i=lM(o),s=lM(d),l=Math.floor((s.getTime()-i.getTime())/1e3),v=Math.floor(l/3600),M=l/3600%1*60;return`${T5(v)}${T5(M)}`},qD=(o,d="YYYYMMDDTHHmmss")=>{switch(d){case"YYYYMMDD":return CA(o);case"HHmmss":return wA(o);default:return`${CA(o)}T${wA(o)}`}},lM=o=>new Date(o),XD=(o,d)=>qD(lM(o),d);class SA{constructor(d){this.setText(d),this.setTimestamps(d)}setText(d){this.description=d.description||"",this.title=d.title||"",this.location=d.location||""}setTimestamps(d){let i="YYYYMMDD";if(this.allday=!d.end,this.allday){const s=lM(d.start);s.setDate(s.getDate()+1),this.end=qD(s,i),this.duration=TA(d.start,s.toISOString())}else i+="THHmmss",this.end=XD(d.end,i),this.duration=TA(d.start,d.end);this.start=XD(d.start,i),this.recurrence=d.recurrence}}const j$=o=>o,kA=(o,d=";",i=j$)=>{const s=[];for(const l in o)o.hasOwnProperty(l)&&void 0!==o[l]&&s.push(`${l}=${i(o[l])}`);return s.join(d)},WD=o=>o?o.replace(/\n/g,"\\n"):"",EA=o=>{const d={FREQ:"frequency",INTERVAL:"interval",COUNT:"count",WKST:"weekStart",BYDAY:"weekdays",BYMONTHDAY:"monthdays"},i=Object.keys(d).filter(s=>o.hasOwnProperty(d[s])).reduce((s,l)=>Object.assign({},s,{[l]:o[d[l]]}),{});return o.end&&Object.assign(i,{UNTIL:XD(o.end)}),(o=>kA(o,";"))(i)};class Z$ extends SA{constructor(d){super(d)}render(){const s=(o=>kA(o,"&",encodeURIComponent))({action:"TEMPLATE",text:this.title,details:this.description,location:this.location,dates:`${this.start}/${this.end}`,...this.recurrence&&{recur:`RRULE:${EA(this.recurrence)}`}});return`https://calendar.google.com/calendar/render?${s}`}}class eU extends SA{constructor(d){super(d)}download(){((o,d)=>{const i=(o=>o?`${o.replace(/[^\w ]/g,"")}.ics`:"event.ics")(o);~navigator.userAgent.toLowerCase().indexOf("safari")?((o,d)=>{const i=document.createElement("a"),s=encodeURIComponent(o);if(i.setAttribute("href",`data:text/calendar;charset=utf-8,${s}`),i.setAttribute("download",d),document.createEvent){const l=document.createEvent("MouseEvents");l.initEvent("click",!0,!0),i.dispatchEvent(l)}else i.click()})(d,i):be.saveAs((o=>new Blob([o],{type:"application/octet-stream"}))(d),i)})(this.title,this.render())}render(){const d=WD(this.description),i=WD(this.location),s=WD(this.title),l=["CLASS:PUBLIC",`DESCRIPTION:${d}`,`DTSTART:${this.start}`,`DTEND:${this.end}`,`LOCATION:${i}`,`SUMMARY:${s}`,"TRANSP:TRANSPARENT"];this.recurrence&&l.push(`RRULE:${EA(this.recurrence)}`);const v=Math.random().toString(36).substr(2),M=qD(new Date,"YYYYMMDD"),F=typeof window<"u"?window.location.host:"datebook";return["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT",l.join("\n"),"END:VEVENT","END:VCALENDAR",`UID:${v}`,`DTSTAMP:${M}`,`PRODID:${F}`].join("\n")}}class tU{static getGoogleCalendarUrl(d){return new Z$(d).render()}static downloadIcs(d){return new eU(d).download()}}let iU=(()=>{class o{handleError(i){/Loading chunk [\d]+ failed/.test(i?.message)&&window.location.reload()}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac})}return o})();function aU(o,d){if(1&o&&n.nrm(0,"div",13),2&o){const i=n.XpG();n.Y8G("innerHTML",i.textBlock.body,n.npT)}}function lU(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-link-card-view",14),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("link",i.linkBlock.content)("blockTitle",i.linkBlock.title)}}function cU(o,d){1&o&&n.nrm(0,"lib-abstract-link-view")}function dU(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-event-drop-card",15),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("content",i.eventDropBlock.content)("overrideTitle",i.eventDropBlock.title)("overrideSignupType",i.eventDropBlock.signupType)}}function uU(o,d){1&o&&n.nrm(0,"lib-abstract-signup-view")}function hU(o,d){1&o&&n.nrm(0,"lib-abstract-event-view")}function pU(o,d){if(1&o&&n.nrm(0,"lib-profile-view",16),2&o){const i=n.XpG();n.Y8G("block",i.profileBlock)("accountInfo",i.accountInfo)}}function fU(o,d){if(1&o&&n.nrm(0,"lib-social-icons-view",17),2&o){const i=n.XpG();n.Y8G("socialLinks",i.socialIconsBlock.settingsV2)}}function mU(o,d){if(1&o&&n.nrm(0,"lib-image-block-view",18),2&o){const i=n.XpG();n.Y8G("imageBlock",i.imageBlock)}}function gU(o,d){if(1&o&&n.nrm(0,"lib-spacer-view",19),2&o){const i=n.XpG();n.Y8G("block",i.spacerBlock)}}function vU(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-upcoming-events",20),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("block",i.upcomingEventsBlock)}}function _U(o,d){if(1&o&&n.nrm(0,"lib-youtube-embed-view",21),2&o){const i=n.XpG();n.Y8G("block",i.youtubeBlock)("pageId",i.pageId)}}function yU(o,d){if(1&o&&n.nrm(0,"lib-vimeo-embed-view",22),2&o){const i=n.XpG();n.Y8G("embedCode",i.vimeoBlock.embedCode)}}function bU(o,d){if(1&o&&n.nrm(0,"lib-spotify-embed-view",21),2&o){const i=n.XpG();n.Y8G("block",i.spotifyBlock)("pageId",i.pageId)}}function CU(o,d){if(1&o&&n.nrm(0,"lib-calendly-embed-view",22),2&o){const i=n.XpG();n.Y8G("embedCode",i.calendlyBlock.embedCode)}}function wU(o,d){if(1&o&&n.nrm(0,"lib-embed-view",22),2&o){const i=n.XpG();n.Y8G("embedCode",i.embedBlock.embedCode)}}function TU(o,d){if(1&o&&n.nrm(0,"lib-newsletter-signup-view",19),2&o){const i=n.XpG();n.Y8G("block",i.newsletterSignupBlock)}}function SU(o,d){if(1&o&&n.nrm(0,"lib-header-view",23),2&o){const i=n.XpG();n.Y8G("block",i.headerBlock)("dangleAvatar",i.showAsAbstract)}}let MA=(()=>{class o{constructor(){this.contentClick=new n.bkB}handleClick(i){i?.content&&this.contentClick.next(i)}get eventDropBlock(){return(0,B.oJg)(this.block)||(0,B.KbU)(this.block)?this.block:null}get linkBlock(){return(0,B.WVF)(this.block)?this.block:null}get signupBlock(){return(0,B.KbU)(this.block)?this.block:null}get eventBlock(){return(0,B.oJg)(this.block)?this.block:null}get headerBlock(){return(0,B.XR9)(this.block)?this.block:null}get textBlock(){return(0,B.zST)(this.block)?this.block:null}get profileBlock(){return(0,B.rWn)(this.block)?this.block:null}get socialIconsBlock(){return(0,B.haU)(this.block)?this.block:null}get imageBlock(){return(0,B.TWm)(this.block)?this.block:null}get spacerBlock(){return(0,B.Qcm)(this.block)?this.block:null}get upcomingEventsBlock(){return(0,B.Bnw)(this.block)?this.block:null}get youtubeBlock(){return(0,B.PeO)(this.block)?this.block:null}get vimeoBlock(){return(0,B.aA4)(this.block)?this.block:null}get spotifyBlock(){return(0,B.cUV)(this.block)?this.block:null}get calendlyBlock(){return(0,B.ETW)(this.block)?this.block:null}get embedBlock(){return(0,B.Dog)(this.block)?this.block:null}get newsletterSignupBlock(){return(0,B.lVl)(this.block)?this.block:null}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-adaptable-block-view"]],inputs:{block:"block",showAsAbstract:"showAsAbstract",accountInfo:"accountInfo",pageId:"pageId"},outputs:{contentClick:"contentClick"},decls:19,vars:19,consts:[["live-themed","",3,"theme"],["class","text-color ql-readonly-body",3,"innerHTML",4,"ngIf"],[3,"link","blockTitle","cardClick",4,"ngIf"],[4,"ngIf"],[3,"content","overrideTitle","overrideSignupType","cardClick",4,"ngIf"],[3,"block","accountInfo",4,"ngIf"],[3,"socialLinks",4,"ngIf"],[3,"imageBlock",4,"ngIf"],[3,"block",4,"ngIf"],[3,"block","cardClick",4,"ngIf"],[3,"block","pageId",4,"ngIf"],[3,"embedCode",4,"ngIf"],[3,"block","dangleAvatar",4,"ngIf"],[1,"text-color","ql-readonly-body",3,"innerHTML"],[3,"cardClick","link","blockTitle"],[3,"cardClick","content","overrideTitle","overrideSignupType"],[3,"block","accountInfo"],[3,"socialLinks"],[3,"imageBlock"],[3,"block"],[3,"cardClick","block"],[3,"block","pageId"],[3,"embedCode"],[3,"block","dangleAvatar"]],template:function(s,l){1&s&&(n.j41(0,"div",0),n.DNE(1,aU,1,1,"div",1)(2,lU,1,2,"lib-link-card-view",2)(3,cU,1,0,"lib-abstract-link-view",3)(4,dU,1,3,"lib-event-drop-card",4)(5,uU,1,0,"lib-abstract-signup-view",3)(6,hU,1,0,"lib-abstract-event-view",3)(7,pU,1,2,"lib-profile-view",5)(8,fU,1,1,"lib-social-icons-view",6)(9,mU,1,1,"lib-image-block-view",7)(10,gU,1,1,"lib-spacer-view",8)(11,vU,1,1,"lib-upcoming-events",9)(12,_U,1,2,"lib-youtube-embed-view",10)(13,yU,1,1,"lib-vimeo-embed-view",11)(14,bU,1,2,"lib-spotify-embed-view",10)(15,CU,1,1,"lib-calendly-embed-view",11)(16,wU,1,1,"lib-embed-view",11)(17,TU,1,1,"lib-newsletter-signup-view",8)(18,SU,1,2,"lib-header-view",12),n.k0s()),2&s&&(n.Y8G("theme",null==l.block?null:l.block.theme),n.R7$(),n.Y8G("ngIf",null==l.textBlock?null:l.textBlock.body),n.R7$(),n.Y8G("ngIf",l.linkBlock&&!l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.linkBlock&&l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.eventDropBlock&&!l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.signupBlock&&l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.eventBlock&&l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.profileBlock),n.R7$(),n.Y8G("ngIf",l.socialIconsBlock),n.R7$(),n.Y8G("ngIf",l.imageBlock),n.R7$(),n.Y8G("ngIf",l.spacerBlock),n.R7$(),n.Y8G("ngIf",l.upcomingEventsBlock),n.R7$(),n.Y8G("ngIf",l.youtubeBlock),n.R7$(),n.Y8G("ngIf",l.vimeoBlock),n.R7$(),n.Y8G("ngIf",l.spotifyBlock),n.R7$(),n.Y8G("ngIf",l.calendlyBlock),n.R7$(),n.Y8G("ngIf",l.embedBlock),n.R7$(),n.Y8G("ngIf",l.newsletterSignupBlock&&!l.showAsAbstract),n.R7$(),n.Y8G("ngIf",l.headerBlock))}})}return o})();const kU=["block"];function EU(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",3,0)(2,"lib-adaptable-block-view",4),n.bIt("contentClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()()}if(2&o){const i=d.$implicit,s=n.XpG();n.AVh("narrow","header"!==(null==i?null:i.blockType)&&"embed"!==(null==i?null:i.blockType)),n.Y8G("@slideUpInDownOut","header"!==(null==i?null:i.blockType)?"slide":null),n.R7$(2),n.Y8G("block",i)("showAsAbstract",s.showAsAbstract)("accountInfo",s.accountInfo)("pageId",null==s.page?null:s.page.id)}}let xA=(()=>{class o extends z.$GR{constructor(){super(...arguments),this.contentClick=new n.bkB,this.onContentBlocksUpdate=new n.bkB,this.showAsAbstract=!1,this.applyTheme=!0}ngAfterViewInit(){this.onContentBlocksUpdate.emit(this.blocks.toArray()),this.blocks.changes.pipe(this.takeUntilDestroy).subscribe(()=>{this.onContentBlocksUpdate.emit(this.blocks.toArray())})}handleClick(i){i?.content&&this.contentClick.next(i)}trackBy(i,s){return s.hash}static#e=this.\u0275fac=(()=>{let i;return function(l){return(i||(i=n.xGo(o)))(l||o)}})();static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-landing-page-view"]],viewQuery:function(s,l){if(1&s&&n.GBs(kU,5),2&s){let v;n.mGM(v=n.lsd())&&(l.blocks=v)}},inputs:{page:"page",accountInfo:"accountInfo",showAsAbstract:"showAsAbstract",applyTheme:"applyTheme"},outputs:{contentClick:"contentClick",onContentBlocksUpdate:"onContentBlocksUpdate"},features:[n.Vt3],decls:2,vars:6,consts:[["block",""],["live-themed","",1,"landing-page-view-container",3,"applyThemeStyles","theme"],["class","item",3,"narrow",4,"ngFor","ngForOf","ngForTrackBy"],[1,"item"],[3,"contentClick","block","showAsAbstract","accountInfo","pageId"]],template:function(s,l){1&s&&(n.j41(0,"div",1),n.DNE(1,EU,3,7,"div",2),n.k0s()),2&s&&(n.Y8G("@initalRenderNoop",void 0)("@.disabled",!l.showAsAbstract)("applyThemeStyles",l.applyTheme)("theme",null==l.page?null:l.page.theme),n.R7$(),n.Y8G("ngForOf",null==l.page?null:l.page.blocks)("ngForTrackBy",l.trackBy))},dependencies:[X.Sq,MA,z.tuw],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.landing-page-view-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column}.landing-page-view-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:16px}.landing-page-view-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:0}.landing-page-view-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}.landing-page-view-container[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{position:relative;width:100%;z-index:9}.landing-page-view-container[_ngcontent-%COMP%]   .item.narrow[_ngcontent-%COMP%]{max-width:574px;padding:0 12px;margin-left:auto;margin-right:auto}.landing-page-view-container[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{padding:48px;margin-top:24px;text-align:center}"],data:{animation:[z.WSS,z.Tqr]}})}return o})();function lG(o,d){if(1&o){const i=n.RV6();n.j41(0,"button",8),n.bIt("click",function(){const l=n.eBV(i).$implicit;return n.Njj(l.handler())}),n.nrm(1,"i",9),n.k0s()}if(2&o){const i=d.$implicit;n.Y8G("nzTooltipTitle",i.label),n.R7$(),n.Y8G("nzType",i.icon)}}function cG(o,d){if(1&o&&(n.j41(0,"div",5),n.DNE(1,lG,2,2,"button",6),n.j41(2,"div",7),n.EFF(3),n.k0s()()),2&o){const i=n.XpG();n.R7$(),n.Y8G("ngForOf",i.MENU_ITEMS),n.R7$(),n.Y8G("nzTooltipTitle",i.timestampAbsolute),n.R7$(),n.SpI(" ",i.timestampRelative," ")}}function dG(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",5)(1,"div",10),n.EFF(2),n.k0s(),n.j41(3,"button",11),n.bIt("nzVisibleChange",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleVisibleChanged(l))}),n.nrm(4,"i",12),n.k0s()()}if(2&o){const i=n.XpG(),s=n.sdS(4);n.R7$(2),n.SpI(" ",i.timestampAbsolute," "),n.R7$(),n.Y8G("nzDropdownMenu",s)("nzClickHide",!1)}}function uG(o,d){if(1&o&&(n.j41(0,"div",13)(1,"div",14),n.EFF(2),n.k0s()()),2&o){const i=n.XpG();n.R7$(2),n.SpI(" ",i.timestampAbsolute," ")}}function hG(o,d){if(1&o){const i=n.RV6();n.j41(0,"li",15),n.bIt("click",function(){const l=n.eBV(i).$implicit;return n.Njj(l.handler())}),n.nrm(1,"i",9),n.EFF(2),n.k0s()}if(2&o){const i=d.$implicit;n.R7$(),n.Y8G("nzType",i.icon),n.R7$(),n.SpI(" ",i.label," ")}}wt.extend(Du),wt.extend(mk);let pG=(()=>{class o{constructor(){this.useDropdown=!0,this.onRateMessageClick=new n.bkB,this.onExplainAnswerClick=new n.bkB,this.onShareClick=new n.bkB,this.menuStateChanged=new n.bkB,this.MENU_ITEMS=[{label:"Give feedback",icon:"feather/smile",handler:()=>this.onRateMessageClick.emit()},{label:"Share",icon:"feather/share",handler:()=>this.onShareClick.emit()}]}get timestampRelative(){return wt(this.message.createdAt).fromNow()}get timestampAbsolute(){return wt(this.message.createdAt).format("lll")}handleVisibleChanged(i){this.menuStateChanged.emit(i)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["app-conversation-message-actions-view"]],inputs:{message:"message",useDropdown:"useDropdown"},outputs:{onRateMessageClick:"onRateMessageClick",onExplainAnswerClick:"onExplainAnswerClick",onShareClick:"onShareClick",menuStateChanged:"menuStateChanged"},decls:7,vars:4,consts:[["menu","nzDropdownMenu"],["class","flex items-center gap-3 text-neutral-500",4,"ngIf"],["class","flex items-center",4,"ngIf"],["nz-menu",""],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],[1,"flex","items-center","gap-3","text-neutral-500"],["class","font-medium hover:text-neutral-800 disabled:text-neutral-500 text-lg ant-btn-animation","nz-tooltip","",3,"nzTooltipTitle","click",4,"ngFor","ngForOf"],["nz-tooltip","",1,"text-xs","cursor-default",3,"nzTooltipTitle"],["nz-tooltip","",1,"font-medium","hover:text-neutral-800","disabled:text-neutral-500","text-lg","ant-btn-animation",3,"click","nzTooltipTitle"],["nz-icon","",3,"nzType"],[1,"text-xs","cursor-default"],["nz-dropdown","","aria-label","More",1,"font-medium","hover:text-neutral-800","disabled:text-neutral-500","text-lg","ant-btn-animation",3,"nzVisibleChange","nzDropdownMenu","nzClickHide"],["nz-icon","","nzType","feather/more-horizontal"],[1,"flex","items-center"],[1,"text-xs","text-neutral-500","cursor-default"],["nz-menu-item","",3,"click"]],template:function(s,l){1&s&&(n.DNE(0,cG,4,3,"div",1)(1,dG,5,3,"div",1)(2,uG,3,1,"div",2),n.j41(3,"nz-dropdown-menu",null,0)(5,"ul",3),n.DNE(6,hG,3,2,"li",4),n.k0s()()),2&s&&(n.Y8G("ngIf",l.message.isInbound&&!l.useDropdown),n.R7$(),n.Y8G("ngIf",l.message.isInbound&&l.useDropdown),n.R7$(),n.Y8G("ngIf",!l.message.isInbound),n.R7$(4),n.Y8G("ngForOf",l.MENU_ITEMS))},dependencies:[X.Sq,X.bT,Hn.Dn,rc,Hl,Js,za,Yr.c,sl.LH],encapsulation:2})}return o})(),fG=(()=>{class o extends z.$GR{constructor(i){super(),this.elementRef=i}ngOnChanges(){super.ngOnChanges();const i=this.targetElem??this.elementRef.nativeElement;this.listener?.pipe(this.takeUntilChanges)?.subscribe(s=>{s?(i.style.opacity=1,i.classList.add("hover-active")):(i.style.opacity="",i.classList.remove("hover-active"))})}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:o,selectors:[["","hoverDirective",""]],inputs:{listener:"listener",targetElem:"targetElem"},features:[n.Vt3,n.OA$]})}return o})();function mG(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",5)(1,"app-conversation-message-actions-view",6,0),n.bIt("onRateMessageClick",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleRateMessageClick())})("onExplainAnswerClick",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleExplainAnswerClick())})("onShareClick",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleShareClick())}),n.k0s()()}if(2&o){const i=n.sdS(2),s=n.XpG(2);n.Y8G("listener",i.menuStateChanged),n.R7$(),n.Y8G("message",s.message)}}function gG(o,d){if(1&o&&(n.j41(0,"div",2),n.nrm(1,"div",3),n.DNE(2,mG,3,2,"div",4),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.AVh("outbound",i.message.isOutbound)("optimistic",i.message.isOptimistic)("full-width",!i.showMetadata),n.Y8G("innerHTML",i.message.displayHtml,n.npT),n.R7$(),n.Y8G("ngIf",i.showMetadata)}}let vG=(()=>{class o{constructor(){this.showMetadata=!0,this.onRateMessageClick=new n.bkB,this.onExplainAnswerClick=new n.bkB,this.onShareClick=new n.bkB}handleRateMessageClick(){this.onRateMessageClick.emit()}handleExplainAnswerClick(){this.onExplainAnswerClick.emit()}handleShareClick(){this.onShareClick.emit()}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["app-conversation-message-view"]],inputs:{message:"message",showMetadata:"showMetadata"},outputs:{onRateMessageClick:"onRateMessageClick",onExplainAnswerClick:"onExplainAnswerClick",onShareClick:"onShareClick"},decls:1,vars:1,consts:[["actionsView",""],["class","message-bubble",4,"ngIf"],[1,"message-bubble"],[1,"message",3,"innerHTML"],["class","message-timestamp ml-3","hoverDirective","",3,"listener",4,"ngIf"],["hoverDirective","",1,"message-timestamp","ml-3",3,"listener"],[3,"onRateMessageClick","onExplainAnswerClick","onShareClick","message"]],template:function(s,l){1&s&&n.DNE(0,gG,3,8,"div",1),2&s&&n.Y8G("ngIf",l.message)},dependencies:[X.bT,fG,pG],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.message-bubble{align-items:center;display:flex}.message-bubble .message-timestamp{opacity:0;transition:all .2s cubic-bezier(.215,.61,.355,1)}.message-bubble:hover{cursor:default}.message-bubble:hover .message-timestamp{opacity:1}.message-bubble .message{border-radius:16px 16px 16px 0;color:#474d66;background-color:#edeff5;max-width:800px;overflow-wrap:anywhere;padding:8px 12px;font-size:16px}.message-bubble .message.outbound{border:none;background-color:#474d66;color:#fff}.message-bubble .message.optimistic{opacity:.5}.message-bubble .message.full-width{width:100%}.message-bubble .message h1,.message-bubble .message h2,.message-bubble .message h3,.message-bubble .message h4,.message-bubble .message h5,.message-bubble .message h6,.message-bubble .message p{color:inherit}.message-bubble .message p{font-size:inherit}.message-bubble .message p:last-child{margin-bottom:0}.message-bubble .message ol{list-style-type:decimal}.message-bubble .message ul{list-style-type:disc}.message-bubble .message ol,.message-bubble .message ul{padding-left:24px;font-size:inherit}.message-bubble .message h1{font-size:12px;text-transform:uppercase;font-weight:700;padding:8px 12px 12px;margin:0 -12px 12px;border-bottom:1px solid #d8dae5}.message-bubble .message h2{font-size:18px}.message-bubble .message .table-outer-wrapper:not(:last-child){margin-bottom:16px}.message-bubble .message .table-outer-wrapper .table-inner-wrapper{position:relative;max-height:310px;overflow-y:scroll;overscroll-behavior:none;border:1px solid #d8dae5}.message-bubble .message .table-outer-wrapper .table-inner-wrapper .table-footer{position:-webkit-sticky;position:sticky;bottom:0;background-color:#d8dae5;font-size:12px;padding:8px 12px;color:#8f9fb2}.message-bubble .message .table-outer-wrapper .table-inner-wrapper table{border-collapse:collapse;width:100%}.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody>tr th,.message-bubble .message .table-outer-wrapper .table-inner-wrapper table thead>tr th,.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody>tr td,.message-bubble .message .table-outer-wrapper .table-inner-wrapper table thead>tr td{padding:12px}.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody>tr th:not(:first-child),.message-bubble .message .table-outer-wrapper .table-inner-wrapper table thead>tr th:not(:first-child),.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody>tr td:not(:first-child),.message-bubble .message .table-outer-wrapper .table-inner-wrapper table thead>tr td:not(:first-child){border-left:1px solid #d8dae5}.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody:first-child>tr:first-child,.message-bubble .message .table-outer-wrapper .table-inner-wrapper table thead>tr:first-child{position:-webkit-sticky;position:sticky;top:0;z-index:9;background-color:#d8dae5;font-size:12px;padding:8px 12px}.message-bubble .message .table-outer-wrapper .table-inner-wrapper table tbody>tr:not(:last-child){border-bottom:1px solid #d8dae5}@media (hover: none){.message-bubble .message-timestamp{display:none}}\n"],encapsulation:2})}return o})();const yG=o=>[{provide:B.iTi,useValue:o.rootHost},{provide:B.ME8,useValue:o.cookiePrefix},{provide:B.tKb,useValue:o.mmsAttachmentBucket},{provide:B.lUn,useValue:o.fontBucket},{provide:B.xZi,useValue:o.endUserUrl},{provide:B.Hsf,useValue:o.authUrl},{provide:B.jsb,useValue:o.apiUrl},{provide:B.$Id,useValue:o.analyticsUrl},{provide:B.KKD,useValue:o.corsAnywhereUrl},{provide:B.FXh,useValue:o.embedsUrl},{provide:B.yF0,useValue:o.socketServerUrl},{provide:B.Yzd,useValue:o.cloudFunctionsBaseUrl},{provide:B.QjI,useValue:o.stripeClientKey},{provide:B.w9V,useValue:o.zapierUrl},{provide:et.CJ,useValue:{siteKey:o.recaptchaKey}},{provide:Pe.Sf,useClass:B.YeN},{provide:n.zcH,useClass:iU}];function QD(o,d){const i=o.cookie.match(RegExp("(?:^|;\\s*)"+d+"=([^;]*)"));return i?i[1]:null}let Lp=(()=>{class o{constructor(i,s,l,v,M,F,j,oe){this._apiUrl=i,this._authUrl=s,this._billingUrl=l,this._endUserApiUrl=v,this._analyticsApiUrl=M,this._adminNlqApiUrl=F,this._http=j,this._device=oe}setCurrentUser(i){this._currentUser=i}get currentUser(){return this._currentUser}constructApiUrl(i,s){let l;const v=this._device.hostname.includes("nor.by");switch(s){case B.V$P.API:l=v?this._apiUrl.replace("norby.live","nor.by"):this._apiUrl;break;case B.V$P.AUTH:l=v?this._authUrl.replace("norby.live","nor.by"):this._authUrl;break;case B.V$P.BILLING:if(!this._billingUrl)throw new Error("Cannot access Billing API from here.");l=this._billingUrl;break;case B.V$P.END_USER:if(!this._endUserApiUrl)throw new Error("Cannot access End User API from here.");l=this._endUserApiUrl;break;case B.V$P.ANALYTICS:if(!this._analyticsApiUrl)throw new Error("Cannot access Analytics API from here.");l=this._analyticsApiUrl;break;case B.V$P.ADMIN_NLQ:if(!this._adminNlqApiUrl)throw new Error("Cannot access Admin NLQ API from here.");l=this._adminNlqApiUrl;break;default:throw new Error(`API surface '${s}' not recognized.`)}return new URL(i,l).href}_constructHttpOpts(i){var s=this;return(0,$.A)(function*(){const{params:l,additionalHeaders:v,recaptchaToken:M}=i??{};return{withCredentials:!0,headers:yield s._contructHeaders(v,M),...l&&{params:l}}})()}_contructHeaders(i,s){var l=this;return(0,$.A)(function*(){const v=yield l._currentUser?.getIdToken();return{...v&&{Authorization:`Bearer ${v}`},"x-slug":l._device.currentSlug,"x-client-tz":l._device.timezone,...i&&i,...s&&{"x-recaptcha-token":s}}})()}post(i,s,l,v,M){var F=this;return(0,$.A)(function*(){const j=yield F._constructHttpOpts({additionalHeaders:v,recaptchaToken:M}),oe=F.constructApiUrl(s,i);return(0,fe._)(F._http.post(oe,l,j))})()}put(i,s,l){var v=this;return(0,$.A)(function*(){const M=yield v._constructHttpOpts(),F=v.constructApiUrl(s,i);return(0,fe._)(v._http.put(F,l,M))})()}patch(i,s,l){var v=this;return(0,$.A)(function*(){const M=yield v._constructHttpOpts(),F=v.constructApiUrl(s,i);return(0,fe._)(v._http.patch(F,l,M))})()}delete(i,s,l){var v=this;return(0,$.A)(function*(){const M=yield v._constructHttpOpts({params:l}),F=v.constructApiUrl(s,i);return(0,fe._)(v._http.delete(F,M))})()}get(i,s,l,v){var M=this;return(0,$.A)(function*(){return(0,fe._)(M.get$(i,s,l,v))})()}get$(i,s,l,v){const M=this.constructApiUrl(s,i);return(0,le.H)(this._constructHttpOpts({params:l,additionalHeaders:v})).pipe((0,de.n)(F=>this._http.get(M,F)))}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(B.jsb),n.KVO(B.Hsf),n.KVO(B.TCs,8),n.KVO(B.xZi,8),n.KVO(B.Ezh,8),n.KVO(B.WS6,8),n.KVO(jc.Qq),n.KVO(ih))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),bG=(()=>{class o extends z.$GR{constructor(i,s,l,v,M){super(),this._embedsUrl=i,this._endUserApiUrl=s,this._device=l,this._api=v,this._error=M,this._webNavigator=null,this._getCalendarToken=(F,j)=>{if(!F?.length)return null;try{return this._api.post(B.V$P.AUTH,B.Hrf.auth.calendar,{contentId:F,...j&&{email:j}})}catch(oe){throw this._error?.displayError?.(oe),oe}},this._webNavigator=window.navigator,this._device.currentSlug$.pipe(this.takeUntilDestroy).subscribe(F=>this._slug=F)}get canShare(){return null!==this._webNavigator&&void 0!==this._webNavigator.share}share({title:i,text:s,url:l}){var v=this;return(0,$.A)(function*(){if(!v.canShare)return{shared:!1,error:"This platform doesn't support sharing"};if(!s?.length&&!l?.length)return{shared:!1,error:"Nothing was specified to share"};try{return{shared:yield v._webNavigator.share({title:i,text:s,url:l})}}catch(M){return{shared:!1,error:M}}})()}_getCalendarOptions(i){return i?{title:i.title,description:`${i.urls?.pageShortLink}`,location:i.isOnline?i.urls?.pageShortLink:i.contentLocation,start:i.startMoment().toString(),end:i.endMoment().toString()}:{}}saveToICal(i,s){var l=this;return(0,$.A)(function*(){const{token:v}=yield l._getCalendarToken(i.contentId,s);window.open(`${l._endUserApiUrl}/event/calendar_invite?token=${v}`)})()}saveToGoogleCalendar(i){const s=this._getCalendarOptions(i),l=tU.getGoogleCalendarUrl(s);window.open(l)}openContentShareSheet(i,s){const l=i?.title;let v=i?.shareUrl;i.isEvent||i.isSignup?v=s?.shortLinks?.referralPageShortLink??v:i.isLink&&(v=s?.shortLinks?.clickThroughShortLink??v),this.share({title:l,url:v}).then(M=>console.log(M)).catch(M=>console.log(M))}getUrlForLandingPage(i){return`https://${this._device.currentSiteRootURL}/${i?.label}`}getEmbedCodeForLandingPage(i){const s=`\n        <a href="${this.getUrlForLandingPage(i)}" target="_blank" rel="noreferrer"><strong>${i?.title}</strong></a>\n      `.trim();return`<script src="${this._embedsUrl}" defer><\/script>\n<div class="${B.rvQ}" data-type="${B.hfw.page.type}" data-label="${i?.label}" data-slug="${this._slug}">${s}</div>\n    `.trim()}embedStringForType(i,s){const l=this._device.currentSlug,v=s?.isEvent?B.hfw.event.type:B.hfw.drop.type,M=s?.contentId,F=s?.urls,j=s?.summary,oe=s?.title,Se=s?.buttonLabels,$e=("register"===i?`\n        <a href="${F?.pageRaw}" target="_blank" rel="noreferrer">${Se?.pre} &rarr;</a>\n      `:"share"===i?`\n        <a href="${F?.pageRaw}" target="_blank" rel="noreferrer">Share &rarr;</a>\n      `:"card"===i?`\n        <a href="${F?.pageRaw}" target="_blank" rel="noreferrer"><strong>${oe}</strong><br />${j}</a>\n      `:"").trim();return`\n    <script src="${this._embedsUrl}" defer><\/script>\n    <div class="${B.rvQ}" data-type="${v}" data-id="${M}" data-variant="${i}" data-slug="${l}">${$e}</div>\n    `.trim()}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(B.FXh),n.KVO(B.xZi,8),n.KVO(ih),n.KVO(Lp),n.KVO(z.IvX))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Uu=(()=>{class o{constructor(i,s,l,v,M,F){this._document=i,this._cookiePrefix=s,this._isNorbyNext=l,this._auth=v,this._firestore=M,this._api=F,this._isAttemptingReauthFlow$=new a.t(!1),(0,Pp.kQ)(this._auth).pipe((0,at.M)(j=>{this._initUser(j),this._isAttemptingReauthFlow$.value&&this._isAttemptingReauthFlow$.next(!1)}),(0,K.F)((j,oe)=>j?.uid===oe?.uid),(0,ae.p)(j=>!j||"1"===QD(this._document,`${this._cookiePrefix}${B.xqq}`)&&j?.isAnonymous)).subscribe(()=>this._defaultLogin()),this._auth.useDeviceLanguage()}_initUser(i){this._currentUser=i??null,this._api.setCurrentUser(i)}_defaultLogin(){var i=this;return(0,$.A)(function*(){return i._isAttemptingReauthFlow$.next(!0),(yield i._signInWithRefreshToken())||(i._isAttemptingReauthFlow$.next(!1),i.loginAnonymously())})()}get auth(){return this._auth}_getUserRoleQueryForId(i){return(0,Wo.P)((0,Wo.rJ)(this._firestore,"userRoles"),(0,Wo._M)("userId","==",i??0),(0,Wo._M)("isNorbyNext","==",!!this._isNorbyNext),(0,Wo.My)("createdAtCursor"))}userRoles$(i){return i?.length?(0,Wo.xs)(this._getUserRoleQueryForId(i)):this.user$.pipe((0,de.n)(s=>s?.uid&&!s.isAnonymous?(0,Wo.xs)(this._getUserRoleQueryForId(s.uid)):(0,le.H)([[]])))}userRoles(i){var s=this;return(0,$.A)(function*(){return(yield(0,Wo.GG)(s._getUserRoleQueryForId(i??s.currentUser?.uid??""))).docs.map(v=>v.data())})()}loginAnonymously(){var i=this;return(0,$.A)(function*(){if(!i.currentUser)return(0,Pp.zK)(i._auth)})()}_signInWithRefreshToken(){var i=this;return(0,$.A)(function*(){const s=yield i._api.post(B.V$P.AUTH,B.Hrf.auth.refresh).catch(v=>null);return s?yield(0,Pp.p)(i._auth,s.accessToken).then(v=>v).catch(v=>null):null})()}logout(){var i=this;return(0,$.A)(function*(){yield i._api.post(B.V$P.AUTH,B.Hrf.auth.logout),yield(0,Pp.CI)(i._auth)})()}get currentUser(){return this._currentUser}get user$(){return(0,Pp.kQ)(this._auth)}get authState$(){return(0,Pp.wh)(this._auth)}get userLoggedIn(){const i=this.currentUser;return i&&!i.isAnonymous}get userPhoneLoggedIn(){return!!this.currentUser?.phoneNumber}get isAttemptingReauthFlow$(){return this._isAttemptingReauthFlow$.asObservable()}initiateGoogleAuth(i=!1){let s=B.Hrf.auth.google,l=B.xqq;i&&(s=B.Hrf.auth.onboarding.google,l=B.w4e);const v=this._api.constructApiUrl(s,B.V$P.AUTH),F=`width=400,height=600,left=${window.innerWidth/2-200},top=100`,j=window.open(v,"Continue with Google",F);return new Promise(oe=>{const Se=window.setInterval(()=>{try{if(!j||j.closed){const $e=QD(this._document,`${this._cookiePrefix}${l}`);window.clearInterval(Se),oe(!!$e)}}catch{}},100)})}completeGoogleLogin(){var i=this;return(0,$.A)(function*(){if(QD(i._document,`${i._cookiePrefix}${B.xqq}`))return i._signInWithRefreshToken()})()}initiatePhoneSignInFlow(i,s,l=!1){var v=this;return(0,$.A)(function*(){if(v.userPhoneLoggedIn&&!l)throw new Error("User already logged in");return yield v._api.post(B.V$P.AUTH,B.Hrf.auth.login.phone.request,{phoneNumber:i},null,s)})()}_confirmPhoneVerificationCode(i){var s=this;return(0,$.A)(function*(){const{phoneNumber:l,verificationCode:v,invertMergeFlow:M}=i;return s._api.post(B.V$P.AUTH,B.Hrf.auth.login.phone.verify,{phoneNumber:l,verificationCode:v,invertMergeFlow:!!M})})()}completePhoneLogin(i){var s=this;return(0,$.A)(function*(){const{accessToken:l}=yield s._confirmPhoneVerificationCode(i),v=yield(0,Pp.p)(s._auth,l);return yield(0,fe._)(s.user$),v})()}initiateEmailSignInOrLinkingFlow({email:i,recaptchaToken:s,sendMagicLink:l,isBlocking:v=!1}){var M=this;return(0,$.A)(function*(){const F=yield M._api.post(B.V$P.AUTH,B.Hrf.auth.login.email.request,{email:i,sendMagicLink:!!l,blocking:v},null,s),{accessToken:j}=F;if(j){const oe=yield(0,Pp.p)(M._auth,j);return{...F,credential:oe}}return{...F,credential:null}})()}promoteSecondOrderEmail({email:i}){var s=this;return(0,$.A)(function*(){return yield s._api.post(B.V$P.AUTH,B.Hrf.auth.email.promote,{email:i})})()}completeEmailLogin(i){var s=this;return(0,$.A)(function*(){const l=yield s._api.post(B.V$P.AUTH,B.Hrf.auth.login.email.verify,i),{accessToken:v}=l,M=yield(0,Pp.p)(s._auth,v);return yield(0,fe._)(s.user$),M})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(X.qQ),n.KVO(B.ME8),n.KVO(B.eSB,8),n.KVO(Pp.Nj),n.KVO(Wo._7),n.KVO(Lp))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const K0="chmln";function CG(o){return{name:"chameleon",config:o,initialize:({config:d})=>{const{fastUrl:i,apiKey:s}=d;if(!i||!s)throw new Error("No Chameleon tokens defined");!function(l,v){var M=s,F=l.createElement("script");if(v[K0]||(v[K0]={}),!v[K0].root){v[K0].accountToken=M,v[K0].location=v.location.href.toString(),v[K0].now=new Date,v[K0].fastUrl=i;for(var j="identify alias track clear set show on off custom help _data".split(" "),oe=0;oe<j.length;oe++)!function(){var Se=v[K0][j[oe]+"_a"]=[];v[K0][j[oe]]=function(){Se.push(arguments)}}();F.src=v[K0].fastUrl+"messo/"+M+"/messo.min.js",F.async=!0,l.head.appendChild(F)}}(document,window)},identify:({payload:d})=>{const{userId:i,traits:s}=d;"string"==typeof i&&window[K0].identify(i,s)},track:({payload:d})=>{window[K0].track(d.event,d.properties)},loaded:()=>!!window[K0]}}const lT="profitwell";function TG(o){return{name:"profitWell",config:o,initialize:({config:d})=>{const{apiKey:i}=d;if(!i)throw new Error("No ProfitWell config defined");const s=document.createElement("script");s.id="profitwell-js",s.setAttribute("data-pw-auth",i),document.head.appendChild(s),function(l,v,M,F,j,oe=v.createElement(F),Se=v.getElementsByTagName(F)[0]){l[M]=l[M]||function(){(l[M].q=l[M].q||[]).push(arguments)},oe.async=!0,oe.src=`${j}?auth=${i}`,Se.parentNode?.insertBefore(oe,Se)}(window,document,"profitwell","script","https://public.profitwell.com/js/profitwell.js")},identify:({payload:d})=>{const{userId:i,traits:s}=d;s.customerId?window[lT]("user_id",s.customerId):s.email?window[lT]("user_email",s.email):"string"==typeof i&&window[lT]("user_id",i)},ready(){window[lT]("start",{confirmButton:{backgroundColor:"#140936"},hoverConfirmButton:{backgroundColor:"#474d66"},primaryNotificationButton:{backgroundColor:"#767024"},hoverPrimaryNotificationButton:{backgroundColor:"#9e9a6c"},secondaryNotificationButton:{backgroundColor:"#d6d4bf"},hoverSecondaryNotificationButton:{backgroundColor:"#f1f1ea"}})},loaded:()=>window[lT]?.isLoaded}}let JD=(()=>{class o{constructor(i,s,l,v,M){this._chameleonApiKey=i,this._chameleonFastUrl=s,this._profitwellApiKey=l,this._gtmId=v,this._analyticsDebugMode=M,this._analytics=function Iw(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return aI(oE(oE({},{storage:iE}),o))}({app:"norby",debug:!!this._analyticsDebugMode,plugins:[...this._chameleonApiKey&&this._chameleonFastUrl?[CG({apiKey:this._chameleonApiKey,fastUrl:this._chameleonFastUrl})]:[],...this._profitwellApiKey?[TG({apiKey:this._profitwellApiKey})]:[],...this._gtmId?[pI({containerId:this._gtmId})]:[]]})}track(i,s,l,v){var M=this;return(0,$.A)(function*(){return M._analytics?.track(i,s,l,v)})()}identify(i,s,l,v){this._analytics?.identify(i,s,l,v)}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(B.uzT,8),n.KVO(B.MS9,8),n.KVO(B.chv,8),n.KVO(B.zs,8),n.KVO(B.TT7,8))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),kG=(()=>{class o{get localStorage(){return function SG(){return localStorage}()}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),IA=(()=>{class o{constructor(i,s){this._platform=i,this._localStorageRefService=s,(0,X.UE)(this._platform)?(this._localStorage=this._localStorageRefService.localStorage,this._localStorage$=new a.t({...this._localStorage})):this._localStorage$=new a.t({}),this.localStorage$=this._localStorage$.asObservable()}set(i,s){if(!this._localStorage)return;const l=JSON.stringify(s);this._localStorage.setItem(i,l),this._localStorage$.next({...this._localStorage})}delete(i){this._localStorage&&(this._localStorage.removeItem(i),this._localStorage$.next({...this._localStorage}))}clearAll(){this._localStorage&&(this._localStorage.clear(),this._localStorage$.next({}))}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(n.Agw),n.KVO(kG))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),cg=(()=>{class o{constructor(i,s,l,v){this._document=i,this._firestore=s,this._api=l,this._auth=v,this._auth.user$.pipe((0,ae.p)(M=>!!M?.uid),(0,de.n)(()=>this._api.post(B.V$P.AUTH,"/auth/beacon_token"))).subscribe(({token:M})=>this._beaconToken=M)}markTipSeen(i){var s=this;return(0,$.A)(function*(){const l=s._auth.currentUser,v=(0,Wo.H9)(s._firestore,"userTooltips",l?.uid);return(0,Wo.BN)(v,{[i]:!0},{merge:!0})})()}checkTipSeen(i){var s=this;return(0,$.A)(function*(){try{const l=s._auth.currentUser,v=(0,Wo.H9)(s._firestore,"userTooltips",l?.uid),M=yield(0,Wo.x7)(v);return M.exists()&&M.data()[i]}catch{return!0}})()}userContentForContent(i,s){return i?.length&&s?.length?(0,Wo.H9)(this._firestore,B.ulr.users.content,`${i}_${s}`):null}getUserContent$(i){return this._auth.authState$.pipe((0,de.n)(s=>s?.uid?.length&&i?.length?(0,Wo.Bg)(this.userContentForContent(s.uid,i)):(0,le.H)([null])))}get _userMetaDoc(){const i=this._auth.currentUser?.uid;if(i)return(0,Wo.H9)(this._firestore,B.ulr.users.metadata,i)}get _userProfileDoc(){const i=this._auth.currentUser?.uid;if(i)return(0,Wo.H9)(this._firestore,B.ulr.users.all,i)}currentUserMetadata(){var i=this;return(0,$.A)(function*(){return(yield(0,Wo.x7)(i._userMetaDoc))?.data()??null})()}currentUserMetadata$(){return this._auth.authState$.pipe((0,de.n)(i=>i?.uid&&!i?.isAnonymous?(0,Wo.Bg)(this._userMetaDoc):(0,le.H)([null])))}currentUserProfile(){var i=this;return(0,$.A)(function*(){return(yield(0,Wo.x7)(i._userProfileDoc))?.data()??null})()}currentUserProfile$(){return this._auth.authState$.pipe((0,de.n)(i=>i?.uid&&!i?.isAnonymous?(0,Wo.Bg)(this._userProfileDoc):(0,le.H)([null])),(0,L.T)(i=>i?(0,io.om)(B.wQA,i):null))}setUserProfile(i){var s=this;return(0,$.A)(function*(){if(s._auth.currentUser?.uid)return(0,Wo.BN)(s._userProfileDoc,i,{merge:!0})})()}sendBeacon({data:i,linkId:s}){if(!this._beaconToken)return!1;if(s){const F=`${B.Hrf.link}/${s}/interaction_beacon?interactionType=click&token=${this._beaconToken}${this._document?.referrer?`&domReferrer=${this._document?.referrer}`:""}`;return!!navigator?.sendBeacon(this._api.constructApiUrl(F,B.V$P.END_USER))}const v=this._api.constructApiUrl(`${B.Hrf.analytics.beacon}?token=${this._beaconToken}`,B.V$P.API),M=new Blob([JSON.stringify({...i,domReferrer:this._document?.referrer})],{type:"application/json"});return!!navigator?.sendBeacon(v,M)}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(X.qQ),n.KVO(Wo._7),n.KVO(Lp),n.KVO(Uu))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),cM=(()=>{class o{constructor(i){this._modal=i,this.globalIsLoading$=new a.t(!1)}setLoading(i=!1){this.globalIsLoading$.next(i),i&&!this._loadingTimerSubscription?this._loadingTimerSubscription=(0,Ve.O)(400).pipe((0,X_.s)(1)).subscribe(s=>this._modalRef=this._modal.open(z.vnW,null,{blocking:!0,fullscreen:!0,transparent:!0})):i||(this._loadingTimerSubscription?.unsubscribe(),this._modalRef?.close(),this._loadingTimerSubscription=null,this._modalRef=null)}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(z.Bg8))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),DA=(()=>{class o{constructor(i,s,l,v,M,F,j,oe,Se,$e,bt){this._document=i,this._auth=s,this._device=l,this._analytics=v,this._dialog=M,this._message=F,this._local=j,this._api=oe,this._error=Se,this._user=$e,this._ui=bt,Promise.all([(0,fe._)(this._local.localStorage$),(0,fe._)(this._auth.user$)]).then(([Lt,dn])=>{const jn=!!new URL(window.location.href).searchParams.get("finishRegistration"),zi=Lt[B.Q7J]?JSON.parse(Lt[B.Q7J]):null,Si=Lt[B.U6q]?JSON.parse(Lt[B.U6q]):null;jn&&zi&&Si&&dn&&this._completeRegistration(zi,Si),(zi||Si)&&(this._local.delete(B.Q7J),this._local.delete(B.U6q))})}trackEventReferral(i,s){try{return this._api.post(B.V$P.END_USER,"content/track_referral",{contentId:i,trackingParams:s})}catch(v){this._error.displayError(v)}}toggleSmsForContent(i,s=!0,l){var v=this;return(0,$.A)(function*(){const M=v._auth.currentUser?.uid,F=i.contentId,j={userId:M,contentId:F,receiveNotifications:{sms:s}},oe=v._user.userContentForContent(M,F);return(0,Wo.BN)(oe,j,{merge:!0}).then(()=>{v._message.show({text:`Turned ${s?"on":"off"} texts.`,type:z.GoH.SUCCESS},l)})})()}toggleEmailForContent(i,s=!0,l){var v=this;return(0,$.A)(function*(){const M=v._auth.currentUser?.uid,F=i.contentId,j={userId:M,contentId:F,receiveNotifications:{email:s}},oe=v._user.userContentForContent(M,F);return(0,Wo.BN)(oe,j,{merge:!0}).then(()=>{v._message.show({text:`Turned ${s?"on":"off"} emails.`,type:z.GoH.SUCCESS},l)})})()}getUserContentForContent(i){var s=this;return(0,$.A)(function*(){const l=`content/${i}/referral`;try{return yield s._api.post(B.V$P.END_USER,l)}catch(v){s._error.displayError(v)}})()}subscribeToNewsletter(i,s,l){var v=this;return(0,$.A)(function*(){return v._api.post(B.V$P.END_USER,"newsletter/signup",{email:i,slug:v._device.currentSlug,tags:l},null,s)})()}interactWithLink(i,s="click"){var l=this;return(0,$.A)(function*(){const v=`${B.Hrf.link}/${i}/interaction`,M=l._document?.referrer??"";try{return yield l._api.post(B.V$P.END_USER,v,{interactionType:s,domReferrer:M})}catch(F){console.log(F)}})()}unregisterForContent(i,s){var l=this;return(0,$.A)(function*(){const v=l._auth.currentUser?.uid,F=l._user.userContentForContent(v,i.contentId);return(0,Wo.BN)(F,{rsvpEnabled:!1,receiveNotifications:{email:!1,sms:!1}},{merge:!0}).then(()=>{l._message.show({text:"Removed registration.",type:z.GoH.SUCCESS},s)})})()}registerForContent(i,s,l,v=!1){var M=this;return(0,$.A)(function*(){const F=(l?.length||0)>0,j=yield M._confirmUserMeetsEventRequirementsOrInitiateLoginFlow(i,F,s);M._completeRegistration(j,i,s,l,v)})()}_completeRegistration(i,s,l,v,M=!1){var F=this;return(0,$.A)(function*(){if(!i)return;const j=F._auth.currentUser,oe=F._user.userContentForContent(j?.uid,s.contentId);F._ui.setLoading(!0);const Se=F._getUserContent(i,v,j,s,M);try{yield(0,Wo.BN)(oe,Se,{merge:!0}),F._launchRsvpConfirmation(s,Se,l)}catch($e){F._error.displayError($e)}F._ui.setLoading(!1)})()}_getUserContent(i,s,l,v,M){const F=v.privateUserInfoRequirements,j=F?.email?.required,oe=void 0===F?.phoneNumber||F?.phoneNumber?.required;return{...i,...M&&{hasOptedIntoSMSMarketing:!0},...s?.length&&{promptResponses:s},userId:l?.uid,contentId:v.contentId,contentType:v.contentType,rsvpStatus:!j||l?.emailVerified?"active":"pending",rsvpEnabled:!0,receiveNotifications:{email:j??!0,sms:oe??!0}}}_launchRsvpConfirmation(i,s,l){var v=this;return(0,$.A)(function*(){if(!v.rsvpConfirmationComponent){const{RsvpConfirmationComponent:j}=yield Promise.resolve().then(function(){return fY});v.rsvpConfirmationComponent=j}const F=v._dialog.open(v.rsvpConfirmationComponent,l,{content:i,userContent:s,themeClasses:l});return(0,fe._)(F.afterClosed$).then(j=>{i.urls?.postRegistrationRedirect&&(v._document.location.href=i.urls.postRegistrationRedirect)})})()}_confirmUserMeetsEventRequirementsOrInitiateLoginFlow(i,s,l){var v=this;return(0,$.A)(function*(){v._analytics.track(i?.isEvent?B.OUt.userBeganRegisterForEventFlow:i?.isSignup?B.OUt.userBeganRegisterForDropFlow:B.OUt.userBeganRegisterForNewsletterFlow);const M=i?.prompts,F=i?.privateUserInfoRequirements,j=i?.userInfoRequirements,oe=v._auth.currentUser,Se=F?.email?.required,$e=void 0===F?.phoneNumber||F?.phoneNumber?.required,bt=j?.displayName?.required,Lt=i?.isPaid,dn=$e&&!oe.phoneNumber;if(!(M?.length>0||Lt||Se||bt||dn))return{};if(!v.loginComponent){const{LoginComponent:bi}=yield Promise.resolve().then(function(){return hY});v.loginComponent=bi}const Si=v._dialog.open(v.loginComponent,l,{content:i,shouldSkipPromptsStage:s,themeClasses:l}),ki=yield(0,fe._)(Si.afterClosed$);return v._analytics.track(i?.isEvent?B.OUt.userFinishedRegisterForEventFlow:i?.isSignup?B.OUt.userFinishedRegisterForDropFlow:B.OUt.userFinishedRegisterForNewsletterFlow),ki})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(X.qQ),n.KVO(Uu),n.KVO(ih),n.KVO(JD),n.KVO(z.Bg8),n.KVO(z.bgN),n.KVO(IA),n.KVO(Lp),n.KVO(z.IvX),n.KVO(cg),n.KVO(cM))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const OA={connected:!1,error:null,uid:null};let zA=(()=>{class o{constructor(i,s,l,v){this._socketServerUrl=i,this._api=s,this._auth=l,this._device=v,this._connectionStateChanged=new a.t(OA),this.connectionStateChanged$=this._connectionStateChanged.asObservable().pipe((0,ze.Z)(OA),(0,H1.J)(),(0,ae.p)(([M,F])=>M?.uid!==F?.uid||M?.connected!==F?.connected),(0,L.T)(([,M])=>M)),this._socketMessages$=new Ee.B,this.realtimeSocketServerMessages$=this._socketMessages$.asObservable(),(0,qe.z)([this._auth.authState$,this._device.currentSlug$]).pipe((0,at.M)(([M])=>this._setConnected(!1,null,M?.uid)),(0,ae.p)(([M])=>!!M?.uid),(0,de.n)(()=>this._api.post(B.V$P.AUTH,"/auth/socket_token"))).subscribe(M=>this._initSocket(M?.token))}_initSocket(i){i&&this._uid&&(this.socket=Hw(this._socketServerUrl,{path:"/transport",transports:["websocket"],auth:{token:i},query:{token:i,slug:this._device.currentSlug}}),this.socket.on("event",l=>this._socketMessages$.next(l)),this.socket.on("connect",()=>this._setConnected(!0)),this.socket.on("disconnect",()=>this._setConnected(!1)),this.socket.on("connect_error",l=>this._setConnected(!1,l)))}_setConnected(i,s=null,l=this._uid){this._uid=l,this._connectionStateChanged.next({connected:i,error:s,uid:l})}sendMessage({message:i,payload:s}){this._connectionStateChanged.pipe((0,ae.p)(({connected:l,error:v})=>l&&!v),(0,X_.s)(1)).subscribe(()=>this.socket?.emit(i,s))}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(B.yF0),n.KVO(Lp),n.KVO(Uu),n.KVO(ih))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),GG=(()=>{class o extends z.$GR{constructor(i,s){super(),this._title=i,this._meta=s,this._hasAddedTags=!1}setMeta(i,s,l,v,M){this._title.setTitle(i),this._hasAddedTags?(this._meta.updateTag({name:"twitter:card",content:l?.length?"summary_large_image":"summary"}),this._meta.updateTag({name:"og:title",content:i}),this._meta.updateTag({name:"twitter:title",content:i}),this._meta.updateTag({name:"og:description",content:s??""}),this._meta.updateTag({name:"twitter:description",content:s??""}),this._meta.updateTag({name:"og:image",content:l??""}),this._meta.updateTag({name:"twitter:image",content:l??""}),this._meta.updateTag({name:"keywords",content:v??""}),this._meta.updateTag({name:"description",content:s??""}),M?.forEach(F=>this._meta.updateTag(F))):(this._hasAddedTags=!0,this._meta.addTags([{name:"twitter:card",content:l?.length?"summary_large_image":"summary"},{name:"og:title",content:i},{name:"twitter:title",content:i},{name:"og:description",content:s??""},{name:"twitter:description",content:s??""},{name:"og:image",content:l??""},{name:"twitter:image",content:l??""},{name:"keywords",content:v??""},{name:"description",content:s??""},...M??[]]))}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(Fl.hE),n.KVO(Fl.W8))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const NA=o=>(d,i)=>{if(!!d!=!!i||!d)return 1;const s="modifiedAt"===o.orderBy?"modifiedAtCursor":"startDateCursor",l=d[s],v=i[s];return l===v?0:"desc"===o.sort?l>v?-1:1:l<v?-1:1};class cT{constructor(d){this._input=d,this._innerStream=new a.t(null),this._key=cT.constructQueryKey(d)}static constructQueryKey(d){const{handlers:i,args:s,cacheKey:l}=d;return l||function jG(...o){return o.map(s=>s.join("_")).map(s=>(0,B.YZz)(s)).join("-")}(i.map(F=>`${F.event}_${F?.payload?.resourceId}`),Object.entries(s??{}).map(F=>F.join("_")))}enable(d,i){let s=this.numberOfObservers;this.stream=this.stream||(0,Ge.v)(()=>(d?.(s,++s),this._innerStream)).pipe((0,ht.j)(()=>i?.(s,--s)))}next(d){this._innerStream.next({data:d,next:i=>this.next(i)})}complete(){this._innerStream.complete()}get key(){return this._key}get handlers(){return this._input.handlers}get lookup(){return this._input.lookup}get args(){return this._input.args}get isPublic(){return this._input.isPublic}get numberOfObservers(){return this._innerStream.observers?.length??0}get currentValue(){return this._innerStream.value?.data}get fetch(){var d=this;return(0,$.A)(function*(){return d.lookup?d.lookup(d.args).then(i=>d.next(i)).catch(i=>console.log("Error fetching: "+i)):d.next(null)})}}class ZD extends cT{constructor(d){super(d),this._input=d,this._innerStream=new a.t(null)}next(d){this._innerStream.next({items:d,fetch:this.maxCursor?this.fetch:null,next:i=>this.next(i)})}get currentValue(){return this._innerStream.value?.items}get lookup(){return this._input.lookup}get transformer(){return this._input.transformer}get args(){return this._input.args}get fetch(){var d=this;return(0,$.A)(function*(){const i=!d.maxCursor,s={...d.args,...!i&&{after:d.maxCursor}};return d.lookup?d.lookup(s).then(l=>d.transformer(l,i?null:d.currentValue)).then(l=>{d.maxCursor=l?.cursor,d.next(l?.items)}).catch(l=>console.log("Error fetching: "+l)):d.next([])})}}let eO=(()=>{class o{constructor(i,s){this._socket=i,this._device=s,this._cache={},this._topicRegistry={},(0,qe.z)([this._socket.connectionStateChanged$,this._device.currentSlug$]).subscribe(([l,v])=>{const{connected:M,uid:F}=l;this._socketState?.uid&&F!==this._socketState.uid||this._slug&&v!==this._slug?this._clearCache():F&&M&&!this._socketState?.connected&&this._restartCachedStreams(),this._socketState=l,this._slug=v})}query$(i){const s=this._getNotifierSubjectForQuery(i);return s.enable(this._getOnObserverAddedCallback(s,i),this._getOnObserverRemovedCallback(s,i)),s.stream.pipe((0,L.T)(l=>i?.args?.limit&&l?.items?.length&&i.args.limit<l.items.length?{...l,items:l.items.slice(0,i.args.limit)}:l))}document$(i){const s=this._getNotifierSubjectForDocumentLookup(i);return s.enable(this._getOnObserverAddedCallback(s,i),this._getOnObserverRemovedCallback(s,i)),s.stream}_getKeyForHandler(i){return`${i.event}_${i.payload.resourceId}`}_getOnObserverAddedCallback(i,s){return(l,v)=>{0===l&&1===v&&i.fetch().then(()=>{this._initSocketEvents(s.handlers,i)})}}_getOnObserverRemovedCallback(i,s){return(l,v)=>{0===v&&(s.handlers?.forEach(F=>{F.subscription?.unsubscribe();const j=this._getKeyForHandler(F);delete this._topicRegistry[j]?.[i.key],Object.keys(this._topicRegistry[j]).length>0||this._sendSocketMessage(F.event,"stop",F.payload)}),i instanceof ZD&&(i.maxCursor=null))}}_getNotifierSubjectForQuery(i){const s=ZD.constructQueryKey(i);return this._cache[s]=this._cache[s]||new ZD(i),this._cache[s]}_getNotifierSubjectForDocumentLookup(i){const s=cT.constructQueryKey(i);return this._cache[s]=this._cache[s]||new cT(i),this._cache[s]}_clearCache(){Object.keys(this._cache).forEach(s=>{const l=this._cache[s];l.isPublic||(l.handlers?.forEach(v=>{v.subscription?.unsubscribe();const M=this._getKeyForHandler(v);delete this._topicRegistry[M]?.[l.key],this._socketState?.connected&&this._sendSocketMessage(v.event,"stop",v.payload)}),l.next(null),l.complete(),delete this._cache[s])})}_restartCachedStreams(){Object.values(this._cache).forEach(i=>{i?.numberOfObservers>0&&i?.handlers?.forEach(s=>{this._sendSocketMessage(s.event,"start",s.payload)})})}_sendSocketMessage(i,s,l={}){const v={message:i,payload:{...l,listen:s}};this._socket.sendMessage(v)}_initSocketEvents(i,s){i?.forEach(l=>{const v=this._getKeyForHandler(l);this._topicRegistry[v]={...this._topicRegistry[v],[s.key]:!0},this._sendSocketMessage(l.event,"start",l.payload),l.subscription?.unsubscribe(),l.subscription=this._socket.realtimeSocketServerMessages$.pipe((0,ae.p)(M=>M&&M.topic===l.event&&M.identifier===l.payload.resourceId)).subscribe(M=>s.next(l.transformer(M,s.currentValue)))})}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(zA),n.KVO(ih))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();wt.extend(Du);let dT=(()=>{class o{constructor(i,s,l,v){var M=this;this._error=i,this._api=s,this._device=l,this._ods=v,this.getContent=function(){var F=(0,$.A)(function*(j){if(!j?.length)return null;try{const oe=yield M._api.get(B.V$P.END_USER,`v2/content/${j}`);return B.UCW.fromObject(oe)}catch(oe){throw M._error?.displayError?.(oe),oe}});return function(j){return F.apply(this,arguments)}}(),this.getEvents=function(){var F=(0,$.A)(function*(j){void 0===j.after&&(j.after=(0,B.b6t)(wt().startOf("day").toDate())),void 0===j.orderBy&&(j.orderBy="startDate");try{return yield M._api.get(B.V$P.END_USER,"v2/event",j)}catch(oe){M._error.displayError(oe)}});return function(j){return F.apply(this,arguments)}}(),this.getConversationMessage=function(){var F=(0,$.A)(function*({id:j}){try{const oe=yield M._api.get(B.V$P.END_USER,`ai/message/${j}`);return oe?B.hSD.fromObject(oe):null}catch(oe){M._error.displayError(oe)}});return function(j){return F.apply(this,arguments)}}(),this.getWebHostedSendById=function(){var F=(0,$.A)(function*({id:j}){try{const oe=yield M._api.get(B.V$P.END_USER,B.Hrf.singlesend+`/webhosted/${j}`);return B.baN.fromObject(oe)}catch(oe){M._error.displayError(oe)}});return function(j){return F.apply(this,arguments)}}(),this.addContentToSend=function(){var F=(0,$.A)(function*(j){return j?Promise.all((j?.blocks??[]).reduce((oe,Se)=>(0,B.E8H)(Se)||(0,B.CoZ)(Se)?[...oe,M.getContent(Se.contentId)]:oe,[])).then(oe=>j.addContentArrayToMap(oe)):null});return function(j){return F.apply(this,arguments)}}(),this.getWebHostedSendById$=({id:F})=>this.addContentToSend$((0,le.H)(this.getWebHostedSendById({id:F}))),this.addContentToSend$=F=>F.pipe((0,de.n)(j=>(0,qe.z)((j?.blocks??[]).reduce((oe,Se)=>(0,B.E8H)(Se)||(0,B.CoZ)(Se)?[...oe,this.getContent$(Se.contentId)]:oe,[])).pipe((0,gk.U)([]),(0,L.T)(oe=>j?.addContentArrayToMap(oe)))))}getContent$(i){return this._ods.document$({handlers:[{event:"content_public/updated",payload:{resourceId:i},transformer:l=>B.UCW.fromObject(l?.data)},{event:"content_public/deleted",payload:{resourceId:i},transformer:l=>null}],lookup:this.getContent,args:i,isPublic:!0}).pipe((0,L.T)(l=>l?.data),(0,ae.p)((l,v)=>!(!l&&!v)))}getEventsForCurrentSlug$(i){return this._ods.query$({args:i,lookup:this.getEvents,transformer:(M,F)=>{const j=M?.pageInfo?.hasNextPage;return{items:[...F??[],...M?.edges?.map(Se=>B.kGp.fromObject(Se?.node))??[]],cursor:j?M?.pageInfo?.maxCursor:null}},handlers:[{event:"content_public/created_in_slug",payload:{resourceId:this._device.currentSlug},transformer:(M,F)=>{if("event"!==M?.data?.contentType||!F)return F;const j=B.kGp.fromObject(M.data),oe="modifiedAt"===i.orderBy?"modifiedAtCursor":"startDateCursor";return!j.published||i.after&&!("desc"===i.sort?j[oe]<i.after:j[oe]>i.after)?F:(F.push(j),F.sort(NA(i)),[...F])}},{event:"content_public/updated_in_slug",payload:{resourceId:this._device.currentSlug},transformer:(M,F)=>{if("event"!==M?.data?.contentType||!F)return F;const j=B.kGp.fromObject(M.data),oe=F.findIndex(dn=>dn?.contentId===j?.contentId),Se=oe>-1?F[oe]:null,$e=!!Se,bt=Se?.published!==j.published,Lt=!!j.published;if($e&&!bt&&Lt)F[oe]=j;else if($e&&bt&&!Lt)F.splice(oe,1);else{if($e||!Lt)return F;F.push(j),F.sort(NA(i))}return[...F]}},{event:"content_public/deleted_in_slug",payload:{resourceId:this._device.currentSlug},transformer:(M,F)=>{if("event"!==M?.data?.contentType||!F)return F;const j=B.kGp.fromObject(M.data),oe=F.findIndex(Se=>Se?.contentId===j?.contentId);return oe>-1?(F.splice(oe,1),[...F]):F}}]})}getPaymentIntentSecret(i,s,l,v){var M=this;return(0,$.A)(function*(){try{const F=`${B.Hrf.event}/${i}/payment_intent`,j={applyTax:!0,label:s,qty:l,promoCode:v};return yield M._api.post(B.V$P.END_USER,F,j)}catch(F){M._error.displayError(F)}})()}getPaymentIntentEstimate(i,s,l,v){var M=this;return(0,$.A)(function*(){try{const F=`${B.Hrf.event}/${i}/payment_intent/estimate`,j={applyTax:!0,label:s,qty:l,promoCode:v};return yield M._api.post(B.V$P.END_USER,F,j)}catch(F){M._error.displayError(F)}})()}getConversationMessage$(i){return this._ods.document$({handlers:[],lookup:this.getConversationMessage,args:{id:i},isPublic:!0}).pipe((0,L.T)(l=>l?.data),(0,ae.p)((l,v)=>!(!l&&!v)))}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(z.IvX),n.KVO(Lp),n.KVO(ih),n.KVO(eO))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),uT=(()=>{class o{constructor(i,s){this._firestore=i,this._device=s}getCurrentSlug$(){return this._device.currentSlug$.pipe((0,de.n)(i=>(0,Wo.Bg)((0,Wo.H9)(this._firestore,B.ulr.slugs.all,i))),(0,L.T)(i=>B.zs1.fromObject(i)))}getCurrentSlug(){var i=this;return(0,$.A)(function*(){return i.getSlug(i._device.currentSlug)})()}getCurrentSlugMetadata(){var i=this;return(0,$.A)(function*(){try{const l=(0,Wo.H9)(i._firestore,B.ulr.slugs.metadata,i._device.currentSlug),v=yield(0,Wo.x7)(l);return v.exists()?(0,io.om)(B.GvY,v.data()):null}catch{return null}})()}getSlug(i){var s=this;return(0,$.A)(function*(){try{const l=(0,Wo.H9)(s._firestore,B.ulr.slugs.all,i),v=yield(0,Wo.x7)(l);return v.exists()?B.zs1.fromObject(v.data()):null}catch{return null}})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(Wo._7),n.KVO(ih))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),HG=(()=>{class o{constructor(i,s,l){this._locationStrategy=i,this._route=s,this._router=l}interceptClick(i){const s=i.target;let v=s;if(!(v instanceof HTMLAnchorElement||(v=s.parentNode)instanceof HTMLAnchorElement))return;const M=v.getAttribute("href");!M||!this._shouldIntercept(v)||(i.preventDefault(),this._isExternalUrl(M)?window.open(M):this.navigate(M))}navigate(i,s=!1){const l=this._getUrlTree(i);this._router.navigated=!1,this._router.navigateByUrl(l,{replaceUrl:s})}normalizeExternalUrl(i){if(this._isExternalUrl(i))return i;const s=this._getUrlTree(i),l=this._router.serializeUrl(s);return this._locationStrategy.prepareExternalUrl(l)}scrollToAnchor(){this._router.parseUrl(this._router.url).fragment&&this.navigate(this._router.url,!0)}_getUrlTree(i){const s=this._stripFragment(i)||this._stripFragment(this._router.url),l=this._router.parseUrl(i).fragment;return this._router.createUrlTree([s],{relativeTo:this._route,fragment:l})}_isExternalUrl(i){const s=null==/^(?!http(s?):\/\/).+$/.exec(i),l=i.startsWith("sms:"),v=i.startsWith("mailto:");return s||l||v}_shouldIntercept(i){const s=i?.getAttributeNames()??[];let l=!1,v=!1;return s.forEach(M=>{l=l||M.startsWith("_ngcontent"),v=v||"intercept"==M}),!l||v}_stripFragment(i){return/[^#]*/.exec(i)[0]}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(X.hb),n.KVO(Go.nX),n.KVO(Go.Ix))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),AA=(()=>{class o{constructor(){pB({dsn:"https://7b43281f62f748b48996dba91ee10ef3@o411915.ingest.sentry.io/5287884",environment:(0,n.naY)()?"dev":"prod"})}logError(i,s){DN("string"==typeof i?new Error(i):i,s),(0,n.naY)()&&console.error(i)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),RA=(()=>{class o{constructor(i){this._api=i,this.getRawLandingPageById=s=>this._api.get(B.V$P.END_USER,`${B.Hrf.landingPage}/${s}`),this.getLandingPageById=s=>this.getRawLandingPageById(s).then(l=>B.ney.fromObject(l)),this.getRawDefaultLandingPage=()=>this._api.get(B.V$P.END_USER,`${B.Hrf.landingPage}/default`,{},{"Cache-Control":"max-age=0, no-cache, no-store, must-revalidate"}),this.getDefaultLandingPage=()=>this.getRawDefaultLandingPage().then(s=>B.ney.fromObject(s)),this.getRawLandingPageByLabel=s=>this._api.get(B.V$P.END_USER,`${B.Hrf.landingPage}/label/${s}`,{},{"Cache-Control":"max-age=0, no-cache, no-store, must-revalidate"}),this.getLandingPageByLabel=s=>this.getRawLandingPageByLabel(s).then(l=>B.ney.fromObject(l)),this.getLandingPages=s=>this._api.get(B.V$P.END_USER,B.Hrf.landingPage,s)}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(Lp))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),YG=(()=>{class o{constructor(i,s,l){this._service=i,this._ods=s,this._device=l}getLandingPageById$(i){return this._ods.document$({handlers:[{event:"landing_page/updated",payload:{resourceId:i},transformer:l=>B.ney.fromObject(l?.data)},{event:"landing_page/deleted",payload:{resourceId:i},transformer:l=>B.ney.fromObject(l?.data)}],lookup:this._service.getLandingPageById,args:i,isPublic:!0})}getDefaultLandingPage$(){return this._device.currentSlug$.pipe((0,ae.p)(i=>!!i),(0,de.n)(i=>this._ods.document$({handlers:[{event:"landing_page/updated_default_in_slug",payload:{resourceId:i},transformer:s=>B.ney.fromObject(s?.data)}],lookup:this._service.getDefaultLandingPage,isPublic:!0})))}getLandingPageByLabel$(i){return this._ods.document$({handlers:[{event:"landing_page/updated_with_label",payload:{resourceId:i},transformer:l=>B.ney.fromObject(l?.data)},{event:"landing_page/deleted_with_label",payload:{resourceId:i},transformer:l=>B.ney.fromObject(l?.data)}],lookup:this._service.getLandingPageByLabel,args:i,isPublic:!0})}static#e=this.\u0275fac=function(s){return new(s||o)(n.KVO(RA),n.KVO(eO),n.KVO(ih))};static#t=this.\u0275prov=n.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function oj(o,d){if(1&o&&(n.j41(0,"p",2),n.EFF(1),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.JRh(i.loginCopy)}}function rj(o,d){if(1&o&&(n.j41(0,"option",10),n.EFF(1),n.k0s()),2&o){const i=d.$implicit;n.Y8G("value",i.key),n.R7$(),n.Lme(" ",null==i.value?null:i.value.flag," +",null==i.value?null:i.value.value," ")}}function sj(o,d){if(1&o&&(n.j41(0,"div",2)(1,"label",11),n.nrm(2,"div",12),n.k0s()()),2&o){const i=n.XpG();n.R7$(2),n.Y8G("innerHtml",i.marketingOptInLabel,n.npT)}}function aj(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",2)(1,"label",13)(2,"div",14),n.bIt("click",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleTermsLabelClick(l))}),n.k0s()()()}if(2&o){const i=n.XpG();n.R7$(2),n.Y8G("innerHtml",i.termsOptInLabel,n.npT)}}function lj(o,d){if(1&o&&n.nrm(0,"div",15),2&o){const i=n.XpG();n.Y8G("innerHtml",i.marketingOptInLabel,n.npT)}}wt.extend(Du),wt.extend(BB);let cj=(()=>{class o extends z.cTL{get hasTerms(){return!!this.slug?.general?.termsUrl?.length}get hasPrivacy(){return!!this.slug?.general?.privacyUrl?.length}get hasWebsite(){return!!this.slug?.accountInfo?.links?.website?.length}get shouldShowTermsOptIn(){return this.hasTerms||this.hasPrivacy}get termsOptInLabel(){const i=this.hasTerms?`<a href="${this.slug.general.termsUrl}" class="underline" target="_blank">Terms of Service</a>`:"",s=this.hasTerms&&this.hasPrivacy?" and ":"",l=this.hasPrivacy?`<a href="${this.slug.general.privacyUrl}" class="underline" target="_blank">Privacy Policy</a>`:"",v=this.hasWebsite?`. For more information, see <a href="${this.slug.accountInfo.links.website}" class="underline" target="_blank">here</a>`:"";return[`I agree to ${this.slug.accountInfo?.title}'s `,i,s,l,v,"."].join("")}get shouldShowMarketingOptIn(){return!!this.content}get needsMarketingCheckBox(){return this.shouldShowMarketingOptIn&&(this.content.isEvent||this.content.isPaid)}get marketingOptInLabel(){let l=`By ${this.needsMarketingCheckBox?"checking this box":"proceeding"} you agree to receive automated\n    marketing messages${this.slug?.accountInfo?.title?` from ${this.slug.accountInfo.title}`:""} at the contact information provided.`;return this.content?.isPaid&&(l+=" Consent is not required as a condition of purchase."),l+=` Message and data rates may apply. Message frequency varies. Reply HELP for help and STOP to cancel. See terms <a href="${this.endUserMobileTermsUrl}" class="underline" target="_blank">here</a>.`,l}get endUserMobileTermsUrl(){return`https://${this.slug?.slug}.${this._host}/legal/mobile-terms`}constructor(i,s,l){super(),this._host=i,this._formBuilder=s,this._auth=l,this.handleNext=new n.bkB,this.phonePlaceholder="(123) 456-7890",this.COUNTRY_CODES=B.Pfe,this.preserveOrder=(v,M)=>0}ngOnChanges(i){super.ngOnChanges(i),this.formGroup?.get("hasAgreedToCustomerTerms")?.setValidators(this.shouldShowTermsOptIn?P.k0.requiredTrue:[])}ngOnInit(){super.ngOnInit(),this._initCopy(),this.formGroup=this._formBuilder.group({phoneNumber:["",P.k0.required],countryCode:["US",P.k0.required],hasAgreedToCustomerTerms:[!1,this.shouldShowTermsOptIn?P.k0.requiredTrue:[]],hasOptedIntoMarketing:[!this.needsMarketingCheckBox]},{validators:this._isPhoneNumberValid})}_initCopy(){this.loginCopy="Please enter your phone number to verify or create your account.",this.content?.isEvent&&(this.loginCopy=`${this.loginCopy} You'll only receive messages about this event.`)}handleTermsLabelClick(i){if(i.target instanceof HTMLElement&&"A"===i.target.tagName){i.preventDefault(),i.stopPropagation();const s=i.target.getAttribute("href");s?.length&&window.open(s,"_blank")}}handleCountryCodeChanged(i){const s=B.Pfe[i];this.phonePlaceholder=s?.placeholder}submitPhone(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid)return;i.isLoading=!0;const{countryCode:s,phoneNumber:l,hasOptedIntoMarketing:v}=i.formGroup.value;i.phoneNumber=(0,B.n4R)(l,s);const M=yield i.executeCaptcha();try{yield i._auth.initiatePhoneSignInFlow(i.phoneNumber,M),i.handleNext.emit({phoneNumber:i.phoneNumber,hasOptedIntoMarketing:v})}catch{i.phoneNumber=null}i.isLoading=!1})()}_isPhoneNumberValid(i){const{phoneNumber:s,countryCode:l}=i.value;return(0,B.OKj)(s,l)}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(B.iTi),n.rXU(P.ze),n.rXU(Uu))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-phone-number"]],inputs:{userContent:"userContent",content:"content",slug:"slug"},outputs:{handleNext:"handleNext"},features:[n.Vt3,n.OA$],decls:16,vars:16,consts:[[1,"steps-content","max-w-md"],[3,"ngSubmit","formGroup"],["rootFormItem",""],["rootFormItem","",4,"ngIf"],["rootInputGroup",""],["formControlName","countryCode",1,"phone-number-select",3,"onHandleChange","isJoinedRight"],[3,"value",4,"ngFor","ngForOf"],["type","tel","formControlName","phoneNumber",1,"phone-number-input",3,"placeholder","isRequired","isJoinedLeft"],["type","primary","size","large","text","Next",3,"block","disabled","loading"],["class","text-xxs text-center opacity-60",3,"innerHtml",4,"ngIf"],[3,"value"],["root-checkbox","","size","small","formControlName","hasOptedIntoMarketing"],[1,"text-xs",3,"innerHtml"],["root-checkbox","","size","small","formControlName","hasAgreedToCustomerTerms"],[1,"text-xs",3,"click","innerHtml"],[1,"text-xxs","text-center","opacity-60",3,"innerHtml"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitPhone()}),n.j41(2,"h2",2),n.EFF(3,"Enter your number"),n.k0s(),n.DNE(4,oj,2,1,"p",3),n.j41(5,"div",2)(6,"div",4)(7,"norby-select",5),n.bIt("onHandleChange",function(M){return l.handleCountryCodeChanged(M)}),n.DNE(8,rj,2,3,"option",6),n.nI1(9,"keyvalue"),n.k0s(),n.nrm(10,"norby-input",7),n.k0s()(),n.DNE(11,sj,3,1,"div",3)(12,aj,3,1,"div",3),n.j41(13,"div",2),n.nrm(14,"root-button",8),n.k0s(),n.DNE(15,lj,1,1,"div",9),n.k0s()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(3),n.Y8G("ngIf",l.loginCopy),n.R7$(3),n.Y8G("isJoinedRight",!0),n.R7$(),n.Y8G("ngForOf",n.i5U(9,13,l.COUNTRY_CODES,l.preserveOrder)),n.R7$(2),n.Y8G("placeholder",l.phonePlaceholder)("isRequired",!0)("isJoinedLeft",!0),n.R7$(),n.Y8G("ngIf",l.shouldShowMarketingOptIn&&l.needsMarketingCheckBox),n.R7$(),n.Y8G("ngIf",l.shouldShowTermsOptIn),n.R7$(2),n.Y8G("block",!0)("disabled",!l.formGroup.valid)("loading",l.isLoading),n.R7$(),n.Y8G("ngIf",l.shouldShowMarketingOptIn&&!l.needsMarketingCheckBox))},dependencies:[X.Sq,X.bT,P.qT,P.xH,P.y7,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.fR,z.b27,z.kek,z.PYJ,z.Qvd,X.lG],styles:[".phone-number-select[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;width:30%}.phone-number-input[_ngcontent-%COMP%]{display:inline-block;width:70%}"]})}return o})(),dj=(()=>{class o extends z.cTL{constructor(i,s,l){super(),this._formBuilder=i,this._user=s,this._auth=l,this.handleNext=new n.bkB,this.handleSetError=new n.bkB,this.handleSkipEmailStep=new n.bkB}ngOnInit(){super.ngOnInit(),this.formGroup=this._formBuilder.group({verificationCode:["",[P.k0.required,P.k0.minLength(6),P.k0.maxLength(6)]]})}submitCode(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid||!i.phoneNumber)return;const s=`${i.formGroup.value.verificationCode}`;i.isLoading=!0;try{yield i._auth.completePhoneLogin({phoneNumber:i.phoneNumber,verificationCode:s}),(yield i._user.currentUserMetadata())?.email&&i.handleSkipEmailStep.emit(),i.isLoading=!1,i.handleNext.emit()}catch(l){i.isLoading=!1,i.handleSetError.emit(l)}})()}resendPhoneCode(){var i=this;return(0,$.A)(function*(){if(!i.phoneNumber)return;const s=yield i.executeCaptcha();i.isResendingCode=!0;try{yield i._auth.initiatePhoneSignInFlow(i.phoneNumber,s),i.isResendingCode=!1}catch(l){i.isResendingCode=!0,i.phoneNumber=null,i.handleSetError.emit(l)}})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(P.ze),n.rXU(cg),n.rXU(Uu))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-phone-number-confirmation-code"]],inputs:{phoneNumber:"phoneNumber",isOnFinalScreen:"isOnFinalScreen"},outputs:{handleNext:"handleNext",handleSetError:"handleSetError",handleSkipEmailStep:"handleSkipEmailStep"},features:[n.Vt3],decls:13,vars:8,consts:[[1,"steps-content","max-w-md"],[3,"ngSubmit","formGroup"],["rootFormItem",""],["rootNestedInputGroup","",1,"py-2"],["formControlName","verificationCode","placeholder","Your verification code","characterLimit","6","type","number",3,"isNestedButton","isRequired"],["type","primary","size","small","text","Resend","formSubmit","button",3,"handleClick","loading"],["name","rotate_cw"],["type","primary","size","large",3,"block","disabled","loading","text"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitCode()}),n.j41(2,"h2",2),n.EFF(3,"Enter your verification code"),n.k0s(),n.j41(4,"p",2),n.EFF(5,"Please enter the code we just sent you."),n.k0s(),n.j41(6,"div",2)(7,"div",3),n.nrm(8,"norby-input",4),n.j41(9,"root-button",5),n.bIt("handleClick",function(){return l.resendPhoneCode()}),n.nrm(10,"root-icon",6),n.k0s()()(),n.j41(11,"div",2),n.nrm(12,"root-button",7),n.k0s()()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(7),n.Y8G("isNestedButton",!0)("isRequired",!0),n.R7$(),n.Y8G("loading",l.isResendingCode),n.R7$(3),n.Y8G("block",!0)("disabled",!l.formGroup.valid)("loading",l.isLoading)("text",l.isOnFinalScreen?"Submit":"Next"))},dependencies:[P.qT,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.RlV,z.fR,z.Qe9,z.kek]})}return o})();function uj(o,d){if(1&o&&(n.j41(0,"p",2),n.EFF(1),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.JRh(i.emailLoginCopy)}}let hj=(()=>{class o extends z.cTL{constructor(i,s){super(),this._auth=i,this._formBuilder=s,this.handleNext=new n.bkB,this.handleSetError=new n.bkB,this.handleSkipVerificationCodeStage=new n.bkB}ngOnInit(){super.ngOnInit(),this._initEmailLoginCopy(),this.formGroup=this._formBuilder.group({email:["",[P.k0.required,P.k0.email]]})}_initEmailLoginCopy(){this.emailLoginCopy="Please enter your email.",this.content?.isEvent?this.emailLoginCopy=`${this.emailLoginCopy} You'll only receive messages about this event and can opt out at any time.`:this.content?.isSignup&&(this.emailLoginCopy=`${this.emailLoginCopy} You can opt out at any time.`)}submitEmail(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid)return;i.isLoading=!0,i.email=i.formGroup.value.email;const s=yield i.executeCaptcha();try{const l=yield i._auth.initiateEmailSignInOrLinkingFlow({email:i.email,recaptchaToken:s});null!==l.credential&&i.handleSkipVerificationCodeStage.emit(),i.emailVerificationCodeMedium=l.medium,i.isLoading=!1,i.handleNext.emit({email:i.email,emailVerificationCodeMedium:i.emailVerificationCodeMedium})}catch(l){i.isLoading=!1,i.handleSetError.emit(l)}})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(Uu),n.rXU(P.ze))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-email"]],inputs:{email:"email",content:"content",emailVerificationCodeMedium:"emailVerificationCodeMedium"},outputs:{handleNext:"handleNext",handleSetError:"handleSetError",handleSkipVerificationCodeStage:"handleSkipVerificationCodeStage"},features:[n.Vt3],decls:9,vars:6,consts:[[1,"steps-content","max-w-md"],[3,"ngSubmit","formGroup"],["rootFormItem",""],["rootFormItem","",4,"ngIf"],["type","email","placeholder","bob@example.com","formControlName","email",3,"isRequired"],["type","primary","size","large","text","Next",3,"block","disabled","loading"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitEmail()}),n.j41(2,"h2",2),n.EFF(3,"Enter your email"),n.k0s(),n.DNE(4,uj,2,1,"p",3),n.j41(5,"div",2),n.nrm(6,"norby-input",4),n.k0s(),n.j41(7,"div",2),n.nrm(8,"root-button",5),n.k0s()()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(3),n.Y8G("ngIf",l.emailLoginCopy),n.R7$(2),n.Y8G("isRequired",!0),n.R7$(2),n.Y8G("block",!0)("disabled",!l.formGroup.valid)("loading",l.isLoading))},dependencies:[X.bT,P.qT,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.fR,z.kek]})}return o})();function pj(o,d){1&o&&(n.j41(0,"p",2),n.EFF(1," Please enter the code we just sent to your email. If you can't find the code, check your spam folder. "),n.k0s())}function fj(o,d){1&o&&(n.j41(0,"p",2),n.EFF(1," Please enter the code we just sent you over text. "),n.k0s())}let mj=(()=>{class o{constructor(i,s){this._auth=i,this._formBuilder=s,this.handleNext=new n.bkB,this.handleSetError=new n.bkB}ngOnInit(){this.formGroup=this._formBuilder.group({verificationCode:["",[P.k0.required,P.k0.minLength(6),P.k0.maxLength(6)]]})}submitEmailCode(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid||!i.email)return;const s=`${i.formGroup.value.verificationCode}`;i.isLoading=!0;try{yield i._auth.completeEmailLogin({email:i.email,verificationCode:s}),i.isLoading=!1,i.handleNext.emit()}catch(l){i.isLoading=!1,i.handleSetError.emit(l)}})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(Uu),n.rXU(P.ze))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-email-confirmation-code"]],inputs:{email:"email",isOnFinalScreen:"isOnFinalScreen",emailVerificationCodeMedium:"emailVerificationCodeMedium"},outputs:{handleNext:"handleNext",handleSetError:"handleSetError"},decls:10,vars:8,consts:[[1,"steps-content","max-w-md"],[3,"ngSubmit","formGroup"],["rootFormItem",""],["rootFormItem","",4,"ngIf"],["type","number","formControlName","verificationCode","placeholder","Your verification code","characterLimit","6",1,"number-input",3,"isRequired"],["type","primary","size","large",3,"block","disabled","loading","text"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitEmailCode()}),n.j41(2,"h2",2),n.EFF(3,"Enter your verification code"),n.k0s(),n.DNE(4,pj,2,0,"p",3)(5,fj,2,0,"p",3),n.j41(6,"div",2),n.nrm(7,"norby-input",4),n.k0s(),n.j41(8,"div",2),n.nrm(9,"root-button",5),n.k0s()()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(3),n.Y8G("ngIf","email"===l.emailVerificationCodeMedium),n.R7$(),n.Y8G("ngIf","sms"===l.emailVerificationCodeMedium),n.R7$(2),n.Y8G("isRequired",!0),n.R7$(2),n.Y8G("block",!0)("disabled",!(null!=l.formGroup&&l.formGroup.valid))("loading",l.isLoading)("text",l.isOnFinalScreen?"Submit":"Next"))},dependencies:[X.bT,P.qT,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.fR,z.kek]})}return o})();function gj(o,d){1&o&&(n.j41(0,"div",3),n.nrm(1,"norby-input",6),n.k0s())}function vj(o,d){1&o&&(n.j41(0,"div",3),n.nrm(1,"norby-input",7),n.k0s())}function _j(o,d){if(1&o&&(n.j41(0,"div",3)(1,"label",8),n.EFF(2),n.k0s()()),2&o){const i=n.XpG();n.R7$(2),n.JRh(i.marketingOptInLabel)}}let yj=(()=>{class o extends z.cTL{constructor(i,s,l){super(),this._formBuilder=i,this._auth=s,this._user=l,this.stages=[],this.userContent={},this.unsubscribeUserSubscriptions=new n.bkB,this.handleNext=new n.bkB,this.handleSetError=new n.bkB}ngOnInit(){super.ngOnInit(),this.formGroup=this._formBuilder.group({email:[this.userMetadata?.email,this.needsEmail?[P.k0.required,P.k0.email]:[]],displayName:[this.userProfile?.displayName,this.needsName?[P.k0.required]:[]],photoURL:[this.userProfile?.photoURL,[]],hasOptedIntoMarketingEmails:[!0]})}ngOnChanges(i){i?.userMetadata&&(this.formGroup?.patchValue({email:this.userMetadata?.email,displayName:this.userProfile?.displayName,photoURL:this.userProfile?.photoURL}),this.formGroup?.updateValueAndValidity())}get marketingOptInLabel(){return this.content?.buttonLabels?.newsletter??"Subscribe to email updates."}get shouldShowMarketingOptIn(){return this.needsEmail&&(this.content?.isEvent??!1)}submitProfile(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid)return;i.isLoading=!0,i.unsubscribeUserSubscriptions.emit();const{displayName:s,email:l,hasOptedIntoMarketingEmails:v}=i.formGroup.value,F=[i.needsName&&s!==i.userProfile?.displayName&&i._user.setUserProfile({displayName:s})];v&&(i.userContent.hasOptedIntoEmailMarketing=!0);const j=[...i.userMetadata?.verifiedEmails??[],...i.userMetadata?.email&&i.userMetadata?.emailVerified?[i.userMetadata?.email]:[]],oe=yield i.executeCaptcha();l&&j.includes(l)?F.push(i._auth.promoteSecondOrderEmail({email:l})):l&&l!==i.userMetadata?.email?F.push(i._auth.initiateEmailSignInOrLinkingFlow({email:l,recaptchaToken:oe,sendMagicLink:!0})):!i.stages.includes("email")&&i.userMetadata?.email&&!i.userMetadata?.emailVerified&&F.push(i._auth.initiateEmailSignInOrLinkingFlow({email:i.userMetadata?.email,recaptchaToken:oe,sendMagicLink:!0})),Promise.all(F).then(([Se,$e])=>i.handleNext.emit()).catch(Se=>i.handleSetError.emit(Se)).finally(()=>i.isLoading=!1)})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(P.ze),n.rXU(Uu),n.rXU(cg))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-profile"]],inputs:{needsName:"needsName",needsEmail:"needsEmail",hasLoadedProfile:"hasLoadedProfile",isOnFinalScreen:"isOnFinalScreen",userMetadata:"userMetadata",content:"content",stages:"stages",userProfile:"userProfile",userContent:"userContent"},outputs:{unsubscribeUserSubscriptions:"unsubscribeUserSubscriptions",handleNext:"handleNext",handleSetError:"handleSetError"},features:[n.Vt3,n.OA$],decls:10,vars:9,consts:[[1,"steps-content"],[3,"ngSubmit","formGroup"],[3,"spinning"],["rootFormItem",""],["rootFormItem","",4,"ngIf"],["type","primary","size","large",3,"block","disabled","loading","text"],["formControlName","displayName","label","Name","placeholder","Your full name","required","",1,"name-input"],["label","Email","formControlName","email","placeholder","Your email","required","",1,"email-input"],["root-checkbox","","formControlName","hasOptedIntoMarketingEmails"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitProfile()}),n.j41(2,"root-spin",2)(3,"h2",3),n.EFF(4,"Confirm your details"),n.k0s(),n.DNE(5,gj,2,0,"div",4)(6,vj,2,0,"div",4)(7,_j,3,1,"div",4),n.j41(8,"div",3),n.nrm(9,"root-button",5),n.k0s()()()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(),n.Y8G("spinning",!l.hasLoadedProfile),n.R7$(3),n.Y8G("ngIf",l.needsName),n.R7$(),n.Y8G("ngIf",l.needsEmail),n.R7$(),n.Y8G("ngIf",l.shouldShowMarketingOptIn),n.R7$(2),n.Y8G("block",!0)("disabled",!l.formGroup.valid||!l.hasLoadedProfile)("loading",l.isLoading)("text",l.isOnFinalScreen?"Submit":"Next"))},dependencies:[X.bT,P.qT,P.BC,P.cb,P.YS,P.j4,P.JD,z.Qpp,z.A77,z.fR,z.kek,z.PYJ],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}h2[_ngcontent-%COMP%]{margin-bottom:12px}"]})}return o})();function bj(o,d){if(1&o&&n.nrm(0,"norby-input",10),2&o){const i=n.XpG().index;n.Y8G("formControlName",i)}}function Cj(o,d){if(1&o&&(n.j41(0,"option",13),n.EFF(1),n.k0s()),2&o){const i=d.$implicit;n.Y8G("ngValue",i.value),n.R7$(),n.SpI(" ",i.value," ")}}function wj(o,d){if(1&o&&(n.j41(0,"norby-select",11),n.DNE(1,Cj,2,2,"option",12),n.nI1(2,"keyvalue"),n.k0s()),2&o){const i=n.XpG(),s=i.$implicit;n.Y8G("formControlName",i.index),n.R7$(),n.Y8G("ngForOf",n.bMT(2,2,null==s?null:s.options))}}function Tj(o,d){if(1&o&&(n.j41(0,"div")(1,"label",16),n.EFF(2),n.k0s()()),2&o){const i=d.$implicit;n.R7$(),n.Y8G("value",i),n.R7$(),n.JRh(i)}}function Sj(o,d){if(1&o){const i=n.RV6();n.j41(0,"root-checkbox-wrapper",14),n.bIt("onHandleChange",function(l){n.eBV(i);const v=n.XpG().index,M=n.XpG();return n.Njj(M.handleDidCheckCheckbox(l,v))}),n.DNE(1,Tj,3,2,"div",15),n.k0s()}if(2&o){const i=n.XpG().$implicit;n.R7$(),n.Y8G("ngForOf",null==i?null:i.options)}}function kj(o,d){if(1&o&&n.nrm(0,"norby-date-input",17),2&o){const i=n.XpG().index;n.Y8G("formControlName",i)}}function Ej(o,d){if(1&o&&(n.j41(0,"div",2)(1,"label",5),n.EFF(2),n.k0s(),n.DNE(3,bj,1,1,"norby-input",6)(4,wj,3,4,"norby-select",7)(5,Sj,2,1,"root-checkbox-wrapper",8)(6,kj,1,1,"norby-date-input",9),n.k0s()),2&o){const i=d.$implicit;n.R7$(2),n.Lme(" ",null!=i&&i.required?"*":"","",i.prompt," "),n.R7$(),n.Y8G("ngIf",!(null!=i&&i.type)||"text"==(null==i?null:i.type)),n.R7$(),n.Y8G("ngIf","select"==(null==i?null:i.type)),n.R7$(),n.Y8G("ngIf","checkbox"==(null==i?null:i.type)),n.R7$(),n.Y8G("ngIf","datePicker"==(null==i?null:i.type))}}let Mj=(()=>{class o{constructor(i){this._formBuilder=i,this.userContent={},this.handleNext=new n.bkB}ngOnInit(){this.formGroup=this._formBuilder.group(this.content?.prompts?.reduce((i,s,l)=>({...i,[l]:["",s?.required?P.k0.required:[]]}),{})??{})}handleDidCheckCheckbox(i,s){this.formGroup.get(`${s}`).setValue(i.join(", "))}submitPrompts(){var i=this;return(0,$.A)(function*(){if(!i.formGroup.valid)return;i.isLoading=!0;const s=i.content?.prompts??[],l=Object.values(i.formGroup.value);i.userContent.promptResponses=s.map((v,M)=>({prompt:v?.prompt,response:l[M]})),i.isLoading=!1,i.handleNext.emit(i.userContent)})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(P.ze))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-prompts"]],inputs:{content:"content",userContent:"userContent"},outputs:{handleNext:"handleNext"},decls:7,vars:5,consts:[[1,"steps-content"],[3,"ngSubmit","formGroup"],["rootFormItem",""],["rootFormItem","",4,"ngFor","ngForOf"],["type","primary","size","large","text","Submit",3,"block","disabled","loading"],["attr.for","i",1,"form-label","inline-block","pb-2","text-xs"],["class","prompt-input","placeholder","Your answer...",3,"formControlName",4,"ngIf"],["prompt","Select an option",3,"formControlName",4,"ngIf"],[3,"onHandleChange",4,"ngIf"],[3,"formControlName",4,"ngIf"],["placeholder","Your answer...",1,"prompt-input",3,"formControlName"],["prompt","Select an option",3,"formControlName"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"onHandleChange"],[4,"ngFor","ngForOf"],["root-checkbox","",3,"value"],[3,"formControlName"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitPrompts()}),n.j41(2,"h2",2),n.EFF(3,"Complete your registration"),n.k0s(),n.DNE(4,Ej,7,6,"div",3),n.j41(5,"div",2),n.nrm(6,"root-button",4),n.k0s()()()),2&s&&(n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(3),n.Y8G("ngForOf",l.content.prompts),n.R7$(2),n.Y8G("block",!0)("disabled",!l.formGroup.valid)("loading",l.isLoading))},dependencies:[X.Sq,X.bT,P.qT,P.xH,P.y7,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.fR,z.kek,z.PYJ,z._H,z.Qvd,z.w0Y,X.lG],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}h2[_ngcontent-%COMP%]{margin-bottom:12px}"]})}return o})(),xj=(()=>{class o extends z.$GR{constructor(i,s,l,v,M){super(),this._stripeClientKey=i,this._content=s,this._slug=l,this._local=v,this._cdr=M,this.isDisabled=!1,this.isFinalScreen=!1,this.onSuccess=new n.bkB,this.onError=new n.bkB,this.isLoading=!0,this.isSubmitting=!1,this.isPaymentFormComplete=!1}ngOnInit(){this._slug.getCurrentSlug$().pipe((0,at.M)(i=>this._initStyles(i)),(0,de.n)(()=>this._initPaymentIntent()),(0,de.n)(()=>this._initStripe()),(0,de.n)(()=>this._initAddressElement()),(0,de.n)(()=>this._initPaymentElement()),this.takeUntilDestroy).subscribe(()=>{this.isLoading=!1,this._cdr.detectChanges()})}_initStyles(i){this.slug=i;const s=this.slug?.theme,l=this.content?.theme,v=l?.fonts?.font??s?.fonts?.font,M=v?.fontFamily?.split('"')??[],F=M.length>1?M[1]:v?.fontFamily;this.fonts=v?.isCustom?[{src:v?.importUrl,family:F,style:"normal"}]:v?[{cssSrc:v?.importUrl}]:[];const j=l?.button?.backgroundColor??s?.button?.backgroundColor??"#000",oe=l?.card?.textColor??s?.card?.textColor??"#000",Se=l?.textInput?.backgroundColor??s?.textInput?.backgroundColor??"#fff",$e=`${l?.textInput?.borderRadius??s?.textInput?.borderRadius??4}px`,bt=l?.textInput?.dropShadow??s?.textInput?.dropShadow??"none",Lt=l?.textInput?.borderColor??s?.textInput?.borderColor??"#000",dn=l?.textInput?.textColor??s?.textInput?.textColor??"#000";this.appearance=s||l?{variables:{colorPrimary:j,colorText:oe,colorBackground:Se,colorTextPlaceholder:"#C1C4D6",fontFamily:F,fontSizeXl:"24px",fontSizeLg:"20px",fontSizeBase:"16px",fontSizeSm:"12px",fontSizeXs:"10px",fontSize2Xs:"9px",fontSize3Xs:"8px",borderRadius:$e,gridRowSpacing:"20px"},rules:{".Input":{boxShadow:bt,borderColor:Lt,borderRadius:$e,color:dn},".Input:hover":{boxShadow:bt,borderColor:l?.button?.hoverBorderColor??s?.button?.hoverBorderColor??"#000",color:dn}}}:{}}_initPaymentIntent(){var i=this;return(0,$.A)(function*(){if(i.paymentIntentSecret)return;const s=yield i._content.getPaymentIntentSecret(i.content.contentId,i.ticket?.label,i.ticket?.qty,i.promoCode);i.paymentIntentSecret=s?.secret})()}_initStripe(){var i=this;return(0,$.A)(function*(){!i.stripe&&i._stripeClientKey&&(i.stripe=yield function(){for(var d=arguments.length,i=new Array(d),s=0;s<d;s++)i[s]=arguments[s];vA=!0;var l=Date.now();return _A().then(function(v){return function(d,i,s){if(null===d)return null;var l=d.apply(void 0,i);return function(d,i){!d||!d._registerWrapper||d._registerWrapper({name:"stripe-js",version:"4.4.0",startTime:i})}(l,s),l}(v,i,l)})}(i._stripeClientKey),i.elements=i.stripe.elements({locale:"en",fonts:i.fonts,appearance:i.appearance,clientSecret:i.paymentIntentSecret}))})()}_initPaymentElement(){var i=this;return(0,$.A)(function*(){!i.payment&&i.elements&&(i.payment=i.elements.create("payment",{layout:"tabs"}),i.payment.mount("#payment-element"),i.payment.on("change",l=>{i.isPaymentFormComplete=l.complete,i._cdr.detectChanges()}))})()}_initAddressElement(){return(0,$.A)(function*(){})()}handleCompleteCardPayment(){this.isSubmitting=!0,this._cdr.detectChanges(),this._local.set(B.Q7J,this.userContent),this._local.set(B.U6q,this.content.toObject());const i=new URL(window.location.href);i.searchParams.append("finishRegistration","1"),this.stripe.confirmPayment({elements:this.elements,clientSecret:this._stripeClientKey,confirmParams:{return_url:i.href},redirect:"if_required"}).then(s=>{s.error?this.onError.emit(s.error.message??""):"succeeded"===s.paymentIntent?.status&&this.onSuccess.emit()}).catch(s=>console.log(s)).finally(()=>{this.isSubmitting=!1,this._cdr.detectChanges()})}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(B.QjI),n.rXU(dT),n.rXU(uT),n.rXU(IA),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-payment-form"]],inputs:{content:"content",userContent:"userContent",ticket:"ticket",isDisabled:"isDisabled",isFinalScreen:"isFinalScreen",themeClasses:"themeClasses",promoCode:"promoCode"},outputs:{onSuccess:"onSuccess",onError:"onError"},features:[n.Vt3],decls:13,vars:6,consts:[[3,"spinning"],[1,"min-h-56","mt-4"],["id","payment-element"],["id","address-element"],[1,"mt-6"],["size","large","type","primary",3,"handleClick","disabled","loading","block","text"]],template:function(s,l){1&s&&(n.j41(0,"h2"),n.EFF(1,"Checkout"),n.k0s(),n.j41(2,"p"),n.EFF(3," You'll see "),n.j41(4,"em"),n.EFF(5),n.k0s(),n.EFF(6," on your statement.\n"),n.k0s(),n.j41(7,"root-spin",0)(8,"div",1),n.nrm(9,"div",2)(10,"div",3),n.k0s()(),n.j41(11,"div",4)(12,"root-button",5),n.bIt("handleClick",function(){return l.handleCompleteCardPayment()}),n.k0s()()),2&s&&(n.R7$(5),n.JRh(null==l.ticket?null:l.ticket.statementDescription),n.R7$(2),n.Y8G("spinning",l.isLoading),n.R7$(5),n.Y8G("disabled",l.isDisabled||!l.isPaymentFormComplete||l.isLoading)("loading",l.isSubmitting)("block",!0)("text",l.isFinalScreen?"Purchase":"Next"))},dependencies:[z.A77,z.Qpp],changeDetection:0})}return o})();function Ij(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-payment-form",3),n.bIt("onSuccess",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.handleSuccess())})("onError",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleError(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("ticket",i.selectedTicket)("content",i.content)("isDisabled",!i.hasLoadedProfile)("isFinalScreen",i.isOnFinalScreen)("themeClasses",i.themeClasses)("promoCode",i.promoCode)("userContent",i.userContent)}}function Dj(o,d){if(1&o){const i=n.RV6();n.j41(0,"div")(1,"h2",4),n.EFF(2,"Payment complete"),n.k0s(),n.j41(3,"p",4),n.EFF(4,"You've already paid."),n.k0s(),n.j41(5,"div",4)(6,"root-button",5),n.bIt("handleClick",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.handleSkipPayment.emit())}),n.k0s()()()}if(2&o){const i=n.XpG();n.R7$(6),n.Y8G("block",!0)("disabled",!i.hasLoadedProfile)("text",i.isOnFinalScreen?"Submit":"Next")}}let Oj=(()=>{class o{constructor(){this.handleNext=new n.bkB,this.handleSetError=new n.bkB,this.handleSkipPayment=new n.bkB}ngOnInit(){}handleSuccess(){this.handleNext.emit()}handleError(i){this.handleSetError.emit(i)}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-purchase"]],inputs:{userHasPaid:"userHasPaid",selectedTicket:"selectedTicket",content:"content",userContent:"userContent",userProfile:"userProfile",isOnFinalScreen:"isOnFinalScreen",hasLoadedProfile:"hasLoadedProfile",themeClasses:"themeClasses",promoCode:"promoCode"},outputs:{handleNext:"handleNext",handleSetError:"handleSetError",handleSkipPayment:"handleSkipPayment"},decls:3,vars:2,consts:[[1,"steps-content","user-theme-purchase-complete"],[3,"ticket","content","isDisabled","isFinalScreen","themeClasses","promoCode","userContent","onSuccess","onError",4,"ngIf"],[4,"ngIf"],[3,"onSuccess","onError","ticket","content","isDisabled","isFinalScreen","themeClasses","promoCode","userContent"],["rootFormItem",""],["type","primary","size","large",3,"handleClick","block","disabled","text"]],template:function(s,l){1&s&&(n.j41(0,"div",0),n.DNE(1,Ij,1,7,"lib-payment-form",1)(2,Dj,7,3,"div",2),n.k0s()),2&s&&(n.R7$(),n.Y8G("ngIf",!l.userHasPaid&&l.selectedTicket),n.R7$(),n.Y8G("ngIf",l.userHasPaid))},dependencies:[X.bT,xj,z.Qpp,z.fR]})}return o})();function zj(o,d){1&o&&(n.j41(0,"h2"),n.EFF(1,"Choose a ticket"),n.k0s())}function Nj(o,d){1&o&&(n.j41(0,"h2",4),n.EFF(1," Confirm your purchase "),n.k0s())}function Aj(o,d){if(1&o&&(n.j41(0,"option",19),n.EFF(1),n.k0s()),2&o){const i=d.index;n.Y8G("value",i+1),n.R7$(),n.SpI(" ",i+1," ")}}function Rj(o,d){if(1&o&&(n.j41(0,"norby-select",17),n.DNE(1,Aj,2,2,"option",18),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.Y8G("ngForOf",i.maxNumOfTickets)}}function Pj(o,d){if(1&o&&(n.j41(0,"div",6)(1,"span"),n.EFF(2,"Promo Applied"),n.k0s(),n.EFF(3),n.k0s()),2&o){const i=n.XpG();n.R7$(3),n.SpI(" ",i.addedPromoCode," ")}}let Fj=(()=>{class o extends z.$GR{constructor(i,s){super(),this._formBuilder=i,this._content=s,this.handleNext=new n.bkB,this.onSelectedTicket=new n.bkB,this.onSelectedTicketUpdate=new n.bkB,this.onPriceRecalculate=new n.bkB}get hasEnteredCode(){return this.formGroup?.get("promoCode")?.value?.length>0}ngOnChanges(i){i.selectedTicket&&this.formGroup?.patchValue({label:i.selectedTicket?.currentValue?.label,qty:i.selectedTicket?.currentValue?.qty},{emitEvent:!1})}ngOnInit(){const i=this.content?.tickets?.[0]?.maxQty,s=this.content?.rsvpRestrictions?.remaining;this.maxNumOfTickets=new Array(void 0!==i&&void 0!==s&&i>s?s:void 0!==i?i:1),this.formGroup=this._formBuilder.group({promoCode:[""],label:[this.selectedTicket?.label,P.k0.required],qty:[this.selectedTicket?.qty||1]}),this.formGroup.valueChanges.pipe((0,ae.p)(()=>this.formGroup.valid),this.takeUntilDestroy).subscribe(v=>{this.selectedTicket.qty!==v.qty&&this._updateSelectedTicket(v.label,v.qty)})}submitTicketSelection(){var i=this;return(0,$.A)(function*(){i.formGroup.valid&&(i.isLoading=!0,i._updateSelectedTicket(i.formGroup.get("label")?.value,i.formGroup.get("qty")?.value),i.handleNext.emit(),i.isLoading=!1)})()}_updateSelectedTicket(i,s){const l=this.content?.tickets?.map(M=>M?.label)?.indexOf(i),v={...this.content?.tickets?.[l],qty:Number(s||1)};this.onSelectedTicketUpdate.emit(v)}handleApplyPromoCode(){var i=this;return(0,$.A)(function*(){i.onPriceRecalculate.emit(i.formGroup?.get("promoCode")?.value)})()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(P.ze),n.rXU(dT))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-content-registration-tickets"]],inputs:{content:"content",subtotal:"subtotal",fees:"fees",total:"total",selectedTicket:"selectedTicket",themeClasses:"themeClasses",addedPromoCode:"addedPromoCode"},outputs:{handleNext:"handleNext",onSelectedTicket:"onSelectedTicket",onSelectedTicketUpdate:"onSelectedTicketUpdate",onPriceRecalculate:"onPriceRecalculate"},features:[n.Vt3,n.OA$],decls:33,vars:23,consts:[[1,"steps-content"],[3,"ngSubmit","formGroup"],[4,"ngIfRootFormItem","ngIf"],["rootFormItem","",4,"ngIf"],["rootFormItem",""],["rootList",""],["rootListItem",""],["label","Quantity","class","w-14","formControlName","qty",4,"ngIf"],[1,"flex","items-center"],["name","help_circle","rootTooltip","Checkout secured with Stripe",3,"themeClasses"],["rootListItem","",4,"ngIf"],["rootListItem","",1,"checkout-total"],["rootInputGroup",""],["type","text","formControlName","promoCode","placeholder","Promo code",3,"isJoinedRight"],["rootInputGroupSuffix",""],["type","primary","size","large","text","Apply","formSubmit","button",3,"handleClick","adjacentInput","disabled","loading"],["type","primary","size","large","text","Next",3,"block","disabled","loading"],["label","Quantity","formControlName","qty",1,"w-14"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(s,l){if(1&s&&(n.j41(0,"div",0)(1,"form",1),n.bIt("ngSubmit",function(){return l.submitTicketSelection()}),n.DNE(2,zj,2,0,"h2",2)(3,Nj,2,0,"h2",3),n.j41(4,"div",4)(5,"div",5)(6,"div",6),n.EFF(7),n.DNE(8,Rj,2,1,"norby-select",7),n.k0s(),n.j41(9,"div",6)(10,"span"),n.EFF(11,"Subtotal"),n.k0s(),n.EFF(12),n.nI1(13,"currency"),n.k0s(),n.j41(14,"div",6)(15,"span",8),n.EFF(16,"Stripe Processing Fee "),n.nrm(17,"root-icon",9),n.k0s(),n.EFF(18),n.nI1(19,"currency"),n.k0s(),n.DNE(20,Pj,4,1,"div",10),n.j41(21,"div",11)(22,"span"),n.EFF(23,"Total"),n.k0s(),n.EFF(24),n.nI1(25,"currency"),n.k0s()()(),n.j41(26,"div",4)(27,"div",12),n.nrm(28,"norby-input",13),n.j41(29,"div",14)(30,"root-button",15),n.bIt("handleClick",function(){return l.handleApplyPromoCode()}),n.k0s()()()(),n.j41(31,"div",4),n.nrm(32,"root-button",16),n.k0s()()()),2&s){let v;n.R7$(),n.Y8G("formGroup",l.formGroup),n.R7$(),n.Y8G("ngIf",(null==l.content||null==l.content.tickets?null:l.content.tickets.length)>1),n.R7$(),n.Y8G("ngIf",1==(null==l.content||null==l.content.tickets?null:l.content.tickets.length)),n.R7$(4),n.SpI(" ",null!==(v=null==l.content||null==l.content.tickets||null==l.content.tickets[0]?null:l.content.tickets[0].label)&&void 0!==v?v:"Ticket"," "),n.R7$(),n.Y8G("ngIf",(null==l.content||null==l.content.tickets||null==l.content.tickets[0]?null:l.content.tickets[0].maxQty)>1),n.R7$(4),n.SpI(" ",n.bMT(13,17,l.subtotal/100)," "),n.R7$(5),n.Y8G("themeClasses",l.themeClasses),n.R7$(),n.SpI(" ",n.bMT(19,19,l.fees/100)," "),n.R7$(2),n.Y8G("ngIf",l.addedPromoCode),n.R7$(4),n.SpI(" ",n.bMT(25,21,l.total/100)," "),n.R7$(4),n.Y8G("isJoinedRight",!0),n.R7$(2),n.Y8G("adjacentInput",!0)("disabled",!l.hasEnteredCode)("loading",l.isLoading),n.R7$(2),n.Y8G("block",!0)("disabled",!l.formGroup.valid)("loading",l.isLoading)}},dependencies:[X.Sq,X.bT,P.qT,P.xH,P.y7,P.BC,P.cb,P.j4,P.JD,z.Qpp,z.RlV,z.fR,z.b27,z.WIq,z.UwZ,z.dFX,z.kek,z.dgQ,z.Qvd,X.oe],changeDetection:0})}return o})();function Lj(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-event-card-view",2),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("event",i.content)("userEvent",i.userContent)("isLoadingUserContent",!i.hasLoaded)("overrideTitle",i.overrideTitle)}}function Vj(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-drop-card-view",3),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleClick(l))}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("drop",i.content)("userContent",i.userContent)("isLoadingUserContent",!i.hasLoaded)("overrideTitle",i.overrideTitle)("overrideSignupType",i.overrideSignupType)}}let LA=(()=>{class o extends z.$GR{constructor(i,s,l){super(),this._user=i,this._interactions=s,this._cdr=l,this.cardClick=new n.bkB,this.hasLoaded=!1,this.isFetching=!1}ngOnChanges(){super.ngOnChanges(),this.content?.contentId&&this._user.getUserContent$(this.content.contentId).pipe(this.takeUntilChanges).subscribe(i=>{this.userContent=i,this.hasLoaded=!0,this._cdr.detectChanges()})}handleClick(i){this.cardClick.next(i)}handleMenuStateChanged(){this.userContent||this.isFetching||!this.content?.contentId||(this.isFetching=!0,this._cdr.detectChanges(),this._interactions.getUserContentForContent(this.content?.contentId).then(i=>this.userContent=i).catch(i=>this.userContent=null).finally(()=>{this.isFetching=!1,this._cdr.detectChanges()}))}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(cg),n.rXU(DA),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-event-drop-card"]],inputs:{content:"content",overrideTitle:"overrideTitle",overrideSignupType:"overrideSignupType"},outputs:{cardClick:"cardClick"},features:[n.Vt3,n.OA$],decls:2,vars:2,consts:[[3,"event","userEvent","isLoadingUserContent","overrideTitle","cardClick",4,"ngIf"],[3,"drop","userContent","isLoadingUserContent","overrideTitle","overrideSignupType","cardClick",4,"ngIf"],[3,"cardClick","event","userEvent","isLoadingUserContent","overrideTitle"],[3,"cardClick","drop","userContent","isLoadingUserContent","overrideTitle","overrideSignupType"]],template:function(s,l){1&s&&n.DNE(0,Lj,1,4,"lib-event-card-view",0)(1,Vj,1,5,"lib-drop-card-view",1),2&s&&(n.Y8G("ngIf",null==l.content?null:l.content.isEvent),n.R7$(),n.Y8G("ngIf",null==l.content?null:l.content.isSignup))},dependencies:[X.bT,z.rK8,z.kKe],changeDetection:0})}return o})();function Bj(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",11)(1,"lib-event-drop-card",12),n.bIt("cardClick",function(l){n.eBV(i);const v=n.XpG(3);return n.Njj(v.handleCardClick(l))}),n.k0s()()}if(2&o){const i=d.$implicit;n.R7$(),n.Y8G("content",i)}}function $j(o,d){if(1&o&&(n.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h6",8)(4,"span"),n.EFF(5),n.k0s()()()(),n.j41(6,"div",9),n.DNE(7,Bj,2,1,"div",10),n.k0s()()),2&o){const i=d.$implicit,s=n.XpG(2);n.R7$(5),n.JRh((null==i?null:i.key)||"\u2022 \u2022 \u2022 \u2022 \u2022"),n.R7$(2),n.Y8G("ngForOf",null==i?null:i.value)("ngForTrackBy",s.eventTrackBy)}}function Uj(o,d){if(1&o&&(n.j41(0,"div",3),n.DNE(1,$j,8,3,"div",4),n.nI1(2,"keyvalue"),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.Y8G("ngForOf",n.i5U(2,2,i.eventBuckets,i.preserveOrder))("ngForTrackBy",i.bucketTrackBy)}}wt.extend(Du);let Hj=(()=>{class o extends z.$GR{constructor(i,s,l){super(),this._platform=i,this._cdr=s,this._content=l,this.cardClick=new n.bkB,this.events=[null],this.eventBuckets={"":[null,null]},this.preserveOrder=(v,M)=>0}ngOnChanges(i){super.ngOnChanges(i),(0,X.UE)(this._platform)&&this._content.getEventsForCurrentSlug$({...this.block?.limit>=0&&{limit:this.block.limit},...this.block?.reverse&&{sort:"desc"},...this.block?.tag&&{tag:this.block.tag}}).pipe((0,ae.p)(s=>!!s),(0,L.T)(s=>s.items),(0,ae.p)(s=>!((o,d)=>{if(o?.length!==d?.length)return!1;let i=!0;for(let s=0;s<o.length;s++)if(o[s]?.contentId!==d[s]?.contentId||o[s]?.title!==d[s]?.title||o[s]?.subtitle!==d[s]?.subtitle||o[s]?.imageUrl!==d[s]?.imageUrl){i=!1;break}return i})(s,this.events)),this.takeUntilChanges).subscribe(s=>{this.events=s,this.eventBuckets=(o=>{const d=wt().startOf("week");return o.reduce((i,s)=>{const v=s.startMoment().startOf("week"),M=v.diff(d,"week"),F=s.isToday&&s.isOver?"Earlier":s.isToday?"Today":0===M?"This week":1===M?"Next week":2===M?"In 2 weeks":3===M?"In 3 weeks":v.fromNow();return(i[F]||(i[F]=new Array)).push(s),i},{})})(this.events),this._cdr.detectChanges()})}eventTrackBy(i,s){return s?.contentId}bucketTrackBy(i,s){return s?.key??i}handleCardClick(i){i?.content&&this.cardClick.next(i)}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(n.Agw),n.rXU(n.gRc),n.rXU(dT))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-upcoming-events"]],inputs:{block:"block"},outputs:{cardClick:"cardClick"},features:[n.Vt3,n.OA$],decls:3,vars:1,consts:[[1,"browse"],[1,"browse-wrapper"],["class","browse-container",4,"ngIf"],[1,"browse-container"],["class","browse-item-section",4,"ngFor","ngForOf","ngForTrackBy"],[1,"browse-item-section"],[1,"browse-item-header"],[1,"week-header-container"],[1,"week","card-border-style","card-background-color","card-text-color"],[1,"browse-item-wrapper"],["class","panel-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"panel-wrapper"],[3,"cardClick","content"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"div",1),n.DNE(2,Uj,3,5,"div",2),n.k0s()()),2&s&&(n.R7$(2),n.Y8G("ngIf",(null==l.events?null:l.events.length)>0))},dependencies:[X.Sq,X.bT,LA,X.lG],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.browse-container[_ngcontent-%COMP%]{position:relative;z-index:1}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]{position:relative;margin-bottom:24px}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]   .browse-item-header[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:12px;z-index:2;margin:0 0 12px}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]   .browse-item-header[_ngcontent-%COMP%]   .week-header-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]   .browse-item-header[_ngcontent-%COMP%]   .week-header-container[_ngcontent-%COMP%]   .week[_ngcontent-%COMP%]{padding:8px 12px;text-transform:uppercase;margin:0;border-style:solid;border-width:1px;border-color:#edeff5;border-radius:0}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]   .panel-wrapper[_ngcontent-%COMP%]{margin-bottom:16px}.browse-container[_ngcontent-%COMP%]   .browse-item-section[_ngcontent-%COMP%]   .panel-wrapper[_ngcontent-%COMP%]:last-child{margin-bottom:0}"],changeDetection:0})}return o})(),VA=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,z.EXR,z.bEN]})}return o})(),HH=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,P.X1,P.YN,z.X2N,z.hCk,z.tHK,z.Hdp,z.tmq]})}return o})(),YH=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,Go.iI,VA,S1]})}return o})(),qH=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,z.SBO,VA,z.yNZ,z.whd,YH,z.tnI,z._lO,z.HHm,z.XON,z.Z2l,z.Bp$,z.NEB,z.bOV,z.zrb,z.i2S,z.qVJ,z.wqP,z.bdR]})}return o})();n.wjB(MA,[X.bT,z.rbS,LA,z.j7y,z.JtN,Hj,z.YkA,z.Xvr,z.KYJ,z.QoI,z.MFj,z.wAg,z.aUU,z.mJy,z.C6U,z.v64,z.j$C,z.N8N,z.tuw],[]);let BA=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,qH,z.bdR]})}return o})(),JH=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({})}return o})(),ZH=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,z.Tv5,lr.U6,Hn.Y3,Tr,li.Zw,sl.Qt,JH]})}return o})();function tY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-tickets",19),n.bIt("handleNext",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleNext())})("onPriceRecalculate",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleRecalculatePrice(l))})("onSelectedTicketUpdate",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleSelectedTicketUpdate(l))}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("content",i.content)("fees",i.fees)("selectedTicket",i.selectedTicket)("subtotal",i.subtotal)("total",i.total)("themeClasses",i.themeClasses)("addedPromoCode",i.addedPromoCode)}}function nY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-phone-number",20),n.bIt("handleNext",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handlePhoneNumberNext(l))}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("content",i.content)("slug",i.slug)}}function iY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-phone-number-confirmation-code",21),n.bIt("handleNext",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleNext())})("handleSetError",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleSetError(l))})("handleSkipEmailStep",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleSkipEmailStage())}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("isOnFinalScreen",i.isOnFinalScreen)("phoneNumber",i.phoneNumber)}}function oY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-email",22),n.bIt("handleNext",function(l){n.eBV(i);const v=n.XpG(2);return v.email=l.email,v.emailVerificationCodeMedium=l.emailVerificationCodeMedium,n.Njj(v.handleNext())})("handleSetError",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleSetError(l))})("handleSkipVerificationCodeStage",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleSkipEmailVerificationStage())}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("content",i.content)("emailVerificationCodeMedium",i.emailVerificationCodeMedium)("email",i.email)}}function rY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-email-confirmation-code",23),n.bIt("handleNext",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleNext())})("handleSetError",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleSetError(l))}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("emailVerificationCodeMedium",i.emailVerificationCodeMedium)("email",i.email)("isOnFinalScreen",i.isOnFinalScreen)}}function sY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-profile",24),n.bIt("handleNext",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.handleNext())})("handleSetError",function(l){n.eBV(i);const v=n.XpG(2);return n.Njj(v.handleSetError(l))})("unsubscribeUserSubscriptions",function(){n.eBV(i);const l=n.XpG(2);return n.Njj(l.unsubscribeUserSubscriptions())}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("content",i.content)("hasLoadedProfile",i.hasLoadedProfile)("isOnFinalScreen",i.isOnFinalScreen)("needsEmail",i.needsEmail)("needsName",i.needsName)("stages",i.stages)("userContent",i.userContent)("userMetadata",i.userMetadata)("userProfile",i.userProfile)}}function aY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-prompts",25),n.bIt("handleNext",function(l){n.eBV(i);const v=n.XpG(2);return v.userContent=l,n.Njj(v.handleNext())}),n.k0s()}if(2&o){const i=n.XpG(2);n.Y8G("content",i.content)("userContent",i.userContent)}}function lY(o,d){if(1&o&&(n.j41(0,"div",11),n.DNE(1,tY,1,7,"lib-content-registration-tickets",12)(2,nY,1,2,"lib-content-registration-phone-number",13)(3,iY,1,2,"lib-content-registration-phone-number-confirmation-code",14)(4,oY,1,3,"lib-content-registration-email",15)(5,rY,1,3,"lib-content-registration-email-confirmation-code",16)(6,sY,1,9,"lib-content-registration-profile",17)(7,aY,1,2,"lib-content-registration-prompts",18),n.k0s()),2&o){const i=n.XpG();n.R7$(),n.Y8G("ngIf","tickets"===i.currentStage),n.R7$(),n.Y8G("ngIf","phone"===i.currentStage),n.R7$(),n.Y8G("ngIf","code"===i.currentStage),n.R7$(),n.Y8G("ngIf","email"===i.currentStage),n.R7$(),n.Y8G("ngIf","emailCode"===i.currentStage),n.R7$(),n.Y8G("ngIf","profile"===i.currentStage),n.R7$(),n.Y8G("ngIf","prompts"===i.currentStage)}}function cY(o,d){if(1&o){const i=n.RV6();n.j41(0,"lib-content-registration-purchase",26),n.bIt("handleNext",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.handleNext())})("handleSetError",function(l){n.eBV(i);const v=n.XpG();return n.Njj(v.handleSetError(l))})("handleSkipPayment",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.skipPayment())}),n.k0s()}if(2&o){const i=n.XpG();n.Y8G("content",i.content)("hasLoadedProfile",i.hasLoadedProfile)("isOnFinalScreen",i.isOnFinalScreen)("selectedTicket",i.selectedTicket)("userHasPaid",i.userHasPaid)("userProfile",i.userProfile)("themeClasses",i.themeClasses)("promoCode",i.addedPromoCode)("userContent",i.userContent)}}function dY(o,d){if(1&o){const i=n.RV6();n.j41(0,"div",27)(1,"p"),n.EFF(2),n.k0s(),n.j41(3,"root-button",28),n.bIt("handleClick",function(){n.eBV(i);const l=n.XpG();return n.Njj(l.close())}),n.k0s()()}if(2&o){const i=n.XpG();n.R7$(2),n.JRh(i.error)}}let uY=(()=>{class o extends z.$GR{get currentStage(){return this.stages?.length>this.currentIndex?this.stages[this.currentIndex]:null}get isOnFinalScreen(){return this.currentIndex>=this.stages.length-1}constructor(i,s,l,v,M,F,j,oe,Se){super(),this.config=i,this._cdr=s,this._user=l,this._error=v,this._auth=M,this._dialogRef=F,this._iconService=j,this._slug=oe,this._content=Se,this.userContent={},this.stages=[],this.currentIndex=0,this.needsName=!1,this.needsEmail=!1,this.isEditingName=!1,this.isEditingEmail=!1,this.userHasPaid=!1,this.hasLoadedProfile=!1,this.addedPromoCode="",this.PRIVACY_URL=B.pkx,this.TERMS_URL=B.gu4,this.BUILT_WITH_NORBY_URL=B.J5N,this.preserveOrder=($e,bt)=>0,this._iconService.registerIcons([z._RY,z.YxR]),i&&(this.content=i.content,this.shouldSkipPromptsStage=i.shouldSkipPromptsStage,this.themeClasses=i.themeClasses)}ngOnInit(){this._initTicket(),this._initUserContent(),this._initContentRequirements(),this._initContentLookups(),this._initStages()}_initTicket(){this.selectedTicket=this.content?.tickets?.[0],this.handleRecalculatePrice()}_initContentRequirements(){const i=this.content?.privateUserInfoRequirements,s=this.content?.userInfoRequirements;this.needsName=!!s?.displayName?.required,this.needsEmail=!!i?.email?.required}_initContentLookups(){this.content&&(this._user.getUserContent$(this.content.contentId).pipe((0,ae.p)(i=>!!i),this.takeUntilDestroy).subscribe(i=>{if("active"===i.rsvpStatus&&i.rsvpEnabled)return void this._dialogRef.close();const s=i.userContentPayment?.paymentStatus;this.userHasPaid="confirmed"===s||"pending"===s,i?.userContentPayment?.ticket&&(this.selectedTicket=i.userContentPayment.ticket),this.handleRecalculatePrice(this.addedPromoCode??""),this._cdr.detectChanges()}),this._slug.getSlug(this.content.primarySlugIdentifier).then(i=>{this.slug=i,this._cdr.detectChanges()}))}_initStages(){this._userSubscription=this._auth.user$.pipe((0,at.M)(()=>{this.userProfile=null,this.userMetadata=null,this.hasLoadedProfile=!1,this._cdr.detectChanges()}),(0,de.n)(()=>(0,qe.z)([this._user.currentUserProfile$(),this._user.currentUserMetadata$()])),this.takeUntilDestroy).subscribe(([i,s])=>{if(this.userProfile=i,this.userMetadata=s,this.hasLoadedProfile=!0,this.stages.length)return void this._cdr.detectChanges();const l=this.content?.prompts,v=!!s?.phoneNumber,M=!!s?.email,F=(l?.length??0)>0&&!this.shouldSkipPromptsStage,j=this.content?.isPaid,oe=this.needsName||this.needsEmail;j&&this.stages.push("tickets"),this._contentRequiresPhoneNumber&&!v&&this.stages.push("phone","code"),this._contentRequiresEmail&&!M&&this.stages.push("email","emailCode"),oe&&this.stages.push("profile"),F&&this.stages.push("prompts"),j&&this.stages.push("purchase"),0===this.stages.length&&this._dialogRef.close(this.userContent),this._cdr.detectChanges()})}_initUserContent(){this.content?.isSignup&&this._contentRequiresPhoneNumber&&(this.userContent.hasOptedIntoSMSMarketing=!0)}get _contentRequiresEmail(){return!!this.content?.privateUserInfoRequirements?.email?.required}get _contentRequiresPhoneNumber(){return!!this.content?.privateUserInfoRequirements?.phoneNumber?.required||void 0===this.content?.privateUserInfoRequirements?.phoneNumber}handleRecalculatePrice(i){var s=this;return(0,$.A)(function*(){if(!s.selectedTicket)return;const l=yield s._content.getPaymentIntentEstimate(s.content.contentId,s.content?.tickets?.[0]?.label,s.selectedTicket?.qty||1,i??"");if(i?.length>0?l?.promoCodeIsValid?s.addedPromoCode=i:(s._error.displayError({message:"Invalid promo code"}),s.addedPromoCode=""):s.addedPromoCode="",s.fees=l.fees,s.total=l.amount,s.subtotal=s.total-s.fees,0===s.total&&s.content?.isPaid&&s.selectedTicket){const v=s.stages.indexOf("purchase");v>-1&&s.stages.splice(v,1)}s._cdr.detectChanges()})()}close(){this._dialogRef.close(!1)}handlePhoneNumberNext(i){this.phoneNumber=i.phoneNumber,i.hasOptedIntoMarketing&&(this.userContent.hasOptedIntoSMSMarketing=i.hasOptedIntoMarketing),this._advance()}handleNext(){this._advance()}handleSetError(i){this.error=this._error.formatError(i),this._cdr.detectChanges()}handleSkipEmailStage(){this.stages=this.stages?.filter(i=>"emailCode"!==i&&"email"!==i)}handleSkipEmailVerificationStage(){this.stages=this.stages?.filter(i=>"emailCode"!==i)}handleSelectedTicketUpdate(i){this.selectedTicket!==i&&(this.selectedTicket=i,this.handleRecalculatePrice(this.addedPromoCode??""))}unsubscribeUserSubscriptions(){this._userSubscription?.unsubscribe()}_advance(){var i=this;return(0,$.A)(function*(){if(i.currentIndex<i.stages.length-1)return i.currentIndex++,void i._cdr.detectChanges();i.addedPromoCode&&0===i.total&&(yield i._content.getPaymentIntentSecret(i.content.contentId,i.selectedTicket?.label,i.selectedTicket?.qty,i.addedPromoCode)),i._dialogRef.close(i.userContent)})()}skipPayment(){"purchase"===this.currentStage&&this._advance()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(z.tn4,8),n.rXU(n.gRc),n.rXU(cg),n.rXU(z.IvX),n.rXU(Uu),n.rXU(z.bcf),n.rXU(z.fMH),n.rXU(uT),n.rXU(dT))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-login"]],features:[n.Vt3],decls:15,vars:7,consts:[[3,"spinning"],[1,"login-container"],["class","stepper-container",4,"ngIf"],[3,"content","hasLoadedProfile","isOnFinalScreen","selectedTicket","userHasPaid","userProfile","themeClasses","promoCode","userContent","handleNext","handleSetError","handleSkipPayment",4,"ngIf"],["class","error card-text-color",4,"ngIf"],[1,"powered-container","margin-top"],["href","https://www.withnorby.com","target","_blank",1,"built-with-norby"],["width","466","height","138","alt","Built With Norby",2,"width","auto","height","36px",3,"src"],[1,"links"],["target","_blank",1,"user-theme-button-secondary",3,"href"],[1,"user-theme-button-text"],[1,"stepper-container"],[3,"content","fees","selectedTicket","subtotal","total","themeClasses","addedPromoCode","handleNext","onPriceRecalculate","onSelectedTicketUpdate",4,"ngIf"],[3,"content","slug","handleNext",4,"ngIf"],[3,"isOnFinalScreen","phoneNumber","handleNext","handleSetError","handleSkipEmailStep",4,"ngIf"],[3,"content","emailVerificationCodeMedium","email","handleNext","handleSetError","handleSkipVerificationCodeStage",4,"ngIf"],[3,"emailVerificationCodeMedium","email","isOnFinalScreen","handleNext","handleSetError",4,"ngIf"],[3,"content","hasLoadedProfile","isOnFinalScreen","needsEmail","needsName","stages","userContent","userMetadata","userProfile","handleNext","handleSetError","unsubscribeUserSubscriptions",4,"ngIf"],[3,"content","userContent","handleNext",4,"ngIf"],[3,"handleNext","onPriceRecalculate","onSelectedTicketUpdate","content","fees","selectedTicket","subtotal","total","themeClasses","addedPromoCode"],[3,"handleNext","content","slug"],[3,"handleNext","handleSetError","handleSkipEmailStep","isOnFinalScreen","phoneNumber"],[3,"handleNext","handleSetError","handleSkipVerificationCodeStage","content","emailVerificationCodeMedium","email"],[3,"handleNext","handleSetError","emailVerificationCodeMedium","email","isOnFinalScreen"],[3,"handleNext","handleSetError","unsubscribeUserSubscriptions","content","hasLoadedProfile","isOnFinalScreen","needsEmail","needsName","stages","userContent","userMetadata","userProfile"],[3,"handleNext","content","userContent"],[3,"handleNext","handleSetError","handleSkipPayment","content","hasLoadedProfile","isOnFinalScreen","selectedTicket","userHasPaid","userProfile","themeClasses","promoCode","userContent"],[1,"error","card-text-color"],["type","ghost","aria-label","Okay","role","button","name","Okay","text","Okay",3,"handleClick"]],template:function(s,l){1&s&&(n.j41(0,"root-spin",0)(1,"div",1),n.DNE(2,lY,8,7,"div",2)(3,cY,1,9,"lib-content-registration-purchase",3)(4,dY,4,1,"div",4),n.j41(5,"div",5)(6,"a",6),n.nrm(7,"img",7),n.k0s(),n.j41(8,"div",8)(9,"a",9)(10,"span",10),n.EFF(11,"Privacy"),n.k0s()(),n.j41(12,"a",9)(13,"span",10),n.EFF(14,"Terms"),n.k0s()()()()()()),2&s&&(n.Y8G("spinning",!l.currentStage),n.R7$(2),n.Y8G("ngIf",!l.error),n.R7$(),n.Y8G("ngIf","purchase"===l.currentStage),n.R7$(),n.Y8G("ngIf",l.error),n.R7$(3),n.Y8G("src",l.BUILT_WITH_NORBY_URL,n.B4B),n.R7$(2),n.Y8G("href",l.PRIVACY_URL,n.B4B),n.R7$(3),n.Y8G("href",l.TERMS_URL,n.B4B))},dependencies:[X.bT,z.Qpp,z.A77,cj,dj,hj,mj,yj,Mj,Oj,Fj],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.margin-top[_ngcontent-%COMP%]{margin-top:24px}.powered-container[_ngcontent-%COMP%], .powered-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.powered-container[_ngcontent-%COMP%]   .built-with-norby[_ngcontent-%COMP%]{opacity:.8;transition:opacity .2s cubic-bezier(.215,.61,.355,1)}.powered-container[_ngcontent-%COMP%]   .built-with-norby[_ngcontent-%COMP%]:hover{opacity:1}.powered-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;margin-left:16px;font-size:12px;padding:4px 8px;background-color:#fff;border-width:1px}.login-container[_ngcontent-%COMP%]{max-width:540px}"],changeDetection:0})}return o})(),UA=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,_d.FQ,P.X1,HH,z.tmq,z.opy,z.Hdp,z.tHK,z.X2N,z.Ss0,z.q4,z.hCk,z.Do5]})}return o})();var hY=Object.freeze({__proto__:null,LoginComponent:uY,LoginModule:UA});let pY=(()=>{class o extends z.$GR{constructor(i,s,l,v,M){super(),this.config=i,this._api=s,this._user=l,this._auth=v,this._dialogRef=M,this.hasLoaded=!1,i&&(this.content=i.content,this.userContent=i.userContent,this.themeClasses=i.themeClasses)}ngOnInit(){var i=this;this._user.getUserContent$(this.content?.contentId).pipe(this.takeUntilDestroy).subscribe(function(){var s=(0,$.A)(function*(l){i.userContent=l,l?.shortLinks?.referralPageShortLink||(yield i._callReferralEndpoint(l.contentId)),i.hasLoaded=!0});return function(l){return s.apply(this,arguments)}}())}_callReferralEndpoint(i){var s=this;return(0,$.A)(function*(){const l=`content/${i}/referral`,v=yield s._api.post(B.V$P.END_USER,l,{});v&&(s.userContent=v)})()}handleSubmitAnother(){this._auth.logout(),this._dialogRef.close()}static#e=this.\u0275fac=function(s){return new(s||o)(n.rXU(z.tn4,8),n.rXU(Lp),n.rXU(cg),n.rXU(Uu),n.rXU(z.bcf))};static#t=this.\u0275cmp=n.VBU({type:o,selectors:[["lib-rsvp-confirmation"]],features:[n.Vt3],decls:1,vars:4,consts:[[3,"onSubmitAnother","content","userContent","themeClasses","isLoadingUserContent"]],template:function(s,l){1&s&&(n.j41(0,"lib-rsvp-confirmation-view",0),n.bIt("onSubmitAnother",function(){return l.handleSubmitAnother()}),n.k0s()),2&s&&n.Y8G("content",l.content)("userContent",l.userContent)("themeClasses",l.themeClasses)("isLoadingUserContent",!l.hasLoaded)},dependencies:[z.T6Y]})}return o})(),GA=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=n.$C({type:o});static#n=this.\u0275inj=n.G2t({imports:[X.MD,z.eiO]})}return o})();var fY=Object.freeze({__proto__:null,RsvpConfirmationComponent:pY,RsvpConfirmationModule:GA})},11869:(De,A,C)=>{"use strict";C.d(A,{v64:()=>W5,i2S:()=>s_,j$C:()=>K5,qVJ:()=>Q5,N8N:()=>DT,wqP:()=>lb,yTL:()=>XT,HmI:()=>cy,fw0:()=>S6,mCO:()=>G3,$GR:()=>Sa,Qpp:()=>xp,tmq:()=>Bd,MFj:()=>fM,Z2l:()=>TS,cTL:()=>dl,iby:()=>$h,Dw2:()=>wd,a_4:()=>bS,VIr:()=>fy,PYJ:()=>Br,q4:()=>j3,_H:()=>Ua,vVP:()=>Ep,H5m:()=>Ho,PLb:()=>my,kKe:()=>A6,bEN:()=>PC,fS0:()=>Qm,q0_:()=>uy,bko:()=>g_,SIT:()=>L4,PsF:()=>Vd,krp:()=>Ip,YkA:()=>t7,tnI:()=>ub,IvX:()=>K2,rK8:()=>L6,EXR:()=>dy,Iky:()=>hS,Xyh:()=>H6,dPw:()=>Hm,Ax8:()=>G0,cIT:()=>T_,Xaq:()=>V4,T$p:()=>wm,YqO:()=>yS,hnu:()=>FC,fR:()=>N1,tHK:()=>W3,vnW:()=>zC,i7Z:()=>gM,aUU:()=>ay,NEB:()=>py,RlV:()=>jt,opy:()=>fl,fMH:()=>Xr,j7y:()=>e7,yNZ:()=>o8,b27:()=>L5,WIq:()=>Xv,rbS:()=>yb,SBO:()=>kS,UwZ:()=>W9,dFX:()=>bT,tuw:()=>X3,bdR:()=>n8,oNC:()=>H3,SM3:()=>w4,tn4:()=>Xc,uGs:()=>CT,bgN:()=>sr,GoH:()=>ud,sNK:()=>S3,gdS:()=>pm,E$7:()=>eh,MLf:()=>I1,EWn:()=>M0,eWv:()=>jg,jo3:()=>mm,olz:()=>Ql,ltO:()=>Xs,CH6:()=>fm,pcU:()=>Ja,zfW:()=>Cm,bcf:()=>dc,Bg8:()=>m2,Qe9:()=>X9,wAg:()=>EC,Bp$:()=>hy,ETu:()=>ha,Xdx:()=>Kv,MD2:()=>c1,HV5:()=>K3,HMg:()=>Od,qab:()=>B5,q$j:()=>_h,J0u:()=>p2,KL0:()=>tb,vmg:()=>Qv,S6L:()=>Mu,Vyg:()=>G5,$Zq:()=>C4,w0Y:()=>A0,Do5:()=>o_,$D5:()=>nh,_zN:()=>X5,np:()=>Q2,eF9:()=>vf,Lh:()=>xm,KJb:()=>B0,IVm:()=>c4,h6W:()=>Jv,$W2:()=>$5,DJc:()=>Fd,gqJ:()=>Dp,YL2:()=>x3,V0d:()=>q5,bnT:()=>Ec,Sh6:()=>Bu,vwf:()=>o6,eG6:()=>ib,t0O:()=>qc,UUA:()=>e8,TqB:()=>qi,gZ4:()=>Ya,mrz:()=>Kn,vvp:()=>ul,OZs:()=>rb,RpW:()=>i_,fX$:()=>pd,UMB:()=>n_,Q1E:()=>Mn,TQx:()=>rf,e44:()=>MT,LFT:()=>t8,TdG:()=>Zd,Wzq:()=>J3,kek:()=>Cp,X2N:()=>b4,glA:()=>ob,DA1:()=>tf,mKA:()=>j5,$ex:()=>wp,Ecb:()=>zr,ZxY:()=>H5,oNo:()=>Gm,Qvd:()=>Ph,hCk:()=>D6,O2I:()=>o4,Vle:()=>af,myA:()=>x6,aIf:()=>jm,EtQ:()=>z1,Z_Q:()=>Zv,ZnT:()=>op,O2g:()=>Op,glz:()=>hg,B_f:()=>Z3,caF:()=>Sm,rwc:()=>I6,mJy:()=>vb,bOV:()=>ly,T6Y:()=>u8,eiO:()=>_8,$nG:()=>ea,Tv5:()=>Um,kCt:()=>e4,TT2:()=>r_,IcM:()=>Vh,tTr:()=>ES,u5X:()=>Z9,l8$:()=>ab,C6U:()=>u_,zrb:()=>i7,A4e:()=>pc,D4H:()=>zp,JtN:()=>UT,whd:()=>SS,A77:()=>df,Hdp:()=>V5,QoI:()=>LT,XON:()=>wS,T2U:()=>r1,WBN:()=>Nl,cfR:()=>Wd,xtd:()=>Ku,uD5:()=>W1,L4O:()=>o1,eXd:()=>L3,$Cz:()=>$m,Yj1:()=>Pa,dgQ:()=>lc,Ss0:()=>Uh,KYJ:()=>PT,HHm:()=>CS,Xvr:()=>p_,_lO:()=>a7,Tqr:()=>o2,R$d:()=>b2,P2o:()=>g1,o7B:()=>s0,kVe:()=>Mc,Cy:()=>Iu,QRN:()=>y1,_RY:()=>Mg,N_3:()=>qf,AQB:()=>Mh,gEr:()=>ou,Ehg:()=>w1,EOi:()=>y0,FWS:()=>Ag,gQ2:()=>k1,YxR:()=>Rg,K_f:()=>_p,gSe:()=>U2,FEP:()=>Zu,HKz:()=>v3,dYF:()=>j2,yYD:()=>x1,V5x:()=>E,WSS:()=>Hp,uX9:()=>a1});var y=C(10467),$=C(67374),n=C(82260),a=C(93953),L=C(60177),ae=C(49969),K=C(89417),se=C(21413),fe=C(33726),le=C(5964),de=C(84412),Ve=C(96354),Ee=C(48455),qe=C(54843),Ge=C(92771),ht=C(41584),at=C(23294),Tt=C(71985),dt=C(88141),ft=C(99172),ze=C(56977),B=C(25558),Te=C(83229),be=C(89888),Pe=C(345),et=C(76939),z=C(47987),pe=(C(82027),C(57910),C(50363),C(17036),C(40967),C(83931),C(74388),C(5443),C(55910),C(99823),C(97148),C(20054),C(51077),C(77986),C(65801),C(84072),C(14108),C(74927),C(88199),C(9562),C(74548),C(74971),C(94078),C(99431),C(63239),C(55667),C(52457),C(80504),C(87197),C(88967),C(4959),C(37707),C(5842),C(77613),C(3640),C(95763),C(79660),C(31755),C(88e3),C(19570),C(66065),C(56649),C(59897),C(745),C(11e3),C(33596),C(5674),C(56121),C(49292),C(60197),C(53341),C(10734),C(61933),C(79614),C(24630),C(85556),C(53610),C(94730),C(16698),C(31730),C(27799),C(76706),C(777),C(66243),C(99323),C(4668),C(69948),C(95096),C(56449),C(59663),C(1784),C(51803),C(12822),C(30741),C(5152),C(42943),C(54343),C(95828),C(26583),C(97346),C(54258),C(546),C(93722),C(98324),C(48731),C(76485),C(59675),C(10728),C(28061),C(98459),C(41356),C(65008),C(7532),C(53822),C(91417),C(52345),C(12600),C(86568),C(54730),C(32339),C(74127),C(74400),C(4570),C(2173),C(46068),C(92153),C(78331),C(82026),C(99154),C(14010),C(74346),C(10922),C(54267),C(44189),C(60836),C(98175),C(90796),C(90214),C(35461),C(90050),C(47819),C(54032),C(33745),C(56273),C(8731),C(54388),C(24528),C(59408),C(68969),C(35776),C(77642),C(28512),C(63557),C(71603),C(4452),C(90004),C(29732),C(11408),C(40817),C(27138),C(74698),C(36496),C(81869),C(13076),C(75574),C(9720),C(79253),C(9141),C(97746),C(78969),C(52473),C(39892),C(84538),C(66515),C(56310),C(19486),C(14605),C(76574),C(16343),C(88237),C(94549),C(14165),C(56684),C(13333),C(50516),C(41528),C(38258),C(31643),C(3128),C(83798),C(46005),C(18219),C(73657),C(18435),C(11910),C(68369),C(86885),C(87796),C(53932),C(63103),C(17490),C(20348),C(93343),C(28169),C(37167),C(34345),C(8614),C(30556),C(71391),C(41788),C(36193),C(83367),C(54074),C(4557),C(5324),C(67280),C(93118),C(15263),C(66080),C(82681),C(12275),C(58056),C(67173),C(37313),C(30523),C(29056),C(24984),C(30235),C(44905),C(1828),C(91246),C(91805),C(46323),C(89668),C(14593),C(64287),C(72971),C(76069),C(82911),C(30263),C(56152),C(6131),C(73785),C(60180),C(49603),C(40306),C(20797),C(84888),C(45943),C(59449),C(80388),C(1121),C(76594),C(96897),C(76186),C(7968),C(78100),C(34895),C(21588),C(72968),C(63612),C(58675),C(10334),C(57373),C(98426),C(79747),C(96454),C(62526),C(51556),C(12027),C(25252),C(98229),C(73994),C(13209),C(18381),C(95852),C(75024),C(20256),C(15912),C(34807),C(30243),C(72734),C(20830),C(50758),C(5310),C(89677),C(76124),C(10713),C(54481),C(2071),C(31400),C(70983),C(2225),C(45586),C(23633),C(80655),C(95195),C(99982),C(80741),C(18474),C(71460),C(76680),C(54675),C(40721),C(74838),C(57093),C(82351),C(17390),C(19419),C(87110),C(3044),C(70040),C(69026),C(44866),C(91507),C(64432),C(12697),C(6855),C(20784),C(97122),C(14526),C(20823),C(42634),C(78265),C(77777),C(43024),C(95307),C(28568),C(21626)),Oe=C(90450),it=C(43053),At=C(72874),kn=C(1236),pn=C(23386),pi=typeof window<"u"?window:{screen:{},navigator:{}},Co=(pi.matchMedia||function(){return{matches:!1}}).bind(pi),Uo=!1,bl=function(){};pi.addEventListener&&pi.addEventListener("p",bl,{get passive(){return Uo=!0}}),pi.removeEventListener&&pi.removeEventListener("p",bl,!1);var zo=Uo,ss="ontouchstart"in pi,Z0=(ss||"TouchEvent"in pi&&Co("(any-pointer: coarse)"),pi.navigator.userAgent||"");Co("(pointer: coarse)").matches&&/iPad|Macintosh/.test(Z0)&&Math.min(pi.screen.width||0,pi.screen.height||0);(Co("(pointer: coarse)").matches||!Co("(pointer: fine)").matches&&ss)&&/Windows.*Firefox/.test(Z0),Co("(any-pointer: fine)").matches||Co("(any-hover: hover)");const e1=(b,me,f)=>({tooltip:b,placement:me,content:f});function t1(b,me){}function Oa(b,me){1&b&&a.DNE(0,t1,0,0,"ng-template")}function xd(b,me){if(1&b&&(a.qex(0),a.DNE(1,Oa,1,0,null,1),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.template)("ngTemplateOutletContext",a.sMw(2,e1,f.tooltip,f.placement,f.content))}}function oc(b,me){if(1&b&&(a.qex(0),a.j41(1,"div",2),a.EFF(2),a.k0s(),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.BMQ("title",f.tooltip)("data-tooltip-placement",f.placement),a.R7$(),a.SpI(" ",f.content," ")}}const Bp=["tooltipTemplate"],Hl=["leftOuterSelectionBar"],Vc=["rightOuterSelectionBar"],Bc=["fullBar"],Cc=["selectionBar"],$p=["minHandle"],jd=["maxHandle"],Hd=["floorLabel"],G1=["ceilLabel"],$c=["minHandleLabel"],rc=["maxHandleLabel"],wc=["combinedLabel"],cd=["ticksElement"],Mf=b=>({"ngx-slider-selected":b});function j1(b,me){if(1&b&&a.nrm(0,"ngx-slider-tooltip-wrapper",32),2&b){const f=a.XpG().$implicit,k=a.XpG();a.Y8G("template",k.tooltipTemplate)("tooltip",f.valueTooltip)("placement",f.valueTooltipPlacement)("content",f.value)}}function bu(b,me){if(1&b&&a.nrm(0,"span",33),2&b){const f=a.XpG().$implicit;a.Y8G("innerText",f.legend)}}function Cu(b,me){if(1&b&&a.nrm(0,"span",34),2&b){const f=a.XpG().$implicit;a.Y8G("innerHTML",f.legend,a.npT)}}function sc(b,me){if(1&b&&(a.j41(0,"span",27),a.nrm(1,"ngx-slider-tooltip-wrapper",28),a.DNE(2,j1,1,4,"ngx-slider-tooltip-wrapper",29)(3,bu,1,1,"span",30)(4,Cu,1,1,"span",31),a.k0s()),2&b){const f=me.$implicit,k=a.XpG();a.Y8G("ngClass",a.eq3(8,Mf,f.selected))("ngStyle",f.style),a.R7$(),a.Y8G("template",k.tooltipTemplate)("tooltip",f.tooltip)("placement",f.tooltipPlacement),a.R7$(),a.Y8G("ngIf",null!=f.value),a.R7$(),a.Y8G("ngIf",null!=f.legend&&!1===k.allowUnsafeHtmlInSlider),a.R7$(),a.Y8G("ngIf",null!=f.legend&&(null==k.allowUnsafeHtmlInSlider||k.allowUnsafeHtmlInSlider))}}var dd=function(b){return b[b.Low=0]="Low",b[b.High=1]="High",b[b.Floor=2]="Floor",b[b.Ceil=3]="Ceil",b[b.TickValue=4]="TickValue",b}(dd||{});class Yd{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const Js=new a.nKC("AllowUnsafeHtmlInSlider");var co=function(b){return b[b.Min=0]="Min",b[b.Max=1]="Max",b}(co||{});class n1{value;highValue;pointerType}class ni{static isNullOrUndefined(me){return null==me}static areArraysEqual(me,f){if(me.length!==f.length)return!1;for(let k=0;k<me.length;++k)if(me[k]!==f[k])return!1;return!0}static linearValueToPosition(me,f,k){return(me-f)/(k-f)}static logValueToPosition(me,f,k){return((me=Math.log(me))-(f=Math.log(f)))/((k=Math.log(k))-f)}static linearPositionToValue(me,f,k){return me*(k-f)+f}static logPositionToValue(me,f,k){return f=Math.log(f),k=Math.log(k),Math.exp(me*(k-f)+f)}static findStepIndex(me,f){const k=f.map(ye=>Math.abs(me-ye.value));let x=0;for(let ye=0;ye<f.length;ye++)k[ye]!==k[x]&&k[ye]<k[x]&&(x=ye);return x}}class za{static isTouchEvent(me){return void 0!==window.TouchEvent?me instanceof TouchEvent:void 0!==me.touches}static isResizeObserverAvailable(){return void 0!==window.ResizeObserver}}class Tr{static roundToPrecisionLimit(me,f){return+me.toPrecision(f)}static isModuloWithinPrecisionLimit(me,f,k){const x=Math.pow(10,-k);return Math.abs(me%f)<=x||Math.abs(Math.abs(me%f)-f)<=x}static clampToRange(me,f,k){return Math.min(Math.max(me,f),k)}}class Xu{eventName=null;events=null;eventsSubscription=null;teardownCallback=null}class Up{renderer;constructor(me){this.renderer=me}attachPassiveEventListener(me,f,k,x){if(!0!==zo)return this.attachEventListener(me,f,k,x);const ye=new Xu;ye.eventName=f,ye.events=new se.B;const kt=zn=>{ye.events.next(zn)};return me.addEventListener(f,kt,{passive:!0,capture:!1}),ye.teardownCallback=()=>{me.removeEventListener(f,kt,{passive:!0,capture:!1})},ye.eventsSubscription=ye.events.pipe(ni.isNullOrUndefined(x)?(0,dt.M)(()=>{}):(0,pn.c)(x,void 0,{leading:!0,trailing:!0})).subscribe(zn=>{k(zn)}),ye}detachEventListener(me){ni.isNullOrUndefined(me.eventsSubscription)||(me.eventsSubscription.unsubscribe(),me.eventsSubscription=null),ni.isNullOrUndefined(me.events)||(me.events.complete(),me.events=null),ni.isNullOrUndefined(me.teardownCallback)||(me.teardownCallback(),me.teardownCallback=null)}attachEventListener(me,f,k,x){const ye=new Xu;return ye.eventName=f,ye.events=new se.B,ye.teardownCallback=this.renderer.listen(me,f,zn=>{ye.events.next(zn)}),ye.eventsSubscription=ye.events.pipe(ni.isNullOrUndefined(x)?(0,dt.M)(()=>{}):(0,pn.c)(x,void 0,{leading:!0,trailing:!0})).subscribe(zn=>{k(zn)}),ye}}let vo=(()=>{class b{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(f,k,x){this.elemRef=f,this.renderer=k,this.changeDetectionRef=x,this.eventListenerHelper=new Up(this.renderer)}setAlwaysHide(f){this._alwaysHide=f,this.visibility=f?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(f){this._vertical=f,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(f){this._scale=f}setRotate(f){this._rotate=f,this.transform="rotate("+f+"deg)"}getRotate(){return this._rotate}setPosition(f){this._position!==f&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=f,this._vertical?this.bottom=Math.round(f)+"px":this.left=Math.round(f)+"px"}calculateDimension(){const f=this.getBoundingClientRect();this._dimension=this.vertical?(f.bottom-f.top)*this.scale:(f.right-f.left)*this.scale}setDimension(f){this._dimension!==f&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=f,this._vertical?this.height=Math.round(f)+"px":this.width=Math.round(f)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(f,k,x){const ye=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,f,k,x);this.eventListeners.push(ye)}onPassive(f,k,x){const ye=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,f,k,x);this.eventListeners.push(ye)}off(f){let k,x;ni.isNullOrUndefined(f)?(k=[],x=this.eventListeners):(k=this.eventListeners.filter(ye=>ye.eventName!==f),x=this.eventListeners.filter(ye=>ye.eventName===f));for(const ye of x)this.eventListenerHelper.detachEventListener(ye);this.eventListeners=k}isRefDestroyed(){return ni.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(a.gRc))};static \u0275dir=a.FsC({type:b,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(k,x){2&k&&a.xc7("opacity",x.opacity)("visibility",x.visibility)("left",x.left)("bottom",x.bottom)("height",x.height)("width",x.width)("transform",x.transform)}})}return b})(),H1=(()=>{class b extends vo{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(f,k,x){super(f,k,x)}static \u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(a.gRc))};static \u0275dir=a.FsC({type:b,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(k,x){2&k&&(a.BMQ("role",x.role)("tabindex",x.tabindex)("aria-orientation",x.ariaOrientation)("aria-label",x.ariaLabel)("aria-labelledby",x.ariaLabelledBy)("aria-valuenow",x.ariaValueNow)("aria-valuetext",x.ariaValueText)("aria-valuemin",x.ariaValueMin)("aria-valuemax",x.ariaValueMax),a.AVh("ngx-slider-active",x.active))},features:[a.Vt3]})}return b})(),ua=(()=>{class b extends vo{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(f,k,x,ye){super(f,k,x),this.allowUnsafeHtmlInSlider=ye}setValue(f){let k=!1;!this.alwaysHide&&(ni.isNullOrUndefined(this.value)||this.value.length!==f.length||this.value.length>0&&0===this.dimension)&&(k=!0),this._value=f,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=f:this.elemRef.nativeElement.innerHTML=f,k&&this.calculateDimension()}static \u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(a.gRc),a.rXU(Js,8))};static \u0275dir=a.FsC({type:b,selectors:[["","ngxSliderLabel",""]],features:[a.Vt3]})}return b})(),ac=(()=>{class b{template;tooltip;placement;content;static \u0275fac=function(k){return new(k||b)};static \u0275cmp=a.VBU({type:b,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(k,x){1&k&&a.DNE(0,xd,2,6,"ng-container",0)(1,oc,3,3,"ng-container",0),2&k&&(a.Y8G("ngIf",x.template),a.R7$(),a.Y8G("ngIf",!x.template))},dependencies:[L.bT,L.T3],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return b})();class wu{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class sl{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Tu{value;highValue;static compare(me,f){return!(ni.isNullOrUndefined(me)&&ni.isNullOrUndefined(f)||ni.isNullOrUndefined(me)!==ni.isNullOrUndefined(f))&&me.value===f.value&&me.highValue===f.highValue}}class Gp extends Tu{forceChange;static compare(me,f){return!(ni.isNullOrUndefined(me)&&ni.isNullOrUndefined(f)||ni.isNullOrUndefined(me)!==ni.isNullOrUndefined(f))&&me.value===f.value&&me.highValue===f.highValue&&me.forceChange===f.forceChange}}const Su={provide:K.kq,useExisting:(0,a.Rfq)(()=>Uc),multi:!0};let Uc=(()=>{class b{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new a.bkB;highValue=null;highValueChange=new a.bkB;options=new Yd;userChangeStart=new a.bkB;userChange=new a.bkB;userChangeEnd=new a.bkB;manualRefreshSubscription;set manualRefresh(f){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=f.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(f){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=f.subscribe(k=>{this.focusPointer(k)})}get range(){return!ni.isNullOrUndefined(this.value)&&!ni.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new se.B;inputModelChangeSubscription=null;outputModelChangeSubject=new se.B;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Yd;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new sl;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(f,k,x,ye,kt){this.renderer=f,this.elementRef=k,this.changeDetectionRef=x,this.zone=ye,this.allowUnsafeHtmlInSlider=kt,this.eventListenerHelper=new Up(this.renderer)}ngOnInit(){this.viewOptions=new Yd,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(f){!ni.isNullOrUndefined(f.options)&&JSON.stringify(f.options.previousValue)!==JSON.stringify(f.options.currentValue)&&this.onChangeOptions(),(!ni.isNullOrUndefined(f.value)||!ni.isNullOrUndefined(f.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(f){f instanceof Array?(this.value=f[0],this.highValue=f[1]):this.value=f,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(f){this.onChangeCallback=f}registerOnTouched(f){this.onTouchedCallback=f}setDisabledState(f){this.viewOptions.disabled=f,this.updateDisabledState()}setAriaLabel(f){this.viewOptions.ariaLabel=f,this.updateAriaLabel()}onResize(f){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe((0,at.F)(Gp.compare),(0,le.p)(f=>!f.forceChange&&!f.internalChange)).subscribe(f=>this.applyInputModelChange(f))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe((0,at.F)(Gp.compare)).subscribe(f=>this.publishOutputModelChange(f))}subscribeResizeObserver(){za.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){za.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){ni.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){ni.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){ni.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){ni.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){ni.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){ni.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(f){return f===co.Min?this.minHandleElement:f===co.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===co.Min?this.viewLowValue:this.currentTrackingPointer===co.Max?this.viewHighValue:null}modelValueToViewValue(f){return ni.isNullOrUndefined(f)?NaN:ni.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+f:ni.findStepIndex(+f,this.viewOptions.stepsArray)}viewValueToModelValue(f){return ni.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?f:this.getStepValue(f)}getStepValue(f){const k=this.viewOptions.stepsArray[f];return ni.isNullOrUndefined(k)?NaN:k.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(f){const k=this.normaliseModelValues(f),x=!Tu.compare(f,k);x&&(this.value=k.value,this.highValue=k.highValue),this.viewLowValue=this.modelValueToViewValue(k.value),this.viewHighValue=this.range?this.modelValueToViewValue(k.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:k.value,highValue:k.highValue,forceChange:x,userEventInitiated:!1})}publishOutputModelChange(f){const k=()=>{this.valueChange.emit(f.value),this.range&&this.highValueChange.emit(f.highValue),ni.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[f.value,f.highValue]:f.value),ni.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[f.value,f.highValue]:f.value)};f.userEventInitiated?(k(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{k()})}normaliseModelValues(f){const k=new Tu;if(k.value=f.value,k.highValue=f.highValue,!ni.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const x=ni.findStepIndex(k.value,this.viewOptions.stepsArray);if(k.value=this.viewOptions.stepsArray[x].value,this.range){const ye=ni.findStepIndex(k.highValue,this.viewOptions.stepsArray);k.highValue=this.viewOptions.stepsArray[ye].value}}return k}if(this.viewOptions.enforceStep&&(k.value=this.roundStep(k.value),this.range&&(k.highValue=this.roundStep(k.highValue))),this.viewOptions.enforceRange&&(k.value=Tr.clampToRange(k.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(k.highValue=Tr.clampToRange(k.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&f.value>f.highValue))if(this.viewOptions.noSwitching)k.value=k.highValue;else{const x=f.value;k.value=f.highValue,k.highValue=x}return k}renormaliseModelValues(){const f={value:this.value,highValue:this.highValue},k=this.normaliseModelValues(f);Tu.compare(k,f)||(this.value=k.value,this.highValue=k.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const f=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const k=this.getOptionsInfluencingEventBindings(this.viewOptions),x=!ni.areArraysEqual(f,k);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(x)}applyOptions(){if(this.viewOptions=new Yd,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!ni.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!ni.isNullOrUndefined(this.viewOptions.tickStep)||!ni.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!ni.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),ni.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),ni.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(f,k)=>f+" - "+k),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,ni.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=f=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(f):f))}applyFloorCeilOptions(){if(ni.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),ni.isNullOrUndefined(this.viewOptions.ceil)||ni.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,ni.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=f=>String(f))}resetSlider(f=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),f&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(f){f!==co.Min&&f!==co.Max&&(f=co.Min),f===co.Min?this.minHandleElement.focus():this.range&&f===co.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){ni.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const f=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(f||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(f||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(f||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const f of this.getAllSliderElements())ni.isNullOrUndefined(f)||f.setVertical(this.viewOptions.vertical)}updateScale(){for(const f of this.getAllSliderElements())f.setScale(this.viewOptions.scale)}updateRotate(){for(const f of this.getAllSliderElements())f.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",ni.isNullOrUndefined(this.viewOptions.ariaLabel)?ni.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",ni.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?ni.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,dd.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,dd.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){ni.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const f=this.minHandleElement.dimension;this.handleHalfDimension=f/2,ni.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-f,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const f=ni.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,k=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&f.reverse();const x=ni.isNullOrUndefined(this.viewOptions.tickValueStep)?ni.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let ye=!1;const kt=f.map(zn=>{let Fi=this.valueToPosition(zn);this.viewOptions.vertical&&(Fi=this.maxHandlePosition-Fi);const no=k+"("+Math.round(Fi)+"px)",fo=new wu;fo.selected=this.isTickSelected(zn),fo.style={"-webkit-transform":no,"-moz-transform":no,"-o-transform":no,"-ms-transform":no,transform:no},fo.selected&&!ni.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(fo.style["background-color"]=this.getSelectionBarColor()),!fo.selected&&!ni.isNullOrUndefined(this.viewOptions.getTickColor)&&(fo.style["background-color"]=this.getTickColor(zn)),ni.isNullOrUndefined(this.viewOptions.ticksTooltip)||(fo.tooltip=this.viewOptions.ticksTooltip(zn),fo.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!ni.isNullOrUndefined(x)&&Tr.isModuloWithinPrecisionLimit(zn,x,this.viewOptions.precisionLimit)&&(fo.value=this.getDisplayValue(zn,dd.TickValue),ni.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(fo.valueTooltip=this.viewOptions.ticksValuesTooltip(zn),fo.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let Sr=null;if(ni.isNullOrUndefined(this.viewOptions.stepsArray))ni.isNullOrUndefined(this.viewOptions.getLegend)||(Sr=this.viewOptions.getLegend(zn));else{const ts=this.viewOptions.stepsArray[zn];ni.isNullOrUndefined(this.viewOptions.getStepLegend)?ni.isNullOrUndefined(ts)||(Sr=ts.legend):Sr=this.viewOptions.getStepLegend(ts)}return ni.isNullOrUndefined(Sr)||(fo.legend=Sr,ye=!0),fo});if(this.sliderElementWithLegendClass!==ye&&setTimeout(()=>{this.sliderElementWithLegendClass=ye}),ni.isNullOrUndefined(this.ticks)||this.ticks.length!==kt.length)this.ticks=kt,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let zn=0;zn<kt.length;++zn)Object.assign(this.ticks[zn],kt[zn])}getTicksArray(){if(!this.viewOptions.showTicks)return[];const f=ni.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,k=[],x=1+Math.floor(Tr.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil-this.viewOptions.floor)/f,this.viewOptions.precisionLimit));for(let ye=0;ye<x;++ye)k.push(Tr.roundToPrecisionLimit(this.viewOptions.floor+f*ye,this.viewOptions.precisionLimit));return k}isTickSelected(f){if(!this.range)if(ni.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if(f>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&f<=this.viewLowValue)return!0}else{const k=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>k&&f>=k&&f<=this.viewLowValue)return!0;if(this.viewLowValue<k&&f<=k&&f>=this.viewLowValue)return!0}return!!(this.range&&f>=this.viewLowValue&&f<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,dd.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,dd.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(f,k){f===co.Min?this.updateLowHandle(k):f===co.Max&&this.updateHighHandle(k),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(f,k){const x=f===co.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,ye=k-x/2+this.handleHalfDimension,kt=this.fullBarElement.dimension-x;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&f===co.Min||!this.viewOptions.rightToLeft&&f===co.Max?Math.min(ye,kt):Math.min(Math.max(ye,0),kt):ye}updateLowHandle(f){this.minHandleElement.setPosition(f),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,dd.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(co.Min,f)),ni.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(co.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(f){this.maxHandleElement.setPosition(f),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,dd.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(co.Max,f)),ni.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(co.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let f=!1,k=!1;const x=this.isLabelBelowFloorLabel(this.minHandleLabelElement),ye=this.isLabelAboveCeilLabel(this.minHandleLabelElement),kt=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),zn=this.isLabelBelowFloorLabel(this.combinedLabelElement),Fi=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(x?(f=!0,this.floorLabelElement.hide()):(f=!1,this.floorLabelElement.show()),ye?(k=!0,this.ceilLabelElement.hide()):(k=!1,this.ceilLabelElement.show()),this.range){const no=this.combinedLabelElement.isVisible()?Fi:kt,fo=this.combinedLabelElement.isVisible()?zn:x;no?this.ceilLabelElement.hide():k||this.ceilLabelElement.show(),fo?this.floorLabelElement.hide():f||this.floorLabelElement.show()}}isLabelBelowFloorLabel(f){const k=f.position,ye=this.floorLabelElement.position;return this.viewOptions.rightToLeft?k+f.dimension>=ye-2:k<=ye+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(f){const k=f.position,ye=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?k<=ye+this.ceilLabelElement.dimension+2:k+f.dimension>=ye-2}updateSelectionBar(){let f=0,k=0;const x=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,ye=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)k=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),f=ye;else if(ni.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))x?(k=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),f=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(k=this.minHandleElement.position+this.handleHalfDimension,f=0);else{const kt=this.viewOptions.showSelectionBarFromValue,zn=this.valueToPosition(kt);(this.viewOptions.rightToLeft?this.viewLowValue<=kt:this.viewLowValue>kt)?(k=this.minHandleElement.position-zn,f=zn+this.handleHalfDimension):(k=zn-this.minHandleElement.position,f=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(k),this.selectionBarElement.setPosition(f),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(f),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(f+k)),this.leftOuterSelectionBarElement.setPosition(f+k)):(this.leftOuterSelectionBarElement.setDimension(f),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(f+k)),this.rightOuterSelectionBarElement.setPosition(f+k))),ni.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!ni.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const kt=ni.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),zn=kt-f>0&&!x||kt-f<=0&&x;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?zn?"bottom":"top":zn?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(kt+k+f+(zn?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=kt-f+(zn?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const kt=this.getSelectionBarColor();this.barStyle={backgroundColor:kt}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(f){return this.viewOptions.getPointerColor(f===co.Max?this.highValue:this.value,f)}getTickColor(f){return this.viewOptions.getTickColor(f)}updateCombinedLabel(){let f=null;if(f=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,f){const k=this.getDisplayValue(this.viewLowValue,dd.Low),x=this.getDisplayValue(this.viewHighValue,dd.High),ye=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(x,k):this.viewOptions.combineLabels(k,x);this.combinedLabelElement.setValue(ye);const kt=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(kt),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(f,k){return!ni.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(f=this.getStepValue(f)),this.viewOptions.translate(f,k)}roundStep(f,k){const x=ni.isNullOrUndefined(k)?this.viewOptions.step:k;let ye=Tr.roundToPrecisionLimit((f-this.viewOptions.floor)/x,this.viewOptions.precisionLimit);return ye=Math.round(ye)*x,Tr.roundToPrecisionLimit(this.viewOptions.floor+ye,this.viewOptions.precisionLimit)}valueToPosition(f){let k=ni.linearValueToPosition;ni.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(k=ni.logValueToPosition):k=this.viewOptions.customValueToPosition;let x=k(f=Tr.clampToRange(f,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return ni.isNullOrUndefined(x)&&(x=0),this.viewOptions.rightToLeft&&(x=1-x),x*this.maxHandlePosition}positionToValue(f){let k=f/this.maxHandlePosition;this.viewOptions.rightToLeft&&(k=1-k);let x=ni.linearPositionToValue;ni.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(x=ni.logPositionToValue):x=this.viewOptions.customPositionToValue;const ye=x(k,this.viewOptions.floor,this.viewOptions.ceil);return ni.isNullOrUndefined(ye)?0:ye}getEventXY(f,k){if(f instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?f.clientY:f.clientX;let x=0;const ye=f.touches;if(!ni.isNullOrUndefined(k))for(let kt=0;kt<ye.length;kt++)if(ye[kt].identifier===k){x=kt;break}return this.viewOptions.vertical||0!==this.viewOptions.rotate?ye[x].clientY:ye[x].clientX}getEventPosition(f,k){const x=this.elementRef.nativeElement.getBoundingClientRect(),ye=this.viewOptions.vertical||0!==this.viewOptions.rotate?x.bottom:x.left;let kt=0;return kt=this.viewOptions.vertical||0!==this.viewOptions.rotate?-this.getEventXY(f,k)+ye:this.getEventXY(f,k)-ye,kt*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(f){if(!this.range)return co.Min;const k=this.getEventPosition(f),x=Math.abs(k-this.minHandleElement.position),ye=Math.abs(k-this.maxHandleElement.position);return x<ye?co.Min:x>ye?co.Max:this.viewOptions.rightToLeft?k>this.minHandleElement.position?co.Min:co.Max:k<this.minHandleElement.position?co.Min:co.Max}bindEvents(){const f=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",k=>this.onBarStart(null,f,k,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",k=>this.onBarStart(co.Min,f,k,!0,!0)),this.maxHandleElement.on("mousedown",k=>this.onBarStart(co.Max,f,k,!0,!0))):(this.minHandleElement.on("mousedown",k=>this.onStart(co.Min,k,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",k=>this.onStart(co.Max,k,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",k=>this.onStart(null,k,!0,!0,!0)),this.ticksElement.on("mousedown",k=>this.onStart(null,k,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",k=>this.onBarStart(null,f,k,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",k=>this.onBarStart(co.Min,f,k,!0,!0)),this.maxHandleElement.onPassive("touchstart",k=>this.onBarStart(co.Max,f,k,!0,!0))):(this.minHandleElement.onPassive("touchstart",k=>this.onStart(co.Min,k,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",k=>this.onStart(co.Max,k,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",k=>this.onStart(null,k,!0,!0,!0)),this.ticksElement.onPassive("touchstart",k=>this.onStart(null,k,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(co.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(co.Max)))}getOptionsInfluencingEventBindings(f){return[f.disabled,f.readOnly,f.draggableRange,f.draggableRangeOnly,f.onlyBindHandles,f.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const f of this.getAllSliderElements())ni.isNullOrUndefined(f)||f.off()}onBarStart(f,k,x,ye,kt,zn,Fi){k?this.onDragStart(f,x,ye,kt):this.onStart(f,x,ye,kt,zn,Fi)}onStart(f,k,x,ye,kt,zn){k.stopPropagation(),!za.isTouchEvent(k)&&!zo&&k.preventDefault(),this.moving=!1,this.calculateViewDimensions(),ni.isNullOrUndefined(f)&&(f=this.getNearestHandle(k)),this.currentTrackingPointer=f;const Fi=this.getPointerElement(f);if(Fi.active=!0,this.viewOptions.keyboardSupport&&Fi.focus(),x){this.unsubscribeOnMove();const no=fo=>this.dragging.active?this.onDragMove(fo):this.onMove(fo);this.onMoveEventListener=za.isTouchEvent(k)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",no):this.eventListenerHelper.attachEventListener(document,"mousemove",no)}if(ye){this.unsubscribeOnEnd();const no=fo=>this.onEnd(fo);this.onEndEventListener=za.isTouchEvent(k)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",no):this.eventListenerHelper.attachEventListener(document,"mouseup",no)}this.userChangeStart.emit(this.getChangeContext()),za.isTouchEvent(k)&&!ni.isNullOrUndefined(k.changedTouches)&&ni.isNullOrUndefined(this.touchId)&&(this.touchId=k.changedTouches[0].identifier),kt&&this.onMove(k,!0),zn&&this.onEnd(k)}onMove(f,k){let x=null;if(za.isTouchEvent(f)){const no=f.changedTouches;for(let fo=0;fo<no.length;fo++)if(no[fo].identifier===this.touchId){x=no[fo];break}if(ni.isNullOrUndefined(x))return}this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;const ye=ni.isNullOrUndefined(x)?this.getEventPosition(f):this.getEventPosition(f,x.identifier);let kt;ye<=0?kt=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor:ye>=this.maxHandlePosition?kt=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(kt=this.positionToValue(ye),kt=k&&!ni.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(kt,this.viewOptions.tickStep):this.roundStep(kt)),this.positionTrackingHandle(kt)}onEnd(f){za.isTouchEvent(f)&&f.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(f){const k=this.getPointerElement(f);k.on("blur",()=>this.onPointerBlur(k)),k.on("keydown",x=>this.onKeyboardEvent(x)),k.on("keyup",()=>this.onKeyUp()),k.active=!0,this.currentTrackingPointer=f,this.currentFocusPointer=f,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(f){f.off("blur"),f.off("keydown"),f.off("keyup"),f.active=!1,ni.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(f){const k=this.viewOptions.ceil-this.viewOptions.floor;let x=f+this.viewOptions.step,ye=f-this.viewOptions.step,kt=f+k/10,zn=f-k/10;this.viewOptions.reversedControls&&(x=f-this.viewOptions.step,ye=f+this.viewOptions.step,kt=f-k/10,zn=f+k/10);const Fi={UP:x,DOWN:ye,LEFT:ye,RIGHT:x,PAGEUP:kt,PAGEDOWN:zn,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(Fi.LEFT=x,Fi.RIGHT=ye,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(Fi.UP=ye,Fi.DOWN=x)),Fi}onKeyboardEvent(f){const k=this.getCurrentTrackingValue(),x=ni.isNullOrUndefined(f.keyCode)?f.which:f.keyCode,Fi=this.getKeyActions(k)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[x]];if(ni.isNullOrUndefined(Fi)||ni.isNullOrUndefined(this.currentTrackingPointer))return;f.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const no=Tr.clampToRange(Fi,this.viewOptions.floor,this.viewOptions.ceil),fo=this.roundStep(no);if(this.viewOptions.draggableRangeOnly){const Sr=this.viewHighValue-this.viewLowValue;let ts,Qr;this.currentTrackingPointer===co.Min?(ts=fo,Qr=fo+Sr,Qr>this.viewOptions.ceil&&(Qr=this.viewOptions.ceil,ts=Qr-Sr)):this.currentTrackingPointer===co.Max&&(Qr=fo,ts=fo-Sr,ts<this.viewOptions.floor&&(ts=this.viewOptions.floor,Qr=ts+Sr)),this.positionTrackingBar(ts,Qr)}else this.positionTrackingHandle(fo)}onDragStart(f,k,x,ye){const kt=this.getEventPosition(k);this.dragging=new sl,this.dragging.active=!0,this.dragging.value=this.positionToValue(kt),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-kt:kt-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?kt-this.maxHandleElement.position:this.maxHandleElement.position-kt,this.onStart(f,k,x,ye)}getMinValue(f,k,x){const ye=this.viewOptions.rightToLeft;let kt=null;return kt=k?x?ye?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:ye?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:this.positionToValue(ye?f+this.dragging.lowLimit:f-this.dragging.lowLimit),this.roundStep(kt)}getMaxValue(f,k,x){const ye=this.viewOptions.rightToLeft;let kt=null;return kt=k?x?ye?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:ye?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:ye?this.positionToValue(f+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(f-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(kt)}onDragMove(f){const k=this.getEventPosition(f);let x,ye,kt,zn;this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0,this.viewOptions.rightToLeft?(x=this.dragging.lowLimit,ye=this.dragging.highLimit,kt=this.maxHandleElement,zn=this.minHandleElement):(x=this.dragging.highLimit,ye=this.dragging.lowLimit,kt=this.minHandleElement,zn=this.maxHandleElement);const no=k>=this.maxHandlePosition-x;let fo,Sr;if(k<=ye){if(0===kt.position)return;fo=this.getMinValue(k,!0,!1),Sr=this.getMaxValue(k,!0,!1)}else if(no){if(zn.position===this.maxHandlePosition)return;Sr=this.getMaxValue(k,!0,!0),fo=this.getMinValue(k,!0,!0)}else fo=this.getMinValue(k,!1,!1),Sr=this.getMaxValue(k,!1,!1);this.positionTrackingBar(fo,Sr)}positionTrackingBar(f,k){!ni.isNullOrUndefined(this.viewOptions.minLimit)&&f<this.viewOptions.minLimit&&(k=Tr.roundToPrecisionLimit((f=this.viewOptions.minLimit)+this.dragging.difference,this.viewOptions.precisionLimit)),!ni.isNullOrUndefined(this.viewOptions.maxLimit)&&k>this.viewOptions.maxLimit&&(f=Tr.roundToPrecisionLimit((k=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=f,this.viewHighValue=k,this.applyViewChange(),this.updateHandles(co.Min,this.valueToPosition(f)),this.updateHandles(co.Max,this.valueToPosition(k))}positionTrackingHandle(f){f=this.applyMinMaxLimit(f),this.range&&(this.viewOptions.pushRange?f=this.applyPushRange(f):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===co.Min&&f>this.viewHighValue?f=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===co.Max&&f<this.viewLowValue&&(f=this.applyMinMaxRange(this.viewLowValue))),f=this.applyMinMaxRange(f),this.currentTrackingPointer===co.Min&&f>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(co.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=co.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===co.Max&&f<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(co.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=co.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==f&&(this.currentTrackingPointer===co.Min?(this.viewLowValue=f,this.applyViewChange()):this.currentTrackingPointer===co.Max&&(this.viewHighValue=f,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(f)),this.updateAriaAttributes())}applyMinMaxLimit(f){return!ni.isNullOrUndefined(this.viewOptions.minLimit)&&f<this.viewOptions.minLimit?this.viewOptions.minLimit:!ni.isNullOrUndefined(this.viewOptions.maxLimit)&&f>this.viewOptions.maxLimit?this.viewOptions.maxLimit:f}applyMinMaxRange(f){const x=Math.abs(f-(this.currentTrackingPointer===co.Min?this.viewHighValue:this.viewLowValue));if(!ni.isNullOrUndefined(this.viewOptions.minRange)&&x<this.viewOptions.minRange){if(this.currentTrackingPointer===co.Min)return Tr.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===co.Max)return Tr.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!ni.isNullOrUndefined(this.viewOptions.maxRange)&&x>this.viewOptions.maxRange){if(this.currentTrackingPointer===co.Min)return Tr.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===co.Max)return Tr.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return f}applyPushRange(f){const k=this.currentTrackingPointer===co.Min?this.viewHighValue-f:f-this.viewLowValue,x=ni.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,ye=this.viewOptions.maxRange;return k<x?(this.currentTrackingPointer===co.Min?(this.viewHighValue=Tr.roundToPrecisionLimit(Math.min(f+x,this.viewOptions.ceil),this.viewOptions.precisionLimit),f=Tr.roundToPrecisionLimit(this.viewHighValue-x,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(co.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===co.Max&&(this.viewLowValue=Tr.roundToPrecisionLimit(Math.max(f-x,this.viewOptions.floor),this.viewOptions.precisionLimit),f=Tr.roundToPrecisionLimit(this.viewLowValue+x,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(co.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!ni.isNullOrUndefined(ye)&&k>ye&&(this.currentTrackingPointer===co.Min?(this.viewHighValue=Tr.roundToPrecisionLimit(f+ye,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(co.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===co.Max&&(this.viewLowValue=Tr.roundToPrecisionLimit(f-ye,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(co.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),f}getChangeContext(){const f=new n1;return f.pointerType=this.currentTrackingPointer,f.value=+this.value,this.range&&(f.highValue=+this.highValue),f}static \u0275fac=function(k){return new(k||b)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(a.gRc),a.rXU(a.SKi),a.rXU(Js,8))};static \u0275cmp=a.VBU({type:b,selectors:[["ngx-slider"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,Bp,5),2&k){let kt;a.mGM(kt=a.lsd())&&(x.tooltipTemplate=kt.first)}},viewQuery:function(k,x){if(1&k&&(a.GBs(Hl,5,vo),a.GBs(Vc,5,vo),a.GBs(Bc,5,vo),a.GBs(Cc,5,vo),a.GBs($p,5,H1),a.GBs(jd,5,H1),a.GBs(Hd,5,ua),a.GBs(G1,5,ua),a.GBs($c,5,ua),a.GBs(rc,5,ua),a.GBs(wc,5,ua),a.GBs(cd,5,vo)),2&k){let ye;a.mGM(ye=a.lsd())&&(x.leftOuterSelectionBarElement=ye.first),a.mGM(ye=a.lsd())&&(x.rightOuterSelectionBarElement=ye.first),a.mGM(ye=a.lsd())&&(x.fullBarElement=ye.first),a.mGM(ye=a.lsd())&&(x.selectionBarElement=ye.first),a.mGM(ye=a.lsd())&&(x.minHandleElement=ye.first),a.mGM(ye=a.lsd())&&(x.maxHandleElement=ye.first),a.mGM(ye=a.lsd())&&(x.floorLabelElement=ye.first),a.mGM(ye=a.lsd())&&(x.ceilLabelElement=ye.first),a.mGM(ye=a.lsd())&&(x.minHandleLabelElement=ye.first),a.mGM(ye=a.lsd())&&(x.maxHandleLabelElement=ye.first),a.mGM(ye=a.lsd())&&(x.combinedLabelElement=ye.first),a.mGM(ye=a.lsd())&&(x.ticksElement=ye.first)}},hostVars:10,hostBindings:function(k,x){1&k&&a.bIt("resize",function(kt){return x.onResize(kt)},!1,a.tSv),2&k&&(a.BMQ("disabled",x.sliderElementDisabledAttr)("aria-label",x.sliderElementAriaLabel),a.AVh("ngx-slider",x.sliderElementNgxSliderClass)("vertical",x.sliderElementVerticalClass)("animate",x.sliderElementAnimateClass)("with-legend",x.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[a.Jv_([Su]),a.OA$],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(k,x){1&k&&(a.j41(0,"span",12,0),a.nrm(2,"span",13),a.k0s(),a.j41(3,"span",14,1),a.nrm(5,"span",13),a.k0s(),a.j41(6,"span",15,2),a.nrm(8,"span",13),a.k0s(),a.j41(9,"span",16,3),a.nrm(11,"span",17),a.k0s(),a.nrm(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),a.j41(26,"span",25,11),a.DNE(28,sc,5,10,"span",26),a.k0s()),2&k&&(a.R7$(6),a.AVh("ngx-slider-transparent",x.fullBarTransparentClass),a.R7$(3),a.AVh("ngx-slider-draggable",x.selectionBarDraggableClass),a.R7$(2),a.Y8G("ngStyle",x.barStyle),a.R7$(),a.Y8G("ngStyle",x.minPointerStyle),a.R7$(2),a.xc7("display",x.range?"inherit":"none"),a.Y8G("ngStyle",x.maxPointerStyle),a.R7$(12),a.AVh("ngx-slider-ticks-values-under",x.ticksUnderValuesClass),a.Y8G("hidden",!x.showTicks),a.R7$(2),a.Y8G("ngForOf",x.ticks))},dependencies:[L.YU,L.Sq,L.bT,L.B3,vo,H1,ua,ac],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y}  .ngx-slider.with-legend{margin-bottom:40px}  .ngx-slider[disabled]{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}  .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2}  .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2}  .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block}  .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0}  .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}  .ngx-slider .ngx-slider-draggable{cursor:move}  .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688}  .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}  .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px}  .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}  .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff}  .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}  .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff}  .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}  .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d}  .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}  .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px}  .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}  .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0}  .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)}  .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal}  .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x}  .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0}  .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}  .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%}  .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0}  .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0}  .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}  .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}  .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)}  .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap}  .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px}  .ngx-slider *{transition:none}  .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s}  .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s}  .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return b})(),qs=(()=>{class b{static \u0275fac=function(k){return new(k||b)};static \u0275mod=a.$C({type:b});static \u0275inj=a.G2t({imports:[L.MD]})}return b})();C(1875);var No=C(14085),Zr=C(36860),Gc=C(28203),Zs=C(27530),qr=C(83801),Yl=C(43559);const hs="theme_class_token",es="theme_classes_token",Tc="use_raw_images",Ho="do_not_track_analytics",Xo={bottomMiddle:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:5},topMiddle:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-5},bottomMiddleTooltip:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:8,panelClass:"user-theme-tooltip-top-arrow-wrapper"},topMiddleTooltip:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-8,panelClass:"user-theme-tooltip-bottom-arrow-wrapper"},bottomExtendRight:{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:5},topExtendRight:{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-5},bottomExtendLeft:{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:5},topExtendLeft:{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-5},rightLower:{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:5},rightUpper:{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:5},leftLower:{originX:"start",originY:"top",overlayX:"end",overlayY:"top",offsetX:-5},leftUpper:{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-5},rightLowerOffset10:{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:10},rightUpperOffset10:{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:10}},jc=["January","February","March","April","May","June","July","August","September","October","November","December"],Sc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Hi=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var ud=function(b){return b.SUCCESS="success",b.ERROR="error",b}(ud||{});const kc="__NORBY_SPOTIFY_IFRAME_API",hd="__NORBY_YOUTUBE_IFRAME_API",ql=["*"];let qi=(()=>{class b{set name(f){this._svgIcon&&this._element.nativeElement.removeChild(this._svgIcon),C(99387)("./root-"+f.split("_").join("-")+".icon").then(k=>{this._svgIcon&&this._element.nativeElement.contains(this._svgIcon)&&this._element.nativeElement.removeChild(this._svgIcon);const x=k[Object.keys(k)[0]].data;this._svgIcon=this._svgElementFromString(x),this._element.nativeElement.appendChild(this._svgIcon)})}constructor(f,k){this._element=f,this._document=k}_svgElementFromString(f){const k=this._document.createElement("DIV");return k.innerHTML=f,k.querySelector("svg")||this._document.createElementNS("http://www.w3.org/2000/svg","path")}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(L.qQ,8))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-icon"]],hostVars:3,hostBindings:function(k,x){2&k&&(a.Mr5("name",x.name),a.HbH(x.size))},inputs:{size:"size",name:"name"},ngContentSelectors:ql,decls:1,vars:0,template:function(k,x){1&k&&(a.NAR(),a.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;transform:scale(.67)}[_nghost-%COMP%]   svg[_ngcontent-%COMP%]{width:inherit;height:inherit}.small[_nghost-%COMP%]{transform:scale(.5)}.large[_nghost-%COMP%]{transform:scale(1.25)}"]})}return b})();const X1=["*"],Wu=(b,me,f,k)=>({"bg-latte border-0":b,"bg-azure-800 border-0":me,"bg-red-light border-0":f,"bg-terracota-400 border-0":k}),Hc=(b,me)=>({"text-neutral-900":b,"text-terracota":me});function Id(b,me){if(1&b&&(a.j41(0,"div",5),a.nrm(1,"norby-icon",6),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(2,Hc,"alert"!==f.type&&"error"!==f.type,"alert"===f.type||"error"===f.type)),a.R7$(),a.Y8G("name",f.iconName)}}function Xd(b,me){if(1&b&&(a.j41(0,"h3",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.title)}}let ha=(()=>{class b{constructor(){this.type="simple"}get iconName(){switch(this.type){case"success":return"check";case"alert":return"alert_circle";case"error":return"x_circle";case"info":return"info";default:return""}}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-alert"]],inputs:{title:"title",type:"type"},ngContentSelectors:X1,decls:6,vars:8,consts:[[1,"bg-white","border","border-neutral-200","whitespace-nowrap","flex","flex-row","p-4","rounded","mb-4","user-theme-alert",3,"ngClass"],["class","mr-4",3,"ngClass",4,"ngIf"],[1,"flex","flex-col","text-neutral-900"],["class","font-medium",4,"ngIf"],[1,"text-left","whitespace-normal","text-sm"],[1,"mr-4",3,"ngClass"],["size","large",3,"name"],[1,"font-medium"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.DNE(1,Id,2,5,"div",1),a.j41(2,"div",2),a.DNE(3,Xd,2,1,"h3",3),a.j41(4,"div",4),a.SdG(5),a.k0s()()()),2&k&&(a.Y8G("ngClass",a.ziG(3,Wu,"success"===x.type,"info"===x.type||"simple"===x.type,"alert"===x.type,"error"===x.type)),a.R7$(),a.Y8G("ngIf","simple"!==x.type&&(null==x.iconName?null:x.iconName.length)),a.R7$(2),a.Y8G("ngIf",x.title))},dependencies:[L.YU,L.bT,qi]})}return b})(),Na=(()=>{class b{static#e=this.SLOW="0.3s";static#t=this.BASE="0.2s";static#n=this.FAST="0.1s"}return b})(),Eu=(()=>{class b{static#e=this.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static#t=this.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static#n=this.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static#i=this.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static#o=this.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static#r=this.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static#s=this.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static#a=this.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static#l=this.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static#c=this.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static#d=this.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static#u=this.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static#h=this.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static#p=this.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return b})();const Wd="8px",Ku=.12,Nl="ease-out",o1="0.88",W1=100,r1="cubic-bezier(0.280, 0.840, 0.420, 1)",Qd=`${Na.BASE} ${Eu.EASE_OUT_QUINT}`,t2=`${Na.BASE} ${Eu.EASE_IN_QUINT}`,s1=(0,ae.hZ)("slideMotion",[(0,ae.wk)("void",(0,ae.iF)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,ae.wk)("enter",(0,ae.iF)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"})),(0,ae.kY)("void => *",[(0,ae.i0)(Qd)]),(0,ae.kY)("* => void",[(0,ae.i0)(t2)])]),a1=((0,ae.hZ)("slideAlertMotion",[(0,ae.kY)(":leave",[(0,ae.iF)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,ae.i0)(`${Na.SLOW} ${Eu.EASE_IN_OUT_CIRC}`,(0,ae.iF)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),(0,ae.hZ)("zoomBigMotion",[(0,ae.kY)("void => active",[(0,ae.iF)({opacity:0,transform:"scale(0.8)"}),(0,ae.i0)(`${Na.BASE} ${Eu.EASE_OUT_CIRC}`,(0,ae.iF)({opacity:1,transform:"scale(1)"}))]),(0,ae.kY)("active => void",[(0,ae.iF)({opacity:1,transform:"scale(1)"}),(0,ae.i0)(`${Na.BASE} ${Eu.EASE_IN_OUT_CIRC}`,(0,ae.iF)({opacity:0,transform:"scale(0.8)"}))])])),jp=((0,ae.hZ)("flashFadeInOut",[(0,ae.kY)(":enter",[(0,ae.iF)({opacity:0}),(0,ae.i0)(`1.5s ${Nl}`,(0,ae.i7)([(0,ae.iF)({opacity:0,offset:0}),(0,ae.iF)({opacity:1,offset:.5}),(0,ae.iF)({opacity:0,offset:1})]))])]),(0,ae.hZ)("showOnHover",[(0,ae.kY)(":enter",[(0,ae.iF)({opacity:0}),(0,ae.i0)(300,(0,ae.iF)({opacity:1}))]),(0,ae.kY)(":leave",[(0,ae.i0)(300,(0,ae.iF)({opacity:0}))])]),{slideMessage:(0,ae.hZ)("slideAnimation",[(0,ae.wk)("default",(0,ae.iF)({opacity:1})),(0,ae.kY)("void => *",[(0,ae.iF)({transform:"translateY(-100%)",opacity:0}),(0,ae.i0)("{{ slideIn }}ms",(0,ae.iF)({transform:"translateY(0)",opacity:1}))]),(0,ae.kY)("default => closing",(0,ae.i0)("{{ slideOut }}ms",(0,ae.iF)({transform:"translateY(-100%)",opacity:0})))])}),K1=(0,ae.hZ)("buttonClicked",[(0,ae.kY)("* <=> true",[(0,ae.i0)("0.3s",(0,ae.i7)([(0,ae.iF)({borderRadius:"4px",boxShadow:"0 0 0 4px #edeff5"})]))])]),Hp=(0,ae.hZ)("slideUpInDownOut",[(0,ae.kY)("void => slide",[(0,ae.iF)({transform:"translateY(100%)",opacity:0}),(0,ae.i0)(`${Ku}s ${Nl}`,(0,ae.iF)({transform:"translateY(0)",opacity:1}))]),(0,ae.kY)("slide => void",[(0,ae.i0)(`${Ku}s ${Nl}`,(0,ae.iF)({transform:"translateY(100%)"}))])]),o2=(0,ae.hZ)("initalRenderNoop",[(0,ae.kY)(":enter",[])]),Df=(b,me)=>({"border-neutral-600 bg-neutral-200 text-neutral-600 cursor-not-allowed":b,"border-neutral-900 bg-neutral-900 text-white active:bg-neutral-900 active:border-neutral-900 focus:bg-dark-navy focus:border-dark-navy focus:shadow-btn-glow hover:bg-neutral-800 hover:border-neutral-800":me}),r2=(b,me)=>({"border-neutral-600 bg-neutral-200 text-neutral-600 cursor-not-allowed":b,"border-neutral-900 bg-white text-neutral-900 hover:bg-neutral-700 hover:border-neutral-700 hover:text-white focus:shadow-btn-glow":me}),l1=(b,me)=>({"cursor-not-allowed text-mustard-600":b,"focus:bg-mustard-400 focus:shadow-btn-glow hover:bg-mustard-200":me}),dh=(b,me)=>({"border-neutral-600 bg-neutral-200 text-neutral-600 cursor-not-allowed":b,"border-neutral-900 bg-white text-neutral-900 active:bg-neutral-800 active:border-white active:text-white focus:bg-white focus:border-neutral-900 focus:text-neutral-900 hover:text-white hover:bg-neutral-700 hover:border-neutral-700":me});function Q1(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"norby-icon",7),a.k0s())}function J1(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",4),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,Q1,2,0,"div",5),a.EFF(2),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(5,Df,f.isDisabled||f.isLoading,!f.isDisabled&&!f.isLoading))("disabled",f.isDisabled||f.isLoading)("@buttonClicked",f.animationState),a.R7$(),a.Y8G("ngIf",f.isLoading),a.R7$(),a.SpI(" ",f.text,"\n")}}function s2(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"norby-icon",7),a.k0s())}function a2(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",8),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,s2,2,0,"div",5),a.EFF(2),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(5,r2,f.isDisabled||f.isLoading,!f.isDisabled&&!f.isLoading))("disabled",f.isDisabled||f.isLoading)("@buttonClicked",f.animationState),a.R7$(),a.Y8G("ngIf",f.isLoading),a.R7$(),a.SpI(" ",f.text,"\n")}}function l2(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"norby-icon",7),a.k0s())}function Yp(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",9),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,l2,2,0,"div",5),a.EFF(2),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(4,l1,f.isDisabled||f.isLoading,!f.isDisabled&&!f.isLoading))("disabled",f.isDisabled||f.isLoading),a.R7$(),a.Y8G("ngIf",f.isLoading),a.R7$(),a.SpI(" ",f.text,"\n")}}function Z1(b,me){1&b&&(a.j41(0,"div",12),a.nrm(1,"norby-icon",7),a.k0s())}function uh(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",10),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,Z1,2,0,"div",11),a.EFF(2),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(4,dh,f.isDisabled||f.isLoading,!f.isDisabled&&!f.isLoading))("disabled",f.isDisabled||f.isLoading),a.R7$(),a.Y8G("ngIf",f.isLoading),a.R7$(),a.SpI(" ",f.text,"\n")}}let c1=(()=>{class b{constructor(){this.isDisabled=!1,this.buttonType="primary",this.buttonClicked=new a.bkB,this.animationState=!1}handleButtonClick(f){const k=this.commandName||this.text.split(" ").join("_");this.buttonClicked.emit(k),this.animationState=!this.animationState}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-button"]],inputs:{text:"text",isDisabled:"isDisabled",commandName:"commandName",buttonType:"buttonType",isLoading:"isLoading"},outputs:{buttonClicked:"buttonClicked"},decls:4,vars:4,consts:[["type","button","class","ant-btn-animation flex items-center justify-center rounded-sm px-5 py-2 border flex-1 leading-5 whitespace-nowrap button-clicked-animation h-9",3,"ngClass","disabled","click",4,"ngIf"],["type","button","class","ant-btn-animation flex items-center justify-center rounded-sm px-5 py-2 border flex-1 leading-5 whitespace-nowrap button-clicked-animation relative h-9",3,"ngClass","disabled","click",4,"ngIf"],["type","button","class","ant-btn-animation flex items-center justify-center rounded-sm px-5 py-2 border border-white bg-white flex-1 leading-5 whitespace-nowrap text-mustard h-9",3,"ngClass","disabled","click",4,"ngIf"],["type","button","class","ant-btn-animation flex items-center justify-center px-17 py-4.5 rounded-lg border-2 flex-1 leading-5 whitespace-nowrap underline",3,"ngClass","disabled","click",4,"ngIf"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","rounded-sm","px-5","py-2","border","flex-1","leading-5","whitespace-nowrap","button-clicked-animation","h-9",3,"click","ngClass","disabled"],["class","animate-spin flex justify-center items-center max-h-4",4,"ngIf"],[1,"animate-spin","flex","justify-center","items-center","max-h-4"],["name","loader"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","rounded-sm","px-5","py-2","border","flex-1","leading-5","whitespace-nowrap","button-clicked-animation","relative","h-9",3,"click","ngClass","disabled"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","rounded-sm","px-5","py-2","border","border-white","bg-white","flex-1","leading-5","whitespace-nowrap","text-mustard","h-9",3,"click","ngClass","disabled"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","px-17","py-4.5","rounded-lg","border-2","flex-1","leading-5","whitespace-nowrap","underline",3,"click","ngClass","disabled"],["class","animate-spin flex justify-center items-center max-h-4 text-neutral-900",4,"ngIf"],[1,"animate-spin","flex","justify-center","items-center","max-h-4","text-neutral-900"]],template:function(k,x){1&k&&a.DNE(0,J1,3,8,"button",0)(1,a2,3,8,"button",1)(2,Yp,3,7,"button",2)(3,uh,3,7,"button",3),2&k&&(a.Y8G("ngIf","primary"===x.buttonType),a.R7$(),a.Y8G("ngIf","secondary"===x.buttonType),a.R7$(),a.Y8G("ngIf","minimal"===x.buttonType),a.R7$(),a.Y8G("ngIf","feature"===x.buttonType))},dependencies:[L.YU,L.bT,qi],data:{animation:[K1]}})}return b})(),Sa=(()=>{class b{constructor(){this.takeUntilDestroy=f=>(this._destroy$||(this._destroy$=new se.B),f.pipe((0,ze.Q)(this._destroy$))),this.takeUntilChanges=f=>(this._change$||(this._change$=new se.B),f.pipe((0,ze.Q)(this._change$)))}ngOnChanges(f){this._change$?.next()}ngOnDestroy(){this._destroy$?.next(),this._destroy$?.complete(),this._change$?.next(),this._change$?.complete()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,features:[a.OA$]})}return b})();const d1=["*"];let Ua=(()=>{class b{constructor(){this.onHandleChange=new a.bkB,this._checkboxList=[]}addCheckbox(f){this._checkboxList.push(f)}removeCheckbox(f){this._checkboxList.splice(this._checkboxList.indexOf(f),1)}onChange(){const f=this._checkboxList.filter(k=>k.checked).map(k=>k.value);this.onHandleChange.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-checkbox-wrapper"]],outputs:{onHandleChange:"onHandleChange"},ngContentSelectors:d1,decls:2,vars:0,consts:[[1,"w-full"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.SdG(1),a.k0s())},encapsulation:2})}return b})();const c2=["inputElement"],hh=["root-checkbox",""],ep=["*"],Xl=(b,me)=>({"items-center":b,"items-start":me}),tp=(b,me)=>({"user-theme-checkbox-checked":b,"cursor-not-allowed":me}),np=b=>({"text-xs":b});let Br=(()=>{class b extends Sa{constructor(f,k,x,ye,kt){super(),this._ngZone=f,this._elementRef=k,this._checkboxWrapperComponent=x,this._cdr=ye,this._focusMonitor=kt,this.onChange=()=>{},this.onTouched=()=>{},this.checkedChange=new a.bkB,this.value=null,this.autoFocus=!1,this.disabled=!1,this.checked=!1,this.id=null,this.radio=!1,this.size="default",this.elementClass="inline-flex items-center cursor-pointer"}ngOnInit(){this._checkboxWrapperComponent&&this._checkboxWrapperComponent.addCheckbox(this),this._ngZone.runOutsideAngular(()=>{(0,fe.R)(this._elementRef.nativeElement,"click").pipe(this.takeUntilDestroy).subscribe(f=>{f.preventDefault(),this.focus(),!this.disabled&&this._ngZone.run(()=>{this.innerCheckedChange(!this.checked),this._cdr.markForCheck()})}),(0,fe.R)(this.inputElement.nativeElement,"click").pipe(this.takeUntilDestroy).subscribe(f=>f.stopPropagation())})}ngAfterViewInit(){this.autoFocus&&this.focus()}ngOnDestroy(){this._checkboxWrapperComponent&&this._checkboxWrapperComponent.removeCheckbox(this),super.ngOnDestroy()}innerCheckedChange(f){this.disabled||(this.checked=f,this.onChange(this.checked),this.checkedChange.emit(this.checked),this._checkboxWrapperComponent&&this._checkboxWrapperComponent.onChange())}writeValue(f){this.checked=f,this._cdr.markForCheck()}registerOnChange(f){this.onChange=f}registerOnTouched(f){this.onTouched=f}focus(){this._focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.SKi),a.rXU(a.aKT),a.rXU(Ua,8),a.rXU(a.gRc),a.rXU(be.FN))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["","root-checkbox",""]],viewQuery:function(k,x){if(1&k&&a.GBs(c2,7),2&k){let ye;a.mGM(ye=a.lsd())&&(x.inputElement=ye.first)}},hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)},inputs:{value:"value",autoFocus:"autoFocus",disabled:"disabled",checked:"checked",id:"id",radio:"radio",size:"size"},outputs:{checkedChange:"checkedChange"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3],attrs:hh,ngContentSelectors:ep,decls:7,vars:17,consts:[["inputElement",""],[1,"flex","user-theme-checkbox-wrapper",3,"ngClass"],[1,"relative","cursor-pointer","outline-none","mr-2",3,"ngClass"],["type","checkbox",1,"absolute","inset-0","w-full","h-full","cursor-pointer","opacity-0","user-theme-checkbox-input",3,"ngModelChange","checked","ngModel","disabled"],[3,"ngClass"],[1,"text-sm",3,"ngClass"]],template:function(k,x){if(1&k){const ye=a.RV6();a.NAR(),a.j41(0,"div",1)(1,"span",2)(2,"input",3,0),a.bIt("ngModelChange",function(zn){return a.eBV(ye),a.Njj(x.innerCheckedChange(zn))}),a.k0s(),a.nrm(4,"span",4),a.k0s(),a.j41(5,"span",5),a.SdG(6),a.k0s()()}2&k&&(a.Y8G("ngClass",a.l_i(9,Xl,"default"===x.size,"small"===x.size)),a.R7$(),a.Y8G("ngClass",a.l_i(12,tp,x.checked,x.disabled&&!x.radio)),a.R7$(),a.Y8G("checked",x.checked)("ngModel",x.checked)("disabled",x.disabled),a.BMQ("autofocus",x.autoFocus?"autofocus":null)("id",x.id),a.R7$(2),a.Y8G("ngClass",x.radio?"user-theme-radio-inner":"user-theme-checkbox-inner"),a.R7$(),a.Y8G("ngClass",a.eq3(15,np,"small"===x.size)))},dependencies:[L.YU,K.Zm,K.BC,K.vS],styles:['@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.user-theme-checkbox-wrapper[_ngcontent-%COMP%]:hover   .user-theme-checkbox-inner[_ngcontent-%COMP%], .user-theme-checkbox-input[_ngcontent-%COMP%]:focus + .user-theme-checkbox-inner[_ngcontent-%COMP%]{border-color:#000}.user-theme-checkbox-checked[_ngcontent-%COMP%]   .user-theme-checkbox-inner[_ngcontent-%COMP%]{background-color:#000;border-color:#000}.user-theme-checkbox-checked[_ngcontent-%COMP%]   .user-theme-radio-inner[_ngcontent-%COMP%]{background:radial-gradient(#767024 0%,#767024 40%,transparent 50%,transparent);border-color:#767024}.user-theme-checkbox-checked[_ngcontent-%COMP%]   .user-theme-checkbox-inner[_ngcontent-%COMP%]:after{top:50%;left:21.5%;position:absolute;border-color:#fff;border-width:2px;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" ";width:5.5px;height:9px}.user-theme-checkbox-inner[_ngcontent-%COMP%], .user-theme-radio-inner[_ngcontent-%COMP%]{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border-color:#d8dae5;border-width:1px;border-radius:8px;border-collapse:separate;transition:all .3s}.user-theme-checkbox-checked[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #000;border-radius:8px;animation:_ngcontent-%COMP%_checkboxEffect .36s ease-in-out;animation-fill-mode:forwards;content:""}@keyframes _ngcontent-%COMP%_checkboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}'],changeDetection:0})}return b})();const ip=(b,me)=>({"bg-mustard-200 border-mustard-400 text-neutral-800 font-medium":b,"bg-white border-neutral-300 text-neutral-700":me}),u1=b=>({"cursor-none checked:bg-neutral-200 checked:border-neutral-200 checked:text-neutral-400":b}),Wl=b=>({"cursor-none text-neutral-500":b});function dg(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",2),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.toggleChecked())}),a.j41(1,"label",3)(2,"span"),a.EFF(3),a.k0s()()()}if(2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(5,ip,f.val,!f.val)),a.R7$(),a.Y8G("checked",f.val)("radio",!1)("disabled",f.isDisabled),a.R7$(2),a.JRh(f.label)}}function Jd(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",4)(1,"input",5),a.bIt("change",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.toggleChecked())}),a.k0s(),a.j41(2,"label",6),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.toggleChecked())}),a.EFF(3),a.k0s()()}if(2&b){const f=a.XpG();a.R7$(),a.Y8G("ngClass",a.eq3(5,u1,f.isDisabled))("checked",f.val)("disabled",f.isDisabled),a.R7$(),a.Y8G("ngClass",a.eq3(7,Wl,f.isDisabled)),a.R7$(),a.SpI(" ",f.label," ")}}let Od=(()=>{class b{constructor(){this.framed=!1,this.val=!0,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}toggleChecked(){this.isDisabled||(this.val=!this.val,this._onChanged(this.val),this._markAsTouched())}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-checkbox"]],inputs:{label:"label",isDisabled:"isDisabled",framed:"framed"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}])],decls:2,vars:2,consts:[["class","h-10 w-full pl-4 border hover:text-neutral-800 rounded-sm flex flex-row flex-1 leading-5 items-center whitespace-nowrap outline-1 checkbox-button",3,"ngClass","click",4,"ngIf"],["class","flex flex-row items-center",4,"ngIf"],[1,"h-10","w-full","pl-4","border","hover:text-neutral-800","rounded-sm","flex","flex-row","flex-1","leading-5","items-center","whitespace-nowrap","outline-1","checkbox-button",3,"click","ngClass"],["root-checkbox","",3,"checked","radio","disabled"],[1,"flex","flex-row","items-center"],["type","checkbox",1,"h-4","w-4","border","border-neutral-400","accent-mustard","rounded-sm","bg-white","checked:border-mustard","checked:text-white","focus:outline-none","mr-3","cursor-pointer",3,"change","ngClass","checked","disabled"],[1,"form-check-label","inline-block","text-neutral-900","cursor-pointer","text-sm","leading-sm",3,"click","ngClass"]],template:function(k,x){1&k&&a.DNE(0,dg,4,8,"button",0)(1,Jd,4,9,"div",1),2&k&&(a.Y8G("ngIf",x.framed),a.R7$(),a.Y8G("ngIf",!x.framed))},dependencies:[L.YU,L.bT,Br],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (max-width: 576px){.checkbox-button[_ngcontent-%COMP%]{margin-bottom:8px}}"]})}return b})(),ea=(()=>{class b{constructor(f){this._sanitizer=f}transform(f,k){const x=f&&k?f.replace(/<(p|h1|h2|h3|h4|h5|h6|li)/g,`<$1 style="${k}"`):f;return this._sanitizer.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Pe.up,16))};static#t=this.\u0275pipe=a.EJ8({name:"safeHtml",type:b,pure:!0})}return b})();function qp(b,me){if(1&b&&(a.nrm(0,"div",2),a.nI1(1,"safeHtml")),2&b){const f=a.XpG();a.Aen(f.subtitleStyles),a.xc7("color",f.color),a.AVh("text-color",!f.color),a.Y8G("innerHtml",a.bMT(1,7,f.subtitle),a.npT)}}let Mu=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-norby-copy-block"]],inputs:{title:"title",subtitle:"subtitle",color:"color",titleStyles:"titleStyles",subtitleStyles:"subtitleStyles"},decls:3,vars:6,consts:[[1,"norby-title"],["class","norby-subtitle",3,"text-color","color","style","innerHtml",4,"ngIf"],[1,"norby-subtitle",3,"innerHtml"]],template:function(k,x){1&k&&(a.j41(0,"h1",0),a.EFF(1),a.k0s(),a.DNE(2,qp,2,9,"div",1)),2&k&&(a.Aen(x.titleStyles),a.xc7("color",x.color),a.R7$(),a.SpI(" ",x.title,"\n"),a.R7$(),a.Y8G("ngIf",x.subtitle))},dependencies:[L.bT,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.norby-title{color:#101840;font-family:feature-deck,serif,-apple-system,Roboto;font-size:40px;font-weight:300;margin:0 0 16px;line-height:normal}.norby-subtitle{color:#101840;font-family:basis-grotesque,Noto Sans,-apple-system,sans-serif;font-size:18px}.norby-subtitle h1,.norby-subtitle h2,.norby-subtitle h3,.norby-subtitle h4,.norby-subtitle h5,.norby-subtitle h6,.norby-subtitle p{color:inherit;font-size:inherit;margin:0}\n"],encapsulation:2})}return b})();const d2=(b,me)=>({"text-red-ui":b," text-neutral-600":me});function Xp(b,me){if(1&b&&(a.j41(0,"span",1),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(2,d2,f.errorText,!f.errorText)),a.R7$(),a.SpI("",f.errorText||f.helperText,"\n")}}let Ec=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-helpertext"]],inputs:{helperText:"helperText",errorText:"errorText"},decls:1,vars:1,consts:[["class","text-xs",3,"ngClass",4,"ngIf"],[1,"text-xs",3,"ngClass"]],template:function(k,x){1&k&&a.DNE(0,Xp,2,5,"span",0),2&k&&a.Y8G("ngIf",!!x.helperText||!!x.errorText)},dependencies:[L.YU,L.bT]})}return b})(),pd=(()=>{class b{constructor(){}get maskStyle(){if(this.maskUrl){const f=["-webkit-mask-repeat: no-repeat","mask-repeat: no-repeat",`-webkit-mask-image: url(${this.maskUrl})`,`mask-image: url(${this.maskUrl})`];return this.maskWidth&&this.maskHeight&&f.push(`-webkit-mask-size: ${this.maskWidth} ${this.maskHeight}`,`mask-size: ${this.maskWidth} ${this.maskHeight}`),this.maskWidth&&f.push(`width: ${this.maskWidth}`),this.maskHeight&&f.push(`height: ${this.maskHeight}`),f.join(";")}return""}get imageStyle(){const f=["object-fit: cover"];return this.width&&f.push(`width: ${this.width}`),f.join(";")}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-image"]],inputs:{imageUrl:"imageUrl",maskUrl:"maskUrl",imageLabel:"imageLabel",width:"width",height:"height",maskWidth:"maskWidth",maskHeight:"maskHeight"},decls:2,vars:6,consts:[[1,"bg-neutral-100","flex","items-center","justify-center"],[1,"bg-neutral-100",3,"src","alt"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.nrm(1,"img",1),a.k0s()),2&k&&(a.Aen(x.maskStyle),a.R7$(),a.Aen(x.imageStyle),a.Y8G("src",x.imageUrl,a.B4B)("alt",x.imageLabel))}})}return b})();function Wp(b,me){1&b&&a.eu8(0)}function Kp(b,me){if(1&b&&(a.j41(0,"div",3)(1,"span",4),a.EFF(2),a.DNE(3,Wp,1,0,"ng-container",5),a.k0s()()),2&b){const f=a.XpG();a.R7$(2),a.SpI("",f.tooltip?"":f.tooltipText," "),a.R7$(),a.Y8G("ngTemplateOutlet",f.tooltip)}}let h1=(()=>{class b{constructor(){this.tooltipText=""}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-tooltip"]],inputs:{tooltipText:"tooltipText",tooltip:"tooltip"},decls:4,vars:2,consts:[[1,"user-theme-tooltip-top-arrow"],["class","tooltip shadow-ant-default user-theme-tooltip",4,"ngIf"],[1,"user-theme-tooltip-bottom-arrow"],[1,"tooltip","shadow-ant-default","user-theme-tooltip"],[1,"user-theme-tooltip-text"],[4,"ngTemplateOutlet"]],template:function(k,x){1&k&&(a.j41(0,"div"),a.nrm(1,"div",0),a.DNE(2,Kp,4,2,"div",1),a.nrm(3,"div",2),a.k0s()),2&k&&(a.Y8G("@zoomBigMotion","active"),a.R7$(2),a.Y8G("ngIf",x.tooltip||x.tooltipText))},dependencies:[L.bT,L.T3],styles:['@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.tooltip{background-color:#101840;color:#f9fafc;padding:6px 8px;border-radius:4px;font-size:14px;line-height:1.5715;max-width:200px;text-align:center}.user-theme-tooltip-bottom-arrow-wrapper .user-theme-tooltip-bottom-arrow{content:" ";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#101840 transparent transparent transparent}.user-theme-tooltip-top-arrow-wrapper .user-theme-tooltip-top-arrow{content:" ";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #101840 transparent}\n'],encapsulation:2,data:{animation:[a1]}})}return b})(),lc=(()=>{class b{show(){this._mouseOnHost=!0,this._overlayRef.hasAttached()?this._delayIndex++:this._initOverlay()}hide(){if(this._mouseOnHost=!1,this.delayClose){const f=this._delayIndex;setTimeout(()=>{this._overlayRef.hasAttached()&&!this._mouseOnHost&&f===this._delayIndex&&this._overlayRef.detach()},2e3)}else this._overlayRef.detach()}constructor(f,k,x,ye){this._themeClasses=f,this._overlay=k,this._overlayPositionBuilder=x,this._elementRef=ye,this.text="",this.delayClose=!1,this._delayIndex=0,this._mouseOnHost=!1}ngOnInit(){const f=this._overlayPositionBuilder.flexibleConnectedTo(this._elementRef).withPositions([Xo.topMiddleTooltip,Xo.bottomMiddleTooltip]);this._overlayRef=this._overlay.create({positionStrategy:f,scrollStrategy:this._overlay.scrollStrategies.reposition()}),this._themeClasses?this._themeClasses.forEach(k=>{this._overlayRef.addPanelClass(`${k}`)}):this.themeClasses&&this.themeClasses.forEach(k=>{this._overlayRef.addPanelClass(`${k}`)})}ngOnDestroy(){this._overlayRef.detach()}_initOverlay(){if(this.text||this.tooltip){const f=this._overlayRef.attach(new et.A8(h1));f.instance.tooltipText=this.text,f.instance.tooltip=this.tooltip}}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(es,8),a.rXU(z.hJ),a.rXU(z.lF),a.rXU(a.aKT))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootTooltip",""]],hostBindings:function(k,x){1&k&&a.bIt("mouseenter",function(){return x.show()})("mouseleave",function(){return x.hide()})},inputs:{text:[0,"rootTooltip","text"],tooltip:"tooltip",delayClose:"delayClose",themeClasses:"themeClasses"}})}return b})();const zd=(b,me,f,k,x)=>({"rounded-sm":b,"rounded-l-sm rounded-r-none":me,"rounded-r-sm rounded-l-none":f,"rounded-none":k,"border-red-ui":x});function Zo(b,me){if(1&b&&a.nrm(0,"norby-icon",4),2&b){const f=a.XpG();a.Y8G("rootTooltip",f.errorText)}}let Zd=(()=>{class b{get hasErrors(){return!!this.errorText}constructor(f,k,x){this._ngControl=f,this._errorFactory=k,this._cdr=x,this.type="text",this.isDisabled=!1,this.isRequired=!1,this.isReadOnly=!1,this.isJoinedRight=!1,this.isJoinedLeft=!1,this.onInput=new a.bkB,this._onTouched=ye=>{},this._onChanged=ye=>{},this.touched=!1,this.errorText="",f&&(f.valueAccessor=this)}ngOnChanges(){this.writeValue(this.value)}ngAfterViewInit(){this._ngControl&&this._ngControl.value&&this._ngControl.value!==this.val&&this.writeValue(this._ngControl.value)}writeValue(f){this.val=f,this._updateErrors(),this._cdr.detectChanges()}handleInput(f){this.val=f,this._onChanged(f),this._markAsTouched(),this._updateErrors(),this._cdr.detectChanges(),this.onInput.emit(f)}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_updateErrors(){const f=this._ngControl?.errors??{},k=Object.keys(f);if(k.length&&this.touched){const x=k[0],ye=this._errorFactory?.[x];this.errorText=ye?.(f[x])??"Error"}else this.hasErrors&&(this.errorText="")}_markAsTouched(){this.touched||(this.touched=!0,this._onTouched())}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.vO,10),a.rXU(n.KZM,8),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-input-base"]],inputs:{value:"value",placeholder:"placeholder",maxLength:"maxLength",type:"type",isDisabled:"isDisabled",isRequired:"isRequired",isReadOnly:"isReadOnly",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft"},outputs:{onInput:"onInput"},features:[a.OA$],decls:4,vars:15,consts:[[1,"relative"],[1,"form-control","text-base","block","transition","ease-in-out","outline-none","w-full","h-12","px-3","pb-4","pt-3.5","border","rounded-sm","bg-white","disabled:bg-neutral-50","text-neutral-800","disabled:text-neutral-500","placeholder:text-neutral-500","hover:placeholder:text-neutral-600","border-neutral-300","hover:border-neutral-500","focus:border-mustard","disabled:border-neutral-300",3,"input","ngClass","type","value","disabled","required","readonly","placeholder"],[1,"text-red-base","absolute","ml-2","top-1/2","transform","-translate-y-1/2","right-3"],["name","alert-octagon",3,"rootTooltip",4,"ngIf"],["name","alert-octagon",3,"rootTooltip"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"input",1),a.bIt("input",function(kt){return x.handleInput(kt.target.value)}),a.k0s(),a.j41(2,"div",2),a.DNE(3,Zo,1,1,"norby-icon",3),a.k0s()()),2&k&&(a.R7$(),a.Y8G("ngClass",a.s1E(9,zd,!x.isJoinedRight&&!x.isJoinedLeft,x.isJoinedRight&&!x.isJoinedLeft,x.isJoinedLeft&&!x.isJoinedRight,x.isJoinedLeft&&x.isJoinedRight,x.touched&&x.hasErrors))("type",x.type)("value",x.value||x.val||"")("disabled",x.isDisabled)("required",x.isRequired)("readonly",x.isReadOnly)("placeholder",x.placeholder?x.placeholder:""),a.BMQ("maxlength",x.maxLength),a.R7$(2),a.Y8G("ngIf",x.hasErrors))},dependencies:[L.YU,L.bT,qi,lc],changeDetection:0})}return b})();const zf=["*"],p1=b=>({"px-4":b});let op=(()=>{class b{constructor(){this.active=!1,this.isContentFullWidth=!1}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-tab"]],inputs:{title:"title",active:"active",isContentFullWidth:"isContentFullWidth"},ngContentSelectors:zf,decls:3,vars:4,consts:[[1,"text-neutral-800",3,"hidden","ngClass"],[1,"flex","flex-col"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1),a.SdG(2),a.k0s()()),2&k&&a.Y8G("hidden",!x.active)("ngClass",a.eq3(2,p1,!x.isContentFullWidth))},dependencies:[L.YU]})}return b})();const mh=["*"],ug=(b,me)=>({"mx-0":b,"mx-4":me}),h2=(b,me)=>({"bg-white rounded-sm text-neutral-800 font-medium border-neutral-300":b,"text-neutral-600 hover:text-neutral-700 border-transparent":me});function Nf(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",2),a.bIt("click",function(){const x=a.eBV(f).$implicit,ye=a.XpG();return a.Njj(ye.handleTabClick(x))}),a.EFF(1),a.k0s()}if(2&b){const f=me.$implicit;a.Y8G("ngClass",a.l_i(2,h2,f.active,!f.active)),a.R7$(),a.SpI(" ",f.title," ")}}let hg=(()=>{class b{constructor(){this.isContentFullWidth=!1,this.isHeaderFullWidth=!1,this.onTabChange=new a.bkB}ngAfterContentInit(){let f=this.tabs.first;for(const k of this.tabs)f=k.active?k:f,k.isContentFullWidth=this.isContentFullWidth;this.handleTabClick(f,!1)}handleTabClick(f,k=!0){let x;this.tabs.forEach((ye,kt)=>{ye.active=ye===f,ye===f&&(x=kt)}),k&&this.onTabChange.emit(x)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-tabs"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,op,4),2&k){let kt;a.mGM(kt=a.lsd())&&(x.tabs=kt)}},inputs:{isContentFullWidth:"isContentFullWidth",isHeaderFullWidth:"isHeaderFullWidth"},outputs:{onTabChange:"onTabChange"},ngContentSelectors:mh,decls:3,vars:5,consts:[["role","tablist",1,"flex","flex-wrap","bg-sand-200","rounded-sm","border","border-neutral-300",3,"ngClass"],["class","py-1.5 px-4 m-1 flex flex-1 justify-center border items-center cursor-pointer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"py-1.5","px-4","m-1","flex","flex-1","justify-center","border","items-center","cursor-pointer",3,"click","ngClass"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"ul",0),a.DNE(1,Nf,2,5,"li",1),a.k0s(),a.SdG(2)),2&k&&(a.Y8G("ngClass",a.l_i(2,ug,x.isHeaderFullWidth,!x.isHeaderFullWidth)),a.R7$(),a.Y8G("ngForOf",x.tabs))},dependencies:[L.YU,L.Sq]})}return b})();const Jp=(b,me,f,k,x,ye,kt,zn,Fi)=>({"bg-white text-neutral-900 hover:bg-neutral-700 hover:border-neutral-700 hover:text-white focus:bg-white focus:text-neutral-900 focus:border-neutral-900":b,"border-neutral-600 bg-neutral-200 text-neutral-600 cursor-not-allowed":me,"border-neutral-900":f,"rounded-l-sm rounded-r-none":k,"rounded-r-sm rounded-l-none":x,"rounded-none":ye,"h-input-height":kt,"h-input-height-sm ":zn,"border-neutral-300":Fi}),$n=(b,me,f,k,x,ye,kt,zn,Fi)=>({"bg-neutral-900 text-white hover:bg-neutral-800 hover:border-neutral-800":b,"border-neutral-600 bg-neutral-200 text-neutral-600 cursor-not-allowed":me,"border-neutral-900":f,"rounded-l-sm rounded-r-none":k,"rounded-r-sm rounded-l-none":x,"rounded-none":ye,"h-input-height":kt,"h-input-height-sm ":zn,"border-neutral-300":Fi});function fr(b,me){if(1&b&&(a.j41(0,"div",4),a.nrm(1,"norby-icon",5),a.j41(2,"span",6),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("name",f.iconName),a.R7$(2),a.JRh(f.buttonLabel)}}function gh(b,me){if(1&b&&(a.j41(0,"div",4)(1,"span",7),a.EFF(2),a.k0s(),a.nrm(3,"norby-icon",5),a.k0s()),2&b){const f=a.XpG(2);a.R7$(2),a.JRh(f.buttonLabel),a.R7$(),a.Y8G("name",f.iconName)}}function vh(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",2),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,fr,4,2,"div",3)(2,gh,4,2,"div",3),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("disabled",f.isDisabled)("ngClass",a.zJS(4,Jp,[!f.isDisabled,f.isDisabled,!f.isJoinedLeft&&!f.isJoinedRight,f.isJoinedRight&&!f.isJoinedLeft,f.isJoinedLeft&&!f.isJoinedRight,f.isJoinedLeft&&f.isJoinedRight,"medium"===f.size,"small"===f.size,f.isJoinedLeft||f.isJoinedRight])),a.R7$(),a.Y8G("ngIf","left"===f.iconPlacement),a.R7$(),a.Y8G("ngIf","right"===f.iconPlacement)}}function ys(b,me){if(1&b&&(a.j41(0,"div",4),a.nrm(1,"norby-icon",5),a.j41(2,"span",6),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("name",f.iconName),a.R7$(2),a.JRh(f.buttonLabel)}}function Zp(b,me){if(1&b&&(a.j41(0,"div",4)(1,"span",7),a.EFF(2),a.k0s(),a.nrm(3,"norby-icon",5),a.k0s()),2&b){const f=a.XpG(2);a.R7$(2),a.JRh(f.buttonLabel),a.R7$(),a.Y8G("name",f.iconName)}}function xu(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",8),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,ys,4,2,"div",3)(2,Zp,4,2,"div",3),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("disabled",f.isDisabled)("ngClass",a.zJS(4,$n,[!f.isDisabled,f.isDisabled,!f.isJoinedLeft&&!f.isJoinedRight,f.isJoinedRight&&!f.isJoinedLeft,f.isJoinedLeft&&!f.isJoinedRight,f.isJoinedLeft&&f.isJoinedRight,"medium"===f.size,"small"===f.size,f.isJoinedLeft||f.isJoinedRight])),a.R7$(),a.Y8G("ngIf","left"===f.iconPlacement),a.R7$(),a.Y8G("ngIf","right"===f.iconPlacement)}}let qc=(()=>{class b{constructor(){this.isDisabled=!1,this.isJoinedRight=!1,this.isJoinedLeft=!1,this.size="medium",this.buttonType="default",this.iconPlacement="left",this.onButtonClicked=new a.bkB}handleButtonClick(f){this.onButtonClicked.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-icon-button-with-label"]],inputs:{iconName:"iconName",buttonLabel:"buttonLabel",isDisabled:"isDisabled",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft",size:"size",buttonType:"buttonType",iconPlacement:"iconPlacement"},outputs:{onButtonClicked:"onButtonClicked"},decls:2,vars:2,consts:[["type","button","class","ant-btn-animation flex items-center justify-center flex-1 leading-5 whitespace-nowrap rounded-sm px-4 py-2 border",3,"disabled","ngClass","click",4,"ngIf"],["type","button","class","flex items-center justify-center flex-1 leading-5 whitespace-nowrap rounded-sm px-4 py-2 border",3,"disabled","ngClass","click",4,"ngIf"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","flex-1","leading-5","whitespace-nowrap","rounded-sm","px-4","py-2","border",3,"click","disabled","ngClass"],["class","flex items-center",4,"ngIf"],[1,"flex","items-center"],[3,"name"],[1,"pr-1"],[1,"pl-1"],["type","button",1,"flex","items-center","justify-center","flex-1","leading-5","whitespace-nowrap","rounded-sm","px-4","py-2","border",3,"click","disabled","ngClass"]],template:function(k,x){1&k&&a.DNE(0,vh,3,14,"button",0)(1,xu,3,14,"button",1),2&k&&(a.Y8G("ngIf","default"===x.buttonType),a.R7$(),a.Y8G("ngIf","primary"===x.buttonType))},dependencies:[L.YU,L.bT,qi]})}return b})();const rp=["*"],cc=(b,me)=>({"border-b":b,"overflow-hidden":me});let _h=(()=>{class b{constructor(f){this._cdr=f,this.opened=!1,this.isDisabled=!1}handleToggleContent(){this.isDisabled||(this.opened=!this.opened,this._cdr.detectChanges())}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-collapsible"]],inputs:{title:"title",opened:"opened",isDisabled:"isDisabled"},ngContentSelectors:rp,decls:7,vars:7,consts:[[1,"w-full","flex","flex-col","group","z-0"],[1,"border-b","collapsible-container","appearance-none","list-none","px-0","py-2","flex","flex-row","items-center","cursor-pointer","text-sm","text-neutral-800","hover:text-mustard","leading-6","justify-between",3,"click"],[1,"text-sm"],["name","chevron_down"],[1,"collapsible-footer","py-3","origin-top","text-neutral-600",3,"ngClass"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1),a.bIt("click",function(){return x.handleToggleContent()}),a.j41(2,"span",2),a.EFF(3),a.k0s(),a.nrm(4,"norby-icon",3),a.k0s(),a.j41(5,"div",4),a.SdG(6),a.k0s()()),2&k&&(a.R7$(3),a.JRh(x.title),a.R7$(),a.Y8G("@openCloseCaret",x.opened?"open":"closed"),a.R7$(),a.Y8G("ngClass",a.l_i(4,cc,x.opened,!x.opened))("@openClose",x.opened?"open":"closed"))},dependencies:[L.YU,qi],styles:["[_nghost-%COMP%]:last-child   .collapsible-container[_ngcontent-%COMP%], [_nghost-%COMP%]:last-child   .collapsible-footer[_ngcontent-%COMP%]{border:none}"],data:{animation:[(0,ae.hZ)("openClose",[(0,ae.wk)("open",(0,ae.iF)({})),(0,ae.wk)("closed",(0,ae.iF)({height:"0px",padding:"0px",transform:"scaleY(.9)",opacity:0})),(0,ae.kY)("open => closed",[(0,ae.i0)("0.12s ease-out")]),(0,ae.kY)("closed => open",[(0,ae.i0)("0.12s ease-in")])]),(0,ae.hZ)("openCloseCaret",[(0,ae.wk)("open",(0,ae.iF)({transform:"rotate(180deg) scale(.67)"})),(0,ae.wk)("closed",(0,ae.iF)({})),(0,ae.kY)("* => *",[(0,ae.i0)("0.1s")])])]},changeDetection:0})}return b})();const yh=["*"];let p2=(()=>{class b{constructor(){}ngAfterContentInit(){}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-collapsible-group"]],ngContentSelectors:yh,decls:1,vars:0,template:function(k,x){1&k&&(a.NAR(),a.SdG(0))}})}return b})(),Xr=(()=>{class b{constructor(){this._registry=new Map}registerIcons(f){f.forEach(k=>this._registry.set(k.name,k.data))}getIcon(f){return this._registry.has(f)||console.warn(`We could not find the icon with the name ${f}, did you add it to the Icon registry?`),this._registry.get(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),dc=(()=>{class b extends Sa{constructor(f,k,x){super(),this._overlayRef=f,this._document=k,this.config=x,this._afterClosedSubject$=new se.B,this.afterClosed$=this._afterClosedSubject$.asObservable(),this.config?.blocking||this._overlayRef._outsidePointerEvents.pipe((0,le.p)(ye=>"click"===ye.type&&ye.target instanceof Element&&ye.target.classList.contains("cdk-global-overlay-wrapper")),this.takeUntilDestroy).subscribe(()=>this.close())}addThemeClassWrapperNodes(f){f.forEach(k=>{const x=this._overlayRef.overlayElement,ye=x.firstChild,kt=this._document.createElement("div");kt.classList.add(k),x.replaceChild(kt,ye),kt.appendChild(ye)})}close(f){this._overlayRef.removePanelClass(["zoom-enter","zoom-enter-active"]),this._overlayRef.backdropElement.classList.remove("fade-enter","fade-enter-active"),this._overlayRef.addPanelClass(["zoom-leave","zoom-leave-active"]),this._overlayRef.backdropElement.classList.add("fade-leave","fade-leave-active"),setTimeout(()=>{this._overlayRef.dispose(),this._afterClosedSubject$.next(f),this._afterClosedSubject$.complete()},200)}static#e=this.\u0275fac=function(k){return new(k||b)(a.KVO(z.yY),a.KVO(Document),a.KVO(Xc))};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const Xc=new a.nKC("MODAL_DATA");let m2=(()=>{class b{constructor(f,k,x){this._overlay=f,this._injector=k,this._document=x}open(f,k,x){const ye=this._overlay.position().global().centerHorizontally(),kt=this._overlay.scrollStrategies.block();let zn,Fi;x?.fullscreen||(zn=["flex","flex-col","xxl:min-w-120","xs:w-98vw","h-fit-content","m-auto","zoom-enter","zoom-enter-active"],Fi=["bg-modal-backdrop","root-modal-container","fade-enter","fade-enter-active"]);const no=this._overlay.create({scrollStrategy:kt,positionStrategy:ye,hasBackdrop:!0,disposeOnNavigation:!0,backdropClass:Fi,panelClass:zn,maxHeight:"max-content"}),fo=new dc(no,this._document,x),Sr=a.zZn.create({parent:this._injector,providers:[{provide:dc,useValue:fo},{provide:Xc,useValue:x}]}),ts=new et.A8(f,null,Sr);no.attach(ts);const Qr=no.overlayElement,Za=Qr.firstChild,ma=this._document.createElement("div");return ma.classList.add("modal-overlay-panel"),x?.transparent||ma.classList.add("p-5","bg-white","rounded-none","border-solid","border","border-border-color-split","shadow-sm"),Qr.replaceChild(ma,Za),ma.appendChild(Za),k&&fo.addThemeClassWrapperNodes(k),fo}static#e=this.\u0275fac=function(k){return new(k||b)(a.KVO(z.hJ),a.KVO(a.zZn),a.KVO(L.qQ))};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();class Q{}const N={position:{top:20,right:20},animation:{slideOut:300,slideIn:300}},G=new a.nKC("message-config"),st={name:"alert_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"/><path d="M12 8v4M12 16h.01"/></svg>'},lp={name:"calendar",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>'},g1={name:"check_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><path d="M22 4 12 14.01l-3-3"/></svg>'},s0={name:"check_square",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-square"><path d="m9 11 3 3L22 4"/><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"/></svg>'},b2={name:"check",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><path d="M20 6 9 17l-5-5"/></svg>'},Mc={name:"chevron_down",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'},Lf={name:"chevron_right",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><path d="m9 18 6-6-6-6"/></svg>'},Iu={name:"code",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><path d="m16 18 6-6-6-6M8 6l-6 6 6 6"/></svg>'},y1={name:"copy",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>'},p0={name:"dribbble",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-dribbble"><circle cx="12" cy="12" r="10"/><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"/></svg>'},I2={name:"facebook",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-facebook"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"/></svg>'},wl={name:"github",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/></svg>'},Eg={name:"heart",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></svg>'},Mg={name:"help_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01"/></svg>'},Ig={name:"instagram",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-instagram"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"/><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37zM17.5 6.5h.01"/></svg>'},qf={name:"link",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>'},r3={name:"linkedin",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-linkedin"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z"/><circle cx="4" cy="4" r="2"/></svg>'},Mh={name:"loader",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-loader"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line></svg>'},Xf={name:"lock",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>'},ou={name:"mail",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><path d="m22 6-10 7L2 6"/></svg>'},_0={name:"map_pin",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>'},Qf={name:"menu",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><path d="M3 12h18M3 6h18M3 18h18"/></svg>'},w1={name:"message_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>'},y0={name:"more_vertical",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/></svg>'},Ag={name:"plus",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><path d="M12 5v14M5 12h14"/></svg>'},k1={name:"refresh_cw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-refresh-cw"><path d="M23 4v6h-6M1 20v-6h6"/><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/></svg>'},Rg={name:"rotate_cw",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rotate-cw"><path d="M23 4v6h-6"/><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"/></svg>'},_p={name:"share",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share"><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13"/></svg>'},U2={name:"slash",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-slash"><circle cx="12" cy="12" r="10"/><path d="m4.93 4.93 14.14 14.14"/></svg>'},Zu={name:"star",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star"><path d="m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>'},v3={name:"tag",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="m20.59 13.41-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82zM7 7h.01"/></svg>'},j2={name:"trash",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trash"><path d="M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>'},H2={name:"twitch",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-twitch"><path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"/></svg>'},Oh={name:"twitter",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"/></svg>'},Au={name:"unlock",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-unlock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></svg>'},x1={name:"upload",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12"/></svg>'},$g={name:"video",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video"><path d="m23 7-7 5 7 5V7z"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg>'},k0={name:"x_circle",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6M9 9l6 6"/></svg>'},E={name:"x",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><path d="M18 6 6 18M6 6l12 12"/></svg>'},h={name:"youtube",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-youtube"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"/><path d="m9.75 15.02 5.75-3.27-5.75-3.27v6.54z"/></svg>'},R={name:"website",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 11.25 1.617188 C 10.246094 1.921875 9.246094 2.84375 8.417969 4.398438 C 8.148438 4.914062 7.910156 5.449219 7.71875 6 L 11.25 6 Z M 6.136719 6 C 6.386719 5.203125 6.707031 4.429688 7.09375 3.691406 C 7.355469 3.199219 7.652344 2.734375 7.992188 2.292969 C 6.132812 3.0625 4.53125 4.347656 3.382812 6 Z M 5.261719 11.25 C 5.308594 9.933594 5.46875 8.671875 5.730469 7.5 L 2.511719 7.5 C 1.953125 8.675781 1.617188 9.949219 1.527344 11.25 Z M 7.269531 7.5 C 6.976562 8.730469 6.804688 9.984375 6.761719 11.25 L 11.25 11.25 L 11.25 7.5 Z M 12.75 7.5 L 12.75 11.25 L 17.234375 11.25 C 17.195312 9.984375 17.023438 8.730469 16.730469 7.5 Z M 6.765625 12.75 C 6.804688 14.015625 6.976562 15.269531 7.269531 16.5 L 11.25 16.5 L 11.25 12.75 Z M 12.75 12.75 L 12.75 16.5 L 16.730469 16.5 C 17.011719 15.351562 17.1875 14.089844 17.238281 12.75 Z M 7.71875 18 C 7.925781 18.578125 8.160156 19.117188 8.417969 19.601562 C 9.246094 21.15625 10.246094 22.078125 11.25 22.382812 L 11.25 18 Z M 7.992188 21.707031 C 7.652344 21.265625 7.355469 20.800781 7.09375 20.308594 C 6.707031 19.570312 6.386719 18.796875 6.136719 18 L 3.382812 18 C 4.53125 19.652344 6.132812 20.9375 7.992188 21.707031 Z M 5.730469 16.5 C 5.457031 15.265625 5.300781 14.011719 5.261719 12.75 L 1.527344 12.75 C 1.621094 14.085938 1.964844 15.347656 2.511719 16.5 Z M 16.007812 21.707031 C 17.867188 20.9375 19.46875 19.652344 20.617188 18 L 17.863281 18 C 17.613281 18.796875 17.292969 19.570312 16.90625 20.308594 C 16.644531 20.800781 16.347656 21.265625 16.007812 21.707031 Z M 12.75 18 L 12.75 22.382812 C 13.753906 22.078125 14.753906 21.15625 15.582031 19.601562 C 15.839844 19.117188 16.074219 18.578125 16.28125 18 Z M 18.269531 16.5 L 21.488281 16.5 C 22.035156 15.347656 22.378906 14.085938 22.472656 12.75 L 18.738281 12.75 C 18.699219 14.011719 18.542969 15.265625 18.269531 16.5 Z M 22.472656 11.25 C 22.382812 9.949219 22.046875 8.675781 21.488281 7.5 L 18.269531 7.5 C 18.53125 8.671875 18.691406 9.933594 18.738281 11.25 Z M 16.90625 3.691406 C 17.277344 4.386719 17.597656 5.160156 17.863281 6 L 20.617188 6 C 19.46875 4.347656 17.867188 3.0625 16.007812 2.292969 C 16.335938 2.71875 16.636719 3.1875 16.90625 3.691406 Z M 16.28125 6 C 16.089844 5.449219 15.851562 4.914062 15.582031 4.398438 C 14.753906 2.84375 13.753906 1.921875 12.75 1.617188 L 12.75 6 Z M 16.28125 6 "/>\n  </g>\n  </svg>'},q={name:"tiktok",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" fill="currentColor" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12.53125 0.0195312 C 13.839844 0 15.140625 0.0117188 16.441406 0 C 16.519531 1.53125 17.070312 3.089844 18.191406 4.171875 C 19.308594 5.28125 20.890625 5.789062 22.429688 5.960938 L 22.429688 9.988281 C 20.988281 9.941406 19.539062 9.640625 18.230469 9.019531 C 17.660156 8.761719 17.128906 8.429688 16.609375 8.089844 C 16.601562 11.011719 16.621094 13.929688 16.589844 16.839844 C 16.511719 18.238281 16.050781 19.628906 15.238281 20.78125 C 13.929688 22.699219 11.660156 23.949219 9.328125 23.988281 C 7.898438 24.070312 6.46875 23.679688 5.25 22.960938 C 3.230469 21.769531 1.808594 19.589844 1.601562 17.25 C 1.578125 16.75 1.570312 16.25 1.589844 15.761719 C 1.769531 13.859375 2.710938 12.039062 4.171875 10.800781 C 5.828125 9.359375 8.148438 8.671875 10.320312 9.078125 C 10.339844 10.558594 10.28125 12.039062 10.28125 13.519531 C 9.289062 13.199219 8.128906 13.289062 7.261719 13.890625 C 6.628906 14.300781 6.148438 14.929688 5.898438 15.640625 C 5.691406 16.148438 5.75 16.710938 5.761719 17.25 C 6 18.890625 7.578125 20.269531 9.261719 20.121094 C 10.378906 20.109375 11.449219 19.460938 12.03125 18.511719 C 12.21875 18.179688 12.429688 17.839844 12.441406 17.449219 C 12.539062 15.660156 12.5 13.878906 12.511719 12.089844 C 12.519531 8.058594 12.5 4.039062 12.53125 0.0195312 Z M 12.53125 0.0195312 "/>\n  </g>\n  </svg>\n  \n'},ce={name:"soundcloud",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 14.848958 9.901042 L 14.848958 22.197917 C 14.848958 22.75 15.296875 23.197917 15.848958 23.197917 L 26.401042 23.197917 C 28.28125 22.708333 29.588542 20.989583 29.552083 19.046875 C 29.520833 17.098958 28.161458 15.427083 26.260417 15 L 24 15 C 24.026042 11.65625 21.34375 8.927083 18 8.901042 L 15.848958 8.901042 C 15.296875 8.901042 14.848958 9.348958 14.848958 9.901042 Z M 14.848958 9.901042 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 10.890625 8.901042 L 10.890625 23.197917 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 6.932292 12.8125 L 6.932292 23.458333 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;" d="M 2.75 16.770833 L 2.75 23.197917 " transform="matrix(0.75,0,0,0.75,0,0)"/>\n  </g>\n  </svg>'},xe={name:"clubhouse",data:'<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.7474 21C12.8742 20.9836 10.6912 20.4882 8.94489 18.6379C6.76194 16.3249 4.79845 14.7594 4.42781 14.3655C4.21797 14.1425 3.20359 13.257 3.83647 12.1901C4.16461 11.6369 5.16631 11.7329 5.71612 12.1901C5.98242 12.4115 8.51147 14.6298 8.6812 14.9742C8.27527 14.3834 3.92847 10.1131 3.51038 9.70135C2.91044 9.1105 2.80194 8.23723 3.3865 7.62443C3.89888 7.08729 4.6931 7.06043 5.25725 7.54385L9.77746 12.2333C9.85606 12.3148 9.99086 12.2985 10.0477 12.2005V12.2005C10.0852 12.1358 10.0761 12.0541 10.0253 11.9992L4.74537 6.29054C4.24304 5.79817 3.88191 4.67018 4.6931 4.17781C5.5888 3.63414 6.45871 4.40161 6.74924 4.76866L11.1626 10.1768C11.2374 10.2685 11.3685 10.2905 11.4691 10.2284V10.2284C11.5908 10.1533 11.6188 9.98885 11.528 9.87836C10.4424 8.55641 8.427 6.04538 7.85168 5.10884C7.24454 4.12051 7.7752 3.40792 8.11642 3.17516C8.52872 2.89392 9.52052 2.84049 10.1108 3.87343C10.6756 4.86176 12.9347 8.00938 13.9936 9.45964C14.2972 9.87541 14.9114 10.5411 15.5468 10.3549C16.341 10.1221 16.4822 8.95831 16.6058 8.22423C16.7293 7.49014 17.4176 6.02197 18.9355 6.00407C20.4533 5.98616 19.9768 7.50805 19.7297 7.86614C19.4826 8.22423 18.5648 9.85354 18.8649 11.5724C19.1649 13.2912 19.7826 15.1533 18.8649 17.4092C18.1307 19.214 16.9799 20.2925 16.1562 20.5312" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>'},Ze={name:"spotify",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12 0 C 5.398438 0 0 5.398438 0 12 C 0 18.601562 5.398438 24 12 24 C 18.601562 24 24 18.601562 24 12 C 24 5.398438 18.660156 0 12 0 Z M 17.519531 17.339844 C 17.28125 17.699219 16.859375 17.820312 16.5 17.578125 C 13.679688 15.839844 10.140625 15.480469 5.9375 16.4375 C 5.519531 16.5625 5.160156 16.261719 5.039062 15.898438 C 4.921875 15.480469 5.21875 15.121094 5.578125 15 C 10.140625 13.980469 14.101562 14.398438 17.21875 16.320312 C 17.640625 16.5 17.699219 16.980469 17.519531 17.339844 Z M 18.960938 14.039062 C 18.660156 14.460938 18.121094 14.640625 17.699219 14.339844 C 14.460938 12.359375 9.539062 11.761719 5.761719 12.960938 C 5.28125 13.078125 4.738281 12.839844 4.621094 12.359375 C 4.5 11.878906 4.738281 11.339844 5.21875 11.21875 C 9.601562 9.898438 15 10.5625 18.71875 12.839844 C 19.082031 13.019531 19.261719 13.621094 18.960938 14.039062 Z M 19.082031 10.679688 C 15.238281 8.398438 8.820312 8.160156 5.160156 9.300781 C 4.558594 9.480469 3.960938 9.121094 3.78125 8.578125 C 3.601562 7.980469 3.960938 7.378906 4.5 7.199219 C 8.761719 5.9375 15.78125 6.179688 20.222656 8.820312 C 20.761719 9.121094 20.941406 9.839844 20.640625 10.378906 C 20.339844 10.800781 19.621094 10.980469 19.082031 10.679688 Z M 19.082031 10.679688 "/>\n  </g>\n  </svg>\n'},It={name:"calendly",data:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>'},Kt={name:"lastfm",data:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M10.584 17.209l-.88-2.392s-1.43 1.595-3.573 1.595c-1.897 0-3.244-1.65-3.244-4.289 0-3.381 1.704-4.591 3.382-4.591 2.419 0 3.188 1.567 3.849 3.574l.88 2.75c.879 2.667 2.528 4.811 7.284 4.811 3.409 0 5.719-1.044 5.719-3.793 0-2.227-1.265-3.381-3.629-3.932l-1.76-.385c-1.209-.275-1.566-.77-1.566-1.594 0-.935.742-1.485 1.952-1.485 1.319 0 2.034.495 2.144 1.677l2.749-.33c-.22-2.474-1.924-3.491-4.729-3.491-2.474 0-4.893.935-4.893 3.931 0 1.87.907 3.052 3.188 3.602l1.869.439c1.402.33 1.869.907 1.869 1.705 0 1.017-.989 1.43-2.858 1.43-2.776 0-3.932-1.457-4.591-3.464l-.907-2.749c-1.155-3.574-2.997-4.894-6.653-4.894-4.041-.001-6.186 2.556-6.186 6.899 0 4.179 2.145 6.433 5.993 6.433 3.107.001 4.591-1.457 4.591-1.457z" /></svg>'},Tn={name:"apple",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 11.671875 6.351562 C 11.710938 6.351562 11.746094 6.351562 11.785156 6.351562 C 13.117188 6.351562 14.5625 5.601562 15.46875 4.4375 C 16.402344 3.238281 16.828125 1.800781 16.632812 0.492188 C 16.589844 0.195312 16.320312 -0.0195312 16.019531 0 C 14.707031 0.09375 13.21875 0.890625 12.320312 1.988281 C 11.34375 3.179688 10.894531 4.632812 11.121094 5.875 C 11.171875 6.144531 11.398438 6.339844 11.671875 6.351562 Z M 13.214844 2.722656 C 13.773438 2.042969 14.675781 1.480469 15.523438 1.253906 C 15.480469 2.40625 14.855469 3.339844 14.554688 3.726562 C 13.972656 4.476562 13.074219 5.015625 12.21875 5.160156 C 12.234375 4.015625 12.964844 3.027344 13.214844 2.722656 Z M 13.214844 2.722656 "/>\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 21.789062 17.453125 C 21.730469 17.304688 21.609375 17.1875 21.460938 17.132812 C 19.078125 16.234375 18.332031 13.652344 19.007812 11.777344 C 19.339844 10.84375 19.996094 10.089844 20.90625 9.589844 C 21.054688 9.507812 21.160156 9.363281 21.195312 9.195312 C 21.226562 9.027344 21.183594 8.855469 21.078125 8.71875 C 19.871094 7.214844 18.15625 6.316406 16.488281 6.316406 C 15.320312 6.316406 14.53125 6.613281 13.835938 6.878906 C 13.320312 7.074219 12.878906 7.242188 12.371094 7.242188 C 11.808594 7.242188 11.292969 7.058594 10.699219 6.84375 C 10.007812 6.597656 9.21875 6.316406 8.238281 6.316406 C 6.339844 6.316406 4.421875 7.460938 3.222656 9.308594 C 2.78125 9.992188 2.46875 10.839844 2.300781 11.828125 C 1.820312 14.636719 2.632812 17.984375 4.46875 20.78125 C 5.507812 22.363281 6.820312 23.984375 8.65625 24 L 8.695312 24 C 9.460938 24 9.972656 23.769531 10.472656 23.546875 C 10.996094 23.3125 11.492188 23.089844 12.394531 23.085938 L 12.421875 23.085938 C 13.304688 23.085938 13.785156 23.308594 14.292969 23.539062 C 14.78125 23.765625 15.285156 23.996094 16.050781 23.996094 L 16.085938 23.996094 C 17.882812 23.980469 19.246094 22.277344 20.34375 20.609375 C 21.015625 19.578125 21.273438 19.046875 21.785156 17.910156 C 21.847656 17.765625 21.851562 17.597656 21.789062 17.453125 Z M 19.375 19.976562 C 18.5 21.304688 17.335938 22.828125 16.074219 22.839844 L 16.050781 22.839844 C 15.539062 22.839844 15.203125 22.683594 14.777344 22.488281 C 14.234375 22.242188 13.558594 21.929688 12.421875 21.929688 L 12.386719 21.929688 C 11.242188 21.9375 10.554688 22.246094 10 22.492188 C 9.558594 22.6875 9.210938 22.84375 8.695312 22.84375 L 8.667969 22.84375 C 7.367188 22.832031 6.257812 21.394531 5.433594 20.144531 C 3.753906 17.585938 3.007812 14.550781 3.441406 12.023438 C 3.582031 11.191406 3.835938 10.488281 4.195312 9.933594 C 5.179688 8.414062 6.730469 7.472656 8.238281 7.472656 C 9.019531 7.472656 9.644531 7.695312 10.3125 7.933594 C 10.949219 8.164062 11.605469 8.398438 12.371094 8.398438 C 13.089844 8.398438 13.675781 8.175781 14.246094 7.960938 C 14.878906 7.71875 15.535156 7.472656 16.488281 7.472656 C 17.625 7.472656 18.804688 8.019531 19.742188 8.960938 C 18.894531 9.578125 18.269531 10.40625 17.917969 11.386719 C 17.003906 13.929688 18.148438 16.753906 20.488281 17.964844 C 20.140625 18.71875 19.894531 19.179688 19.375 19.976562 Z M 19.375 19.976562 "/>\n  </g>\n  </svg>\n  '},Yn={name:"medium",data:'<svg width="24px" height="24px" viewBox="-2 -4 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor" preserveAspectRatio="xMinYMin" class="jam jam-medium"><path d=\'M2.372 3.264a.784.784 0 0 0-.252-.658L.252.339V0H6.05l4.482 9.905L14.472 0H20v.339L18.403 1.88a.472.472 0 0 0-.177.452v11.334a.472.472 0 0 0 .177.452l1.56 1.542V16H12.12v-.339l1.615-1.58c.159-.16.159-.207.159-.451V4.468L9.402 15.962h-.606L3.566 4.468v7.704c-.043.324.064.65.29.884l2.101 2.568v.338H0v-.338l2.1-2.568a1.03 1.03 0 0 0 .272-.884V3.264z\' /></svg>'},Un={name:"patreon",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 3 3 L 3 21 L 8.25 21 L 8.25 3 Z M 16.125 3 C 12.609375 3 9.75 5.859375 9.75 9.375 C 9.75 12.890625 12.609375 15.75 16.125 15.75 C 19.640625 15.75 22.5 12.890625 22.5 9.375 C 22.5 5.859375 19.640625 3 16.125 3 Z M 4.5 4.5 L 6.75 4.5 L 6.75 19.5 L 4.5 19.5 Z M 16.125 4.5 C 18.8125 4.5 21 6.6875 21 9.375 C 21 12.0625 18.8125 14.25 16.125 14.25 C 13.4375 14.25 11.25 12.0625 11.25 9.375 C 11.25 6.6875 13.4375 4.5 16.125 4.5 Z M 16.125 4.5 "/>\n  </g>\n  </svg>'},Ti={name:"discord",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 18.398438 21.601562 L 17.878906 22.207031 C 18.03125 22.335938 18.226562 22.40625 18.425781 22.398438 Z M 16.695312 18.859375 C 16.417969 18.515625 15.917969 18.453125 15.570312 18.726562 C 15.222656 19.003906 15.164062 19.503906 15.4375 19.851562 Z M 17.332031 18.207031 L 17.054688 17.457031 C 17.042969 17.460938 17.03125 17.464844 17.023438 17.46875 Z M 14.550781 19.03125 L 14.417969 18.242188 L 14.402344 18.242188 Z M 9.582031 19.011719 L 9.433594 19.796875 L 9.4375 19.796875 Z M 6.765625 18.1875 L 6.472656 18.929688 L 6.472656 18.933594 Z M 5.363281 17.535156 L 4.917969 18.199219 C 4.9375 18.210938 4.953125 18.222656 4.972656 18.230469 Z M 5.191406 17.4375 L 5.636719 16.773438 C 5.609375 16.753906 5.578125 16.738281 5.550781 16.722656 Z M 5.113281 17.382812 L 5.679688 16.816406 C 5.628906 16.761719 5.570312 16.71875 5.503906 16.679688 Z M 8.5625 19.8125 C 8.835938 19.464844 8.777344 18.964844 8.429688 18.691406 C 8.082031 18.417969 7.578125 18.476562 7.304688 18.820312 Z M 5.601562 21.601562 L 5.574219 22.398438 C 5.777344 22.40625 5.976562 22.335938 6.128906 22.199219 Z M 0.800781 17.996094 L 0 17.996094 C 0 18.039062 0.00390625 18.082031 0.0117188 18.121094 Z M 3.5625 4.414062 L 3.082031 3.773438 C 2.960938 3.867188 2.867188 3.992188 2.8125 4.132812 Z M 8.949219 2.398438 L 9.746094 2.324219 C 9.707031 1.921875 9.375 1.609375 8.96875 1.601562 Z M 8.347656 4.488281 C 8.386719 4.929688 8.777344 5.253906 9.21875 5.210938 C 9.65625 5.167969 9.980469 4.777344 9.9375 4.339844 Z M 13.988281 4.386719 C 13.929688 4.828125 14.242188 5.226562 14.679688 5.285156 C 15.117188 5.339844 15.519531 5.03125 15.574219 4.59375 Z M 15.050781 2.398438 L 15.03125 1.601562 C 14.636719 1.609375 14.304688 1.90625 14.253906 2.296875 Z M 20.4375 4.414062 L 21.1875 4.132812 C 21.132812 3.992188 21.039062 3.867188 20.917969 3.773438 Z M 23.199219 17.996094 L 23.988281 18.121094 C 23.996094 18.082031 24 18.039062 24 17.996094 Z M 10.371094 14.082031 L 9.570312 14.070312 L 9.570312 14.082031 Z M 18.398438 21.601562 C 18.921875 20.992188 18.921875 20.992188 18.921875 20.992188 C 18.921875 20.992188 18.917969 20.992188 18.917969 20.988281 C 18.914062 20.988281 18.910156 20.984375 18.902344 20.976562 C 18.890625 20.96875 18.871094 20.949219 18.847656 20.929688 C 18.800781 20.886719 18.730469 20.828125 18.644531 20.753906 C 18.472656 20.601562 18.242188 20.390625 17.988281 20.160156 C 17.46875 19.683594 16.933594 19.167969 16.695312 18.859375 L 15.4375 19.851562 C 15.773438 20.273438 16.402344 20.878906 16.90625 21.339844 C 17.167969 21.582031 17.410156 21.796875 17.585938 21.953125 C 17.675781 22.03125 17.746094 22.09375 17.796875 22.136719 C 17.824219 22.160156 17.84375 22.175781 17.855469 22.1875 C 17.863281 22.195312 17.867188 22.199219 17.871094 22.199219 C 17.875 22.203125 17.875 22.203125 17.875 22.203125 C 17.875 22.207031 17.878906 22.207031 17.878906 22.207031 C 17.878906 22.207031 17.878906 22.207031 18.398438 21.601562 Z M 19.097656 16.40625 C 18.359375 16.890625 17.667969 17.226562 17.054688 17.457031 L 17.609375 18.957031 C 18.335938 18.683594 19.140625 18.292969 19.976562 17.742188 Z M 17.023438 17.46875 C 16.113281 17.847656 15.253906 18.097656 14.417969 18.242188 L 14.683594 19.820312 C 15.652344 19.65625 16.628906 19.367188 17.640625 18.941406 Z M 14.402344 18.242188 C 12.675781 18.566406 11.089844 18.480469 9.730469 18.226562 L 9.4375 19.796875 C 10.953125 20.082031 12.742188 20.183594 14.699219 19.816406 Z M 9.734375 18.226562 C 8.699219 18.027344 7.808594 17.734375 7.054688 17.441406 L 6.472656 18.933594 C 7.292969 19.25 8.28125 19.574219 9.433594 19.796875 Z M 7.054688 17.441406 C 6.636719 17.277344 6.191406 17.082031 5.753906 16.835938 L 4.972656 18.230469 C 5.496094 18.523438 6.007812 18.75 6.472656 18.929688 Z M 5.808594 16.871094 C 5.730469 16.816406 5.660156 16.78125 5.636719 16.769531 C 5.601562 16.753906 5.617188 16.761719 5.636719 16.773438 L 4.746094 18.105469 C 4.824219 18.15625 4.898438 18.191406 4.921875 18.203125 C 4.953125 18.21875 4.9375 18.210938 4.917969 18.199219 Z M 5.550781 16.722656 C 5.582031 16.738281 5.613281 16.757812 5.644531 16.785156 C 5.671875 16.804688 5.691406 16.828125 5.679688 16.816406 L 4.550781 17.945312 C 4.585938 17.984375 4.679688 18.078125 4.832031 18.152344 Z M 5.503906 16.679688 C 5.34375 16.59375 5.222656 16.519531 5.144531 16.46875 C 5.105469 16.445312 5.074219 16.425781 5.058594 16.414062 C 5.046875 16.40625 5.042969 16.402344 5.039062 16.402344 C 5.035156 16.398438 5.035156 16.398438 5.035156 16.398438 C 5.035156 16.398438 5.035156 16.398438 4.578125 17.054688 C 4.121094 17.710938 4.121094 17.710938 4.121094 17.710938 C 4.121094 17.710938 4.125 17.714844 4.125 17.714844 C 4.128906 17.714844 4.132812 17.71875 4.136719 17.722656 C 4.144531 17.726562 4.15625 17.734375 4.167969 17.746094 C 4.199219 17.761719 4.238281 17.789062 4.289062 17.824219 C 4.390625 17.886719 4.539062 17.976562 4.726562 18.082031 Z M 7.304688 18.820312 C 7.0625 19.132812 6.523438 19.660156 6.003906 20.148438 C 5.753906 20.382812 5.519531 20.597656 5.347656 20.753906 C 5.261719 20.828125 5.191406 20.890625 5.144531 20.933594 C 5.121094 20.957031 5.101562 20.972656 5.089844 20.984375 C 5.082031 20.988281 5.078125 20.992188 5.074219 20.996094 C 5.074219 20.996094 5.070312 21 5.070312 21 C 5.070312 21 5.070312 21 5.601562 21.601562 C 6.128906 22.199219 6.128906 22.199219 6.128906 22.199219 C 6.128906 22.199219 6.128906 22.199219 6.132812 22.199219 C 6.132812 22.199219 6.132812 22.195312 6.136719 22.195312 C 6.140625 22.191406 6.144531 22.1875 6.152344 22.179688 C 6.164062 22.167969 6.183594 22.152344 6.210938 22.128906 C 6.257812 22.085938 6.332031 22.019531 6.421875 21.941406 C 6.597656 21.78125 6.839844 21.558594 7.097656 21.316406 C 7.601562 20.84375 8.230469 20.234375 8.5625 19.8125 Z M 5.625 20.800781 C 3.761719 20.742188 2.78125 19.964844 2.25 19.265625 C 1.972656 18.898438 1.804688 18.535156 1.707031 18.265625 C 1.65625 18.132812 1.625 18.023438 1.609375 17.953125 C 1.601562 17.914062 1.59375 17.890625 1.589844 17.875 C 1.589844 17.867188 1.589844 17.863281 1.589844 17.863281 C 1.589844 17.859375 1.589844 17.859375 1.589844 17.863281 C 1.589844 17.867188 1.589844 17.867188 1.589844 17.867188 C 1.589844 17.867188 1.589844 17.867188 0.800781 17.996094 C 0.0117188 18.121094 0.0117188 18.121094 0.0117188 18.125 C 0.0117188 18.128906 0.0117188 18.128906 0.0117188 18.132812 C 0.0117188 18.136719 0.0117188 18.140625 0.015625 18.148438 C 0.015625 18.160156 0.0195312 18.175781 0.0234375 18.191406 C 0.03125 18.226562 0.0429688 18.277344 0.0546875 18.335938 C 0.0859375 18.457031 0.132812 18.617188 0.203125 18.8125 C 0.339844 19.195312 0.578125 19.710938 0.972656 20.230469 C 1.78125 21.296875 3.203125 22.324219 5.574219 22.398438 Z M 1.601562 17.996094 C 1.601562 15.007812 2.269531 11.691406 2.953125 9.09375 C 3.292969 7.796875 3.636719 6.695312 3.890625 5.917969 C 4.019531 5.527344 4.125 5.21875 4.199219 5.007812 C 4.234375 4.90625 4.261719 4.824219 4.28125 4.769531 C 4.292969 4.746094 4.300781 4.722656 4.304688 4.710938 C 4.308594 4.703125 4.308594 4.699219 4.308594 4.695312 C 4.308594 4.695312 4.3125 4.695312 4.3125 4.695312 C 4.3125 4.695312 4.3125 4.691406 4.3125 4.691406 C 4.3125 4.691406 4.3125 4.691406 3.5625 4.414062 C 2.8125 4.132812 2.8125 4.132812 2.8125 4.132812 C 2.8125 4.132812 2.8125 4.132812 2.8125 4.136719 C 2.8125 4.136719 2.808594 4.140625 2.808594 4.140625 C 2.808594 4.144531 2.804688 4.152344 2.804688 4.160156 C 2.796875 4.175781 2.789062 4.195312 2.777344 4.226562 C 2.757812 4.285156 2.726562 4.367188 2.6875 4.476562 C 2.609375 4.699219 2.5 5.015625 2.371094 5.417969 C 2.105469 6.222656 1.757812 7.355469 1.40625 8.683594 C 0.710938 11.332031 0 14.804688 0 17.996094 Z M 4.042969 5.054688 C 5.320312 4.09375 6.5625 3.632812 7.480469 3.40625 C 7.941406 3.296875 8.316406 3.242188 8.570312 3.21875 C 8.699219 3.207031 8.796875 3.203125 8.859375 3.199219 C 8.890625 3.199219 8.910156 3.199219 8.921875 3.199219 C 8.929688 3.199219 8.933594 3.199219 8.9375 3.199219 C 8.9375 3.199219 8.9375 3.199219 8.933594 3.199219 C 8.933594 3.199219 8.933594 3.199219 8.949219 2.398438 C 8.96875 1.601562 8.96875 1.601562 8.96875 1.601562 C 8.96875 1.601562 8.96875 1.601562 8.964844 1.601562 C 8.964844 1.601562 8.960938 1.601562 8.960938 1.601562 C 8.957031 1.601562 8.953125 1.601562 8.949219 1.601562 C 8.941406 1.601562 8.929688 1.601562 8.917969 1.601562 C 8.890625 1.601562 8.851562 1.601562 8.808594 1.601562 C 8.714844 1.605469 8.585938 1.613281 8.421875 1.625 C 8.097656 1.65625 7.644531 1.71875 7.101562 1.851562 C 6.015625 2.117188 4.5625 2.660156 3.082031 3.773438 Z M 8.152344 2.476562 L 8.347656 4.488281 L 9.9375 4.339844 L 9.746094 2.324219 Z M 15.574219 4.59375 L 15.84375 2.503906 L 14.253906 2.296875 L 13.988281 4.386719 Z M 15.050781 2.398438 C 15.066406 3.199219 15.066406 3.199219 15.066406 3.199219 C 15.0625 3.199219 15.0625 3.199219 15.0625 3.199219 C 15.066406 3.199219 15.070312 3.199219 15.074219 3.199219 C 15.089844 3.199219 15.109375 3.199219 15.140625 3.203125 C 15.203125 3.203125 15.300781 3.207031 15.429688 3.21875 C 15.683594 3.242188 16.058594 3.296875 16.519531 3.40625 C 17.433594 3.632812 18.679688 4.09375 19.957031 5.054688 L 20.917969 3.773438 C 19.4375 2.660156 17.984375 2.117188 16.898438 1.851562 C 16.355469 1.71875 15.902344 1.65625 15.578125 1.625 C 15.414062 1.613281 15.285156 1.605469 15.191406 1.601562 C 15.148438 1.601562 15.109375 1.601562 15.082031 1.601562 C 15.070312 1.601562 15.058594 1.601562 15.050781 1.601562 C 15.046875 1.601562 15.042969 1.601562 15.039062 1.601562 C 15.039062 1.601562 15.035156 1.601562 15.035156 1.601562 C 15.035156 1.601562 15.035156 1.601562 15.03125 1.601562 C 15.03125 1.601562 15.03125 1.601562 15.050781 2.398438 Z M 20.4375 4.414062 C 19.6875 4.691406 19.6875 4.691406 19.6875 4.691406 C 19.6875 4.695312 19.6875 4.695312 19.6875 4.695312 C 19.6875 4.695312 19.6875 4.695312 19.691406 4.695312 C 19.691406 4.699219 19.691406 4.703125 19.695312 4.710938 C 19.699219 4.722656 19.707031 4.746094 19.71875 4.769531 C 19.738281 4.824219 19.765625 4.90625 19.800781 5.007812 C 19.875 5.21875 19.980469 5.527344 20.109375 5.917969 C 20.363281 6.695312 20.703125 7.796875 21.046875 9.09375 C 21.730469 11.691406 22.398438 15.007812 22.398438 17.996094 L 24 17.996094 C 24 14.804688 23.289062 11.332031 22.59375 8.683594 C 22.242188 7.355469 21.894531 6.222656 21.628906 5.417969 C 21.5 5.015625 21.390625 4.699219 21.3125 4.476562 C 21.273438 4.367188 21.242188 4.285156 21.222656 4.226562 C 21.210938 4.195312 21.203125 4.175781 21.195312 4.160156 C 21.195312 4.152344 21.191406 4.144531 21.191406 4.140625 C 21.191406 4.140625 21.1875 4.136719 21.1875 4.136719 C 21.1875 4.136719 21.1875 4.132812 21.1875 4.132812 C 21.1875 4.132812 21.1875 4.132812 20.4375 4.414062 Z M 23.199219 17.996094 C 22.410156 17.867188 22.410156 17.867188 22.410156 17.867188 C 22.410156 17.867188 22.410156 17.867188 22.410156 17.863281 C 22.410156 17.859375 22.410156 17.859375 22.410156 17.863281 C 22.410156 17.863281 22.410156 17.867188 22.410156 17.875 C 22.40625 17.890625 22.398438 17.914062 22.390625 17.953125 C 22.375 18.023438 22.34375 18.132812 22.292969 18.265625 C 22.195312 18.535156 22.027344 18.898438 21.75 19.265625 C 21.21875 19.964844 20.238281 20.742188 18.375 20.800781 L 18.425781 22.398438 C 20.796875 22.324219 22.21875 21.296875 23.027344 20.230469 C 23.421875 19.710938 23.660156 19.195312 23.796875 18.8125 C 23.867188 18.617188 23.914062 18.457031 23.945312 18.335938 C 23.957031 18.277344 23.96875 18.226562 23.976562 18.191406 C 23.980469 18.175781 23.984375 18.160156 23.984375 18.148438 C 23.988281 18.140625 23.988281 18.136719 23.988281 18.132812 C 23.988281 18.128906 23.988281 18.128906 23.988281 18.125 C 23.988281 18.121094 23.988281 18.121094 23.199219 17.996094 Z M 8.414062 11.152344 C 6.8125 11.152344 5.65625 12.539062 5.65625 14.082031 L 7.257812 14.082031 C 7.257812 13.285156 7.828125 12.753906 8.414062 12.753906 Z M 5.65625 14.082031 C 5.65625 15.628906 6.835938 17.011719 8.414062 17.011719 L 8.414062 15.410156 C 7.84375 15.410156 7.257812 14.875 7.257812 14.082031 Z M 8.414062 17.011719 C 10.015625 17.011719 11.167969 15.625 11.167969 14.082031 L 9.570312 14.082031 C 9.570312 14.878906 9 15.410156 8.414062 15.410156 Z M 11.167969 14.09375 C 11.195312 12.53125 10.003906 11.152344 8.414062 11.152344 L 8.414062 12.753906 C 9.007812 12.753906 9.582031 13.292969 9.570312 14.070312 Z M 15.414062 11.152344 C 13.8125 11.152344 12.65625 12.539062 12.65625 14.082031 L 14.257812 14.082031 C 14.257812 13.285156 14.828125 12.753906 15.414062 12.753906 Z M 12.65625 14.082031 C 12.65625 15.628906 13.835938 17.011719 15.414062 17.011719 L 15.414062 15.410156 C 14.84375 15.410156 14.257812 14.875 14.257812 14.082031 Z M 15.414062 17.011719 C 17.015625 17.011719 18.167969 15.625 18.167969 14.082031 L 16.570312 14.082031 C 16.570312 14.878906 15.996094 15.410156 15.414062 15.410156 Z M 18.167969 14.082031 C 18.167969 12.539062 17.015625 11.152344 15.414062 11.152344 L 15.414062 12.753906 C 15.996094 12.753906 16.570312 13.285156 16.570312 14.082031 Z M 5.984375 7.101562 C 8.292969 5.84375 10.171875 5.253906 12.003906 5.253906 C 13.835938 5.253906 15.710938 5.839844 18.015625 7.101562 L 18.785156 5.699219 C 16.347656 4.363281 14.199219 3.652344 12.003906 3.65625 C 9.804688 3.65625 7.65625 4.367188 5.21875 5.699219 Z M 5.984375 7.101562 "/>\n  </g>\n  </svg>  \n  '},ji={name:"pinterest",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 21.105469 5.976562 C 20.742188 4.746094 20.15625 3.710938 19.316406 2.8125 C 18.5 1.933594 17.554688 1.269531 16.433594 0.777344 C 15.15625 0.214844 13.675781 -0.0546875 12.261719 0.0078125 C 11.746094 0.03125 11.242188 0.0585938 10.75 0.132812 C 9.355469 0.332031 8.128906 0.746094 7 1.398438 C 5.558594 2.238281 4.433594 3.375 3.65625 4.78125 C 3.253906 5.511719 2.855469 6.804688 2.6875 7.648438 C 2.484375 8.644531 2.664062 10.367188 3.0625 11.339844 C 3.566406 12.550781 3.976562 13.089844 4.984375 13.839844 C 4.992188 13.84375 5.613281 14.292969 6.027344 14.285156 C 6.78125 14.269531 6.933594 13.550781 7.003906 13.203125 C 7.019531 13.136719 7.03125 13.070312 7.046875 13.011719 C 7.0625 12.957031 7.078125 12.898438 7.097656 12.839844 C 7.203125 12.496094 7.351562 12.023438 7.109375 11.605469 C 7.019531 11.449219 6.910156 11.328125 6.816406 11.21875 C 6.765625 11.160156 6.714844 11.105469 6.671875 11.042969 C 6.3125 10.511719 6.132812 9.84375 6.132812 9.066406 C 6.132812 8.039062 6.363281 7.113281 6.84375 6.230469 C 7.707031 4.625 9.144531 3.617188 10.996094 3.304688 C 12.050781 3.125 13.277344 3.199219 14.199219 3.496094 C 15.039062 3.765625 15.757812 4.242188 16.269531 4.878906 C 16.816406 5.546875 17.125 6.398438 17.195312 7.40625 C 17.242188 8.050781 17.183594 8.699219 17.132812 9.128906 C 16.949219 10.785156 16.464844 12.117188 15.699219 13.09375 C 15.074219 13.890625 14.398438 14.292969 13.636719 14.320312 C 13.144531 14.339844 12.777344 14.238281 12.445312 14 C 12.128906 13.777344 11.945312 13.5 11.855469 13.132812 C 11.757812 12.714844 11.875 12.277344 12.003906 11.820312 L 12.023438 11.746094 C 12.136719 11.339844 12.253906 10.96875 12.367188 10.605469 C 12.546875 10.03125 12.734375 9.4375 12.886719 8.75 C 13.0625 7.972656 13.085938 7.347656 12.957031 6.832031 C 12.804688 6.195312 12.460938 5.71875 11.941406 5.414062 C 11.390625 5.09375 10.613281 5.035156 9.957031 5.257812 C 8.984375 5.589844 8.238281 6.476562 7.917969 7.6875 C 7.753906 8.300781 7.707031 8.949219 7.777344 9.605469 C 7.832031 10.121094 7.945312 10.589844 8.160156 11.152344 C 8.152344 11.179688 8.144531 11.203125 8.136719 11.230469 C 8.121094 11.277344 8.105469 11.328125 8.097656 11.371094 C 7.867188 12.328125 7.644531 13.269531 7.421875 14.210938 C 7.210938 15.105469 7 16 6.785156 16.902344 L 6.734375 17.105469 C 6.511719 18.023438 6.285156 18.972656 6.234375 20.109375 L 6.207031 20.582031 C 6.160156 21.464844 6.113281 22.375 6.234375 23.21875 C 6.257812 23.382812 6.308594 23.753906 6.671875 23.882812 C 6.78125 23.964844 6.882812 24 6.984375 24 C 7.289062 24 7.558594 23.6875 7.789062 23.425781 C 8.542969 22.574219 9.179688 21.496094 9.742188 20.132812 C 9.996094 19.523438 10.160156 18.867188 10.324219 18.230469 L 10.417969 17.851562 C 10.539062 17.402344 10.652344 16.941406 10.765625 16.488281 L 10.773438 16.460938 C 10.988281 16.644531 11.230469 16.8125 11.515625 16.96875 C 12.117188 17.300781 12.792969 17.496094 13.53125 17.542969 C 14.21875 17.589844 14.945312 17.503906 15.746094 17.273438 C 16.355469 17.101562 16.9375 16.835938 17.476562 16.488281 C 19.417969 15.246094 20.738281 13.074219 21.199219 10.371094 C 21.339844 9.5625 21.398438 8.914062 21.398438 8.199219 C 21.398438 7.375 21.300781 6.628906 21.105469 5.976562 Z M 20.257812 10.210938 C 19.839844 12.644531 18.667969 14.589844 16.960938 15.683594 C 16.496094 15.980469 16 16.207031 15.480469 16.355469 C 14.789062 16.554688 14.167969 16.628906 13.59375 16.589844 C 12.988281 16.550781 12.460938 16.402344 11.976562 16.132812 C 11.488281 15.867188 11.175781 15.578125 10.953125 15.195312 L 10.367188 14.183594 L 9.839844 16.257812 C 9.726562 16.707031 9.609375 17.164062 9.492188 17.613281 L 9.394531 17.996094 C 9.234375 18.628906 9.082031 19.222656 8.855469 19.769531 C 8.351562 20.992188 7.789062 21.957031 7.140625 22.71875 C 7.089844 22.070312 7.125 21.34375 7.164062 20.636719 L 7.1875 20.15625 C 7.238281 19.113281 7.453125 18.207031 7.664062 17.332031 L 7.714844 17.128906 C 7.929688 16.226562 8.140625 15.332031 8.351562 14.433594 C 8.574219 13.492188 8.796875 12.550781 9.027344 11.597656 C 9.035156 11.570312 9.042969 11.539062 9.054688 11.503906 C 9.109375 11.3125 9.171875 11.113281 9.089844 10.910156 C 8.882812 10.382812 8.777344 9.964844 8.726562 9.507812 C 8.671875 8.964844 8.707031 8.4375 8.839844 7.933594 C 9.078125 7.039062 9.597656 6.394531 10.265625 6.164062 C 10.433594 6.109375 10.605469 6.085938 10.773438 6.085938 C 11.042969 6.085938 11.296875 6.148438 11.457031 6.246094 C 11.75 6.414062 11.933594 6.683594 12.027344 7.0625 C 12.117188 7.425781 12.089844 7.921875 11.953125 8.542969 C 11.808594 9.191406 11.636719 9.742188 11.453125 10.320312 C 11.335938 10.695312 11.214844 11.074219 11.101562 11.492188 L 11.082031 11.566406 C 10.933594 12.09375 10.765625 12.695312 10.925781 13.355469 C 11.066406 13.953125 11.382812 14.417969 11.886719 14.78125 C 12.386719 15.140625 12.976562 15.300781 13.667969 15.277344 C 14.714844 15.242188 15.652344 14.707031 16.453125 13.6875 C 17.328125 12.570312 17.878906 11.074219 18.085938 9.238281 C 18.136719 8.769531 18.199219 8.0625 18.152344 7.34375 C 18.066406 6.136719 17.6875 5.101562 17.015625 4.277344 C 16.382812 3.496094 15.511719 2.914062 14.492188 2.585938 C 13.433594 2.246094 12.03125 2.160156 10.835938 2.359375 C 8.683594 2.722656 7.011719 3.902344 6 5.777344 C 5.445312 6.804688 5.175781 7.878906 5.175781 9.066406 C 5.175781 10.039062 5.410156 10.886719 5.878906 11.578125 C 5.941406 11.671875 6.019531 11.761719 6.097656 11.851562 C 6.167969 11.933594 6.238281 12.011719 6.277344 12.082031 C 6.308594 12.160156 6.222656 12.429688 6.183594 12.558594 C 6.160156 12.632812 6.140625 12.703125 6.121094 12.769531 C 6.101562 12.84375 6.085938 12.925781 6.066406 13.007812 C 6.050781 13.097656 6.019531 13.238281 5.992188 13.316406 C 5.875 13.269531 5.667969 13.15625 5.558594 13.074219 C 4.699219 12.433594 4.382812 12.019531 3.949219 10.976562 C 3.625 10.191406 3.464844 8.636719 3.625 7.839844 C 3.804688 6.941406 4.1875 5.804688 4.496094 5.246094 C 5.1875 3.992188 6.195312 2.976562 7.484375 2.230469 C 8.503906 1.636719 9.617188 1.261719 10.886719 1.078125 C 11.335938 1.015625 11.816406 0.988281 12.308594 0.964844 C 13.574219 0.90625 14.90625 1.152344 16.050781 1.652344 C 17.050781 2.089844 17.890625 2.683594 18.617188 3.46875 C 19.355469 4.253906 19.867188 5.164062 20.1875 6.25 C 20.355469 6.8125 20.441406 7.46875 20.441406 8.199219 C 20.441406 8.859375 20.382812 9.457031 20.257812 10.210938 Z M 20.257812 10.210938 "/>\n  </g>\n  </svg>\n  '},Pi={name:"bandcamp",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 12 2.25 C 6.625 2.25 2.25 6.625 2.25 12 C 2.25 17.375 6.625 21.75 12 21.75 C 17.375 21.75 21.75 17.375 21.75 12 C 21.75 6.625 17.375 2.25 12 2.25 Z M 12 3.75 C 16.546875 3.75 20.25 7.453125 20.25 12 C 20.25 16.546875 16.546875 20.25 12 20.25 C 7.453125 20.25 3.75 16.546875 3.75 12 C 3.75 7.453125 7.453125 3.75 12 3.75 Z M 10.035156 9 L 7.039062 15 L 13.964844 15 L 16.964844 9 Z M 10.964844 10.5 L 14.535156 10.5 L 13.035156 13.5 L 9.464844 13.5 Z M 10.964844 10.5 "/>\n  </g>\n  </svg>'},Wi={name:"venmo",data:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">\n  <g id="surface1">\n  <path style=" stroke:none;fill-rule:nonzero;fill-opacity:1;" d="M 20.820312 1.5 L 3.292969 1.5 C 2.335938 1.5 1.5 2.1875 1.5 3.136719 L 1.5 20.699219 C 1.5 21.652344 2.335938 22.5 3.292969 22.5 L 20.816406 22.5 C 21.777344 22.5 22.5 21.648438 22.5 20.699219 L 22.5 3.136719 C 22.503906 2.1875 21.777344 1.5 20.820312 1.5 Z M 13.03125 18.140625 L 8.171875 18.140625 L 6.222656 6.488281 L 10.476562 6.085938 L 11.507812 14.375 C 12.46875 12.808594 13.660156 10.34375 13.660156 8.664062 C 13.660156 7.742188 13.5 7.117188 13.253906 6.601562 L 17.128906 5.816406 C 17.578125 6.558594 17.777344 7.316406 17.777344 8.28125 C 17.777344 11.351562 15.15625 15.339844 13.03125 18.140625 Z M 13.03125 18.140625 "/>\n  </g>\n  </svg>'},To={name:"cashapp",data:'<svg width="24px" height="24px" fill="currentColor" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>Cash App icon</title><path d="M23.59 3.47A5.1 5.1 0 0 0 20.54.42C19.23 0 18.04 0 15.62 0H8.36c-2.4 0-3.61 0-4.9.4A5.1 5.1 0 0 0 .41 3.46C0 4.76 0 5.96 0 8.36v7.27c0 2.41 0 3.6.4 4.9a5.1 5.1 0 0 0 3.05 3.05c1.3.41 2.5.41 4.9.41h7.28c2.41 0 3.61 0 4.9-.4a5.1 5.1 0 0 0 3.06-3.06c.41-1.3.41-2.5.41-4.9V8.38c0-2.41 0-3.61-.41-4.91zM17.42 8.1l-.93.93a.5.5 0 0 1-.67.01 5 5 0 0 0-3.22-1.18c-.97 0-1.94.32-1.94 1.21 0 .9 1.04 1.2 2.24 1.65 2.1.7 3.84 1.58 3.84 3.64 0 2.24-1.74 3.78-4.58 3.95l-.26 1.2a.49.49 0 0 1-.48.39H9.63l-.09-.01a.5.5 0 0 1-.38-.59l.28-1.27a6.54 6.54 0 0 1-2.88-1.57v-.01a.48.48 0 0 1 0-.68l1-.97a.49.49 0 0 1 .67 0c.91.86 2.13 1.34 3.39 1.32 1.3 0 2.17-.55 2.17-1.42 0-.87-.88-1.1-2.54-1.72-1.76-.63-3.43-1.52-3.43-3.6 0-2.42 2.01-3.6 4.39-3.71l.25-1.23a.48.48 0 0 1 .48-.38h1.78l.1.01c.26.06.43.31.37.57l-.27 1.37c.9.3 1.75.77 2.48 1.39l.02.02c.19.2.19.5 0 .68z"/></svg>'},po={name:"paypal",data:'<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M22 9.761c0 .536-.065 1.084-.169 1.627-.847 4.419-3.746 5.946-7.449 5.946h-.572c-.453 0-.838.334-.908.789l-.803 5.09c-.071.453-.456.787-.908.787h-2.736c-.39 0-.688-.348-.628-.732l1.386-8.88.062-.056h2.155c5.235 0 8.509-2.618 9.473-7.568.812.814 1.097 1.876 1.097 2.997zm-14.216 4.252c.116-.826.459-1.177 1.385-1.179l2.26-.002c4.574 0 7.198-2.09 8.023-6.39.8-4.134-2.102-6.442-6.031-6.442h-7.344c-.517 0-.958.382-1.038.901-2.304 14.835-2.97 18.607-3.038 19.758-.021.362.269.672.635.672h3.989l1.159-7.318z"/></svg>'},Jt={name:"google",data:'<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    \n  <title>google</title>\n  <desc>Created with sketchtool.</desc>\n  <g id="brand" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n      <g id="google" fill="currentColor" fill-rule="nonzero">\n          <path d="M11.99,13.9 L11.99,10.18 L21.35,10.18 C21.49,10.81 21.6,11.4 21.6,12.23 C21.6,17.94 17.77,22 12,22 C6.48,22 2,17.52 2,12 C2,6.48 6.48,2 12,2 C14.7,2 16.96,2.99 18.69,4.61 L15.85,7.37 C15.13,6.69 13.87,5.89 12,5.89 C8.69,5.89 5.99,8.64 5.99,12.01 C5.99,15.38 8.69,18.13 12,18.13 C15.83,18.13 17.24,15.48 17.5,13.91 L11.99,13.91 L11.99,13.9 Z" id="Shape"></path>\n      </g>\n  </g>\n</svg>'},Bt={name:"x_social",data:'<svg width="25" height="23" viewBox="0 0 25 23" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M0.94859 0.251404L10.2147 12.6411L0.890076 22.7144H2.98868L11.1524 13.8951L17.7484 22.7144H24.8901L15.1026 9.62785L23.7819 0.251404H21.6833L14.1649 8.37387L8.09022 0.251404H0.94859ZM4.03474 1.79724H7.31562L21.8034 21.1684H18.5226L4.03474 1.79724Z" fill="currentColor"/>\n    </svg>'},Wt={name:"threads",data:'<svg width="21" height="24" viewBox="0 0 21 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M16.0671 11.1235C15.9638 11.074 15.8587 11.0263 15.7524 10.9806C15.5671 7.56728 13.702 5.61312 10.5702 5.59312C10.556 5.59304 10.5419 5.59304 10.5278 5.59304C8.65455 5.59304 7.09664 6.39261 6.13775 7.84759L7.86012 9.0291C8.57645 7.94229 9.70065 7.7106 10.5286 7.7106C10.5381 7.7106 10.5477 7.7106 10.5572 7.71069C11.5884 7.71726 12.3665 8.01708 12.8701 8.60175C13.2366 9.02741 13.4817 9.61563 13.6031 10.358C12.6889 10.2026 11.7001 10.1548 10.6431 10.2154C7.66559 10.3869 5.75139 12.1235 5.87995 14.5365C5.94519 15.7605 6.55496 16.8135 7.59688 17.5014C8.4778 18.0829 9.61237 18.3673 10.7915 18.3029C12.3487 18.2175 13.5704 17.6234 14.4226 16.537C15.0699 15.712 15.4792 14.6429 15.66 13.2957C16.4021 13.7436 16.9521 14.333 17.2559 15.0415C17.7724 16.2459 17.8025 18.225 16.1876 19.8385C14.7728 21.252 13.072 21.8635 10.5017 21.8824C7.65052 21.8613 5.49422 20.9469 4.09226 19.1646C2.77944 17.4958 2.10096 15.0852 2.07565 12C2.10096 8.91473 2.77944 6.5042 4.09226 4.83534C5.49422 3.05311 7.65049 2.13875 10.5016 2.11756C13.3735 2.13891 15.5674 3.05767 17.023 4.8485C17.7368 5.7267 18.2749 6.8311 18.6296 8.11879L20.648 7.58028C20.218 5.99528 19.5414 4.62946 18.6206 3.49675C16.7545 1.20084 14.0253 0.0243935 10.5087 0H10.4946C6.9852 0.0243088 4.28651 1.20522 2.47354 3.50991C0.860237 5.5608 0.02805 8.41446 8.74996e-05 11.9916L0 12L8.74996e-05 12.0084C0.02805 15.5855 0.860237 18.4393 2.47354 20.4901C4.28651 22.7948 6.9852 23.9757 10.4946 24H10.5087C13.6288 23.9784 15.828 23.1615 17.6397 21.3514C20.0101 18.9833 19.9387 16.0149 19.1575 14.1926C18.597 12.8859 17.5284 11.8245 16.0671 11.1235ZM10.6801 16.1884C9.37506 16.2619 8.0193 15.6761 7.95245 14.4215C7.9029 13.4913 8.61448 12.4533 10.7601 12.3296C11.0059 12.3154 11.247 12.3085 11.4839 12.3085C12.2633 12.3085 12.9924 12.3842 13.6552 12.5291C13.408 15.6169 11.9577 16.1183 10.6801 16.1884Z" fill="currentColor"/>\n    </svg>'};class un{constructor(me){this._overlay=me}close(){this._overlay.dispose()}isVisible(){return this._overlay&&this._overlay.overlayElement}getPosition(){return this._overlay.overlayElement.getBoundingClientRect()}}const bn=["*"];let jt=(()=>{class b{set name(f){this._svgIcon&&this._element.nativeElement.removeChild(this._svgIcon);const k=this._iconService.getIcon(f);this._svgIcon=this._svgElementFromString(k),this._element.nativeElement.appendChild(this._svgIcon)}constructor(f,k,x){this._element=f,this._iconService=k,this._document=x}_svgElementFromString(f){const k=this._document.createElement("DIV");return k.innerHTML=f,k.querySelector("svg")||this._document.createElementNS("http://www.w3.org/2000/svg","path")}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(Xr),a.rXU(L.qQ,8))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-icon"]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.size)},inputs:{size:"size",name:"name"},ngContentSelectors:bn,decls:1,vars:0,template:function(k,x){1&k&&(a.NAR(),a.SdG(0))},styles:["[_nghost-%COMP%]{display:flex;justify-content:center;align-items:center;transform:scale(.5834)}[_nghost-%COMP%]   svg[_ngcontent-%COMP%]{width:inherit;height:inherit}.small[_nghost-%COMP%]{transform:scale(.5)}.large[_nghost-%COMP%]{transform:scale(1.25)}"],changeDetection:0})}return b})();const ka=(b,me)=>({slideIn:b,slideOut:me}),ja=(b,me)=>({value:b,params:me});function T(b,me){1&b&&(a.j41(0,"div",4),a.nrm(1,"root-icon",5),a.k0s())}function Vo(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"root-icon",7),a.k0s())}let Wr=(()=>{class b{constructor(f,k,x,ye){this._data=f,this._ref=k,this._iconService=x,this.animationState="default",this._iconService.registerIcons([g1,k0]),this.displayData=f,this.animation=ye.animation,this.iconType=f.type}ngOnInit(){this._intervalId=window.setTimeout(()=>this.animationState="closing",5e3)}ngOnDestroy(){clearTimeout(this._intervalId)}keepOpen(){clearTimeout(this._intervalId)}close(){this._intervalId=window.setTimeout(()=>this.animationState="closing",2e3)}onSlideFinished(f){const{toState:k}=f;"closing"===k&&"closing"===this.animationState&&this._ref.close()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Q),a.rXU(un),a.rXU(Xr),a.rXU(G))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-message"]],hostBindings:function(k,x){1&k&&a.bIt("mouseenter",function(){return x.keepOpen()})("mouseleave",function(){return x.close()})},decls:6,vars:10,consts:[[1,"inline-block","py-2.5","px-4","bg-white","rounded","shadow-ant-default","user-theme-snackbar"],[1,"flex","items-center"],["class","text-green-ui",4,"ngIf"],["class","text-red-base",4,"ngIf"],[1,"text-green-ui"],["name","check_circle"],[1,"text-red-base"],["name","x_circle"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.bIt("@slideAnimation.done",function(kt){return x.onSlideFinished(kt)}),a.j41(1,"div",1),a.DNE(2,T,2,0,"div",2)(3,Vo,2,0,"div",3),a.j41(4,"div"),a.EFF(5),a.k0s()()()),2&k&&(a.Y8G("@slideAnimation",a.l_i(7,ja,x.animationState,a.l_i(4,ka,x.animation.slideIn,x.animation.slideOut))),a.R7$(2),a.Y8G("ngIf","success"===x.iconType),a.R7$(),a.Y8G("ngIf","error"===x.iconType),a.R7$(2),a.JRh(x.displayData.text))},dependencies:[L.bT,jt],data:{animation:[jp.slideMessage]}})}return b})(),sr=(()=>{class b{constructor(f,k,x){this._overlay=f,this._parentInjector=k,this._messageConfig=x}show(f,k){const x=this.getPositionStrategy(),ye=this._overlay.create({positionStrategy:x,panelClass:k}),kt=new un(ye);this._lastMessage=kt;const zn=this.getInjector(f,kt,this._parentInjector),Fi=new et.A8(Wr,null,zn);return ye.attach(Fi),kt}getPositionStrategy(){return this._overlay.position().global().top(this.getPosition()).centerHorizontally()}getPosition(){let k=this._lastMessage&&this._lastMessage.isVisible()?this._lastMessage.getPosition().bottom:this._messageConfig.position.top;return k+=8,k+"px"}getInjector(f,k,x){return a.zZn.create({parent:x,providers:[{provide:un,useValue:k},{provide:Q,useValue:f}]})}static#e=this.\u0275fac=function(k){return new(k||b)(a.KVO(z.hJ),a.KVO(a.zZn),a.KVO(G))};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Xs=(()=>{class b{uploadFile(f){return(0,y.A)(function*(){return"https://api.lorem.space/image/face?w=200&h=200"})()}fileSizeValidation(f,k){return null}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const Rl={canUpdateFavicon:!0};let Pa=(()=>{class b{constructor(){this._count=0,this._status$=new de.t(Rl),this.status$=this._status$.asObservable()}importCustomFont(){return(0,y.A)(function*(){return null})()}addCardStyle(){var f=this;return(0,y.A)(function*(){return"Card "+ ++f._count})()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Ql=(()=>{class b{constructor(){this._slug="loading",this._slug$=new de.t("loading"),this.slugInfo$=this._slug$.asObservable().pipe((0,Ve.T)(f=>({rootUrl:null,referUrl:null,slug:f}))),this.currentSlug$=this._slug$.asObservable(),this.resize$=(0,Ee.H)([]),this.scroll$=(0,Ee.H)([]),this.isMobile$=(0,Ee.H)([!1])}forceSlug(f){this._slug=f,this._slug$.next(f)}get timezone(){return"UTC"}get history(){return null}get hostname(){return"Loading"}get currentSlug(){return this._slug}get currentHost(){return"Loading"}get currentSiteRootURL(){return"Loading"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),Ja=(()=>{class b{constructor(){}get canShare(){return!1}share({}){return(0,y.A)(function*(){return{shared:!1,error:"Sharing not supported in server environment."}})()}saveToICal(f,k){}saveToGoogleCalendar(f){}openContentShareSheet(f,k){}getUrlForLandingPage(f){return""}getEmbedCodeForLandingPage(f){return""}embedStringForType(f,k){return""}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();class I1{trackEventReferral(me,f){return Promise.resolve(null)}toggleSmsForContent(me,f,k){return Promise.resolve(null)}toggleEmailForContent(me,f,k){return Promise.resolve(null)}getUserContentForContent(me){return Promise.resolve(null)}subscribeToNewsletter(me,f,k){return Promise.resolve(null)}interactWithLink(me,f){return Promise.resolve(null)}unregisterForContent(me,f){return Promise.resolve(null)}registerForContent(me,f,k,x){return Promise.resolve(null)}}let eh=(()=>{class b{constructor(){}setCurrentUser(f){return null}get currentUser(){return null}constructApiUrl(f,k){return""}post(f,k,x,ye){return(0,y.A)(function*(){return null})()}put(f,k,x){return(0,y.A)(function*(){return null})()}patch(f,k,x){return(0,y.A)(function*(){return null})()}delete(f,k,x){return(0,y.A)(function*(){return null})()}get(f,k,x){return(0,y.A)(function*(){return null})()}get$(f,k,x){return null}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();const T3={textColor:"color",backgroundColor:"background-color",borderColor:"border-color",borderRadius:"border-radius",dropShadow:"box-shadow"};let e6=(()=>{class b{constructor(f){this._document=f,this._fontHashRegistry=new Set,this._googleFonts={},this._customFonts={},this.themes={}}ngOnDestroy(){this._removeFontStyleNode()}get fontStyleNode(){return this._innerFontStyleNode||(this._innerFontStyleNode=this._document.createElement("style"),this._documentHead.appendChild(this._innerFontStyleNode)),this._innerFontStyleNode}get _documentHead(){return this._document.head||this._document.getElementsByTagName("head")[0]}_isNumberValid(f){return null!=f&&f>-1}_removeFontStyleNode(){this._innerFontStyleNode&&(this._documentHead.removeChild(this._innerFontStyleNode),this._innerFontStyleNode=null)}_generateTextInputCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=!!f?.borderColor,zn=!!f?.dropShadow,Fi=this._isNumberValid(f?.borderRadius),no=[],fo=[],Sr=[],ts=[],Qr=[],Za=[],ma=[];x&&fo.push(`color: ${f.textColor};`),ye&&no.push(`background-color: ${f.backgroundColor};`),zn&&no.push(`box-shadow: ${f.dropShadow};`),Fi&&(Sr.push(`border-radius: ${f.borderRadius}px;`),ts.push(`border-top-right-radius: ${f.borderRadius}px;`,`border-bottom-right-radius: ${f.borderRadius}px;`),Qr.push(`border-top-right-radius: ${f.borderRadius}px;`,`border-bottom-right-radius: ${f.borderRadius}px;`),Za.push(`border-top-left-radius: ${f.borderRadius}px;`,`border-bottom-left-radius: ${f.borderRadius}px;`),ma.push(`border-top-left-radius: ${f.borderRadius}px;`,`border-bottom-left-radius: ${f.borderRadius}px;`)),zn&&(ts.push(`box-shadow: ${f.dropShadow};`),ma.push(`box-shadow: ${f.dropShadow};`)),kt&&(no.push(`border-color: ${f.borderColor};`),Za.push(`border-color: ${f.borderColor};`),Qr.push(`border-color: ${f.borderColor};`));let el="";return no.length&&(el+=`\n        ${k} .user-theme-input {\n          ${no.join(" ")}\n        }\n      `),fo.length&&(el+=`\n        ${k} .user-theme-input .user-theme-input-text {\n          ${fo.join(" ")}\n        }\n      `),Sr.length&&(el+=`\n        ${k} .user-theme-input:not(.user-theme-right-input):not(.user-theme-left-input) {\n          ${Sr.join(" ")}\n        }\n      `),ts.length&&(el+=`\n        ${k} .user-theme-input-group .user-theme-button-primary {\n          ${ts.join(" ")}\n        }\n      `),Qr.length&&(el+=`\n        ${k} .user-theme-input-group .user-theme-right-input {\n          ${Qr.join(" ")}\n        }\n      `),Za.length&&(el+=`\n        ${k} .user-theme-input-group .user-theme-left-input {\n          ${Za.join(" ")}\n        }\n      `),ma.length&&(el+=`\n        ${k} .user-theme-input-group .user-theme-left-select {\n          ${ma.join(" ")}\n        }\n      `),el}_generateTooltipCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=!!f?.borderColor,zn=!!f?.dropShadow,Fi=this._isNumberValid(f?.borderRadius),no=[`border-width: ${f?.borderColor?1:0}px;`],fo=[],Sr=[];x&&no.push(`color: ${f.textColor};`),ye&&(no.push(`background-color: ${f.backgroundColor};`),kt||(fo.push(`border-color: transparent transparent ${f.backgroundColor} transparent;`),Sr.push(`border-color: ${f.backgroundColor} transparent transparent transparent;`))),kt&&(no.push(`border-color: ${f.borderColor};`),fo.push(`border-color: transparent transparent ${f.borderColor} transparent;`),Sr.push(`border-color: ${f.borderColor} transparent transparent transparent;`)),Fi&&no.push(`border-radius: ${f.borderRadius}px;`),zn&&no.push(`box-shadow: ${f.dropShadow};`);let ts="";return no.length&&(ts+=`\n        ${k} .user-theme-tooltip {\n          ${no.join(" ")}\n        }\n      `),fo.length&&(ts+=`\n        ${k}.user-theme-tooltip-top-arrow-wrapper .user-theme-tooltip-top-arrow {\n          ${fo.join(" ")}\n        }\n      `),Sr.length&&(ts+=`\n        ${k}.user-theme-tooltip-bottom-arrow-wrapper .user-theme-tooltip-bottom-arrow {\n          ${Sr.join(" ")}\n        }\n      `),ts}_generateCheckboxCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=!!f?.borderColor,zn=!!f?.dropShadow,Fi=this._isNumberValid(f?.borderRadius),no=[],fo=[],Sr=[],ts=[],Qr=[],Za=[];x&&Sr.push(`border-color: ${f.textColor} !important;`),ye&&fo.push(`background-color: ${f.backgroundColor} !important;`,`border-color: ${f.backgroundColor} !important;`),Fi&&no.push(`border-radius: ${f.borderRadius}px !important;`),zn&&no.push(`box-shadow: ${f.dropShadow};`),kt&&(ts.push(`border-color: ${f.borderColor} !important;`),Qr.push(`border-color: ${f.borderColor} !important;`),Za.push(`border-color: ${f.borderColor} !important;`)),Fi&&Za.push(`border-radius: ${f.borderRadius}px !important;`);let ma="";return no.length&&(ma+=`\n        ${k} .user-theme-checkbox-inner {\n          ${no.join(" ")}\n        }\n      `),fo.length&&(ma+=`\n        ${k} .user-theme-checkbox-checked .user-theme-checkbox-inner {\n          ${fo.join(" ")}\n        }\n      `),Sr.length&&(ma+=`\n        ${k} .user-theme-checkbox-checked .user-theme-checkbox-inner:after  {\n          ${Sr.join(" ")}\n        }\n      `),ts.length&&(ma+=`\n        ${k} .user-theme-checkbox-wrapper:hover .user-theme-checkbox-inner {\n          ${ts.join(" ")}\n        }\n      `),Qr.length&&(ma+=`\n        ${k} .user-theme-checkbox-input:focus + .user-theme-checkbox-inner {\n          ${Qr.join(" ")}\n        }\n      `),Za.length&&(ma+=`\n        ${k} .user-theme-checkbox-checked:after {\n          ${Za.join(" ")}\n        }\n      `),ma}_generateCardCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=this._isNumberValid(f?.borderRadius),zn=!!f?.textPosition,Fi=!!f?.imagePosition;let no="";ye&&(no+=`\n        ${k} .card-style-on-hover:hover {\n          background-color: ${f.backgroundColor};\n        }\n\n        ${k} .user-theme-button-ghost:hover {\n          background-color: ${f.backgroundColor};\n        }\n      `),x&&(no+=`\n        ${k} .card-style-on-hover:hover {\n          color: ${f.textColor};\n        }\n\n        ${k} .card-text-color,\n        ${k} .card-text-color p,\n        ${k} .card-text-color ul,\n        ${k} .card-text-color ol,\n        ${k} .card-text-color h1,\n        ${k} .card-text-color h2,\n        ${k} .card-text-color h3,\n        ${k} .card-text-color h4,\n        ${k} .card-text-color h5,\n        ${k} .card-text-color h6,\n        ${k} .user-theme-tag-text,\n        ${k} form,\n        ${k} .user-theme-purchase-complete,\n        ${k} .payment-form-container,\n        ${k} .payment-form-container label {\n          color: ${f.textColor};\n        }\n\n        ${k} .user-theme-button-ghost:hover {\n          color: ${f.textColor};\n        }\n\n        ${k} .user-theme-button-card-ghost:hover {\n          background-color: ${"#ffffff"===f.textColor&&f?.backgroundColor?f.backgroundColor:""};\n        }\n\n        ${k} path.user-theme-card-text-color-fill {\n          fill: ${f.textColor};\n        }\n\n        ${k} path.user-theme-card-text-color-stroke,\n        ${k} rect.user-theme-card-text-color-stroke {\n          stroke: ${f.textColor};\n        }\n      `),kt&&(no+=`\n        ${k} .user-theme-alert {\n          border-radius: ${f.borderRadius}px;\n        }\n      `);const fo=this.generateCardCSSProperties(f);if(fo.length&&(no+=`\n        ${k} .user-theme-card,\n        ${k} .user-theme-tag,\n        ${k} .modal-overlay-panel,\n        ${k} .card-border-style {\n          ${fo.join(" ")}\n        }\n      `),Fi)switch(f.imagePosition){case"top":no+=`\n            ${k} .user-theme-card-image-position {\n              flex-direction: column;\n              align-items: stretch;\n            }\n            ${k} .user-theme-card-avatar {\n              flex: 0 0 auto;\n              margin: 0;\n            }\n          `;break;case"right":no+=`\n            ${k} .user-theme-card-image-position {\n              flex-direction: row-reverse;\n            }\n            ${k} .user-theme-card-avatar {\n              margin-right: 16px;\n              margin-left: 0;\n            }\n          `;break;case"bottom":no+=`\n            ${k} .user-theme-card-image-position {\n              flex-direction: column-reverse;\n              align-items: stretch;\n            }\n            ${k} .user-theme-card-avatar {\n              flex: 0 0 auto;\n              margin: 0;\n            }\n          `}if(zn)switch(f.textPosition){case"left":no+=`\n            ${k} .user-theme-card-text-alignment {\n              text-align: left;\n            }\n          `;break;case"right":no+=`\n            ${k} .user-theme-card-text-alignment {\n              text-align: right;\n            }\n          `;break;case"center":no+=`\n            ${k} .user-theme-card-text-alignment {\n              text-align: center;\n            }\n          `}return no}_generateFontSectionCSS(f,k,x){if(!f||!k?.length)return"";const ye=[];return f?.fontSize&&ye.push(`font-size: ${f.fontSize}px;`),f?.fontFamily?ye.push(`font-family: ${f.fontFamily};`):x?.fonts?.font?.fontFamily&&ye.push(`font-family: ${x?.fonts?.font?.fontFamily};`),ye.length?`${k.join(" ")} { ${ye.join("")} }`:""}_generateFontCSS(f,k){let x="";const ye=f?.fonts;if(ye){const kt=Object.keys(ye).reduce((zn,Fi)=>("font"!==Fi&&zn.push(this._generateFontSectionCSS(ye[Fi],[k,Fi],f)),zn),[]);x=`\n        ${kt.length?kt.join(""):""}\n        ${this._generateFontSectionCSS(ye.p,[k,"ul"],f)}\n        ${this._generateFontSectionCSS(ye.p,[k,"ol"],f)}\n      `}return x}_generateGhostButtonCSS(f,k){const x=this._isNumberValid(f?.button?.borderRadius),ye=!!f?.card?.textColor,kt=!!f?.text?.color,zn=[],Fi=[];x&&(zn.push(`border-radius: ${f.button.borderRadius}px;`),Fi.push(`border-radius: ${f.button.borderRadius}px;`)),ye&&zn.push(`color: ${f.card.textColor};`),kt&&Fi.push(`color: ${f?.text?.color};`);let no="";return zn.length&&(no+=`\n        ${k} .user-theme-button-card-ghost {\n          ${zn.join(" ")}\n        }\n      `),Fi.length&&(no+=`\n        ${k} .user-theme-button-ghost {\n          ${Fi.join(" ")}\n        }\n      `),no}_generateTextColorCSS(f,k){let x="";return f&&(x=`\n        ${k} .text-color,\n        ${k} .text-color p,\n        ${k} .text-color ul,\n        ${k} .text-color ol,\n        ${k} .text-color h1,\n        ${k} .text-color h2,\n        ${k} .text-color h3,\n        ${k} .text-color h4,\n        ${k} .text-color h5,\n        ${k} .text-color h6 {\n          color: ${f};\n        }\n\n        ${k} path.user-theme-text-color-fill {\n          fill: ${f};\n        }\n      `),x}_generateLinkCSS(f,k){let x="";return f?.link?.textColor&&(x+=`\n        ${k} p a,\n        ${k} h1 a,\n        ${k} h2 a,\n        ${k} h3 a,\n        ${k} h4 a,\n        ${k} h5 a,\n        ${k} h6 a,\n        ${k} ul > a,\n        ${k} ol > a {\n          color: ${f.link.textColor};\n        }\n      `),f?.link?.hoverTextColor&&(x+=`\n        ${k} p a:hover,\n        ${k} h1 a:hover,\n        ${k} h2 a:hover,\n        ${k} h3 a:hover,\n        ${k} h4 a:hover,\n        ${k} h5 a:hover,\n        ${k} h6 a:hover,\n        ${k} ul > a:hover,\n        ${k} ol > a:hover {\n          color: ${f.link.hoverTextColor};\n        }\n      `),x}_generatePrimaryButtonCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=!!f?.borderColor,zn=!!f?.dropShadow,Fi=this._isNumberValid(f?.borderRadius),no=this._isNumberValid(f?.borderWidth),fo=!!f?.hoverBackgroundColor,Sr=!!f?.hoverBorderColor,ts=!!f?.hoverTextColor,Qr=[],Za=[],ma=[],el=[],Td=[],j0=[],y8=[];x&&el.push(`color: ${f.textColor};`),ts&&Td.push(`color: ${f.hoverTextColor};`),ye&&Za.push(`background-color: ${f.backgroundColor};`),fo&&ma.push(`background-color: ${f.hoverBackgroundColor};`),Fi&&Qr.push(`border-radius: ${f.borderRadius}px;`),kt&&Za.push(`border-color: ${f.borderColor};`),Sr&&(ma.push(`border-color: ${f.hoverBorderColor};`),j0.push(`border-color: ${f.hoverBorderColor};`),y8.push(`border-color: ${f.hoverBorderColor};`)),zn&&Qr.push(`box-shadow: ${f.dropShadow};`),no&&Za.push(`border-width: ${f.borderWidth};`);let $u="";return Qr.length&&($u+=`\n        ${k} .user-theme-button:not(.user-theme-button-adjacent-input) > .user-theme-button-primary {\n          ${Qr.join(" ")}\n        }\n      `),Za.length&&($u+=`\n        ${k} .user-theme-button-primary {\n          ${Za.join(" ")}\n        }\n      `),ma.length&&($u+=`\n        ${k} .user-theme-button-primary:hover:not(:disabled) {\n          ${ma.join(" ")}\n        }\n      `),el.length&&($u+=`\n        ${k} .user-theme-button-primary > .user-theme-button-text {\n          ${el.join(" ")}\n        }\n      `),Td.length&&($u+=`\n        ${k} .user-theme-button-primary:hover:not(:disabled) > .user-theme-button-text {\n          ${Td.join(" ")}\n        }\n      `),j0.length&&($u+=`\n        ${k} .user-theme-input-group .user-theme-left-input:hover {\n          ${j0.join(" ")}\n        }\n      `),y8.length&&($u+=`\n        ${k} .user-theme-input-group .user-theme-right-input:hover  {\n          ${y8.join(" ")}\n        }\n      `),$u}_generateSecondaryButtonCSS(f,k){const x=!!f?.textColor,ye=!!f?.backgroundColor,kt=!!f?.borderColor,zn=!!f?.dropShadow,Fi=this._isNumberValid(f?.borderRadius),no=this._isNumberValid(f?.borderWidth),fo=!!f?.hoverBackgroundColor,Sr=!!f?.hoverBorderColor,ts=!!f?.hoverTextColor,Qr=[],Za=[],ma=[],el=[];ye&&Qr.push(`background-color: ${f.backgroundColor} !important;`),fo&&Za.push(`background-color: ${f.hoverBackgroundColor} !important;`),x&&ma.push(`color: ${f.textColor};`),ts&&el.push(`color: ${f.hoverTextColor};`),Sr&&Za.push(`border-color: ${f.hoverBorderColor};`),kt&&Qr.push(`border-color: ${f.borderColor};`),no&&Qr.push(`border-width: ${f.borderWidth} !important;`),zn&&Qr.push(`box-shadow: ${f.dropShadow};`),Fi&&Qr.push(`border-radius: ${f.borderRadius}px;`);let Td="";return Qr.length&&(Td+=`\n        ${k} .user-theme-button-secondary {\n          ${Qr.join(" ")}\n        }\n      `),Za.length&&(Td+=`\n        ${k} .user-theme-button-secondary:hover:not(:disabled) {\n          ${Za.join(" ")}\n        }\n      `),ma.length&&(Td+=`\n        ${k} .user-theme-button-secondary > .user-theme-button-text  {\n          ${ma.join(" ")}\n        }\n      `),el.length&&(Td+=`\n        ${k} .user-theme-button-secondary:hover:not(:disabled) > .user-theme-button-text {\n          ${el.join(" ")}\n        }\n      `),Td}_generateControlCSS(f,k){if(!f||!k?.length)return"";const x=Object.keys(f).reduce((ye,kt)=>{if(f[kt]){let zn=`${T3[kt]}: ${f[kt]}`;zn+="borderRadius"===kt?"px;":";",ye.push(zn)}return ye},[]);return x.length?`${k.join(" ")} { ${x.join("")} }`:""}_updateFontRegistry(f){if(!f?.fonts||this._fontHashRegistry.has(f.fonts.hash))return!1;const k=["font","h1","h2","h3","h4","h5","h6","p"].map(ye=>f.fonts[ye]);let x=!1;for(let ye=0;ye<k.length;ye++){const kt=k[ye];if(kt?.importUrl)if(kt.importUrl.startsWith("https://fonts.googleapis.com")&&!this._googleFonts[kt.importUrl])this._googleFonts[kt.importUrl]=kt,x=!0;else if(!this._customFonts[kt.importUrl]){const zn=Object.values(this._customFonts).find(Fi=>kt.displayName===Fi.displayName);zn&&delete this._customFonts[zn.importUrl],this._customFonts[kt.importUrl]=kt,x=!0}}return this._fontHashRegistry.add(f.fonts.hash),x}_generateFontDefinitions(f){const k=Object.values(this._googleFonts).map(ye=>`@import url('${ye?.importUrl}');`),x=Object.values(this._customFonts).map(ye=>`@font-face {\n          font-family: "${ye?.fontFamily?.replace(/'/g,"")??"Custom font"}";\n          src: url('${ye?.importUrl}');\n        }`);return`${k.join(" ")} ${x.join(" ")}`.trim().replace(/\s+/g," ")}generateCardTextColor(f){return f?.textColor?`color: ${f.textColor};`:""}generateCardCSSProperties(f){const k=!!f?.backgroundColor,x=!!f?.borderColor,ye=!!f?.dropShadow,kt=this._isNumberValid(f?.borderRadius),zn=this._isNumberValid(f?.borderWidth),Fi=[];return k&&Fi.push(`background-color: ${f.backgroundColor};`),kt&&Fi.push(`border-radius: ${f.borderRadius}px !important;`),x&&Fi.push(`border-color: ${f.borderColor} !important;`),ye&&Fi.push(`box-shadow: ${f.dropShadow};`),zn&&Fi.push(`border-width: ${f.borderWidth}px !important;`),Fi}generateButtonCSSProperties(f){const k=!!f?.backgroundColor,x=!!f?.borderColor,ye=!!f?.textColor,kt=!!f?.dropShadow,zn=this._isNumberValid(f?.borderRadius),Fi=this._isNumberValid(f?.borderWidth),no=[];return k&&no.push(`background-color: ${f.backgroundColor};`),ye&&no.push(`color: ${f.textColor};`),zn&&no.push(`border-radius: ${f.borderRadius}px !important;`),x&&no.push(`border-color: ${f.borderColor} !important;`),kt&&no.push(`box-shadow: ${f.dropShadow};`),Fi&&no.push(`border-width: ${f.borderWidth}px !important;`),no}removeCachedTheme(f){delete this.themes[f]}generateCSSFromTheme(f,k=".norby-themed"){if(!f||!k?.length)return"";this.themes[k]||(this.themes[k]=f);let x="";const zn=f.fonts?.font,Fi=k.replace(/\s/g,"");return zn&&zn.importUrl&&zn.fontFamily&&(x+=`\n        ${k} h1,\n        ${k} h2,\n        ${k} h3,\n        ${k} h4,\n        ${k} h5,\n        ${k} h6,\n        ${k} p,\n        ${k} ul,\n        ${k} ol,\n        ${k} input,\n        ${k} select,\n        ${k} textarea,\n        ${k} div,\n        ${k} .user-theme-button-text,\n        ${Fi} .user-theme-tooltip-text,\n        ${k} .user-theme-tag,\n        ${k} .user-theme-card,\n        ${k} .user-theme-alert {\n          font-family: ${zn.fontFamily};\n        }\n      `),`\n      ${x}\n      \n      ${this._generateControlCSS(f?.dropdown,[Fi,".user-theme-dropdown"])}\n      ${this._generateControlCSS(f?.select,[k,".user-theme-select"])}\n      ${this._generateControlCSS(f?.snackbar,[Fi,".user-theme-snackbar"])}\n      ${this._generateTextInputCSS(f?.textInput,k)}\n      ${this._generateTooltipCSS(f?.tooltip,Fi)}\n      ${this._generateCheckboxCSS(f?.checkbox,k)}\n      ${this._generateCardCSS(f?.card,k)}\n      ${this._generateFontCSS(f,k)}\n      ${this._generateGhostButtonCSS(f,k)}\n      ${this._generateTextColorCSS(f?.text?.color,k)}\n      ${this._generateLinkCSS(f,k)}\n      ${this._generatePrimaryButtonCSS(f?.button,k)}\n      ${this._generateSecondaryButtonCSS(f?.secondaryButton,k)}\n    `.replace(/\s+/g," ")}updateFontImportsAndDefinitions(f){if(f?.fonts&&this._document&&this._documentHead&&this._updateFontRegistry(f)){const x=this._generateFontDefinitions(f),ye=this._document.createTextNode(x);for(this.fontStyleNode.appendChild(ye);this.fontStyleNode.firstChild&&this.fontStyleNode.firstChild!==ye;)this.fontStyleNode.removeChild(this.fontStyleNode.firstChild)}}static#e=this.\u0275fac=function(k){return new(k||b)(a.KVO(L.qQ))};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),K2=(()=>{class b{constructor(f){this._message=f}formatError(f){let k;return f instanceof pe.yz?(k=f?.error?.message??f?.error?.error,Array.isArray(f?.error?.message)&&(k=f.error.message.join(", "))):k=f?.message,k}displayError(f){this._message.show({text:this.formatError(f),type:ud.ERROR})}static#e=this.\u0275fac=function(k){return new(k||b)(a.KVO(sr))};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),pm=(()=>{class b{track(f,k,x,ye){throw new Error("Method not implemented.")}identify(f,k,x,ye){throw new Error("Method not implemented.")}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),jg=(()=>{class b{launchEventDropAnalyticsViewer(f,k){return Promise.resolve(null)}launchCampaignAnalytics(f){return Promise.resolve(null)}launchLinkClicksDetail(f,k,x){}launchLinkAnalyticsViewer(f){return Promise.resolve(null)}launchPageAnalyticsViewer(f){return Promise.resolve(null)}launchSendTestFormDialog(f){return Promise.resolve(null)}launchContentTestFormDialog(f){return Promise.resolve(null)}launchCreateOrEditSignupFlow({}){return Promise.resolve(null)}launchEditSendFlow({}){return Promise.resolve(null)}launchCreateOrEditEventFlow({}){return Promise.resolve(null)}launchCreateOrEditLinkFlow({}){return Promise.resolve(null)}launchCreateOrEditLandingPageFlow({}){return Promise.resolve(null)}launchEventCancelMessageBoxDialog(f){}launchDropPreview(f){}launchCollectionPreview(f){}launchSendPreview({}){}launchNotificationPreview({}){}launchEventPreview(f){}launchEventPublishedDialog(){return Promise.resolve(null)}launchSignupPublishedDialog(){return Promise.resolve(null)}launchEventAddTicketDialog(f){return Promise.resolve(null)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),fm=(()=>{class b{searchContacts(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}searchContent(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}searchContactLists(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}searchSends(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}searchExampleQuestions(f){return(0,y.A)(function*(){return null})()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),S3=(()=>{class b{startConversation(f){return Promise.resolve(null)}replyToConversation(f,k){return Promise.resolve(null)}shortenMessage(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}getConversations(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}getConversationMessagesById(f){return(0,y.A)(function*(){return Promise.resolve(null)})()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})(),mm=(()=>{class b{constructor(){this.getEvents=function(){var f=(0,y.A)(function*(k){return null});return function(k){return f.apply(this,arguments)}}(),this.addContentToSend=function(){var f=(0,y.A)(function*(k){return Promise.resolve(null)});return function(k){return f.apply(this,arguments)}}(),this.getWebHostedSendById$=({})=>(0,Ee.H)([null]),this.addContentToSend$=f=>(0,Ee.H)([null])}getConversationMessage({}){return Promise.resolve(null)}getConversationMessage$(f){return(0,Ee.H)([null])}getContent$(f){return(0,Ee.H)([null])}getContent(f){return Promise.resolve(null)}getEventsForCurrentSlug$(f){return(0,Ee.H)([null])}getPaymentIntentSecret(f,k,x,ye){return Promise.resolve(null)}getPaymentIntentEstimate(f,k,x,ye){return Promise.resolve(null)}getWebHostedSendById({}){return Promise.resolve(null)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275prov=a.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();class M0{removeUserFromContent(me,f){return null}sendTestSingleSendMessage({}){return Promise.resolve(null)}sendTestContentMessage({}){return Promise.resolve(null)}sendTestMessage({}){return Promise.resolve(null)}generateSampleCopy(me){return Promise.resolve(null)}editLandingPage(me,f,k){return Promise.resolve(null)}createLandingPage(me){return Promise.resolve(null)}deleteLandingPage(me){return null}requestEventDuplicate(me){return Promise.resolve(null)}requestDropDuplicate(me){return Promise.resolve(null)}toggleUserJoinStatus(me,f,k){return null}fetchNotificationDefaults(me){return Promise.resolve(null)}editLink(me,f){return Promise.resolve(null)}createLink(me,f){return Promise.resolve(null)}deleteLink(me){return null}editEvent(me,f){return Promise.resolve(null)}createEvent(me){return Promise.resolve(null)}deleteEvent(me){return null}editSignup(me,f,k){return Promise.resolve(null)}createSignup(me){return Promise.resolve(null)}deleteSignup(me){return Promise.resolve(null)}getContentReferrerSummaries$(me){return(0,Ee.H)([null])}getContentReferrals$({}){return(0,Ee.H)([null])}getRsvpCsvUrl({}){return null}getRsvps(me){return Promise.resolve(null)}cancelDrop(me,f){return null}cancelEvent(me,f){return null}setContentRegistrationSenderSettings(me,f,k){return null}getContentMetadata$(me){return(0,Ee.H)([null])}getContentMetadata(me){return Promise.resolve(null)}getSlugCollection$({}){return(0,Ee.H)([null])}getLandingPagesForCurrentSlug({}){return Promise.resolve(null)}getLandingPagesForCurrentSlug$({}){return(0,Ee.H)([null])}getLinksCollection$({}){return(0,Ee.H)([null])}getLinksForCurrentSlug$({}){return(0,Ee.H)([null])}getDropsCollection$({}){return(0,Ee.H)([null])}getDropsForCurrentSlug$({}){return(0,Ee.H)([null])}uploadImageFromUrl(me,f){return Promise.resolve(null)}}let Q2=(()=>{class b{constructor(){this.isDisabled=!1,this.onButtonClicked=new a.bkB}handleButtonClick(){this.onButtonClicked.emit(this.commandName||this.iconName)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-fab"]],inputs:{iconName:"iconName",commandName:"commandName",isDisabled:"isDisabled"},outputs:{onButtonClicked:"onButtonClicked"},decls:2,vars:2,consts:[["type","button",1,"rounded-full","bg-neutral-900","text-white",3,"click","disabled"],[3,"name"]],template:function(k,x){1&k&&(a.j41(0,"button",0),a.bIt("click",function(){return x.handleButtonClick()}),a.nrm(1,"norby-icon",1),a.k0s()),2&k&&(a.Y8G("disabled",x.isDisabled),a.R7$(),a.Y8G("name",x.iconName))},dependencies:[qi]})}return b})();function _m(b,me){1&b&&(a.j41(0,"span",5),a.EFF(1,"Required"),a.k0s())}function E3(b,me){if(1&b&&a.nrm(0,"norby-icon",6),2&b){const f=a.XpG(2);a.Y8G("rootTooltip",f.infoTooltip)}}function ym(b,me){if(1&b&&(a.j41(0,"label",1),a.EFF(1),a.DNE(2,_m,2,0,"span",2),a.j41(3,"div",3),a.DNE(4,E3,1,1,"norby-icon",4),a.k0s()()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.label," "),a.R7$(),a.Y8G("ngIf",f.isRequired),a.R7$(2),a.Y8G("ngIf",f.infoTooltip)}}let Fd=(()=>{class b{constructor(){this.isRequired=!1}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-formcontrol-label"]],inputs:{label:"label",infoTooltip:"infoTooltip",isRequired:"isRequired"},decls:1,vars:1,consts:[["class","form-label pb-2 flex flex-row items-center text-neutral-800 text-xs card-text-color",4,"ngIf"],[1,"form-label","pb-2","flex","flex-row","items-center","text-neutral-800","text-xs","card-text-color"],["class","text-xs ml-2 text-neutral-600",4,"ngIf"],[1,"text-mustard"],["name","help-circle",3,"rootTooltip",4,"ngIf"],[1,"text-xs","ml-2","text-neutral-600"],["name","help-circle",3,"rootTooltip"]],template:function(k,x){1&k&&a.DNE(0,ym,5,3,"label",0),2&k&&a.Y8G("ngIf",x.label)},dependencies:[L.bT,qi,lc]})}return b})();const bm=["captchaRef"];let dl=(()=>{class b extends Sa{constructor(){super(...arguments),this._viewContainer=(0,a.WQX)(a.c1b)}ngOnInit(){this._initializeCaptcha()}_initializeCaptcha(){this.componentRef=this._viewContainer.createComponent(uc)}executeCaptcha(){this.componentRef.instance.captchaRef.execute();const f=(0,qe._)(this.componentRef.instance.resolved$);return this._initializeCaptcha(),f}static#e=this.\u0275fac=(()=>{let f;return function(x){return(f||(f=a.xGo(b)))(x||b)}})();static#t=this.\u0275dir=a.FsC({type:b,features:[a.Vt3]})}return b})(),uc=(()=>{class b{constructor(){this._resolved$=new se.B,this.resolved$=this._resolved$.asObservable()}handleResolved(f){this._resolved$.next(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["ng-component"]],viewQuery:function(k,x){if(1&k&&a.GBs(bm,7),2&k){let ye;a.mGM(ye=a.lsd())&&(x.captchaRef=ye.first)}},standalone:!0,features:[a.aNF],decls:2,vars:0,consts:[["captchaRef",""],["size","invisible",3,"resolved"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"re-captcha",1,0),a.bIt("resolved",function(zn){return a.eBV(ye),a.Njj(x.handleResolved(zn))}),a.k0s()}},dependencies:[Oe.cm,Oe.J],encapsulation:2})}return b})();class Cm extends Sa{constructor(){super(),this._modalData=(0,a.WQX)(it.or),this._modalData&&Object.keys(this._modalData).forEach(me=>{const f=this._modalData[me];void 0!==f&&(this[me]=f)})}}let wm=(()=>{class b extends Sa{constructor(){super(...arguments),this._document=(0,a.WQX)(L.qQ)}ngOnInit(){this.setDocumentScrollable(!1)}ngOnDestroy(){super.ngOnDestroy(),this.setDocumentScrollable(!0)}setDocumentScrollable(f=!0){const k=f?"visible":"hidden",x=f?"auto":"none";this._document.body.style.overflow=k,this._document.body.style.overscrollBehavior=x,this._document.documentElement.style.overflow=k,this._document.documentElement.style.overscrollBehavior=x}static#e=this.\u0275fac=(()=>{let f;return function(x){return(f||(f=a.xGo(b)))(x||b)}})();static#t=this.\u0275dir=a.FsC({type:b,features:[a.Vt3]})}return b})();const Tm=["textarea"];function M3(b,me){if(1&b&&(a.j41(0,"span",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Lme(" ",f.val&&f.val.length||f.value&&f.value.length||0,"/",f.maxLength," ")}}let Sm=(()=>{class b extends Sa{constructor(){super(),this.isDisabled=!1,this.isRequired=!1,this.readonly=!1,this.autoSize=!1,this.val="",this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnChanges(f){f.value&&(this.val=this.value),this.textarea&&f.autoSize&&f.autoSize.previousValue!==f.autoSize.currentValue&&(this.autoSize?this._initAutoSize():this._removeAutoSize())}ngAfterViewInit(){this.autoSize&&this._initAutoSize()}_initAutoSize(){const f=this.textarea.nativeElement;f.setAttribute("style",`height: ${f.scrollHeight}px;overflow-y:hidden;`),f.addEventListener("input",km,!1)}_removeAutoSize(){const f=this.textarea.nativeElement;f.removeAttribute("style"),f.removeEventListener("input",km,!1)}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}writeValue(f){this.val=f}handleKeyup(f){this.val=f.value,this._onChanged(f.value),this._markAsTouched()}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-text-area"]],viewQuery:function(k,x){if(1&k&&a.GBs(Tm,5),2&k){let ye;a.mGM(ye=a.lsd())&&(x.textarea=ye.first)}},inputs:{label:"label",placeholder:"placeholder",helperText:"helperText",infoTooltip:"infoTooltip",maxLength:"maxLength",value:"value",isDisabled:"isDisabled",isRequired:"isRequired",readonly:"readonly",rows:"rows",autoSize:"autoSize"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3,a.OA$],decls:8,vars:12,consts:[["textarea",""],[1,"mb-3","w-full"],[3,"label","infoTooltip","isRequired"],[1,"form-control","text-base","block","transition","ease-in-out","outline-none","w-full","h-12","px-3","pb-4","pt-3.5","border","rounded-sm","bg-white","disabled:bg-neutral-50","text-neutral-800","disabled:text-neutral-500","border-neutral-300","hover:border-neutral-500","focus:border-mustard","disabled:border-neutral-300","min-h-20",3,"keyup","value","disabled","required","readonly","placeholder","rows"],[1,"flex","justify-between"],[3,"helperText"],["class","text-xs text-neutral-700 float-right",4,"ngIf"],[1,"text-xs","text-neutral-700","float-right"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",1),a.nrm(1,"norby-formcontrol-label",2),a.j41(2,"textarea",3,0),a.bIt("keyup",function(zn){return a.eBV(ye),a.Njj(x.handleKeyup(zn.target))}),a.EFF(4,"  "),a.k0s(),a.j41(5,"div",4),a.nrm(6,"norby-helpertext",5),a.DNE(7,M3,2,2,"span",6),a.k0s()()}2&k&&(a.R7$(),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.isRequired),a.R7$(),a.Y8G("value",x.val||x.value||"")("disabled",x.isDisabled)("required",x.isRequired)("readonly",x.readonly)("placeholder",x.placeholder?x.placeholder:"")("rows",x.rows),a.BMQ("maxlength",x.maxLength),a.R7$(4),a.Y8G("helperText",x.helperText),a.R7$(),a.Y8G("ngIf",!!x.maxLength))},dependencies:[L.bT,Fd,Ec],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}[_ngcontent-%COMP%]::placeholder{color:#c1c4d6;opacity:1}[_ngcontent-%COMP%]:hover::placeholder{color:#8f9fb2;opacity:1}"]})}return b})();function km(){this.style.height="auto",this.style.height=this.scrollHeight+"px"}function t6(b,me){if(1&b&&a.nrm(0,"norby-text-area",12),2&b){const f=a.XpG();a.Y8G("isDisabled",f.isDisabled)}}let Yg=(()=>{class b{constructor(f){this._formBuilder=f,this.isDisabled=!1,this.isAltTextDisabled=!1,this.onImageChange=new a.bkB,this.onImageDelete=new a.bkB}ngOnInit(){this.imageCopy={...this.image},this._initForm()}_initForm(){this.formGroup=this._formBuilder.group({altText:[this.imageCopy?.altText]})}handleSaveButtonClick(){this.imageCopy.altText=this.formGroup.value.altText,this.onImageChange.emit(this.imageCopy)}handleDeleteButtonClick(){this.isDisabled||this.onImageDelete.emit(this.imageCopy)}handleCancelButtonClick(){this.onImageChange.emit(this.image)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.ze))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-image-edit-dialog"]],inputs:{image:"image",isDisabled:"isDisabled",isAltTextDisabled:"isAltTextDisabled"},outputs:{onImageChange:"onImageChange",onImageDelete:"onImageDelete"},decls:13,vars:4,consts:[[1,"bg-white","rounded","shadow","p-4","flex","flex-col","gap-4","transition","ease-in-out","w-78"],[3,"formGroup"],[1,"flex","flex-row","gap-4","w-full"],[1,"object-cover","w-24","h-24","rounded",3,"src"],["class","mt-4 w-50","label","Alt text","placeholder","Add alt text","formControlName","altText",3,"isDisabled",4,"ngIf"],[1,"w-full","flex","items-center","justify-between"],["nz-popconfirm","","nzPopconfirmTitle","Are you sure?","nzOkText","Delete",1,"flex","flex-row","items-center","cursor-pointer",3,"nzOnConfirm"],["name","trash"],[1,"cursor-pointer"],[1,"flex","flex-row","gap-2","items-center"],["buttonType","secondary","text","Cancel",3,"click"],["text","Save",3,"click","isDisabled"],["label","Alt text","placeholder","Add alt text","formControlName","altText",1,"mt-4","w-50",3,"isDisabled"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"form",1)(2,"div",2),a.nrm(3,"img",3),a.DNE(4,t6,1,1,"norby-text-area",4),a.k0s(),a.j41(5,"div",5)(6,"div",6),a.bIt("nzOnConfirm",function(){return x.handleDeleteButtonClick()}),a.nrm(7,"norby-icon",7),a.j41(8,"label",8),a.EFF(9,"Delete"),a.k0s()(),a.j41(10,"div",9)(11,"norby-button",10),a.bIt("click",function(){return x.handleCancelButtonClick()}),a.k0s(),a.j41(12,"norby-button",11),a.bIt("click",function(){return x.handleSaveButtonClick()}),a.k0s()()()()()),2&k&&(a.R7$(),a.Y8G("formGroup",x.formGroup),a.R7$(2),a.Y8G("src",x.imageCopy.url,a.B4B),a.R7$(),a.Y8G("ngIf",!x.isAltTextDisabled),a.R7$(8),a.Y8G("isDisabled",x.isDisabled))},dependencies:[L.bT,K.qT,K.BC,K.cb,K.j4,K.JD,qi,Sm,c1,At.PV]})}return b})();function Em(b,me){if(1&b&&a.nrm(0,"img",6),2&b){const f=a.XpG();a.Y8G("src",null==f.imageCopy?null:f.imageCopy.url,a.B4B)}}function Mm(b,me){1&b&&a.nrm(0,"div",7)}function Nh(b,me){if(1&b){const f=a.RV6();a.j41(0,"norby-image-edit-dialog",8),a.bIt("onImageChange",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleImageChange(x))})("onImageDelete",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleImageDelete(x))}),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("image",f.imageCopy)("isDisabled",f.isDisabled)("isAltTextDisabled",f.isAltTextDisabled)}}let qg=(()=>{class b{constructor(){this.isDisabled=!1,this.isAltTextDisabled=!1,this.imageChanged=new a.bkB,this.deleteImage=new a.bkB,this.showDialog=!1}ngOnInit(){this.imageCopy={...this.image}}handleImageChange(f){this.imageChanged.emit(f)}handleImageDelete(f){this.deleteImage.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-image-edit"]],inputs:{image:"image",isDisabled:"isDisabled",isAltTextDisabled:"isAltTextDisabled"},outputs:{imageChanged:"imageChanged",deleteImage:"deleteImage"},decls:7,vars:3,consts:[["contentTemplate",""],[1,"relative"],["class","object-cover w-24 h-24 rounded",3,"src",4,"ngIf"],["class","w-24 h-24 rounded bg-neutral-300 animate-pulse",4,"ngIf"],["nz-popover","","nzPopoverTrigger","click","nzPopoverOverlayClassName","popover-flush",1,"absolute","top-2","left-16","z-5","bg-white","rounded-full","cursor-pointer",3,"nzPopoverContent"],["name","edit","size","small",1,"text-neutral-700"],[1,"object-cover","w-24","h-24","rounded",3,"src"],[1,"w-24","h-24","rounded","bg-neutral-300","animate-pulse"],[3,"onImageChange","onImageDelete","image","isDisabled","isAltTextDisabled"]],template:function(k,x){if(1&k&&(a.j41(0,"div",1),a.DNE(1,Em,1,1,"img",2)(2,Mm,1,0,"div",3),a.j41(3,"div",4),a.nrm(4,"norby-icon",5),a.k0s()(),a.DNE(5,Nh,1,3,"ng-template",null,0,a.C5r)),2&k){const ye=a.sdS(6);a.R7$(),a.Y8G("ngIf",null==x.imageCopy?null:x.imageCopy.url),a.R7$(),a.Y8G("ngIf",!(null!=x.imageCopy&&x.imageCopy.url)),a.R7$(),a.Y8G("nzPopoverContent",ye)}},dependencies:[L.bT,qi,Yg,kn.L_]})}return b})();const Xg=(b,me)=>({"border-neutral-600 bg-neutral-200 cursor-not-allowed":b,"hover:bg-neutral-700 hover:text-white":me});function x0(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",8)(1,"norby-image-edit",9),a.bIt("deleteImage",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleDeleteImage(x))})("imageChanged",function(x){const ye=a.eBV(f).index,kt=a.XpG();return a.Njj(kt.handleImageChanged(x,ye))}),a.k0s()()}if(2&b){const f=me.$implicit,k=a.XpG();a.R7$(),a.Y8G("image",f)("isDisabled",k.isDisabled)("isAltTextDisabled",k.isAltTextDisabled)}}let xm=(()=>{class b{constructor(f){this._uploadService=f,this.isRequired=!1,this.isDisabled=!1,this.images=[],this.allowMultiple=!1,this.acceptedFileTypes=".jpeg, .jpg, .png",this.isAltTextDisabled=!1,this.onUpdatedImages=new a.bkB,this.imagesCopy=[],this.showDialog=!1,this.showDialogIndex=0}ngOnChanges(f){f.images&&this._initImagesCopy()}_initImagesCopy(){this.imagesCopy=!this.images?.length||1!==this.images.length&&this.allowMultiple?this.images?.length&&this.allowMultiple?[...this.images]:[]:[this.images[0]],this.imagesCopy?.length&&null===this.imagesCopy[0]&&(this.imagesCopy=[])}handleFilesSelected(f){const k=f.target.files,x=this.imagesCopy.length;if(k?.length){for(let ye=0;ye<k.length;ye++){const kt=k[ye],zn=new n.Dr3;this.allowMultiple||0===this.imagesCopy?.length?this.imagesCopy?.push(zn):this.imagesCopy[0]=zn,this._uploadService.uploadFile(kt).then(Fi=>{const no=new n.Dr3;no.url=Fi,this.allowMultiple?this.imagesCopy[x+ye]=no:this.imagesCopy[0]=no,this.onUpdatedImages.emit(this.imagesCopy)})}f.target.value=null}}handleDeleteImage(f){const k=this.imagesCopy.findIndex(x=>x.url===f.url);this.imagesCopy.splice(k,1),this.onUpdatedImages.emit(this.imagesCopy)}handleImageChanged(f,k){this.imagesCopy[k]=f,this.onUpdatedImages.emit(this.imagesCopy)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xs))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-file-upload"]],inputs:{label:"label",infoTooltip:"infoTooltip",isRequired:"isRequired",isDisabled:"isDisabled",images:"images",allowMultiple:"allowMultiple",acceptedFileTypes:"acceptedFileTypes",isAltTextDisabled:"isAltTextDisabled"},outputs:{onUpdatedImages:"onUpdatedImages"},features:[a.OA$],decls:9,vars:12,consts:[["fileInput",""],[1,"flex","flex-col","relative"],[3,"label","infoTooltip","isRequired"],["type","file",1,"hidden-input",3,"change","accept"],["type","button",1,"ant-btn-animation","flex","items-center","rounded-sm","px-5","py-2","border","border-neutral-900","bg-white","focus:bg-white","flex-1","leading-5","whitespace-nowrap","text-neutral-900","mb-3","justify-center",3,"click","ngClass","disabled"],["name","upload"],[1,"flex","flex-row","flex-wrap","gap-4","justify-start"],["class","relative",4,"ngFor","ngForOf"],[1,"relative"],[3,"deleteImage","imageChanged","image","isDisabled","isAltTextDisabled"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",1),a.nrm(1,"norby-formcontrol-label",2),a.j41(2,"input",3,0),a.bIt("change",function(zn){return a.eBV(ye),a.Njj(x.handleFilesSelected(zn))}),a.k0s(),a.j41(4,"button",4),a.bIt("click",function(){a.eBV(ye);const zn=a.sdS(3);return a.Njj(zn.click())}),a.nrm(5,"norby-icon",5),a.EFF(6),a.k0s(),a.j41(7,"div",6),a.DNE(8,x0,2,3,"div",7),a.k0s()()}2&k&&(a.R7$(),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.isRequired),a.R7$(),a.Y8G("accept",x.acceptedFileTypes),a.BMQ("multiple",x.allowMultiple?"multiple":null),a.R7$(2),a.Y8G("ngClass",a.l_i(9,Xg,x.isDisabled,!x.isDisabled))("disabled",x.isDisabled),a.R7$(2),a.SpI("",x.allowMultiple?"Upload files":"Upload file"," "),a.R7$(2),a.Y8G("ngForOf",x.imagesCopy))},dependencies:[L.YU,L.Sq,qi,Fd,qg],styles:[".hidden-input[_ngcontent-%COMP%]{display:none!important}"]})}return b})(),I0=(()=>{class b{constructor(){this.onClick=new a.bkB}handleButtonClicked(){this.onClick.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-flyout-option"]],inputs:{iconName:"iconName",label:"label"},outputs:{onClick:"onClick"},decls:5,vars:2,consts:[["type","button",1,"flex","flex-col","align-items-center","w-14","items-center","cursor-pointer","group",3,"click"],[1,"flex","flex-col","justify-center","items-center","w-10","h-10","group-hover:opacity-70","bg-green-light","text-neutral-900","rounded-sm","mb-1"],[3,"name"],[1,"text-xs","text-neutral-800","font-normal","cursor-pointer"]],template:function(k,x){1&k&&(a.j41(0,"button",0),a.bIt("click",function(){return x.handleButtonClicked()}),a.j41(1,"div",1),a.nrm(2,"norby-icon",2),a.k0s(),a.j41(3,"label",3),a.EFF(4),a.k0s()()),2&k&&(a.R7$(2),a.Y8G("name",x.iconName),a.R7$(2),a.SpI(" ",x.label," "))},dependencies:[qi]})}return b})();function au(b,me){if(1&b){const f=a.RV6();a.j41(0,"norby-flyout-option",4),a.bIt("onClick",function(){const x=a.eBV(f).$implicit,ye=a.XpG();return a.Njj(ye.handleOptionClicked(x.value))}),a.k0s()}if(2&b){const f=me.$implicit;a.Y8G("iconName",f.icon)("label",f.label)}}let bd=(()=>{class b{constructor(){this.onOptionClicked=new a.bkB}handleOptionClicked(f){this.onOptionClicked.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-flyout-options-group"]],inputs:{items:"items",title:"title"},outputs:{onOptionClicked:"onOptionClicked"},decls:5,vars:2,consts:[[1,"flex","flex-col","items-start"],[1,"mb-4","font-bold"],[1,"flex","flex-row","flex-wrap","gap-4"],[3,"iconName","label","onClick",4,"ngFor","ngForOf"],[3,"onClick","iconName","label"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"label",1),a.EFF(2),a.k0s(),a.j41(3,"div",2),a.DNE(4,au,1,2,"norby-flyout-option",3),a.k0s()()),2&k&&(a.R7$(2),a.JRh(x.title),a.R7$(2),a.Y8G("ngForOf",x.items))},dependencies:[L.Sq,I0]})}return b})();const hc=(b,me)=>({"border-neutral-900":b,"hover:border-neutral-500":me});function Wg(b,me){if(1&b&&a.nrm(0,"norby-image",6),2&b){const f=a.XpG();a.Y8G("imageUrl",f.imageUrl)("width",f.width)}}function Im(b,me){if(1&b&&a.nrm(0,"norby-image",7),2&b){const f=a.XpG();a.Y8G("imageUrl",f.imageUrl)("maskUrl",f.maskUrl)("width",f.width)("maskWidth",f.width)("maskHeight",f.height)}}let x3=(()=>{class b{constructor(){this.value="brand",this.maskUrl="assets/svg/shapes/burst.svg",this.imageUrl="assets/svg/norby.svg",this.width="80px",this.height="80px",this.disabled=!1,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnInit(){this.val=this.value}ngOnChanges(f){f.value&&(this.val=this.value)}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}handleStyleSelection(f){this.val=f,this._onChanged(f),this._markAsTouched()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-header-style"]],inputs:{value:"value",maskUrl:"maskUrl",imageUrl:"imageUrl",width:"width",height:"height",disabled:"disabled"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.OA$],decls:11,vars:10,consts:[[1,"flex","flex-row","gap-4","mb-4"],[1,"flex","flex-col","gap-2","items-center","justify-center","cursor-pointer",3,"click"],[1,"w-30","h-30","border","rounded","flex","items-center","justify-center","bg-neutral-100",3,"ngClass"],[3,"imageUrl","width",4,"ngIf"],[1,"w-30","h-30","border","rounded","flex","flex-col","items-center","justify-center",3,"ngClass"],[3,"imageUrl","maskUrl","width","maskWidth","maskHeight",4,"ngIf"],[3,"imageUrl","width"],[3,"imageUrl","maskUrl","width","maskWidth","maskHeight"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"div",1),a.bIt("click",function(){return x.handleStyleSelection("brand")}),a.j41(2,"div",2),a.DNE(3,Wg,1,2,"norby-image",3),a.k0s(),a.j41(4,"label"),a.EFF(5,"Logo Only"),a.k0s()(),a.j41(6,"div",1),a.bIt("click",function(){return x.handleStyleSelection("creator")}),a.j41(7,"div",4),a.DNE(8,Im,1,5,"norby-image",5),a.k0s(),a.j41(9,"label"),a.EFF(10,"Avatar"),a.k0s()()()),2&k&&(a.R7$(2),a.Y8G("ngClass",a.l_i(4,hc,"brand"===x.val,"brand"!==x.val)),a.R7$(),a.Y8G("ngIf",x.imageUrl),a.R7$(4),a.Y8G("ngClass",a.l_i(7,hc,"creator"===x.val,"creator"!==x.val)),a.R7$(),a.Y8G("ngIf",x.imageUrl))},dependencies:[L.YU,L.bT,pd]})}return b})();const Qc=(b,me)=>({"text-neutral-600 cursor-not-allowed":b,"text-neutral-900":me}),n6=(b,me)=>({"border-neutral-900 bg-white text-neutral-900 hover:bg-neutral-700 hover:border-neutral-700 hover:text-white":b,"border-neutral-200 bg-neutral-200 text-neutral-600 cursor-not-allowed":me});function D0(b,me){if(1&b&&a.nrm(0,"norby-icon",5),2&b){const f=a.XpG(2);a.Y8G("name",f.iconName)}}function O0(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"norby-icon",7),a.k0s())}function Lv(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",2),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,D0,1,1,"norby-icon",3)(2,O0,2,0,"div",4),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("disabled",f.isDisabled)("ngClass",a.l_i(4,Qc,f.isDisabled||f.isLoading,!f.isDisabled&&!f.isLoading)),a.R7$(),a.Y8G("ngIf",!f.isLoading),a.R7$(),a.Y8G("ngIf",f.isLoading)}}function Dm(b,me){if(1&b&&a.nrm(0,"norby-icon",5),2&b){const f=a.XpG(2);a.Y8G("name",f.iconName)}}function D1(b,me){1&b&&(a.j41(0,"div",6),a.nrm(1,"norby-icon",7),a.k0s())}function Kg(b,me){if(1&b){const f=a.RV6();a.j41(0,"button",8),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleButtonClick(x))}),a.DNE(1,Dm,1,1,"norby-icon",3)(2,D1,2,0,"div",4),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("disabled",f.isDisabled)("ngClass",a.l_i(4,n6,!f.isDisabled&&!f.isLoading,f.isDisabled||f.isLoading)),a.R7$(),a.Y8G("ngIf",!f.isLoading),a.R7$(),a.Y8G("ngIf",f.isLoading)}}let o6=(()=>{class b{constructor(){this.buttonType="default",this.onButtonClicked=new a.bkB}handleButtonClick(f){this.onButtonClicked.emit(this.commandName||this.iconName)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-icon-button"]],inputs:{iconName:"iconName",commandName:"commandName",isDisabled:"isDisabled",isLoading:"isLoading",buttonType:"buttonType"},outputs:{onButtonClicked:"onButtonClicked"},decls:2,vars:2,consts:[["type","button","class","flex",3,"disabled","ngClass","click",4,"ngIf"],["type","button","class","ant-btn-animation flex items-center justify-center rounded-sm p-1.5 border",3,"disabled","ngClass","click",4,"ngIf"],["type","button",1,"flex",3,"click","disabled","ngClass"],[3,"name",4,"ngIf"],["class","animate-spin flex justify-center items-center max-h-4",4,"ngIf"],[3,"name"],[1,"animate-spin","flex","justify-center","items-center","max-h-4"],["name","loader"],["type","button",1,"ant-btn-animation","flex","items-center","justify-center","rounded-sm","p-1.5","border",3,"click","disabled","ngClass"]],template:function(k,x){1&k&&a.DNE(0,Lv,3,7,"button",0)(1,Kg,3,7,"button",1),2&k&&(a.Y8G("ngIf","default"===x.buttonType),a.R7$(),a.Y8G("ngIf","bordered"===x.buttonType))},dependencies:[L.YU,L.bT,qi]})}return b})();const Ah=["input"],J2=["*"],Z2=b=>({"mb-3":b}),bp=(b,me,f,k,x,ye,kt,zn,Fi)=>({"border norby-input bg-white border-neutral-300 user-theme-input":b,"hover:border-neutral-500":me,"rounded-l-none rounded-r-sm user-theme-right-input":f,"rounded-r-none rounded-l-sm user-theme-left-input":k,"rounded-sm":x,"h-12 px-3 pb-4 pt-3.5":ye,"h-9 px-2 pb-3 pt-3":kt,"bg-disabled-input-background":zn,"border-red-ui":Fi}),lu=b=>({"pr-7":b}),Qg=(b,me,f)=>({"animate-spin":b,"text-red-base":me,"text-neutral-500":f});function Om(b,me){if(1&b&&a.nrm(0,"norby-icon",9),2&b){const f=a.XpG();a.Y8G("name",f.isLoading?"loader":f.iconName||"alert-octagon")("ngClass",a.sMw(3,Qg,f.isLoading,f.hasErrors,f.iconName&&!f.hasErrors))("rootTooltip",f.errorText)}}function zm(b,me){if(1&b&&(a.j41(0,"span",13),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Lme("",f.val&&f.val.length||f.value&&f.value.length||0,"/",f.maxLength,"")}}function ef(b,me){if(1&b&&(a.j41(0,"div",10),a.nrm(1,"norby-helpertext",11),a.DNE(2,zm,2,2,"span",12),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("helperText",f.helperText),a.R7$(),a.Y8G("ngIf",!!f.maxLength)}}let Cp=(()=>{class b extends Sa{get hasErrors(){return!!this.errorText}constructor(f,k,x){super(),this._ngControl=f,this._errorFactory=k,this._cdr=x,this.type="text",this.isDisabled=!1,this.isRequired=!1,this.isReadOnly=!1,this.isNestedButton=!1,this.isJoinedRight=!1,this.isJoinedLeft=!1,this.isUrl=!1,this.size="medium",this.isLoading=!1,this.isTextHidden=!1,this.onBlur=new a.bkB,this.onEnter=new a.bkB,this.onFocus=new a.bkB,this.elementClass="flex-1",this._onTouched=ye=>{},this._onChanged=ye=>{},this.errorText="",this.touched=!1,f&&(f.valueAccessor=this)}ngOnChanges(f){f.value&&(this.val=this.value,this._updateErrors())}ngAfterViewInit(){this._ngControl&&this._ngControl.value&&this._ngControl.value!==this.val&&this.writeValue(this._ngControl.value)}focus(){this.inputEl?.nativeElement?.focus()}handleInput(f){this.val=f.value,this._onChanged(f.value),this._markAsTouched(),this._updateErrors(),this._cdr.detectChanges()}writeValue(f){this.val=f,this._updateErrors(),this._cdr.detectChanges()}registerOnChange(f){this._onChanged=k=>{!this.isUrl||["","h","ht","htt","http","https","https:","https:/"].includes(k)||k.startsWith("https://")||k.startsWith("http://")?f(k):f(`https://${k}`)}}registerOnTouched(f){this._onTouched=f}_updateErrors(){const f=this._ngControl?.errors??{},k=Object.keys(f);if(k.length&&this.touched){const x=k[0],ye=this._errorFactory?.[x];this.errorText=ye?.(f[x])??"Error"}else this.hasErrors&&(this.errorText="")}_markAsTouched(){this.touched||(this.touched=!0,this._onTouched())}handleOnBlur(f){this.onBlur.emit(f?.target?.value)}handleOnEnter(f){this.onEnter.emit(f)}handleOnFocus(){this.onFocus.emit()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.vO,10),a.rXU(n.KZM,8),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-input"]],viewQuery:function(k,x){if(1&k&&a.GBs(Ah,5),2&k){let ye;a.mGM(ye=a.lsd())&&(x.inputEl=ye.first)}},hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)},inputs:{label:"label",placeholder:"placeholder",helperText:"helperText",infoTooltip:"infoTooltip",maxLength:"maxLength",value:"value",type:"type",isDisabled:"isDisabled",isRequired:"isRequired",isReadOnly:"isReadOnly",isNestedButton:"isNestedButton",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft",isUrl:"isUrl",size:"size",iconName:"iconName",isLoading:"isLoading",isTextHidden:"isTextHidden"},outputs:{onBlur:"onBlur",onEnter:"onEnter",onFocus:"onFocus"},features:[a.Vt3,a.OA$],ngContentSelectors:J2,decls:10,vars:29,consts:[["input",""],[1,"w-full",3,"ngClass"],[3,"label","infoTooltip","isRequired"],[1,"flex","w-full","text-base","bg-clip-padding","transition","ease-in-out","m-0","leading-5",3,"ngClass"],[1,"flex","flex-1","items-center","relative"],[1,"w-full","text-base","transition","ease-in-out","outline-none","bg-inherit","text-neutral-800","user-theme-input-text",3,"input","blur","focus","keydown.enter","ngClass","type","value","disabled","required","readonly","placeholder"],[1,"absolute","ml-2","top-1/2","transform","-translate-y-1/2","right-0"],[3,"name","ngClass","rootTooltip",4,"ngIf"],["class","flex justify-between",4,"ngIf"],[3,"name","ngClass","rootTooltip"],[1,"flex","justify-between"],[3,"helperText"],["class","text-xs text-neutral-700",4,"ngIf"],[1,"text-xs","text-neutral-700"]],template:function(k,x){if(1&k){const ye=a.RV6();a.NAR(),a.j41(0,"div",1),a.nrm(1,"norby-formcontrol-label",2),a.j41(2,"div",3)(3,"div",4),a.SdG(4),a.j41(5,"input",5,0),a.bIt("input",function(zn){return a.eBV(ye),a.Njj(x.handleInput(zn.target))})("blur",function(zn){return a.eBV(ye),a.Njj(x.handleOnBlur(zn))})("focus",function(){return a.eBV(ye),a.Njj(x.handleOnFocus())})("keydown.enter",function(zn){return a.eBV(ye),a.Njj(x.handleOnEnter(zn))}),a.k0s(),a.j41(7,"div",6),a.DNE(8,Om,1,7,"norby-icon",7),a.k0s()()(),a.DNE(9,ef,3,2,"div",8),a.k0s()}if(2&k){let ye;a.Y8G("ngClass",a.eq3(15,Z2,x.label)),a.R7$(),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.isRequired),a.R7$(),a.Y8G("ngClass",a.zJS(17,bp,[!x.isNestedButton,!x.isNestedButton&&!x.isDisabled,!!x.isJoinedLeft,!!x.isJoinedRight,!x.isJoinedLeft&&!x.isJoinedRight,"medium"===x.size,"small"===x.size,x.isDisabled,x.touched&&x.hasErrors])),a.R7$(3),a.Y8G("ngClass",a.eq3(27,lu,x.touched&&x.hasErrors||x.iconName||x.isLoading))("type",x.type)("value",x.isTextHidden?"":null!==(ye=null!==(ye=x.val)&&void 0!==ye?ye:x.value)&&void 0!==ye?ye:"")("disabled",x.isDisabled)("required",x.isRequired)("readonly",x.isReadOnly)("placeholder",x.placeholder?x.placeholder:""),a.BMQ("maxlength",x.maxLength),a.R7$(3),a.Y8G("ngIf",x.hasErrors||x.isLoading||x.iconName),a.R7$(),a.Y8G("ngIf",!x.isNestedButton&&!x.hasErrors)}},dependencies:[L.YU,L.bT,Fd,Ec,qi,lc],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.alert[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ff5f43%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22feather%20feather-alert-circle%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%3E%3C/circle%3E%3Cline%20x1%3D%2212%22%20y1%3D%228%22%20x2%3D%2212%22%20y2%3D%2212%22%3E%3C/line%3E%3Cline%20x1%3D%2212%22%20y1%3D%2216%22%20x2%3D%2212.01%22%20y2%3D%2216%22%3E%3C/line%3E%3C/svg%3E);background-repeat:no-repeat;background-position:98% 50%}@tailwind base;@tailwind components;.tooltip[_ngcontent-%COMP%]{@apply invisible absolute;}.has-tooltip[_ngcontent-%COMP%]:hover   .tooltip[_ngcontent-%COMP%]{@apply visible z-50;}@tailwind utilities;.norby-input[_ngcontent-%COMP%]:focus-within{border-color:#767024;box-shadow:0 0 0 2px #d5e1f0}.norby-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:disabled{color:#c1c4d6}[_ngcontent-%COMP%]::placeholder{color:#c1c4d6;opacity:1}[_ngcontent-%COMP%]:hover::placeholder{color:#8f9fb2;opacity:1}"],changeDetection:0})}return b})(),tf=(()=>{class b{constructor(){this.disabled=!1,this.required=!1,this.isJoinedRight=!1,this.isJoinedLeft=!1,this.size="medium",this.onHandleChange=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnChanges(f){this.val=this.value}ngOnInit(){this.val=this.value}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}handleInput(f){this.val=+f,this.onHandleChange.emit(this.val),this._onChanged(this.val),this._markAsTouched()}handleKeydown(f){return f.ctrlKey||f.altKey||47<f.keyCode&&f.keyCode<58&&0==f.shiftKey||95<f.keyCode&&f.keyCode<106||8==f.keyCode||9==f.keyCode||f.keyCode>34&&f.keyCode<40||46==f.keyCode||190==f.keyCode&&-1==f.target.value.indexOf(".")||110==f.keyCode&&-1==f.target.value.indexOf(".")}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-number-input"]],inputs:{value:"value",label:"label",placeholder:"placeholder",helperText:"helperText",infoTooltip:"infoTooltip",disabled:"disabled",required:"required",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft",size:"size"},outputs:{onHandleChange:"onHandleChange"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.OA$],decls:5,vars:11,consts:[[1,"w-full"],[1,"mb-3"],[3,"label","infoTooltip","isRequired"],["type","number","pattern","^[-+]?[0-9]*\\.?[0-9]+$",3,"onInput","keydown","value","isDisabled","isJoinedRight","isJoinedLeft","isRequired","maxLength","placeholder"],[3,"helperText"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"div",1),a.nrm(2,"norby-formcontrol-label",2),a.j41(3,"norby-input-base",3),a.bIt("onInput",function(kt){return x.handleInput(kt)})("keydown",function(kt){return x.handleKeydown(kt)}),a.k0s(),a.nrm(4,"norby-helpertext",4),a.k0s()()),2&k&&(a.R7$(2),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.required),a.R7$(),a.Y8G("value",x.val||"")("isDisabled",x.disabled)("isJoinedRight",x.isJoinedRight)("isJoinedLeft",x.isJoinedLeft)("isRequired",x.required)("maxLength",9)("placeholder",x.placeholder),a.R7$(),a.Y8G("helperText",x.helperText))},dependencies:[Fd,Zd,Ec]})}return b})();const nf=(b,me,f,k,x)=>({"bg-mustard-200 border-mustard-400 text-neutral-800 font-medium":b,"bg-white border-neutral-300 text-neutral-700":me,"text-sm px-2 py-1":f,"text-lg px-6 py-3":k,"text-base px-5 py-2":x}),Rh=b=>({"ml-2":b});let wp=(()=>{class b{get class(){return"mr-1 sm:mr-0 last:mr-0"}constructor(){this.size="default",this.buttonClicked=new a.bkB}handleButtonClick(){this.buttonClicked.emit(this.buttonValue)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-radio-button"]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.class)},inputs:{buttonLabel:"buttonLabel",buttonValue:"buttonValue",selectedValue:"selectedValue",isDisabled:"isDisabled",isFirst:"isFirst",isLast:"isLast",nextButtonValue:"nextButtonValue",size:"size"},outputs:{buttonClicked:"buttonClicked"},decls:4,vars:15,consts:[["type","button",1,"h-10","border","hover:text-neutral-800","rounded-sm","flex","flex-row","flex-1","leading-5","items-center","whitespace-nowrap","outline-1","radio-button",3,"click","ngClass","disabled"],["root-checkbox","",3,"checked","radio","disabled"],[3,"ngClass"]],template:function(k,x){1&k&&(a.j41(0,"button",0),a.bIt("click",function(){return x.handleButtonClick()}),a.j41(1,"label",1)(2,"span",2),a.EFF(3),a.k0s()()()),2&k&&(a.Y8G("ngClass",a.s1E(7,nf,x.selectedValue===x.buttonValue,x.selectedValue!==x.buttonValue,"small"===x.size,"large"===x.size,"default"===x.size))("disabled",x.isDisabled),a.R7$(),a.Y8G("checked",x.selectedValue===x.buttonValue)("radio",!0)("disabled",!0),a.R7$(),a.Y8G("ngClass",a.eq3(13,Rh,"large"===x.size)),a.R7$(),a.JRh(x.buttonLabel))},dependencies:[L.YU,Br],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (max-width: 576px){.radio-button[_ngcontent-%COMP%]{margin-bottom:8px}}"]})}return b})();const z0=(b,me,f,k,x,ye,kt,zn)=>({"bg-neutral-900 hover:bg-neutral-800 hover:border-neutral-800 focus:bg-dark-navy text-white":b,"bg-white hover:bg-neutral-700 hover:border-neutral-700 text-neutral-900 hover:text-white":me,"text-sm px-2 py-1":f,"text-lg px-6 py-3":k,"text-base px-5 py-2":x,"rounded-sm":ye,"rounded-l-sm":kt,"rounded-r-sm":zn}),Tp=b=>({"ml-2":b});let Kn=(()=>{class b{constructor(){this.size="default",this.buttonClicked=new a.bkB}handleButtonClick(){this.buttonClicked.emit(this.buttonValue)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-icon-radio-button"]],inputs:{iconName:"iconName",buttonLabel:"buttonLabel",buttonValue:"buttonValue",selectedValue:"selectedValue",isDisabled:"isDisabled",isFirst:"isFirst",isLast:"isLast",nextButtonValue:"nextButtonValue",size:"size"},outputs:{buttonClicked:"buttonClicked"},decls:4,vars:17,consts:[["type","button",1,"h-10","border","border-neutral-900","ant-btn-animation","flex","flex-row","flex-1","leading-5","items-center","whitespace-nowrap","radio-button","focus:border-dark-navy",3,"click","ngClass","disabled"],[3,"name","size"],[3,"ngClass"]],template:function(k,x){1&k&&(a.j41(0,"button",0),a.bIt("click",function(){return x.handleButtonClick()}),a.nrm(1,"norby-icon",1),a.j41(2,"span",2),a.EFF(3),a.k0s()()),2&k&&(a.Y8G("ngClass",a.lV(6,z0,x.selectedValue===x.buttonValue,x.selectedValue!==x.buttonValue,"small"===x.size,"large"===x.size,"default"===x.size,x.isFirst&&x.isLast,x.isFirst&&!x.isLast,!x.isFirst&&x.isLast))("disabled",x.isDisabled),a.R7$(),a.Y8G("name",x.iconName)("size",x.size),a.R7$(),a.Y8G("ngClass",a.eq3(15,Tp,"large"===x.size)),a.R7$(),a.JRh(x.buttonLabel))},dependencies:[L.YU,qi],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (max-width: 576px){.radio-button[_ngcontent-%COMP%]{margin-bottom:8px}}"]})}return b})();const dr=(b,me)=>({"border-neutral-900 bg-neutral-300 hover:bg-neutral-200 hover:border-neutral-800":b,"border-neutral-600 bg-white hover:bg-neutral-100 hover:border-neutral-400":me});let Mn=(()=>{class b{constructor(){this.buttonClicked=new a.bkB}handleButtonClick(){this.buttonClicked.emit(this.buttonValue)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-image-radio-button"]],inputs:{imageUrl:"imageUrl",buttonLabel:"buttonLabel",buttonValue:"buttonValue",selectedValue:"selectedValue",isDisabled:"isDisabled",nextButtonValue:"nextButtonValue"},outputs:{buttonClicked:"buttonClicked"},decls:6,vars:7,consts:[[1,"py-1"],["type","button",1,"h-30","w-full","border","flex","flex-row","justify-center","items-center","outline-1","radio-button","rounded-sm",3,"click","ngClass","disabled"],[3,"src"],[1,"w-full","flex","flex-row","justify-center"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"button",1),a.bIt("click",function(){return x.handleButtonClick()}),a.nrm(2,"img",2),a.k0s(),a.j41(3,"div",3)(4,"span"),a.EFF(5),a.k0s()()()),2&k&&(a.R7$(),a.Y8G("ngClass",a.l_i(4,dr,x.selectedValue===x.buttonValue,x.selectedValue!==x.buttonValue))("disabled",x.isDisabled),a.R7$(),a.Y8G("src",x.imageUrl,a.B4B),a.R7$(3),a.JRh(x.buttonLabel))},dependencies:[L.YU],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (max-width: 576px){.radio-button[_ngcontent-%COMP%]{margin-bottom:8px}}"]})}return b})();const ci=["*"];function mo(b,me){if(1&b&&(a.j41(0,"label",4),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.label)}}let zr=(()=>{class b extends Sa{constructor(){super(),this.isDisabled=!1,this.block=!1,this.size="default",this.buttonClicked=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngAfterContentInit(){if(this.buttons){let f=this.buttons.toArray();for(let k=0;k<f.length;k++)f[k].isFirst=0===k,f[k].isLast=k===f.length-1,f[k].nextButtonValue=f[k+1]?.buttonValue,f[k].size=this.size,f[k].selectedValue=this.value,f[k].isDisabled||(f[k].isDisabled=this.isDisabled),f[k].buttonClicked.pipe(this.takeUntilDestroy).subscribe(x=>{this._updateVal(x),this.buttonClicked.emit(x),this._onChanged(x),this._markAsTouched()})}}_updateVal(f){this.value=f,this.buttons&&this.value&&this.buttons.forEach(k=>{k.selectedValue=this.value})}writeValue(f){this._updateVal(f)}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-radio-button-group"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,wp,4),2&k){let kt;a.mGM(kt=a.lsd())&&(x.buttons=kt)}},inputs:{label:"label",isDisabled:"isDisabled",block:"block",size:"size"},outputs:{buttonClicked:"buttonClicked"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3],ngContentSelectors:ci,decls:5,vars:3,consts:[[1,"flex","justify-start"],[1,"mb-3"],["class","form-label inline-block mb-1 text-sm text-neutral-800",4,"ngIf"],["role","group",1,"flex","justify-center","rounded-sm","radio-button-group","gap-2"],[1,"form-label","inline-block","mb-1","text-sm","text-neutral-800"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1),a.DNE(2,mo,2,1,"label",2),a.j41(3,"div",3),a.SdG(4),a.k0s()()()),2&k&&(a.R7$(),a.AVh("flex-1",x.block),a.R7$(),a.Y8G("ngIf",x.label))},dependencies:[L.bT],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}@media screen and (max-width: 576px){.radio-button-group[_ngcontent-%COMP%]{flex-direction:column}.radio-button-group[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:12px}}"]})}return b})();const Cs=["*"];function Ha(b,me){if(1&b&&(a.j41(0,"label",4),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.label)}}let ul=(()=>{class b extends Sa{constructor(){super(),this.disabled=!1,this.block=!1,this.size="default",this.buttonClicked=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngAfterContentInit(){if(this.buttons){let f=this.buttons.toArray();for(let k=0;k<f.length;k++)f[k].isFirst=0===k,f[k].isLast=k===f.length-1,f[k].nextButtonValue=f[k+1]?.buttonValue,f[k].size=this.size,f[k].selectedValue=this.value,f[k].buttonClicked.pipe(this.takeUntilDestroy).subscribe(x=>{this._updateVal(x),this.buttonClicked.emit(x),this._onChanged(x),this._markAsTouched()})}}_updateVal(f){this.value=f,this.buttons&&this.value&&this.buttons.forEach(k=>{k.selectedValue=this.value})}writeValue(f){this._updateVal(f)}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-icon-radio-button-group"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,Kn,4),2&k){let kt;a.mGM(kt=a.lsd())&&(x.buttons=kt)}},inputs:{label:"label",disabled:"disabled",block:"block",size:"size"},outputs:{buttonClicked:"buttonClicked"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3],ngContentSelectors:Cs,decls:5,vars:3,consts:[[1,"flex","justify-start"],[1,"mb-3"],["class","form-label inline-block mb-1 text-xs text-neutral-800",4,"ngIf"],["role","group",1,"flex","justify-center","rounded-sm"],[1,"form-label","inline-block","mb-1","text-xs","text-neutral-800"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1),a.DNE(2,Ha,2,1,"label",2),a.j41(3,"div",3),a.SdG(4),a.k0s()()()),2&k&&(a.R7$(),a.AVh("flex-1",x.block),a.R7$(),a.Y8G("ngIf",x.label))},dependencies:[L.bT]})}return b})();const cu=["*"];let rf=(()=>{class b extends Sa{constructor(){super(),this.disabled=!1,this.buttonClicked=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnChanges(){this.value&&this.writeValue(this.value)}ngAfterContentInit(){if(this.buttons){let f=this.buttons.toArray();for(let k=0;k<f.length;k++)f[k].nextButtonValue=f[k+1]?.buttonValue,f[k].selectedValue=this.val,f[k].buttonClicked.pipe(this.takeUntilDestroy).subscribe(x=>{this._updateVal(x),this.buttonClicked.emit(x),this._onChanged(x),this._markAsTouched()})}}_updateVal(f){this.val=f,this.buttons&&this.val&&this.buttons.forEach(k=>{k.selectedValue=this.val})}writeValue(f){this._updateVal(f)}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-image-radio-button-group"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,Mn,4),2&k){let kt;a.mGM(kt=a.lsd())&&(x.buttons=kt)}},inputs:{value:"value",disabled:"disabled"},outputs:{buttonClicked:"buttonClicked"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3,a.OA$],ngContentSelectors:cu,decls:2,vars:0,consts:[["role","group",1,"flex","flex-col","w-full","items-center"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.SdG(1),a.k0s())}})}return b})();const N0=["*"],Sp=(b,me,f,k,x,ye,kt,zn,Fi)=>({"border-red-base cursor-not-allowed":b,"border-neutral-300 hover:border-neutral-500 focus:border-mustard disabled:border-neutral-300 ":me,"text-neutral-500":f,"rounded-sm":k,"rounded-l-sm rounded-r-none user-theme-left-select":x,"rounded-r-sm rounded-l-none user-theme-right-select":ye,"rounded-none":kt,"h-12 pl-3 pr-4 leading-5":zn,"h-9 px-3":Fi});function th(b,me){if(1&b&&(a.j41(0,"option",6),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngValue",null),a.R7$(),a.SpI(" ",f.prompt," ")}}let Ph=(()=>{class b{constructor(){this.isDisabled=!1,this.isRequired=!1,this.isJoinedRight=!1,this.isJoinedLeft=!1,this.showError=!1,this.size="medium",this.onHandleChange=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnChanges(f){f.value&&(this.val=this.value)}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}get isPlaceholderSelected(){return void 0!==this.value&&!this.value}handleSelectChange(f){const k=f.target.value;k!==this.val&&(this.val=k,this.onHandleChange.emit(k),this._onChanged(k),this._markAsTouched())}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-select"]],inputs:{label:"label",helperText:"helperText",infoTooltip:"infoTooltip",isDisabled:"isDisabled",isRequired:"isRequired",value:"value",prompt:"prompt",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft",showError:"showError",size:"size"},outputs:{onHandleChange:"onHandleChange"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.OA$],ngContentSelectors:N0,decls:7,vars:18,consts:[[1,"flex","flex-1","justify-start"],[1,"mb-3","w-full"],[3,"label","infoTooltip","isRequired"],["rows","5",1,"select-icon","text-base","appearance-none","m-0","cursor-pointer","user-theme-select","form-control","block","transition","ease-in-out","outline-none","w-full","border","bg-white","disabled:bg-neutral-50","text-neutral-800","disabled:text-neutral-500",3,"change","value","disabled","ngClass"],["selected","","disabled","","class","z-10",3,"ngValue",4,"ngIf"],[3,"helperText"],["selected","","disabled","",1,"z-10",3,"ngValue"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1),a.nrm(2,"norby-formcontrol-label",2),a.j41(3,"select",3),a.bIt("change",function(kt){return x.handleSelectChange(kt)}),a.DNE(4,th,2,2,"option",4),a.SdG(5),a.k0s(),a.nrm(6,"norby-helpertext",5),a.k0s()()),2&k&&(a.R7$(2),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.isRequired),a.R7$(),a.Y8G("value",x.val)("disabled",x.isDisabled)("ngClass",a.zJS(8,Sp,[x.showError,!x.showError,x.isPlaceholderSelected,!x.isJoinedRight&&!x.isJoinedLeft,x.isJoinedRight&&!x.isJoinedLeft,x.isJoinedLeft&&!x.isJoinedRight,x.isJoinedLeft&&x.isJoinedRight,"medium"===x.size,"small"===x.size])),a.R7$(),a.Y8G("ngIf",!!x.prompt),a.R7$(2),a.Y8G("helperText",x.helperText))},dependencies:[L.YU,L.bT,K.xH,K.y7,Fd,Ec],styles:['@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.select-icon[_ngcontent-%COMP%]{background-image:url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>\');background-repeat:no-repeat;background-position:calc(100% - 12px) 50%;background-size:14px 14px}.select-icon[_ngcontent-%COMP%]:focus-within{border-color:#767024;box-shadow:0 0 0 2px #d5e1f0}']})}return b})();const Fh=(b,me,f,k)=>({"custom-slider-small":b,"custom-slider":me,"flex-grow":f,"slider-with-reset-button":k}),kp=b=>({"resettable-slider-margin-top":b});function ra(b,me){if(1&b){const f=a.RV6();a.j41(0,"norby-button",9),a.bIt("buttonClicked",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.handleResetValueClick())}),a.k0s()}if(2&b){const f=a.XpG(2);a.Y8G("isDisabled",f.isButtonDisabled)}}function Jg(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",1)(1,"div",2),a.nrm(2,"norby-formcontrol-label",3),a.j41(3,"div",4)(4,"div",5)(5,"ngx-slider",6),a.bIt("valueChange",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleValueChange(x))}),a.k0s()(),a.DNE(6,ra,1,1,"norby-button",7),a.k0s(),a.nrm(7,"norby-helpertext",8),a.k0s()()}if(2&b){const f=a.XpG();a.R7$(2),a.Y8G("label",f.label)("infoTooltip",f.infoTooltip)("isRequired",f.isRequired),a.R7$(2),a.Y8G("ngClass",a.ziG(9,Fh,"small"===f.size,"normal"===f.size,!f.allowNull,f.allowNull)),a.R7$(),a.Y8G("value",f.val)("options",f.options)("ngClass",a.eq3(14,kp,f.allowNull)),a.R7$(),a.Y8G("ngIf",f.allowNull),a.R7$(),a.Y8G("helperText",f.helperText)}}let af=(()=>{class b{constructor(){this.floor=0,this.ceil=100,this.helperText="",this.infoTooltip="",this.isRequired=!1,this.disabled=!1,this.allowNull=!1,this.size="normal",this.isButtonDisabled=!0,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnInit(){this.options={floor:this.floor,ceil:this.ceil,showSelectionBar:!0,hideLimitLabels:!0,showTicksValues:!1,disabled:this.disabled},this.value&&(this.val=this.value)}writeValue(f){null!==f&&(this.isButtonDisabled=!1),this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}handleValueChange(f){if(f!==this.val){if(null===this.val&&0===f)return;this.isButtonDisabled=!1,this._onChanged(f),this._markAsTouched()}}handleResetValueClick(){this.isButtonDisabled=!0,this.val=0,this._onChanged(null),this._markAsTouched()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-slider"]],inputs:{value:"value",floor:"floor",ceil:"ceil",label:"label",helperText:"helperText",infoTooltip:"infoTooltip",isRequired:"isRequired",disabled:"disabled",allowNull:"allowNull",size:"size"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}])],decls:1,vars:1,consts:[["class","flex justify-start",4,"ngIf"],[1,"flex","justify-start"],[1,"mb-3","w-full"],[3,"label","infoTooltip","isRequired"],[1,"flex","justify-between"],[3,"ngClass"],[3,"valueChange","value","options","ngClass"],["text","Reset","buttonType","secondary",3,"isDisabled","buttonClicked",4,"ngIf"],[3,"helperText"],["text","Reset","buttonType","secondary",3,"buttonClicked","isDisabled"]],template:function(k,x){1&k&&a.DNE(0,Jg,8,16,"div",0),2&k&&a.Y8G("ngIf",x.options)},dependencies:[L.YU,L.bT,Uc,Fd,Ec,c1],styles:[".custom-slider-small[_ngcontent-%COMP%]   .ngx-slider[_ngcontent-%COMP%]{margin:15px 0}.slider-with-reset-button[_ngcontent-%COMP%]{flex-grow:.98}.resettable-slider-margin-top[_ngcontent-%COMP%]{margin-top:32px}"]})}return b})();const l6=(b,me)=>({"bg-neutral-50 border-neutral-50 opacity-100 cursor-not-allowed":b,"bg-neutral-300 border-neutral-300 hover:bg-neutral-400 hover:border-neutral-400":me});let z1=(()=>{class b{constructor(){this.isDisabled=!1,this.helperText="",this.valueChange=new a.bkB,this.animationState=!1,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1,this.val=!1}ngOnInit(){this.val=this.value}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}handleValueChange(f){f!==this.val&&(this.animationState=!this.animationState,this.val=f,this.valueChange.emit(f),this._onChanged(f),this._markAsTouched())}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-switch-button"]],inputs:{value:"value",label:"label",isDisabled:"isDisabled",rightLabel:"rightLabel",helperText:"helperText",infoTooltip:"infoTooltip"},outputs:{valueChange:"valueChange"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}])],decls:9,vars:11,consts:[["checkbox",""],[1,"w-full"],[3,"label","infoTooltip"],[1,"flex","items-center","cursor-pointer","relative"],["type","checkbox",1,"sr-only",3,"change","disabled"],[1,"toggle-bg","border-2","opacity-90","h-6","min-w-13","w-13","rounded-full",3,"ngClass"],[1,"ml-3","text-neutral-800","text-sm","font-medium"],[3,"helperText"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",1),a.nrm(1,"norby-formcontrol-label",2),a.j41(2,"label",3)(3,"input",4,0),a.bIt("change",function(){a.eBV(ye);const zn=a.sdS(4);return a.Njj(x.handleValueChange(zn.checked))}),a.k0s(),a.nrm(5,"div",5),a.j41(6,"span",6),a.EFF(7),a.k0s()(),a.nrm(8,"norby-helpertext",7),a.k0s()}2&k&&(a.R7$(),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip),a.R7$(2),a.Y8G("disabled",x.isDisabled),a.BMQ("checked",!!x.val||null),a.R7$(2),a.Y8G("ngClass",a.l_i(8,l6,x.isDisabled,!x.isDisabled))("@buttonClicked",x.animationState),a.R7$(2),a.JRh(x.rightLabel),a.R7$(),a.Y8G("helperText",x.helperText))},dependencies:[L.YU,Fd,Ec],styles:['@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.toggle-bg[_ngcontent-%COMP%]:after{content:"";position:absolute;background-color:#fff;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;width:1.25rem;height:1.25rem;border-radius:9999px;border-width:1px;border-color:#e6e8f0}input[_ngcontent-%COMP%]:checked + .toggle-bg[_ngcontent-%COMP%]:after{transform:translate(135%);border:white}input[_ngcontent-%COMP%] + .toggle-bg[_ngcontent-%COMP%]:after{transition:all .3s}input[_ngcontent-%COMP%]:checked + .toggle-bg[_ngcontent-%COMP%]{border-color:#767024;background-color:#767024}input[_ngcontent-%COMP%]:checked + .toggle-bg[_ngcontent-%COMP%]:hover{border-color:#bab896;background-color:#bab896}input[disabled][_ngcontent-%COMP%]:checked + .toggle-bg[_ngcontent-%COMP%]{border-color:#f9fafc;background-color:#f9fafc}input[disabled][_ngcontent-%COMP%] + .toggle-bg[_ngcontent-%COMP%]:after{background-color:#d8dae5}'],data:{animation:[K1]}})}return b})(),N1=(()=>{class b{constructor(){this.elementClass="flex-col mb-4"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootFormItem",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})();const O3=["*"];function cf(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",0),a.bIt("@slideMotion.start",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleSlideStarted(x))})("@slideMotion.done",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleSlideFinished(x))}),a.SdG(1),a.k0s()}2&b&&a.Y8G("@slideMotion",void 0)}let Vd=(()=>{class b{constructor(f){this._iconService=f,this.onSlideFinished=new a.bkB,this.onSlideStarted=new a.bkB,this._iconService.registerIcons([Lf])}handleSlideFinished(f){this.onSlideFinished.emit(f)}handleSlideStarted(f){this.onSlideStarted.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-dropdown-menu"]],viewQuery:function(k,x){if(1&k&&a.GBs(a.C4Q,5),2&k){let ye;a.mGM(ye=a.lsd())&&(x.templateRef=ye.first)}},outputs:{onSlideFinished:"onSlideFinished",onSlideStarted:"onSlideStarted"},ngContentSelectors:O3,decls:1,vars:0,consts:[[1,"bg-white","max-h-[50vh]","w-full","overflow-auto","rounded-sm","shadow-ant-default","user-theme-dropdown"]],template:function(k,x){1&k&&(a.NAR(),a.DNE(0,cf,2,1,"ng-template"))},data:{animation:[s1]},changeDetection:0})}return b})(),e4=(()=>{class b{constructor(f,k,x,ye,kt,zn,Fi){this._document=f,this._platform=k,this._overlay=x,this._overlayPositionBuilder=ye,this._elementRef=kt,this._viewContainerRef=zn,this._r2=Fi,this.mouseOnDropdown=new a.bkB,this._mouseOnDropdown=!1,this._mouseOnHost=!1,this._hasListeners=!1}ngAfterViewInit(){(0,L.UE)(this._platform)&&setTimeout(()=>{this._triggerWidth=this._elementRef.nativeElement.getBoundingClientRect().width;const f=this._overlayPositionBuilder.flexibleConnectedTo(this._elementRef).withPositions([Xo.bottomExtendRight,Xo.topExtendRight,Xo.bottomExtendLeft,Xo.topExtendLeft]);this._overlayRef=this._overlay.create({positionStrategy:f,minWidth:this._triggerWidth,scrollStrategy:this._overlay.scrollStrategies.reposition()}),this._dropdownInstance=new et.VA(this.filterOverlay?.templateRef,this._viewContainerRef)})}ngOnDestroy(){this._dropdownEnterListener?.(),this._dropdownLeaveListener?.(),this._outsideClickListener?.(),this._dropdownClickListener?.()}ngOnChanges(f){f.results&&f.results.currentValue?.length>0&&this.show()}clickOpen(){this.results&&0===this.results.length||this.show()}mouseEnterHost(){this._mouseOnHost=!0,this._hasListeners||(this._hasListeners=!0,this._dropdownLeaveListener=this._r2.listen(this._overlayRef.overlayElement,"mouseleave",()=>{this._mouseOnDropdown=!1,this.mouseOnDropdown.emit(!1)}),this._dropdownEnterListener=this._r2.listen(this._overlayRef.overlayElement,"mouseenter",()=>{this._mouseOnDropdown=!0,this.mouseOnDropdown.emit(!0)}),this._dropdownClickListener=this._r2.listen(this._overlayRef.overlayElement,"click",f=>{f.preventDefault(),f.stopPropagation(),this._mouseOnDropdown=!1,this.hide()}))}mouseLeaveHost(){this._mouseOnHost=!1}show(){this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.attach(this._dropdownInstance),this._outsideClickListener=this._r2.listen(this._document,"click",()=>this.hide()))}hide(){!this._mouseOnDropdown&&!this._mouseOnHost&&this._overlayRef.detach()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(L.qQ),a.rXU(a.Agw),a.rXU(z.hJ),a.rXU(z.lF),a.rXU(a.aKT),a.rXU(a.c1b),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","searchResults",""]],hostBindings:function(k,x){1&k&&a.bIt("click",function(){return x.clickOpen()})("mouseenter",function(){return x.mouseEnterHost()})("mouseleave",function(){return x.mouseLeaveHost()})},inputs:{filterOverlay:[0,"searchResults","filterOverlay"],listener:"listener",results:"results"},outputs:{mouseOnDropdown:"mouseOnDropdown"},features:[a.OA$]})}return b})();const z3=["*"],Cd=b=>({"opacity-0 pointer-events-none":b});function Rm(b,me){1&b&&(a.j41(0,"div",3)(1,"div",4),a.nrm(2,"root-icon",5),a.k0s()())}let df=(()=>{class b extends Sa{constructor(f,k){super(),this._cdr=f,this._iconService=k,this.delay=0,this.spinning=!0,this._spinning$=new de.t(this.spinning),this._delay$=new Ge.m(1),this.isLoading=!1,this._iconService.registerIcons([Mh])}ngOnInit(){this._delay$.pipe((0,ft.Z)(this.delay),(0,at.F)(),(0,B.n)(f=>0===f?this._spinning$:this._spinning$.pipe((0,Te.s)(k=>(0,ht.O)(k?f:0)))),this.takeUntilDestroy).subscribe(f=>{this.isLoading=f,this._cdr.markForCheck()})}ngOnChanges(f){super.ngOnChanges(f);const{spinning:k,delay:x}=f;k&&this._spinning$.next(this.spinning),x&&this._delay$.next(this.delay)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.gRc),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-spin"]],inputs:{delay:"delay",spinning:"spinning"},features:[a.Vt3,a.OA$],ngContentSelectors:z3,decls:4,vars:4,consts:[[1,"relative"],["class","absolute w-full h-full max-h-96 min-h-[32px] flex justify-center items-center",4,"ngIf"],[3,"ngClass"],[1,"absolute","w-full","h-full","max-h-96","min-h-[32px]","flex","justify-center","items-center"],[1,"animate-spin"],["name","loader"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.DNE(1,Rm,3,0,"div",1),a.j41(2,"div",2),a.SdG(3),a.k0s()()),2&k&&(a.R7$(),a.Y8G("ngIf",x.isLoading),a.R7$(),a.Y8G("ngClass",a.eq3(2,Cd,x.isLoading)))},dependencies:[L.YU,L.bT,jt],changeDetection:0})}return b})(),Ep=(()=>{class b{constructor(f,k,x,ye,kt,zn,Fi){this._document=f,this._platform=k,this._overlay=x,this._overlayPositionBuilder=ye,this._elementRef=kt,this._viewContainerRef=zn,this._r2=Fi,this.position="center",this.mouseOnChild=!1,this.closeOnClick=!1,this.keepOpen=!1,this.addFilter=!1,this.mouseOnDropdown=new a.bkB,this.onOverlayClosed=new a.bkB,this._mouseOnDropdown=!1,this._mouseOnHost=!1,this._hasListeners=!1}getPosition(){switch(this.position){case"center":return[Xo.bottomExtendRight,Xo.topExtendRight,Xo.bottomExtendLeft,Xo.topExtendLeft];case"right":return[Xo.rightLowerOffset10,Xo.rightUpperOffset10,Xo.leftLower,Xo.leftUpper,Xo.bottomExtendRight,Xo.topExtendRight,Xo.bottomExtendLeft,Xo.topExtendLeft];default:return[Xo.bottomMiddle,Xo.topMiddle]}}ngAfterViewInit(){(0,L.UE)(this._platform)&&setTimeout(()=>{this._triggerWidth=this._elementRef.nativeElement.getBoundingClientRect().width;const f=this._overlayPositionBuilder.flexibleConnectedTo(this._elementRef).withPositions(this.getPosition());this._overlayRef=this._overlay.create({positionStrategy:f,minWidth:this._triggerWidth/2,scrollStrategy:this._overlay.scrollStrategies.reposition()}),this._dropdownInstance=new et.VA(this.filterOverlay?.templateRef,this._viewContainerRef)})}ngOnDestroy(){this._dropdownEnterListener?.(),this._dropdownLeaveListener?.(),this._outsideClickListener?.(),this._dropdownClickListener?.(),this._addFilterClickListener?.()}ngOnChanges(f){f.tagText&&f.tagText.currentValue?.length>0&&this.show(),f.isVisible&&this._overlayRef&&(f.isVisible.currentValue?this.clickOpen():(this._overlayRef.detach(),this.onOverlayClosed.emit()))}clickOpen(){this.mouseEnterHost(),""!==this.tagText&&this.show()}mouseEnterHost(){this._mouseOnHost=!0,!this._hasListeners&&this._overlayRef&&(this._hasListeners=!0,this._dropdownLeaveListener=this._r2.listen(this._overlayRef.overlayElement,"mouseleave",()=>{this._mouseOnDropdown=!1,this.mouseOnDropdown.emit(!1)}),this._dropdownEnterListener=this._r2.listen(this._overlayRef.overlayElement,"mouseenter",()=>{this._mouseOnDropdown=!0,this.mouseOnDropdown.emit(!0);const f=this._document.getElementsByClassName("add-filter-button")[0];this.addFilter&&f&&(this._addFilterClickListener=this._r2.listen(f,"click",()=>{this._mouseOnDropdown=!1,this.mouseOnDropdown.emit(!1),this.hide()}))}),this.closeOnClick&&(this._dropdownClickListener=this._r2.listen(this._overlayRef.overlayElement,"click",f=>{f.preventDefault(),f.stopPropagation(),this.keepOpen||(this._mouseOnDropdown=!1,this.hide())})))}mouseLeaveHost(){this._mouseOnHost=!1}show(){this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.attach(this._dropdownInstance),this._outsideClickListener=this._r2.listen(this._document,"click",()=>this.hide()))}hide(){!this._mouseOnDropdown&&!this._mouseOnHost&&!this.mouseOnChild&&(this._overlayRef.detach(),this.onOverlayClosed.emit())}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(L.qQ),a.rXU(a.Agw),a.rXU(z.hJ),a.rXU(z.lF),a.rXU(a.aKT),a.rXU(a.c1b),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","customFilter",""]],hostBindings:function(k,x){1&k&&a.bIt("click",function(){return x.clickOpen()})("mouseenter",function(){return x.mouseEnterHost()})("mouseleave",function(){return x.mouseLeaveHost()})},inputs:{filterOverlay:[0,"customFilter","filterOverlay"],position:"position",mouseOnChild:"mouseOnChild",closeOnClick:"closeOnClick",keepOpen:"keepOpen",addFilter:"addFilter",tagText:"tagText",isVisible:"isVisible"},outputs:{mouseOnDropdown:"mouseOnDropdown",onOverlayClosed:"onOverlayClosed"},features:[a.OA$]})}return b})();function Pm(b,me){1&b&&(a.j41(0,"div")(1,"div",3)(2,"span"),a.EFF(3," Default value "),a.k0s()(),a.j41(4,"div",17),a.nrm(5,"norby-input-base",18),a.k0s()())}function c6(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",22)(1,"div",23),a.EFF(2),a.k0s(),a.j41(3,"norby-button",24),a.bIt("buttonClicked",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.handleChangeContent())}),a.k0s()()}if(2&b){const f=a.XpG(2);a.R7$(2),a.SpI(" ",f.selectedContent.title," ")}}function t4(b,me){if(1&b&&(a.j41(0,"div")(1,"div",19)(2,"span"),a.EFF(3," Search "),a.k0s()(),a.j41(4,"root-spin",16)(5,"div",17),a.nrm(6,"norby-input-base",20),a.k0s(),a.DNE(7,c6,4,1,"div",21),a.k0s()()),2&b){const f=a.XpG(),k=a.sdS(55);a.R7$(4),a.Y8G("spinning",f.isLoadingContent),a.R7$(),a.AVh("hidden",!!f.selectedContent),a.R7$(),a.Y8G("searchResults",k)("results",(null==f.contentVariableOptions?null:f.contentVariableOptions.length)>0?f.contentVariableOptions:f.contentVariableDefaultOptions),a.R7$(),a.Y8G("ngIf",f.selectedContent)}}function hl(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.APPLE_CALENDAR_URL))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.APPLE_CALENDAR_URL," ")}}function uf(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.APPLE_CALENDAR))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.APPLE_CALENDAR," ")}}function Bv(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.GOOGLE_CALENDAR_URL))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.GOOGLE_CALENDAR_URL," ")}}function d6(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.GOOGLE_CALENDAR))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.GOOGLE_CALENDAR," ")}}function N3(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.OUTLOOK_CALENDAR_URL))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.OUTLOOK_CALENDAR_URL," ")}}function hf(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",13),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSelectVariable(x.sendContentVariableType.OUTLOOK_CALENDAR))}),a.EFF(1),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.variableDisplayTextType.OUTLOOK_CALENDAR," ")}}function n4(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",26)(1,"div",27),a.bIt("click",function(){const x=a.eBV(f).$implicit,ye=a.XpG(2);return a.Njj(ye.handleSelectContent(x.content))}),a.nrm(2,"norby-icon",28)(3,"div",29),a.k0s()()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(2),a.Y8G("name",k.getIcon(null==f?null:f.content.contentType)),a.R7$(),a.Y8G("innerHtml",f.highlightedTitle||f.content.title,a.npT)}}function u6(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,n4,4,2,"div",25),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.contentVariableOptions)}}function pl(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",26)(1,"div",27),a.bIt("click",function(){const x=a.eBV(f).$implicit,ye=a.XpG(2);return a.Njj(ye.handleSelectContent(x.content))}),a.nrm(2,"norby-icon",28)(3,"div",29),a.k0s()()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(2),a.Y8G("name",k.getIcon(null==f?null:f.content.contentType)),a.R7$(),a.Y8G("innerHtml",f.highlightedTitle||f.content.title,a.npT)}}function h6(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,pl,4,2,"div",25),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.contentVariableDefaultOptions)}}function $v(b,me){1&b&&(a.j41(0,"div")(1,"div",26),a.EFF(2,"No results..."),a.k0s()())}let o4=(()=>{class b extends Sa{constructor(f,k,x){super(),this._formBuilder=f,this._content=k,this._cdr=x,this.isSendField=!0,this.isVisible=!0,this.showHtmlVariables=!0,this.isSearching=!1,this.onAddUserVariable=new a.bkB,this.onEditUserVariable=new a.bkB,this.onAddContentVariable=new a.bkB,this.onEditContentVariable=new a.bkB,this.onContentVariableSearchInput=new a.bkB,this.sendUserVariableType=n.f5b,this.sendContentVariableType=n.pKk,this.variableDisplayTextType=n.tq0,this.isLoadingContent=!1}ngOnInit(){this._initForm(),this._updateVariableDisplay(this.editingVariable?.type)}ngOnChanges(f){this.formGroup&&f.isVisible&&!1===f.isVisible.currentValue&&(this.selectedContent=null,this.variableDisplayText=null,this.formGroup.reset()),f.editingVariable&&(this.formGroup&&f.editingVariable.currentValue?.type&&(this._updateVariableDisplay(f.editingVariable.currentValue.type),this.formGroup.patchValue({type:f.editingVariable.currentValue?.type})),this.formGroup&&f.editingVariable.currentValue?.defaultValue&&this.formGroup.patchValue({defaultValue:f.editingVariable.currentValue.defaultValue}),f.editingVariable.currentValue?.contentId&&f.editingVariable.currentValue?.contentId!==this.selectedContent?.contentId&&(this.isLoadingContent=!0,this._content.getContent(f.editingVariable.currentValue.contentId).then(k=>{this.selectedContent=k,this.isLoadingContent=!1,this._cdr.markForCheck()})))}get isUserVariable(){const f=this.formGroup?.get("type")?.value;return!!n.f5b[f]}get isContentVariable(){const f=this.formGroup?.get("type")?.value;return!!n.pKk[f]}getIcon(f){return"event"===f?"calendar":"edit"}_initForm(){this.formGroup=this._formBuilder.group({type:[this.editingVariable?.type??"",K.k0.required],defaultValue:[this.editingVariable?.defaultValue??""],contentVariableSearchInput:[""]}),this.formGroup.controls.contentVariableSearchInput.valueChanges.pipe((0,at.F)(),this.takeUntilDestroy).subscribe(f=>{this.onContentVariableSearchInput.emit(f)})}_updateVariableDisplay(f){this.variableDisplayText=f?n.tq0[f]:null}handleSelectVariable(f){this._updateVariableDisplay(f),this.formGroup.patchValue({type:f,contentVariableSearchInput:""}),this.selectedContent=null}handleSelectContent(f){this.selectedContent=f}handleChangeContent(){this.selectedContent=null;const f=this.formGroup.get("contentVariableSearchInput")?.value;this.formGroup.patchValue({contentVariableSearchInput:f})}handleAddVariable(){const f=this.formGroup.get("type")?.value,k=this.formGroup.get("defaultValue")?.value;this.isUserVariable&&(this.editingVariable?this.onEditUserVariable.emit({type:f,defaultValue:k}):this.onAddUserVariable.emit({type:f,defaultValue:k})),this.isContentVariable&&(this.editingVariable?this.onEditContentVariable.emit({type:f,contentId:this.selectedContent?.contentId}):this.onAddContentVariable.emit({type:f,contentId:this.selectedContent?.contentId}))}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.ok),a.rXU(mm),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-sends-variable-selector"]],inputs:{contentVariableOptions:"contentVariableOptions",contentVariableDefaultOptions:"contentVariableDefaultOptions",shouldDisplayDefaultOptions:"shouldDisplayDefaultOptions",editingVariable:"editingVariable",isSendField:"isSendField",isVisible:"isVisible",showHtmlVariables:"showHtmlVariables",isSearching:"isSearching"},outputs:{onAddUserVariable:"onAddUserVariable",onEditUserVariable:"onEditUserVariable",onAddContentVariable:"onAddContentVariable",onEditContentVariable:"onEditContentVariable",onContentVariableSearchInput:"onContentVariableSearchInput"},features:[a.Vt3,a.OA$],decls:60,vars:32,consts:[["variableOptionsTpl",""],["contentSearchResultsTpl",""],[1,"p-3"],[1,"mb-2","text-xs"],[3,"formGroup"],[1,"flex"],["type","button",1,"ant-btn-animation","flex","items-center","justify-between","text-base","rounded-sm","mb-3","h-12","px-3","pb-4","pt-3.5","border","border-neutral-300","hover:border-neutral-500","flex-1","bg-white","leading-5","whitespace-nowrap","w-80",3,"ngClass","customFilter","closeOnClick"],["name","chevron_down"],[4,"ngIf"],[1,"flex","add-variable-button",3,"buttonClicked","text","isDisabled"],[1,"p-3","min-w-56"],[1,"mb-2"],[1,"px-2","ml-3","border-l"],[1,"cursor-pointer",3,"click"],[1,"my-2"],["class","cursor-pointer",3,"click",4,"ngIf"],[3,"spinning"],["rootFormItem",""],["formControlName","defaultValue","placeholder","Friend",1,"prompt-input"],[1,"mb-2","flex","flex-col","text-xs"],["formControlName","contentVariableSearchInput","placeholder","Event or signup name...","helperText","The content this variable references",1,"prompt-input",3,"searchResults","results"],["class","flex px-3 h-12 mb-4 justify-between items-center border border-neutral-300 rounded-sm",4,"ngIf"],[1,"flex","px-3","h-12","mb-4","justify-between","items-center","border","border-neutral-300","rounded-sm"],[1,"truncate","font-bold"],["text","Change","buttonType","minimal",3,"buttonClicked"],["class","py-2 px-3",4,"ngFor","ngForOf"],[1,"py-2","px-3"],[1,"flex","items-center","py-1","cursor-pointer",3,"click"],[1,"flex-initial",3,"name"],[1,"flex-auto",3,"innerHtml"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"span"),a.EFF(3," Token "),a.k0s()(),a.j41(4,"form",4)(5,"div",5)(6,"button",6)(7,"span"),a.EFF(8),a.k0s(),a.nrm(9,"norby-icon",7),a.k0s()(),a.DNE(10,Pm,6,0,"div",8)(11,t4,8,6,"div",8),a.k0s(),a.j41(12,"norby-button",9),a.bIt("buttonClicked",function(){return a.eBV(ye),a.Njj(x.handleAddVariable())}),a.k0s()(),a.j41(13,"root-dropdown-menu",null,0)(15,"div",10)(16,"div",11),a.EFF(17,"User variables"),a.k0s(),a.j41(18,"div",12)(19,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendUserVariableType.USER_FIRST_NAME))}),a.EFF(20),a.k0s(),a.j41(21,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendUserVariableType.USER_LAST_NAME))}),a.EFF(22),a.k0s(),a.j41(23,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendUserVariableType.USER_FULL_NAME))}),a.EFF(24),a.k0s()(),a.j41(25,"div",14),a.EFF(26,"Content variables"),a.k0s(),a.j41(27,"div",12)(28,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_LOCATION))}),a.EFF(29),a.k0s(),a.j41(30,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_TITLE))}),a.EFF(31),a.k0s(),a.j41(32,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_URL))}),a.EFF(33),a.k0s(),a.j41(34,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.TOTAL_TICKETS_PURCHASED))}),a.EFF(35),a.k0s(),a.j41(36,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_PAGE_URL))}),a.EFF(37),a.k0s(),a.j41(38,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.USER_REFERRAL_URL))}),a.EFF(39),a.k0s(),a.j41(40,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_SUBTITLE))}),a.EFF(41),a.k0s(),a.j41(42,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_START_DATE))}),a.EFF(43),a.k0s(),a.j41(44,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.CONTENT_END_DATE))}),a.EFF(45),a.k0s(),a.DNE(46,hl,2,1,"div",15)(47,uf,2,1,"div",15)(48,Bv,2,1,"div",15)(49,d6,2,1,"div",15)(50,N3,2,1,"div",15)(51,hf,2,1,"div",15),a.j41(52,"div",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleSelectVariable(x.sendContentVariableType.USER_PROMPT_RESPONSES))}),a.EFF(53),a.k0s()()()(),a.j41(54,"root-dropdown-menu",null,1)(56,"root-spin",16),a.DNE(57,u6,2,1,"div",8)(58,h6,2,1,"div",8)(59,$v,3,0,"div",8),a.k0s()()}if(2&k){let ye;const kt=a.sdS(14);a.R7$(4),a.Y8G("formGroup",x.formGroup),a.R7$(2),a.Y8G("ngClass",x.variableDisplayText?"text-neutral-900":"text-neutral-600")("customFilter",kt)("closeOnClick",!0),a.R7$(2),a.SpI(" ",null!==(ye=x.variableDisplayText)&&void 0!==ye?ye:"Select token"," "),a.R7$(2),a.Y8G("ngIf",x.isUserVariable),a.R7$(),a.Y8G("ngIf",x.isContentVariable&&x.isSendField),a.R7$(),a.Y8G("text",null!=x.editingVariable&&x.editingVariable.type?"Update variable":"Insert variable")("isDisabled",!x.formGroup.valid||x.isContentVariable&&x.isSendField&&!x.selectedContent),a.R7$(8),a.SpI(" ",x.variableDisplayTextType.USER_FIRST_NAME," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.USER_LAST_NAME," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.USER_FULL_NAME," "),a.R7$(5),a.SpI(" ",x.variableDisplayTextType.CONTENT_LOCATION," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_TITLE," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_URL," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.TOTAL_TICKETS_PURCHASED," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_PAGE_URL," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.USER_REFERRAL_URL," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_SUBTITLE," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_START_DATE," "),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.CONTENT_END_DATE," "),a.R7$(),a.Y8G("ngIf",!x.showHtmlVariables),a.R7$(),a.Y8G("ngIf",x.showHtmlVariables),a.R7$(),a.Y8G("ngIf",!x.showHtmlVariables),a.R7$(),a.Y8G("ngIf",x.showHtmlVariables),a.R7$(),a.Y8G("ngIf",!x.showHtmlVariables),a.R7$(),a.Y8G("ngIf",x.showHtmlVariables),a.R7$(2),a.SpI(" ",x.variableDisplayTextType.USER_PROMPT_RESPONSES," "),a.R7$(3),a.Y8G("spinning",x.isSearching),a.R7$(),a.Y8G("ngIf",(null==x.contentVariableOptions?null:x.contentVariableOptions.length)>0),a.R7$(),a.Y8G("ngIf",(null==x.contentVariableDefaultOptions?null:x.contentVariableDefaultOptions.length)>0&&x.shouldDisplayDefaultOptions&&0===(null==x.contentVariableOptions?null:x.contentVariableOptions.length)),a.R7$(),a.Y8G("ngIf",0===(null==x.contentVariableOptions?null:x.contentVariableOptions.length)&&!x.shouldDisplayDefaultOptions)}},dependencies:[L.YU,L.Sq,L.bT,K.qT,K.BC,K.cb,K.j4,K.JD,N1,Vd,e4,df,qi,Zd,c1,Ep]})}return b})();function A3(b,me){if(1&b&&(a.qex(0),a.j41(1,"div",23)(2,"div",24),a.EFF(3),a.k0s()(),a.bVm()),2&b){const f=me.$implicit;a.R7$(3),a.SpI(" ",f," ")}}function r4(b,me){if(1&b&&(a.j41(0,"div",21),a.DNE(1,A3,4,1,"ng-container",22),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.WEEKDAYS)}}function s4(b,me){1&b&&(a.qex(0),a.nrm(1,"div",25),a.bVm())}function p6(b,me){if(1&b){const f=a.RV6();a.qex(0),a.j41(1,"div",26)(2,"div",27),a.bIt("click",function(){const x=a.eBV(f).$implicit,ye=a.XpG(2);return a.Njj(ye.handleDaySelectionClick(x))}),a.EFF(3),a.k0s()(),a.bVm()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(2),a.Y8G("ngClass",k.getDayClasses(f)),a.R7$(),a.SpI(" ",f," ")}}function a4(b,me){if(1&b&&(a.qex(0),a.DNE(1,s4,2,0,"ng-container",22)(2,p6,4,2,"ng-container",22),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.blankdays),a.R7$(),a.Y8G("ngForOf",f.noOfDays)}}function f6(b,me){if(1&b){const f=a.RV6();a.qex(0),a.j41(1,"div",28)(2,"div",29),a.bIt("click",function(){const x=a.eBV(f).$implicit,ye=a.XpG(2);return a.Njj(ye.handleYearSelectionClick(x))}),a.EFF(3),a.k0s()(),a.bVm()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(2),a.Y8G("ngClass",k.getYearClasses(f)),a.R7$(),a.SpI(" ",f," ")}}function m6(b,me){if(1&b&&(a.qex(0),a.DNE(1,f6,4,2,"ng-container",22),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.years)}}let A0=(()=>{class b{constructor(){this.dateFormat="MMM D YYYY",this.isDisabled=!1,this.isRequired=!1,this.size="medium",this.isJoinedRight=!1,this.isJoinedLeft=!1,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1,this.MONTH_NAMES=jc,this.MONTH_SHORT_NAMES=Sc,this.WEEKDAYS=Hi,this.years=[],this.showDatePicker=!1,this.noOfDays=[],this.blankdays=[],this.yearSelection=!1}ngOnInit(){this.val=this.value,this.hideDatePicker()}writeValue(f){this.val=f}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}_initialize(){const f=this.val?$(this.val,this.dateFormat).toDate():new Date;this.month=f.getMonth(),this.year=f.getFullYear(),this.selectedYear=this.year,this.val=this._formatDateForDisplay(f),this._fillYearsArray(this.selectedYear-17,this.selectedYear+17),this._onChanged(this.val),this._markAsTouched()}_formatDateForDisplay(f){return $(f).format(this.dateFormat)}_isSelectedDate(f){const k=new Date(this.selectedYear,this.month,f);return this.val===this._formatDateForDisplay(k)}_isToday(f){const k=new Date,x=new Date(this.selectedYear,this.month,f);return k.toDateString()===x.toDateString()}handleDaySelectionClick(f){const k=new Date(this.selectedYear,this.month,f);this.val=this._formatDateForDisplay(k),this._onChanged(this.val),this._markAsTouched(),this.hideDatePicker()}getDayClasses(f){let k="";return k=this._isToday(f)?"bg-lilac-base":k,k=this._isToday(f)||0!=this._isSelectedDate(f)?k:"text-neutral-900 hover:bg-neutral-300",k=this._isSelectedDate(f)?"bg-neutral-900 text-white hover:bg-opacity-75":k,k}_fillDays(){const f=new Date(this.selectedYear,this.month+1,0).getDate(),k=new Date(this.selectedYear,this.month).getDay();this.blankdays=[];for(var x=1;x<=k;x++)this.blankdays.push(x);for(this.noOfDays=[],x=1;x<=f;x++)this.noOfDays.push(x)}handleMonthOrYearDecreaseClick(){if(this.yearSelection){let f=+this.years[0];this._fillYearsArray(f-this.years.length,f-1)}else{if(0==this.month){this.selectedYear--;let f=+this.years[0];this.selectedYear<f&&this._fillYearsArray(f-this.years.length,f-1),this.month=12}this.month--,this._fillDays()}}handleMonthOrYearIncrease(){if(this.yearSelection){const f=+this.years[this.years.length-1];this._fillYearsArray(f+1,f+this.years.length)}else{if(11==this.month){this.month=0,this.selectedYear++;const f=+this.years[this.years.length-1];this.selectedYear>f&&this._fillYearsArray(f+1,f+this.years.length)}else this.month++;this._fillDays()}}toggleDatePicker(){this.showDatePicker=!this.showDatePicker,this.selectedYear||(this._initialize(),this._fillDays())}toggleYearSelection(){this.yearSelection=!this.yearSelection}handleYearSelectionClick(f){this.selectedYear=f,this.yearSelection=!1,this._fillDays()}_fillYearsArray(f,k){this.years=[];for(let x=f;x<=k;x++)this.years.push(x.toString())}getYearClasses(f){let k="";return k=f==this.year?"bg-lilac-base":k,k=f!=this.year&&this.selectedYear!=f?"text-neutral-900 hover:bg-neutral-300":k,k=this.selectedYear==f?"bg-neutral-900 text-white hover:bg-opacity-75":k,k}hideDatePicker(){this.showDatePicker=!1}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-date-input"]],inputs:{label:"label",placeholder:"placeholder",dateFormat:"dateFormat",helperText:"helperText",errorText:"errorText",infoTooltip:"infoTooltip",value:"value",isDisabled:"isDisabled",isRequired:"isRequired",size:"size",isJoinedRight:"isJoinedRight",isJoinedLeft:"isJoinedLeft"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}])],decls:29,vars:19,consts:[["datePickerPanel",""],[1,"flex","justify-start"],[1,"mb-3","w-full"],[3,"label","infoTooltip","isRequired"],[1,"relative"],["type","text","readonly","",3,"click","keydown.escape","value","isDisabled","isJoinedRight","isJoinedLeft","isRequired","placeholder","customFilter","closeOnClick","keepOpen"],[1,"calendar-icon","absolute","right-0","px-3","py-2","pointer-events-none",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","text-gray-400"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"],[3,"errorText","helperText"],[1,"bg-white","rounded-sm","shadow","p-4","top-0","left-0","z-10",2,"width","17rem"],[1,"flex","justify-between","items-center","mb-2"],[1,"text-lg","font-bold","text-gray-800"],[1,"ml-1","text-lg","text-gray-600","font-normal",3,"click"],["type","button",1,"focus:outline-none","focus:shadow-outline","transition","ease-in-out","durationeutral-100","inline-flex","cursor-pointer","hover:bg-gray-100","p-1","rounded-full",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","text-gray-400","inline-flex"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M15 19l-7-7 7-7"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5l7 7-7 7"],["class","flex flex-wrap mb-3 -mx-1",4,"ngIf"],[1,"flex","flex-wrap","-mx-1"],[4,"ngIf"],[1,"flex","flex-wrap","mb-3","-mx-1"],[4,"ngFor","ngForOf"],[1,"px-0.5",2,"width","14.26%"],[1,"text-gray-800","font-medium","text-center","text-xs"],[1,"text-center","border","p-1","border-transparent","text-sm",2,"width","14.28%"],[1,"px-1","mb-1",2,"width","14.28%"],[1,"cursor-pointer","text-center","text-sm","rounded-full","leading-loose","transition","ease-in-out","durationeutral-100",3,"click","ngClass"],[1,"px-1","mb-1",2,"width","20%"],[1,"cursor-pointer","text-center","text-xs","rounded-sm","leading-loose","transition","ease-in-out","durationeutral-100","px-1",3,"click","ngClass"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",1)(1,"div",2),a.nrm(2,"norby-formcontrol-label",3),a.j41(3,"div",4)(4,"norby-input-base",5),a.bIt("click",function(){return a.eBV(ye),a.Njj(!x.isDisabled&&x.toggleDatePicker())})("keydown.escape",function(){return a.eBV(ye),a.Njj(x.hideDatePicker())}),a.k0s(),a.j41(5,"div",6),a.bIt("click",function(){return a.eBV(ye),a.Njj(!x.isDisabled&&x.toggleDatePicker())}),a.qSk(),a.j41(6,"svg",7),a.nrm(7,"path",8),a.k0s()()(),a.joV(),a.nrm(8,"norby-helpertext",9),a.k0s()(),a.j41(9,"root-dropdown-menu",null,0)(11,"div",10)(12,"div",11)(13,"div")(14,"span",12),a.EFF(15),a.k0s(),a.j41(16,"span",13),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.toggleYearSelection())}),a.EFF(17),a.k0s()(),a.j41(18,"div")(19,"button",14),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleMonthOrYearDecreaseClick())}),a.qSk(),a.j41(20,"svg",15),a.nrm(21,"path",16),a.k0s()(),a.joV(),a.j41(22,"button",14),a.bIt("click",function(){return a.eBV(ye),a.Njj(x.handleMonthOrYearIncrease())}),a.qSk(),a.j41(23,"svg",15),a.nrm(24,"path",17),a.k0s()()()(),a.DNE(25,r4,2,1,"div",18),a.joV(),a.j41(26,"div",19),a.DNE(27,a4,3,2,"ng-container",20)(28,m6,2,1,"ng-container",20),a.k0s()()()}if(2&k){const ye=a.sdS(10);a.R7$(2),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("isRequired",x.isRequired),a.R7$(2),a.Y8G("value",x.val)("isDisabled",x.isDisabled)("isJoinedRight",x.isJoinedRight)("isJoinedLeft",x.isJoinedLeft)("isRequired",x.isRequired)("placeholder",x.placeholder)("customFilter",x.isDisabled?null:ye)("closeOnClick",!0)("keepOpen",x.showDatePicker),a.R7$(4),a.Y8G("errorText",x.errorText)("helperText",x.helperText),a.R7$(7),a.JRh(x.MONTH_NAMES[x.month]),a.R7$(2),a.JRh(x.selectedYear),a.R7$(8),a.Y8G("ngIf",!x.yearSelection),a.R7$(2),a.Y8G("ngIf",!x.yearSelection&&x.blankdays&&x.noOfDays),a.R7$(),a.Y8G("ngIf",x.yearSelection)}},dependencies:[L.YU,L.Sq,L.bT,Fd,Zd,Ec,Ep,Vd],styles:[".calendar-icon[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%)}"]})}return b})();function l4(b,me){if(1&b&&(a.j41(0,"option",3),a.EFF(1),a.k0s()),2&b){const f=me.$implicit;a.Y8G("value",f),a.R7$(),a.JRh(f)}}let g6=(()=>{class b{constructor(){this.isDisabled=!1,this.isRequired=!1,this.showError=!1,this.keepParentOpen=!1,this.size="medium",this.onHandleChange=new a.bkB,this._onTouched=f=>{},this._onChanged=f=>{},this._touched=!1}ngOnInit(){const{validTimes:f}=(()=>{const b=$(),me=b.date(),f=[];let k,x=b.startOf("day");for(;x.date()===me;){const ye=x.format("h:mm a");null==k&&x.isAfter(b)&&(k=ye),f.push(ye),x=x.add(n.PlI,"minutes")}return k=k??f[f.length-1],{defaultTime:k,validTimes:f}})();this.validTimes=f}writeValue(f){this.val=f,this.prompt=this.val?null:"Choose time"}handleValueChange(f){this._onChanged(f),this._markAsTouched()}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-time-picker"]],inputs:{label:"label",helperText:"helperText",errorText:"errorText",infoTooltip:"infoTooltip",isDisabled:"isDisabled",isRequired:"isRequired",showError:"showError",keepParentOpen:"keepParentOpen",size:"size"},outputs:{onHandleChange:"onHandleChange"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0}])],decls:3,vars:6,consts:[[1,"text-base",3,"onHandleChange","value","prompt","isDisabled"],[3,"value",4,"ngFor","ngForOf"],[3,"errorText","helperText"],[3,"value"]],template:function(k,x){1&k&&(a.j41(0,"norby-select",0),a.bIt("onHandleChange",function(kt){return x.handleValueChange(kt)}),a.DNE(1,l4,2,2,"option",1),a.k0s(),a.nrm(2,"norby-helpertext",2)),2&k&&(a.Y8G("value",x.val)("prompt",x.prompt)("isDisabled",x.isDisabled),a.R7$(),a.Y8G("ngForOf",x.validTimes),a.R7$(),a.Y8G("errorText",x.errorText)("helperText",x.helperText))},dependencies:[L.Sq,K.xH,K.y7,Ph,Ec]})}return b})();function R3(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",2)(1,"norby-flyout-options-group",3),a.bIt("onOptionClicked",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleOptionClicked(x))}),a.k0s()()}if(2&b){const f=me.$implicit;a.R7$(),a.Y8G("items",f.children)("title",f.label)}}let c4=(()=>{class b{constructor(){this.onOptionClicked=new a.bkB}handleOptionClicked(f){this.onOptionClicked.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-flyout-menu"]],inputs:{options:"options"},outputs:{onOptionClicked:"onOptionClicked"},decls:2,vars:1,consts:[[1,"p-6","w-322","bg-white"],["class","mt-6 first:mt-0",4,"ngFor","ngForOf"],[1,"mt-6","first:mt-0"],[3,"onOptionClicked","items","title"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.DNE(1,R3,2,2,"div",1),a.k0s()),2&k&&(a.R7$(),a.Y8G("ngForOf",x.options))},dependencies:[L.Sq,bd],styles:[".dropdown[_ngcontent-%COMP%]:hover   .dropdown-menu[_ngcontent-%COMP%]{display:block}"]})}return b})();function h4(b,me){if(1&b&&a.nrm(0,"h3",3),2&b){const f=a.XpG();a.xc7("width",f.toCSSUnit(f.titleProps.width))}}function pf(b,me){if(1&b&&a.nrm(0,"li",6),2&b){const f=me.index,k=a.XpG(2);a.xc7("width",k.toCSSUnit(k.widthList[f]))}}function Lu(b,me){if(1&b&&(a.j41(0,"ul",4),a.DNE(1,pf,1,2,"li",5),a.k0s()),2&b){const f=a.XpG();a.AVh("mt-6",!!f.title),a.R7$(),a.Y8G("ngForOf",f.rowsList)}}let Lh=(()=>{class b{constructor(f){this._cdr=f,this.title=!0,this.paragraph=!0,this.elementClass="w-full table",this.rowsList=[],this.widthList=[]}ngOnInit(){this._updateProps()}ngOnChanges(f){(f.title||f.paragraph)&&this._updateProps()}toCSSUnit(f=""){return(0,No.a1)(f)}_getTitleProps(){let k="";return!!this.paragraph&&(k="38%"),{width:k,...this._getProps(this.title)}}_getParagraphProps(){const k={width:"61%"};return k.rows=this.title?3:2,{...k,...this._getProps(this.paragraph)}}_getProps(f){return f&&"object"==typeof f?f:{}}_getWidthList(){const{width:f,rows:k}=this.paragraphProps;let x=[];return f&&Array.isArray(f)?x=f:f&&!Array.isArray(f)&&(x=[],x[k-1]=f),x}_updateProps(){this.titleProps=this._getTitleProps(),this.paragraphProps=this._getParagraphProps(),this.rowsList=[...Array(this.paragraphProps.rows)],this.widthList=this._getWidthList(),this._cdr.markForCheck()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-skeleton"]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)},inputs:{title:"title",paragraph:"paragraph"},features:[a.OA$],decls:3,vars:2,consts:[[1,"table-cell","w-full","align-top"],["class","w-full h-4 mt-4 bg-skeleton-row rounded-sm",3,"width",4,"ngIf"],["class","skeleton p-0 m-0",3,"mt-6",4,"ngIf"],[1,"w-full","h-4","mt-4","bg-skeleton-row","rounded-sm"],[1,"skeleton","p-0","m-0"],["class","w-full h-4 list-none bg-skeleton-row rounded-sm",3,"width",4,"ngFor","ngForOf"],[1,"w-full","h-4","list-none","bg-skeleton-row","rounded-sm"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.DNE(1,h4,1,2,"h3",1)(2,Lu,2,3,"ul",2),a.k0s()),2&k&&(a.R7$(),a.Y8G("ngIf",!!x.title),a.R7$(),a.Y8G("ngIf",!!x.paragraph))},dependencies:[L.Sq,L.bT],styles:[".skeleton[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:16px}"],changeDetection:0})}return b})();function F3(b,me){if(1&b){const f=a.RV6();a.j41(0,"img",2),a.bIt("load",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.loaded=!0)}),a.k0s()}if(2&b){const f=a.XpG();a.Y8G("src",f.src,a.B4B)("srcset",f.srcset)("alt",f.altText)("width",f.width)("height",f.height)}}let pc=(()=>{class b{constructor(f,k){this._useRawImages=f,this._cdr=k,this.initialHeight="100px",this.backgroundColor="rgba(190, 190, 190, 0.2)",this.loaded=!1}get altText(){return this.image?.altText??this.alt??""}ngOnChanges(f){const{imageUrl:k,imgixImage:x}=f,{large:ye,medium:kt,small:zn,thumbnail:Fi}=x?.currentValue??{},{oldLarge:no,oldMedium:fo,oldSmall:Sr,oldThumbnail:ts}=x?.previousValue??{};if(k?.previousValue!==k?.currentValue||ye!==no||kt!==fo||zn!==Sr||Fi!==ts){if(this.src=(0,n.AEw)(this.imageUrl,x?.currentValue),this.width=this.image?.width,this.height=this.image?.height,this._useRawImages)this.srcset="";else{this.srcset=(0,n.sao)(x?.currentValue);const ma=ye?.width??kt?.width??zn?.width??Fi?.width,el=ye?.height??kt?.height??zn?.height??Fi?.height;el&&(this.height=el),ma&&(this.width=ma)}this._cdr.detectChanges()}}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Tc,8),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-soft-image-view"]],inputs:{imageUrl:"imageUrl",image:"image",imgixImage:"imgixImage",alt:"alt",initialHeight:"initialHeight",backgroundColor:"backgroundColor"},features:[a.OA$],decls:2,vars:5,consts:[[1,"block","relative","h-auto","overflow-hidden","flex","justify-center","items-center"],["class","block w-full h-auto rounded-none transform-none",3,"src","srcset","alt","width","height","load",4,"ngIf"],[1,"block","w-full","h-auto","rounded-none","transform-none",3,"load","src","srcset","alt","width","height"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.DNE(1,F3,1,5,"img",1),a.k0s()),2&k&&(a.xc7("min-height",x.loaded?"0px":x.initialHeight)("background-color",x.backgroundColor),a.R7$(),a.Y8G("ngIf",x.src||(null==x.srcset?null:x.srcset.length)>0))},dependencies:[L.bT],changeDetection:0})}return b})();const U=()=>({rows:3,width:150});function _e(b,me){if(1&b&&(a.j41(0,"p"),a.EFF(1," Subject: "),a.j41(2,"strong"),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(3);a.R7$(3),a.JRh(f.send.subject)}}function Ne(b,me){if(1&b&&(a.j41(0,"div",12)(1,"p"),a.EFF(2," From: "),a.j41(3,"strong"),a.EFF(4),a.k0s()(),a.j41(5,"p"),a.EFF(6," Reply to: "),a.j41(7,"strong"),a.EFF(8),a.k0s()(),a.DNE(9,_e,4,1,"p",6),a.k0s()),2&b){const f=a.XpG(2);a.R7$(4),a.JRh(f.fromName),a.R7$(4),a.JRh(f.replyTo),a.R7$(),a.Y8G("ngIf",f.send.subject)}}function _t(b,me){1&b&&a.nrm(0,"root-skeleton",13),2&b&&a.Y8G("title",!1)("paragraph",a.lJ4(2,U))}function Sn(b,me){if(1&b&&(a.j41(0,"div",4)(1,"div",8)(2,"div",9),a.DNE(3,Ne,10,3,"div",10)(4,_t,1,3,"root-skeleton",11),a.k0s()()()),2&b){const f=a.XpG();a.R7$(3),a.Y8G("ngIf",f.send),a.R7$(),a.Y8G("ngIf",!f.send)}}function Gn(b,me){if(1&b&&(a.nrm(0,"div",15),a.nI1(1,"safeHtml")),2&b){const f=me.$implicit,k=a.XpG(2);a.Y8G("innerHtml",a.bMT(1,1,f.getHtml(k.slug,k.send)),a.npT)}}function to(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,Gn,2,3,"div",14),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",null==f.send?null:f.send.blocks)("ngForTrackBy",f.trackBy)}}function As(b,me){if(1&b&&(a.nrm(0,"div",16),a.nI1(1,"safeHtml")),2&b){const f=a.XpG();a.Y8G("innerHtml",a.bMT(1,1,null==f.send?null:f.send.renderedBody),a.npT)}}function fc(b,me){if(1&b&&(a.j41(0,"div",21),a.nrm(1,"lib-soft-image-view",22),a.k0s()),2&b){const f=me.$implicit;a.R7$(),a.Y8G("imageUrl",f.source)("alt",f.filename)}}function Kr(b,me){if(1&b&&(a.j41(0,"div",19),a.DNE(1,fc,2,2,"div",20),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("ngForOf",f.send.attachments)("ngForTrackBy",f.attachmentTrackBy)}}function Sl(b,me){if(1&b&&(a.j41(0,"div",23),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.send.firstTextBlockContent," ")}}function mc(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,Kr,2,2,"div",17)(2,Sl,2,1,"div",18),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",(null==f.send||null==f.send.attachments?null:f.send.attachments.length)>0),a.R7$(),a.Y8G("ngIf",(null==f.send||null==f.send.blocks?null:f.send.blocks.length)>0&&f.send.firstTextBlockContent)}}let Vh=(()=>{class b{constructor(f){this._cdr=f,this.menuStateChanged=new a.bkB}ngDoCheck(){this.send&&this.send.hash!==this._cachedSendHash&&(this._cachedSendHash=this.send.hash,this._cdr.markForCheck())}handleMenuStateChanged(){this.menuStateChanged.next()}get isEmail(){return"email"===this.send?.deliveryType}get isSms(){return"sms"===this.send?.deliveryType}get fromName(){return this.send?.senderName||this.slug?.accountInfo?.title||"No name"}get replyTo(){return this.send?.replyTo||this.slug?.mailing?.replyTo||"No reply to"}attachmentTrackBy(f,k){return k?.source}trackBy(f,k){return k.hash}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-send-detail-view"]],inputs:{send:"send",slug:"slug"},outputs:{menuStateChanged:"menuStateChanged"},decls:9,vars:4,consts:[[1,"send-detail-view-container-wrapper"],[1,"send-detail-view-container"],[1,"space-wrapper"],["class","unthemed-card-styles block overflow-hidden border-solid border border-border-color-split rounded-none",4,"ngIf"],[1,"unthemed-card-styles","block","overflow-hidden","border-solid","border","border-border-color-split","rounded-none"],[1,"send-body","ql-readonly-body","text-base"],[4,"ngIf"],[3,"innerHtml",4,"ngIf"],[1,"header"],[1,"meta-wrapper"],["class","meta",4,"ngIf"],[3,"title","paragraph",4,"ngIf"],[1,"meta"],[3,"title","paragraph"],["class","flex justify-center break-all w-full",3,"innerHtml",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex","justify-center","break-all","w-full",3,"innerHtml"],[3,"innerHtml"],["class","flex flex-row flex-wrap",4,"ngIf"],["class","rounded-tl-lg rounded-tr-lg rounded-br-lg bg-neutral-200 text-lg text-neutral-900 p-6 mr-6 whitespace-pre-wrap",4,"ngIf"],[1,"flex","flex-row","flex-wrap"],["class","mr-3 mb-3 w-24 h-24 rounded-lg bg-neutral-200 flex justify-center items-center overflow-hidden",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mr-3","mb-3","w-24","h-24","rounded-lg","bg-neutral-200","flex","justify-center","items-center","overflow-hidden"],[3,"imageUrl","alt"],[1,"rounded-tl-lg","rounded-tr-lg","rounded-br-lg","bg-neutral-200","text-lg","text-neutral-900","p-6","mr-6","whitespace-pre-wrap"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"div",1)(2,"div",2),a.DNE(3,Sn,5,2,"div",3),a.j41(4,"div",4)(5,"div",5),a.DNE(6,to,2,2,"div",6)(7,As,2,3,"div",7),a.k0s()(),a.DNE(8,mc,3,2,"div",6),a.k0s()()()),2&k&&(a.R7$(3),a.Y8G("ngIf",x.isEmail),a.R7$(3),a.Y8G("ngIf",x.isEmail&&!(null!=x.send&&x.send.hasBeenSent)),a.R7$(),a.Y8G("ngIf",x.isEmail&&(null==x.send?null:x.send.hasBeenSent)),a.R7$(),a.Y8G("ngIf",x.isSms))},dependencies:[L.Sq,L.bT,Lh,pc,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.send-detail-view-container-wrapper{position:relative}.send-detail-view-container-wrapper .send-detail-view-container{position:relative;margin:0 auto;padding:24px;max-width:980px;width:100%;z-index:2}.send-detail-view-container-wrapper .send-detail-view-container div,.send-detail-view-container-wrapper .send-detail-view-container p{font-family:basis-grotesque,Noto Sans,-apple-system,sans-serif!important}.send-detail-view-container-wrapper .send-detail-view-container .space-wrapper>*{max-width:980px;margin-bottom:24px;overflow:hidden}.send-detail-view-container-wrapper .send-detail-view-container .space-wrapper>*:last-child{margin:0}.send-detail-view-container-wrapper .send-detail-view-container .send-body{padding:24px}.send-detail-view-container-wrapper .send-detail-view-container .header{display:flex;flex-direction:column}.send-detail-view-container-wrapper .send-detail-view-container .header>*{flex:0 0 auto}.send-detail-view-container-wrapper .send-detail-view-container .header .meta-wrapper{padding:24px;display:flex;flex-direction:column;justify-content:space-between}.send-detail-view-container-wrapper .send-detail-view-container .header .meta-wrapper .meta>*{margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.send-detail-view-container-wrapper .send-detail-view-container .header .meta-wrapper .meta>*:last-child{margin:0}@media only screen and (max-width: 980px){.send-detail-view-container-wrapper .send-detail-view-container{padding:0}.send-detail-view-container-wrapper .send-detail-view-container .unthemed-card-styles{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}}\n"],encapsulation:2,changeDetection:0})}return b})(),nh=(()=>{class b extends Sa{constructor(f){super(),this._formBuilder=f,this.dateFormat="MMM D YYYY",this.isDisabled=!1,this._onTouched=k=>{},this._onChanged=k=>{},this._touched=!1}ngOnInit(){this._initForm()}_initForm(){this.dtFormGroup=this._formBuilder.group({date:["",K.k0.required],time:["",K.k0.required]}),this.dtFormGroup.valueChanges.pipe((0,le.p)(()=>this.dtFormGroup.valid),this.takeUntilDestroy).subscribe(f=>{this._onChanged(new Date(f.date+" "+f.time)),this._markAsTouched()})}writeValue(f){this.dtFormGroup.patchValue({date:f?$(f).format(this.dateFormat):"",time:f?$(f).format("h:mm a"):""},{emitEvent:!1})}registerOnChange(f){this._onChanged=f}registerOnTouched(f){this._onTouched=f}_markAsTouched(){this._touched||(this._onTouched(),this._touched=!0)}validate(f){const{date:k,time:x}=this.dtFormGroup.value;return!k&&!x||this.dtFormGroup.valid?null:{invalidForm:{valid:!1,message:"Invalid date"}}}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.ze))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["norby-date-time-picker"]],inputs:{label:"label",infoTooltip:"infoTooltip",dateFormat:"dateFormat",errorText:"errorText",helperText:"helperText",isDisabled:"isDisabled"},features:[a.Jv_([{provide:K.kq,useExisting:(0,a.Rfq)(()=>b),multi:!0},{provide:K.cz,useExisting:(0,a.Rfq)(()=>b),multi:!0}]),a.Vt3],decls:5,vars:8,consts:[[3,"formGroup"],[1,"flex","flex-1","items-end","gap-4"],["formControlName","date","placeholder","Choose date",1,"flex-1",3,"label","infoTooltip","dateFormat","isDisabled"],["formControlName","time",1,"flex-1",3,"isDisabled"],[3,"errorText","helperText"]],template:function(k,x){1&k&&(a.j41(0,"form",0)(1,"div",1),a.nrm(2,"norby-date-input",2)(3,"norby-time-picker",3),a.k0s(),a.nrm(4,"norby-helpertext",4),a.k0s()),2&k&&(a.Y8G("formGroup",x.dtFormGroup),a.R7$(2),a.Y8G("label",x.label)("infoTooltip",x.infoTooltip)("dateFormat",x.dateFormat)("isDisabled",x.isDisabled),a.R7$(),a.Y8G("isDisabled",x.isDisabled),a.R7$(),a.Y8G("errorText",x.errorText)("helperText",x.helperText))},dependencies:[K.qT,K.BC,K.cb,K.j4,K.JD,A0,g6,Ec]})}return b})();const P0=["*"],m4=b=>({"h-11 user-theme-button-adjacent-input":b}),F0=(b,me,f,k,x,ye,kt)=>({"bg-neutral-900 user-theme-button-primary":b,"bg-white hover:bg-neutral-300 border-neutral-300 user-theme-button-secondary":me,border:f,"bg-transparent hover:bg-white user-theme-button-card-ghost":k,"bg-transparent user-theme-button-ghost":x,"flex-1":ye,"rounded-l-none rounded-r-sm h-12":kt}),Fm=b=>({"text-white":b}),Lm=(b,me,f,k,x,ye)=>({"text-lg":b,"text-xs":me,"text-white":f,"text-black":k,"text-neutral-700":x,"max-w-[100px] overflow-hidden whitespace-nowrap overflow-ellipsis":ye});function k5(b,me){1&b&&a.nrm(0,"root-icon",7)}function k9(b,me){if(1&b&&(a.j41(0,"div",5),a.DNE(1,k5,1,0,"root-icon",6),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.eq3(2,Fm,"primary"===f.type)),a.R7$(),a.Y8G("ngIf",f.loading)}}function L0(b,me){if(1&b&&(a.j41(0,"div",8),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.l4e(2,Lm,"large"===f.size,"small"===f.size,"primary"===f.type,"secondary"===f.type,!!f.disabled||!!f.loading,f.adjacentInput)),a.R7$(),a.SpI(" ",f.text," ")}}let xp=(()=>{class b{constructor(f,k){this._elementRef=f,this._iconService=k,this.handleClick=new a.bkB,this._iconService.registerIcons([Mh])}assertIconOnly(f){const k=Array.from(f.firstChild.firstChild.lastChild.childNodes),x=k.filter(zn=>"ROOT-ICON"===zn.nodeName).length,ye=k.every(zn=>"#text"!==zn.nodeName),kt=k.every(zn=>"SPAN"!==zn.nodeName);this.isIconOnly=kt&&ye&&!this.text&&x>=1}ngAfterViewInit(){this.assertIconOnly(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-button"]],inputs:{type:"type",size:"size",block:"block",isOnCard:"isOnCard",loading:"loading",text:"text",name:"name",ariaLabel:"ariaLabel",radioLeft:"radioLeft",radioRight:"radioRight",disabled:"disabled",formSubmit:"formSubmit",adjacentInput:"adjacentInput"},outputs:{handleClick:"handleClick"},ngContentSelectors:P0,decls:6,vars:21,consts:[[1,"flex","justify-center","user-theme-button",3,"ngClass"],[1,"disabled","flex","justify-center","items-center","px-1","py-2","font-medium","text-base","focus:outline-none","focus:ring-0","transition","duration-150","ease-in-out",3,"click","disabled","type","name","ngClass"],["class","animate-spin flex justify-center items-center max-h-4 user-theme-button-text",3,"ngClass",4,"ngIf"],["class","text-black leading-none form-check-label mx-2 pb-px user-theme-button-text",3,"ngClass",4,"ngIf"],[1,"flex","items-center","max-h-4","user-theme-button-text",3,"ngClass"],[1,"animate-spin","flex","justify-center","items-center","max-h-4","user-theme-button-text",3,"ngClass"],["name","loader",4,"ngIf"],["name","loader"],[1,"text-black","leading-none","form-check-label","mx-2","pb-px","user-theme-button-text",3,"ngClass"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"button",1),a.bIt("click",function(){return x.handleClick.emit()}),a.DNE(2,k9,2,4,"div",2)(3,L0,2,9,"div",3),a.j41(4,"div",4),a.SdG(5),a.k0s()()()),2&k&&(a.Y8G("ngClass",a.eq3(9,m4,!!x.adjacentInput)),a.R7$(),a.Y8G("disabled",!!x.disabled||!!x.loading)("type","button"===x.formSubmit?"button":"submit")("name",x.name)("ngClass",a.sGs(11,F0,"primary"===x.type,"secondary"===x.type,"primary"===x.type||"secondary"===x.type,"ghost"===x.type&&!!x.isIconOnly&&!!x.isOnCard,"ghost"===x.type&&!!x.isIconOnly&&!x.isOnCard,!!x.block,!!x.adjacentInput)),a.BMQ("aria-label",x.ariaLabel),a.R7$(),a.Y8G("ngIf",x.loading),a.R7$(),a.Y8G("ngIf",x.text),a.R7$(),a.Y8G("ngClass",a.eq3(19,Fm,"primary"===x.type)))},dependencies:[L.YU,L.bT,jt],styles:[".disabled[_ngcontent-%COMP%]:disabled{cursor:not-allowed;filter:opacity(.5)}"]})}return b})();const E9=["*"],b6=(b,me,f,k,x)=>({"border-red-dark bg-red-light":b,"border-neutral-900":me,"border-blue-dark bg-blue-light":f,"border-yellow-dark bg-yellow-light":k,"border-border-color-split bg-neutral-300":x}),g4=(b,me,f,k,x)=>({"text-neutral-900":b,"text-blue-dark":me,"text-red-dark":f,"text-yellow-dark":k,"text-neutral-800":x});function C6(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",4)(1,"img",5),a.bIt("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.closeTag(x))}),a.k0s()()}}let L3=(()=>{class b{constructor(f,k){this._renderer=f,this._elementRef=k,this.color="default",this.handleClose=new a.bkB}closeTag(f){this.handleClose.emit(f),this._renderer.removeChild(this._renderer.parentNode(this._elementRef.nativeElement),this._elementRef.nativeElement)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.sFG),a.rXU(a.aKT))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-tag"]],inputs:{tagStyle:"tagStyle",closeable:"closeable",color:"color"},outputs:{handleClose:"handleClose"},ngContentSelectors:E9,decls:5,vars:17,consts:[[1,"border","inline-block","whitespace-nowrap","px-1","border-solid","rounded-none","user-theme-tag",3,"ngClass"],[1,"flex"],[1,"flex","items-center","pb-px","text-sm","user-theme-tag-text",3,"ngClass"],["class","ml-1 flex cursor-pointer",4,"ngIf"],[1,"ml-1","flex","cursor-pointer"],["height","15","width","15","src","assets/outline/feather/x.svg",3,"click"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0)(1,"div",1)(2,"div",2),a.SdG(3),a.k0s(),a.DNE(4,C6,2,0,"div",3),a.k0s()()),2&k&&(a.Aen(x.tagStyle),a.Y8G("ngClass",a.s1E(5,b6,"error"===x.color,"success"===x.color,"processing"===x.color,"warning"===x.color,"default"===x.color)),a.R7$(2),a.Y8G("ngClass",a.s1E(11,g4,"success"===x.color,"processing"===x.color,"error"===x.color,"warning"===x.color,"default"===x.color)),a.R7$(2),a.Y8G("ngIf",x.closeable))},dependencies:[L.YU,L.bT],styles:['.default[_ngcontent-%COMP%]{border-color:"#33322F";background-color:"#EBE8E4"}']})}return b})();const fT=["*"];function mT(b,me){}function v4(b,me){if(1&b&&(a.j41(0,"div",4),a.DNE(1,mT,0,0,"ng-template",5),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.cardCover)}}function V3(b,me){}function M9(b,me){if(1&b&&(a.j41(0,"li")(1,"span"),a.DNE(2,V3,0,0,"ng-template",5),a.k0s()()),2&b){const f=me.$implicit,k=a.XpG(2);a.xc7("width",100/k.cardActions.length,"%"),a.R7$(2),a.Y8G("ngTemplateOutlet",f)}}function gT(b,me){if(1&b&&(a.j41(0,"ul"),a.DNE(1,M9,3,3,"li",6),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngForOf",f.cardActions)}}let $h=(()=>{class b{constructor(){this.bodyStyle=null,this.cardActions=[]}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-card"]],hostAttrs:[1,"block","overflow-hidden","border-solid","border","border-border-color-split","rounded-none","user-theme-card"],inputs:{cardCover:"cardCover",bodyStyle:"bodyStyle",cardActions:"cardActions"},ngContentSelectors:fT,decls:6,vars:3,consts:[[1,"flex","flex-col","user-theme-card-image-position-vertical"],["class","user-theme-card-image-vertical",4,"ngIf"],[1,"p-4",3,"ngStyle"],[4,"ngIf"],[1,"user-theme-card-image-vertical"],[3,"ngTemplateOutlet"],[3,"width",4,"ngFor","ngForOf"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.DNE(1,v4,2,1,"div",1),a.j41(2,"div")(3,"div",2),a.SdG(4),a.k0s(),a.DNE(5,gT,2,1,"ul",3),a.k0s()()),2&k&&(a.R7$(),a.Y8G("ngIf",x.cardCover),a.R7$(2),a.Y8G("ngStyle",x.bodyStyle),a.R7$(2),a.Y8G("ngIf",x.cardActions.length))},dependencies:[L.Sq,L.bT,L.T3,L.B3]})}return b})();function x9(b,me){}function I9(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,x9,0,0,"ng-template",3),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.avatar)}}function vT(b,me){if(1&b&&(a.j41(0,"div"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.title," ")}}function D9(b,me){if(1&b&&(a.j41(0,"div",6),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.description," ")}}function _T(b,me){if(1&b&&(a.j41(0,"div",4),a.DNE(1,vT,2,1,"div",1)(2,D9,2,1,"div",5),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",f.title),a.R7$(),a.Y8G("ngIf",f.description)}}let E5=(()=>{class b{constructor(){this.title=null,this.description=null,this.avatar=null}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-card-meta"]],inputs:{title:"title",description:"description",avatar:"avatar"},decls:3,vars:2,consts:[[1,"flex"],[4,"ngIf"],["class","pl-4",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"pl-4"],["class","text-neutral-600",4,"ngIf"],[1,"text-neutral-600"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.DNE(1,I9,2,1,"div",1)(2,_T,3,2,"div",2),a.k0s()),2&k&&(a.R7$(),a.Y8G("ngIf",x.avatar),a.R7$(),a.Y8G("ngIf",x.title||x.description))},dependencies:[L.bT,L.T3]})}return b})();const O9=["*"];function z9(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",0),a.bIt("mouseenter",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleDropdownStateChanged(x))})("mouseleave",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleDropdownStateChanged(x))})("click",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleDropdownStateChanged(x))}),a.SdG(1),a.k0s()}2&b&&a.Y8G("@slideMotion",void 0)}let Uv=(()=>{class b{constructor(){this.dropdownStateChanged=new a.bkB}handleDropdownStateChanged(f){this.dropdownStateChanged.emit(f)}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-submenu"]],viewQuery:function(k,x){if(1&k&&a.GBs(a.C4Q,5),2&k){let ye;a.mGM(ye=a.lsd())&&(x.templateRef=ye.first)}},outputs:{dropdownStateChanged:"dropdownStateChanged"},ngContentSelectors:O9,decls:1,vars:0,consts:[[1,"bg-white","rounded-md","shadow-ant-default","w-full","overflow-hidden","user-theme-dropdown",3,"mouseenter","mouseleave","click"]],template:function(k,x){1&k&&(a.NAR(),a.DNE(0,z9,2,1,"ng-template"))},data:{animation:[s1]},changeDetection:0})}return b})(),mf=(()=>{class b{constructor(){}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-alert"]],inputs:{message:"message"},decls:4,vars:1,consts:[[1,"bg-white","border","border-neutral-200","block","whitespace-nowrap","user-theme-alert"],[1,"flex","px-4","py-2","text-neutral-900"]],template:function(k,x){1&k&&(a.j41(0,"div",0)(1,"div",1)(2,"div"),a.EFF(3),a.k0s()()()),2&k&&(a.R7$(3),a.JRh(x.message))}})}return b})(),Gv=(()=>{class b{constructor(f,k){this._viewContainer=f,this._templateRef=k,this._embeddedViewRef=null,this._context=new w6,this.stringTemplateOutletContext=null,this.stringTemplateOutlet=null}ngOnChanges(f){const{stringTemplateOutletContext:k,stringTemplateOutlet:x}=f;x&&(this._context.$implicit=x.currentValue),(()=>{let zn=!1;return x&&(zn=!!x.firstChange||(x.previousValue instanceof a.C4Q||x.currentValue instanceof a.C4Q)),k&&(fo=>{const Sr=Object.keys(fo.previousValue||{}),ts=Object.keys(fo.currentValue||{});if(Sr.length===ts.length){for(const Qr of ts)if(-1===Sr.indexOf(Qr))return!0;return!1}return!0})(k)||zn})()?this._recreateView():this._updateContext()}_recreateView(){this._viewContainer.clear();const f=this.stringTemplateOutlet instanceof a.C4Q;this._embeddedViewRef=this._viewContainer.createEmbeddedView(f?this.stringTemplateOutlet:this._templateRef,f?this.stringTemplateOutletContext:this._context)}_updateContext(){const k=this.stringTemplateOutlet instanceof a.C4Q?this.stringTemplateOutletContext:this._context,x=this._embeddedViewRef.context;if(k)for(const ye of Object.keys(k))x[ye]=k[ye]}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.c1b),a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","stringTemplateOutlet",""]],inputs:{stringTemplateOutletContext:"stringTemplateOutletContext",stringTemplateOutlet:"stringTemplateOutlet"},exportAs:["stringTemplateOutlet"],features:[a.OA$]})}return b})();class w6{}const M5=[[["","result-content",""]],[["","result-icon",""]],[["","result-title",""]],[["","result-subtitle",""]],[["","result-extra",""]]],B3=["[result-content]","[result-icon]","[result-title]","[result-subtitle]","[result-extra]"];function x5(b,me){1&b&&a.eu8(0)}function N9(b,me){if(1&b&&(a.qex(0),a.DNE(1,x5,1,0,"ng-container",2),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("stringTemplateOutlet",f.iconTpl)}}function $3(b,me){1&b&&a.SdG(0,1,["*ngIf","!iconTpl"])}function I5(b,me){if(1&b&&(a.j41(0,"div"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.titleTpl," ")}}function D5(b,me){if(1&b&&(a.qex(0),a.DNE(1,I5,2,1,"div",2),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("stringTemplateOutlet",f.titleTpl)}}function O5(b,me){1&b&&a.SdG(0,2,["*ngIf","!titleTpl"])}function z5(b,me){if(1&b&&(a.j41(0,"div"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.subtitleTpl," ")}}function A9(b,me){if(1&b&&(a.qex(0),a.DNE(1,z5,2,1,"div",2),a.bVm()),2&b){const f=a.XpG();a.R7$(),a.Y8G("stringTemplateOutlet",f.subtitleTpl)}}function R9(b,me){1&b&&a.SdG(0,3,["*ngIf","!subtitleTpl"])}function P9(b,me){if(1&b&&(a.qex(0),a.EFF(1),a.bVm()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.extraTpl," ")}}function U3(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,P9,2,1,"ng-container",2),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("stringTemplateOutlet",f.extraTpl)}}function F9(b,me){1&b&&a.SdG(0,4,["*ngIf","!extraTpl"])}let N5=(()=>{class b{constructor(){}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-result"]],inputs:{iconTpl:"iconTpl",titleTpl:"titleTpl",subtitleTpl:"subtitleTpl",extraTpl:"extraTpl"},ngContentSelectors:B3,decls:11,vars:8,consts:[[1,"mb-6","text-center"],[4,"ngIf"],[4,"stringTemplateOutlet"]],template:function(k,x){1&k&&(a.NAR(M5),a.j41(0,"div",0),a.DNE(1,N9,2,1,"ng-container",1),a.qex(2),a.DNE(3,$3,1,0,"ng-content",1),a.bVm(),a.k0s(),a.DNE(4,D5,2,1,"ng-container",1)(5,O5,1,0,"ng-content",1)(6,A9,2,1,"ng-container",1)(7,R9,1,0,"ng-content",1),a.SdG(8),a.DNE(9,U3,2,1,"div",1)(10,F9,1,0,"ng-content",1)),2&k&&(a.R7$(),a.Y8G("ngIf",x.iconTpl),a.R7$(2),a.Y8G("ngIf",!x.iconTpl),a.R7$(),a.Y8G("ngIf",x.titleTpl),a.R7$(),a.Y8G("ngIf",!x.titleTpl),a.R7$(),a.Y8G("ngIf",x.subtitleTpl),a.R7$(),a.Y8G("ngIf",!x.subtitleTpl),a.R7$(2),a.Y8G("ngIf",x.extraTpl),a.R7$(),a.Y8G("ngIf",!x.extraTpl))},dependencies:[L.bT,Gv]})}return b})();const L9=["*"];function T6(b,me){1&b&&(a.j41(0,"div",2)(1,"div",3),a.SdG(2),a.k0s()())}function A5(b,me){if(1&b&&(a.j41(0,"div",4),a.nrm(1,"img",5),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass","square"===f.shape?"rounded":"rounded-full"),a.R7$(),a.Y8G("src",f.imageUrl,a.B4B)("alt",f.imageAlt)}}let S6=(()=>{class b{constructor(){this.shape="square"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-avatar"]],inputs:{shape:"shape",imageUrl:"imageUrl",imageAlt:"imageAlt"},ngContentSelectors:L9,decls:2,vars:2,consts:[["class","avatar-icon flex items-center justify-center text-white bg-skeleton-row w-8 h-8 rounded-full",4,"ngIf"],["class","w-12 h-12 overflow-hidden avatar-image",3,"ngClass",4,"ngIf"],[1,"avatar-icon","flex","items-center","justify-center","text-white","bg-skeleton-row","w-8","h-8","rounded-full"],[1,"pl-px","scale-125"],[1,"w-12","h-12","overflow-hidden","avatar-image",3,"ngClass"],[1,"w-full","h-full","object-cover",3,"src","alt"]],template:function(k,x){1&k&&(a.NAR(),a.DNE(0,T6,3,0,"div",0)(1,A5,2,3,"div",1)),2&k&&(a.Y8G("ngIf",!x.imageUrl),a.R7$(),a.Y8G("ngIf",!!x.imageUrl))},dependencies:[L.YU,L.bT]})}return b})(),V0=(()=>{class b{set isActive(f){this._active=f,this.isActive?(this.renderer.addClass(this.el,"slick-active"),this.renderer.addClass(this.el,"pointer-events-auto")):(this.renderer.removeClass(this.el,"slick-active"),this.renderer.removeClass(this.el,"pointer-events-auto"))}get isActive(){return this._active}constructor(f,k){this.renderer=k,this._active=!1,this.el=f.nativeElement,this.renderer.addClass(f.nativeElement,"float-left"),this.renderer.addClass(f.nativeElement,"block")}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","carousel-content",""]]})}return b})();class V9{get maxIndex(){return this.length-1}get firstEl(){return this.contents.length?this.contents[0].el:null}get lastEl(){return this.contents.length?this.contents[this.maxIndex].el:null}constructor(me,f,k,x){this.cdr=f,this.renderer=k,this.platform=x,this.carouselComponent=me}withCarouselContents(me){const f=this.carouselComponent;this.slickListEl=f.slickListEl,this.slickTrackEl=f.slickTrackEl,this.contents=me?.toArray()||[],this.length=this.contents.length,this.platform.isBrowser?this.unitWidth=f.el.clientWidth:me?.forEach((k,x)=>{0===x?this.renderer.setStyle(k.el,"width","100%"):this.renderer.setStyle(k.el,"display","none")})}dispose(){}getFromToInBoundary(me,f){const k=this.maxIndex+1;return{from:(me+k)%k,to:(f+k)%k}}}class R5 extends V9{withCarouselContents(me){super.withCarouselContents(me),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((f,k)=>{this.renderer.setStyle(f.el,"opacity",this.carouselComponent.activeIndex===k?"1":"0"),this.renderer.setStyle(f.el,"position","relative"),this.renderer.setStyle(f.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(f.el,"left",-this.unitWidth*k+"px")}))}switch(me,f){const{to:k}=this.getFromToInBoundary(me,f),x=new se.B;return this.contents?.forEach((ye,kt)=>{this.renderer.setStyle(ye.el,"opacity",k===kt?"1":"0")}),setTimeout(()=>{x.next(),x.complete()},this.carouselComponent.transitionSpeed),x}dispose(){this.contents?.forEach(me=>{this.renderer.setStyle(me.el,"transition",null),this.renderer.setStyle(me.el,"opacity",null),this.renderer.setStyle(me.el,"width",null),this.renderer.setStyle(me.el,"left",null)}),super.dispose()}}const jv=["slickList"],k6=["slickTrack"],B9=["*"],$9=(b,me,f,k,x)=>({"top-3 bottom-auto":b,"bottom-3":me,"slick-dots-left":f,"slick-dots-right":k,"carousel-vertical":x}),Hv=b=>({$implicit:b});function U9(b,me){}function G9(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",7),a.bIt("click",function(){const x=a.eBV(f).index,ye=a.XpG(2);return a.Njj(ye.handleLiClick(x))}),a.DNE(1,U9,0,0,"ng-template",8),a.k0s()}if(2&b){const f=me.index,k=a.XpG(2),x=a.sdS(7);a.AVh("slick-active",f===k.activeIndex),a.R7$(),a.Y8G("ngTemplateOutlet",k.dotRender||x)("ngTemplateOutletContext",a.eq3(4,Hv,f))}}function j9(b,me){if(1&b&&(a.j41(0,"ul",5),a.DNE(1,G9,2,6,"li",6),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.s1E(2,$9,"top"===f.dotPosition,"bottom"===f.dotPosition,"left"===f.dotPosition,"right"===f.dotPosition,f.vertical)),a.R7$(),a.Y8G("ngForOf",f.carouselContents)}}function Yv(b,me){if(1&b&&(a.j41(0,"button",9),a.EFF(1),a.k0s()),2&b){const f=me.$implicit;a.R7$(),a.JRh(f+1)}}let A1=(()=>{class b extends Sa{set dotPosition(f){this._dotPosition=f,this.vertical="left"===f||"right"===f}get dotPosition(){return this._dotPosition}constructor(f,k,x,ye,kt,zn){super(),this._elementRef=f,this.ngZone=k,this._renderer=x,this._cdr=ye,this._platform=kt,this._platformId=zn,this.autoPlay=!1,this.dots=!0,this.autoPlaySpeed=3e3,this.transitionSpeed=500,this._dotPosition="bottom",this.beforeChange=new a.bkB,this.afterChange=new a.bkB,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this._isTransiting=!1,this._touchstartX=0,this._touchendX=0,this.elementClass="block relative overflow-hidden w-full h-full box-border m-0 p-0 list-none",this.handleLiClick=Fi=>{this._goTo(Fi)},this.el=this._elementRef.nativeElement,this._addSwipeEventListeners()}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.ngZone.runOutsideAngular(()=>{(0,fe.R)(this.el,"keydown").pipe(this.takeUntilDestroy).subscribe(f=>{const{key:k}=f;"ArrowLeft"!==k&&"ArrowRight"!==k||(f.preventDefault(),this.ngZone.run(()=>{"ArrowLeft"===k?this._pre():this._next(),this._cdr.markForCheck()}))})})}ngAfterViewInit(){this.strategy=new R5(this,this._cdr,this._renderer,this._platform),this._layout(),this._initResizeSubscription()}ngOnChanges(f){this.autoPlay&&this.autoPlaySpeed?this._scheduleNextTransition():this._clearScheduledTransition()}ngOnDestroy(){super.ngOnDestroy(),this._clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this._listenTouchStartFunc?.(),this._listenTouchEndFunc?.()}_next(){this._goTo(this.activeIndex+1)}_pre(){this._goTo(this.activeIndex-1)}_goTo(f){if(this.carouselContents&&this.carouselContents.length&&!this._isTransiting){const k=this.carouselContents.length,x=this.activeIndex,ye=(f+k)%k;this._isTransiting=!0,this.beforeChange.emit({from:x,to:ye}),this.strategy.switch(this.activeIndex,f).subscribe(()=>{this._scheduleNextTransition(),this.afterChange.emit(ye),this._isTransiting=!1}),this._markContentActive(ye),this._cdr.markForCheck()}}_scheduleNextTransition(){this._clearScheduledTransition(),this.autoPlay&&this.autoPlaySpeed>0&&this._platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this._goTo(this.activeIndex+1)},this.autoPlaySpeed))}_clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}_markContentActive(f){this.activeIndex=f,this.carouselContents&&this.carouselContents.forEach((k,x)=>{k.isActive=f===x}),this._cdr.markForCheck()}_initResizeSubscription(){(0,L.UE)(this._platformId)&&new Tt.c(f=>{const k=new ResizeObserver(x=>f.next(x));return k.observe(this.el),()=>k.disconnect()}).pipe(this.takeUntilDestroy).subscribe(f=>{f[0]?.contentBoxSize[0]?.inlineSize&&this._layout()})}_addSwipeEventListeners(){(0,L.UE)(this._platformId)&&(this._listenTouchStartFunc=this._renderer.listen(this.el,"touchstart",f=>this._touchstartX=f.changedTouches[0].screenX),this._listenTouchEndFunc=this._renderer.listen(this.el,"touchend",f=>{this._touchendX=f.changedTouches[0].screenX,this._handleSwipe()}))}_handleSwipe(){(0,L.UE)(this._platformId)&&(this._touchendX<this._touchstartX&&this._next(),this._touchendX>this._touchstartX&&this._pre())}_layout(){(0,L.UE)(this._platformId)&&this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.aKT),a.rXU(a.SKi),a.rXU(a.sFG),a.rXU(a.gRc),a.rXU(Zr.OD),a.rXU(a.Agw))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["root-carousel"]],contentQueries:function(k,x,ye){if(1&k&&a.wni(ye,V0,4),2&k){let kt;a.mGM(kt=a.lsd())&&(x.carouselContents=kt)}},viewQuery:function(k,x){if(1&k&&(a.GBs(jv,7),a.GBs(k6,7)),2&k){let ye;a.mGM(ye=a.lsd())&&(x.slickList=ye.first),a.mGM(ye=a.lsd())&&(x.slickTrack=ye.first)}},hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)},inputs:{dotRender:"dotRender",autoPlay:"autoPlay",dots:"dots",autoPlaySpeed:"autoPlaySpeed",transitionSpeed:"transitionSpeed",dotPosition:"dotPosition"},outputs:{beforeChange:"beforeChange",afterChange:"afterChange"},features:[a.Vt3,a.OA$],ngContentSelectors:B9,decls:8,vars:1,consts:[["slickList",""],["slickTrack",""],["renderDotTemplate",""],["tabindex","-1"],["class","slick-dots",3,"ngClass",4,"ngIf"],[1,"slick-dots",3,"ngClass"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"bg-white","pointer-events-auto","block","w-full","cursor-pointer","outline-none"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",3,0)(2,"div",null,1),a.SdG(4),a.k0s()(),a.DNE(5,j9,2,8,"ul",4)(6,Yv,2,1,"ng-template",null,2,a.C5r)),2&k&&(a.R7$(5),a.Y8G("ngIf",x.dots))},dependencies:[L.YU,L.Sq,L.bT,L.T3],styles:[".slick-dots[_ngcontent-%COMP%]{position:absolute;right:0;left:0;z-index:15;display:flex;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none;pointer-events:none}.slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:3px;font-size:0;border-radius:1px;opacity:.3;transition:all .5s}.slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{opacity:.75}.slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%]{width:24px}.slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{opacity:1}.carousel-vertical.slick-dots[_ngcontent-%COMP%]{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.carousel-vertical.slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.carousel-vertical.slick-dots[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:3px;height:16px}.carousel-vertical.slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%], .carousel-vertical.slick-dots[_ngcontent-%COMP%]   li.slick-active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:3px;height:24px}.carousel-vertical.slick-dots-left[_ngcontent-%COMP%]{right:auto;left:12px}.carousel-vertical.slick-dots-right[_ngcontent-%COMP%]{right:12px;left:auto}"],changeDetection:0})}return b})(),_4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),G3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),fl=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Bd=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl]})}return b})(),wd=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1]})}return b})(),j3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.YN,be.Pd]})}return b})(),gf=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Zr.IK,Gc.jI]})}return b})(),E6=(()=>{class b extends Sa{constructor(f,k,x,ye,kt,zn,Fi){super(),this._themeClasses=f,this._platform=k,this._overlay=x,this._overlayPositionBuilder=ye,this._elementRef=kt,this._viewContainerRef=zn,this._r2=Fi,this.visibleChange=new a.bkB,this._mouseOnDropdown=!1,this._mouseOnHost=!1,this._hasListeners=!1,this._hasButtonPressed=!1,this._keepParentMenuOpen=!1}getPosition(){switch(this.position){case"center":return[Xo.bottomExtendRight,Xo.topExtendRight,Xo.bottomExtendLeft,Xo.topExtendLeft];case"right":return[Xo.rightLower,Xo.rightUpper,Xo.leftLower,Xo.leftUpper];default:return[Xo.bottomMiddle,Xo.topMiddle]}}ngAfterViewInit(){(0,L.UE)(this._platform)&&setTimeout(()=>{this._triggerWidth=this._elementRef.nativeElement.getBoundingClientRect().width;const f=this._overlayPositionBuilder.flexibleConnectedTo(this._elementRef).withPositions(this.getPosition());this._overlayRef=this._overlay.create({positionStrategy:f,minWidth:this._triggerWidth,scrollStrategy:this._overlay.scrollStrategies.reposition()}),this._themeClasses.forEach(k=>{this._overlayRef.addPanelClass(`${k}`)}),this._dropdownInstance=new et.VA(this.rootDropdownMenu?.templateRef,this._viewContainerRef),(0,fe.R)(this._overlayRef.overlayElement,"click").pipe((0,le.p)(k=>!this._hasButtonPressed),(0,dt.M)(k=>this._hasButtonPressed=!0),this.takeUntilDestroy).subscribe(k=>{this._overlayRef.detach(),this._hasButtonPressed=!1,this._mouseOnDropdown=!1,this._mouseOnHost=!1})})}ngOnChanges(){super.ngOnChanges(),this.listener?.pipe(this.takeUntilChanges)?.subscribe(f=>{"mouseenter"===f.type?this._keepParentMenuOpen=!0:("mouseleave"===f.type||"click"===f.type)&&(this._keepParentMenuOpen=!1,this.hide())})}ngOnDestroy(){super.ngOnDestroy(),this._dropdownEnterListener&&this._dropdownEnterListener(),this._dropdownLeaveListener&&this._dropdownLeaveListener()}show(){this._mouseOnHost=!0,this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.attach(this._dropdownInstance),this.visibleChange.emit(!0),this._hasListeners||(this._hasListeners=!0,this._dropdownLeaveListener=this._r2.listen(this._overlayRef.overlayElement,"mouseleave",()=>{this._mouseOnDropdown=!1,this._mouseOnHost||this.hide()}),this._dropdownEnterListener=this._r2.listen(this._overlayRef.overlayElement,"mouseenter",()=>{this._mouseOnDropdown=!0})))}hide(){this._mouseOnHost=!1,setTimeout(()=>{!this._mouseOnDropdown&&!this._mouseOnHost&&!this._keepParentMenuOpen&&(this._overlayRef.detach(),this.visibleChange.emit(!1))},300)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(es),a.rXU(a.Agw),a.rXU(z.hJ),a.rXU(z.lF),a.rXU(a.aKT),a.rXU(a.c1b),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootDropdown",""]],hostBindings:function(k,x){1&k&&a.bIt("mouseenter",function(){return x.show()})("mouseleave",function(){return x.hide()})},inputs:{rootDropdownMenu:[0,"rootDropdown","rootDropdownMenu"],position:"position",listener:"listener"},outputs:{visibleChange:"visibleChange"},features:[a.Vt3,a.OA$]})}return b})(),M6=(()=>{class b{constructor(){this.elementClass="bg-inherit rounded-md shadow-ant-default m-0"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootDropdownMenu",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),P5=(()=>{class b{constructor(){this.isDisabled=!1,this.isSubmenuHost=!1,this.elementClass="flex items-center px-3 py-2 cursor-pointer hover:bg-item-hover-bg"}onClick(f){(this.isDisabled||this.isSubmenuHost)&&(f.preventDefault(),f.stopPropagation())}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootDropdownMenuItem",""]],hostVars:6,hostBindings:function(k,x){1&k&&a.bIt("click",function(kt){return x.onClick(kt)}),2&k&&(a.HbH(x.elementClass),a.AVh("opacity-50",x.isDisabled)("cursor-not-allowed",x.isDisabled))},inputs:{isDisabled:"isDisabled",isSubmenuHost:"isSubmenuHost"}})}return b})(),F5=(()=>{class b{constructor(){this.elementClass="h-px my-1 overflow-hidden bg-border-color-split"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootDropdownMenuItemDivider",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),qv=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","result-extra",""]],hostAttrs:[1,"mt-6","text-center"]})}return b})(),X9=(()=>{class b{constructor(){this.elementClass="form-control flex items-center w-full pr-2 bg-white bg-clip-padding border border-neutral-400 rounded-sm transition ease-in-out m-0 outline-none focus-within:border-neutral-800 hover:border-neutral-800 user-theme-input"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootNestedInputGroup",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),W9=(()=>{class b{constructor(){this.elementClass="block divide-y divide-border-color-split"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootList",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),bT=(()=>{class b{constructor(){this.elementClass="flex py-3 items-center justify-between"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootListItem",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),L5=(()=>{class b{constructor(){this.elementClass="table w-full user-theme-input-group"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootInputGroup",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),Xv=(()=>{class b{constructor(){this.elementClass="relative right-px w-px whitespace-nowrap table-cell align-top"}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","rootInputGroupSuffix",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.elementClass)}})}return b})(),H3=(()=>{class b{constructor(f){this._api=f}onClick(){!this.cubeData?.entityId||!this.cubeData?.entityType||this._api.post(n.V$P.END_USER,n.Hrf.analytics.trackEntityInteraction,{entityType:this.cubeData?.entityType,entityId:this.cubeData?.entityId,interactionType:this.eventName,domReferrer:document?.referrer}).catch(f=>console.log(f))}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(eh))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","logEvent",""]],hostBindings:function(k,x){1&k&&a.bIt("click",function(){return x.onClick()})},inputs:{eventName:[0,"logEvent","eventName"],segmentData:"segmentData",cubeData:"cubeData"}})}return b})();const Y3="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_",K9=`${Y3}1234567890-`,q3={provide:hs,useFactory:()=>`${Y3[Math.floor(53*Math.random())]}${(0,Zs.d_)(K9,7)()}`},Wv={provide:es,useFactory:(b,me)=>me?[b,...me]:[b],deps:[hs,[new a.kdw,new a.Xx1,es]]};let X3=(()=>{class b extends Sa{get wrapperClass(){return this._wrapperClass}constructor(f,k,x,ye){super(),this._document=f,this._wrapperClass=k,this._wrapperClasses=x,this._themeService=ye,this.applyThemeStyles=!0}ngOnChanges(f){super.ngOnChanges(f),this.applyThemeStyles?(0,n.uTf)(f.theme?.previousValue,this.theme)||this._updateCss():this._removeStyleNode()}ngOnDestroy(){super.ngOnDestroy(),this._removeStyleNode()}get _styleNode(){return this._currentStyleNode||(this._currentStyleNode=this._document.createElement("style"),this._currentStyleNode.setAttribute("data-theme-id",this._wrapperClass),this._documentHead.appendChild(this._currentStyleNode)),this._currentStyleNode}get _documentHead(){return this._document.head||this._document.getElementsByTagName("head")[0]}_removeStyleNode(){if(!this._currentStyleNode)return;this._documentHead.removeChild(this._currentStyleNode),this._currentStyleNode=null;const f=this._wrapperClasses.reduce((k,x)=>`.${x} ${k}`,"").trim();this._themeService.removeCachedTheme(f)}_updateCss(){if(!this.theme||!this._document||!this._documentHead)return;let f="";try{const x=this._wrapperClasses.reduce((ye,kt)=>`.${kt} ${ye}`,"").trim();f=this._themeService.generateCSSFromTheme(this.theme,x),this._themeService.updateFontImportsAndDefinitions(this.theme)}catch{}const k=this._document.createTextNode(f);for(this._styleNode.appendChild(k);this._styleNode.firstChild&&this._styleNode.firstChild!==k;)this._styleNode.removeChild(this._styleNode.firstChild)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(L.qQ),a.rXU(hs),a.rXU(es),a.rXU(e6))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","live-themed",""]],hostVars:2,hostBindings:function(k,x){2&k&&a.HbH(x.wrapperClass)},inputs:{theme:"theme",applyThemeStyles:"applyThemeStyles"},features:[a.Jv_([q3,Wv]),a.Vt3,a.OA$]})}return b})(),Z9=(()=>{class b{constructor(f,k,x,ye,kt,zn,Fi){this._document=f,this._platform=k,this._overlay=x,this._overlayPositionBuilder=ye,this._elementRef=kt,this._viewContainerRef=zn,this._r2=Fi,this.hasSendsVariablesSelector=!0,this.onSelectorClosed=new a.bkB,this._mouseOnDropdown=!1,this._hasListeners=!1}ngAfterViewInit(){this.hasSendsVariablesSelector&&(this._overlayRef=this._overlay.create({scrollStrategy:this._overlay.scrollStrategies.reposition()}),this._dropdownInstance=new et.VA(this.sendsVariableSelector?.templateRef,this._viewContainerRef))}ngOnDestroy(){this._dropdownEnterListener?.(),this._dropdownLeaveListener?.(),this._outsideClickListener?.(),this._addVariableClickListener?.()}ngOnChanges(f){f.isVisible&&this._overlayRef&&(f.isVisible.currentValue?this._showOverlay():this.hide())}_getGlobalPositionStrategy(f){return this.globalPositionLeft?this._overlayPositionBuilder.global().right(this._document.defaultView.innerWidth-f.left+"px").top(`${f.top}px`):this._overlayPositionBuilder.global().left(`${f.left}px`).top(`${f.top}px`)}_getConnectedPositionStrategy(f){return this._overlayPositionBuilder.flexibleConnectedTo(f).withPositions([Xo.bottomExtendRight,Xo.topExtendRight,Xo.bottomExtendLeft,Xo.topExtendLeft])}_showOverlay(){if(!(0,L.UE)(this._platform))return;const f=this._elementRef.nativeElement.getBoundingClientRect().width,k=this.isMobile?this._getConnectedPositionStrategy(this._elementRef):this._getGlobalPositionStrategy(this.position);this._overlayRef.updatePositionStrategy(k),this._overlayRef.updateSize({minWidth:f/3}),this.show()}mouseEnterHost(){!this._hasListeners&&this.hasSendsVariablesSelector&&(this._hasListeners=!0,this._dropdownLeaveListener=this._r2.listen(this._overlayRef.overlayElement,"mouseleave",()=>{this._mouseOnDropdown=!1}),this._dropdownEnterListener=this._r2.listen(this._overlayRef.overlayElement,"mouseenter",()=>{this._mouseOnDropdown=!0;const f=this._document.getElementsByClassName("add-variable-button")[0];f&&(this._addVariableClickListener=this._r2.listen(f,"click",()=>{this._mouseOnDropdown=!1,this.hide()}))}))}show(){this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.attach(this._dropdownInstance),setTimeout(()=>{this._outsideClickListener=this._r2.listen(this._document,"click",()=>this.hide())}))}hide(){!this._mouseOnDropdown&&this._overlayRef&&(this._overlayRef.detach(),this._outsideClickListener(),this.onSelectorClosed.emit())}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(L.qQ),a.rXU(a.Agw),a.rXU(z.hJ),a.rXU(z.lF),a.rXU(a.aKT),a.rXU(a.c1b),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:b,selectors:[["","sendsVariableSelector",""]],hostBindings:function(k,x){1&k&&a.bIt("mouseenter",function(){return x.mouseEnterHost()})},inputs:{sendsVariableSelector:"sendsVariableSelector",hasSendsVariablesSelector:"hasSendsVariablesSelector",isVisible:"isVisible",position:"position",isMobile:"isMobile",globalPositionLeft:"globalPositionLeft"},outputs:{onSelectorClosed:"onSelectorClosed"},features:[a.OA$]})}return b})(),Ip=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),W3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),CT=(()=>{class b{static forRoot(f=N){return{ngModule:b,providers:[{provide:G,useValue:{...N,...f}}]}}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl]})}return b})(),wT=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),eb=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,wT]})}return b})(),Bm=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),V5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl]})}return b})(),$m=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Uh=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Ya=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Kv=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),K3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),B5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,j3]})}return b})(),tb=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Qv=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),vf=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),Q3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),$5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Q3]})}return b})(),Jv=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,$5]})}return b})(),Um=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),G5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Um]})}return b})(),Dp=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,Uh]})}return b})(),Bu=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),b4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Dp,Bu,Ya,Uh]})}return b})(),J3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,Uh]})}return b})(),j5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Dp,J3,Bu]})}return b})(),Zv=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Dp,Bu]})}return b})(),x6=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,qs,Dp,Bu,K3]})}return b})(),Op=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),Z3=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Op]})}return b})(),I6=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.YN,K.X1,Dp,Bu]})}return b})(),Gm=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,j3]})}return b})(),H5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,Gm]})}return b})(),D6=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Dp,Bu]})}return b})(),e_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Ya,I6,K3,At.g9]})}return b})(),Y5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,e_,kn.MC]})}return b})(),B0=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,Dp,K3,Y5]})}return b})(),jm=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),n_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),q5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,n_]})}return b})(),ib=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),e8=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya]})}return b})(),ob=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),i_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,j3]})}return b})(),rb=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,i_]})}return b})(),MT=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,i_]})}return b})(),t8=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Ya,j3]})}return b})(),C4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),o_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,Dp,J3,Bu,C4,Ip]})}return b})(),sb=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,K.YN,Dp,D6,Bu]})}return b})(),X5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,o_,sb,Bu]})}return b})(),w4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({})}return b})(),n8=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({})}return b})(),r_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),ab=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,W3,Ip,r_,V5,Ya,J3,K3,C4]})}return b})(),W5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-abstract-event-view"]],decls:12,vars:0,consts:[[1,"bg-azure","rounded","p-2","border-solid","card-background-color","card-border-style"],["viewBox","0 0 172 70","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","172","height","70","rx","4","fill","none"],["d","M154.132 7.515C155.272 7.515 155.797 8.085 155.797 8.835C155.797 9.69 155.287 10.155 153.352 10.65C151.087 11.235 150.112 12.135 150.112 14.25C150.112 14.58 150.127 14.88 150.142 15.18H157.627V13.665H153.712C153.172 13.665 152.422 13.68 151.807 13.695C151.867 12.72 152.362 12.36 154.012 11.91C156.277 11.4 157.522 10.545 157.522 8.85C157.522 6.975 156.307 6 154.162 6C151.777 6 150.532 7.485 150.352 9.975L151.957 10.11C152.092 8.31 152.857 7.515 154.132 7.515Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M166 13.125V11.67H164.74V6.18H162.745L157.93 11.67V13.125H163.12V15.18H164.74V13.125H166ZM161.635 11.67C161.14 11.67 160.495 11.67 159.805 11.7L163.075 7.845L163.12 7.86V11.67H161.635Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M149.672 19.525C149.672 19.028 149.672 18.419 149.665 17.929H149.672C149.833 18.468 150.036 19.105 150.281 19.77L150.904 21.471H151.632L152.276 19.798C152.514 19.168 152.738 18.475 152.906 17.929C152.892 18.419 152.871 19.035 152.871 19.525V21.471H153.669V17.271H152.514L151.807 19.133C151.681 19.462 151.492 20.036 151.331 20.547C151.177 20.029 150.981 19.448 150.869 19.161L150.162 17.271H148.909V21.471H149.672V19.525Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M155.376 20.925C154.949 20.925 154.802 20.715 154.802 20.484C154.802 20.26 154.998 20.127 155.362 20.127H156.23V20.232C156.23 20.631 155.894 20.925 155.376 20.925ZM156.23 21.471H156.979V19.427C156.979 18.587 156.573 18.111 155.621 18.111C154.69 18.111 154.256 18.566 154.158 19.301L154.879 19.399C154.956 18.923 155.187 18.741 155.593 18.741C156.048 18.741 156.23 18.986 156.23 19.434V19.567H155.25C154.424 19.567 154.06 20.001 154.06 20.603C154.06 21.233 154.487 21.541 155.096 21.541C155.663 21.541 156.062 21.233 156.216 20.645H156.23V21.471Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M158.21 21.471V19.805C158.21 19.231 158.441 19.028 159.029 19.028H159.351V18.181H159.162C158.665 18.181 158.371 18.405 158.224 19.259H158.21V18.181H157.454V21.471H158.21Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M161.953 19.553L162.681 19.434C162.548 18.587 162.093 18.097 161.106 18.097C160.105 18.097 159.412 18.741 159.412 19.833C159.412 20.953 160.091 21.562 161.127 21.562C162.079 21.562 162.555 21.037 162.688 20.197L161.967 20.05C161.862 20.519 161.666 20.869 161.113 20.869C160.553 20.869 160.182 20.498 160.182 19.826C160.182 19.119 160.56 18.783 161.099 18.783C161.61 18.783 161.855 19.091 161.953 19.553Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M163.781 19.525C163.781 19.056 164.075 18.776 164.558 18.776C165.069 18.776 165.244 19.126 165.244 19.525V21.471H166V19.329C166 18.615 165.699 18.097 164.908 18.097C164.355 18.097 163.935 18.384 163.788 19.084H163.781V17.18H163.025V21.471H163.781V19.525Z",1,"fill-neutral-900","user-theme-card-text-color-fill"],["d","M6 50C9.22403 50 9.22403 52 12.4426 52C15.6612 52 15.6667 50 18.8853 50C22.1039 50 22.1093 52 25.3279 52C28.5465 52 28.5519 50 31.7705 50C34.9891 50 34.9946 52 38.2132 52C41.4318 52 41.4372 50 44.6612 50C47.8853 50 47.8798 52 51.1039 52C54.3279 52 54.3279 50 57.5519 50C60.776 50 60.776 52 64 52","stroke-width","1.5","stroke-miterlimit","10",1,"stroke-neutral-900","user-theme-card-text-color-stroke"],["x","6.75","y","56.75","width","18.5","height","6.5","rx","1.44158","stroke-width","1.5",1,"stroke-neutral-900","user-theme-card-text-color-stroke"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.qSk(),a.j41(1,"svg",1),a.nrm(2,"rect",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"rect",11),a.k0s()())}})}return b})(),s_=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),K5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-abstract-link-view"]],decls:3,vars:0,consts:[[1,"bg-sand","rounded","p-2","border-solid","card-background-color","card-border-style"],["width","174","height","11","viewBox","0 0 174 11","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.32479 5.34958C1.75117 4.9545 1.03118 4.66266 0 4.66266V0.0603523C1.38335 0.0603523 2.47426 0.461444 3.40972 1.10576C4.30333 1.72123 5.01123 2.53407 5.59666 3.20626C5.60867 3.22007 5.62064 3.23379 5.63255 3.24748C6.24749 3.95339 6.7362 4.50558 7.33335 4.91684C7.90695 5.31192 8.62695 5.60376 9.65813 5.60376C10.6893 5.60376 11.4093 5.31192 11.9829 4.91684C12.5801 4.50558 13.0688 3.95339 13.6837 3.24748L13.7196 3.20626C14.305 2.53407 15.0129 1.72123 15.9065 1.10576C16.842 0.461444 17.9329 0.0603523 19.3162 0.0603523C20.6995 0.0603523 21.7904 0.461444 22.7259 1.10576C23.6196 1.72123 24.3274 2.53407 24.9129 3.20626L24.9489 3.24748C25.5637 3.95339 26.0524 4.50558 26.6496 4.91684C27.2232 5.31192 27.9432 5.60376 28.9744 5.60376C30.0056 5.60376 30.7255 5.31192 31.2992 4.91684C31.8962 4.50558 32.385 3.95339 33 3.24748L33.0358 3.20626C33.6212 2.53407 34.3292 1.72123 35.2227 1.10576C36.1582 0.461444 37.2491 0.0603523 38.6324 0.0603523C40.0159 0.0603523 41.1068 0.461444 42.0421 1.10576C42.9359 1.72123 43.6438 2.5341 44.2291 3.20629L44.2651 3.24748C44.8801 3.95339 45.3686 4.50558 45.9658 4.91684C46.5394 5.31192 47.2594 5.60376 48.2906 5.60376C49.3218 5.60376 50.0419 5.31192 50.6154 4.91684C51.2126 4.50558 51.7012 3.95339 52.3162 3.24748L52.3522 3.20626C52.9374 2.53407 53.6454 1.72123 54.5391 1.10576C55.4744 0.461444 56.5653 0.0603523 57.9488 0.0603523C59.3321 0.0603523 60.423 0.461444 61.3585 1.10576C62.2521 1.72123 62.96 2.53407 63.5455 3.20624L63.5813 3.24748C64.1963 3.95339 64.685 4.50558 65.2821 4.91684C65.8558 5.31192 66.5756 5.60376 67.6068 5.60376C68.638 5.60376 69.3581 5.31192 69.9316 4.91684C70.5288 4.50558 71.0176 3.95339 71.6324 3.24748L71.6684 3.20629C72.2537 2.5341 72.9616 1.72123 73.8553 1.10576C74.7906 0.461444 75.8816 0.0603523 77.265 0.0603523C78.6483 0.0603523 79.7392 0.461444 80.6747 1.10576C81.5683 1.72123 82.2762 2.5341 82.8617 3.20629L82.8975 3.24748C83.5125 3.95339 84.0012 4.50558 84.5983 4.91684C85.172 5.31192 85.892 5.60376 86.9231 5.60376C87.9543 5.60376 88.6743 5.31192 89.2478 4.91684C89.8451 4.50558 90.3338 3.95339 90.9488 3.24748L90.9846 3.20629C91.5701 2.5341 92.2778 1.72123 93.1715 1.10576C94.107 0.461444 95.1979 0.0603523 96.5812 0.0603523C97.9645 0.0603523 99.0555 0.461444 99.991 1.10576C100.885 1.72126 101.592 2.53412 102.178 3.20632L102.214 3.24748C102.829 3.95339 103.317 4.50558 103.914 4.91684C104.488 5.31192 105.208 5.60376 106.239 5.60376C107.27 5.60376 107.991 5.31192 108.564 4.91684C109.161 4.50558 109.65 3.95339 110.265 3.24748L110.301 3.20629C110.886 2.5341 111.594 1.72123 112.488 1.10576C113.423 0.461444 114.514 0.0603523 115.897 0.0603523C117.281 0.0603523 118.372 0.461444 119.308 1.10551C120.202 1.72075 120.91 2.53331 121.497 3.20551L121.533 3.24667C122.148 3.95258 122.638 4.5051 123.236 4.91662C123.81 5.31192 124.531 5.60376 125.562 5.60376C126.593 5.60376 127.313 5.31192 127.887 4.91684C128.484 4.50558 128.972 3.95339 129.587 3.24748L129.623 3.20621C130.209 2.53404 130.917 1.7212 131.81 1.10576C132.746 0.461444 133.837 0.0603523 135.22 0.0603523C136.603 0.0603523 137.694 0.461444 138.63 1.10576C139.523 1.72123 140.231 2.5341 140.817 3.20629L140.852 3.24748C141.467 3.95339 141.956 4.50558 142.553 4.91684C143.127 5.31192 143.847 5.60376 144.878 5.60376C145.909 5.60376 146.629 5.31195 147.203 4.91681C147.8 4.50544 148.289 3.95316 148.905 3.24709L148.94 3.20702C149.526 2.5344 150.235 1.72112 151.13 1.1054C152.066 0.461287 153.158 0.0603523 154.542 0.0603523C155.927 0.0603523 157.019 0.461284 157.954 1.10562C158.849 1.72159 159.557 2.53519 160.143 3.2078L160.178 3.24787C160.792 3.95398 161.28 4.50591 161.877 4.91706C162.45 5.31195 163.169 5.60376 164.2 5.60376C165.232 5.60376 165.952 5.31192 166.527 4.91662C167.124 4.5051 167.614 3.95258 168.23 3.24667L168.266 3.20551C168.852 2.53331 169.56 1.72075 170.454 1.10551C171.39 0.461444 172.482 0.0603523 173.865 0.0603523V4.66266C172.833 4.66266 172.113 4.9545 171.538 5.34983C170.941 5.76135 170.451 6.31384 169.835 7.01975L169.799 7.06094C169.213 7.73314 168.505 8.54567 167.611 9.16091C166.675 9.805 165.584 10.2061 164.2 10.2061C162.817 10.2061 161.727 9.80497 160.791 9.16046C159.899 8.54522 159.191 7.73274 158.607 7.06097L158.57 7.01855C157.955 6.31286 157.467 5.76087 156.87 5.34969C156.296 4.95467 155.575 4.66266 154.542 4.66266C153.509 4.66266 152.788 4.95467 152.213 5.34994C151.615 5.76135 151.126 6.31368 150.511 7.01936L150.474 7.06161C149.889 7.73342 149.181 8.54567 148.288 9.16072C147.352 9.80497 146.261 10.2061 144.878 10.2061C143.495 10.2061 142.404 9.805 141.468 9.16069C140.575 8.54519 139.867 7.73235 139.281 7.06016L139.246 7.01897C138.631 6.31306 138.142 5.76087 137.545 5.34958C136.971 4.9545 136.251 4.66266 135.22 4.66266C134.189 4.66266 133.469 4.9545 132.895 5.34958C132.298 5.76087 131.809 6.31306 131.194 7.01894L131.158 7.06021C130.573 7.73241 129.865 8.54522 128.972 9.16069C128.036 9.805 126.945 10.2061 125.562 10.2061C124.179 10.2061 123.087 9.805 122.151 9.16091C121.258 8.54567 120.549 7.73314 119.963 7.06094L119.927 7.01975C119.311 6.31384 118.822 5.76135 118.224 5.34983C117.649 4.9545 116.929 4.66266 115.897 4.66266C114.866 4.66266 114.146 4.9545 113.573 5.34958C112.976 5.76087 112.487 6.31306 111.872 7.01894L111.836 7.06021C111.251 7.73241 110.543 8.54522 109.649 9.16069C108.714 9.805 107.623 10.2061 106.239 10.2061C104.856 10.2061 103.765 9.805 102.83 9.16069C101.936 8.54522 101.228 7.73238 100.643 7.06018L100.607 7.01897C99.9918 6.31306 99.5031 5.76087 98.906 5.34958C98.3323 4.9545 97.6125 4.66266 96.5812 4.66266C95.55 4.66266 94.83 4.9545 94.2565 5.34958C93.6592 5.76087 93.1707 6.31306 92.5557 7.01894L92.5197 7.06021C91.9343 7.73241 91.2265 8.54522 90.3328 9.16069C89.3974 9.805 88.3065 10.2061 86.9231 10.2061C85.5398 10.2061 84.4488 9.805 83.5133 9.16069C82.6198 8.54522 81.9119 7.73238 81.3264 7.06018L81.2906 7.01897C80.6756 6.31306 80.1869 5.76087 79.5898 5.34958C79.0161 4.9545 78.2962 4.66266 77.265 4.66266C76.2338 4.66266 75.5138 4.9545 74.9403 5.34958C74.343 5.76087 73.8543 6.31306 73.2395 7.01894L73.2035 7.06021C72.618 7.73241 71.9101 8.54522 71.0166 9.16069C70.0811 9.805 68.9903 10.2061 67.6068 10.2061C66.2235 10.2061 65.1326 9.805 64.1971 9.16069C63.3036 8.54522 62.5956 7.73238 62.0102 7.06018L61.9744 7.01897C61.3594 6.31306 60.8707 5.76087 60.2736 5.34958C59.6999 4.9545 58.9799 4.66266 57.9488 4.66266C56.9176 4.66266 56.1976 4.9545 55.624 5.34958C55.0268 5.76087 54.5381 6.31306 53.9231 7.01894L53.8873 7.06016C53.3018 7.73235 52.5939 8.54519 51.7003 9.16069C50.7648 9.805 49.6739 10.2061 48.2906 10.2061C46.9073 10.2061 45.8164 9.805 44.8809 9.16069C43.9874 8.54522 43.2794 7.73238 42.694 7.06018L42.6581 7.01897C42.0432 6.31306 41.5544 5.76087 40.9572 5.34958C40.3837 4.9545 39.6636 4.66266 38.6324 4.66266C37.6014 4.66266 36.8813 4.9545 36.3077 5.34958C35.7106 5.76087 35.2219 6.31306 34.6069 7.01894L34.5711 7.06018C33.9856 7.73238 33.2777 8.54522 32.3841 9.16069C31.4486 9.805 30.3577 10.2061 28.9744 10.2061C27.5911 10.2061 26.5002 9.805 25.5647 9.16069C24.671 8.54519 23.9632 7.73235 23.3778 7.06016L23.3418 7.01897C22.727 6.31306 22.2382 5.76087 21.641 5.34958C21.0675 4.9545 20.3474 4.66266 19.3162 4.66266C18.285 4.66266 17.5651 4.9545 16.9915 5.34958C16.3943 5.76087 15.9056 6.31306 15.2907 7.01894L15.2548 7.06016C14.6694 7.73235 13.9615 8.54519 13.0679 9.16069C12.1324 9.805 11.0415 10.2061 9.65813 10.2061C8.27477 10.2061 7.18388 9.805 6.24841 9.16069C5.35482 8.54522 4.64689 7.73235 4.06148 7.06018C4.04946 7.04638 4.0375 7.03263 4.02557 7.01897C3.41064 6.31306 2.92194 5.76087 2.32479 5.34958Z",1,"fill-sand-200","user-theme-card-text-color-fill"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.qSk(),a.j41(1,"svg",1),a.nrm(2,"path",2),a.k0s()())}})}return b})(),Q5=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),DT=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-abstract-signup-view"]],decls:12,vars:0,consts:[[1,"bg-mustard","rounded","p-2","border-solid","card-background-color","card-border-style"],["viewBox","0 0 172 86","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M67.0404 22.016C69.6804 22.016 70.8804 20.848 70.8804 19.12C70.8804 17.76 70.1604 16.64 67.4564 16.208C65.3444 15.856 64.9924 15.392 64.9924 14.752C64.9924 14.032 65.5844 13.552 66.6564 13.552C68.0164 13.552 68.5604 14.224 68.8644 15.488L70.6564 15.12C70.2884 13.36 69.2644 12 66.7364 12C64.4004 12 63.1524 13.088 63.1524 14.784C63.1524 16.24 64.0004 17.312 66.6564 17.728C68.4644 18 69.0244 18.4 69.0244 19.184C69.0244 19.952 68.3844 20.432 67.1524 20.432C65.6804 20.432 64.7524 19.632 64.4964 18.272L62.7364 18.624C62.9604 20.48 64.1284 22 67.0404 22.016Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["d","M73.588 13.28V12H71.716V13.28H73.588ZM73.524 21.808V14.288H71.796V21.808H73.524Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["d","M77.7381 15.712C78.8581 15.712 79.4021 16.176 79.4021 16.96C79.4021 17.728 78.9381 18.192 77.7541 18.192C76.5701 18.192 76.1381 17.712 76.1381 16.96C76.1381 16.208 76.5861 15.712 77.7381 15.712ZM77.8661 22.928C75.9461 22.928 75.4981 22.72 75.4981 22.144C75.4981 21.776 75.8501 21.408 76.6341 21.408H79.5141C80.1381 21.408 80.3461 21.696 80.3461 22.032C80.3461 22.64 79.9141 22.928 77.8661 22.928ZM77.8981 24.208C80.7461 24.224 81.7221 23.44 81.7221 22.032C81.7221 20.864 81.0501 20.16 79.4501 20.16C78.6181 20.16 77.6581 20.208 76.7621 20.208C76.3141 20.208 76.1061 20.096 76.1061 19.808C76.1061 19.68 76.1861 19.584 76.2821 19.424L76.4421 19.168C76.8261 19.28 77.2581 19.328 77.7381 19.328C79.7861 19.328 80.8901 18.64 80.8901 17.312C80.8901 16.304 80.1861 15.904 79.2581 15.728V15.712C79.7861 15.744 80.1541 15.744 80.5221 15.744H81.4981V14.288H77.8181C75.7861 14.288 74.5861 15.216 74.5861 16.864C74.5861 17.984 75.1941 18.784 76.3141 19.136L75.7381 19.392C75.1301 19.6 74.7941 20 74.7941 20.384C74.7941 20.944 75.2101 21.296 75.9461 21.392C74.7781 21.536 74.1541 22.032 74.1541 22.672C74.1541 23.616 74.9701 24.224 77.8981 24.208Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["d","M83.9745 17.36C83.9745 16.288 84.6465 15.648 85.7505 15.648C86.9185 15.648 87.3185 16.448 87.3185 17.36V21.808H89.0465V16.912C89.0465 15.28 88.3585 14.096 86.5505 14.096C85.2865 14.096 84.3265 14.752 83.9905 16.352H83.9745V14.288H82.2465V21.808H83.9745V17.36Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["d","M96.6881 20.272C94.9601 20.272 94.3681 19.232 94.3681 17.808V12.208H92.5441V18.08C92.5441 20.544 94.0481 22 96.6881 22C99.3121 22 100.704 20.544 100.704 18.08V12.208H98.8801V17.856C98.8801 19.216 98.4001 20.272 96.6881 20.272Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["d","M105.616 20.464C104.368 20.464 103.6 19.536 103.6 18.096V17.968C103.6 16.48 104.368 15.648 105.616 15.648C106.944 15.648 107.552 16.512 107.552 18.016C107.552 19.552 106.912 20.464 105.616 20.464ZM109.264 18.016C109.264 15.584 108.256 14.096 106.32 14.096C104.848 14.096 103.984 14.896 103.632 16.416H103.6V14.288H101.872V24H103.6V19.664H103.632C103.968 21.2 104.8 22.016 106.304 22.016C108.208 22.016 109.264 20.512 109.264 18.016Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["fill-rule","evenodd","clip-rule","evenodd","d","M36.4024 35.0973C36.0662 34.9562 35.6441 34.8519 35.0396 34.8519V33.2083C35.8505 33.2083 36.49 33.3515 37.0384 33.5816C37.5622 33.8014 37.9772 34.0917 38.3204 34.3318C38.3275 34.3367 38.3345 34.3416 38.3415 34.3465C38.7019 34.5986 38.9884 34.7958 39.3385 34.9427C39.6747 35.0838 40.0968 35.188 40.7013 35.188C41.3058 35.188 41.7278 35.0838 42.0641 34.9427C42.4141 34.7958 42.7006 34.5986 43.0611 34.3465L43.0821 34.3318C43.4253 34.0917 43.8403 33.8014 44.3641 33.5816C44.9125 33.3515 45.552 33.2083 46.3629 33.2083C47.1739 33.2083 47.8134 33.3515 48.3617 33.5816C48.8856 33.8014 49.3006 34.0917 49.6437 34.3318L49.6648 34.3465C50.0253 34.5986 50.3117 34.7958 50.6618 34.9427C50.998 35.0838 51.4201 35.188 52.0246 35.188C52.6291 35.188 53.0511 35.0838 53.3874 34.9427C53.7374 34.7958 54.0239 34.5986 54.3844 34.3465L54.4055 34.3318C54.7486 34.0917 55.1636 33.8014 55.6874 33.5816C56.2358 33.3515 56.8753 33.2083 57.6862 33.2083C58.4972 33.2083 59.1367 33.3515 59.6851 33.5816C60.2089 33.8014 60.6239 34.0917 60.9671 34.3318L60.9881 34.3465C61.3486 34.5986 61.6351 34.7958 61.9851 34.9427C62.3214 35.0838 62.7434 35.188 63.3479 35.188C63.9524 35.188 64.3745 35.0838 64.7107 34.9427C65.0608 34.7958 65.3472 34.5986 65.7077 34.3465L65.7288 34.3318C66.0719 34.0917 66.4869 33.8014 67.0108 33.5816C67.5591 33.3515 68.1986 33.2083 69.0096 33.2083C69.8205 33.2083 70.46 33.3515 71.0084 33.5816C71.5322 33.8014 71.9472 34.0917 72.2904 34.3318L72.3114 34.3465C72.6719 34.5986 72.9584 34.7958 73.3084 34.9427C73.6447 35.0838 74.0667 35.188 74.6712 35.188C75.2757 35.188 75.6978 35.0838 76.034 34.9427C76.3841 34.7958 76.6706 34.5986 77.031 34.3465L77.0521 34.3318C77.3953 34.0917 77.8102 33.8014 78.3341 33.5816C78.8825 33.3515 79.522 33.2083 80.3329 33.2083C81.1438 33.2083 81.7833 33.3515 82.3317 33.5816C82.8555 33.8014 83.2705 34.0917 83.6137 34.3318L83.6347 34.3465C83.9952 34.5986 84.2817 34.7958 84.6317 34.9427C84.968 35.0838 85.3901 35.188 85.9945 35.188C86.599 35.188 87.0211 35.0838 87.3574 34.9427C87.7074 34.7958 87.9939 34.5986 88.3544 34.3465L88.3754 34.3318C88.7186 34.0917 89.1336 33.8014 89.6574 33.5816C90.2058 33.3515 90.8453 33.2083 91.6562 33.2083C92.4671 33.2083 93.1066 33.3515 93.655 33.5816C94.1789 33.8014 94.5938 34.0917 94.937 34.3318L94.958 34.3465C95.3185 34.5986 95.605 34.7958 95.9551 34.9427C96.2913 35.0838 96.7134 35.188 97.3179 35.188C97.9224 35.188 98.3444 35.0838 98.6807 34.9427C99.0307 34.7958 99.3172 34.5986 99.6777 34.3465L99.6987 34.3318C100.042 34.0917 100.457 33.8014 100.981 33.5816C101.529 33.3515 102.169 33.2083 102.98 33.2083C103.79 33.2083 104.43 33.3515 104.979 33.5815C105.503 33.8013 105.918 34.0915 106.262 34.3315L106.283 34.3462C106.644 34.5983 106.931 34.7957 107.281 34.9426C107.618 35.0838 108.04 35.188 108.645 35.188C109.249 35.188 109.671 35.0838 110.008 34.9427C110.358 34.7958 110.644 34.5986 111.005 34.3465L111.026 34.3318C111.369 34.0917 111.784 33.8014 112.308 33.5816C112.856 33.3515 113.496 33.2083 114.306 33.2083C115.117 33.2083 115.757 33.3515 116.305 33.5816C116.829 33.8014 117.244 34.0917 117.587 34.3318L117.608 34.3465C117.969 34.5986 118.255 34.7958 118.605 34.9427C118.942 35.0838 119.364 35.188 119.968 35.188C120.573 35.188 120.995 35.0838 121.331 34.9427C121.681 34.7958 121.968 34.5985 122.329 34.3464L122.349 34.3321C122.693 34.0918 123.108 33.8014 123.633 33.5815C124.182 33.3514 124.822 33.2083 125.633 33.2083C126.445 33.2083 127.085 33.3514 127.634 33.5816C128.158 33.8015 128.573 34.0921 128.916 34.3323L128.937 34.3467C129.297 34.5988 129.583 34.796 129.933 34.9428C130.269 35.0838 130.691 35.188 131.295 35.188C131.9 35.188 132.322 35.0838 132.659 34.9426C133.009 34.7957 133.296 34.5983 133.657 34.3462L133.678 34.3315C134.022 34.0915 134.437 33.8013 134.961 33.5815C135.51 33.3515 136.149 33.2083 136.96 33.2083V34.8519C136.356 34.8519 135.933 34.9562 135.597 35.0973C135.246 35.2443 134.959 35.4416 134.598 35.6938L134.577 35.7085C134.234 35.9485 133.818 36.2387 133.294 36.4585C132.746 36.6885 132.106 36.8317 131.295 36.8317C130.484 36.8317 129.845 36.6885 129.297 36.4583C128.773 36.2386 128.359 35.9484 128.016 35.7085L127.994 35.6933C127.634 35.4413 127.348 35.2441 126.998 35.0973C126.661 34.9562 126.239 34.8519 125.633 34.8519C125.028 34.8519 124.605 34.9562 124.268 35.0974C123.918 35.2443 123.631 35.4416 123.27 35.6936L123.249 35.7087C122.905 35.9486 122.491 36.2387 121.967 36.4584C121.419 36.6885 120.779 36.8317 119.968 36.8317C119.157 36.8317 118.518 36.6885 117.969 36.4584C117.445 36.2386 117.03 35.9482 116.687 35.7082L116.666 35.6935C116.306 35.4414 116.019 35.2441 115.669 35.0973C115.333 34.9562 114.911 34.8519 114.306 34.8519C113.702 34.8519 113.28 34.9562 112.944 35.0973C112.594 35.2441 112.307 35.4414 111.947 35.6935L111.926 35.7082C111.582 35.9483 111.167 36.2386 110.644 36.4584C110.095 36.6885 109.456 36.8317 108.645 36.8317C107.834 36.8317 107.194 36.6885 106.646 36.4585C106.122 36.2387 105.706 35.9485 105.363 35.7085L105.342 35.6938C104.981 35.4416 104.694 35.2443 104.343 35.0973C104.006 34.9562 103.584 34.8519 102.98 34.8519C102.375 34.8519 101.953 34.9562 101.617 35.0973C101.267 35.2441 100.98 35.4414 100.62 35.6935L100.599 35.7082C100.255 35.9483 99.8405 36.2386 99.3167 36.4584C98.7683 36.6885 98.1288 36.8317 97.3179 36.8317C96.5069 36.8317 95.8674 36.6885 95.3191 36.4584C94.7952 36.2386 94.3803 35.9483 94.0371 35.7082L94.016 35.6935C93.6555 35.4414 93.3691 35.2441 93.019 35.0973C92.6828 34.9562 92.2607 34.8519 91.6562 34.8519C91.0517 34.8519 90.6297 34.9562 90.2934 35.0973C89.9433 35.2441 89.6569 35.4414 89.2964 35.6935L89.2753 35.7082C88.9321 35.9483 88.5172 36.2386 87.9934 36.4584C87.445 36.6885 86.8055 36.8317 85.9945 36.8317C85.1836 36.8317 84.5441 36.6885 83.9957 36.4584C83.4719 36.2386 83.0569 35.9483 82.7138 35.7082L82.6927 35.6935C82.3322 35.4414 82.0457 35.2441 81.6957 35.0973C81.3594 34.9562 80.9374 34.8519 80.3329 34.8519C79.7284 34.8519 79.3063 34.9562 78.9701 35.0973C78.62 35.2441 78.3335 35.4414 77.9731 35.6935L77.952 35.7082C77.6088 35.9483 77.1939 36.2386 76.67 36.4584C76.1217 36.6885 75.4822 36.8317 74.6712 36.8317C73.8603 36.8317 73.2208 36.6885 72.6724 36.4584C72.1486 36.2386 71.7336 35.9483 71.3904 35.7082L71.3694 35.6935C71.0089 35.4414 70.7224 35.2441 70.3724 35.0973C70.0361 34.9562 69.614 34.8519 69.0096 34.8519C68.4051 34.8519 67.983 34.9562 67.6468 35.0973C67.2967 35.2441 67.0102 35.4414 66.6497 35.6935L66.6287 35.7082C66.2855 35.9483 65.8705 36.2386 65.3467 36.4584C64.7983 36.6885 64.1588 36.8317 63.3479 36.8317C62.537 36.8317 61.8975 36.6885 61.3491 36.4584C60.8253 36.2386 60.4103 35.9483 60.0671 35.7082L60.0461 35.6935C59.6856 35.4414 59.3991 35.2441 59.0491 35.0973C58.7128 34.9562 58.2907 34.8519 57.6862 34.8519C57.0818 34.8519 56.6597 34.9562 56.3234 35.0973C55.9734 35.2441 55.6869 35.4414 55.3264 35.6935L55.3054 35.7082C54.9622 35.9483 54.5472 36.2386 54.0234 36.4584C53.475 36.6885 52.8355 36.8317 52.0246 36.8317C51.2137 36.8317 50.5742 36.6885 50.0258 36.4584C49.502 36.2386 49.087 35.9483 48.7438 35.7082L48.7228 35.6935C48.3623 35.4414 48.0758 35.2441 47.7257 35.0973C47.3895 34.9562 46.9674 34.8519 46.3629 34.8519C45.7584 34.8519 45.3364 34.9562 45.0001 35.0973C44.6501 35.2441 44.3636 35.4414 44.0031 35.6935L43.9821 35.7082C43.6389 35.9483 43.2239 36.2386 42.7001 36.4584C42.1517 36.6885 41.5122 36.8317 40.7013 36.8317C39.8903 36.8317 39.2509 36.6885 38.7025 36.4584C38.1786 36.2386 37.7637 35.9483 37.4205 35.7082C37.4134 35.7033 37.4064 35.6984 37.3994 35.6935C37.039 35.4414 36.7525 35.2441 36.4024 35.0973Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["fill-rule","evenodd","clip-rule","evenodd","d","M57.0674 44.2854V42.6273C57.2758 42.6044 57.4965 42.5923 57.7317 42.5923C58.5442 42.5923 59.185 42.7372 59.7343 42.9699C60.2588 43.192 60.6742 43.4853 61.0175 43.7278L61.0387 43.7427C61.3996 43.9975 61.6862 44.1966 62.0362 44.3449C62.3722 44.4872 62.7938 44.5923 63.3978 44.5923C64.0018 44.5923 64.4233 44.4872 64.7593 44.3449C65.1094 44.1966 65.396 43.9975 65.7568 43.7427L65.778 43.7278C66.1213 43.4853 66.5367 43.192 67.0612 42.9699C67.6105 42.7372 68.2513 42.5923 69.0638 42.5923C69.8763 42.5923 70.5171 42.7372 71.0665 42.9699C71.591 43.192 72.0063 43.4854 72.3497 43.7278L72.3708 43.7427C72.7317 43.9975 73.0183 44.1966 73.3683 44.3449C73.7043 44.4872 74.1259 44.5923 74.7299 44.5923C75.3339 44.5923 75.7555 44.4872 76.0915 44.3449C76.4415 44.1966 76.7281 43.9975 77.0889 43.7427L77.1101 43.7278C77.4534 43.4854 77.8688 43.192 78.3933 42.9699C78.9426 42.7372 79.5834 42.5923 80.3959 42.5923C81.2085 42.5923 81.8493 42.7372 82.3986 42.9699C82.9231 43.192 83.3385 43.4854 83.6818 43.7278L83.703 43.7427C84.0638 43.9975 84.3504 44.1966 84.7004 44.3449C85.0364 44.4872 85.458 44.5923 86.062 44.5923C86.666 44.5923 87.0876 44.4872 87.4236 44.3449C87.7736 44.1966 88.0602 43.9975 88.4211 43.7427L88.4422 43.7278L88.4422 43.7278C88.7856 43.4853 89.201 43.192 89.7254 42.9699C90.2747 42.7372 90.9155 42.5923 91.7281 42.5923C92.5406 42.5923 93.1814 42.7372 93.7307 42.9699C94.2552 43.192 94.6706 43.4854 95.0139 43.7278L95.0351 43.7427C95.3959 43.9975 95.6825 44.1966 96.0326 44.3449C96.3686 44.4872 96.7901 44.5923 97.3941 44.5923C97.9981 44.5923 98.4197 44.4872 98.7557 44.3449C99.1057 44.1966 99.3923 43.9975 99.7532 43.7427L99.7743 43.7278L99.7744 43.7278C100.118 43.4853 100.533 43.192 101.058 42.9699C101.607 42.7372 102.248 42.5923 103.06 42.5923C103.873 42.5923 104.514 42.7372 105.063 42.9698C105.588 43.1919 106.004 43.4851 106.347 43.7275L106.347 43.7275L106.369 43.7424C106.73 43.9972 107.017 44.1964 107.368 44.3448C107.704 44.4872 108.126 44.5923 108.73 44.5923C109.334 44.5923 109.755 44.4872 110.091 44.3449C110.441 44.1966 110.728 43.9975 111.089 43.7427L111.11 43.7278C111.453 43.4853 111.869 43.192 112.393 42.9699C112.603 42.881 112.826 42.8049 113.067 42.7448V44.4696C113.056 44.4742 113.045 44.4787 113.034 44.4834C112.684 44.6316 112.398 44.8308 112.037 45.0855L112.016 45.1005C111.672 45.3429 111.257 45.6362 110.733 45.8584C110.183 46.0911 109.542 46.236 108.73 46.236C107.917 46.236 107.276 46.0911 106.727 45.8585C106.202 45.6364 105.786 45.3432 105.443 45.1007L105.421 45.0858C105.06 44.8311 104.773 44.6318 104.423 44.4835C104.086 44.3411 103.664 44.236 103.06 44.236C102.456 44.236 102.035 44.3411 101.699 44.4834C101.349 44.6316 101.062 44.8308 100.701 45.0855L100.68 45.1004C100.337 45.3429 99.9213 45.6362 99.3968 45.8584C98.8475 46.0911 98.2067 46.236 97.3941 46.236C96.5816 46.236 95.9408 46.0911 95.3915 45.8584C94.867 45.6362 94.4516 45.3429 94.1083 45.1005L94.0871 45.0855C93.7263 44.8308 93.4397 44.6316 93.0896 44.4834C92.7537 44.3411 92.3321 44.236 91.7281 44.236C91.1241 44.236 90.7025 44.3411 90.3665 44.4834C90.0165 44.6316 89.7299 44.8308 89.369 45.0855L89.3478 45.1005L89.3478 45.1005C89.0045 45.3429 88.5891 45.6362 88.0647 45.8584C87.5153 46.0911 86.8745 46.236 86.062 46.236C85.2495 46.236 84.6087 46.0911 84.0594 45.8584C83.5349 45.6362 83.1195 45.3429 82.7762 45.1005L82.755 45.0855C82.3941 44.8308 82.1075 44.6316 81.7575 44.4834C81.4215 44.3411 80.9999 44.236 80.3959 44.236C79.792 44.236 79.3704 44.3411 79.0344 44.4834C78.6843 44.6316 78.3978 44.8308 78.0369 45.0855L78.0157 45.1005L78.0157 45.1005C77.6724 45.3429 77.257 45.6362 76.7325 45.8584C76.1832 46.0911 75.5424 46.236 74.7299 46.236C73.9174 46.236 73.2766 46.0911 72.7272 45.8584C72.2028 45.6362 71.7874 45.3429 71.444 45.1005L71.4229 45.0855C71.062 44.8308 70.7754 44.6316 70.4254 44.4834C70.0894 44.3411 69.6678 44.236 69.0638 44.236C68.4598 44.236 68.0382 44.3411 67.7022 44.4834C67.3522 44.6316 67.0656 44.8308 66.7048 45.0855L66.6836 45.1005C66.3403 45.3429 65.9249 45.6362 65.4004 45.8584C64.8511 46.0911 64.2103 46.236 63.3978 46.236C62.5852 46.236 61.9444 46.0911 61.3951 45.8584C60.8706 45.6362 60.4553 45.3429 60.1119 45.1005L60.1119 45.1005L60.0908 45.0855C59.7299 44.8308 59.4433 44.6316 59.0933 44.4834C58.7573 44.3411 58.3357 44.236 57.7317 44.236C57.4812 44.236 57.2621 44.254 57.0674 44.2854Z",1,"fill-sand-800","user-theme-card-text-color-fill"],["x","6","y","60.236","width","160","height","19.5","rx","4","fill","#000","fill-opacity","10%"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.8228 70.6201C16.0594 70.1461 15.3988 69.736 14 69.736V68.236C15.8222 68.236 16.7737 68.824 17.619 69.3488L17.6256 69.3529C18.3887 69.8267 19.0479 70.236 20.4426 70.236C21.8382 70.236 22.4988 69.8262 23.263 69.3521L23.2686 69.3486C24.114 68.8242 25.0657 68.236 26.8853 68.236C28.7049 68.236 29.6565 68.8242 30.502 69.3486L30.5075 69.3521C31.2718 69.8262 31.9323 70.236 33.3279 70.236C34.7235 70.236 35.3841 69.8262 36.1483 69.3521L36.1539 69.3486C36.9993 68.8242 37.9509 68.236 39.7705 68.236C41.5902 68.236 42.5418 68.8242 43.3872 69.3486L43.3928 69.3521C44.157 69.8262 44.8176 70.236 46.2132 70.236C47.6082 70.236 48.2688 69.8265 49.0336 69.3525L49.0401 69.3485C49.8864 68.8239 50.8392 68.236 52.6612 68.236C54.4836 68.236 55.4339 68.8242 56.2784 69.3489L56.2844 69.3527C57.0467 69.8263 57.7059 70.236 59.1039 70.236C60.5022 70.236 61.1628 69.8261 61.9267 69.3523L61.9325 69.3486C62.7782 68.824 63.7298 68.236 65.5519 68.236C67.3741 68.236 68.3257 68.824 69.1713 69.3486L69.1772 69.3523C69.941 69.8261 70.6017 70.236 72 70.236V71.736C70.1778 71.736 69.2263 71.1479 68.3806 70.6233L68.3748 70.6197C67.6109 70.1458 66.9502 69.736 65.5519 69.736C64.1536 69.736 63.493 70.1458 62.7291 70.6197L62.7233 70.6233C61.8776 71.1479 60.926 71.736 59.1039 71.736C57.2815 71.736 56.3312 71.1478 55.4867 70.623L55.4807 70.6192C54.7185 70.1456 54.0592 69.736 52.6612 69.736C51.2621 69.736 50.6 70.1463 49.8351 70.6205L49.8303 70.6234C48.9844 71.1477 48.0328 71.736 46.2132 71.736C44.3935 71.736 43.4419 71.1477 42.5965 70.6233L42.5909 70.6198C41.8267 70.1457 41.1661 69.736 39.7705 69.736C38.375 69.736 37.7144 70.1457 36.9502 70.6198L36.9446 70.6233C36.0992 71.1477 35.1475 71.736 33.3279 71.736C31.5083 71.736 30.5567 71.1477 29.7112 70.6233L29.7057 70.6198C28.9414 70.1457 28.2809 69.736 26.8853 69.736C25.4897 69.736 24.8291 70.1457 24.0649 70.6198L24.0593 70.6233C23.2139 71.1477 22.2623 71.736 20.4426 71.736C18.6228 71.736 17.6725 71.1476 16.8277 70.6231L16.8228 70.6201Z",1,"fill-sand-800","user-theme-card-text-color-fill"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.qSk(),a.j41(1,"svg",1),a.nrm(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"rect",10)(11,"path",11),a.k0s()())}})}return b})(),lb=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})();const cb=()=>({padding:"0px"});function a_(b,me){if(1&b&&(a.j41(0,"root-card",4),a.eu8(1,5),a.k0s()),2&b){const f=a.XpG(),k=a.sdS(3),x=a.sdS(5);a.Y8G("bodyStyle",a.lJ4(2,cb)),a.R7$(),a.Y8G("ngTemplateOutlet",1==(null==f.imageBlock||null==f.imageBlock.images?null:f.imageBlock.images.length)?k:x)}}function l_(b,me){if(1&b&&(a.j41(0,"div",6),a.eu8(1,5),a.k0s()),2&b){const f=a.XpG(),k=a.sdS(3),x=a.sdS(5);a.R7$(),a.Y8G("ngTemplateOutlet",1==(null==f.imageBlock||null==f.imageBlock.images?null:f.imageBlock.images.length)?k:x)}}function J5(b,me){if(1&b&&a.nrm(0,"lib-soft-image-view",7),2&b){const f=a.XpG();a.Y8G("imageUrl",f.imageUrl)("image",f.image)("imgixImage",f.imgixImage)("alt",f.altText)}}function i8(b,me){if(1&b&&(a.j41(0,"div",10),a.nrm(1,"lib-soft-image-view",11),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("imageUrl",f.url)("imgixImage",(null==x.imageBlock.responsiveImages?null:x.imageBlock.responsiveImages.length)>k?x.imageBlock.responsiveImages[k]:null)("alt",x.altText)}}function Z5(b,me){if(1&b&&(a.j41(0,"root-carousel",8),a.DNE(1,i8,2,3,"div",9),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",f.imageBlock.images)}}let e7=(()=>{class b{get imageUrl(){return this.imageBlock?.images.length>0?this.imageBlock?.images[0]?.url:""}get image(){return this.imageBlock?.images.length>0?this.imageBlock?.images[0]:null}get imgixImage(){return this.imageBlock?.responsiveImages?.length>0?this.imageBlock?.responsiveImages[0]:null}get altText(){return this.imageBlock?.images[0].altText||""}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-image-block-view"]],inputs:{imageBlock:"imageBlock"},decls:6,vars:2,consts:[["singleImageTemplate",""],["carouselTemplate",""],["class","overflow-hidden",3,"bodyStyle",4,"ngIf"],["class","image-wrapper",4,"ngIf"],[1,"overflow-hidden",3,"bodyStyle"],[3,"ngTemplateOutlet"],[1,"image-wrapper"],["backgroundColor","transparent",3,"imageUrl","image","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],["backgroundColor","transparent",3,"imageUrl","imgixImage","alt"]],template:function(k,x){1&k&&a.DNE(0,a_,2,3,"root-card",2)(1,l_,2,1,"div",3)(2,J5,1,4,"ng-template",null,0,a.C5r)(4,Z5,2,3,"ng-template",null,1,a.C5r),2&k&&(a.Y8G("ngIf",!(null!=x.imageBlock&&x.imageBlock.hideCard)),a.R7$(),a.Y8G("ngIf",null==x.imageBlock?null:x.imageBlock.hideCard))},dependencies:[L.Sq,L.bT,L.T3,pc,$h,A1,V0]})}return b})(),zp=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),o8=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,zp,wd,gf]})}return b})();function OT(b,me){if(1&b&&(a.j41(0,"div",4),a.nrm(1,"div",5),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("innerHtml",f.safeEmbedCode,a.npT)}}function db(b,me){if(1&b&&a.nrm(0,"root-icon",7),2&b){const f=a.XpG(2);a.Y8G("name",f.placeholderIcon)}}function c_(b,me){if(1&b&&(a.j41(0,"h2",8),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.JRh(f.placeholderText)}}function d_(b,me){if(1&b&&(a.j41(0,"root-card")(1,"root-result",6),a.DNE(2,db,1,1,"ng-template",null,0,a.C5r)(4,c_,2,1,"ng-template",null,1,a.C5r),a.k0s()()),2&b){const f=a.sdS(3),k=a.sdS(5),x=a.XpG();a.R7$(),a.Y8G("iconTpl",x.placeholderIcon?f:null)("titleTpl",k)}}let t7=(()=>{class b{constructor(f,k,x,ye){this._platform=f,this._sanitizer=k,this._cdr=x,this._iconService=ye,this.embedCode="",this.safeEmbedCode="",this.isBrowser=!1,this.isBrowser=(0,L.UE)(this._platform),this._iconService.registerIcons([Oh,Ig])}ngOnChanges(){const f=this.embedCode?this._sanitizer.bypassSecurityTrustHtml(this.embedCode):null;this.safeEmbedCode!==f&&(this.safeEmbedCode=f,this._cdr.detectChanges())}get showPlaceholder(){return!(this.isBrowser||!this.placeholderText&&!this.placeholderIcon)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.Agw),a.rXU(Pe.up),a.rXU(a.gRc),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-embed-view"]],inputs:{embedCode:"embedCode",placeholderText:"placeholderText",placeholderIcon:"placeholderIcon"},features:[a.OA$],decls:2,vars:2,consts:[["iconTpl",""],["titleTpl",""],["class","embed-wrapper",4,"ngIf"],[4,"ngIf"],[1,"embed-wrapper"],[3,"innerHtml"],[3,"iconTpl","titleTpl"],[1,"item",3,"name"],[1,"embed-view-placeholder"]],template:function(k,x){1&k&&a.DNE(0,OT,2,1,"div",2)(1,d_,6,2,"root-card",3),2&k&&(a.Y8G("ngIf",!x.showPlaceholder),a.R7$(),a.Y8G("ngIf",x.showPlaceholder))},dependencies:[L.bT,jt,$h,N5],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.embed-view-placeholder{text-align:center;color:#00000040!important}\n"],encapsulation:2,changeDetection:0})}return b})(),ub=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl,wd,eb]})}return b})();function r8(b,me){if(1&b){const f=a.RV6();a.qex(0),a.j41(1,"a",3)(2,"root-button",4),a.bIt("handleClick",function(x){const ye=a.eBV(f).$implicit,kt=a.XpG(2);return a.Njj(kt.handleClick(x,ye.url))}),a.nrm(3,"root-icon",5),a.k0s()(),a.bVm()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(),a.Y8G("href",f.url,a.B4B),a.BMQ("aria-label",f.label),a.R7$(),a.Y8G("size",k.size)("ariaLabel",f.label)("rootTooltip",f.label),a.R7$(),a.Y8G("name",f.icon)}}function hb(b,me){if(1&b&&(a.j41(0,"div",1),a.DNE(1,r8,4,6,"ng-container",2),a.k0s()),2&b){const f=a.XpG();a.AVh("justify-center",f.center),a.R7$(),a.Y8G("ngForOf",f.links)}}function n7(b,me){if(1&b){const f=a.RV6();a.qex(0),a.j41(1,"a",3)(2,"root-button",6),a.bIt("handleClick",function(x){const ye=a.eBV(f).$implicit,kt=a.XpG(2);return a.Njj(kt.handleClick(x,ye.url))}),a.nrm(3,"root-icon",5),a.k0s()(),a.bVm()}if(2&b){const f=me.$implicit,k=a.XpG(2);a.R7$(),a.Y8G("href",f.url,a.B4B),a.BMQ("aria-label",f.label),a.R7$(),a.Y8G("size",k.size)("ariaLabel",f.label)("text",f.label),a.R7$(),a.Y8G("name",f.icon)}}function pb(b,me){if(1&b&&(a.j41(0,"div",1),a.DNE(1,n7,4,6,"ng-container",2),a.k0s()),2&b){const f=a.XpG();a.AVh("justify-center",f.center),a.R7$(),a.Y8G("ngForOf",f.links)}}let u_=(()=>{class b{constructor(f){this._iconService=f,this.iconOnly=!0,this.size="large",this.preventDefault=!1,this.center=!0,this.type="text",this.clicked=new a.bkB,this._iconService.registerIcons([R,Oh,Ig,r3,I2,h,q,ce,xe,H2,Ze,Tn,Yn,wl,p0,Un,Ti,ji,Pi,Wi,To,Kt,po,Wt,Bt])}handleClick(f,k){this.preventDefault&&f?.preventDefault(),this.clicked.emit(k)}ngOnChanges(){this.links=(this.socialLinks?.map?.(f=>(0,n.r8g)(f))||[]).filter(f=>""!==f.url)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-social-icons-view"]],inputs:{iconOnly:"iconOnly",filter:"filter",socialLinks:"socialLinks",size:"size",preventDefault:"preventDefault",center:"center",type:"type"},outputs:{clicked:"clicked"},features:[a.OA$],decls:2,vars:2,consts:[["class","flex items-center flex-wrap m-0",3,"justify-center",4,"ngIf"],[1,"flex","items-center","flex-wrap","m-0"],[4,"ngFor","ngForOf"],["rel","noreferrer","target","_blank",1,"text-color","m-0","mb-1","mr-1",3,"href"],["type","ghost","name","social",3,"handleClick","size","ariaLabel","rootTooltip"],[3,"name"],["type","ghost","name","social",3,"handleClick","size","ariaLabel","text"]],template:function(k,x){1&k&&a.DNE(0,hb,2,3,"div",0)(1,pb,2,3,"div",0),2&k&&(a.Y8G("ngIf",(null==x.links?null:x.links.length)&&x.iconOnly),a.R7$(),a.Y8G("ngIf",(null==x.links?null:x.links.length)&&!x.iconOnly))},dependencies:[L.Sq,L.bT,xp,lc,jt]})}return b})(),i7=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,Uh,fl]})}return b})();const r7=["iframePlaceholder"],s7=["elementRef"];let p_=(()=>{class b{constructor(f,k,x,ye){this._doNotTrackAnalytics=f,this._document=k,this._renderer=x,this._api=ye,this.iframeId=`youtube-iframe-${(0,n.gZm)()}`}ngAfterViewInit(){var f=this;return(0,y.A)(function*(){yield f._loadYouTubePlayer()})()}ngOnChanges(f){const{previousValue:k,currentValue:x}=f.block||{};if(k&&x){const ye=this._buildIframeOptions(k),kt=this._buildIframeOptions(x);this._embedOptionsAreEqual(ye,kt)||this._refreshEmbed(kt)}}ngOnDestroy(){this._player?.destroy()}_embedOptionsAreEqual(f,k){for(const[x,ye]of Object.entries(f))if("events"!==x&&k[x]!==ye)return!1;return!0}_refreshEmbed(f){this._player.setSize(+f.width,+f.height),this._player.loadVideoById(f.videoId)}_buildIframeOptions(f){return{height:f.height??315,width:f.width??560,videoId:this._extractVideoId(f.url),events:{onStateChange:k=>this._handlePlayerStateChange(k)},host:"https://www.youtube-nocookie.com"}}_extractVideoId(f){try{const k=new URL(f);return f.match(/youtube.com\/shorts/)?k.pathname.replace("/shorts/",""):f.match(/youtube/)?k.searchParams.get("v"):k.pathname.replace("/","")}catch{}return null}_handlePlayerStateChange(f){1==f.data&&this._recordYouTubePlay()}_loadYouTubePlayer(){var f=this;return(0,y.A)(function*(){const k=yield f._getYouTubeApi();try{f._player=new k.Player(f.iframeId,f._buildIframeOptions(f.block))}catch{}})()}_recordYouTubePlay(){if(this._doNotTrackAnalytics)return;const f=this._extractVideoId(this.block.url);this._api.post(n.V$P.END_USER,n.Hrf.analytics.trackEntityInteraction,{entityType:"collection",entityId:this.pageId,interactionType:"youtubePlay",interactionValue:f,interactionMetadata:{url:`https://youtu.be/${f}`},domReferrer:this._document.referrer}).catch()}_getYouTubeApi(){var f=this;return(0,y.A)(function*(){if(window[hd])return window[hd];const k=`${hd}-script`;if(!f._document.querySelector(`#${k}`)){window.onYouTubeIframeAPIReady=()=>{window[hd]=window.YT};const ye=f._renderer.createElement("script");f._renderer.setAttribute(ye,"id",k),f._renderer.setAttribute(ye,"src","https://www.youtube.com/iframe_api");const kt=f._document.getElementsByTagName("script")[0];f._renderer.insertBefore(f._renderer.parentNode(kt),ye,kt)}return yield new Promise(ye=>setTimeout(ye,10)),f._getYouTubeApi()})()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ho,8),a.rXU(L.qQ),a.rXU(a.sFG),a.rXU(eh))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-youtube-embed-view"]],viewQuery:function(k,x){if(1&k&&(a.GBs(r7,5),a.GBs(s7,7)),2&k){let ye;a.mGM(ye=a.lsd())&&(x.iframePlaceholder=ye.first),a.mGM(ye=a.lsd())&&(x.element=ye.first)}},hostAttrs:["ngSkipHydration","true"],inputs:{block:"block",pageId:"pageId"},features:[a.OA$],decls:2,vars:1,consts:[["iframePlaceholder",""],[1,"w-full","aspect-video",3,"id"]],template:function(k,x){1&k&&a.nrm(0,"div",1,0),2&k&&a.Y8G("id",x.iframeId)},encapsulation:2})}return b})(),a7=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})();function l7(b,me){if(1&b&&(a.j41(0,"div"),a.nrm(1,"div",3),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("innerHtml",f.safeEmbedCode,a.npT)}}function c7(b,me){if(1&b&&(a.j41(0,"root-card",4),a.nrm(1,"root-card-meta",5),a.k0s()),2&b){a.XpG();const f=a.sdS(3);a.R7$(),a.Y8G("avatar",f)}}function d7(b,me){1&b&&(a.j41(0,"root-avatar"),a.nrm(1,"root-icon",6),a.k0s())}let fM=(()=>{class b{constructor(f,k,x,ye,kt){this._document=f,this._platform=k,this._renderer=x,this._sanitizer=ye,this._iconService=kt,this._iconService.registerIcons([It])}ngOnInit(){(0,L.UE)(this._platform)&&this._initScript()}ngOnChanges(){this.safeEmbedCode=this.embedCode?this._sanitizer.bypassSecurityTrustHtml(this.embedCode):null}_initScript(){const f=this._renderer.createElement("script");return f.type="text/javascript",f.src="https://assets.calendly.com/assets/external/widget.js",this._renderer.appendChild(this._document.body,f),f}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(L.qQ),a.rXU(a.Agw),a.rXU(a.sFG),a.rXU(Pe.up),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-calendly-embed-view"]],inputs:{embedCode:"embedCode"},features:[a.OA$],decls:4,vars:2,consts:[["avatarTemplate",""],[4,"ngIf"],["class","card-background-color",4,"ngIf"],[3,"innerHtml"],[1,"card-background-color"],["description","Publish to view the rendered Calendly embed.",3,"avatar"],["name","calendly"]],template:function(k,x){1&k&&a.DNE(0,l7,2,1,"div",1)(1,c7,2,1,"root-card",2)(2,d7,2,0,"ng-template",null,0,a.C5r),2&k&&(a.Y8G("ngIf",x.safeEmbedCode),a.R7$(),a.Y8G("ngIf",!x.safeEmbedCode))},dependencies:[L.bT,$h,E5,S6,jt],encapsulation:2})}return b})();function NT(b,me){if(1&b&&(a.j41(0,"div",3),a.nrm(1,"div",4),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("innerHtml",f.safeEmbedCode,a.npT)}}function AT(b,me){if(1&b&&(a.j41(0,"root-card",5),a.nrm(1,"root-card-meta",6),a.k0s()),2&b){a.XpG();const f=a.sdS(3);a.R7$(),a.Y8G("avatar",f)}}function RT(b,me){1&b&&(a.j41(0,"root-avatar"),a.nrm(1,"root-icon",7),a.k0s())}let PT=(()=>{class b{constructor(f,k){this._sanitizer=f,this._iconService=k,this._iconService.registerIcons([$g])}ngOnChanges(){this.safeEmbedCode=this.embedCode?this._sanitizer.bypassSecurityTrustHtml(this.embedCode):null}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Pe.up),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-vimeo-embed-view"]],inputs:{embedCode:"embedCode",width:"width",height:"height"},features:[a.OA$],decls:4,vars:2,consts:[["avatarTemplate",""],["class","vimeo-embed-wrapper",4,"ngIf"],["class","vimeo-embed-placeholder card-background-color",4,"ngIf"],[1,"vimeo-embed-wrapper"],[3,"innerHtml"],[1,"vimeo-embed-placeholder","card-background-color"],["description","Publish to view the rendered Vimeo video.",3,"avatar"],["name","video"]],template:function(k,x){1&k&&a.DNE(0,NT,2,1,"div",1)(1,AT,2,1,"root-card",2)(2,RT,2,0,"ng-template",null,0,a.C5r),2&k&&(a.Y8G("ngIf",x.safeEmbedCode),a.R7$(),a.Y8G("ngIf",!x.safeEmbedCode))},dependencies:[L.bT,$h,E5,S6,jt],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.vimeo-embed-wrapper{position:relative;padding-bottom:56.25%;height:0}.vimeo-embed-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}.vimeo-embed-placeholder{padding:24px;border:1px dashed #edeff5}\n"],encapsulation:2})}return b})();const FT=["iframePlaceholder"];let LT=(()=>{class b{constructor(f,k,x,ye,kt){this._platformId=f,this._doNotTrackAnalytics=k,this._document=x,this._renderer=ye,this._api=kt,this.iframeId=`spotify-iframe-${(0,n.gZm)()}`}ngAfterViewInit(){var f=this;return(0,y.A)(function*(){yield f._loadSpotifyPlayer()})()}ngOnChanges(f){const{previousValue:k,currentValue:x}=f.block||{};if(k&&x){const ye=this._buildIframeOptions(k),kt=this._buildIframeOptions(x);this._embedOptionsAreEqual(ye,kt)||this._refreshEmbed(kt)}}ngOnDestroy(){this._embedController?.destroy()}_embedOptionsAreEqual(f,k){for(const[x,ye]of Object.entries(f))if(k[x]!==ye)return!1;return!0}_refreshEmbed(f){this._embedController.options=f;try{this._embedController.loadUri(f.uri)}catch{}}_convertSpotifyUrlForIframe(f){let k;try{k=new URL(f)}catch{return null}return`spotify${k.pathname.replace(/\//g,":")}`}_buildIframeOptions(f){const k=this._convertSpotifyUrlForIframe(f.url);return{width:`${f.width??"100%"}`,height:`${f.height??352}`,uri:k,...f.hideColor&&{theme:"dark"}}}_loadSpotifyPlayer(){var f=this;return(0,y.A)(function*(){const k=yield f._getSpotifyApi();try{k.createController(f._document.querySelector(`#${f.iframeId}`),f._buildIframeOptions(f.block),x=>{x.addListener("playback_update",ye=>{f._handlePlaybackUpdate(ye)}),f._embedController=x})}catch{}})()}_handlePlaybackUpdate(f){const k=this._isPaused;this._isPaused=f.data.isPaused,k!==this._isPaused&&(this._isPaused||this._recordSpotifyPlay())}_recordSpotifyPlay(){if(this._doNotTrackAnalytics)return;const f=this._convertSpotifyUrlForIframe(this.block.url),[,k,x]=f;this._api.post(n.V$P.END_USER,n.Hrf.analytics.trackEntityInteraction,{entityType:"collection",entityId:this.pageId,interactionType:"spotifyPlay",interactionValue:f,interactionMetadata:{url:`https://open.spotify.com/${k}/${x}`},domReferrer:this._document.referrer}).catch()}_getSpotifyApi(){var f=this;return(0,y.A)(function*(){if(!(0,L.UE)(f._platformId))return;if(window[kc])return window[kc];const k=`${kc}-script`;if(!f._document.querySelector(`#${k}`)){window.onSpotifyIframeApiReady=zn=>{window[kc]=zn};const ye=f._renderer.createElement("script");f._renderer.setAttribute(ye,"id",k),f._renderer.setAttribute(ye,"src","https://open.spotify.com/embed/iframe-api/v1");const kt=f._document.getElementsByTagName("script")[0];f._renderer.insertBefore(f._renderer.parentNode(kt),ye,kt)}return yield new Promise(ye=>setTimeout(ye,10)),f._getSpotifyApi()})()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(a.Agw),a.rXU(Ho,8),a.rXU(L.qQ),a.rXU(a.sFG),a.rXU(eh))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-spotify-embed-view"]],viewQuery:function(k,x){if(1&k&&a.GBs(FT,5),2&k){let ye;a.mGM(ye=a.lsd())&&(x.iframePlaceholder=ye.first)}},hostAttrs:["ngSkipHydration","true"],inputs:{block:"block",pageId:"pageId"},features:[a.OA$],decls:2,vars:1,consts:[["iframePlaceholder",""],[3,"id"]],template:function(k,x){1&k&&a.nrm(0,"div",1,0),2&k&&a.Y8G("id",x.iframeId)},encapsulation:2})}return b})();function VT(b,me){if(1&b&&(a.j41(0,"h2",6),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",null==f.accountInfo?null:f.accountInfo.title," ")}}function f_(b,me){if(1&b&&(a.j41(0,"div",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",null==f.accountInfo?null:f.accountInfo.pronouns," ")}}function O6(b,me){if(1&b&&(a.nrm(0,"div",8),a.nI1(1,"safeHtml")),2&b){const f=a.XpG(2);a.Y8G("innerHTML",a.bMT(1,1,null==f.accountInfo?null:f.accountInfo.bio),a.npT)}}function BT(b,me){if(1&b&&(a.j41(0,"div",9)(1,"root-tag"),a.nrm(2,"root-icon",10),a.j41(3,"span"),a.EFF(4),a.k0s()()()),2&b){const f=a.XpG(2);a.R7$(4),a.JRh(f.accountInfo.location)}}function gb(b,me){if(1&b&&(a.j41(0,"div",1),a.DNE(1,VT,2,1,"h2",2)(2,f_,2,1,"div",3)(3,O6,2,3,"div",4)(4,BT,5,1,"div",5),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",(null==f.accountInfo?null:f.accountInfo.title)&&0!=(null==f.block?null:f.block.showTitle)),a.R7$(),a.Y8G("ngIf",(null==f.accountInfo?null:f.accountInfo.pronouns)&&0!=(null==f.block?null:f.block.showPronouns)),a.R7$(),a.Y8G("ngIf",(null==f.accountInfo?null:f.accountInfo.bio)&&0!=(null==f.block?null:f.block.showBio)),a.R7$(),a.Y8G("ngIf",(null==f.accountInfo?null:f.accountInfo.location)&&0!=(null==f.block?null:f.block.showLocation))}}function $T(b,me){1&b&&(a.j41(0,"div",1),a.nrm(1,"root-skeleton"),a.k0s())}let vb=(()=>{class b{constructor(f){this._iconService=f,this._iconService.registerIcons([_0])}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-profile-view"]],inputs:{accountInfo:"accountInfo",block:"block"},decls:2,vars:2,consts:[["class","flex flex-col items-center justify-center text-color",4,"ngIf"],[1,"flex","flex-col","items-center","justify-center","text-color"],["class","self-stretch text-center mb-3",4,"ngIf"],["class","self-stretch text-center italic text-sm mb-3",4,"ngIf"],["class","mb-3",3,"innerHTML",4,"ngIf"],["class","m-0",4,"ngIf"],[1,"self-stretch","text-center","mb-3"],[1,"self-stretch","text-center","italic","text-sm","mb-3"],[1,"mb-3",3,"innerHTML"],[1,"m-0"],["size","small","name","map_pin"]],template:function(k,x){1&k&&a.DNE(0,gb,5,4,"div",0)(1,$T,2,0,"div",0),2&k&&(a.Y8G("ngIf",x.accountInfo),a.R7$(),a.Y8G("ngIf",!x.accountInfo))},dependencies:[L.bT,L3,jt,Lh,ea]})}return b})(),UT=(()=>{class b{get height(){return`${this.block?.height||50}px`}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-spacer-view"]],inputs:{block:"block"},decls:1,vars:2,consts:[[1,"h-3"]],template:function(k,x){1&k&&a.nrm(0,"div",0),2&k&&a.xc7("height",x.height)}})}return b})();const GT=()=>({padding:"0px"});function jT(b,me){1&b&&a.eu8(0)}function HT(b,me){if(1&b&&(a.j41(0,"div",9),a.DNE(1,jT,1,0,"ng-container",10),a.k0s()),2&b){const f=a.XpG(),k=a.sdS(9),x=a.sdS(11);a.R7$(),a.Y8G("ngTemplateOutlet",(null==f.link||null==f.link.imgixImages?null:f.link.imgixImages.length)>1?x:k)}}function YT(b,me){if(1&b&&(a.j41(0,"p",11),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",null==f.link?null:f.link.description," ")}}function _b(b,me){if(1&b&&a.nrm(0,"lib-soft-image-view",12),2&b){const f=a.XpG();a.Y8G("imageUrl",null==f.link?null:f.link.imageUrl)("image",null==f.link?null:f.link.image)("imgixImage",null==f.link?null:f.link.imgixImage)("alt",f.blockTitle||(null==f.link?null:f.link.title))}}function T4(b,me){if(1&b&&(a.j41(0,"div",15),a.nrm(1,"lib-soft-image-view",16),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("alt",x.blockTitle||(null==x.link?null:x.link.title))("imageUrl",null==f?null:f.url)("image",f)("imgixImage",null==x.link?null:x.link.imgixImages[k])}}function s8(b,me){if(1&b&&(a.j41(0,"root-carousel",13),a.DNE(1,T4,2,4,"div",14),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",null==f.link?null:f.link.images)}}let yb=(()=>{class b{constructor(){this.cardClick=new a.bkB}get href(){const f=this.link?.url,k=this.link?.urls?.clickThroughRaw,x=this.link?.type;return k?.length?k:"email"===x?`mailto:${f}`:"phoneNumber"===x?`sms:${f}`:"callablePhoneNumber"===x?`tel:${f}`:"instagramDm"===x?`https://ig.me/m/${f}`:this.link?.url}handleClick(f){this.cardClick.next({content:this.link,event:f})}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-link-card-view"]],inputs:{link:"link",blockTitle:"blockTitle"},outputs:{cardClick:"cardClick"},decls:12,vars:8,consts:[["coverTemplate",""],["carouselCoverTemplate",""],["target","_blank","rel","noreferrer",1,"link-card",3,"click","href"],[1,"group","duration-200","ease-custom",3,"bodyStyle"],[1,"flex","items-center","user-theme-card-image-position"],["class","flex-[0_0_60px] m-4 mr-0 user-theme-card-avatar",4,"ngIf"],[1,"flex-auto","m-4","user-theme-card-text-alignment"],[1,"group-hover:underline","mb-0","card-text-color"],["class","mb-0 mt-3 card-text-color",4,"ngIf"],[1,"flex-[0_0_60px]","m-4","mr-0","user-theme-card-avatar"],[4,"ngTemplateOutlet"],[1,"mb-0","mt-3","card-text-color"],[3,"imageUrl","image","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"alt","imageUrl","image","imgixImage"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"a",2),a.bIt("click",function(zn){return a.eBV(ye),a.Njj(x.handleClick(zn))}),a.j41(1,"root-card",3)(2,"div",4),a.DNE(3,HT,2,1,"div",5),a.j41(4,"div",6)(5,"h3",7),a.EFF(6),a.k0s(),a.DNE(7,YT,2,1,"p",8),a.k0s()()()(),a.DNE(8,_b,1,4,"ng-template",null,0,a.C5r)(10,s8,2,3,"ng-template",null,1,a.C5r)}2&k&&(a.Y8G("href",x.href,a.B4B),a.R7$(),a.AVh("cursor-pointer",x.link),a.Y8G("bodyStyle",a.lJ4(7,GT)),a.R7$(2),a.Y8G("ngIf",(null==x.link||null==x.link.imgixImages?null:x.link.imgixImages.length)>1||(null==x.link?null:x.link.imageUrl)),a.R7$(3),a.SpI(" ",x.blockTitle||(null==x.link?null:x.link.title)||"\u2022 \u2022 \u2022 \u2022 \u2022"," "),a.R7$(),a.Y8G("ngIf",null==x.link?null:x.link.description))},dependencies:[L.Sq,L.bT,L.T3,A1,V0,pc,$h]})}return b})();const qT=["*"];function u7(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",4)(1,"root-button",5),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.closeClick.next())}),a.nrm(2,"root-icon",6),a.k0s()()}2&b&&(a.R7$(),a.Y8G("isOnCard",!0))}function bb(b,me){if(1&b&&(a.j41(0,"h4",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.title)}}let XT=(()=>{class b{constructor(f){this._iconService=f,this.closeIcon="feather/x",this.closeClick=new a.bkB,this._iconService.registerIcons([E])}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["app-action-header-view"]],inputs:{title:"title",closeIcon:"closeIcon"},outputs:{closeClick:"closeClick"},ngContentSelectors:qT,decls:6,vars:2,consts:[[1,"banner","h-16","bg-white","flex","items-center","px-4"],["class","flex-none",4,"ngIf"],[1,"flex-auto","px-2","min-w-0"],["class","m-0 truncate",4,"ngIf"],[1,"flex-none"],["type","ghost","name","Close","aria-label","Close","role","button",3,"handleClick","isOnCard"],["name","x"],[1,"m-0","truncate"]],template:function(k,x){1&k&&(a.NAR(),a.j41(0,"div",0),a.DNE(1,u7,3,1,"div",1),a.j41(2,"div",2),a.DNE(3,bb,2,1,"h4",3),a.k0s(),a.j41(4,"div",4),a.SdG(5),a.k0s()()),2&k&&(a.R7$(),a.Y8G("ngIf",x.closeIcon),a.R7$(2),a.Y8G("ngIf",x.title))},dependencies:[L.bT,xp,jt],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.banner[_ngcontent-%COMP%]{background-color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8) blur(20px);backdrop-filter:saturate(1.8) blur(20px)}"]})}return b})();const Cb=b=>({entityType:"drop",entityId:b});function wb(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",6)(1,"root-button",7),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleRsvpClick())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("logEvent",f.userClickedPreEventCta)("cubeData",a.eq3(8,Cb,null==f.drop?null:f.drop.contentId)),a.R7$(),a.Y8G("block",!0)("loading",f.isLoading)("ariaLabel",f.preLabel)("name",f.preLabel)("text",f.preLabel)("disabled",f.isDisabled)}}function Tb(b,me){if(1&b&&(a.j41(0,"div")(1,"root-button",8),a.nrm(2,"root-icon",9),a.k0s()()),2&b){const f=a.XpG(),k=a.sdS(4);a.R7$(),a.Y8G("block",!0)("loading",f.isLoading)("text",f.preConfirmedLabel)("rootDropdown",k)}}function a8(b,me){if(1&b&&(a.j41(0,"div"),a.nrm(1,"root-button",10),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("block",!0)("loading",f.isLoading)("ariaLabel",f.preLabel)("name",f.preLabel)("text",f.preLabel)("disabled",!0)}}function h7(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",11),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleEnableSMS())}),a.nrm(1,"root-icon",12),a.EFF(2," Turn on texts "),a.k0s()}}function Sb(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",11),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleDisableSMS())}),a.nrm(1,"root-icon",13),a.EFF(2," Turn off texts "),a.k0s()}}function m_(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",11),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleEnableEmail())}),a.nrm(1,"root-icon",14),a.EFF(2," Turn on emails "),a.k0s()}}function kb(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",11),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleDisableEmail())}),a.nrm(1,"root-icon",13),a.EFF(2," Turn off emails "),a.k0s()}}function p7(b,me){1&b&&a.nrm(0,"li",15)}function WT(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",11),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleRemoveRSVP())}),a.nrm(1,"root-icon",16),a.EFF(2," Remove signup "),a.k0s()}}let g_=(()=>{class b{constructor(f,k,x,ye){this._http=f,this._interactions=k,this._iconService=x,this._wrapperClasses=ye,this.isLoading=!1,this.forceDisabled=!1,this.userClickedPreEventCta=n.KqJ.userClickedPreEventCta,this.userClickedPostEventCta=n.KqJ.userClickedPostEventCta,this._iconService.registerIcons([Mc,w1,k0,ou,j2])}get isDisabled(){return this.forceDisabled||this.drop?.rsvpRestrictions&&this.drop?.rsvpRestrictions?.remaining<1||this.drop?.registrationCloseDate&&this.drop?.isPastRegistrationDeadline}handleJoinClick(){const f=this.userContent?.shortLinks?.clickThroughShortLink;f&&this._http.get(`${f}/?redirect=false`).subscribe(k=>console.log(`Joined: ${k}`),k=>console.log(`Joined: ${k}`))}handleRsvpClick(){this._interactions.registerForContent(this.drop,this._wrapperClasses,this.promptResponses)}handleRemoveRSVP(){this._interactions.unregisterForContent(this.drop,this._wrapperClasses)}handleEnableSMS(){this._interactions.toggleSmsForContent(this.drop,!0,this._wrapperClasses)}handleDisableSMS(){this._interactions.toggleSmsForContent(this.drop,!1,this._wrapperClasses)}handleEnableEmail(){this._interactions.toggleEmailForContent(this.drop,!0,this._wrapperClasses)}handleDisableEmail(){this._interactions.toggleEmailForContent(this.drop,!1,this._wrapperClasses)}get preLabel(){return this.drop?.buttonLabels?.pre?this.drop.buttonLabels.pre:this.drop?.tickets?.length>0?"Tickets":"Sign up"}get preConfirmedLabel(){return this.drop?.buttonLabels?.preConfirmed||"You're confirmed"}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(pe.Qq),a.rXU(I1),a.rXU(Xr),a.rXU(es))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-drop-main-button-view"]],inputs:{drop:"drop",userContent:"userContent",isLoading:"isLoading",forceDisabled:"forceDisabled",promptResponses:"promptResponses"},decls:12,vars:9,consts:[["rsvpMenu",""],[3,"logEvent","cubeData",4,"ngIf"],[4,"ngIf"],["rootDropdownMenu",""],["rootDropdownMenuItem","",3,"click",4,"ngIf"],["rootDropdownMenuItemDivider","",4,"ngIf"],[3,"logEvent","cubeData"],["type","primary","size","large",3,"handleClick","block","loading","ariaLabel","name","text","disabled"],["type","primary","size","large","aria-label","Menu","role","button","name","Menu","position","center",3,"block","loading","text","rootDropdown"],["name","chevron_down"],["type","primary","size","large",3,"block","loading","ariaLabel","name","text","disabled"],["rootDropdownMenuItem","",3,"click"],["name","message_circle"],["name","x_circle"],["name","mail"],["rootDropdownMenuItemDivider",""],["name","trash"]],template:function(k,x){1&k&&(a.DNE(0,wb,2,10,"div",1)(1,Tb,3,4,"div",2)(2,a8,2,6,"div",2),a.j41(3,"root-dropdown-menu",null,0)(5,"ul",3),a.DNE(6,h7,3,0,"li",4)(7,Sb,3,0,"li",4)(8,m_,3,0,"li",4)(9,kb,3,0,"li",4)(10,p7,1,0,"li",5)(11,WT,3,0,"li",4),a.k0s()()),2&k&&(a.Y8G("ngIf",(null==x.drop?null:x.drop.published)&&!(null!=x.userContent&&x.userContent.rsvpEnabled)),a.R7$(),a.Y8G("ngIf",(null==x.drop?null:x.drop.published)&&(null==x.userContent?null:x.userContent.rsvpEnabled)),a.R7$(),a.Y8G("ngIf",!(null!=x.drop&&x.drop.published)),a.R7$(4),a.Y8G("ngIf",!(null!=x.userContent&&null!=x.userContent.receiveNotifications&&x.userContent.receiveNotifications.sms)&&(null==x.drop?null:x.drop.hasPhoneRequirement)),a.R7$(),a.Y8G("ngIf",null==x.userContent||null==x.userContent.receiveNotifications?null:x.userContent.receiveNotifications.sms),a.R7$(),a.Y8G("ngIf",!(null!=x.userContent&&null!=x.userContent.receiveNotifications&&x.userContent.receiveNotifications.email)&&(null==x.drop?null:x.drop.hasEmailRequirement)),a.R7$(),a.Y8G("ngIf",null==x.userContent||null==x.userContent.receiveNotifications?null:x.userContent.receiveNotifications.email),a.R7$(),a.Y8G("ngIf",((null==x.drop?null:x.drop.hasEmailRequirement)||(null==x.drop?null:x.drop.hasPhoneRequirement))&&!(null!=x.drop&&x.drop.isPaid)),a.R7$(),a.Y8G("ngIf",!(null!=x.drop&&x.drop.isPaid)))},dependencies:[L.bT,xp,jt,Vd,E6,M6,P5,F5,H3]})}return b})();const f7=(b,me)=>({entityType:b,entityId:me});function v_(b,me){1&b&&a.nrm(0,"root-icon",7)}function Eb(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-button",5),a.bIt("visibleChange",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleVisibleChanged(x))}),a.DNE(1,v_,1,0,"root-icon",6),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(3),x=a.sdS(7);a.Y8G("size",f.size)("disabled",f.isDisabled)("rootDropdown",k)("listener",x.dropdownStateChanged),a.R7$(),a.Y8G("ngIf",f.showIcon)}}function Mb(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-button",8),a.bIt("visibleChange",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handleVisibleChanged(x))}),a.nrm(1,"root-icon",7),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(3),x=a.sdS(7);a.Y8G("isOnCard",!0)("size",f.size)("disabled",f.isDisabled)("rootDropdown",k)("listener",x.dropdownStateChanged)}}function z6(b,me){1&b&&(a.j41(0,"ul",9)(1,"li",10)(2,"div",11),a.nrm(3,"root-icon",12),a.k0s(),a.EFF(4," Loading... "),a.k0s()())}function xb(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",17),a.bIt("click",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.doShare())}),a.nrm(1,"root-icon",7),a.EFF(2," Share... "),a.k0s()}if(2&b){const f=a.XpG(2);a.Y8G("logEvent",f.userTappedShare)("cubeData",a.l_i(2,f7,null!=f.content&&f.content.isEvent?"event":null!=f.content&&f.content.isSignup?"drop":"",null==f.content?null:f.content.contentId))}}function Ib(b,me){if(1&b&&(a.j41(0,"li",18),a.nrm(1,"root-icon",19),a.EFF(2," Copy embed code "),a.nrm(3,"root-icon",20),a.k0s()),2&b){a.XpG(2);const f=a.sdS(7);a.Y8G("rootDropdown",f)}}function Db(b,me){if(1&b){const f=a.RV6();a.j41(0,"ul",9),a.DNE(1,xb,3,5,"li",13),a.j41(2,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.nrm(3,"root-icon",15),a.EFF(4," Copy link "),a.k0s(),a.DNE(5,Ib,4,1,"li",16),a.k0s()}if(2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",f.canUseSystemShare),a.R7$(),a.Y8G("cdkCopyToClipboard",(null==f.userContent||null==f.userContent.shortLinks?null:f.userContent.shortLinks.referralPageShortLink)||(null==f.content?null:f.content.shareUrl)),a.R7$(3),a.Y8G("ngIf",(null==f.content?null:f.content.isEvent)||(null==f.content?null:f.content.isSignup))}}function Ob(b,me){if(1&b){const f=a.RV6();a.j41(0,"ul",9)(1,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(2," Card "),a.k0s(),a.j41(3,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(4," Register button "),a.k0s(),a.j41(5,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(6," Share button "),a.k0s()()}if(2&b){const f=a.XpG();a.R7$(),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.eventCardVariant)),a.R7$(2),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.eventMainVariant)),a.R7$(2),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.eventShareVariant))}}function zb(b,me){if(1&b){const f=a.RV6();a.j41(0,"ul",9)(1,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(2," Card "),a.k0s(),a.j41(3,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(4," Register button "),a.k0s(),a.j41(5,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(6," Share button "),a.k0s(),a.j41(7,"li",14),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleCopy())}),a.EFF(8," Scroll-triggered popup "),a.k0s()()}if(2&b){const f=a.XpG();a.R7$(),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.dropCardVariant)),a.R7$(2),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.dropMainVariant)),a.R7$(2),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.dropShareVariant)),a.R7$(2),a.Y8G("cdkCopyToClipboard",f.embedStringForType(f.dropScrollVariant))}}let Hm=(()=>{class b{onClick(f){f.preventDefault()}constructor(f,k,x,ye){this._share=f,this._message=k,this._iconService=x,this._wrapperClass=ye,this.menuStateChanged=new a.bkB,this.isLoading=!1,this.isDisabled=!1,this.showText=!1,this.showIcon=!0,this.size="default",this.type="text",this.canUseSystemShare=!1,this.userTappedShare=n.KqJ.userTappedShare,this.eventType=n.hfw.event.type,this.eventCardVariant=n.hfw.event.variants.card,this.eventMainVariant=n.hfw.event.variants.main,this.eventShareVariant=n.hfw.event.variants.share,this.dropType=n.hfw.drop.type,this.dropCardVariant=n.hfw.drop.variants.card,this.dropMainVariant=n.hfw.drop.variants.main,this.dropShareVariant=n.hfw.drop.variants.share,this.dropScrollVariant=n.hfw.drop.variants.scroll,this._iconService.registerIcons([_p,Mh,qf,Iu,Lf])}ngOnInit(){this.canUseSystemShare=this._share.canShare}doShare(){this._share.openContentShareSheet(this.content,this.userContent)}handleCopy(){this._message.show({text:"Copied",type:ud.SUCCESS},this._wrapperClass)}handleVisibleChanged(f){this.menuStateChanged.emit(f)}embedStringForType(f){return this._share.embedStringForType(f,this.content)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ja),a.rXU(sr),a.rXU(Xr),a.rXU(hs))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-event-drop-share-button-view"]],hostBindings:function(k,x){1&k&&a.bIt("click",function(kt){return x.onClick(kt)})},inputs:{content:"content",userContent:"userContent",isLoading:"isLoading",isDisabled:"isDisabled",showText:"showText",showIcon:"showIcon",size:"size",type:"type"},outputs:{menuStateChanged:"menuStateChanged"},decls:10,vars:6,consts:[["shareMenu",""],["subMenu",""],["type","secondary","aria-label","Share","role","button","name","share","class","share-button card-text-color","position","center","text","Share",3,"size","disabled","rootDropdown","listener","visibleChange",4,"ngIf"],["type","ghost","aria-label","Share","role","button","name","share","class","share-button card-text-color","position","center",3,"isOnCard","size","disabled","rootDropdown","listener","visibleChange",4,"ngIf"],["rootDropdownMenu","",4,"ngIf"],["type","secondary","aria-label","Share","role","button","name","share","position","center","text","Share",1,"share-button","card-text-color",3,"visibleChange","size","disabled","rootDropdown","listener"],["name","share",4,"ngIf"],["name","share"],["type","ghost","aria-label","Share","role","button","name","share","position","center",1,"share-button","card-text-color",3,"visibleChange","isOnCard","size","disabled","rootDropdown","listener"],["rootDropdownMenu",""],["rootDropdownMenuItem",""],[1,"animate-spin"],["name","loader"],["rootDropdownMenuItem","",3,"logEvent","cubeData","click",4,"ngIf"],["rootDropdownMenuItem","",3,"click","cdkCopyToClipboard"],["name","link"],["rootDropdownMenuItem","","position","right","isSubmenuHost","true",3,"rootDropdown",4,"ngIf"],["rootDropdownMenuItem","",3,"click","logEvent","cubeData"],["rootDropdownMenuItem","","position","right","isSubmenuHost","true",3,"rootDropdown"],["name","code"],["name","chevron_right"]],template:function(k,x){1&k&&(a.DNE(0,Eb,2,5,"root-button",2)(1,Mb,2,5,"root-button",3),a.j41(2,"root-dropdown-menu",null,0),a.DNE(4,z6,5,0,"ul",4)(5,Db,6,3,"ul",4),a.k0s(),a.j41(6,"root-submenu",null,1),a.DNE(8,Ob,7,3,"ul",4)(9,zb,9,4,"ul",4),a.k0s()),2&k&&(a.Y8G("ngIf",(null==x.content?null:x.content.published)&&x.showText),a.R7$(),a.Y8G("ngIf",(null==x.content?null:x.content.published)&&!x.showText),a.R7$(3),a.Y8G("ngIf",x.isLoading),a.R7$(),a.Y8G("ngIf",!x.isLoading),a.R7$(3),a.Y8G("ngIf",null==x.content?null:x.content.isEvent),a.R7$(),a.Y8G("ngIf",null==x.content?null:x.content.isSignup))},dependencies:[L.bT,qr.dF,xp,jt,Vd,Uv,E6,M6,P5,H3]})}return b})();function Nb(b,me){if(1&b&&a.nrm(0,"norby-input",10),2&b){const f=a.XpG().index,k=a.XpG();a.Y8G("formControlName",f)("isDisabled",k.isDisabled)}}function m7(b,me){if(1&b&&(a.j41(0,"option",13),a.EFF(1),a.k0s()),2&b){const f=me.$implicit;a.Y8G("ngValue",null==f?null:f.value),a.R7$(),a.SpI(" ",null==f?null:f.value," ")}}function g7(b,me){if(1&b&&(a.j41(0,"norby-select",11),a.DNE(1,m7,2,2,"option",12),a.nI1(2,"keyvalue"),a.k0s()),2&b){const f=a.XpG(),k=f.$implicit,x=f.index,ye=a.XpG();a.Y8G("formControlName",x)("isDisabled",ye.isDisabled),a.R7$(),a.Y8G("ngForOf",a.bMT(2,3,null==k?null:k.options))}}function Ab(b,me){if(1&b&&(a.j41(0,"div")(1,"label",16),a.EFF(2),a.k0s()()),2&b){const f=me.$implicit,k=a.XpG(2).index,x=a.XpG();a.R7$(),a.Y8G("value",f)("checked",x.isChecked(k,f))("disabled",x.isDisabled),a.R7$(),a.JRh(f)}}function KT(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-checkbox-wrapper",14),a.bIt("onHandleChange",function(x){a.eBV(f);const ye=a.XpG().index,kt=a.XpG();return a.Njj(kt.handleDidCheckCheckbox(x,ye))}),a.DNE(1,Ab,3,4,"div",15),a.k0s()}if(2&b){const f=a.XpG().$implicit;a.R7$(),a.Y8G("ngForOf",null==f?null:f.options)}}function v7(b,me){if(1&b&&a.nrm(0,"norby-date-input",17),2&b){const f=a.XpG().index;a.Y8G("formControlName",f)}}function _7(b,me){if(1&b&&(a.j41(0,"div",4)(1,"label",5),a.EFF(2),a.k0s(),a.DNE(3,Nb,1,2,"norby-input",6)(4,g7,3,5,"norby-select",7)(5,KT,2,1,"root-checkbox-wrapper",8)(6,v7,1,1,"norby-date-input",9),a.k0s()),2&b){const f=me.$implicit;a.R7$(2),a.Lme(" ",null!=f&&f.required?"*":"","",null==f?null:f.prompt," "),a.R7$(),a.Y8G("ngIf",!(null!=f&&f.type)||"text"==(null==f?null:f.type)),a.R7$(),a.Y8G("ngIf","select"==(null==f?null:f.type)),a.R7$(),a.Y8G("ngIf","checkbox"==(null==f?null:f.type)),a.R7$(),a.Y8G("ngIf","datePicker"==(null==f?null:f.type))}}let _f=(()=>{class b extends Sa{constructor(f){super(),this._formBuilder=f,this._initFormNotifier$=new se.B,this.promptResponses=[],this.isDisabled=!1,this.isLoading=!1,this.onPromptResponseChanges=new a.bkB}ngOnChanges(f){super.ngOnChanges(f),f.prompts&&this._initForm(),f.promptResponses&&this.isDisabled&&this._updateFormValues()}ngOnDestroy(){super.ngOnDestroy(),this._initFormNotifier$.next(),this._initFormNotifier$.complete()}_updateFormValues(){this.formGroup.patchValue(this.promptResponses?.reduce((f,k,x)=>({...f,[x]:k?.response}),{}))}_initForm(){this._initFormNotifier$.next(),this.formGroup=this._formBuilder.group(this.prompts?.reduce((f,k,x)=>({...f,[x]:["",k?.required?K.k0.required:[]]}),{})??{}),this.formGroup.valueChanges.pipe((0,ft.Z)({}),(0,ze.Q)(this._initFormNotifier$)).subscribe(f=>{const k=this.prompts??[],x=Object.values(f),ye=k.map((kt,zn)=>({prompt:kt?.prompt,response:x?.[zn]??""}));this.onPromptResponseChanges.emit({promptResponses:ye,valid:this.formGroup.valid,touched:this.formGroup.touched})})}handleDidCheckCheckbox(f,k){this.formGroup?.get(`${k}`)?.setValue(f.join(", "))}isChecked(f,k){const x=this.formGroup.get(f.toString())?.value;return Array.isArray(x)?x.includes(k):"string"==typeof x&&x.split(", ").includes(k)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.ze))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-drop-form-prompts-view"]],inputs:{prompts:"prompts",promptResponses:"promptResponses",isDisabled:"isDisabled",isLoading:"isLoading"},outputs:{onPromptResponseChanges:"onPromptResponseChanges"},features:[a.Vt3,a.OA$],decls:4,vars:3,consts:[[3,"spinning"],[1,"steps-content"],[3,"formGroup"],["rootFormItem","",4,"ngFor","ngForOf"],["rootFormItem",""],["attr.for","i",1,"form-label","inline-block","pb-2","text-xs"],["class","prompt-input","placeholder","Your answer...",3,"formControlName","isDisabled",4,"ngIf"],["prompt","Select an option",3,"formControlName","isDisabled",4,"ngIf"],[3,"onHandleChange",4,"ngIf"],[3,"formControlName",4,"ngIf"],["placeholder","Your answer...",1,"prompt-input",3,"formControlName","isDisabled"],["prompt","Select an option",3,"formControlName","isDisabled"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"onHandleChange"],[4,"ngFor","ngForOf"],["root-checkbox","",3,"value","checked","disabled"],[3,"formControlName"]],template:function(k,x){1&k&&(a.j41(0,"root-spin",0)(1,"div",1)(2,"form",2),a.DNE(3,_7,7,6,"div",3),a.k0s()()()),2&k&&(a.Y8G("spinning",x.isLoading),a.R7$(2),a.Y8G("formGroup",x.formGroup),a.R7$(),a.Y8G("ngForOf",x.prompts))},dependencies:[L.Sq,L.bT,K.qT,K.xH,K.y7,K.BC,K.cb,K.j4,K.JD,N1,Cp,Ph,df,Br,Ua,A0,L.lG]})}return b})();const y7=()=>({padding:"0px"}),Rb=()=>({rows:2,width:150});function QT(b,me){if(1&b&&a.nrm(0,"lib-soft-image-view",7),2&b){const f=a.XpG();a.Y8G("imageUrl",null==f.drop||null==f.drop.image?null:f.drop.image.url)("image",null==f.drop?null:f.drop.image)("imgixImage",null==f.drop?null:f.drop.imgixImage)("alt",f.title)}}function __(b,me){1&b&&(a.j41(0,"div",8),a.nrm(1,"root-skeleton",9),a.k0s()),2&b&&(a.R7$(),a.Y8G("title",!1)("paragraph",a.lJ4(2,Rb)))}function y_(b,me){1&b&&(a.j41(0,"root-tag",15),a.nrm(1,"root-icon",16),a.j41(2,"span"),a.EFF(3,"Signups are closed"),a.k0s()())}function Pb(b,me){if(1&b&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.R7$(),a.Lme(" ",f.dateTimePrompt," ",f.registrationCloseTime,"")}}function b7(b,me){if(1&b&&(a.j41(0,"span",19),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.FS9("rootTooltip","at "+f.registrationCloseTime),a.R7$(),a.Lme(" ",f.dateTimePrompt," ",f.registrationCloseDate," ")}}function b_(b,me){if(1&b&&(a.j41(0,"root-tag",15),a.nrm(1,"root-icon",17),a.DNE(2,Pb,2,2,"span",10)(3,b7,2,3,"span",18),a.k0s()),2&b){const f=a.XpG(3);a.R7$(2),a.Y8G("ngIf",f.isCurrentDate(f.registrationCloseDate)),a.R7$(),a.Y8G("ngIf",!f.isCurrentDate(f.registrationCloseDate))}}function Fb(b,me){if(1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",20),a.j41(2,"span"),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(3);a.R7$(3),a.SpI("",null==f.drop||null==f.drop.rsvpRestrictions?null:f.drop.rsvpRestrictions.remaining," left")}}function JT(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,y_,4,0,"root-tag",14)(2,b_,4,2,"root-tag",14)(3,Fb,4,1,"root-tag",10),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.isFull)||(null==f.drop?null:f.drop.isPastRegistrationDeadline)),a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.registrationCloseDate)&&!(null!=f.drop&&f.drop.isPastRegistrationDeadline)&&!(null!=f.drop&&f.drop.isFull)),a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.hasCapacity)&&(null==f.drop||null==f.drop.rsvpRestrictions?null:f.drop.rsvpRestrictions.displayLimit))}}function N6(b,me){if(1&b&&(a.j41(0,"h4",21),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",null==f.drop?null:f.drop.subtitle," ")}}function Lb(b,me){if(1&b&&(a.j41(0,"div",22),a.nrm(1,"root-alert",23),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("message",f.priceStr)}}function Vb(b,me){if(1&b&&(a.j41(0,"div",8),a.DNE(1,JT,4,3,"div",10),a.j41(2,"h3",11),a.EFF(3),a.k0s(),a.DNE(4,N6,2,1,"h4",12)(5,Lb,2,1,"div",13),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.isFull)||(null==f.drop?null:f.drop.hasCapacity)&&(null==f.drop||null==f.drop.rsvpRestrictions?null:f.drop.rsvpRestrictions.displayLimit)||(null==f.drop?null:f.drop.registrationCloseDate)),a.R7$(2),a.SpI(" ",f.title," "),a.R7$(),a.Y8G("ngIf",null==f.drop?null:f.drop.subtitle),a.R7$(),a.Y8G("ngIf",f.priceStr)}}function C_(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",8)(1,"lib-drop-form-prompts-view",24),a.bIt("onPromptResponseChanges",function(x){a.eBV(f);const ye=a.XpG();return a.Njj(ye.handlePromptResponseChanges(x))}),a.k0s()()}if(2&b){const f=a.XpG();a.R7$(),a.Y8G("isLoading",f.isLoadingUserContent)("prompts",null==f.drop?null:f.drop.prompts)("promptResponses",null==f.userContent?null:f.userContent.promptResponses)("isDisabled",null==f.userContent?null:f.userContent.rsvpEnabled)}}function ZT(b,me){if(1&b&&(a.j41(0,"div",25)(1,"div",26),a.nrm(2,"lib-drop-main-button-view",27),a.k0s(),a.nrm(3,"lib-event-drop-share-button-view",28),a.k0s()),2&b){const f=a.XpG();a.R7$(2),a.Y8G("drop",f.drop)("userContent",f.userContent)("promptResponses",f.stagedPromptResponses)("isLoading",f.isLoadingUserContent)("forceDisabled",f.isDisabled||f.isFormInvalid),a.R7$(),a.Y8G("content",f.drop)("userContent",f.userContent)("isDisabled",f.isDisabled)}}function $0(b,me){1&b&&a.nrm(0,"root-skeleton",29),2&b&&a.Y8G("paragraph",!1)}let A6=(()=>{class b{constructor(f,k){this._device=f,this._iconService=k,this.cardClick=new a.bkB,this.isLoadingDrop=!1,this.isLoadingUserContent=!1,this.isDisabled=!1,this.isFormInvalid=!1,this._iconService.registerIcons([Xf,lp,Au])}ngOnChanges(){this.registrationCloseDate=this.drop?.registrationCloseDate?$(this.drop.registrationCloseDate).format("MMM DD, YYYY"):null,this.registrationCloseTime=this.drop?.registrationCloseDate?$(this.drop.registrationCloseDate).format("h:mm A"):null}isCurrentDate(f){return f===$().format("MMM DD, YYYY")}get dateTimePrompt(){return this.drop?.tickets?.length>0?"Purchase by":"Sign up by"}handleClick(f){this.isDisabled?f.preventDefault():this.cardClick.next({content:this.drop,event:f})}handlePromptResponseChanges(f){this.stagedPromptResponses=f?.promptResponses,this.isFormInvalid=!f?.valid}get title(){return this.overrideTitle||this.drop?.title}get signupType(){return this.drop?this.overrideSignupType||this.drop.signupType||"flow":null}get priceStr(){return this.drop?.tickets?.length>0?"From $"+this.drop.tickets[0].price/100:null}get href(){return`https://${this._device.currentSiteRootURL}/signup/${this.drop?.contentId}`}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ql),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-drop-card-view"]],inputs:{drop:"drop",userContent:"userContent",isLoadingDrop:"isLoadingDrop",isLoadingUserContent:"isLoadingUserContent",isDisabled:"isDisabled",overrideTitle:"overrideTitle",overrideSignupType:"overrideSignupType"},outputs:{cardClick:"cardClick"},features:[a.OA$],decls:9,vars:11,consts:[[3,"bodyStyle"],["target","_blank","rel","noreferrer",1,"group",3,"click","href"],[3,"imageUrl","image","imgixImage","alt",4,"ngIf"],["class","p-4 [&>*]:mb-3 [&>*:last-child]:mb-0",4,"ngIf"],[1,"p-0","px-4","pb-4"],["class","flex items-center",4,"ngIf"],[3,"paragraph",4,"ngIf"],[3,"imageUrl","image","imgixImage","alt"],[1,"p-4","[&>*]:mb-3","[&>*:last-child]:mb-0"],[3,"title","paragraph"],[4,"ngIf"],[1,"group-hover:underline","card-text-color"],["class","subtitle card-text-color",4,"ngIf"],["class","price card-text-color",4,"ngIf"],["class","mr-3",4,"ngIf"],[1,"mr-3"],["size","small","name","lock"],["size","small","name","calendar"],[3,"rootTooltip",4,"ngIf"],[3,"rootTooltip"],["size","small","name","unlock"],[1,"subtitle","card-text-color"],[1,"price","card-text-color"],[3,"message"],[3,"onPromptResponseChanges","isLoading","prompts","promptResponses","isDisabled"],[1,"flex","items-center"],[1,"flex-auto","mr-3"],[3,"drop","userContent","promptResponses","isLoading","forceDisabled"],[3,"content","userContent","isDisabled"],[3,"paragraph"]],template:function(k,x){1&k&&(a.j41(0,"root-card",0)(1,"a",1),a.bIt("click",function(kt){return x.handleClick(kt)}),a.DNE(2,QT,1,4,"lib-soft-image-view",2)(3,__,2,3,"div",3)(4,Vb,6,4,"div",3),a.k0s(),a.DNE(5,C_,2,4,"div",3),a.j41(6,"div",4),a.DNE(7,ZT,4,8,"div",5)(8,$0,1,1,"root-skeleton",6),a.k0s()()),2&k&&(a.Y8G("bodyStyle",a.lJ4(10,y7)),a.R7$(),a.AVh("cursor-pointer",x.drop),a.Y8G("href",x.href,a.B4B),a.R7$(),a.Y8G("ngIf",!x.drop||(null==x.drop||null==x.drop.image?null:x.drop.image.url)),a.R7$(),a.Y8G("ngIf",!x.drop),a.R7$(),a.Y8G("ngIf",x.drop),a.R7$(),a.Y8G("ngIf","form"===x.signupType),a.R7$(2),a.Y8G("ngIf",null==x.drop?null:x.drop.published),a.R7$(),a.Y8G("ngIf",!(null!=x.drop&&x.drop.published)))},dependencies:[L.bT,g_,Hm,pc,L3,jt,$h,mf,Lh,_f,lc]})}return b})();const kl=b=>({entityType:"event",entityId:b});function Ym(b,me){if(1&b){const f=a.RV6();a.j41(0,"a",7)(1,"root-button",8),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.handleJoinClick())}),a.k0s()()}if(2&b){const f=a.XpG(2);a.Y8G("href",f.userEvent.urls.clickThroughRaw,a.B4B),a.R7$(),a.Y8G("block",!0)("ariaLabel",f.midLabel)("name",f.midLabel)("loading",f.isLoading)("text",f.midLabel)}}function R6(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",9)(1,"root-button",10),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.handleRsvpClick())}),a.k0s()()}if(2&b){const f=a.XpG(2);a.Y8G("logEvent",f.userClickedPreEventCta)("cubeData",a.eq3(8,kl,null==f.event?null:f.event.contentId)),a.R7$(),a.Y8G("block",!0)("ariaLabel",f.midLabel)("name",f.midLabel)("loading",f.isLoading)("disabled",f.isDisabled)("text",f.midLabel)}}function Gh(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,Ym,2,6,"a",6)(2,R6,2,10,"div",2),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",(null==f.userEvent?null:f.userEvent.rsvpEnabled)&&(null==f.userEvent||null==f.userEvent.urls?null:f.userEvent.urls.clickThroughRaw)),a.R7$(),a.Y8G("ngIf",!(null!=f.userEvent&&f.userEvent.rsvpEnabled))}}function S4(b,me){if(1&b&&(a.j41(0,"div",9)(1,"a",7),a.nrm(2,"root-button",11),a.k0s()()),2&b){const f=a.XpG();a.Y8G("logEvent",f.userClickedPostEventCta)("cubeData",a.eq3(8,kl,null==f.event?null:f.event.contentId)),a.R7$(),a.Y8G("href",null==f.userEvent||null==f.userEvent.urls?null:f.userEvent.urls.recapRaw,a.B4B),a.R7$(),a.Y8G("block",!0)("ariaLabel",f.postLabel)("name",f.postLabel)("loading",f.isLoading)("text",f.postLabel)}}function eS(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",9)(1,"root-button",10),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleRsvpClick())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("logEvent",f.userClickedPreEventCta)("cubeData",a.eq3(8,kl,null==f.event?null:f.event.contentId)),a.R7$(),a.Y8G("block",!0)("ariaLabel",f.preLabel)("name",f.preLabel)("loading",f.isLoading)("disabled",f.isDisabled)("text",f.preLabel)}}function P6(b,me){if(1&b&&(a.j41(0,"div"),a.nrm(1,"root-button",12),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("block",!0)("ariaLabel",f.preLabel)("name",f.preLabel)("loading",f.isLoading)("disabled",!0)("text",f.preLabel)}}function w_(b,me){if(1&b&&(a.j41(0,"div")(1,"root-button",13),a.nrm(2,"root-icon",14),a.k0s()()),2&b){const f=a.XpG(),k=a.sdS(6);a.R7$(),a.Y8G("block",!0)("loading",f.isLoading)("text",f.preConfirmedLabel)("rootDropdown",k)}}function Bb(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",15),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleEnableSMS())}),a.nrm(1,"root-icon",16),a.EFF(2," Turn on texts "),a.k0s()}}function C7(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",15),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleDisableSMS())}),a.nrm(1,"root-icon",17),a.EFF(2," Turn off texts "),a.k0s()}}function $b(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",15),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleEnableEmail())}),a.nrm(1,"root-icon",18),a.EFF(2," Turn on emails "),a.k0s()}}function Ub(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",15),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleDisableEmail())}),a.nrm(1,"root-icon",17),a.EFF(2," Turn off emails "),a.k0s()}}function gc(b,me){1&b&&a.nrm(0,"li",19)}function w7(b,me){if(1&b){const f=a.RV6();a.j41(0,"li",15),a.bIt("click",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleRemoveRSVP())}),a.nrm(1,"root-icon",20),a.EFF(2," Remove registration "),a.k0s()}}let T_=(()=>{class b{constructor(f,k,x,ye){this._http=f,this._interactions=k,this._iconService=x,this._wrapperClasses=ye,this.isLoading=!1,this.forceDisabled=!1,this.userClickedPreEventCta=n.KqJ.userClickedPreEventCta,this.userClickedPostEventCta=n.KqJ.userClickedPostEventCta,this._iconService.registerIcons([Mc,w1,k0,ou,j2])}get isDisabled(){return this.forceDisabled||this.event?.rsvpRestrictions&&this.event?.rsvpRestrictions?.remaining<1||this.event?.registrationCloseDate&&this.event?.isPastRegistrationDeadline}handleJoinClick(){const f=this.userEvent?.shortLinks?.clickThroughShortLink;f&&this._http.get(`${f}/?redirect=false`).subscribe(k=>console.log(`Joined: ${k}`),k=>console.log(`Joined: ${k}`))}handleRsvpClick(){this._interactions.registerForContent(this.event,this._wrapperClasses)}handleRemoveRSVP(){this._interactions.unregisterForContent(this.event,this._wrapperClasses)}handleEnableSMS(){this._interactions.toggleSmsForContent(this.event,!0,this._wrapperClasses)}handleDisableSMS(){this._interactions.toggleSmsForContent(this.event,!1,this._wrapperClasses)}handleEnableEmail(){this._interactions.toggleEmailForContent(this.event,!0,this._wrapperClasses)}handleDisableEmail(){this._interactions.toggleEmailForContent(this.event,!1,this._wrapperClasses)}get preLabel(){return this.event?.buttonLabels?.pre?this.event.buttonLabels.pre:this.event?.tickets?.length>0?"Tickets":"RSVP"}get preConfirmedLabel(){return this.event?.buttonLabels?.preConfirmed||"You're confirmed"}get midLabel(){return this.event?.buttonLabels?.mid||"Join"}get postLabel(){return this.event?.buttonLabels?.post||"Recap"}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(pe.Qq),a.rXU(I1),a.rXU(Xr),a.rXU(es,8))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-event-main-button-view"]],inputs:{event:"event",userEvent:"userEvent",isLoading:"isLoading",forceDisabled:"forceDisabled"},decls:14,vars:11,consts:[["rsvpMenu",""],[4,"ngIf"],[3,"logEvent","cubeData",4,"ngIf"],["rootDropdownMenu",""],["rootDropdownMenuItem","",3,"click",4,"ngIf"],["rootDropdownMenuItemDivider","",4,"ngIf"],["target","_blank","rel","noreferrer",3,"href",4,"ngIf"],["target","_blank","rel","noreferrer",3,"href"],["type","primary","size","large",3,"handleClick","block","ariaLabel","name","loading","text"],[3,"logEvent","cubeData"],["type","primary","size","large",3,"handleClick","block","ariaLabel","name","loading","disabled","text"],["type","primary","size","large",3,"block","ariaLabel","name","loading","text"],["type","primary","size","large",3,"block","ariaLabel","name","loading","disabled","text"],["type","primary","size","large","aria-label","Menu","role","button","name","Menu",3,"block","loading","text","rootDropdown"],["name","chevron_down"],["rootDropdownMenuItem","",3,"click"],["name","message_circle"],["name","x_circle"],["name","mail"],["rootDropdownMenuItemDivider",""],["name","trash"]],template:function(k,x){1&k&&(a.DNE(0,Gh,3,2,"div",1)(1,S4,3,10,"div",2)(2,eS,2,10,"div",2)(3,P6,2,6,"div",1)(4,w_,3,4,"div",1),a.j41(5,"root-dropdown-menu",null,0)(7,"ul",3),a.DNE(8,Bb,3,0,"li",4)(9,C7,3,0,"li",4)(10,$b,3,0,"li",4)(11,Ub,3,0,"li",4)(12,gc,1,0,"li",5)(13,w7,3,0,"li",4),a.k0s()()),2&k&&(a.Y8G("ngIf",(null==x.event?null:x.event.published)&&(null==x.event?null:x.event.isHappening)&&!(null!=x.event&&x.event.isCanceled)),a.R7$(),a.Y8G("ngIf",(null==x.event?null:x.event.published)&&(null==x.event?null:x.event.isOver)&&(null==x.userEvent||null==x.userEvent.urls?null:x.userEvent.urls.recapRaw)&&!(null!=x.event&&x.event.isCanceled)),a.R7$(),a.Y8G("ngIf",(null==x.event?null:x.event.published)&&(null==x.event?null:x.event.isFuture)&&!(null!=x.userEvent&&x.userEvent.rsvpEnabled)&&!(null!=x.event&&x.event.isCanceled)),a.R7$(),a.Y8G("ngIf",!(null!=x.event&&x.event.published)),a.R7$(),a.Y8G("ngIf",(null==x.event?null:x.event.published)&&(null==x.event?null:x.event.isFuture)&&(null==x.userEvent?null:x.userEvent.rsvpEnabled)&&!(null!=x.event&&x.event.isCanceled)),a.R7$(4),a.Y8G("ngIf",!(null!=x.userEvent&&null!=x.userEvent.receiveNotifications&&x.userEvent.receiveNotifications.sms)&&(null==x.event?null:x.event.hasPhoneRequirement)),a.R7$(),a.Y8G("ngIf",null==x.userEvent||null==x.userEvent.receiveNotifications?null:x.userEvent.receiveNotifications.sms),a.R7$(),a.Y8G("ngIf",!(null!=x.userEvent&&null!=x.userEvent.receiveNotifications&&x.userEvent.receiveNotifications.email)&&(null==x.event?null:x.event.hasEmailRequirement)),a.R7$(),a.Y8G("ngIf",null==x.userEvent||null==x.userEvent.receiveNotifications?null:x.userEvent.receiveNotifications.email),a.R7$(),a.Y8G("ngIf",((null==x.event?null:x.event.hasEmailRequirement)||(null==x.event?null:x.event.hasPhoneRequirement))&&!(null!=x.event&&x.event.isPaid)),a.R7$(),a.Y8G("ngIf",!(null!=x.event&&x.event.isPaid)))},dependencies:[L.bT,xp,jt,Vd,E6,M6,P5,F5,H3]})}return b})();const Jl=()=>({padding:"0px"}),l8=()=>({rows:2,width:150});function k4(b,me){if(1&b&&a.nrm(0,"lib-soft-image-view",7),2&b){const f=a.XpG();a.Y8G("imageUrl",null==f.event||null==f.event.image?null:f.event.image.url)("image",null==f.event?null:f.event.image)("imgixImage",null==f.event?null:f.event.imgixImage)("alt",f.title)}}function S_(b,me){1&b&&(a.j41(0,"div",8),a.nrm(1,"root-skeleton",9),a.k0s()),2&b&&(a.R7$(),a.Y8G("title",!1)("paragraph",a.lJ4(2,l8)))}function c8(b,me){1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",17),a.j41(2,"span"),a.EFF(3,"Registration is closed"),a.k0s()())}function F6(b,me){if(1&b&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.R7$(),a.SpI(" Register by ",f.registrationCloseTime,"")}}function T7(b,me){if(1&b&&(a.j41(0,"span",20),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.FS9("rootTooltip","at "+f.registrationCloseTime),a.R7$(),a.SpI(" Register by ",f.registrationCloseDate," ")}}function S7(b,me){if(1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",18),a.DNE(2,F6,2,1,"span",10)(3,T7,2,2,"span",19),a.k0s()),2&b){const f=a.XpG(3);a.R7$(2),a.Y8G("ngIf",f.isCurrentDate(f.registrationCloseDate)),a.R7$(),a.Y8G("ngIf",!f.isCurrentDate(f.registrationCloseDate))}}function k7(b,me){if(1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",21),a.j41(2,"span"),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(3);a.R7$(3),a.SpI("",null==f.event||null==f.event.rsvpRestrictions?null:f.event.rsvpRestrictions.remaining," left")}}function k_(b,me){1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",22),a.j41(2,"span"),a.EFF(3,"Canceled"),a.k0s()())}function E_(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,c8,4,0,"root-tag",15)(2,S7,4,2,"root-tag",15)(3,k7,4,1,"root-tag",10)(4,k_,4,0,"root-tag",10),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.isFull)||(null==f.event?null:f.event.isPastRegistrationDeadline)),a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.registrationCloseDate)&&!(null!=f.event&&f.event.isPastRegistrationDeadline)&&!(null!=f.event&&f.event.isFull)),a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.hasCapacity)&&(null==f.event||null==f.event.rsvpRestrictions?null:f.event.rsvpRestrictions.displayLimit)),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.isCanceled)}}function E7(b,me){if(1&b&&(a.j41(0,"h3",23),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.title," ")}}function tS(b,me){if(1&b&&(a.j41(0,"h4",24),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",null==f.event?null:f.event.subtitle," ")}}function E4(b,me){if(1&b&&(a.j41(0,"p",25),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.event.summary," ")}}function M7(b,me){if(1&b&&(a.j41(0,"div",26),a.nrm(1,"root-alert",27),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("message",f.priceStr)}}function d8(b,me){if(1&b&&(a.j41(0,"div",8),a.DNE(1,E_,5,4,"div",10)(2,E7,2,1,"h3",11)(3,tS,2,1,"h4",12)(4,E4,2,1,"p",13)(5,M7,2,1,"div",14),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.isFull)||(null==f.event?null:f.event.hasCapacity)&&(null==f.event||null==f.event.rsvpRestrictions?null:f.event.rsvpRestrictions.displayLimit)||(null==f.event?null:f.event.isCanceled)||(null==f.event?null:f.event.registrationCloseDate)),a.R7$(),a.Y8G("ngIf",f.title),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.subtitle),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.summary),a.R7$(),a.Y8G("ngIf",f.priceStr)}}function Gb(b,me){if(1&b&&(a.j41(0,"div",28)(1,"div",29),a.nrm(2,"lib-event-main-button-view",30),a.k0s(),a.nrm(3,"lib-event-drop-share-button-view",31),a.k0s()),2&b){const f=a.XpG();a.R7$(2),a.Y8G("event",f.event)("userEvent",f.userEvent)("isLoading",f.isLoadingUserContent)("forceDisabled",f.isDisabled),a.R7$(),a.Y8G("content",f.event)("userContent",f.userEvent)("isDisabled",f.isDisabled)}}function x7(b,me){1&b&&a.nrm(0,"root-skeleton",32),2&b&&a.Y8G("paragraph",!1)}let L6=(()=>{class b{constructor(f,k){this._device=f,this._iconService=k,this.cardClick=new a.bkB,this.isLoadingEvent=!1,this.isLoadingUserContent=!1,this.isDisabled=!1,this._iconService.registerIcons([Xf,lp,Au,k0])}ngOnChanges(){this.registrationCloseDate=this.event?.registrationCloseDate?$(this.event.registrationCloseDate).format("MMM DD, YYYY"):null,this.registrationCloseTime=this.event?.registrationCloseDate?$(this.event?.registrationCloseDate).format("h:mm A"):null}isCurrentDate(f){return f===$().format("MMM DD, YYYY")}handleClick(f){this.isDisabled?f.preventDefault():this.cardClick.next({content:this.event,event:f})}get title(){return this.overrideTitle||this.event?.title}get priceStr(){return this.event?.tickets?.length>0?"From $"+this.event.tickets[0].price/100:null}get href(){return`https://${this._device.currentSiteRootURL}/event/${this.event?.contentId}`}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ql),a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-event-card-view"]],inputs:{event:"event",userEvent:"userEvent",isLoadingEvent:"isLoadingEvent",isLoadingUserContent:"isLoadingUserContent",isDisabled:"isDisabled",overrideTitle:"overrideTitle"},outputs:{cardClick:"cardClick"},features:[a.OA$],decls:8,vars:10,consts:[[3,"bodyStyle"],["target","_blank","rel","noreferrer",1,"group",3,"click","href"],[3,"imageUrl","image","imgixImage","alt",4,"ngIf"],["class","p-4 [&>*]:mb-3 [&>*:last-child]:mb-0",4,"ngIf"],[1,"p-0","px-4","pb-4"],["class","flex items-center",4,"ngIf"],[3,"paragraph",4,"ngIf"],[3,"imageUrl","image","imgixImage","alt"],[1,"p-4","[&>*]:mb-3","[&>*:last-child]:mb-0"],[1,"",3,"title","paragraph"],[4,"ngIf"],["class","group-hover:underline card-text-color",4,"ngIf"],["class","subtitle card-text-color",4,"ngIf"],["class","card-text-color",4,"ngIf"],["class","price card-text-color",4,"ngIf"],["class","mr-3",4,"ngIf"],[1,"mr-3"],["size","small","name","lock"],["size","small","name","calendar"],[3,"rootTooltip",4,"ngIf"],[3,"rootTooltip"],["size","small","name","unlock"],["size","small","name","x_circle"],[1,"group-hover:underline","card-text-color"],[1,"subtitle","card-text-color"],[1,"card-text-color"],[1,"price","card-text-color"],[3,"message"],[1,"flex","items-center"],[1,"flex-auto","mr-3"],[3,"event","userEvent","isLoading","forceDisabled"],[3,"content","userContent","isDisabled"],[3,"paragraph"]],template:function(k,x){1&k&&(a.j41(0,"root-card",0)(1,"a",1),a.bIt("click",function(kt){return x.handleClick(kt)}),a.DNE(2,k4,1,4,"lib-soft-image-view",2)(3,S_,2,3,"div",3)(4,d8,6,5,"div",3),a.k0s(),a.j41(5,"div",4),a.DNE(6,Gb,4,7,"div",5)(7,x7,1,1,"root-skeleton",6),a.k0s()()),2&k&&(a.Y8G("bodyStyle",a.lJ4(9,Jl)),a.R7$(),a.AVh("cursor-pointer",x.event),a.Y8G("href",x.href,a.B4B),a.R7$(),a.Y8G("ngIf",!x.event||(null==x.event||null==x.event.image?null:x.event.image.url)),a.R7$(),a.Y8G("ngIf",!x.event),a.R7$(),a.Y8G("ngIf",x.event),a.R7$(2),a.Y8G("ngIf",null==x.event?null:x.event.published),a.R7$(),a.Y8G("ngIf",!(null!=x.event&&x.event.published)))},dependencies:[L.bT,T_,Hm,pc,L3,lc,jt,$h,mf,Lh]})}return b})();const jb=(b,me)=>({entityType:b,entityId:me}),M4=b=>({entityType:"event",entityId:b});function I7(b,me){if(1&b&&a.nrm(0,"root-icon",10),2&b){const f=a.XpG();a.Y8G("name",f.icon)}}function V6(b,me){if(1&b&&(a.j41(0,"h2",11),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.title)}}function qm(b,me){if(1&b&&(a.j41(0,"h3",11),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.JRh(f.message)}}function Hb(b,me){if(1&b&&(a.j41(0,"div",12)(1,"a",13)(2,"root-button",14),a.nrm(3,"root-icon",15),a.EFF(4," Donate "),a.k0s()()()),2&b){const f=a.XpG();a.R7$(),a.Y8G("logEvent",f.support)("cubeData",a.l_i(4,jb,null==f.content?null:f.content.contentType,null==f.content?null:f.content.contentId))("href",null==f.content||null==f.content.urls?null:f.content.urls.donateRaw,a.B4B),a.R7$(),a.Y8G("block",!0)}}function jh(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",16)(1,"h3",17),a.EFF(2,"Add to calendar"),a.k0s(),a.j41(3,"div",18)(4,"root-button",19),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.setGCal())}),a.nrm(5,"root-icon",20),a.k0s()(),a.j41(6,"div",18)(7,"root-button",21),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.setICal())}),a.nrm(8,"root-icon",22),a.k0s()(),a.j41(9,"div",18)(10,"root-button",23),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.setOutlook())}),a.nrm(11,"root-icon",24),a.k0s()()()}if(2&b){const f=a.XpG();a.R7$(3),a.Y8G("logEvent",f.saveToGcal)("cubeData",a.eq3(9,M4,null==f.content?null:f.content.contentId)),a.R7$(),a.Y8G("block",!0),a.R7$(2),a.Y8G("logEvent",f.saveToIcal)("cubeData",a.eq3(11,M4,null==f.content?null:f.content.contentId)),a.R7$(),a.Y8G("block",!0),a.R7$(2),a.Y8G("logEvent",f.saveToIcal)("cubeData",a.eq3(13,M4,null==f.content?null:f.content.contentId)),a.R7$(),a.Y8G("block",!0)}}function nS(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",32)(1,"root-button",33),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.handleCopy())}),a.k0s()()}if(2&b){const f=a.XpG(2);a.Y8G("logEvent",f.share)("cubeData",a.eq3(6,M4,null==f.content?null:f.content.contentId))("cdkCopyToClipboard",(null==f.userContent||null==f.userContent.shortLinks?null:f.userContent.shortLinks.referralPageShortLink)||(null==f.content.urls?null:f.content.urls.pageShortLink)),a.R7$(),a.Y8G("adjacentInput",!0)("loading",f.isLoadingUserContent)("disabled",f.isLoadingUserContent)}}function Yb(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",34)(1,"root-button",35),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.doShare())}),a.k0s()()}if(2&b){const f=a.XpG(2);a.Y8G("logEvent",f.share)("cubeData",a.eq3(3,M4,null==f.content?null:f.content.contentId)),a.R7$(),a.Y8G("adjacentInput",!0)}}function M_(b,me){if(1&b&&(a.j41(0,"div",25)(1,"h3",17),a.EFF(2,"Share the link"),a.k0s(),a.j41(3,"div",26)(4,"div",27)(5,"norby-input",28),a.nrm(6,"root-icon",29),a.k0s(),a.DNE(7,nS,2,8,"div",30)(8,Yb,2,5,"div",31),a.k0s()()()),2&b){const f=a.XpG();a.R7$(5),a.Y8G("isReadOnly",!0)("value",(null==f.userContent||null==f.userContent.shortLinks?null:f.userContent.shortLinks.referralPageShortLink)||(null==f.content.urls?null:f.content.urls.pageShortLink))("isJoinedRight",!0),a.R7$(2),a.Y8G("ngIf",!f.canUseSystemShare),a.R7$(),a.Y8G("ngIf",f.canUseSystemShare)}}function D7(b,me){if(1&b){const f=a.RV6();a.j41(0,"div",36)(1,"root-button",37),a.bIt("handleClick",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()()}2&b&&(a.R7$(),a.Y8G("block",!0))}let u8=(()=>{class b{constructor(f,k,x,ye){this._shareService=f,this._message=k,this._iconService=x,this._wrapperClasses=ye,this.isLoadingUserContent=!1,this.onSubmitAnother=new a.bkB,this.canUseSystemShare=!1,this.showCalendarOptions=!1,this.saveToGcal=n.KqJ.userSavedToGcal,this.saveToIcal=n.KqJ.userSavedToIcal,this.support=n.KqJ.userTappedDonate,this.share=n.KqJ.userTappedShare,this._iconService.registerIcons([g1,st,Eg,lp,Jt,Tn,qf])}get showShare(){return this.content?.hasEmailRequirement||this.content?.hasPhoneRequirement}get showSubmitAnother(){return!this.showShare}ngOnInit(){this.canUseSystemShare=this._shareService.canShare,this._initDisplay()}ngOnChanges(){this._initDisplay()}_initDisplay(){this.title="You're confirmed!",this.message=null,this.icon="check_circle",this.showCalendarOptions=!1,this.content instanceof n.kGp?(this.showCalendarOptions=!0,this.content?.isHappening?(this.title="Happening now",this.icon="alert"):this.content?.isOver?(this.title="Thanks",this.message="This event has ended."):this.message="Add it to your calendar or share the link."):this.content instanceof n.up4&&(this.message=this.showSubmitAnother?"Your response has been recorded":"")}handleSubmitAnother(){this.onSubmitAnother.emit()}handleCopy(){this._message.show({text:"Copied",type:ud.SUCCESS},this.themeClasses??this._wrapperClasses)}doShare(){this._shareService.openContentShareSheet(this.content,this.userContent)}setGCal(){(0,n.xHs)(this.content)&&this._shareService.saveToGoogleCalendar(this.content)}setICal(){(0,n.xHs)(this.content)&&this._shareService.saveToICal(this.content,this.userContent.email)}setOutlook(){(0,n.xHs)(this.content)&&this._shareService.saveToICal(this.content,this.userContent.email)}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ja),a.rXU(sr),a.rXU(Xr),a.rXU(es,8))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-rsvp-confirmation-view"]],inputs:{content:"content",userContent:"userContent",isLoadingUserContent:"isLoadingUserContent",themeClasses:"themeClasses"},outputs:{onSubmitAnother:"onSubmitAnother"},features:[a.OA$],decls:13,vars:7,consts:[["iconTpl",""],["titleTpl",""],["messageTpl",""],[1,"rsvp-container","card-background-color","card-text-color"],[1,"confirmed-result",3,"iconTpl","titleTpl","subtitleTpl"],["result-extra","",4,"ngIf"],[1,"confirmed-row"],["class","save",4,"ngIf"],["class","share",4,"ngIf"],["class","submit-again",4,"ngIf"],["size","large",3,"name"],[1,"center","card-text-color"],["result-extra",""],["target","_blank","rel","noreferrer",3,"logEvent","cubeData","href"],["type","secondary","name","donate","size","large",1,"donate",3,"block"],["name","heart"],[1,"save"],[1,"card-text-color"],[3,"logEvent","cubeData"],["type","secondary","size","large","name","google","text","Google Calendar",1,"secondary",3,"handleClick","block"],["name","google"],["type","secondary","size","large","name","apple","text","Apple Calendar",1,"secondary",3,"handleClick","block"],["name","apple"],["type","secondary","size","large","name","outlook","text","Outlook",1,"secondary",3,"handleClick","block"],["name","calendar"],[1,"share"],[1,"copy-container"],["rootInputGroup",""],["type","text",3,"isReadOnly","value","isJoinedRight"],["name","link"],["rootInputGroupSuffix","",3,"logEvent","cubeData","cdkCopyToClipboard",4,"ngIf"],["rootInputGroupSuffix","",3,"logEvent","cubeData",4,"ngIf"],["rootInputGroupSuffix","",3,"logEvent","cubeData","cdkCopyToClipboard"],["type","primary","size","large","name","copy","text","Copy",3,"handleClick","adjacentInput","loading","disabled"],["rootInputGroupSuffix","",3,"logEvent","cubeData"],["type","primary","name","share","size","large","text","Share...",3,"handleClick","adjacentInput"],[1,"submit-again"],["type","secondary","size","large","name","submitAnother","text","Submit another response",1,"secondary",3,"handleClick","block"]],template:function(k,x){if(1&k&&(a.j41(0,"div",3)(1,"root-result",4),a.DNE(2,I7,1,1,"ng-template",null,0,a.C5r)(4,V6,2,1,"ng-template",null,1,a.C5r)(6,qm,2,1,"ng-template",null,2,a.C5r)(8,Hb,5,7,"div",5),a.k0s(),a.j41(9,"div",6),a.DNE(10,jh,12,15,"div",7)(11,M_,9,5,"div",8)(12,D7,2,1,"div",9),a.k0s()()),2&k){const ye=a.sdS(3),kt=a.sdS(5),zn=a.sdS(7);a.R7$(),a.Y8G("iconTpl",ye)("titleTpl",kt)("subtitleTpl",zn),a.R7$(7),a.Y8G("ngIf",null==x.content||null==x.content.urls?null:x.content.urls.donateRaw),a.R7$(2),a.Y8G("ngIf",x.showCalendarOptions),a.R7$(),a.Y8G("ngIf",x.showShare),a.R7$(),a.Y8G("ngIf",x.showSubmitAnother)}},dependencies:[L.bT,qr.dF,H3,xp,jt,N5,qv,L5,Xv,Cp],styles:["@keyframes _ngcontent-%COMP%_animation-fade-in{0%{opacity:0}to{opacity:1}}.rsvp-container[_ngcontent-%COMP%]{padding:24px}.rsvp-container[_ngcontent-%COMP%]   .center[_ngcontent-%COMP%]{text-align:center}.rsvp-container[_ngcontent-%COMP%]   .confirmed-result[_ngcontent-%COMP%]{padding:0;margin:0 auto;max-width:480px}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%]{display:flex;margin-top:24px}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 1 50%;margin:0 24px 0 0}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-right:0}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 0 8px}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin:0}@media only screen and (max-width: 576px){.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%]{flex-direction:column}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 100%;margin:0 0 24px}.rsvp-container[_ngcontent-%COMP%]   .confirmed-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin:0}}"]})}return b})();const qb=()=>({padding:"0px"}),Xb=()=>({rows:3,width:150}),Xm=()=>({padding:0});function yf(b,me){1&b&&a.eu8(0)}function B6(b,me){if(1&b&&(a.j41(0,"div",16),a.DNE(1,yf,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.metadataTemplate)}}function $6(b,me){1&b&&a.nrm(0,"root-skeleton",18),2&b&&a.Y8G("title",!1)("paragraph",a.lJ4(2,Xb))}function R1(b,me){1&b&&a.eu8(0)}function O7(b,me){if(1&b&&(a.j41(0,"div",19),a.DNE(1,R1,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.mainButtonTemplate)}}function Np(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-card",5)(1,"lib-rsvp-confirmation-view",20),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(4,Xm)),a.R7$(),a.Y8G("content",f.content)("userContent",f.userContent)("isLoadingUserContent",f.isLoading)}}function Wm(b,me){if(1&b&&(a.nrm(0,"div",23),a.nI1(1,"safeHtml")),2&b){const f=a.XpG(2);a.Y8G("innerHTML",a.bMT(1,1,(null==f.content?null:f.content.signedBody)||f.content.body),a.npT)}}function h8(b,me){if(1&b&&(a.j41(0,"root-card",5)(1,"div",21),a.DNE(2,Wm,2,3,"div",22),a.k0s()()),2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(2,Xm)),a.R7$(2),a.Y8G("ngIf",f.content.body)}}function z7(b,me){if(1&b&&(a.j41(0,"div",25),a.nrm(1,"lib-soft-image-view",26),a.k0s()),2&b){const f=a.XpG(2);a.xc7("background-color",(null==f.content||null==f.content.image||null==f.content.image.palettes?null:f.content.image.palettes.length)>0?null==f.content.image?null:f.content.image.palettes[0]:""),a.R7$(),a.Y8G("imageUrl",null==f.content?null:f.content.imageUrl)("image",null==f.content?null:f.content.image)("initialHeight","100px")("imgixImage",null==f.content?null:f.content.imgixImage)("alt",null==f.content?null:f.content.title)}}function x_(b,me){if(1&b&&a.DNE(0,z7,2,7,"div",24),2&b){const f=a.XpG();a.Y8G("ngIf",!f.content||(null==f.content?null:f.content.imageUrl))}}function N7(b,me){if(1&b&&(a.j41(0,"div",29),a.nrm(1,"lib-soft-image-view",30),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("imageUrl",f.url)("imgixImage",null==x.content||null==x.content.imgixImages?null:x.content.imgixImages[k])}}function A7(b,me){if(1&b&&(a.j41(0,"root-carousel",27),a.DNE(1,N7,2,2,"div",28),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",null==f.content?null:f.content.images)}}let R7=(()=>{class b{constructor(){this.isLoading=!1,this.onSubmitAnother=new a.bkB}handleSubmitAnother(){this.onSubmitAnother.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-registerable-detail-classic-left-view"]],inputs:{content:"content",userContent:"userContent",isLoading:"isLoading",platform:"platform",metadataTemplate:"metadataTemplate",mainButtonTemplate:"mainButtonTemplate"},outputs:{onSubmitAnother:"onSubmitAnother"},decls:19,vars:16,consts:[["singleImageTemplate",""],["carouselTemplate",""],[1,"content-container-wrapper"],[1,"content-container"],[1,"space-wrapper"],[3,"bodyStyle"],[1,"header"],[3,"ngTemplateOutlet"],[1,"meta-wrapper"],["class","meta card-text-color",4,"ngIf"],[3,"title","paragraph",4,"ngIf"],[1,"mt-6","flex","flex-1","flex-col","justify-end",3,"click"],[1,"row"],["class","wide",4,"ngIf"],[3,"content","userContent"],[3,"bodyStyle",4,"ngIf"],[1,"meta","card-text-color"],[4,"ngTemplateOutlet"],[3,"title","paragraph"],[1,"wide"],[3,"onSubmitAnother","content","userContent","isLoadingUserContent"],[1,"content-body","ql-readonly-body","card-text-color"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],["class","image-wrapper",3,"backgroundColor",4,"ngIf"],[1,"image-wrapper"],[3,"imageUrl","image","initialHeight","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"imageUrl","imgixImage"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"root-card",5)(4,"div",6),a.eu8(5,7),a.j41(6,"div",8),a.DNE(7,B6,2,1,"div",9)(8,$6,1,3,"root-skeleton",10),a.j41(9,"div",11),a.bIt("click",function(zn){return a.eBV(ye),a.Njj(zn.stopPropagation())}),a.j41(10,"div",12),a.DNE(11,O7,2,1,"div",13),a.nrm(12,"lib-event-drop-share-button-view",14),a.k0s()()()()(),a.DNE(13,Np,2,5,"root-card",15)(14,h8,3,3,"root-card",15),a.k0s()()(),a.DNE(15,x_,1,1,"ng-template",null,0,a.C5r)(17,A7,2,3,"ng-template",null,1,a.C5r)}if(2&k){const ye=a.sdS(16),kt=a.sdS(18);a.AVh("mobile","mobile"===x.platform)("desktop","desktop"===x.platform),a.R7$(),a.AVh("has-image",!x.content||(null==x.content?null:x.content.imageUrl)),a.R7$(2),a.Y8G("bodyStyle",a.lJ4(15,qb)),a.R7$(2),a.Y8G("ngTemplateOutlet",null!=x.content&&null!=x.content.images&&x.content.images.length?1==(null==x.content||null==x.content.images?null:x.content.images.length)?ye:kt:null),a.R7$(2),a.Y8G("ngIf",x.content&&x.metadataTemplate),a.R7$(),a.Y8G("ngIf",!x.content),a.R7$(3),a.Y8G("ngIf",x.mainButtonTemplate),a.R7$(),a.Y8G("content",x.content)("userContent",x.userContent),a.R7$(),a.Y8G("ngIf",(null==x.userContent?null:x.userContent.rsvpEnabled)&&(null==x.content?null:x.content.published)),a.R7$(),a.Y8G("ngIf",null==x.content?null:x.content.body)}},dependencies:[L.Sq,L.bT,L.T3,Hm,pc,u8,$h,Lh,A1,V0,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.content-container-wrapper{position:relative}.content-container-wrapper .content-container{position:relative;margin:0 auto;padding:24px;max-width:980px;width:100%;z-index:2}.content-container-wrapper .content-container .space-wrapper>*{max-width:980px;margin-bottom:24px;overflow:hidden}.content-container-wrapper .content-container .space-wrapper>*:last-child{margin:0}.content-container-wrapper .content-container .status-wrapper .status-row{display:flex;align-items:center;flex-wrap:wrap}.content-container-wrapper .content-container .status-wrapper .status-row .spacer{flex:1 1 auto}.content-container-wrapper .content-container .content-body{padding:24px}.content-container-wrapper .content-container .header{display:flex}.content-container-wrapper .content-container .header .image-wrapper{flex:0 99 60%;display:flex;justify-content:center;align-items:center;background-color:#bebebe33}.content-container-wrapper .content-container .header .meta-wrapper{flex:99 0 40%;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.content-container-wrapper .content-container .header .meta-wrapper .meta>*{margin-bottom:8px}.content-container-wrapper .content-container .header .meta-wrapper .meta>*:last-child{margin:0}.content-container-wrapper .content-container .header .meta-wrapper .row{display:flex;align-items:center}.content-container-wrapper .content-container .header .meta-wrapper .row .wide{flex:1 1 auto;margin-right:12px}.content-container-wrapper .content-container .header .meta-wrapper .title,.content-container-wrapper .content-container .header .meta-wrapper .subtitle{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.content-container-wrapper.mobile .status-wrapper{margin:0 24px}.content-container-wrapper.mobile .content-container{padding:0}.content-container-wrapper.mobile .content-container .header{flex-direction:column}.content-container-wrapper.mobile .content-container .header>*{flex:0 0 auto}.content-container-wrapper.mobile .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}@media only screen and (max-width: 980px){.content-container-wrapper:not(.desktop) .status-wrapper{margin:0 24px}.content-container-wrapper:not(.desktop) .content-container{padding:0}.content-container-wrapper:not(.desktop) .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}}@media only screen and (max-width: 576px){.content-container-wrapper:not(.desktop) .content-container .header{flex-direction:column}.content-container-wrapper:not(.desktop) .content-container .header>*{flex:0 0 auto}}\n"],encapsulation:2})}return b})();const Wb=()=>({padding:"0px"}),x4=()=>({rows:3,width:150}),I_=()=>({padding:0});function Kb(b,me){1&b&&a.eu8(0)}function Qb(b,me){if(1&b&&(a.j41(0,"div",16),a.DNE(1,Kb,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.metadataTemplate)}}function Jb(b,me){1&b&&a.nrm(0,"root-skeleton",18),2&b&&a.Y8G("title",!1)("paragraph",a.lJ4(2,x4))}function P7(b,me){1&b&&a.eu8(0)}function F7(b,me){if(1&b&&(a.j41(0,"div",19),a.DNE(1,P7,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.mainButtonTemplate)}}function Zb(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-card",5)(1,"lib-rsvp-confirmation-view",20),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(4,I_)),a.R7$(),a.Y8G("content",f.content)("userContent",f.userContent)("isLoadingUserContent",f.isLoading)}}function iS(b,me){if(1&b&&(a.nrm(0,"div",23),a.nI1(1,"safeHtml")),2&b){const f=a.XpG(2);a.Y8G("innerHTML",a.bMT(1,1,(null==f.content?null:f.content.signedBody)||f.content.body),a.npT)}}function eC(b,me){if(1&b&&(a.j41(0,"root-card",5)(1,"div",21),a.DNE(2,iS,2,3,"div",22),a.k0s()()),2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(2,I_)),a.R7$(2),a.Y8G("ngIf",f.content.body)}}function D_(b,me){if(1&b&&(a.j41(0,"div",25),a.nrm(1,"lib-soft-image-view",26),a.k0s()),2&b){const f=a.XpG(2);a.xc7("background-color",(null==f.content||null==f.content.image||null==f.content.image.palettes?null:f.content.image.palettes.length)>0?null==f.content.image?null:f.content.image.palettes[0]:""),a.R7$(),a.Y8G("imageUrl",null==f.content?null:f.content.imageUrl)("image",null==f.content?null:f.content.image)("initialHeight","100px")("imgixImage",null==f.content?null:f.content.imgixImage)("alt",null==f.content?null:f.content.title)}}function O_(b,me){if(1&b&&a.DNE(0,D_,2,7,"div",24),2&b){const f=a.XpG();a.Y8G("ngIf",!f.content||(null==f.content?null:f.content.imageUrl))}}function tC(b,me){if(1&b&&(a.j41(0,"div",29),a.nrm(1,"lib-soft-image-view",30),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("imageUrl",f.url)("imgixImage",null==x.content||null==x.content.imgixImages?null:x.content.imgixImages[k])}}function nC(b,me){if(1&b&&(a.j41(0,"root-carousel",27),a.DNE(1,tC,2,2,"div",28),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",null==f.content?null:f.content.images)}}let U6=(()=>{class b{constructor(){this.isLoading=!1,this.onSubmitAnother=new a.bkB}handleSubmitAnother(){this.onSubmitAnother.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-registerable-detail-classic-right-view"]],inputs:{content:"content",userContent:"userContent",isLoading:"isLoading",platform:"platform",metadataTemplate:"metadataTemplate",mainButtonTemplate:"mainButtonTemplate"},outputs:{onSubmitAnother:"onSubmitAnother"},decls:19,vars:16,consts:[["singleImageTemplate",""],["carouselTemplate",""],[1,"content-container-wrapper"],[1,"content-container"],[1,"space-wrapper"],[3,"bodyStyle"],[1,"header"],[1,"meta-wrapper"],["class","meta card-text-color",4,"ngIf"],[3,"title","paragraph",4,"ngIf"],[1,"mt-6","flex","flex-1","flex-col","justify-end",3,"click"],[1,"row"],["class","wide",4,"ngIf"],[3,"content","userContent"],[3,"ngTemplateOutlet"],[3,"bodyStyle",4,"ngIf"],[1,"meta","card-text-color"],[4,"ngTemplateOutlet"],[3,"title","paragraph"],[1,"wide"],[3,"onSubmitAnother","content","userContent","isLoadingUserContent"],[1,"content-body","ql-readonly-body","card-text-color"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],["class","image-wrapper",3,"backgroundColor",4,"ngIf"],[1,"image-wrapper"],[3,"imageUrl","image","initialHeight","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"imageUrl","imgixImage"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"root-card",5)(4,"div",6)(5,"div",7),a.DNE(6,Qb,2,1,"div",8)(7,Jb,1,3,"root-skeleton",9),a.j41(8,"div",10),a.bIt("click",function(zn){return a.eBV(ye),a.Njj(zn.stopPropagation())}),a.j41(9,"div",11),a.DNE(10,F7,2,1,"div",12),a.nrm(11,"lib-event-drop-share-button-view",13),a.k0s()()(),a.eu8(12,14),a.k0s()(),a.DNE(13,Zb,2,5,"root-card",15)(14,eC,3,3,"root-card",15),a.k0s()()(),a.DNE(15,O_,1,1,"ng-template",null,0,a.C5r)(17,nC,2,3,"ng-template",null,1,a.C5r)}if(2&k){const ye=a.sdS(16),kt=a.sdS(18);a.AVh("mobile","mobile"===x.platform)("desktop","desktop"===x.platform),a.R7$(),a.AVh("has-image",!x.content||(null==x.content?null:x.content.imageUrl)),a.R7$(2),a.Y8G("bodyStyle",a.lJ4(15,Wb)),a.R7$(3),a.Y8G("ngIf",x.content&&x.metadataTemplate),a.R7$(),a.Y8G("ngIf",!x.content),a.R7$(3),a.Y8G("ngIf",x.mainButtonTemplate),a.R7$(),a.Y8G("content",x.content)("userContent",x.userContent),a.R7$(),a.Y8G("ngTemplateOutlet",null!=x.content&&null!=x.content.images&&x.content.images.length?1==(null==x.content||null==x.content.images?null:x.content.images.length)?ye:kt:null),a.R7$(),a.Y8G("ngIf",(null==x.userContent?null:x.userContent.rsvpEnabled)&&(null==x.content?null:x.content.published)),a.R7$(),a.Y8G("ngIf",null==x.content?null:x.content.body)}},dependencies:[L.Sq,L.bT,L.T3,Hm,pc,u8,$h,Lh,A1,V0,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.content-container-wrapper{position:relative}.content-container-wrapper .content-container{position:relative;margin:0 auto;padding:24px;max-width:980px;width:100%;z-index:2}.content-container-wrapper .content-container .space-wrapper>*{max-width:980px;margin-bottom:24px;overflow:hidden}.content-container-wrapper .content-container .space-wrapper>*:last-child{margin:0}.content-container-wrapper .content-container .status-wrapper .status-row{display:flex;align-items:center;flex-wrap:wrap}.content-container-wrapper .content-container .status-wrapper .status-row .spacer{flex:1 1 auto}.content-container-wrapper .content-container .content-body{padding:24px}.content-container-wrapper .content-container .header{display:flex}.content-container-wrapper .content-container .header .image-wrapper{flex:0 99 60%;display:flex;justify-content:center;align-items:center;background-color:#bebebe33}.content-container-wrapper .content-container .header .meta-wrapper{flex:99 0 40%;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.content-container-wrapper .content-container .header .meta-wrapper .meta>*{margin-bottom:8px}.content-container-wrapper .content-container .header .meta-wrapper .meta>*:last-child{margin:0}.content-container-wrapper .content-container .header .meta-wrapper .row{display:flex;align-items:center}.content-container-wrapper .content-container .header .meta-wrapper .row .wide{flex:1 1 auto;margin-right:12px}.content-container-wrapper .content-container .header .meta-wrapper .title,.content-container-wrapper .content-container .header .meta-wrapper .subtitle{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.content-container-wrapper.mobile .status-wrapper{margin:0 24px}.content-container-wrapper.mobile .content-container{padding:0}.content-container-wrapper.mobile .content-container .header{flex-direction:column}.content-container-wrapper.mobile .content-container .header>*{flex:0 0 auto}.content-container-wrapper.mobile .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}@media only screen and (max-width: 980px){.content-container-wrapper:not(.desktop) .status-wrapper{margin:0 24px}.content-container-wrapper:not(.desktop) .content-container{padding:0}.content-container-wrapper:not(.desktop) .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}}@media only screen and (max-width: 576px){.content-container-wrapper:not(.desktop) .content-container .header{flex-direction:column}.content-container-wrapper:not(.desktop) .content-container .header>*{flex:0 0 auto}}\n"],encapsulation:2})}return b})();const iC=()=>({padding:"0px"}),oC=()=>({rows:3,width:150}),L7=()=>({padding:0});function rC(b,me){1&b&&a.eu8(0)}function sC(b,me){if(1&b&&(a.j41(0,"div",16),a.DNE(1,rC,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.metadataTemplate)}}function aC(b,me){1&b&&a.nrm(0,"root-skeleton",18),2&b&&a.Y8G("title",!1)("paragraph",a.lJ4(2,oC))}function oS(b,me){1&b&&a.eu8(0)}function rS(b,me){if(1&b&&(a.j41(0,"div",19),a.DNE(1,oS,1,0,"ng-container",17),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.mainButtonTemplate)}}function lC(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-card",5)(1,"lib-rsvp-confirmation-view",20),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(4,L7)),a.R7$(),a.Y8G("content",f.content)("userContent",f.userContent)("isLoadingUserContent",f.isLoading)}}function cC(b,me){if(1&b&&(a.nrm(0,"div",23),a.nI1(1,"safeHtml")),2&b){const f=a.XpG(2);a.Y8G("innerHTML",a.bMT(1,1,(null==f.content?null:f.content.signedBody)||f.content.body),a.npT)}}function dC(b,me){if(1&b&&(a.j41(0,"root-card",5)(1,"div",21),a.DNE(2,cC,2,3,"div",22),a.k0s()()),2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(2,L7)),a.R7$(2),a.Y8G("ngIf",f.content.body)}}function uC(b,me){if(1&b&&(a.j41(0,"div",25),a.nrm(1,"lib-soft-image-view",26),a.k0s()),2&b){const f=a.XpG(2);a.xc7("background-color",(null==f.content||null==f.content.image||null==f.content.image.palettes?null:f.content.image.palettes.length)>0?null==f.content.image?null:f.content.image.palettes[0]:""),a.R7$(),a.Y8G("imageUrl",null==f.content?null:f.content.imageUrl)("image",null==f.content?null:f.content.image)("initialHeight","100px")("imgixImage",null==f.content?null:f.content.imgixImage)("alt",null==f.content?null:f.content.title)}}function hC(b,me){if(1&b&&a.DNE(0,uC,2,7,"div",24),2&b){const f=a.XpG();a.Y8G("ngIf",!f.content||(null==f.content?null:f.content.imageUrl))}}function V7(b,me){if(1&b&&(a.j41(0,"div",29),a.nrm(1,"lib-soft-image-view",30),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("imageUrl",f.url)("imgixImage",null==x.content||null==x.content.imgixImages?null:x.content.imgixImages[k])}}function B7(b,me){if(1&b&&(a.j41(0,"root-carousel",27),a.DNE(1,V7,2,2,"div",28),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",null==f.content?null:f.content.images)}}let U0=(()=>{class b{constructor(){this.isLoading=!1,this.onSubmitAnother=new a.bkB}handleSubmitAnother(){this.onSubmitAnother.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-registerable-detail-classic-vertical"]],inputs:{content:"content",userContent:"userContent",isLoading:"isLoading",platform:"platform",metadataTemplate:"metadataTemplate",mainButtonTemplate:"mainButtonTemplate"},outputs:{onSubmitAnother:"onSubmitAnother"},decls:19,vars:16,consts:[["singleImageTemplate",""],["carouselTemplate",""],[1,"content-container-wrapper"],[1,"content-container"],[1,"space-wrapper"],[3,"bodyStyle"],[1,"header","flex-col"],[3,"ngTemplateOutlet"],[1,"meta-wrapper"],["class","meta card-text-color",4,"ngIf"],[3,"title","paragraph",4,"ngIf"],[1,"main-actions-container",3,"click"],[1,"row"],["class","wide",4,"ngIf"],[3,"content","userContent"],[3,"bodyStyle",4,"ngIf"],[1,"meta","card-text-color"],[4,"ngTemplateOutlet"],[3,"title","paragraph"],[1,"wide"],[3,"onSubmitAnother","content","userContent","isLoadingUserContent"],[1,"content-body","ql-readonly-body","card-text-color"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],["class","image-wrapper",3,"backgroundColor",4,"ngIf"],[1,"image-wrapper"],[3,"imageUrl","image","initialHeight","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"imageUrl","imgixImage"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"root-card",5)(4,"div",6),a.eu8(5,7),a.j41(6,"div",8),a.DNE(7,sC,2,1,"div",9)(8,aC,1,3,"root-skeleton",10),a.j41(9,"div",11),a.bIt("click",function(zn){return a.eBV(ye),a.Njj(zn.stopPropagation())}),a.j41(10,"div",12),a.DNE(11,rS,2,1,"div",13),a.nrm(12,"lib-event-drop-share-button-view",14),a.k0s()()()()(),a.DNE(13,lC,2,5,"root-card",15)(14,dC,3,3,"root-card",15),a.k0s()()(),a.DNE(15,hC,1,1,"ng-template",null,0,a.C5r)(17,B7,2,3,"ng-template",null,1,a.C5r)}if(2&k){const ye=a.sdS(16),kt=a.sdS(18);a.AVh("mobile","mobile"===x.platform)("desktop","desktop"===x.platform),a.R7$(),a.AVh("has-image",!x.content||(null==x.content?null:x.content.imageUrl)),a.R7$(2),a.Y8G("bodyStyle",a.lJ4(15,iC)),a.R7$(2),a.Y8G("ngTemplateOutlet",null!=x.content&&null!=x.content.images&&x.content.images.length?1==(null==x.content||null==x.content.images?null:x.content.images.length)?ye:kt:null),a.R7$(2),a.Y8G("ngIf",x.content&&x.metadataTemplate),a.R7$(),a.Y8G("ngIf",!x.content),a.R7$(3),a.Y8G("ngIf",x.mainButtonTemplate),a.R7$(),a.Y8G("content",x.content)("userContent",x.userContent),a.R7$(),a.Y8G("ngIf",(null==x.userContent?null:x.userContent.rsvpEnabled)&&(null==x.content?null:x.content.published)),a.R7$(),a.Y8G("ngIf",null==x.content?null:x.content.body)}},dependencies:[L.Sq,L.bT,L.T3,Hm,pc,u8,$h,Lh,A1,V0,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.content-container-wrapper{position:relative}.content-container-wrapper .content-container{position:relative;margin:0 auto;padding:24px;max-width:980px;width:100%;z-index:2}.content-container-wrapper .content-container .space-wrapper>*{max-width:980px;margin-bottom:24px;overflow:hidden}.content-container-wrapper .content-container .space-wrapper>*:last-child{margin:0}.content-container-wrapper .content-container .status-wrapper .status-row{display:flex;align-items:center;flex-wrap:wrap}.content-container-wrapper .content-container .status-wrapper .status-row .spacer{flex:1 1 auto}.content-container-wrapper .content-container .content-body{padding:24px}.content-container-wrapper .content-container .header{display:flex}.content-container-wrapper .content-container .header .image-wrapper{flex:0 99 60%;display:flex;justify-content:center;align-items:center;background-color:#bebebe33}.content-container-wrapper .content-container .header .meta-wrapper{flex:99 0 40%;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.content-container-wrapper .content-container .header .meta-wrapper .meta>*{margin-bottom:8px}.content-container-wrapper .content-container .header .meta-wrapper .meta>*:last-child{margin:0}.content-container-wrapper .content-container .header .meta-wrapper .main-actions-container{margin-top:24px}.content-container-wrapper .content-container .header .meta-wrapper .main-actions-container .row{display:flex;align-items:center}.content-container-wrapper .content-container .header .meta-wrapper .main-actions-container .row .wide{flex:1 1 auto;margin-right:12px}.content-container-wrapper .content-container .header .meta-wrapper .title,.content-container-wrapper .content-container .header .meta-wrapper .subtitle{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.content-container-wrapper.mobile .status-wrapper{margin:0 24px}.content-container-wrapper.mobile .content-container{padding:0}.content-container-wrapper.mobile .content-container .header{flex-direction:column}.content-container-wrapper.mobile .content-container .header>*{flex:0 0 auto}.content-container-wrapper.mobile .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}@media only screen and (max-width: 980px){.content-container-wrapper:not(.desktop) .status-wrapper{margin:0 24px}.content-container-wrapper:not(.desktop) .content-container{padding:0}.content-container-wrapper:not(.desktop) .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}}@media only screen and (max-width: 576px){.content-container-wrapper:not(.desktop) .content-container .header{flex-direction:column}.content-container-wrapper:not(.desktop) .content-container .header>*{flex:0 0 auto}}\n"],encapsulation:2})}return b})();const z_=()=>({rows:3,width:150}),pC=()=>({padding:0});function fC(b,me){1&b&&a.eu8(0)}function p8(b,me){if(1&b&&(a.j41(0,"div",15),a.DNE(1,fC,1,0,"ng-container",16),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.metadataTemplate)}}function $7(b,me){1&b&&a.nrm(0,"root-skeleton",17),2&b&&a.Y8G("title",!1)("paragraph",a.lJ4(2,z_))}function U7(b,me){1&b&&a.eu8(0)}function f8(b,me){if(1&b&&(a.j41(0,"div",10),a.DNE(1,U7,1,0,"ng-container",16),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",f.mainButtonTemplate)}}function N_(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-card",18)(1,"lib-rsvp-confirmation-view",19),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(4,pC)),a.R7$(),a.Y8G("content",f.content)("userContent",f.userContent)("isLoadingUserContent",f.isLoading)}}function I4(b,me){if(1&b&&(a.nrm(0,"div",22),a.nI1(1,"safeHtml")),2&b){const f=a.XpG(2);a.Y8G("innerHTML",a.bMT(1,1,(null==f.content?null:f.content.signedBody)||f.content.body),a.npT)}}function G7(b,me){if(1&b&&(a.j41(0,"root-card",18)(1,"div",20),a.DNE(2,I4,2,3,"div",21),a.k0s()()),2&b){const f=a.XpG();a.Y8G("bodyStyle",a.lJ4(2,pC)),a.R7$(2),a.Y8G("ngIf",f.content.body)}}function D4(b,me){if(1&b&&(a.j41(0,"div"),a.nrm(1,"lib-soft-image-view",24),a.k0s()),2&b){const f=a.XpG(2);a.xc7("background-color",(null==f.content||null==f.content.image||null==f.content.image.palettes?null:f.content.image.palettes.length)>0?null==f.content.image?null:f.content.image.palettes[0]:""),a.R7$(),a.Y8G("imageUrl",null==f.content?null:f.content.imageUrl)("image",null==f.content?null:f.content.image)("initialHeight","100px")("imgixImage",null==f.content?null:f.content.imgixImage)("alt",null==f.content?null:f.content.title)}}function j7(b,me){if(1&b&&a.DNE(0,D4,2,7,"div",23),2&b){const f=a.XpG();a.Y8G("ngIf",!f.content||(null==f.content?null:f.content.imageUrl))}}function m8(b,me){if(1&b&&(a.j41(0,"div",27),a.nrm(1,"lib-soft-image-view",28),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("imageUrl",f.url)("imgixImage",null==x.content||null==x.content.imgixImages?null:x.content.imgixImages[k])}}function O4(b,me){if(1&b&&(a.j41(0,"root-carousel",25),a.DNE(1,m8,2,2,"div",26),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",null==f.content?null:f.content.images)}}let z4=(()=>{class b{constructor(){this.isLoading=!1,this.onSubmitAnother=new a.bkB}handleSubmitAnother(){this.onSubmitAnother.emit()}static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-registerable-detail-large-image"]],inputs:{content:"content",userContent:"userContent",isLoading:"isLoading",platform:"platform",metadataTemplate:"metadataTemplate",mainButtonTemplate:"mainButtonTemplate"},outputs:{onSubmitAnother:"onSubmitAnother"},decls:19,vars:15,consts:[["singleImageTemplate",""],["carouselTemplate",""],[1,"content-container-wrapper"],[1,"content-container"],[1,"space-wrapper"],[1,"meta-wrapper",3,"ngClass"],["class","meta card-text-color",4,"ngIf"],[3,"title","paragraph",4,"ngIf"],[1,"main-actions-container",3,"click"],[1,"row"],[1,"wide"],[3,"content","userContent"],["class","wide",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"bodyStyle",4,"ngIf"],[1,"meta","card-text-color"],[4,"ngTemplateOutlet"],[3,"title","paragraph"],[3,"bodyStyle"],[3,"onSubmitAnother","content","userContent","isLoadingUserContent"],[1,"content-body","ql-readonly-body","card-text-color"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"backgroundColor",4,"ngIf"],[3,"imageUrl","image","initialHeight","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"imageUrl","imgixImage"]],template:function(k,x){if(1&k){const ye=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),a.DNE(4,p8,2,1,"div",6)(5,$7,1,3,"root-skeleton",7),a.j41(6,"div",8),a.bIt("click",function(zn){return a.eBV(ye),a.Njj(zn.stopPropagation())}),a.j41(7,"div",9)(8,"div",10),a.nrm(9,"lib-event-drop-share-button-view",11),a.k0s()(),a.j41(10,"div",9),a.DNE(11,f8,2,1,"div",12),a.k0s()()(),a.eu8(12,13),a.DNE(13,N_,2,5,"root-card",14)(14,G7,3,3,"root-card",14),a.k0s()()(),a.DNE(15,j7,1,1,"ng-template",null,0,a.C5r)(17,O4,2,3,"ng-template",null,1,a.C5r)}if(2&k){const ye=a.sdS(16),kt=a.sdS(18);a.AVh("mobile","mobile"===x.platform)("desktop","desktop"===x.platform),a.R7$(),a.AVh("has-image",!x.content||(null==x.content?null:x.content.imageUrl)),a.R7$(2),a.Y8G("ngClass","mobile"==x.platform?"flex-col":"flex-row"),a.R7$(),a.Y8G("ngIf",x.content&&x.metadataTemplate),a.R7$(),a.Y8G("ngIf",!x.content),a.R7$(4),a.Y8G("content",x.content)("userContent",x.userContent),a.R7$(2),a.Y8G("ngIf",x.mainButtonTemplate),a.R7$(),a.Y8G("ngTemplateOutlet",null!=x.content&&null!=x.content.images&&x.content.images.length?1==(null==x.content||null==x.content.images?null:x.content.images.length)?ye:kt:null),a.R7$(),a.Y8G("ngIf",(null==x.userContent?null:x.userContent.rsvpEnabled)&&(null==x.content?null:x.content.published)),a.R7$(),a.Y8G("ngIf",null==x.content?null:x.content.body)}},dependencies:[L.YU,L.Sq,L.bT,L.T3,Hm,pc,u8,$h,Lh,A1,V0,ea],styles:["@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.content-container-wrapper{position:relative}.content-container-wrapper .content-container{position:relative;margin:0 auto;padding:24px;max-width:980px;width:100%;z-index:2}.content-container-wrapper .content-container .space-wrapper>*{max-width:980px;margin-bottom:24px;overflow:hidden}.content-container-wrapper .content-container .space-wrapper>*:last-child{margin:0}.content-container-wrapper .content-container .status-wrapper .status-row{display:flex;align-items:center;flex-wrap:wrap}.content-container-wrapper .content-container .status-wrapper .status-row .spacer{flex:1 1 auto}.content-container-wrapper .content-container .content-body{padding:24px}.content-container-wrapper .content-container .meta-wrapper{flex:99 0 40%;padding:24px;display:flex;justify-content:space-between}.content-container-wrapper .content-container .meta-wrapper .meta{flex:2;display:flex;flex-direction:column}.content-container-wrapper .content-container .meta-wrapper .meta>*{margin-bottom:8px}.content-container-wrapper .content-container .meta-wrapper .meta>*:last-child{margin:0}.content-container-wrapper .content-container .meta-wrapper .main-actions-container{margin-top:24px;flex:1}.content-container-wrapper .content-container .meta-wrapper .main-actions-container .row{display:flex;align-items:center}.content-container-wrapper .content-container .meta-wrapper .main-actions-container .row .wide{flex:1 1 auto;margin-right:12px}.content-container-wrapper .content-container .meta-wrapper .title,.content-container-wrapper .content-container .meta-wrapper .subtitle{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.content-container-wrapper.mobile .status-wrapper{margin:0 24px}.content-container-wrapper.mobile .content-container{padding:0}.content-container-wrapper.mobile .content-container .header{flex-direction:column}.content-container-wrapper.mobile .content-container .header>*{flex:0 0 auto}.content-container-wrapper.mobile .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}@media only screen and (max-width: 980px){.content-container-wrapper:not(.desktop) .status-wrapper{margin:0 24px}.content-container-wrapper:not(.desktop) .content-container{padding:0}.content-container-wrapper:not(.desktop) .content-container root-card{border-radius:0!important;border-left-width:0!important;border-right-width:0!important;overflow-x:hidden}}@media only screen and (max-width: 576px){.content-container-wrapper:not(.desktop) .content-container .header{flex-direction:column}.content-container-wrapper:not(.desktop) .content-container .header>*{flex:0 0 auto}}\n"],encapsulation:2})}return b})();const g8=["classicLeftTpl"],N4=["classicRightTpl"],A4=["classicVerticalTpl"],R4=["largeImageTpl"];function P4(b,me){if(1&b&&a.eu8(0,8),2&b){const f=a.XpG();a.Y8G("ngTemplateOutlet",f.dropLayoutTemplate)}}function F4(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-left-view",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.drop)("userContent",f.userContent)("platform",f.platform)("mainButtonTemplate",x)("metadataTemplate",k)}}function H7(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-right-view",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.drop)("userContent",f.userContent)("platform",f.platform)("mainButtonTemplate",x)("metadataTemplate",k)}}function mC(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-vertical",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.drop)("userContent",f.userContent)("platform",f.platform)("mainButtonTemplate",x)("metadataTemplate",k)}}function gC(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-large-image",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.drop)("userContent",f.userContent)("platform",f.platform)("mainButtonTemplate",x)("metadataTemplate",k)}}function Y7(b,me){1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",17),a.j41(2,"span"),a.EFF(3,"Signups are closed"),a.k0s()())}function q7(b,me){if(1&b&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.R7$(),a.Lme(" ",f.dateTimePrompt," ",f.registrationCloseTime,"")}}function vC(b,me){if(1&b&&(a.j41(0,"span",20),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.FS9("rootTooltip","at "+f.registrationCloseTime),a.R7$(),a.Lme(" ",f.dateTimePrompt," ",f.registrationCloseDate," ")}}function X7(b,me){if(1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",18),a.DNE(2,q7,2,2,"span",10)(3,vC,2,3,"span",19),a.k0s()),2&b){const f=a.XpG(3);a.R7$(2),a.Y8G("ngIf",f.isCurrentDate(f.registrationCloseDate)),a.R7$(),a.Y8G("ngIf",!f.isCurrentDate(f.registrationCloseDate))}}function W7(b,me){if(1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",21),a.j41(2,"span"),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(3);a.R7$(3),a.SpI("",f.remainingCount," left")}}function K7(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,Y7,4,0,"root-tag",15)(2,X7,4,2,"root-tag",15)(3,W7,4,1,"root-tag",10),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.isFull)||(null==f.drop?null:f.drop.isPastRegistrationDeadline)),a.R7$(),a.Y8G("ngIf",(null==f.drop?null:f.drop.registrationCloseDate)&&!(null!=f.drop&&f.drop.isPastRegistrationDeadline)&&!(null!=f.drop&&f.drop.isFull)),a.R7$(),a.Y8G("ngIf",null==f.drop||null==f.drop.rsvpRestrictions?null:f.drop.rsvpRestrictions.displayLimit)}}function A_(b,me){if(1&b&&(a.j41(0,"p",22),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.drop.subtitle," ")}}function Km(b,me){if(1&b&&(a.j41(0,"div",23),a.nrm(1,"root-alert",24),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("message",f.priceStr)}}function _C(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-drop-form-prompts-view",25),a.bIt("onPromptResponseChanges",function(x){a.eBV(f);const ye=a.XpG(2);return a.Njj(ye.handlePromptResponseChanges(x))}),a.k0s()}if(2&b){const f=a.XpG(2);a.Y8G("isLoading",f.isLoading)("prompts",f.drop.prompts)("promptResponses",null==f.userContent?null:f.userContent.promptResponses)("isDisabled",null==f.userContent?null:f.userContent.rsvpEnabled)}}function sS(b,me){if(1&b&&(a.DNE(0,K7,4,3,"div",10),a.j41(1,"h2",11),a.EFF(2),a.k0s(),a.DNE(3,A_,2,1,"p",12)(4,Km,2,1,"div",13)(5,_C,1,4,"lib-drop-form-prompts-view",14)),2&b){const f=a.XpG();a.Y8G("ngIf",(null==f.drop?null:f.drop.isFull)||(null==f.drop?null:f.drop.hasCapacity)&&(null==f.drop||null==f.drop.rsvpRestrictions?null:f.drop.rsvpRestrictions.displayLimit)||(null==f.drop?null:f.drop.registrationCloseDate)),a.R7$(2),a.SpI(" ",null==f.drop?null:f.drop.title," "),a.R7$(),a.Y8G("ngIf",null==f.drop?null:f.drop.subtitle),a.R7$(),a.Y8G("ngIf",f.priceStr),a.R7$(),a.Y8G("ngIf",f.shouldShowForm)}}function R_(b,me){if(1&b&&a.nrm(0,"lib-drop-main-button-view",26),2&b){const f=a.XpG();a.Y8G("drop",f.drop)("userContent",f.userContent)("promptResponses",f.stagedPromptResponses)("isLoading",f.isLoading)("forceDisabled",f.shouldDisableButtons||f.isFormInvalid)}}let Qm=(()=>{class b{constructor(f,k,x,ye){this._iconService=f,this._cdr=k,this._interactions=x,this._wrapperClasses=ye,this.isLoading=!1,this.shouldDisableButtons=!1,this.applyTheme=!0,this.onSubmitAnother=new a.bkB,this.isFormInvalid=!1,this._isRsvpHandoffPreviouslyTriggered=!1,this._iconService.registerIcons([Xf,lp,Au])}ngOnChanges(f){f.drop&&(this._updateProps(),this._handlePotentialRsvpHandoff())}ngDoCheck(){this.drop&&this.drop.hash!==this._cachedSignupHash&&(this._updateProps(),this._updateLayout(),this._cachedSignupHash=this.drop.hash,this._cdr.markForCheck())}ngAfterViewInit(){this._updateLayout()}get remainingCount(){return Math.max(this.drop?.rsvpRestrictions?.remaining,0)}_updateProps(){return this.registrationCloseDate=this.drop?.registrationCloseDate?$(this.drop.registrationCloseDate).format("MMM DD, YYYY"):null,this.registrationCloseTime=this.drop?.registrationCloseDate?$(this.drop.registrationCloseDate).format("h:mm A"):null,this.priceStr=this.drop?.tickets?.length>0?"$"+(this.drop.tickets[0]?.price??0)/100:null,null}handleSubmitAnother(){this.onSubmitAnother.emit()}isCurrentDate(f){return f===$().format("MMM DD, YYYY")}get dateTimePrompt(){return this.drop?.tickets?.length>0?"Purchase by":"Sign up by"}get shouldShowForm(){return"form"===this.drop.signupType}_handlePotentialRsvpHandoff(){var f=this;return(0,y.A)(function*(){f.drop&&f.shouldAutoTriggerRsvpFlow&&!f.userContent?.rsvpEnabled&&!f._isRsvpHandoffPreviouslyTriggered&&!f.isAnonymousUser&&(f._interactions.registerForContent(f.drop,f._wrapperClasses,f.userContent?.promptResponses,!0),f._isRsvpHandoffPreviouslyTriggered=!0)})()}_updateLayout(){switch(this.drop?.layout){case n.FvU.CLASSIC_LEFT:this.dropLayoutTemplate=this.classicLeftViewTemplate;break;case n.FvU.CLASSIC_RIGHT:this.dropLayoutTemplate=this.classicRightViewTemplate;break;case n.FvU.CLASSIC_VERTICAL:this.dropLayoutTemplate=this.classicVerticalTemplate;break;case n.FvU.LARGE_IMAGE:this.dropLayoutTemplate=this.largeImageTemplate;break;default:this.dropLayoutTemplate=this.classicLeftViewTemplate}}handlePromptResponseChanges(f){this.stagedPromptResponses=f?.promptResponses,this.isFormInvalid=!f?.valid}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr),a.rXU(a.gRc),a.rXU(I1),a.rXU(es))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-drop-detail-view"]],viewQuery:function(k,x){if(1&k&&(a.GBs(g8,5),a.GBs(N4,5),a.GBs(A4,5),a.GBs(R4,5)),2&k){let ye;a.mGM(ye=a.lsd())&&(x.classicLeftViewTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.classicRightViewTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.classicVerticalTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.largeImageTemplate=ye.first)}},inputs:{drop:"drop",userContent:"userContent",isLoading:"isLoading",shouldDisableButtons:"shouldDisableButtons",applyTheme:"applyTheme",platform:"platform",shouldAutoTriggerRsvpFlow:"shouldAutoTriggerRsvpFlow",isAnonymousUser:"isAnonymousUser"},outputs:{onSubmitAnother:"onSubmitAnother"},features:[a.OA$],decls:14,vars:3,consts:[["classicLeftTpl",""],["classicRightTpl",""],["classicVerticalTpl",""],["largeImageTpl",""],["metadataTpl",""],["mainButtonTpl",""],["live-themed","",3,"theme","applyThemeStyles"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"onSubmitAnother","content","userContent","platform","mainButtonTemplate","metadataTemplate"],[4,"ngIf"],[1,"title","card-text-color"],["class","subtitle card-text-color",4,"ngIf"],["class","price card-text-color",4,"ngIf"],[3,"isLoading","prompts","promptResponses","isDisabled","onPromptResponseChanges",4,"ngIf"],["class","mr-3",4,"ngIf"],[1,"mr-3"],["size","small","name","lock"],["size","small","name","calendar"],[3,"rootTooltip",4,"ngIf"],[3,"rootTooltip"],["size","small","name","unlock"],[1,"subtitle","card-text-color"],[1,"price","card-text-color"],[3,"message"],[3,"onPromptResponseChanges","isLoading","prompts","promptResponses","isDisabled"],[3,"drop","userContent","promptResponses","isLoading","forceDisabled"]],template:function(k,x){1&k&&(a.j41(0,"div",6),a.DNE(1,P4,1,1,"ng-container",7)(2,F4,1,5,"ng-template",null,0,a.C5r)(4,H7,1,5,"ng-template",null,1,a.C5r)(6,mC,1,5,"ng-template",null,2,a.C5r)(8,gC,1,5,"ng-template",null,3,a.C5r)(10,sS,6,5,"ng-template",null,4,a.C5r)(12,R_,1,5,"ng-template",null,5,a.C5r),a.k0s()),2&k&&(a.Y8G("theme",null==x.drop?null:x.drop.theme)("applyThemeStyles",x.applyTheme),a.R7$(),a.Y8G("ngIf",x.dropLayoutTemplate))},dependencies:[mf,L.bT,L.T3,_f,g_,jt,X3,R7,U6,U0,z4,L3,lc]})}return b})();const Q7=["classicLeftTpl"],yC=["classicRightTpl"],G6=["classicVerticalTpl"],bC=["largeImageTpl"];function J7(b,me){if(1&b&&a.eu8(0,8),2&b){const f=a.XpG();a.Y8G("ngTemplateOutlet",f.eventLayoutTemplate)}}function aS(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-left-view",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.event)("userContent",f.userEvent)("platform",f.platform)("metadataTemplate",k)("mainButtonTemplate",x)}}function CC(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-right-view",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.event)("userContent",f.userEvent)("platform",f.platform)("metadataTemplate",k)("mainButtonTemplate",x)}}function Z7(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-classic-vertical",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.event)("userContent",f.userEvent)("platform",f.platform)("metadataTemplate",k)("mainButtonTemplate",x)}}function wC(b,me){if(1&b){const f=a.RV6();a.j41(0,"lib-registerable-detail-large-image",9),a.bIt("onSubmitAnother",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.handleSubmitAnother())}),a.k0s()}if(2&b){const f=a.XpG(),k=a.sdS(11),x=a.sdS(13);a.Y8G("content",f.event)("userContent",f.userEvent)("platform",f.platform)("metadataTemplate",k)("mainButtonTemplate",x)}}function Oc(b,me){1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",17),a.j41(2,"span"),a.EFF(3,"Registration is closed"),a.k0s()())}function P_(b,me){if(1&b&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.R7$(),a.SpI(" Register by ",f.registrationCloseTime,"")}}function lS(b,me){if(1&b&&(a.j41(0,"span",20),a.EFF(1),a.k0s()),2&b){const f=a.XpG(4);a.FS9("rootTooltip","at "+f.registrationCloseTime),a.R7$(),a.SpI(" Register by ",f.registrationCloseDate," ")}}function F_(b,me){if(1&b&&(a.j41(0,"root-tag",16),a.nrm(1,"root-icon",18),a.DNE(2,P_,2,1,"span",10)(3,lS,2,2,"span",19),a.k0s()),2&b){const f=a.XpG(3);a.R7$(2),a.Y8G("ngIf",f.isCurrentDate(f.registrationCloseDate)),a.R7$(),a.Y8G("ngIf",!f.isCurrentDate(f.registrationCloseDate))}}function L_(b,me){if(1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",21),a.j41(2,"span"),a.EFF(3),a.k0s()()),2&b){const f=a.XpG(3);a.R7$(3),a.SpI("",f.remainingCount," left")}}function cS(b,me){1&b&&(a.j41(0,"root-tag"),a.nrm(1,"root-icon",22),a.j41(2,"span"),a.EFF(3,"Canceled"),a.k0s()())}function TC(b,me){if(1&b&&(a.j41(0,"div"),a.DNE(1,Oc,4,0,"root-tag",15)(2,F_,4,2,"root-tag",15)(3,L_,4,1,"root-tag",10)(4,cS,4,0,"root-tag",10),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.isFull)||(null==f.event?null:f.event.isPastRegistrationDeadline)),a.R7$(),a.Y8G("ngIf",(null==f.event?null:f.event.registrationCloseDate)&&!(null!=f.event&&f.event.isPastRegistrationDeadline)&&!(null!=f.event&&f.event.isFull)),a.R7$(),a.Y8G("ngIf",null==f.event||null==f.event.rsvpRestrictions?null:f.event.rsvpRestrictions.displayLimit),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.isCanceled)}}function SC(b,me){if(1&b&&(a.j41(0,"p",23),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",f.event.subtitle," ")}}function v8(b,me){if(1&b&&(a.j41(0,"p",23),a.EFF(1),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.SpI(" ",null==f.event?null:f.event.contentLocation," ")}}function dS(b,me){if(1&b&&(a.j41(0,"div",24),a.nrm(1,"root-alert",25),a.k0s()),2&b){const f=a.XpG(2);a.R7$(),a.Y8G("message",f.priceStr)}}function uS(b,me){if(1&b&&(a.DNE(0,TC,5,4,"div",10),a.j41(1,"h4",11),a.EFF(2),a.k0s(),a.j41(3,"h2",12),a.EFF(4),a.k0s(),a.DNE(5,SC,2,1,"p",13)(6,v8,2,1,"p",13)(7,dS,2,1,"div",14)),2&b){const f=a.XpG();a.Y8G("ngIf",(null==f.event?null:f.event.isFull)||(null==f.event?null:f.event.hasCapacity)&&(null==f.event||null==f.event.rsvpRestrictions?null:f.event.rsvpRestrictions.displayLimit)||(null==f.event?null:f.event.isCanceled)||(null==f.event?null:f.event.registrationCloseDate)),a.R7$(2),a.JRh(f.event.summary),a.R7$(2),a.SpI(" ",null==f.event?null:f.event.title," "),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.subtitle),a.R7$(),a.Y8G("ngIf",null==f.event?null:f.event.contentLocation),a.R7$(),a.Y8G("ngIf",f.priceStr)}}function kC(b,me){if(1&b&&a.nrm(0,"lib-event-main-button-view",26),2&b){const f=a.XpG();a.Y8G("event",f.event)("userEvent",f.userEvent)("isLoading",f.isLoading)("forceDisabled",f.shouldDisableButtons)}}let hS=(()=>{class b{constructor(f,k,x,ye){this._iconService=f,this._cdr=k,this._interactions=x,this._wrapperClasses=ye,this.isLoading=!1,this.shouldDisableButtons=!1,this.applyTheme=!0,this.onSubmitAnother=new a.bkB,this._iconService.registerIcons([Xf,lp,Au,k0])}ngOnChanges(f){f.event&&(this._updateProps(),this._handlePotentialRsvpHandoff())}ngDoCheck(){this.event&&this.event.hash!==this._cachedEventHash&&(this._updateProps(),this._updateLayout(),this._cachedEventHash=this.event.hash,this._cdr.markForCheck())}ngAfterViewInit(){this._updateLayout()}handleSubmitAnother(){this.onSubmitAnother.emit()}get remainingCount(){return Math.max(this.event?.rsvpRestrictions?.remaining,0)}_updateProps(){return this.registrationCloseDate=this.event?.registrationCloseDate?$(this.event.registrationCloseDate).format("MMM DD, YYYY"):null,this.registrationCloseTime=this.event?.registrationCloseDate?$(this.event?.registrationCloseDate).format("h:mm A"):null,this.priceStr=this.event?.tickets?.length>0?"$"+(this.event.tickets[0]?.price??0)/100:null,null}isCurrentDate(f){return f===$().format("MMM DD, YYYY")}_handlePotentialRsvpHandoff(){var f=this;return(0,y.A)(function*(){f.event&&f.shouldAutoTriggerRsvpFlow&&!f.userEvent?.rsvpEnabled&&!f._isRsvpHandoffPreviouslyTriggered&&!f.isAnonymousUser&&(f._interactions.registerForContent(f.event,f._wrapperClasses,[],!0),f._isRsvpHandoffPreviouslyTriggered=!0)})()}_updateLayout(){switch(this.event?.layout){case n.FvU.CLASSIC_LEFT:this.eventLayoutTemplate=this.classicLeftViewTemplate;break;case n.FvU.CLASSIC_RIGHT:this.eventLayoutTemplate=this.classicRightViewTemplate;break;case n.FvU.CLASSIC_VERTICAL:this.eventLayoutTemplate=this.classicVerticalTemplate;break;case n.FvU.LARGE_IMAGE:this.eventLayoutTemplate=this.largeImageTemplate;break;default:this.eventLayoutTemplate=this.classicLeftViewTemplate}}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr),a.rXU(a.gRc),a.rXU(I1),a.rXU(es))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-event-detail-view"]],viewQuery:function(k,x){if(1&k&&(a.GBs(Q7,5),a.GBs(yC,5),a.GBs(G6,5),a.GBs(bC,5)),2&k){let ye;a.mGM(ye=a.lsd())&&(x.classicLeftViewTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.classicRightViewTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.classicVerticalTemplate=ye.first),a.mGM(ye=a.lsd())&&(x.largeImageTemplate=ye.first)}},inputs:{event:"event",userEvent:"userEvent",isLoading:"isLoading",shouldDisableButtons:"shouldDisableButtons",applyTheme:"applyTheme",platform:"platform",shouldAutoTriggerRsvpFlow:"shouldAutoTriggerRsvpFlow",isAnonymousUser:"isAnonymousUser"},outputs:{onSubmitAnother:"onSubmitAnother"},features:[a.OA$],decls:14,vars:3,consts:[["classicLeftTpl",""],["classicRightTpl",""],["classicVerticalTpl",""],["largeImageTpl",""],["metadataTpl",""],["mainButtonTpl",""],["live-themed","",3,"theme","applyThemeStyles"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"onSubmitAnother","content","userContent","platform","metadataTemplate","mainButtonTemplate"],[4,"ngIf"],[1,"summary","card-text-color"],[1,"title","card-text-color"],["class","subtitle card-text-color",4,"ngIf"],["class","price card-text-color",4,"ngIf"],["class","mr-3",4,"ngIf"],[1,"mr-3"],["size","small","name","lock"],["size","small","name","calendar"],[3,"rootTooltip",4,"ngIf"],[3,"rootTooltip"],["size","small","name","unlock"],["size","small","name","x_circle"],[1,"subtitle","card-text-color"],[1,"price","card-text-color"],[3,"message"],[3,"event","userEvent","isLoading","forceDisabled"]],template:function(k,x){1&k&&(a.j41(0,"div",6),a.DNE(1,J7,1,1,"ng-container",7)(2,aS,1,5,"ng-template",null,0,a.C5r)(4,CC,1,5,"ng-template",null,1,a.C5r)(6,Z7,1,5,"ng-template",null,2,a.C5r)(8,wC,1,5,"ng-template",null,3,a.C5r)(10,uS,8,6,"ng-template",null,4,a.C5r)(12,kC,1,4,"ng-template",null,5,a.C5r),a.k0s()),2&k&&(a.Y8G("theme",null==x.event?null:x.event.theme)("applyThemeStyles",x.applyTheme),a.R7$(),a.Y8G("ngIf",x.eventLayoutTemplate))},dependencies:[L.bT,L.T3,X3,T_,R7,U6,U0,z4,L3,lc,jt,mf]})}return b})();function ey(b,me){if(1&b&&(a.j41(0,"h3",6),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.block.title," ")}}function mM(b,me){if(1&b&&(a.j41(0,"p",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.block.subtitle," ")}}function ty(b,me){if(1&b&&(a.j41(0,"h3",6),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",(null==f.block?null:f.block.postSubmitTitle)||f.defaultPostSubmitTitle," ")}}function ny(b,me){if(1&b&&(a.j41(0,"p",7),a.EFF(1),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.SpI(" ",f.block.postSubmitMessage," ")}}function iy(b,me){if(1&b){const f=a.RV6();a.j41(0,"form",8),a.bIt("ngSubmit",function(){a.eBV(f);const x=a.XpG();return a.Njj(x.submit())}),a.j41(1,"div",9),a.nrm(2,"norby-input",10)(3,"root-button",11),a.k0s()()}if(2&b){const f=a.XpG();a.Y8G("formGroup",f.formGroup),a.R7$(2),a.Y8G("isJoinedRight",!0),a.R7$(),a.FS9("text",(null==f.block?null:f.block.buttonLabel)||"Subscribe"),a.Y8G("adjacentInput",!0)("name",(null==f.block?null:f.block.buttonLabel)||"Subscribe")("loading",f.isLoading)("disabled",!f.formGroup.valid||f.isLoading)}}function oy(b,me){if(1&b&&a.nrm(0,"lib-soft-image-view",12),2&b){const f=a.XpG();a.Y8G("imageUrl",null==f.block?null:f.block.imageUrl)("image",null==f.block?null:f.block.image)("imgixImage",null==f.block?null:f.block.responsiveImage)("alt",null==f.block?null:f.block.title)}}function Ap(b,me){if(1&b&&(a.j41(0,"div",15),a.nrm(1,"lib-soft-image-view",16),a.k0s()),2&b){const f=me.$implicit,k=me.index,x=a.XpG(2);a.R7$(),a.Y8G("alt",null==x.block?null:x.block.title)("imageUrl",null==f?null:f.url)("image",f)("imgixImage",x.responsiveImages[k])}}function pS(b,me){if(1&b&&(a.j41(0,"root-carousel",13),a.DNE(1,Ap,2,4,"div",14),a.k0s()),2&b){const f=a.XpG();a.Y8G("autoPlay",!0)("autoPlaySpeed",6e3),a.R7$(),a.Y8G("ngForOf",f.images)}}let EC=(()=>{class b extends dl{constructor(f,k,x,ye){super(),this._formBuilder=f,this._interactions=k,this._error=x,this._cdr=ye,this.isLoading=!1,this.subscribed=!1,this.defaultPostSubmitTitle="Thanks!"}get images(){return this.block?.images||[]}get responsiveImages(){return this.block?.responsiveImages||[]}get tags(){return this.block?.tags||[]}ngOnInit(){super.ngOnInit(),this.formGroup=this._formBuilder.group({email:[null,[K.k0.required,K.k0.email]]})}submit(){var f=this;return(0,y.A)(function*(){f.isLoading=!0;const{email:k}=f.formGroup.value;f._cdr.detectChanges();const x=yield f.executeCaptcha();try{yield f._interactions.subscribeToNewsletter(k,x,f.tags),f.subscribed=!0}catch(ye){f._error.displayError(ye)}f.isLoading=!1,f._cdr.detectChanges()})()}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(K.ze),a.rXU(I1),a.rXU(K2),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-newsletter-signup-view"]],inputs:{block:"block",value:"value"},features:[a.Vt3],decls:10,vars:6,consts:[["coverTemplate",""],["carouselCoverTemplate",""],[1,"card","card-background-color",3,"cardCover"],["class","title card-text-color",4,"ngIf"],["class","subtitle card-text-color",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],[1,"title","card-text-color"],[1,"subtitle","card-text-color"],[3,"ngSubmit","formGroup"],["rootInputGroup",""],["type","email","formControlName","email","placeholder","your@email.com",3,"isJoinedRight"],["rootInputGroupSuffix","","type","primary","size","large",3,"adjacentInput","name","loading","disabled","text"],[3,"imageUrl","image","imgixImage","alt"],[3,"autoPlay","autoPlaySpeed"],["carousel-content","",4,"ngFor","ngForOf"],["carousel-content",""],[3,"alt","imageUrl","image","imgixImage"]],template:function(k,x){if(1&k&&(a.j41(0,"root-card",2),a.DNE(1,ey,2,1,"h3",3)(2,mM,2,1,"p",4)(3,ty,2,1,"h3",3)(4,ny,2,1,"p",4)(5,iy,4,7,"form",5),a.k0s(),a.DNE(6,oy,1,4,"ng-template",null,0,a.C5r)(8,pS,2,3,"ng-template",null,1,a.C5r)),2&k){const ye=a.sdS(7),kt=a.sdS(9);a.Y8G("cardCover",(null==x.images?null:x.images.length)>1?kt:null!=x.block&&x.block.imageUrl?ye:null),a.R7$(),a.Y8G("ngIf",!x.subscribed&&(null==x.block?null:x.block.title)),a.R7$(),a.Y8G("ngIf",!x.subscribed&&(null==x.block?null:x.block.subtitle)),a.R7$(),a.Y8G("ngIf",x.subscribed),a.R7$(),a.Y8G("ngIf",x.subscribed&&(null==x.block?null:x.block.postSubmitMessage)),a.R7$(),a.Y8G("ngIf",!x.subscribed)}},dependencies:[L.Sq,L.bT,K.qT,K.BC,K.cb,K.j4,K.JD,A1,V0,pc,xp,$h,L5,Xv,Cp],changeDetection:0})}return b})();const Rp=b=>({"mb-half-header-avatar-size":b}),P1=(b,me,f,k)=>({"mt-half-header-avatar-size":b,"shadow-none bg-white":me,"self-center w-header-avatar-size h-header-avatar-size":f,"rounded-full shadow-2":k}),F1=(b,me)=>({"left-8":b,"right-8":me});function MC(b,me){if(1&b&&a.nrm(0,"img",7),2&b){const f=a.XpG();a.xc7("height",f.height),a.Y8G("src",null==f.bgImage?null:f.bgImage.src,a.B4B)("srcset",null==f.bgImage?null:f.bgImage.srcset)}}function xC(b,me){if(1&b&&(a.j41(0,"a",10),a.nrm(1,"img",11),a.k0s()),2&b){const f=a.XpG(2);a.Y8G("href",f.href,a.B4B),a.BMQ("intercept",f.isRelative||null),a.R7$(),a.Aen(f.imageInlineStyle),a.xc7("height",f.sizeInPixels)("width","creator"===f.style?f.sizeInPixels:null),a.Y8G("src",null==f.avatarImage?null:f.avatarImage.src,a.B4B)("srcset",null==f.avatarImage?null:f.avatarImage.srcset)("alt",f.alt)}}function fS(b,me){if(1&b&&(a.j41(0,"a",10),a.nrm(1,"img",12),a.k0s()),2&b){const f=a.XpG(2);a.Y8G("href",f.href,a.B4B),a.BMQ("intercept",f.isRelative||null),a.R7$(),a.Aen(f.imageInlineStyle),a.xc7("height",f.sizeInPixels)("width","creator"===f.style?f.sizeInPixels:null),a.Y8G("src",null==f.avatarImage?null:f.avatarImage.src,a.B4B)("alt",f.alt)}}function mS(b,me){if(1&b&&(a.j41(0,"div",8),a.DNE(1,xC,2,11,"a",9)(2,fS,2,10,"a",9),a.k0s()),2&b){const f=a.XpG();a.xc7("height",f.sizeInPixels)("width","creator"===f.style?f.sizeInPixels:null),a.Y8G("ngClass",a.ziG(7,P1,f.dangleAvatar,f.dangleAvatar&&!(null!=f.block&&f.block.maskUrl),"creator"===f.style,"creator"===f.style&&!(null!=f.block&&f.block.maskUrl))),a.R7$(),a.Y8G("ngIf",null==f.avatarImage?null:f.avatarImage.srcset),a.R7$(),a.Y8G("ngIf",!(null!=f.avatarImage&&f.avatarImage.srcset))}}function ry(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-icon",16),a.bIt("click",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.toggleMenu())}),a.k0s()}if(2&b){const f=a.XpG(2);a.xc7("color",f.hamburgerMenuColor)}}function gS(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-icon",17),a.bIt("click",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.toggleMenu())}),a.k0s()}if(2&b){const f=a.XpG(2);a.xc7("color",f.hamburgerMenuColor)}}function sy(b,me){if(1&b&&(a.j41(0,"div",13),a.DNE(1,ry,1,2,"root-icon",14)(2,gS,1,2,"root-icon",15),a.k0s()),2&b){const f=a.XpG();a.R7$(),a.Y8G("ngIf",!f.menuOpen),a.R7$(),a.Y8G("ngIf",f.menuOpen)}}function j6(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-icon",16),a.bIt("click",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.toggleMenu())}),a.k0s()}if(2&b){const f=a.XpG(2);a.xc7("color",f.hamburgerMenuColor)}}function vS(b,me){if(1&b){const f=a.RV6();a.j41(0,"root-icon",17),a.bIt("click",function(){a.eBV(f);const x=a.XpG(2);return a.Njj(x.toggleMenu())}),a.k0s()}if(2&b){const f=a.XpG(2);a.xc7("color",f.hamburgerMenuColor)}}function IC(b,me){if(1&b&&(a.j41(0,"div",18),a.DNE(1,j6,1,2,"root-icon",14)(2,vS,1,2,"root-icon",15),a.k0s()),2&b){const f=a.XpG();a.Y8G("ngClass",a.l_i(3,F1,"left"===f.menuAlignment,"right"===f.menuAlignment)),a.R7$(),a.Y8G("ngIf",!f.menuOpen),a.R7$(),a.Y8G("ngIf",f.menuOpen)}}function _S(b,me){if(1&b&&(a.j41(0,"a",22),a.EFF(1),a.k0s()),2&b){const f=me.$implicit;a.Y8G("href",f.url,a.B4B),a.R7$(),a.SpI(" ",f.title," ")}}function DC(b,me){if(1&b&&(a.j41(0,"div",19)(1,"div",20),a.DNE(2,_S,2,2,"a",21),a.k0s()()),2&b){const f=a.XpG();a.xc7("background",f.backgroundColor),a.R7$(2),a.Y8G("ngForOf",f.menuOptions)}}let ay=(()=>{class b{constructor(f,k,x){this._useRawImages=f,this._iconService=k,this._content=x,this.dangleAvatar=!1,this.menuOpen=!1,this._iconService.registerIcons([Qf,E])}ngOnChanges(){var f=this;this._useRawImages?(this._bgSrc=this.block?.backgroundImage?.url,this._bgSrcSet="",this._avatarSrc=this.block?.avatarImage?.url,this._avatarSrcSet=""):(this._bgSrc=(0,n.AEw)(this.block?.backgroundImage?.url,this.block?.responsiveBackgroundImage),this._bgSrcSet=(0,n.sao)(this.block?.responsiveBackgroundImage),this._avatarSrc=(0,n.AEw)(this.block?.avatarImage?.url,this.block?.responsiveAvatarImage),this._avatarSrcSet=(0,n.sao)(this.block?.responsiveAvatarImage)),this.bgImage={src:this._bgSrc,srcset:this._bgSrcSet},this.avatarImage={src:this._avatarSrc,srcset:this._avatarSrcSet},this.imageInlineStyle=this.block?.maskUrl&&"creator"===this.style?`-webkit-mask-image: url(${this.block.maskUrl}); mask-image: url(${this.block.maskUrl}); width: ${this.sizeInPixels}; height: ${this.sizeInPixels}; -webkit-mask-size: ${this.sizeInPixels} ${this.sizeInPixels}`:"",this.menuOptions?.length>0&&this.shouldDisplayMenuIcon&&this.menuOptions.forEach(function(){var k=(0,y.A)(function*(x){const ye=yield f._content.getContent(x.contentId);x.url=ye?.urls?.clickThroughRaw||"javascript:void(0);",x?.title||(x.title=ye?.title||"")});return function(x){return k.apply(this,arguments)}}())}toggleMenu(){this.menuOpen=!this.menuOpen}get alt(){return this.block?.avatarImage?.altText||"Logo"}get height(){return`${this.block?.height||120}px`}get sizeInPixels(){return this.imageSize*this.block.height/100+"px"}get sizeInPixelsWithMenu(){return this.imageSize*this.block.height/100+36+"px"}get style(){return this.block?.style??"brand"}get headerType(){return this.block?.headerType||"imageOnly"}get shouldDisplayMenuOptions(){return"imageAndMenu"==this.headerType&&this.menuOpen}get shouldDisplayMenuIcon(){return"imageAndMenu"==this.headerType}get backgroundColor(){return this.block?.backgroundGradient??this.block?.backgroundColor}get href(){return this.block?.avatarClickThroughUrl??"javascript:void(0);"}get isRelative(){return"collection"===this.block?.avatarClickThroughUrlType}get isMenuCenter(){return"center"==this.menuAlignment}get menuAlignment(){return this.block?.menuAlignment||"right"}get menuOptions(){return this.block?.menuOptions??[]}get imageSize(){return this.block?.imageSize??100}get hamburgerMenuColor(){return this.block?.hamburgerMenuColor??"#000000"}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Tc,8),a.rXU(Xr),a.rXU(mm))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-header-view"]],inputs:{block:"block",dangleAvatar:"dangleAvatar"},features:[a.OA$],decls:7,vars:18,consts:[[1,"items-center","relative","flex","justify-center","h-header-avatar-size",3,"ngClass"],["class","object-cover absolute w-full","alt","Background",3,"src","srcset","height",4,"ngIf"],[1,"w-full","relative","z-10","flex","flex-col","justify-center","items-center"],["class","relative z-999 overflow-hidden",3,"ngClass","height","width",4,"ngIf"],["class","mt-2 cursor-pointer relative z-50",4,"ngIf"],["class","h-full absolute flex items-center z-50 text-2xl cursor-pointer",3,"ngClass",4,"ngIf"],["class","w-full relative z-50",3,"background",4,"ngIf"],["alt","Background",1,"object-cover","absolute","w-full",3,"src","srcset"],[1,"relative","z-999","overflow-hidden",3,"ngClass"],[3,"href",4,"ngIf"],[3,"href"],[1,"mask-centered",3,"src","srcset","alt"],[1,"mask-centered",3,"src","alt"],[1,"mt-2","cursor-pointer","relative","z-50"],["name","menu","size","large",3,"color","click",4,"ngIf"],["name","x","size","large",3,"color","click",4,"ngIf"],["name","menu","size","large",3,"click"],["name","x","size","large",3,"click"],[1,"h-full","absolute","flex","items-center","z-50","text-2xl","cursor-pointer",3,"ngClass"],[1,"w-full","relative","z-50"],[2,"display","flex","flex-direction","column"],["class","w-full p-4 border border-b-black cursor-pointer",3,"href",4,"ngFor","ngForOf"],[1,"w-full","p-4","border","border-b-black","cursor-pointer",3,"href"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.DNE(1,MC,1,4,"img",1),a.j41(2,"div",2),a.DNE(3,mS,3,12,"div",3)(4,sy,3,2,"div",4),a.k0s(),a.DNE(5,IC,3,6,"div",5),a.k0s(),a.DNE(6,DC,3,3,"div",6)),2&k&&(a.xc7("background",x.backgroundColor)("height",x.height),a.AVh("creator","creator"===x.style)("dangling-avatar",x.dangleAvatar),a.Y8G("ngClass",a.eq3(16,Rp,x.dangleAvatar)),a.R7$(),a.Y8G("ngIf",(null==x.bgImage?null:x.bgImage.src)||(null==x.bgImage||null==x.bgImage.srcset?null:x.bgImage.srcset.length)),a.R7$(),a.xc7("height",x.shouldDisplayMenuIcon&&x.isMenuCenter?x.sizeInPixelsWithMenu:x.sizeInPixels),a.R7$(),a.Y8G("ngIf",(null==x.avatarImage?null:x.avatarImage.src)||(null==x.avatarImage||null==x.avatarImage.srcset?null:x.avatarImage.srcset.length)),a.R7$(),a.Y8G("ngIf",x.shouldDisplayMenuIcon&&x.isMenuCenter),a.R7$(),a.Y8G("ngIf",x.shouldDisplayMenuIcon&&!x.isMenuCenter),a.R7$(),a.Y8G("ngIf",x.shouldDisplayMenuOptions))},dependencies:[L.YU,L.Sq,L.bT,jt]})}return b})();const OC=["*"];function V_(b,me){if(1&b&&(a.j41(0,"div",1)(1,"a",2),a.nrm(2,"img",3),a.k0s(),a.j41(3,"div"),a.SdG(4),a.k0s()()),2&b){const f=a.XpG();a.R7$(),a.Y8G("href",f.referralUrl,a.B4B)}}let yS=(()=>{class b extends Sa{constructor(f,k){super(),this._host=f,this._device=k,this.showBranding=!0,this._device.currentSlug$.pipe(this.takeUntilDestroy).subscribe(x=>this.slug=x)}get referralUrl(){return`https://join.${this._host}/?utm_source=${this.slug}&utm_medium=web&utm_content=footer&utm_campaign=referral`}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(n.iTi),a.rXU(Ql))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-footer-view"]],inputs:{showBranding:"showBranding"},features:[a.Vt3],ngContentSelectors:OC,decls:1,vars:1,consts:[["class","p-6 flex flex-col items-center justify-center mx-auto",4,"ngIf"],[1,"p-6","flex","flex-col","items-center","justify-center","mx-auto"],["target","_blank","rel","noreferrer","aria-label","by Norby","rootTooltip","Get yours!",1,"mb-2",3,"href"],["src","assets/img/builtwithnorby.png","width","312","height","274","alt","Built With Norby",2,"width","72px","height","auto"]],template:function(k,x){1&k&&(a.NAR(),a.DNE(0,V_,5,1,"div",0)),2&k&&a.Y8G("ngIf",x.showBranding)},dependencies:[L.bT,lc]})}return b})(),zC=(()=>{class b{constructor(f){this._iconService=f,this._iconService.registerIcons([Mh])}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Xr))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-global-loading-indicator-view"]],decls:2,vars:0,consts:[[1,"global-container"],["name","loader"]],template:function(k,x){1&k&&(a.j41(0,"div",0),a.nrm(1,"root-icon",1),a.k0s())},dependencies:[jt],styles:[".global-container[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;height:100vh;color:#fff;display:flex;justify-content:center;align-items:center;animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}return b})();const NC=["*"];function AC(b,me){if(1&b&&(a.j41(0,"div",1)(1,"a",2),a.nrm(2,"img",3),a.k0s(),a.j41(3,"div"),a.SdG(4),a.k0s()()),2&b){const f=a.XpG();a.R7$(),a.Y8G("href",f.referralUrl,a.B4B)}}let bS=(()=>{class b extends Sa{constructor(f){super(),this._device=f,this.showBranding=!0,this._device.currentSlug$.pipe(this.takeUntilDestroy).subscribe(k=>this.slug=k)}get referralUrl(){return`https://www.norby.chat/?utm_source=${this.slug}&utm_medium=web&utm_content=footer&utm_campaign=chat`}static#e=this.\u0275fac=function(k){return new(k||b)(a.rXU(Ql))};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["lib-chat-footer-view"]],inputs:{showBranding:"showBranding"},features:[a.Vt3],ngContentSelectors:NC,decls:1,vars:1,consts:[["class","p-6 flex flex-col items-center justify-center mx-auto",4,"ngIf"],[1,"p-6","flex","flex-col","items-center","justify-center","mx-auto"],["target","_blank","rel","noreferrer","aria-label","Norby Chat","rootTooltip","Learn more",1,"mb-2",3,"href"],["src","assets/img/builtwithnorby.png","width","312","height","274","alt","Norby Chat",2,"width","72px","height","auto"]],template:function(k,x){1&k&&(a.NAR(),a.DNE(0,AC,5,1,"div",0)),2&k&&a.Y8G("ngIf",x.showBranding)},dependencies:[L.bT,lc]})}return b})(),CS=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,wd,G3,fl]})}return b})(),wS=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),TS=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,wd,G3,fl]})}return b})(),ly=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Um,$m,fl,Bm]})}return b})(),SS=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD]})}return b})(),kS=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,gf,zp,wd,G3]})}return b})(),cy=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,fl]})}return b})(),L4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,fl,Ip,w4]})}return b})(),G0=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,qr.FQ,Bd,fl,Ip,w4]})}return b})(),RC=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,W3,b4,D6,V5,Bd,j3,o_]})}return b})(),PC=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,L4,G0,zp,$m,fl,wd,_4,Bm,RC,Uh]})}return b})(),V4=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,fl,Ip,w4]})}return b})(),dy=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,V4,G0,zp,$m,Uh,fl,wd,_4,Bm]})}return b})(),_8=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,qr.FQ,w4,Bd,fl,eb,W3,b4]})}return b})(),Jm=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Yl.iI,V4,L4,G0,zp,_8,Um,$m,fl,wd,_4,Bm,gf]})}return b})(),uy=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[_4,wd,gf,L.MD,RC,L4,G0,fl,n8,Jm,Yl.iI,_8,Um,Bm,zp,$m,Uh]})}return b})(),H6=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Yl.iI,n8,V4,G0,zp,_8,Jm,Um,$m,Uh,fl,wd,_4,Bm,gf]})}return b})(),hy=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,K.X1,gf,zp,Bd,wd,W3,b4]})}return b})(),py=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl]})}return b})(),FC=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,Uh]})}return b})(),fy=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,Bd,Uh]})}return b})(),gM=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,fl]})}return b})(),ES=(()=>{class b{static#e=this.\u0275fac=function(k){return new(k||b)};static#t=this.\u0275mod=a.$C({type:b});static#n=this.\u0275inj=a.G2t({imports:[L.MD,wd,Bm,zp,Um]})}return b})();class my{static dateRange(me,f,k){return x=>{const ye=new Date(x.get(me).value),kt=new Date(x.get(f).value);return ye&&kt&&ye>=kt?k:null}}}},49969:(De,A,C)=>{"use strict";C.d(A,{FX:()=>et,If:()=>y,K2:()=>ae,P:()=>qe,hZ:()=>n,i0:()=>a,i7:()=>fe,iF:()=>K,kY:()=>le,kp:()=>$,sf:()=>be,ui:()=>Pe,wk:()=>se,yc:()=>Ge});var y=function(z){return z[z.State=0]="State",z[z.Transition=1]="Transition",z[z.Sequence=2]="Sequence",z[z.Group=3]="Group",z[z.Animate=4]="Animate",z[z.Keyframes=5]="Keyframes",z[z.Style=6]="Style",z[z.Trigger=7]="Trigger",z[z.Reference=8]="Reference",z[z.AnimateChild=9]="AnimateChild",z[z.AnimateRef=10]="AnimateRef",z[z.Query=11]="Query",z[z.Stagger=12]="Stagger",z}(y||{});const $="*";function n(z,X){return{type:y.Trigger,name:z,definitions:X,options:{}}}function a(z,X=null){return{type:y.Animate,styles:X,timings:z}}function ae(z,X=null){return{type:y.Sequence,steps:z,options:X}}function K(z){return{type:y.Style,styles:z,offset:null}}function se(z,X,P){return{type:y.State,name:z,styles:X,options:P}}function fe(z){return{type:y.Keyframes,steps:z}}function le(z,X,P=null){return{type:y.Transition,expr:z,animation:X,options:P}}function qe(z,X,P=null){return{type:y.Query,selector:z,animation:X,options:P}}function Ge(z,X){return{type:y.Stagger,timings:z,animation:X}}class be{constructor(X=0,P=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=X+P}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const P="start"==X?this._onStartFns:this._onDoneFns;P.forEach(rt=>rt()),P.length=0}}class Pe{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let P=0,rt=0,Ue=0;const zt=this.players.length;0==zt?queueMicrotask(()=>this._onFinish()):this.players.forEach(sn=>{sn.onDone(()=>{++P==zt&&this._onFinish()}),sn.onDestroy(()=>{++rt==zt&&this._onDestroy()}),sn.onStart(()=>{++Ue==zt&&this._onStart()})}),this.totalTime=this.players.reduce((sn,Mt)=>Math.max(sn,Mt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const P=X*this.totalTime;this.players.forEach(rt=>{const Ue=rt.totalTime?Math.min(1,P/rt.totalTime):1;rt.setPosition(Ue)})}getPosition(){const X=this.players.reduce((P,rt)=>null===P||rt.totalTime>P.totalTime?rt:P,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const P="start"==X?this._onStartFns:this._onDoneFns;P.forEach(rt=>rt()),P.length=0}}const et="!"},89888:(De,A,C)=>{"use strict";C.d(A,{Pd:()=>Qn,kB:()=>gt,FN:()=>Ct,GX:()=>nt,_G:()=>wi,w6:()=>mi});var y=C(60177),$=C(93953),n=C(36860),a=C(21413),K=(C(18359),C(74402),C(7673)),se=C(84412),fe=C(67336),Ge=(C(88141),C(70152),C(5964),C(96354),C(96697),C(65245)),ht=C(23294),at=C(56977),dt=C(72318),ft=C(14085),ze=C(99327);let Ni=(()=>{class Nt{constructor(we){this._platform=we}isDisabled(we){return we.hasAttribute("disabled")}isVisible(we){return function oo(Nt){return!!(Nt.offsetWidth||Nt.offsetHeight||"function"==typeof Nt.getClientRects&&Nt.getClientRects().length)}(we)&&"visible"===getComputedStyle(we).visibility}isTabbable(we){if(!this._platform.isBrowser)return!1;const H=function Ci(Nt){try{return Nt.frameElement}catch{return null}}(function He(Nt){return Nt.ownerDocument&&Nt.ownerDocument.defaultView||window}(we));if(H&&(-1===En(H)||!this.isVisible(H)))return!1;let re=we.nodeName.toLowerCase(),ge=En(we);return we.hasAttribute("contenteditable")?-1!==ge:!("iframe"===re||"object"===re||this._platform.WEBKIT&&this._platform.IOS&&!function Xn(Nt){let Be=Nt.nodeName.toLowerCase(),we="input"===Be&&Nt.type;return"text"===we||"password"===we||"select"===Be||"textarea"===Be}(we))&&("audio"===re?!!we.hasAttribute("controls")&&-1!==ge:"video"===re?-1!==ge&&(null!==ge||this._platform.FIREFOX||we.hasAttribute("controls")):we.tabIndex>=0)}isFocusable(we,H){return function lt(Nt){return!function vi(Nt){return function fi(Nt){return"input"==Nt.nodeName.toLowerCase()}(Nt)&&"hidden"==Nt.type}(Nt)&&(function Rn(Nt){let Be=Nt.nodeName.toLowerCase();return"input"===Be||"select"===Be||"button"===Be||"textarea"===Be}(Nt)||function So(Nt){return function ei(Nt){return"a"==Nt.nodeName.toLowerCase()}(Nt)&&Nt.hasAttribute("href")}(Nt)||Nt.hasAttribute("contenteditable")||Yi(Nt))}(we)&&!this.isDisabled(we)&&(H?.ignoreVisibility||this.isVisible(we))}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO(n.OD))};static#t=this.\u0275prov=$.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}return Nt})();function Yi(Nt){if(!Nt.hasAttribute("tabindex")||void 0===Nt.tabIndex)return!1;let Be=Nt.getAttribute("tabindex");return!(!Be||isNaN(parseInt(Be,10)))}function En(Nt){if(!Yi(Nt))return null;const Be=parseInt(Nt.getAttribute("tabindex")||"",10);return isNaN(Be)?-1:Be}class Le{get enabled(){return this._enabled}set enabled(Be){this._enabled=Be,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Be,this._startAnchor),this._toggleAnchorTabIndex(Be,this._endAnchor))}constructor(Be,we,H,re,ge=!1,We){this._element=Be,this._checker=we,this._ngZone=H,this._document=re,this._injector=We,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ge||this.attachAnchors()}destroy(){const Be=this._startAnchor,we=this._endAnchor;Be&&(Be.removeEventListener("focus",this.startAnchorListener),Be.remove()),we&&(we.removeEventListener("focus",this.endAnchorListener),we.remove()),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(Be){return new Promise(we=>{this._executeOnStable(()=>we(this.focusInitialElement(Be)))})}focusFirstTabbableElementWhenReady(Be){return new Promise(we=>{this._executeOnStable(()=>we(this.focusFirstTabbableElement(Be)))})}focusLastTabbableElementWhenReady(Be){return new Promise(we=>{this._executeOnStable(()=>we(this.focusLastTabbableElement(Be)))})}_getRegionBoundary(Be){const we=this._element.querySelectorAll(`[cdk-focus-region-${Be}], [cdkFocusRegion${Be}], [cdk-focus-${Be}]`);return"start"==Be?we.length?we[0]:this._getFirstTabbableElement(this._element):we.length?we[we.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Be){const we=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(we){if(!this._checker.isFocusable(we)){const H=this._getFirstTabbableElement(we);return H?.focus(Be),!!H}return we.focus(Be),!0}return this.focusFirstTabbableElement(Be)}focusFirstTabbableElement(Be){const we=this._getRegionBoundary("start");return we&&we.focus(Be),!!we}focusLastTabbableElement(Be){const we=this._getRegionBoundary("end");return we&&we.focus(Be),!!we}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Be){if(this._checker.isFocusable(Be)&&this._checker.isTabbable(Be))return Be;const we=Be.children;for(let H=0;H<we.length;H++){const re=we[H].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(we[H]):null;if(re)return re}return null}_getLastTabbableElement(Be){if(this._checker.isFocusable(Be)&&this._checker.isTabbable(Be))return Be;const we=Be.children;for(let H=we.length-1;H>=0;H--){const re=we[H].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(we[H]):null;if(re)return re}return null}_createAnchor(){const Be=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Be),Be.classList.add("cdk-visually-hidden"),Be.classList.add("cdk-focus-trap-anchor"),Be.setAttribute("aria-hidden","true"),Be}_toggleAnchorTabIndex(Be,we){Be?we.setAttribute("tabindex","0"):we.removeAttribute("tabindex")}toggleAnchors(Be){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Be,this._startAnchor),this._toggleAnchorTabIndex(Be,this._endAnchor))}_executeOnStable(Be){this._injector?(0,$.mal)(Be,{injector:this._injector}):setTimeout(Be)}}let nt=(()=>{class Nt{constructor(we,H,re){this._checker=we,this._ngZone=H,this._injector=(0,$.WQX)($.zZn),this._document=re}create(we,H=!1){return new Le(we,this._checker,this._ngZone,this._document,H,this._injector)}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO(Ni),$.KVO($.SKi),$.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}return Nt})(),gt=(()=>{class Nt{get enabled(){return this.focusTrap?.enabled||!1}set enabled(we){this.focusTrap&&(this.focusTrap.enabled=we)}constructor(we,H,re){this._elementRef=we,this._focusTrapFactory=H,this._previouslyFocusedElement=null,(0,$.WQX)(n.OD).isBrowser&&(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&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(we){const H=we.autoCapture;H&&!H.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,n.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(H){return new(H||Nt)($.rXU($.aKT),$.rXU(nt),$.rXU(y.qQ))};static#t=this.\u0275dir=$.FsC({type:Nt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[$.GFd,$.OA$]})}return Nt})();function wi(Nt){return 0===Nt.buttons||0===Nt.detail}function mi(Nt){const Be=Nt.touches&&Nt.touches[0]||Nt.changedTouches&&Nt.changedTouches[0];return!(!Be||-1!==Be.identifier||null!=Be.radiusX&&1!==Be.radiusX||null!=Be.radiusY&&1!==Be.radiusY)}const Li=new $.nKC("cdk-input-modality-detector-options"),_o={ignoreKeys:[fe.A$,fe.W3,fe.eg,fe.Ge,fe.FX]},Di=(0,n.BQ)({passive:!0,capture:!0});let Mo=(()=>{class Nt{get mostRecentModality(){return this._modality.value}constructor(we,H,re,ge){this._platform=we,this._mostRecentTarget=null,this._modality=new se.t(null),this._lastTouchMs=0,this._onKeydown=We=>{this._options?.ignoreKeys?.some(Ft=>Ft===We.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,n.Fb)(We))},this._onMousedown=We=>{Date.now()-this._lastTouchMs<650||(this._modality.next(wi(We)?"keyboard":"mouse"),this._mostRecentTarget=(0,n.Fb)(We))},this._onTouchstart=We=>{mi(We)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,n.Fb)(We))},this._options={..._o,...ge},this.modalityDetected=this._modality.pipe((0,Ge.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ht.F)()),we.isBrowser&&H.runOutsideAngular(()=>{re.addEventListener("keydown",this._onKeydown,Di),re.addEventListener("mousedown",this._onMousedown,Di),re.addEventListener("touchstart",this._onTouchstart,Di)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Di),document.removeEventListener("mousedown",this._onMousedown,Di),document.removeEventListener("touchstart",this._onTouchstart,Di))}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO(n.OD),$.KVO($.SKi),$.KVO(y.qQ),$.KVO(Li,8))};static#t=this.\u0275prov=$.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}return Nt})();var xt=function(Nt){return Nt[Nt.IMMEDIATE=0]="IMMEDIATE",Nt[Nt.EVENTUAL=1]="EVENTUAL",Nt}(xt||{});const en=new $.nKC("cdk-focus-monitor-default-options"),ot=(0,n.BQ)({passive:!0,capture:!0});let Ct=(()=>{class Nt{constructor(we,H,re,ge,We){this._ngZone=we,this._platform=H,this._inputModalityDetector=re,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new a.B,this._rootNodeFocusAndBlurListener=Ft=>{for(let yn=(0,n.Fb)(Ft);yn;yn=yn.parentElement)"focus"===Ft.type?this._onFocus(Ft,yn):this._onBlur(Ft,yn)},this._document=ge,this._detectionMode=We?.detectionMode||xt.IMMEDIATE}monitor(we,H=!1){const re=(0,ft.i8)(we);if(!this._platform.isBrowser||1!==re.nodeType)return(0,K.of)();const ge=(0,n.KT)(re)||this._getDocument(),We=this._elementInfo.get(re);if(We)return H&&(We.checkChildren=!0),We.subject;const Ft={checkChildren:H,subject:new a.B,rootNode:ge};return this._elementInfo.set(re,Ft),this._registerGlobalListeners(Ft),Ft.subject}stopMonitoring(we){const H=(0,ft.i8)(we),re=this._elementInfo.get(H);re&&(re.subject.complete(),this._setClasses(H),this._elementInfo.delete(H),this._removeGlobalListeners(re))}focusVia(we,H,re){const ge=(0,ft.i8)(we);ge===this._getDocument().activeElement?this._getClosestElementsInfo(ge).forEach(([Ft,an])=>this._originChanged(Ft,H,an)):(this._setOrigin(H),"function"==typeof ge.focus&&ge.focus(re))}ngOnDestroy(){this._elementInfo.forEach((we,H)=>this.stopMonitoring(H))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(we){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(we)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:we&&this._isLastInteractionFromInputLabel(we)?"mouse":"program"}_shouldBeAttributedToTouch(we){return this._detectionMode===xt.EVENTUAL||!!we?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(we,H){we.classList.toggle("cdk-focused",!!H),we.classList.toggle("cdk-touch-focused","touch"===H),we.classList.toggle("cdk-keyboard-focused","keyboard"===H),we.classList.toggle("cdk-mouse-focused","mouse"===H),we.classList.toggle("cdk-program-focused","program"===H)}_setOrigin(we,H=!1){this._ngZone.runOutsideAngular(()=>{this._origin=we,this._originFromTouchInteraction="touch"===we&&H,this._detectionMode===xt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(we,H){const re=this._elementInfo.get(H),ge=(0,n.Fb)(we);!re||!re.checkChildren&&H!==ge||this._originChanged(H,this._getFocusOrigin(ge),re)}_onBlur(we,H){const re=this._elementInfo.get(H);!re||re.checkChildren&&we.relatedTarget instanceof Node&&H.contains(we.relatedTarget)||(this._setClasses(H),this._emitOrigin(re,null))}_emitOrigin(we,H){we.subject.observers.length&&this._ngZone.run(()=>we.subject.next(H))}_registerGlobalListeners(we){if(!this._platform.isBrowser)return;const H=we.rootNode,re=this._rootNodeFocusListenerCount.get(H)||0;re||this._ngZone.runOutsideAngular(()=>{H.addEventListener("focus",this._rootNodeFocusAndBlurListener,ot),H.addEventListener("blur",this._rootNodeFocusAndBlurListener,ot)}),this._rootNodeFocusListenerCount.set(H,re+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,at.Q)(this._stopInputModalityDetector)).subscribe(ge=>{this._setOrigin(ge,!0)}))}_removeGlobalListeners(we){const H=we.rootNode;if(this._rootNodeFocusListenerCount.has(H)){const re=this._rootNodeFocusListenerCount.get(H);re>1?this._rootNodeFocusListenerCount.set(H,re-1):(H.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ot),H.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ot),this._rootNodeFocusListenerCount.delete(H))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(we,H,re){this._setClasses(we,H),this._emitOrigin(re,H),this._lastFocusOrigin=H}_getClosestElementsInfo(we){const H=[];return this._elementInfo.forEach((re,ge)=>{(ge===we||re.checkChildren&&ge.contains(we))&&H.push([ge,re])}),H}_isLastInteractionFromInputLabel(we){const{_mostRecentTarget:H,mostRecentModality:re}=this._inputModalityDetector;if("mouse"!==re||!H||H===we||"INPUT"!==we.nodeName&&"TEXTAREA"!==we.nodeName||we.disabled)return!1;const ge=we.labels;if(ge)for(let We=0;We<ge.length;We++)if(ge[We].contains(H))return!0;return!1}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO($.SKi),$.KVO(n.OD),$.KVO(Mo),$.KVO(y.qQ,8),$.KVO(en,8))};static#t=this.\u0275prov=$.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}return Nt})();var tt=function(Nt){return Nt[Nt.NONE=0]="NONE",Nt[Nt.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Nt[Nt.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Nt}(tt||{});const ut="cdk-high-contrast-black-on-white",Et="cdk-high-contrast-white-on-black",gn="cdk-high-contrast-active";let Ut=(()=>{class Nt{constructor(we,H){this._platform=we,this._document=H,this._breakpointSubscription=(0,$.WQX)(ze.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return tt.NONE;const we=this._document.createElement("div");we.style.backgroundColor="rgb(1,2,3)",we.style.position="absolute",this._document.body.appendChild(we);const H=this._document.defaultView||window,re=H&&H.getComputedStyle?H.getComputedStyle(we):null,ge=(re&&re.backgroundColor||"").replace(/ /g,"");switch(we.remove(),ge){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return tt.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return tt.BLACK_ON_WHITE}return tt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const we=this._document.body.classList;we.remove(gn,ut,Et),this._hasCheckedHighContrastMode=!0;const H=this.getHighContrastMode();H===tt.BLACK_ON_WHITE?we.add(gn,ut):H===tt.WHITE_ON_BLACK&&we.add(gn,Et)}}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO(n.OD),$.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:Nt,factory:Nt.\u0275fac,providedIn:"root"})}return Nt})(),Qn=(()=>{class Nt{constructor(we){we._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(H){return new(H||Nt)($.KVO(Ut))};static#t=this.\u0275mod=$.$C({type:Nt});static#n=this.\u0275inj=$.G2t({imports:[dt.w5]})}return Nt})()},28203:(De,A,C)=>{"use strict";C.d(A,{dS:()=>K,jI:()=>fe});var y=C(93953),$=C(60177);const n=new y.nKC("cdk-dir-doc",{providedIn:"root",factory:function a(){return(0,y.WQX)($.qQ)}}),L=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let K=(()=>{class le{constructor(Ve){this.value="ltr",this.change=new y.bkB,Ve&&(this.value=function ae(le){const de=le?.toLowerCase()||"";return"auto"===de&&typeof navigator<"u"&&navigator?.language?L.test(navigator.language)?"rtl":"ltr":"rtl"===de?"rtl":"ltr"}((Ve.body?Ve.body.dir:null)||(Ve.documentElement?Ve.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(Ee){return new(Ee||le)(y.KVO(n,8))};static#t=this.\u0275prov=y.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),fe=(()=>{class le{static#e=this.\u0275fac=function(Ee){return new(Ee||le)};static#t=this.\u0275mod=y.$C({type:le});static#n=this.\u0275inj=y.G2t({})}return le})()},83801:(De,A,C)=>{"use strict";C.d(A,{FQ:()=>K,dF:()=>ae});var y=C(60177),$=C(93953);class n{constructor(fe,le){this._document=le;const de=this._textarea=this._document.createElement("textarea"),Ve=de.style;Ve.position="fixed",Ve.top=Ve.opacity="0",Ve.left="-999em",de.setAttribute("aria-hidden","true"),de.value=fe,de.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(de)}copy(){const fe=this._textarea;let le=!1;try{if(fe){const de=this._document.activeElement;fe.select(),fe.setSelectionRange(0,fe.value.length),le=this._document.execCommand("copy"),de&&de.focus()}}catch{}return le}destroy(){const fe=this._textarea;fe&&(fe.remove(),this._textarea=void 0)}}let a=(()=>{class se{constructor(le){this._document=le}copy(le){const de=this.beginCopy(le),Ve=de.copy();return de.destroy(),Ve}beginCopy(le){return new n(le,this._document)}static#e=this.\u0275fac=function(de){return new(de||se)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();const L=new $.nKC("CDK_COPY_TO_CLIPBOARD_CONFIG");let ae=(()=>{class se{constructor(le,de,Ve){this._clipboard=le,this._ngZone=de,this.text="",this.attempts=1,this.copied=new $.bkB,this._pending=new Set,Ve&&null!=Ve.attempts&&(this.attempts=Ve.attempts)}copy(le=this.attempts){if(le>1){let de=le;const Ve=this._clipboard.beginCopy(this.text);this._pending.add(Ve);const Ee=()=>{const qe=Ve.copy();qe||! --de||this._destroyed?(this._currentTimeout=null,this._pending.delete(Ve),Ve.destroy(),this.copied.emit(qe)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(Ee,1))};Ee()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(le=>le.destroy()),this._pending.clear(),this._destroyed=!0}static#e=this.\u0275fac=function(de){return new(de||se)($.rXU(a),$.rXU($.SKi),$.rXU(L,8))};static#t=this.\u0275dir=$.FsC({type:se,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(de,Ve){1&de&&$.bIt("click",function(){return Ve.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0})}return se})(),K=(()=>{class se{static#e=this.\u0275fac=function(de){return new(de||se)};static#t=this.\u0275mod=$.$C({type:se});static#n=this.\u0275inj=$.G2t({})}return se})()},14085:(De,A,C)=>{"use strict";C.d(A,{FG:()=>L,OE:()=>n,a1:()=>ae,he:()=>$,i8:()=>K});var y=C(93953);function $(fe){return null!=fe&&"false"!=`${fe}`}function n(fe,le=0){return function a(fe){return!isNaN(parseFloat(fe))&&!isNaN(Number(fe))}(fe)?Number(fe):2===arguments.length?le:0}function L(fe){return Array.isArray(fe)?fe:[fe]}function ae(fe){return null==fe?"":"string"==typeof fe?fe:`${fe}px`}function K(fe){return fe instanceof y.aKT?fe.nativeElement:fe}},1875:(De,A,C)=>{"use strict";C.d(A,{T1:()=>ot,Fb:()=>Cn,EM:()=>Qn,r0:()=>gn,O7:()=>ut,ad:()=>Be,HD:()=>En,eg:()=>Xn});var y=C(93953),$=C(60177),n=C(20946),a=C(89888),L=C(14085),ae=C(36860),K=C(21413),se=C(18359),fe=C(43236),le=C(41584),Ve=C(30536),Ee=C(71985),qe=C(57786),Ge=C(84412),ht=C(56977),at=C(96354),Tt=C(96697),dt=C(88141),ft=C(25558),ze=C(99172),B=C(28203);function Te(we){const H=we.cloneNode(!0),re=H.querySelectorAll("[id]"),ge=we.nodeName.toLowerCase();H.removeAttribute("id");for(let We=0;We<re.length;We++)re[We].removeAttribute("id");return"canvas"===ge?z(we,H):("input"===ge||"select"===ge||"textarea"===ge)&&et(we,H),be("canvas",we,H,z),be("input, textarea, select",we,H,et),H}function be(we,H,re,ge){const We=H.querySelectorAll(we);if(We.length){const Ft=re.querySelectorAll(we);for(let an=0;an<We.length;an++)ge(We[an],Ft[an])}}let Pe=0;function et(we,H){"file"!==H.type&&(H.value=we.value),"radio"===H.type&&H.name&&(H.name=`mat-clone-${H.name}-${Pe++}`)}function z(we,H){const re=H.getContext("2d");if(re)try{re.drawImage(we,0,0)}catch{}}function X(we){const H=we.getBoundingClientRect();return{top:H.top,right:H.right,bottom:H.bottom,left:H.left,width:H.width,height:H.height,x:H.x,y:H.y}}function P(we,H,re){const{top:ge,bottom:We,left:Ft,right:an}=we;return re>=ge&&re<=We&&H>=Ft&&H<=an}function rt(we,H,re){we.top+=H,we.bottom=we.top+we.height,we.left+=re,we.right=we.left+we.width}function Ue(we,H,re,ge){const{top:We,right:Ft,bottom:an,left:yn,width:di,height:ui}=we,Qi=di*H,yo=ui*H;return ge>We-yo&&ge<an+yo&&re>yn-Qi&&re<Ft+Qi}class zt{constructor(H){this._document=H,this.positions=new Map}clear(){this.positions.clear()}cache(H){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),H.forEach(re=>{this.positions.set(re,{scrollPosition:{top:re.scrollTop,left:re.scrollLeft},clientRect:X(re)})})}handleScroll(H){const re=(0,ae.Fb)(H),ge=this.positions.get(re);if(!ge)return null;const We=ge.scrollPosition;let Ft,an;if(re===this._document){const ui=this.getViewportScrollPosition();Ft=ui.top,an=ui.left}else Ft=re.scrollTop,an=re.scrollLeft;const yn=We.top-Ft,di=We.left-an;return this.positions.forEach((ui,Qi)=>{ui.clientRect&&re!==Qi&&re.contains(Qi)&&rt(ui.clientRect,yn,di)}),We.top=Ft,We.left=an,{top:yn,left:di}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function sn(we,H){const re=we.rootNodes;if(1===re.length&&re[0].nodeType===H.ELEMENT_NODE)return re[0];const ge=H.createElement("div");return re.forEach(We=>ge.appendChild(We)),ge}function Mt(we,H,re){for(let ge in H)if(H.hasOwnProperty(ge)){const We=H[ge];We?we.setProperty(ge,We,re?.has(ge)?"important":""):we.removeProperty(ge)}return we}function mt(we,H){const re=H?"":"none";Mt(we.style,{"touch-action":H?"":"none","-webkit-user-drag":H?"":"none","-webkit-tap-highlight-color":H?"":"transparent","user-select":re,"-ms-user-select":re,"-webkit-user-select":re,"-moz-user-select":re})}function Ke(we,H,re){Mt(we.style,{position:H?"":"fixed",top:H?"":"0",opacity:H?"":"0",left:H?"":"-999em"},re)}function Xe(we,H){return H&&"none"!=H?we+" "+H:we}function yt(we,H){we.style.width=`${H.width}px`,we.style.height=`${H.height}px`,we.style.transform=Rt(H.left,H.top)}function Rt(we,H){return`translate3d(${Math.round(we)}px, ${Math.round(H)}px, 0)`}function Vt(we){const H=we.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(we)*H}function oi(we,H){return we.getPropertyValue(H).split(",").map(ge=>ge.trim())}const Vn=new Set(["position"]);class Wn{get element(){return this._preview}constructor(H,re,ge,We,Ft,an,yn,di,ui){this._document=H,this._rootElement=re,this._direction=ge,this._initialDomRect=We,this._previewTemplate=Ft,this._previewClass=an,this._pickupPositionOnPage=yn,this._initialTransform=di,this._zIndex=ui}attach(H){this._preview=this._createPreview(),H.appendChild(this._preview),qn(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(H){this._preview.style.transform=H}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(H){this._preview.classList.add(H)}getTransitionDuration(){return function _n(we){const H=getComputedStyle(we),re=oi(H,"transition-property"),ge=re.find(yn=>"transform"===yn||"all"===yn);if(!ge)return 0;const We=re.indexOf(ge),Ft=oi(H,"transition-duration"),an=oi(H,"transition-delay");return Vt(Ft[We])+Vt(an[We])}(this._preview)}addEventListener(H,re){this._preview.addEventListener(H,re)}removeEventListener(H,re){this._preview.removeEventListener(H,re)}_createPreview(){const H=this._previewTemplate,re=this._previewClass,ge=H?H.template:null;let We;if(ge&&H){const Ft=H.matchSize?this._initialDomRect:null,an=H.viewContainer.createEmbeddedView(ge,H.context);an.detectChanges(),We=sn(an,this._document),this._previewEmbeddedView=an,H.matchSize?yt(We,Ft):We.style.transform=Rt(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else We=Te(this._rootElement),yt(We,this._initialDomRect),this._initialTransform&&(We.style.transform=this._initialTransform);return Mt(We.style,{"pointer-events":"none",margin:qn(We)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Vn),mt(We,!1),We.classList.add("cdk-drag-preview"),We.setAttribute("popover","manual"),We.setAttribute("dir",this._direction),re&&(Array.isArray(re)?re.forEach(Ft=>We.classList.add(Ft)):We.classList.add(re)),We}}function qn(we){return"showPopover"in we}const Ni=(0,ae.BQ)({passive:!0}),Ci=(0,ae.BQ)({passive:!1}),oo=(0,ae.BQ)({passive:!1,capture:!0}),vi=new Set(["position"]);class So{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(H){H!==this._disabled&&(this._disabled=H,this._toggleNativeDragInteractions(),this._handles.forEach(re=>mt(re,H)))}constructor(H,re,ge,We,Ft,an){this._config=re,this._document=ge,this._ngZone=We,this._viewportRuler=Ft,this._dragDropRegistry=an,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=(0,y.vPA)(!1),this._moveEvents=new K.B,this._pointerMoveSubscription=se.yU.EMPTY,this._pointerUpSubscription=se.yU.EMPTY,this._scrollSubscription=se.yU.EMPTY,this._resizeSubscription=se.yU.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this.scale=1,this._disabled=!1,this.beforeStarted=new K.B,this.started=new K.B,this.released=new K.B,this.ended=new K.B,this.entered=new K.B,this.exited=new K.B,this.dropped=new K.B,this.moved=this._moveEvents,this._pointerDown=yn=>{if(this.beforeStarted.next(),this._handles.length){const di=this._getTargetHandle(yn);di&&!this._disabledHandles.has(di)&&!this.disabled&&this._initializeDragSequence(di,yn)}else this.disabled||this._initializeDragSequence(this._rootElement,yn)},this._pointerMove=yn=>{const di=this._getPointerPositionOnPage(yn);if(!this._hasStartedDragging()){if(Math.abs(di.x-this._pickupPositionOnPage.x)+Math.abs(di.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Zt=Date.now()>=this._dragStartTime+this._getDragStartDelay(yn),Dn=this._dropContainer;if(!Zt)return void this._endDragSequence(yn);(!Dn||!Dn.isDragging()&&!Dn.isReceiving())&&(yn.cancelable&&yn.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(yn)))}return}yn.cancelable&&yn.preventDefault();const ui=this._getConstrainedPointerPosition(di);if(this._hasMoved=!0,this._lastKnownPointerPosition=di,this._updatePointerDirectionDelta(ui),this._dropContainer)this._updateActiveDropContainer(ui,di);else{const Qi=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,yo=this._activeTransform;yo.x=ui.x-Qi.x+this._passiveTransform.x,yo.y=ui.y-Qi.y+this._passiveTransform.y,this._applyRootElementTransform(yo.x,yo.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:ui,event:yn,distance:this._getDragDistance(ui),delta:this._pointerDirectionDelta})})},this._pointerUp=yn=>{this._endDragSequence(yn)},this._nativeDragStart=yn=>{if(this._handles.length){const di=this._getTargetHandle(yn);di&&!this._disabledHandles.has(di)&&!this.disabled&&yn.preventDefault()}else this.disabled||yn.preventDefault()},this.withRootElement(H).withParent(re.parentDragRef||null),this._parentPositions=new zt(ge),an.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(H){this._handles=H.map(ge=>(0,L.i8)(ge)),this._handles.forEach(ge=>mt(ge,this.disabled)),this._toggleNativeDragInteractions();const re=new Set;return this._disabledHandles.forEach(ge=>{this._handles.indexOf(ge)>-1&&re.add(ge)}),this._disabledHandles=re,this}withPreviewTemplate(H){return this._previewTemplate=H,this}withPlaceholderTemplate(H){return this._placeholderTemplate=H,this}withRootElement(H){const re=(0,L.i8)(H);return re!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{re.addEventListener("mousedown",this._pointerDown,Ci),re.addEventListener("touchstart",this._pointerDown,Ni),re.addEventListener("dragstart",this._nativeDragStart,Ci)}),this._initialTransform=void 0,this._rootElement=re),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(H){return this._boundaryElement=H?(0,L.i8)(H):null,this._resizeSubscription.unsubscribe(),H&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(H){return this._parentDragRef=H,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(H){!this._disabledHandles.has(H)&&this._handles.indexOf(H)>-1&&(this._disabledHandles.add(H),mt(H,!0))}enableHandle(H){this._disabledHandles.has(H)&&(this._disabledHandles.delete(H),mt(H,this.disabled))}withDirection(H){return this._direction=H,this}_withDropContainer(H){this._dropContainer=H}getFreeDragPosition(){const H=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:H.x,y:H.y}}setFreeDragPosition(H){return this._activeTransform={x:0,y:0},this._passiveTransform.x=H.x,this._passiveTransform.y=H.y,this._dropContainer||this._applyRootElementTransform(H.x,H.y),this}withPreviewContainer(H){return this._previewContainer=H,this}_sortFromLastPointerPosition(){const H=this._lastKnownPointerPosition;H&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(H),H)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Yi,oo)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(H){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging()))if(this.released.next({source:this,event:H}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(H),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const re=this._getPointerPositionOnPage(H);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(re),dropPoint:re,event:H})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(H){ei(H)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const re=this._getShadowRoot(),ge=this._dropContainer;if(re&&this._ngZone.runOutsideAngular(()=>{re.addEventListener("selectstart",Yi,oo)}),ge){const We=this._rootElement,Ft=We.parentNode,an=this._placeholder=this._createPlaceholderElement(),yn=this._anchor=this._anchor||this._document.createComment("");Ft.insertBefore(yn,We),this._initialTransform=We.style.transform||"",this._preview=new Wn(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(Ft,re)),Ke(We,!1,vi),this._document.body.appendChild(Ft.replaceChild(an,We)),this.started.next({source:this,event:H}),ge.start(),this._initialContainer=ge,this._initialIndex=ge.getItemIndex(this)}else this.started.next({source:this,event:H}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(ge?ge.getScrollableParents():[])}_initializeDragSequence(H,re){this._parentDragRef&&re.stopPropagation();const ge=this.isDragging(),We=ei(re),Ft=!We&&0!==re.button,an=this._rootElement,yn=(0,ae.Fb)(re),di=!We&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),ui=We?(0,a.w6)(re):(0,a._G)(re);if(yn&&yn.draggable&&"mousedown"===re.type&&re.preventDefault(),ge||Ft||di||ui)return;if(this._handles.length){const hn=an.style;this._rootElementTapHighlight=hn.webkitTapHighlightColor||"",hn.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(hn=>this._updateOnScroll(hn)),this._boundaryElement&&(this._boundaryRect=X(this._boundaryElement));const Qi=this._previewTemplate;this._pickupPositionInElement=Qi&&Qi.template&&!Qi.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,H,re);const yo=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(re);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:yo.x,y:yo.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,re)}_cleanupDragArtifacts(H){Ke(this._rootElement,!0,vi),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const re=this._dropContainer,ge=re.getItemIndex(this),We=this._getPointerPositionOnPage(H),Ft=this._getDragDistance(We),an=re._isOverContainer(We.x,We.y);this.ended.next({source:this,distance:Ft,dropPoint:We,event:H}),this.dropped.next({item:this,currentIndex:ge,previousIndex:this._initialIndex,container:re,previousContainer:this._initialContainer,isPointerOverContainer:an,distance:Ft,dropPoint:We,event:H}),re.drop(this,ge,this._initialIndex,this._initialContainer,an,Ft,We,H),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:H,y:re},{x:ge,y:We}){let Ft=this._initialContainer._getSiblingContainerFromPosition(this,H,re);!Ft&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(H,re)&&(Ft=this._initialContainer),Ft&&Ft!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=Ft,this._dropContainer.enter(this,H,re,Ft===this._initialContainer&&Ft.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Ft,currentIndex:Ft.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(ge,We),this._dropContainer._sortItem(this,H,re,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(H,re):this._applyPreviewTransform(H-this._pickupPositionInElement.x,re-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const H=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(H.left,H.top);const re=this._preview.getTransitionDuration();return 0===re?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(ge=>{const We=an=>{(!an||this._preview&&(0,ae.Fb)(an)===this._preview.element&&"transform"===an.propertyName)&&(this._preview?.removeEventListener("transitionend",We),ge(),clearTimeout(Ft))},Ft=setTimeout(We,1.5*re);this._preview.addEventListener("transitionend",We)}))}_createPlaceholderElement(){const H=this._placeholderTemplate,re=H?H.template:null;let ge;return re?(this._placeholderRef=H.viewContainer.createEmbeddedView(re,H.context),this._placeholderRef.detectChanges(),ge=sn(this._placeholderRef,this._document)):ge=Te(this._rootElement),ge.style.pointerEvents="none",ge.classList.add("cdk-drag-placeholder"),ge}_getPointerPositionInElement(H,re,ge){const We=re===this._rootElement?null:re,Ft=We?We.getBoundingClientRect():H,an=ei(ge)?ge.targetTouches[0]:ge,yn=this._getViewportScrollPosition();return{x:Ft.left-H.left+(an.pageX-Ft.left-yn.left),y:Ft.top-H.top+(an.pageY-Ft.top-yn.top)}}_getPointerPositionOnPage(H){const re=this._getViewportScrollPosition(),ge=ei(H)?H.touches[0]||H.changedTouches[0]||{pageX:0,pageY:0}:H,We=ge.pageX-re.left,Ft=ge.pageY-re.top;if(this._ownerSVGElement){const an=this._ownerSVGElement.getScreenCTM();if(an){const yn=this._ownerSVGElement.createSVGPoint();return yn.x=We,yn.y=Ft,yn.matrixTransform(an.inverse())}}return{x:We,y:Ft}}_getConstrainedPointerPosition(H){const re=this._dropContainer?this._dropContainer.lockAxis:null;let{x:ge,y:We}=this.constrainPosition?this.constrainPosition(H,this,this._initialDomRect,this._pickupPositionInElement):H;if("x"===this.lockAxis||"x"===re?We=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===re)&&(ge=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:Ft,y:an}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,yn=this._boundaryRect,{width:di,height:ui}=this._getPreviewRect(),Qi=yn.top+an,yo=yn.bottom-(ui-an);ge=fi(ge,yn.left+Ft,yn.right-(di-Ft)),We=fi(We,Qi,yo)}return{x:ge,y:We}}_updatePointerDirectionDelta(H){const{x:re,y:ge}=H,We=this._pointerDirectionDelta,Ft=this._pointerPositionAtLastDirectionChange,an=Math.abs(re-Ft.x),yn=Math.abs(ge-Ft.y);return an>this._config.pointerDirectionChangeThreshold&&(We.x=re>Ft.x?1:-1,Ft.x=re),yn>this._config.pointerDirectionChangeThreshold&&(We.y=ge>Ft.y?1:-1,Ft.y=ge),We}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const H=this._handles.length>0||!this.isDragging();H!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=H,mt(this._rootElement,H))}_removeRootElementListeners(H){H.removeEventListener("mousedown",this._pointerDown,Ci),H.removeEventListener("touchstart",this._pointerDown,Ni),H.removeEventListener("dragstart",this._nativeDragStart,Ci)}_applyRootElementTransform(H,re){const ge=1/this.scale,We=Rt(H*ge,re*ge),Ft=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=Ft.transform&&"none"!=Ft.transform?Ft.transform:""),Ft.transform=Xe(We,this._initialTransform)}_applyPreviewTransform(H,re){const ge=this._previewTemplate?.template?void 0:this._initialTransform,We=Rt(H,re);this._preview.setTransform(Xe(We,ge))}_getDragDistance(H){const re=this._pickupPositionOnPage;return re?{x:H.x-re.x,y:H.y-re.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:H,y:re}=this._passiveTransform;if(0===H&&0===re||this.isDragging()||!this._boundaryElement)return;const ge=this._rootElement.getBoundingClientRect(),We=this._boundaryElement.getBoundingClientRect();if(0===We.width&&0===We.height||0===ge.width&&0===ge.height)return;const Ft=We.left-ge.left,an=ge.right-We.right,yn=We.top-ge.top,di=ge.bottom-We.bottom;We.width>ge.width?(Ft>0&&(H+=Ft),an>0&&(H-=an)):H=0,We.height>ge.height?(yn>0&&(re+=yn),di>0&&(re-=di)):re=0,(H!==this._passiveTransform.x||re!==this._passiveTransform.y)&&this.setFreeDragPosition({y:re,x:H})}_getDragStartDelay(H){const re=this.dragStartDelay;return"number"==typeof re?re:ei(H)?re.touch:re?re.mouse:0}_updateOnScroll(H){const re=this._parentPositions.handleScroll(H);if(re){const ge=(0,ae.Fb)(H);this._boundaryRect&&ge!==this._boundaryElement&&ge.contains(this._boundaryElement)&&rt(this._boundaryRect,re.top,re.left),this._pickupPositionOnPage.x+=re.left,this._pickupPositionOnPage.y+=re.top,this._dropContainer||(this._activeTransform.x-=re.left,this._activeTransform.y-=re.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,ae.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(H,re){const ge=this._previewContainer||"global";if("parent"===ge)return H;if("global"===ge){const We=this._document;return re||We.fullscreenElement||We.webkitFullscreenElement||We.mozFullScreenElement||We.msFullscreenElement||We.body}return(0,L.i8)(ge)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(H){return this._handles.find(re=>H.target&&(H.target===re||re.contains(H.target)))}}function fi(we,H,re){return Math.max(H,Math.min(re,we))}function ei(we){return"t"===we.type[0]}function Yi(we){we.preventDefault()}function En(we,H,re){const ge=He(H,we.length-1),We=He(re,we.length-1);if(ge===We)return;const Ft=we[ge],an=We<ge?-1:1;for(let yn=ge;yn!==We;yn+=an)we[yn]=we[yn+an];we[We]=Ft}function Xn(we,H,re,ge){const We=He(re,we.length-1),Ft=He(ge,H.length);we.length&&H.splice(Ft,0,we.splice(We,1)[0])}function He(we,H){return Math.max(0,Math.min(H,we))}class Le{constructor(H){this._dragDropRegistry=H,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(H){this.withItems(H)}sort(H,re,ge,We){const Ft=this._itemPositions,an=this._getItemIndexFromPointerPosition(H,re,ge,We);if(-1===an&&Ft.length>0)return null;const yn="horizontal"===this.orientation,di=Ft.findIndex($i=>$i.drag===H),ui=Ft[an],yo=ui.clientRect,hn=di>an?1:-1,Zt=this._getItemOffsetPx(Ft[di].clientRect,yo,hn),Dn=this._getSiblingOffsetPx(di,Ft,hn),gi=Ft.slice();return En(Ft,di,an),Ft.forEach(($i,ro)=>{if(gi[ro]===$i)return;const go=$i.drag===H,Ao=go?Zt:Dn,Yo=go?H.getPlaceholderElement():$i.drag.getRootElement();$i.offset+=Ao;const $r=Math.round($i.offset*(1/$i.drag.scale));yn?(Yo.style.transform=Xe(`translate3d(${$r}px, 0, 0)`,$i.initialTransform),rt($i.clientRect,0,Ao)):(Yo.style.transform=Xe(`translate3d(0, ${$r}px, 0)`,$i.initialTransform),rt($i.clientRect,Ao,0))}),this._previousSwap.overlaps=P(yo,re,ge),this._previousSwap.drag=ui.drag,this._previousSwap.delta=yn?We.x:We.y,{previousIndex:di,currentIndex:an}}enter(H,re,ge,We){const Ft=null==We||We<0?this._getItemIndexFromPointerPosition(H,re,ge):We,an=this._activeDraggables,yn=an.indexOf(H),di=H.getPlaceholderElement();let ui=an[Ft];if(ui===H&&(ui=an[Ft+1]),!ui&&(null==Ft||-1===Ft||Ft<an.length-1)&&this._shouldEnterAsFirstChild(re,ge)&&(ui=an[0]),yn>-1&&an.splice(yn,1),ui&&!this._dragDropRegistry.isDragging(ui)){const Qi=ui.getRootElement();Qi.parentElement.insertBefore(di,Qi),an.splice(Ft,0,H)}else this._element.appendChild(di),an.push(H);di.style.transform="",this._cacheItemPositions()}withItems(H){this._activeDraggables=H.slice(),this._cacheItemPositions()}withSortPredicate(H){this._sortPredicate=H}reset(){this._activeDraggables?.forEach(H=>{const re=H.getRootElement();if(re){const ge=this._itemPositions.find(We=>We.drag===H)?.initialTransform;re.style.transform=ge||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(H){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(ge=>ge.drag===H)}updateOnScroll(H,re){this._itemPositions.forEach(({clientRect:ge})=>{rt(ge,H,re)}),this._itemPositions.forEach(({drag:ge})=>{this._dragDropRegistry.isDragging(ge)&&ge._sortFromLastPointerPosition()})}withElementContainer(H){this._element=H}_cacheItemPositions(){const H="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(re=>{const ge=re.getVisibleElement();return{drag:re,offset:0,initialTransform:ge.style.transform||"",clientRect:X(ge)}}).sort((re,ge)=>H?re.clientRect.left-ge.clientRect.left:re.clientRect.top-ge.clientRect.top)}_getItemOffsetPx(H,re,ge){const We="horizontal"===this.orientation;let Ft=We?re.left-H.left:re.top-H.top;return-1===ge&&(Ft+=We?re.width-H.width:re.height-H.height),Ft}_getSiblingOffsetPx(H,re,ge){const We="horizontal"===this.orientation,Ft=re[H].clientRect,an=re[H+-1*ge];let yn=Ft[We?"width":"height"]*ge;if(an){const di=We?"left":"top",ui=We?"right":"bottom";-1===ge?yn-=an.clientRect[di]-Ft[ui]:yn+=Ft[di]-an.clientRect[ui]}return yn}_shouldEnterAsFirstChild(H,re){if(!this._activeDraggables.length)return!1;const ge=this._itemPositions,We="horizontal"===this.orientation;if(ge[0].drag!==this._activeDraggables[0]){const an=ge[ge.length-1].clientRect;return We?H>=an.right:re>=an.bottom}{const an=ge[0].clientRect;return We?H<=an.left:re<=an.top}}_getItemIndexFromPointerPosition(H,re,ge,We){const Ft="horizontal"===this.orientation,an=this._itemPositions.findIndex(({drag:yn,clientRect:di})=>yn!==H&&((!We||yn!==this._previousSwap.drag||!this._previousSwap.overlaps||(Ft?We.x:We.y)!==this._previousSwap.delta)&&(Ft?re>=Math.floor(di.left)&&re<Math.floor(di.right):ge>=Math.floor(di.top)&&ge<Math.floor(di.bottom))));return-1!==an&&this._sortPredicate(an,H)?an:-1}}class nt{constructor(H,re){this._document=H,this._dragDropRegistry=re,this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1},this._relatedNodes=[]}start(H){const re=this._element.childNodes;this._relatedNodes=[];for(let ge=0;ge<re.length;ge++){const We=re[ge];this._relatedNodes.push([We,We.nextSibling])}this.withItems(H)}sort(H,re,ge,We){const Ft=this._getItemIndexFromPointerPosition(H,re,ge),an=this._previousSwap;if(-1===Ft||this._activeItems[Ft]===H)return null;const yn=this._activeItems[Ft];if(an.drag===yn&&an.overlaps&&an.deltaX===We.x&&an.deltaY===We.y)return null;const di=this.getItemIndex(H),ui=H.getPlaceholderElement(),Qi=yn.getRootElement();Ft>di?Qi.after(ui):Qi.before(ui),En(this._activeItems,di,Ft);const yo=this._getRootNode().elementFromPoint(re,ge);return an.deltaX=We.x,an.deltaY=We.y,an.drag=yn,an.overlaps=Qi===yo||Qi.contains(yo),{previousIndex:di,currentIndex:Ft}}enter(H,re,ge,We){let Ft=null==We||We<0?this._getItemIndexFromPointerPosition(H,re,ge):We;-1===Ft&&(Ft=this._getClosestItemIndexToPointer(H,re,ge));const an=this._activeItems[Ft],yn=this._activeItems.indexOf(H);yn>-1&&this._activeItems.splice(yn,1),an&&!this._dragDropRegistry.isDragging(an)?(this._activeItems.splice(Ft,0,H),an.getRootElement().before(H.getPlaceholderElement())):(this._activeItems.push(H),this._element.appendChild(H.getPlaceholderElement()))}withItems(H){this._activeItems=H.slice()}withSortPredicate(H){this._sortPredicate=H}reset(){const H=this._element,re=this._previousSwap;for(let ge=this._relatedNodes.length-1;ge>-1;ge--){const[We,Ft]=this._relatedNodes[ge];We.parentNode===H&&We.nextSibling!==Ft&&(null===Ft?H.appendChild(We):Ft.parentNode===H&&H.insertBefore(We,Ft))}this._relatedNodes=[],this._activeItems=[],re.drag=null,re.deltaX=re.deltaY=0,re.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(H){return this._activeItems.indexOf(H)}updateOnScroll(){this._activeItems.forEach(H=>{this._dragDropRegistry.isDragging(H)&&H._sortFromLastPointerPosition()})}withElementContainer(H){H!==this._element&&(this._element=H,this._rootNode=void 0)}_getItemIndexFromPointerPosition(H,re,ge){const We=this._getRootNode().elementFromPoint(Math.floor(re),Math.floor(ge)),Ft=We?this._activeItems.findIndex(an=>{const yn=an.getRootElement();return We===yn||yn.contains(We)}):-1;return-1!==Ft&&this._sortPredicate(Ft,H)?Ft:-1}_getRootNode(){return this._rootNode||(this._rootNode=(0,ae.KT)(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(H,re,ge){if(0===this._activeItems.length)return-1;if(1===this._activeItems.length)return 0;let We=1/0,Ft=-1;for(let an=0;an<this._activeItems.length;an++){const yn=this._activeItems[an];if(yn!==H){const{x:di,y:ui}=yn.getRootElement().getBoundingClientRect(),Qi=Math.hypot(re-di,ge-ui);Qi<We&&(We=Qi,Ft=an)}}return Ft}}var rn=function(we){return we[we.NONE=0]="NONE",we[we.UP=1]="UP",we[we.DOWN=2]="DOWN",we}(rn||{}),mn=function(we){return we[we.NONE=0]="NONE",we[we.LEFT=1]="LEFT",we[we.RIGHT=2]="RIGHT",we}(mn||{});class ri{constructor(H,re,ge,We,Ft){this._dragDropRegistry=re,this._ngZone=We,this._viewportRuler=Ft,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new K.B,this.entered=new K.B,this.exited=new K.B,this.dropped=new K.B,this.sorted=new K.B,this.receivingStarted=new K.B,this.receivingStopped=new K.B,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=se.yU.EMPTY,this._verticalScrollDirection=rn.NONE,this._horizontalScrollDirection=mn.NONE,this._stopScrollTimers=new K.B,this._cachedShadowRoot=null,this._scrollableElements=[],this._direction="ltr",this._startScrollInterval=()=>{this._stopScrolling(),function de(we=0,H=fe.E){return we<0&&(we=0),(0,le.O)(we,we,H)}(0,Ve.X).pipe((0,ht.Q)(this._stopScrollTimers)).subscribe(()=>{const yn=this._scrollNode,di=this.autoScrollStep;this._verticalScrollDirection===rn.UP?yn.scrollBy(0,-di):this._verticalScrollDirection===rn.DOWN&&yn.scrollBy(0,di),this._horizontalScrollDirection===mn.LEFT?yn.scrollBy(-di,0):this._horizontalScrollDirection===mn.RIGHT&&yn.scrollBy(di,0)})};const an=this.element=(0,L.i8)(H);this._document=ge,this.withOrientation("vertical").withElementContainer(an),re.registerDropContainer(this),this._parentPositions=new zt(ge)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(H,re,ge,We){this._draggingStarted(),null==We&&this.sortingDisabled&&(We=this._draggables.indexOf(H)),this._sortStrategy.enter(H,re,ge,We),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:H,container:this,currentIndex:this.getItemIndex(H)})}exit(H){this._reset(),this.exited.next({item:H,container:this})}drop(H,re,ge,We,Ft,an,yn,di={}){this._reset(),this.dropped.next({item:H,currentIndex:re,previousIndex:ge,container:this,previousContainer:We,isPointerOverContainer:Ft,distance:an,dropPoint:yn,event:di})}withItems(H){const re=this._draggables;return this._draggables=H,H.forEach(ge=>ge._withDropContainer(this)),this.isDragging()&&(re.filter(We=>We.isDragging()).every(We=>-1===H.indexOf(We))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(H){return this._direction=H,this._sortStrategy instanceof Le&&(this._sortStrategy.direction=H),this}connectedTo(H){return this._siblings=H.slice(),this}withOrientation(H){if("mixed"===H)this._sortStrategy=new nt(this._document,this._dragDropRegistry);else{const re=new Le(this._dragDropRegistry);re.direction=this._direction,re.orientation=H,this._sortStrategy=re}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((re,ge)=>this.sortPredicate(re,ge,this)),this}withScrollableParents(H){const re=this._container;return this._scrollableElements=-1===H.indexOf(re)?[re,...H]:H.slice(),this}withElementContainer(H){if(H===this._container)return this;(0,L.i8)(this.element);const ge=this._scrollableElements.indexOf(this._container),We=this._scrollableElements.indexOf(H);return ge>-1&&this._scrollableElements.splice(ge,1),We>-1&&this._scrollableElements.splice(We,1),this._sortStrategy&&this._sortStrategy.withElementContainer(H),this._cachedShadowRoot=null,this._scrollableElements.unshift(H),this._container=H,this}getScrollableParents(){return this._scrollableElements}getItemIndex(H){return this._isDragging?this._sortStrategy.getItemIndex(H):this._draggables.indexOf(H)}isReceiving(){return this._activeSiblings.size>0}_sortItem(H,re,ge,We){if(this.sortingDisabled||!this._domRect||!Ue(this._domRect,.05,re,ge))return;const Ft=this._sortStrategy.sort(H,re,ge,We);Ft&&this.sorted.next({previousIndex:Ft.previousIndex,currentIndex:Ft.currentIndex,container:this,item:H})}_startScrollingIfNecessary(H,re){if(this.autoScrollDisabled)return;let ge,We=rn.NONE,Ft=mn.NONE;if(this._parentPositions.positions.forEach((an,yn)=>{yn===this._document||!an.clientRect||ge||Ue(an.clientRect,.05,H,re)&&([We,Ft]=function mi(we,H,re,ge,We){const Ft=Bi(H,We),an=wi(H,ge);let yn=rn.NONE,di=mn.NONE;if(Ft){const ui=we.scrollTop;Ft===rn.UP?ui>0&&(yn=rn.UP):we.scrollHeight-ui>we.clientHeight&&(yn=rn.DOWN)}if(an){const ui=we.scrollLeft;"rtl"===re?an===mn.RIGHT?ui<0&&(di=mn.RIGHT):we.scrollWidth+ui>we.clientWidth&&(di=mn.LEFT):an===mn.LEFT?ui>0&&(di=mn.LEFT):we.scrollWidth-ui>we.clientWidth&&(di=mn.RIGHT)}return[yn,di]}(yn,an.clientRect,this._direction,H,re),(We||Ft)&&(ge=yn))}),!We&&!Ft){const{width:an,height:yn}=this._viewportRuler.getViewportSize(),di={width:an,height:yn,top:0,right:an,bottom:yn,left:0};We=Bi(di,re),Ft=wi(di,H),ge=window}ge&&(We!==this._verticalScrollDirection||Ft!==this._horizontalScrollDirection||ge!==this._scrollNode)&&(this._verticalScrollDirection=We,this._horizontalScrollDirection=Ft,this._scrollNode=ge,(We||Ft)&&ge?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const H=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=H.msScrollSnapType||H.scrollSnapType||"",H.scrollSnapType=H.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;const H=this._container.style;H.scrollSnapType=H.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(re=>re._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(H,re){return null!=this._domRect&&P(this._domRect,H,re)}_getSiblingContainerFromPosition(H,re,ge){return this._siblings.find(We=>We._canReceive(H,re,ge))}_canReceive(H,re,ge){if(!this._domRect||!P(this._domRect,re,ge)||!this.enterPredicate(H,this))return!1;const We=this._getShadowRoot().elementFromPoint(re,ge);return!!We&&(We===this._container||this._container.contains(We))}_startReceiving(H,re){const ge=this._activeSiblings;!ge.has(H)&&re.every(We=>this.enterPredicate(We,this)||this._draggables.indexOf(We)>-1)&&(ge.add(H),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:H,receiver:this,items:re}))}_stopReceiving(H){this._activeSiblings.delete(H),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:H,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(H=>{if(this.isDragging()){const re=this._parentPositions.handleScroll(H);re&&this._sortStrategy.updateOnScroll(re.top,re.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const H=(0,ae.KT)(this._container);this._cachedShadowRoot=H||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const H=this._sortStrategy.getActiveItemsSnapshot().filter(re=>re.isDragging());this._siblings.forEach(re=>re._startReceiving(this,H))}}function Bi(we,H){const{top:re,bottom:ge,height:We}=we,Ft=.05*We;return H>=re-Ft&&H<=re+Ft?rn.UP:H>=ge-Ft&&H<=ge+Ft?rn.DOWN:rn.NONE}function wi(we,H){const{left:re,right:ge,width:We}=we,Ft=.05*We;return H>=re-Ft&&H<=re+Ft?mn.LEFT:H>=ge-Ft&&H<=ge+Ft?mn.RIGHT:mn.NONE}const Li=(0,ae.BQ)({passive:!1,capture:!0}),_o=new Set;let Vi=(()=>{class we{static#e=this.\u0275fac=function(ge){return new(ge||we)};static#t=this.\u0275cmp=y.VBU({type:we,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[y.aNF],decls:0,vars:0,template:function(ge,We){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0})}return we})(),Di=(()=>{class we{constructor(re,ge){this._ngZone=re,this._appRef=(0,y.WQX)(y.o8S),this._environmentInjector=(0,y.WQX)(y.uvJ),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=(0,y.vPA)([]),this._globalListeners=new Map,this._draggingPredicate=We=>We.isDragging(),this.pointerMove=new K.B,this.pointerUp=new K.B,this.scroll=new K.B,this._preventDefaultWhileDragging=We=>{this._activeDragInstances().length>0&&We.preventDefault()},this._persistentTouchmoveListener=We=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&We.preventDefault(),this.pointerMove.next(We))},this._document=ge}registerDropContainer(re){this._dropInstances.has(re)||this._dropInstances.add(re)}registerDragItem(re){this._dragInstances.add(re),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Li)})}removeDropContainer(re){this._dropInstances.delete(re)}removeDragItem(re){this._dragInstances.delete(re),this.stopDragging(re),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Li)}startDragging(re,ge){if(!(this._activeDragInstances().indexOf(re)>-1)&&(this._loadResets(),this._activeDragInstances.update(We=>[...We,re]),1===this._activeDragInstances().length)){const We=ge.type.startsWith("touch");this._globalListeners.set(We?"touchend":"mouseup",{handler:Ft=>this.pointerUp.next(Ft),options:!0}).set("scroll",{handler:Ft=>this.scroll.next(Ft),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Li}),We||this._globalListeners.set("mousemove",{handler:Ft=>this.pointerMove.next(Ft),options:Li}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((Ft,an)=>{this._document.addEventListener(an,Ft.handler,Ft.options)})})}}stopDragging(re){this._activeDragInstances.update(ge=>{const We=ge.indexOf(re);return We>-1?(ge.splice(We,1),[...ge]):ge}),0===this._activeDragInstances().length&&this._clearGlobalListeners()}isDragging(re){return this._activeDragInstances().indexOf(re)>-1}scrolled(re){const ge=[this.scroll];return re&&re!==this._document&&ge.push(new Ee.c(We=>this._ngZone.runOutsideAngular(()=>{const an=yn=>{this._activeDragInstances().length&&We.next(yn)};return re.addEventListener("scroll",an,!0),()=>{re.removeEventListener("scroll",an,!0)}}))),(0,qe.h)(...ge)}ngOnDestroy(){this._dragInstances.forEach(re=>this.removeDragItem(re)),this._dropInstances.forEach(re=>this.removeDropContainer(re)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((re,ge)=>{this._document.removeEventListener(ge,re.handler,re.options)}),this._globalListeners.clear()}_loadResets(){if(!_o.has(this._appRef)){_o.add(this._appRef);const re=(0,y.a0P)(Vi,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{_o.delete(this._appRef),0===_o.size&&re.destroy()})}}static#e=this.\u0275fac=function(ge){return new(ge||we)(y.KVO(y.SKi),y.KVO($.qQ))};static#t=this.\u0275prov=y.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const Mo={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Yt=(()=>{class we{constructor(re,ge,We,Ft){this._document=re,this._ngZone=ge,this._viewportRuler=We,this._dragDropRegistry=Ft}createDrag(re,ge=Mo){return new So(re,ge,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(re){return new ri(re,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(ge){return new(ge||we)(y.KVO($.qQ),y.KVO(y.SKi),y.KVO(n.Xj),y.KVO(Di))};static#t=this.\u0275prov=y.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const Hn=new y.nKC("CDK_DRAG_PARENT"),qt=new y.nKC("CdkDragHandle");let Cn=(()=>{class we{get disabled(){return this._disabled}set disabled(re){this._disabled=re,this._stateChanges.next(this)}constructor(re,ge){this.element=re,this._parentDrag=ge,this._stateChanges=new K.B,this._disabled=!1,ge?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static#e=this.\u0275fac=function(ge){return new(ge||we)(y.rXU(y.aKT),y.rXU(Hn,12))};static#t=this.\u0275dir=y.FsC({type:we,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",y.L39]},standalone:!0,features:[y.Jv_([{provide:qt,useExisting:we}]),y.GFd]})}return we})();const Bn=new y.nKC("CDK_DRAG_CONFIG"),en=new y.nKC("CdkDropList");let ot=(()=>{class we{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(re){this._disabled=re,this._dragRef.disabled=this._disabled}constructor(re,ge,We,Ft,an,yn,di,ui,Qi,yo,hn){this.element=re,this.dropContainer=ge,this._ngZone=Ft,this._viewContainerRef=an,this._dir=di,this._changeDetectorRef=Qi,this._selfHandle=yo,this._parentDrag=hn,this._destroyed=new K.B,this._handles=new Ge.t([]),this.scale=1,this.started=new y.bkB,this.released=new y.bkB,this.ended=new y.bkB,this.entered=new y.bkB,this.exited=new y.bkB,this.dropped=new y.bkB,this.moved=new Ee.c(Zt=>{const Dn=this._dragRef.moved.pipe((0,at.T)(gi=>({source:this,pointerPosition:gi.pointerPosition,event:gi.event,delta:gi.delta,distance:gi.distance}))).subscribe(Zt);return()=>{Dn.unsubscribe()}}),this._injector=(0,y.WQX)(y.zZn),this._dragRef=ui.createDrag(re,{dragStartThreshold:yn&&null!=yn.dragStartThreshold?yn.dragStartThreshold:5,pointerDirectionChangeThreshold:yn&&null!=yn.pointerDirectionChangeThreshold?yn.pointerDirectionChangeThreshold:5,zIndex:yn?.zIndex}),this._dragRef.data=this,we._dragInstances.push(this),yn&&this._assignDefaults(yn),ge&&(this._dragRef._withDropContainer(ge._dropListRef),ge.addItem(this),ge._dropListRef.beforeStarted.pipe((0,ht.Q)(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(re){this._dragRef.setFreeDragPosition(re)}ngAfterViewInit(){(0,y.mal)(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(re){const ge=re.rootElementSelector,We=re.freeDragPosition;ge&&!ge.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,We&&!We.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const re=we._dragInstances.indexOf(this);re>-1&&we._dragInstances.splice(re,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(re){const ge=this._handles.getValue();ge.push(re),this._handles.next(ge)}_removeHandle(re){const ge=this._handles.getValue(),We=ge.indexOf(re);We>-1&&(ge.splice(We,1),this._handles.next(ge))}_setPreviewTemplate(re){this._previewTemplate=re}_resetPreviewTemplate(re){re===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(re){this._placeholderTemplate=re}_resetPlaceholderTemplate(re){re===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const re=this.element.nativeElement;let ge=re;this.rootElementSelector&&(ge=void 0!==re.closest?re.closest(this.rootElementSelector):re.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(ge||re)}_getBoundaryElement(){const re=this.boundaryElement;return re?"string"==typeof re?this.element.nativeElement.closest(re):(0,L.i8)(re):null}_syncInputs(re){re.beforeStarted.subscribe(()=>{if(!re.isDragging()){const ge=this._dir,We=this.dragStartDelay,Ft=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,an=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;re.disabled=this.disabled,re.lockAxis=this.lockAxis,re.scale=this.scale,re.dragStartDelay="object"==typeof We&&We?We:(0,L.OE)(We),re.constrainPosition=this.constrainPosition,re.previewClass=this.previewClass,re.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Ft).withPreviewTemplate(an).withPreviewContainer(this.previewContainer||"global"),ge&&re.withDirection(ge.value)}}),re.beforeStarted.pipe((0,Tt.s)(1)).subscribe(()=>{if(this._parentDrag)return void re.withParent(this._parentDrag._dragRef);let ge=this.element.nativeElement.parentElement;for(;ge;){if(ge.classList.contains("cdk-drag")){re.withParent(we._dragInstances.find(We=>We.element.nativeElement===ge)?._dragRef||null);break}ge=ge.parentElement}})}_handleEvents(re){re.started.subscribe(ge=>{this.started.emit({source:this,event:ge.event}),this._changeDetectorRef.markForCheck()}),re.released.subscribe(ge=>{this.released.emit({source:this,event:ge.event})}),re.ended.subscribe(ge=>{this.ended.emit({source:this,distance:ge.distance,dropPoint:ge.dropPoint,event:ge.event}),this._changeDetectorRef.markForCheck()}),re.entered.subscribe(ge=>{this.entered.emit({container:ge.container.data,item:this,currentIndex:ge.currentIndex})}),re.exited.subscribe(ge=>{this.exited.emit({container:ge.container.data,item:this})}),re.dropped.subscribe(ge=>{this.dropped.emit({previousIndex:ge.previousIndex,currentIndex:ge.currentIndex,previousContainer:ge.previousContainer.data,container:ge.container.data,isPointerOverContainer:ge.isPointerOverContainer,item:this,distance:ge.distance,dropPoint:ge.dropPoint,event:ge.event})})}_assignDefaults(re){const{lockAxis:ge,dragStartDelay:We,constrainPosition:Ft,previewClass:an,boundaryElement:yn,draggingDisabled:di,rootElementSelector:ui,previewContainer:Qi}=re;this.disabled=di??!1,this.dragStartDelay=We||0,ge&&(this.lockAxis=ge),Ft&&(this.constrainPosition=Ft),an&&(this.previewClass=an),yn&&(this.boundaryElement=yn),ui&&(this.rootElementSelector=ui),Qi&&(this.previewContainer=Qi)}_setupHandlesListener(){this._handles.pipe((0,dt.M)(re=>{const ge=re.map(We=>We.element);this._selfHandle&&this.rootElementSelector&&ge.push(this.element),this._dragRef.withHandles(ge)}),(0,ft.n)(re=>(0,qe.h)(...re.map(ge=>ge._stateChanges.pipe((0,ze.Z)(ge))))),(0,ht.Q)(this._destroyed)).subscribe(re=>{const ge=this._dragRef,We=re.element.nativeElement;re.disabled?ge.disableHandle(We):ge.enableHandle(We)})}static#t=this.\u0275fac=function(ge){return new(ge||we)(y.rXU(y.aKT),y.rXU(en,12),y.rXU($.qQ),y.rXU(y.SKi),y.rXU(y.c1b),y.rXU(Bn,8),y.rXU(B.dS,8),y.rXU(Yt),y.rXU(y.gRc),y.rXU(qt,10),y.rXU(Hn,12))};static#n=this.\u0275dir=y.FsC({type:we,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(ge,We){2&ge&&y.AVh("cdk-drag-disabled",We.disabled)("cdk-drag-dragging",We._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",y.L39],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",y.Udg]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[y.Jv_([{provide:Hn,useExisting:we}]),y.GFd,y.OA$]})}return we})();const Ct=new y.nKC("CdkDropListGroup");let tt=0,ut=(()=>{class we{static#e=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(re){this._dropListRef.disabled=this._disabled=re}constructor(re,ge,We,Ft,an,yn,di){this.element=re,this._changeDetectorRef=We,this._scrollDispatcher=Ft,this._dir=an,this._group=yn,this._destroyed=new K.B,this.connectedTo=[],this.id="cdk-drop-list-"+tt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new y.bkB,this.entered=new y.bkB,this.exited=new y.bkB,this.sorted=new y.bkB,this._unsortedItems=new Set,this._dropListRef=ge.createDropList(re),this._dropListRef.data=this,di&&this._assignDefaults(di),this._dropListRef.enterPredicate=(ui,Qi)=>this.enterPredicate(ui.data,Qi.data),this._dropListRef.sortPredicate=(ui,Qi,yo)=>this.sortPredicate(ui,Qi.data,yo.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),we._dropLists.push(this),yn&&yn._items.add(this)}addItem(re){this._unsortedItems.add(re),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(re){this._unsortedItems.delete(re),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((re,ge)=>re._dragRef.getVisibleElement().compareDocumentPosition(ge._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const re=we._dropLists.indexOf(this);re>-1&&we._dropLists.splice(re,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(re){this._dir&&this._dir.change.pipe((0,ze.Z)(this._dir.value),(0,ht.Q)(this._destroyed)).subscribe(ge=>re.withDirection(ge)),re.beforeStarted.subscribe(()=>{const ge=(0,L.FG)(this.connectedTo).map(We=>"string"==typeof We?we._dropLists.find(an=>an.id===We):We);if(this._group&&this._group._items.forEach(We=>{-1===ge.indexOf(We)&&ge.push(We)}),!this._scrollableParentsResolved){const We=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Ft=>Ft.getElementRef().nativeElement);this._dropListRef.withScrollableParents(We),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){const We=this.element.nativeElement.querySelector(this.elementContainerSelector);re.withElementContainer(We)}re.disabled=this.disabled,re.lockAxis=this.lockAxis,re.sortingDisabled=this.sortingDisabled,re.autoScrollDisabled=this.autoScrollDisabled,re.autoScrollStep=(0,L.OE)(this.autoScrollStep,2),re.connectedTo(ge.filter(We=>We&&We!==this).map(We=>We._dropListRef)).withOrientation(this.orientation)})}_handleEvents(re){re.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),re.entered.subscribe(ge=>{this.entered.emit({container:this,item:ge.item.data,currentIndex:ge.currentIndex})}),re.exited.subscribe(ge=>{this.exited.emit({container:this,item:ge.item.data}),this._changeDetectorRef.markForCheck()}),re.sorted.subscribe(ge=>{this.sorted.emit({previousIndex:ge.previousIndex,currentIndex:ge.currentIndex,container:this,item:ge.item.data})}),re.dropped.subscribe(ge=>{this.dropped.emit({previousIndex:ge.previousIndex,currentIndex:ge.currentIndex,previousContainer:ge.previousContainer.data,container:ge.container.data,item:ge.item.data,isPointerOverContainer:ge.isPointerOverContainer,distance:ge.distance,dropPoint:ge.dropPoint,event:ge.event}),this._changeDetectorRef.markForCheck()}),(0,qe.h)(re.receivingStarted,re.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(re){const{lockAxis:ge,draggingDisabled:We,sortingDisabled:Ft,listAutoScrollDisabled:an,listOrientation:yn}=re;this.disabled=We??!1,this.sortingDisabled=Ft??!1,this.autoScrollDisabled=an??!1,this.orientation=yn||"vertical",ge&&(this.lockAxis=ge)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(re=>re._dragRef))}static#t=this.\u0275fac=function(ge){return new(ge||we)(y.rXU(y.aKT),y.rXU(Yt),y.rXU(y.gRc),y.rXU(n.R),y.rXU(B.dS,8),y.rXU(Ct,12),y.rXU(Bn,8))};static#n=this.\u0275dir=y.FsC({type:we,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(ge,We){2&ge&&(y.BMQ("id",We.id),y.AVh("cdk-drop-list-disabled",We.disabled)("cdk-drop-list-dragging",We._dropListRef.isDragging())("cdk-drop-list-receiving",We._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",y.L39],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",y.L39],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",y.L39],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[y.Jv_([{provide:Ct,useValue:void 0},{provide:en,useExisting:we}]),y.GFd]})}return we})();const Et=new y.nKC("CdkDragPreview");let gn=(()=>{class we{constructor(re){this.templateRef=re,this._drag=(0,y.WQX)(Hn,{optional:!0}),this.matchSize=!1,this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static#e=this.\u0275fac=function(ge){return new(ge||we)(y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:we,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",y.L39]},standalone:!0,features:[y.Jv_([{provide:Et,useExisting:we}]),y.GFd]})}return we})();const Ut=new y.nKC("CdkDragPlaceholder");let Qn=(()=>{class we{constructor(re){this.templateRef=re,this._drag=(0,y.WQX)(Hn,{optional:!0}),this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static#e=this.\u0275fac=function(ge){return new(ge||we)(y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:we,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[y.Jv_([{provide:Ut,useExisting:we}])]})}return we})(),Be=(()=>{class we{static#e=this.\u0275fac=function(ge){return new(ge||we)};static#t=this.\u0275mod=y.$C({type:we});static#n=this.\u0275inj=y.G2t({providers:[Yt],imports:[n.Gj]})}return we})()},67336:(De,A,C)=>{"use strict";C.d(A,{A:()=>Rt,A$:()=>se,FX:()=>ae,Fm:()=>L,G_:()=>$,Ge:()=>ri,Kp:()=>Ge,LE:()=>dt,UQ:()=>at,W3:()=>K,Z:()=>mn,_f:()=>de,bn:()=>Mt,dB:()=>qe,eg:()=>Fn,f2:()=>Pe,i7:()=>Tt,n6:()=>ft,rp:()=>ai,t6:()=>Ve,w_:()=>Ee,wn:()=>n,yZ:()=>ht});const $=8,n=9,L=13,ae=16,K=17,se=18,de=27,Ve=32,Ee=33,qe=34,Ge=35,ht=36,at=37,Tt=38,dt=39,ft=40,Pe=48,Mt=57,Rt=65,mn=90,ri=91,Fn=224;function ai(ln,...On){return On.length?On.some(Ln=>ln[Ln]):ln.altKey||ln.shiftKey||ln.ctrlKey||ln.metaKey}},99327:(De,A,C)=>{"use strict";C.d(A,{DY:()=>at,QP:()=>ft});var y=C(93953),$=C(14085),n=C(21413),a=C(84572),L=C(28793),ae=C(71985),K=C(96697),se=C(65245),fe=C(70152),le=C(96354),de=C(99172),Ve=C(56977),Ee=C(36860);const Ge=new Set;let ht,at=(()=>{class Te{constructor(Pe,et){this._platform=Pe,this._nonce=et,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dt}matchMedia(Pe){return(this._platform.WEBKIT||this._platform.BLINK)&&function Tt(Te,be){if(!Ge.has(Te))try{ht||(ht=document.createElement("style"),be&&ht.setAttribute("nonce",be),ht.setAttribute("type","text/css"),document.head.appendChild(ht)),ht.sheet&&(ht.sheet.insertRule(`@media ${Te} {body{ }}`,0),Ge.add(Te))}catch(Pe){console.error(Pe)}}(Pe,this._nonce),this._matchMedia(Pe)}static#e=this.\u0275fac=function(et){return new(et||Te)(y.KVO(Ee.OD),y.KVO(y.BIS,8))};static#t=this.\u0275prov=y.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();function dt(Te){return{matches:"all"===Te||""===Te,media:Te,addListener:()=>{},removeListener:()=>{}}}let ft=(()=>{class Te{constructor(Pe,et){this._mediaMatcher=Pe,this._zone=et,this._queries=new Map,this._destroySubject=new n.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Pe){return ze((0,$.FG)(Pe)).some(z=>this._registerQuery(z).mql.matches)}observe(Pe){const z=ze((0,$.FG)(Pe)).map(P=>this._registerQuery(P).observable);let X=(0,a.z)(z);return X=(0,L.x)(X.pipe((0,K.s)(1)),X.pipe((0,se.i)(1),(0,fe.B)(0))),X.pipe((0,le.T)(P=>{const rt={matches:!1,breakpoints:{}};return P.forEach(({matches:Ue,query:zt})=>{rt.matches=rt.matches||Ue,rt.breakpoints[zt]=Ue}),rt}))}_registerQuery(Pe){if(this._queries.has(Pe))return this._queries.get(Pe);const et=this._mediaMatcher.matchMedia(Pe),X={observable:new ae.c(P=>{const rt=Ue=>this._zone.run(()=>P.next(Ue));return et.addListener(rt),()=>{et.removeListener(rt)}}).pipe((0,de.Z)(et),(0,le.T)(({matches:P})=>({query:Pe,matches:P})),(0,Ve.Q)(this._destroySubject)),mql:et};return this._queries.set(Pe,X),X}static#e=this.\u0275fac=function(et){return new(et||Te)(y.KVO(at),y.KVO(y.SKi))};static#t=this.\u0275prov=y.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})();function ze(Te){return Te.map(be=>be.split(",")).reduce((be,Pe)=>be.concat(Pe)).map(be=>be.trim())}},72318:(De,A,C)=>{"use strict";C.d(A,{w5:()=>ae});var y=C(93953);let n=(()=>{class K{create(fe){return typeof MutationObserver>"u"?null:new MutationObserver(fe)}static#e=this.\u0275fac=function(le){return new(le||K)};static#t=this.\u0275prov=y.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})(),ae=(()=>{class K{static#e=this.\u0275fac=function(le){return new(le||K)};static#t=this.\u0275mod=y.$C({type:K});static#n=this.\u0275inj=y.G2t({providers:[n]})}return K})()},47987:(De,A,C)=>{"use strict";C.d(A,{$Q:()=>fi,Jr:()=>Ue,Sf:()=>Mt,WB:()=>ei,hJ:()=>Rn,lF:()=>Ci,rR:()=>be,uH:()=>Pe,yY:()=>mt,z_:()=>Xn});var y=C(20946),$=C(60177),n=C(93953),a=C(14085),L=C(36860),ae=C(5964),K=C(56977),se=C(77048),fe=C(28203),le=C(76939),de=C(21413),Ve=C(18359),Ee=C(57786),qe=C(67336);const Ge=(0,L.CZ)();class ht{constructor(Le,nt){this._viewportRuler=Le,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=nt}attach(){}enable(){if(this._canBeEnabled()){const Le=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Le.style.left||"",this._previousHTMLStyles.top=Le.style.top||"",Le.style.left=(0,a.a1)(-this._previousScrollPosition.left),Le.style.top=(0,a.a1)(-this._previousScrollPosition.top),Le.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Le=this._document.documentElement,gt=Le.style,Dt=this._document.body.style,rn=gt.scrollBehavior||"",mn=Dt.scrollBehavior||"";this._isEnabled=!1,gt.left=this._previousHTMLStyles.left,gt.top=this._previousHTMLStyles.top,Le.classList.remove("cdk-global-scrollblock"),Ge&&(gt.scrollBehavior=Dt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ge&&(gt.scrollBehavior=rn,Dt.scrollBehavior=mn)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const nt=this._document.body,gt=this._viewportRuler.getViewportSize();return nt.scrollHeight>gt.height||nt.scrollWidth>gt.width}}class Tt{constructor(Le,nt,gt,Dt){this._scrollDispatcher=Le,this._ngZone=nt,this._viewportRuler=gt,this._config=Dt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Le){this._overlayRef=Le}enable(){if(this._scrollSubscription)return;const Le=this._scrollDispatcher.scrolled(0).pipe((0,ae.p)(nt=>!nt||!this._overlayRef.overlayElement.contains(nt.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Le.subscribe(()=>{const nt=this._viewportRuler.getViewportScrollPosition().top;Math.abs(nt-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Le.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class dt{enable(){}disable(){}attach(){}}function ft(He,Le){return Le.some(nt=>He.bottom<nt.top||He.top>nt.bottom||He.right<nt.left||He.left>nt.right)}function ze(He,Le){return Le.some(nt=>He.top<nt.top||He.bottom>nt.bottom||He.left<nt.left||He.right>nt.right)}class B{constructor(Le,nt,gt,Dt){this._scrollDispatcher=Le,this._viewportRuler=nt,this._ngZone=gt,this._config=Dt,this._scrollSubscription=null}attach(Le){this._overlayRef=Le}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const nt=this._overlayRef.overlayElement.getBoundingClientRect(),{width:gt,height:Dt}=this._viewportRuler.getViewportSize();ft(nt,[{width:gt,height:Dt,bottom:Dt,right:gt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Te=(()=>{class He{constructor(nt,gt,Dt,rn){this._scrollDispatcher=nt,this._viewportRuler=gt,this._ngZone=Dt,this.noop=()=>new dt,this.close=mn=>new Tt(this._scrollDispatcher,this._ngZone,this._viewportRuler,mn),this.block=()=>new ht(this._viewportRuler,this._document),this.reposition=mn=>new B(this._scrollDispatcher,this._viewportRuler,this._ngZone,mn),this._document=rn}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO(y.R),n.KVO(y.Xj),n.KVO(n.SKi),n.KVO($.qQ))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();class be{constructor(Le){if(this.scrollStrategy=new dt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Le){const nt=Object.keys(Le);for(const gt of nt)void 0!==Le[gt]&&(this[gt]=Le[gt])}}}class Pe{constructor(Le,nt,gt,Dt,rn){this.offsetX=gt,this.offsetY=Dt,this.panelClass=rn,this.originX=Le.originX,this.originY=Le.originY,this.overlayX=nt.overlayX,this.overlayY=nt.overlayY}}class z{constructor(Le,nt){this.connectionPair=Le,this.scrollableViewProperties=nt}}let rt=(()=>{class He{constructor(nt){this._attachedOverlays=[],this._document=nt}ngOnDestroy(){this.detach()}add(nt){this.remove(nt),this._attachedOverlays.push(nt)}remove(nt){const gt=this._attachedOverlays.indexOf(nt);gt>-1&&this._attachedOverlays.splice(gt,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO($.qQ))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})(),Ue=(()=>{class He extends rt{constructor(nt,gt){super(nt),this._ngZone=gt,this._keydownListener=Dt=>{const rn=this._attachedOverlays;for(let mn=rn.length-1;mn>-1;mn--)if(rn[mn]._keydownEvents.observers.length>0){const ri=rn[mn]._keydownEvents;this._ngZone?this._ngZone.run(()=>ri.next(Dt)):ri.next(Dt);break}}}add(nt){super.add(nt),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO($.qQ),n.KVO(n.SKi,8))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})(),zt=(()=>{class He extends rt{constructor(nt,gt,Dt){super(nt),this._platform=gt,this._ngZone=Dt,this._cursorStyleIsSet=!1,this._pointerDownListener=rn=>{this._pointerDownEventTarget=(0,L.Fb)(rn)},this._clickListener=rn=>{const mn=(0,L.Fb)(rn),ri="click"===rn.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mn;this._pointerDownEventTarget=null;const Bi=this._attachedOverlays.slice();for(let wi=Bi.length-1;wi>-1;wi--){const mi=Bi[wi];if(mi._outsidePointerEvents.observers.length<1||!mi.hasAttached())continue;if(sn(mi.overlayElement,mn)||sn(mi.overlayElement,ri))break;const Li=mi._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Li.next(rn)):Li.next(rn)}}}add(nt){if(super.add(nt),!this._isAttached){const gt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(gt)):this._addEventListeners(gt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=gt.style.cursor,gt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const nt=this._document.body;nt.removeEventListener("pointerdown",this._pointerDownListener,!0),nt.removeEventListener("click",this._clickListener,!0),nt.removeEventListener("auxclick",this._clickListener,!0),nt.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(nt.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(nt){nt.addEventListener("pointerdown",this._pointerDownListener,!0),nt.addEventListener("click",this._clickListener,!0),nt.addEventListener("auxclick",this._clickListener,!0),nt.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO($.qQ),n.KVO(L.OD),n.KVO(n.SKi,8))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();function sn(He,Le){const nt=typeof ShadowRoot<"u"&&ShadowRoot;let gt=Le;for(;gt;){if(gt===He)return!0;gt=nt&&gt instanceof ShadowRoot?gt.host:gt.parentNode}return!1}let Mt=(()=>{class He{constructor(nt,gt){this._platform=gt,this._document=nt}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const nt="cdk-overlay-container";if(this._platform.isBrowser||(0,L.v8)()){const Dt=this._document.querySelectorAll(`.${nt}[platform="server"], .${nt}[platform="test"]`);for(let rn=0;rn<Dt.length;rn++)Dt[rn].remove()}const gt=this._document.createElement("div");gt.classList.add(nt),(0,L.v8)()?gt.setAttribute("platform","test"):this._platform.isBrowser||gt.setAttribute("platform","server"),this._document.body.appendChild(gt),this._containerElement=gt}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO($.qQ),n.KVO(L.OD))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();class mt{constructor(Le,nt,gt,Dt,rn,mn,ri,Bi,wi,mi=!1,Li){this._portalOutlet=Le,this._host=nt,this._pane=gt,this._config=Dt,this._ngZone=rn,this._keyboardDispatcher=mn,this._document=ri,this._location=Bi,this._outsideClickDispatcher=wi,this._animationsDisabled=mi,this._injector=Li,this._backdropElement=null,this._backdropClick=new de.B,this._attachments=new de.B,this._detachments=new de.B,this._locationChanges=Ve.yU.EMPTY,this._backdropClickHandler=_o=>this._backdropClick.next(_o),this._backdropTransitionendHandler=_o=>{this._disposeBackdrop(_o.target)},this._keydownEvents=new de.B,this._outsidePointerEvents=new de.B,this._renders=new de.B,Dt.scrollStrategy&&(this._scrollStrategy=Dt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Dt.positionStrategy,this._afterRenderRef=(0,n.O8t)(()=>(0,n.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Le){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const nt=this._portalOutlet.attach(Le);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,n.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof nt?.onDestroy&&nt.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),nt}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Le=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Le}dispose(){const Le=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,Le&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Le){Le!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Le,this.hasAttached()&&(Le.attach(this),this.updatePosition()))}updateSize(Le){this._config={...this._config,...Le},this._updateElementSize()}setDirection(Le){this._config={...this._config,direction:Le},this._updateElementDirection()}addPanelClass(Le){this._pane&&this._toggleClasses(this._pane,Le,!0)}removePanelClass(Le){this._pane&&this._toggleClasses(this._pane,Le,!1)}getDirection(){const Le=this._config.direction;return Le?"string"==typeof Le?Le:Le.value:"ltr"}updateScrollStrategy(Le){Le!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Le,this.hasAttached()&&(Le.attach(this),Le.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Le=this._pane.style;Le.width=(0,a.a1)(this._config.width),Le.height=(0,a.a1)(this._config.height),Le.minWidth=(0,a.a1)(this._config.minWidth),Le.minHeight=(0,a.a1)(this._config.minHeight),Le.maxWidth=(0,a.a1)(this._config.maxWidth),Le.maxHeight=(0,a.a1)(this._config.maxHeight)}_togglePointerEvents(Le){this._pane.style.pointerEvents=Le?"":"none"}_attachBackdrop(){const Le="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Le)})}):this._backdropElement.classList.add(Le)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Le=this._backdropElement;if(Le){if(this._animationsDisabled)return void this._disposeBackdrop(Le);Le.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Le.addEventListener("transitionend",this._backdropTransitionendHandler)}),Le.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Le)},500))}}_toggleClasses(Le,nt,gt){const Dt=(0,a.FG)(nt||[]).filter(rn=>!!rn);Dt.length&&(gt?Le.classList.add(...Dt):Le.classList.remove(...Dt))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Le=this._renders.pipe((0,K.Q)((0,Ee.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Le.unsubscribe())})})}_disposeScrollStrategy(){const Le=this._scrollStrategy;Le&&(Le.disable(),Le.detach&&Le.detach())}_disposeBackdrop(Le){Le&&(Le.removeEventListener("click",this._backdropClickHandler),Le.removeEventListener("transitionend",this._backdropTransitionendHandler),Le.remove(),this._backdropElement===Le&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ke="cdk-overlay-connected-position-bounding-box",Xe=/([A-Za-z%]+)$/;class yt{get positions(){return this._preferredPositions}constructor(Le,nt,gt,Dt,rn){this._viewportRuler=nt,this._document=gt,this._platform=Dt,this._overlayContainer=rn,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new de.B,this._resizeSubscription=Ve.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Le)}attach(Le){this._validatePositions(),Le.hostElement.classList.add(Ke),this._overlayRef=Le,this._boundingBox=Le.hostElement,this._pane=Le.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Le=this._originRect,nt=this._overlayRect,gt=this._viewportRect,Dt=this._containerRect,rn=[];let mn;for(let ri of this._preferredPositions){let Bi=this._getOriginPoint(Le,Dt,ri),wi=this._getOverlayPoint(Bi,nt,ri),mi=this._getOverlayFit(wi,nt,gt,ri);if(mi.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ri,Bi);this._canFitWithFlexibleDimensions(mi,wi,gt)?rn.push({position:ri,origin:Bi,overlayRect:nt,boundingBoxRect:this._calculateBoundingBoxRect(Bi,ri)}):(!mn||mn.overlayFit.visibleArea<mi.visibleArea)&&(mn={overlayFit:mi,overlayPoint:wi,originPoint:Bi,position:ri,overlayRect:nt})}if(rn.length){let ri=null,Bi=-1;for(const wi of rn){const mi=wi.boundingBoxRect.width*wi.boundingBoxRect.height*(wi.position.weight||1);mi>Bi&&(Bi=mi,ri=wi)}return this._isPushed=!1,void this._applyPosition(ri.position,ri.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mn.position,mn.originPoint);this._applyPosition(mn.position,mn.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ke),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Le=this._lastPosition;if(Le){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const nt=this._getOriginPoint(this._originRect,this._containerRect,Le);this._applyPosition(Le,nt)}else this.apply()}withScrollableContainers(Le){return this._scrollables=Le,this}withPositions(Le){return this._preferredPositions=Le,-1===Le.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Le){return this._viewportMargin=Le,this}withFlexibleDimensions(Le=!0){return this._hasFlexibleDimensions=Le,this}withGrowAfterOpen(Le=!0){return this._growAfterOpen=Le,this}withPush(Le=!0){return this._canPush=Le,this}withLockedPosition(Le=!0){return this._positionLocked=Le,this}setOrigin(Le){return this._origin=Le,this}withDefaultOffsetX(Le){return this._offsetX=Le,this}withDefaultOffsetY(Le){return this._offsetY=Le,this}withTransformOriginOn(Le){return this._transformOriginSelector=Le,this}_getOriginPoint(Le,nt,gt){let Dt,rn;if("center"==gt.originX)Dt=Le.left+Le.width/2;else{const mn=this._isRtl()?Le.right:Le.left,ri=this._isRtl()?Le.left:Le.right;Dt="start"==gt.originX?mn:ri}return nt.left<0&&(Dt-=nt.left),rn="center"==gt.originY?Le.top+Le.height/2:"top"==gt.originY?Le.top:Le.bottom,nt.top<0&&(rn-=nt.top),{x:Dt,y:rn}}_getOverlayPoint(Le,nt,gt){let Dt,rn;return Dt="center"==gt.overlayX?-nt.width/2:"start"===gt.overlayX?this._isRtl()?-nt.width:0:this._isRtl()?0:-nt.width,rn="center"==gt.overlayY?-nt.height/2:"top"==gt.overlayY?0:-nt.height,{x:Le.x+Dt,y:Le.y+rn}}_getOverlayFit(Le,nt,gt,Dt){const rn=_n(nt);let{x:mn,y:ri}=Le,Bi=this._getOffset(Dt,"x"),wi=this._getOffset(Dt,"y");Bi&&(mn+=Bi),wi&&(ri+=wi);let _o=0-ri,Vi=ri+rn.height-gt.height,Di=this._subtractOverflows(rn.width,0-mn,mn+rn.width-gt.width),Mo=this._subtractOverflows(rn.height,_o,Vi),Yt=Di*Mo;return{visibleArea:Yt,isCompletelyWithinViewport:rn.width*rn.height===Yt,fitsInViewportVertically:Mo===rn.height,fitsInViewportHorizontally:Di==rn.width}}_canFitWithFlexibleDimensions(Le,nt,gt){if(this._hasFlexibleDimensions){const Dt=gt.bottom-nt.y,rn=gt.right-nt.x,mn=Vt(this._overlayRef.getConfig().minHeight),ri=Vt(this._overlayRef.getConfig().minWidth);return(Le.fitsInViewportVertically||null!=mn&&mn<=Dt)&&(Le.fitsInViewportHorizontally||null!=ri&&ri<=rn)}return!1}_pushOverlayOnScreen(Le,nt,gt){if(this._previousPushAmount&&this._positionLocked)return{x:Le.x+this._previousPushAmount.x,y:Le.y+this._previousPushAmount.y};const Dt=_n(nt),rn=this._viewportRect,mn=Math.max(Le.x+Dt.width-rn.width,0),ri=Math.max(Le.y+Dt.height-rn.height,0),Bi=Math.max(rn.top-gt.top-Le.y,0),wi=Math.max(rn.left-gt.left-Le.x,0);let mi=0,Li=0;return mi=Dt.width<=rn.width?wi||-mn:Le.x<this._viewportMargin?rn.left-gt.left-Le.x:0,Li=Dt.height<=rn.height?Bi||-ri:Le.y<this._viewportMargin?rn.top-gt.top-Le.y:0,this._previousPushAmount={x:mi,y:Li},{x:Le.x+mi,y:Le.y+Li}}_applyPosition(Le,nt){if(this._setTransformOrigin(Le),this._setOverlayElementStyles(nt,Le),this._setBoundingBoxStyles(nt,Le),Le.panelClass&&this._addPanelClasses(Le.panelClass),this._positionChanges.observers.length){const gt=this._getScrollVisibility();if(Le!==this._lastPosition||!this._lastScrollVisibility||!function oi(He,Le){return He===Le||He.isOriginClipped===Le.isOriginClipped&&He.isOriginOutsideView===Le.isOriginOutsideView&&He.isOverlayClipped===Le.isOverlayClipped&&He.isOverlayOutsideView===Le.isOverlayOutsideView}(this._lastScrollVisibility,gt)){const Dt=new z(Le,gt);this._positionChanges.next(Dt)}this._lastScrollVisibility=gt}this._lastPosition=Le,this._isInitialRender=!1}_setTransformOrigin(Le){if(!this._transformOriginSelector)return;const nt=this._boundingBox.querySelectorAll(this._transformOriginSelector);let gt,Dt=Le.overlayY;gt="center"===Le.overlayX?"center":this._isRtl()?"start"===Le.overlayX?"right":"left":"start"===Le.overlayX?"left":"right";for(let rn=0;rn<nt.length;rn++)nt[rn].style.transformOrigin=`${gt} ${Dt}`}_calculateBoundingBoxRect(Le,nt){const gt=this._viewportRect,Dt=this._isRtl();let rn,mn,ri,mi,Li,_o;if("top"===nt.overlayY)mn=Le.y,rn=gt.height-mn+this._viewportMargin;else if("bottom"===nt.overlayY)ri=gt.height-Le.y+2*this._viewportMargin,rn=gt.height-ri+this._viewportMargin;else{const Vi=Math.min(gt.bottom-Le.y+gt.top,Le.y),Di=this._lastBoundingBoxSize.height;rn=2*Vi,mn=Le.y-Vi,rn>Di&&!this._isInitialRender&&!this._growAfterOpen&&(mn=Le.y-Di/2)}if("end"===nt.overlayX&&!Dt||"start"===nt.overlayX&&Dt)_o=gt.width-Le.x+2*this._viewportMargin,mi=Le.x-this._viewportMargin;else if("start"===nt.overlayX&&!Dt||"end"===nt.overlayX&&Dt)Li=Le.x,mi=gt.right-Le.x;else{const Vi=Math.min(gt.right-Le.x+gt.left,Le.x),Di=this._lastBoundingBoxSize.width;mi=2*Vi,Li=Le.x-Vi,mi>Di&&!this._isInitialRender&&!this._growAfterOpen&&(Li=Le.x-Di/2)}return{top:mn,left:Li,bottom:ri,right:_o,width:mi,height:rn}}_setBoundingBoxStyles(Le,nt){const gt=this._calculateBoundingBoxRect(Le,nt);!this._isInitialRender&&!this._growAfterOpen&&(gt.height=Math.min(gt.height,this._lastBoundingBoxSize.height),gt.width=Math.min(gt.width,this._lastBoundingBoxSize.width));const Dt={};if(this._hasExactPosition())Dt.top=Dt.left="0",Dt.bottom=Dt.right=Dt.maxHeight=Dt.maxWidth="",Dt.width=Dt.height="100%";else{const rn=this._overlayRef.getConfig().maxHeight,mn=this._overlayRef.getConfig().maxWidth;Dt.height=(0,a.a1)(gt.height),Dt.top=(0,a.a1)(gt.top),Dt.bottom=(0,a.a1)(gt.bottom),Dt.width=(0,a.a1)(gt.width),Dt.left=(0,a.a1)(gt.left),Dt.right=(0,a.a1)(gt.right),Dt.alignItems="center"===nt.overlayX?"center":"end"===nt.overlayX?"flex-end":"flex-start",Dt.justifyContent="center"===nt.overlayY?"center":"bottom"===nt.overlayY?"flex-end":"flex-start",rn&&(Dt.maxHeight=(0,a.a1)(rn)),mn&&(Dt.maxWidth=(0,a.a1)(mn))}this._lastBoundingBoxSize=gt,Rt(this._boundingBox.style,Dt)}_resetBoundingBoxStyles(){Rt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Le,nt){const gt={},Dt=this._hasExactPosition(),rn=this._hasFlexibleDimensions,mn=this._overlayRef.getConfig();if(Dt){const mi=this._viewportRuler.getViewportScrollPosition();Rt(gt,this._getExactOverlayY(nt,Le,mi)),Rt(gt,this._getExactOverlayX(nt,Le,mi))}else gt.position="static";let ri="",Bi=this._getOffset(nt,"x"),wi=this._getOffset(nt,"y");Bi&&(ri+=`translateX(${Bi}px) `),wi&&(ri+=`translateY(${wi}px)`),gt.transform=ri.trim(),mn.maxHeight&&(Dt?gt.maxHeight=(0,a.a1)(mn.maxHeight):rn&&(gt.maxHeight="")),mn.maxWidth&&(Dt?gt.maxWidth=(0,a.a1)(mn.maxWidth):rn&&(gt.maxWidth="")),Rt(this._pane.style,gt)}_getExactOverlayY(Le,nt,gt){let Dt={top:"",bottom:""},rn=this._getOverlayPoint(nt,this._overlayRect,Le);return this._isPushed&&(rn=this._pushOverlayOnScreen(rn,this._overlayRect,gt)),"bottom"===Le.overlayY?Dt.bottom=this._document.documentElement.clientHeight-(rn.y+this._overlayRect.height)+"px":Dt.top=(0,a.a1)(rn.y),Dt}_getExactOverlayX(Le,nt,gt){let mn,Dt={left:"",right:""},rn=this._getOverlayPoint(nt,this._overlayRect,Le);return this._isPushed&&(rn=this._pushOverlayOnScreen(rn,this._overlayRect,gt)),mn=this._isRtl()?"end"===Le.overlayX?"left":"right":"end"===Le.overlayX?"right":"left","right"===mn?Dt.right=this._document.documentElement.clientWidth-(rn.x+this._overlayRect.width)+"px":Dt.left=(0,a.a1)(rn.x),Dt}_getScrollVisibility(){const Le=this._getOriginRect(),nt=this._pane.getBoundingClientRect(),gt=this._scrollables.map(Dt=>Dt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ze(Le,gt),isOriginOutsideView:ft(Le,gt),isOverlayClipped:ze(nt,gt),isOverlayOutsideView:ft(nt,gt)}}_subtractOverflows(Le,...nt){return nt.reduce((gt,Dt)=>gt-Math.max(Dt,0),Le)}_getNarrowedViewportRect(){const Le=this._document.documentElement.clientWidth,nt=this._document.documentElement.clientHeight,gt=this._viewportRuler.getViewportScrollPosition();return{top:gt.top+this._viewportMargin,left:gt.left+this._viewportMargin,right:gt.left+Le-this._viewportMargin,bottom:gt.top+nt-this._viewportMargin,width:Le-2*this._viewportMargin,height:nt-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Le,nt){return"x"===nt?null==Le.offsetX?this._offsetX:Le.offsetX:null==Le.offsetY?this._offsetY:Le.offsetY}_validatePositions(){}_addPanelClasses(Le){this._pane&&(0,a.FG)(Le).forEach(nt=>{""!==nt&&-1===this._appliedPanelClasses.indexOf(nt)&&(this._appliedPanelClasses.push(nt),this._pane.classList.add(nt))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Le=>{this._pane.classList.remove(Le)}),this._appliedPanelClasses=[])}_getOriginRect(){const Le=this._origin;if(Le instanceof n.aKT)return Le.nativeElement.getBoundingClientRect();if(Le instanceof Element)return Le.getBoundingClientRect();const nt=Le.width||0,gt=Le.height||0;return{top:Le.y,bottom:Le.y+gt,left:Le.x,right:Le.x+nt,height:gt,width:nt}}}function Rt(He,Le){for(let nt in Le)Le.hasOwnProperty(nt)&&(He[nt]=Le[nt]);return He}function Vt(He){if("number"!=typeof He&&null!=He){const[Le,nt]=He.split(Xe);return nt&&"px"!==nt?null:parseFloat(Le)}return He||null}function _n(He){return{top:Math.floor(He.top),right:Math.floor(He.right),bottom:Math.floor(He.bottom),left:Math.floor(He.left),width:Math.floor(He.width),height:Math.floor(He.height)}}const qn="cdk-global-overlay-wrapper";class Ni{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Le){const nt=Le.getConfig();this._overlayRef=Le,this._width&&!nt.width&&Le.updateSize({width:this._width}),this._height&&!nt.height&&Le.updateSize({height:this._height}),Le.hostElement.classList.add(qn),this._isDisposed=!1}top(Le=""){return this._bottomOffset="",this._topOffset=Le,this._alignItems="flex-start",this}left(Le=""){return this._xOffset=Le,this._xPosition="left",this}bottom(Le=""){return this._topOffset="",this._bottomOffset=Le,this._alignItems="flex-end",this}right(Le=""){return this._xOffset=Le,this._xPosition="right",this}start(Le=""){return this._xOffset=Le,this._xPosition="start",this}end(Le=""){return this._xOffset=Le,this._xPosition="end",this}width(Le=""){return this._overlayRef?this._overlayRef.updateSize({width:Le}):this._width=Le,this}height(Le=""){return this._overlayRef?this._overlayRef.updateSize({height:Le}):this._height=Le,this}centerHorizontally(Le=""){return this.left(Le),this._xPosition="center",this}centerVertically(Le=""){return this.top(Le),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Le=this._overlayRef.overlayElement.style,nt=this._overlayRef.hostElement.style,gt=this._overlayRef.getConfig(),{width:Dt,height:rn,maxWidth:mn,maxHeight:ri}=gt,Bi=!("100%"!==Dt&&"100vw"!==Dt||mn&&"100%"!==mn&&"100vw"!==mn),wi=!("100%"!==rn&&"100vh"!==rn||ri&&"100%"!==ri&&"100vh"!==ri),mi=this._xPosition,Li=this._xOffset,_o="rtl"===this._overlayRef.getConfig().direction;let Vi="",Di="",Mo="";Bi?Mo="flex-start":"center"===mi?(Mo="center",_o?Di=Li:Vi=Li):_o?"left"===mi||"end"===mi?(Mo="flex-end",Vi=Li):("right"===mi||"start"===mi)&&(Mo="flex-start",Di=Li):"left"===mi||"start"===mi?(Mo="flex-start",Vi=Li):("right"===mi||"end"===mi)&&(Mo="flex-end",Di=Li),Le.position=this._cssPosition,Le.marginLeft=Bi?"0":Vi,Le.marginTop=wi?"0":this._topOffset,Le.marginBottom=this._bottomOffset,Le.marginRight=Bi?"0":Di,nt.justifyContent=Mo,nt.alignItems=wi?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Le=this._overlayRef.overlayElement.style,nt=this._overlayRef.hostElement,gt=nt.style;nt.classList.remove(qn),gt.justifyContent=gt.alignItems=Le.marginTop=Le.marginBottom=Le.marginLeft=Le.marginRight=Le.position="",this._overlayRef=null,this._isDisposed=!0}}let Ci=(()=>{class He{constructor(nt,gt,Dt,rn){this._viewportRuler=nt,this._document=gt,this._platform=Dt,this._overlayContainer=rn}global(){return new Ni}flexibleConnectedTo(nt){return new yt(nt,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO(y.Xj),n.KVO($.qQ),n.KVO(L.OD),n.KVO(Mt))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})(),oo=0,Rn=(()=>{class He{constructor(nt,gt,Dt,rn,mn,ri,Bi,wi,mi,Li,_o,Vi){this.scrollStrategies=nt,this._overlayContainer=gt,this._componentFactoryResolver=Dt,this._positionBuilder=rn,this._keyboardDispatcher=mn,this._injector=ri,this._ngZone=Bi,this._document=wi,this._directionality=mi,this._location=Li,this._outsideClickDispatcher=_o,this._animationsModuleType=Vi}create(nt){const gt=this._createHostElement(),Dt=this._createPaneElement(gt),rn=this._createPortalOutlet(Dt),mn=new be(nt);return mn.direction=mn.direction||this._directionality.value,new mt(rn,gt,Dt,mn,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(n.uvJ))}position(){return this._positionBuilder}_createPaneElement(nt){const gt=this._document.createElement("div");return gt.id="cdk-overlay-"+oo++,gt.classList.add("cdk-overlay-pane"),nt.appendChild(gt),gt}_createHostElement(){const nt=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(nt),nt}_createPortalOutlet(nt){return this._appRef||(this._appRef=this._injector.get(n.o8S)),new le.aI(nt,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.KVO(Te),n.KVO(Mt),n.KVO(n.OM3),n.KVO(Ci),n.KVO(Ue),n.KVO(n.zZn),n.KVO(n.SKi),n.KVO($.qQ),n.KVO(fe.dS),n.KVO($.aZ),n.KVO(zt),n.KVO(n.bc$,8))};static#t=this.\u0275prov=n.jDH({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();const vi=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],So=new n.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const He=(0,n.WQX)(Rn);return()=>He.scrollStrategies.reposition()}});let fi=(()=>{class He{constructor(nt){this.elementRef=nt}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:He,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return He})(),ei=(()=>{class He{get offsetX(){return this._offsetX}set offsetX(nt){this._offsetX=nt,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(nt){this._offsetY=nt,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(nt){this._disposeOnNavigation=nt}constructor(nt,gt,Dt,rn,mn){this._overlay=nt,this._dir=mn,this._backdropSubscription=Ve.yU.EMPTY,this._attachSubscription=Ve.yU.EMPTY,this._detachSubscription=Ve.yU.EMPTY,this._positionSubscription=Ve.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,n.WQX)(n.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new n.bkB,this.positionChange=new n.bkB,this.attach=new n.bkB,this.detach=new n.bkB,this.overlayKeydown=new n.bkB,this.overlayOutsideClick=new n.bkB,this._templatePortal=new le.VA(gt,Dt),this._scrollStrategyFactory=rn,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(nt){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),nt.origin&&this.open&&this._position.apply()),nt.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=vi);const nt=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=nt.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=nt.detachments().subscribe(()=>this.detach.emit()),nt.keydownEvents().subscribe(gt=>{this.overlayKeydown.next(gt),gt.keyCode===qe._f&&!this.disableClose&&!(0,qe.rp)(gt)&&(gt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(gt=>{const Dt=this._getOriginElement(),rn=(0,L.Fb)(gt);(!Dt||Dt!==rn&&!Dt.contains(rn))&&this.overlayOutsideClick.next(gt)})}_buildConfig(){const nt=this._position=this.positionStrategy||this._createPositionStrategy(),gt=new be({direction:this._dir,positionStrategy:nt,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(gt.width=this.width),(this.height||0===this.height)&&(gt.height=this.height),(this.minWidth||0===this.minWidth)&&(gt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(gt.minHeight=this.minHeight),this.backdropClass&&(gt.backdropClass=this.backdropClass),this.panelClass&&(gt.panelClass=this.panelClass),gt}_updatePositionStrategy(nt){const gt=this.positions.map(Dt=>({originX:Dt.originX,originY:Dt.originY,overlayX:Dt.overlayX,overlayY:Dt.overlayY,offsetX:Dt.offsetX||this.offsetX,offsetY:Dt.offsetY||this.offsetY,panelClass:Dt.panelClass||void 0}));return nt.setOrigin(this._getOrigin()).withPositions(gt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const nt=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(nt),nt}_getOrigin(){return this.origin instanceof fi?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof fi?this.origin.elementRef.nativeElement:this.origin instanceof n.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(nt=>{this.backdropClick.emit(nt)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,se.v)(()=>this.positionChange.observers.length>0)).subscribe(nt=>{this._ngZone.run(()=>this.positionChange.emit(nt)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(gt){return new(gt||He)(n.rXU(Rn),n.rXU(n.C4Q),n.rXU(n.c1b),n.rXU(So),n.rXU(fe.dS,8))};static#t=this.\u0275dir=n.FsC({type:He,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",n.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",n.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",n.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",n.L39],push:[2,"cdkConnectedOverlayPush","push",n.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",n.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[n.GFd,n.OA$]})}return He})();const En={provide:So,deps:[Rn],useFactory:function Yi(He){return()=>He.scrollStrategies.reposition()}};let Xn=(()=>{class He{static#e=this.\u0275fac=function(gt){return new(gt||He)};static#t=this.\u0275mod=n.$C({type:He});static#n=this.\u0275inj=n.G2t({providers:[Rn,En],imports:[fe.jI,le.jc,y.E9,y.E9]})}return He})()},36860:(De,A,C)=>{"use strict";C.d(A,{BD:()=>ht,BQ:()=>de,CZ:()=>Ge,Fb:()=>ze,IK:()=>L,KT:()=>dt,OD:()=>a,r5:()=>Ve,v8:()=>B,vc:()=>ft});var y=C(93953),$=C(60177);let n;try{n=typeof Intl<"u"&&Intl.v8BreakIterator}catch{n=!1}let fe,a=(()=>{class Te{constructor(Pe){this._platformId=Pe,this.isBrowser=this._platformId?(0,$.UE)(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&&!n)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/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#e=this.\u0275fac=function(et){return new(et||Te)(y.KVO(y.Agw))};static#t=this.\u0275prov=y.jDH({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})(),L=(()=>{class Te{static#e=this.\u0275fac=function(et){return new(et||Te)};static#t=this.\u0275mod=y.$C({type:Te});static#n=this.\u0275inj=y.G2t({})}return Te})();function de(Te){return function le(){if(null==fe&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>fe=!0}))}finally{fe=fe||!1}return fe}()?Te:!!Te.capture}var Ve=function(Te){return Te[Te.NORMAL=0]="NORMAL",Te[Te.NEGATED=1]="NEGATED",Te[Te.INVERTED=2]="INVERTED",Te}(Ve||{});let Ee,qe,at;function Ge(){if(null==qe){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qe=!1,qe;if("scrollBehavior"in document.documentElement.style)qe=!0;else{const Te=Element.prototype.scrollTo;qe=!!Te&&!/\{\s*\[native code\]\s*\}/.test(Te.toString())}}return qe}function ht(){if("object"!=typeof document||!document)return Ve.NORMAL;if(null==Ee){const Te=document.createElement("div"),be=Te.style;Te.dir="rtl",be.width="1px",be.overflow="auto",be.visibility="hidden",be.pointerEvents="none",be.position="absolute";const Pe=document.createElement("div"),et=Pe.style;et.width="2px",et.height="1px",Te.appendChild(Pe),document.body.appendChild(Te),Ee=Ve.NORMAL,0===Te.scrollLeft&&(Te.scrollLeft=1,Ee=0===Te.scrollLeft?Ve.NEGATED:Ve.INVERTED),Te.remove()}return Ee}function dt(Te){if(function Tt(){if(null==at){const Te=typeof document<"u"?document.head:null;at=!(!Te||!Te.createShadowRoot&&!Te.attachShadow)}return at}()){const be=Te.getRootNode?Te.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&be instanceof ShadowRoot)return be}return null}function ft(){let Te=typeof document<"u"&&document?document.activeElement:null;for(;Te&&Te.shadowRoot;){const be=Te.shadowRoot.activeElement;if(be===Te)break;Te=be}return Te}function ze(Te){return Te.composedPath?Te.composedPath()[0]:Te.target}function B(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(De,A,C)=>{"use strict";C.d(A,{A8:()=>le,I3:()=>dt,VA:()=>de,aI:()=>Ge,jc:()=>ze,lb:()=>Ee});var y=C(93953),$=C(60177);class fe{attach(be){return this._attachedHost=be,be.attach(this)}detach(){let be=this._attachedHost;null!=be&&(this._attachedHost=null,be.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(be){this._attachedHost=be}}class le extends fe{constructor(be,Pe,et,z,X){super(),this.component=be,this.viewContainerRef=Pe,this.injector=et,this.componentFactoryResolver=z,this.projectableNodes=X}}class de extends fe{constructor(be,Pe,et,z){super(),this.templateRef=be,this.viewContainerRef=Pe,this.context=et,this.injector=z}get origin(){return this.templateRef.elementRef}attach(be,Pe=this.context){return this.context=Pe,super.attach(be)}detach(){return this.context=void 0,super.detach()}}class Ve extends fe{constructor(be){super(),this.element=be instanceof y.aKT?be.nativeElement:be}}class Ee{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(be){return be instanceof le?(this._attachedPortal=be,this.attachComponentPortal(be)):be instanceof de?(this._attachedPortal=be,this.attachTemplatePortal(be)):this.attachDomPortal&&be instanceof Ve?(this._attachedPortal=be,this.attachDomPortal(be)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(be){this._disposeFn=be}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ge extends Ee{constructor(be,Pe,et,z,X){super(),this.outletElement=be,this._componentFactoryResolver=Pe,this._appRef=et,this._defaultInjector=z,this.attachDomPortal=P=>{const rt=P.element,Ue=this._document.createComment("dom-portal");rt.parentNode.insertBefore(Ue,rt),this.outletElement.appendChild(rt),this._attachedPortal=P,super.setDisposeFn(()=>{Ue.parentNode&&Ue.parentNode.replaceChild(rt,Ue)})},this._document=X}attachComponentPortal(be){const et=(be.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(be.component);let z;return be.viewContainerRef?(z=be.viewContainerRef.createComponent(et,be.viewContainerRef.length,be.injector||be.viewContainerRef.injector,be.projectableNodes||void 0),this.setDisposeFn(()=>z.destroy())):(z=et.create(be.injector||this._defaultInjector||y.zZn.NULL),this._appRef.attachView(z.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(z.hostView),z.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(z)),this._attachedPortal=be,z}attachTemplatePortal(be){let Pe=be.viewContainerRef,et=Pe.createEmbeddedView(be.templateRef,be.context,{injector:be.injector});return et.rootNodes.forEach(z=>this.outletElement.appendChild(z)),et.detectChanges(),this.setDisposeFn(()=>{let z=Pe.indexOf(et);-1!==z&&Pe.remove(z)}),this._attachedPortal=be,et}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(be){return be.hostView.rootNodes[0]}}let dt=(()=>{class Te extends Ee{constructor(Pe,et,z){super(),this._componentFactoryResolver=Pe,this._viewContainerRef=et,this._isInitialized=!1,this.attached=new y.bkB,this.attachDomPortal=X=>{const P=X.element,rt=this._document.createComment("dom-portal");X.setAttachedHost(this),P.parentNode.insertBefore(rt,P),this._getRootNode().appendChild(P),this._attachedPortal=X,super.setDisposeFn(()=>{rt.parentNode&&rt.parentNode.replaceChild(P,rt)})},this._document=z}get portal(){return this._attachedPortal}set portal(Pe){this.hasAttached()&&!Pe&&!this._isInitialized||(this.hasAttached()&&super.detach(),Pe&&super.attach(Pe),this._attachedPortal=Pe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Pe){Pe.setAttachedHost(this);const et=null!=Pe.viewContainerRef?Pe.viewContainerRef:this._viewContainerRef,X=(Pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Pe.component),P=et.createComponent(X,et.length,Pe.injector||et.injector,Pe.projectableNodes||void 0);return et!==this._viewContainerRef&&this._getRootNode().appendChild(P.hostView.rootNodes[0]),super.setDisposeFn(()=>P.destroy()),this._attachedPortal=Pe,this._attachedRef=P,this.attached.emit(P),P}attachTemplatePortal(Pe){Pe.setAttachedHost(this);const et=this._viewContainerRef.createEmbeddedView(Pe.templateRef,Pe.context,{injector:Pe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Pe,this._attachedRef=et,this.attached.emit(et),et}_getRootNode(){const Pe=this._viewContainerRef.element.nativeElement;return Pe.nodeType===Pe.ELEMENT_NODE?Pe:Pe.parentNode}static#e=this.\u0275fac=function(et){return new(et||Te)(y.rXU(y.OM3),y.rXU(y.c1b),y.rXU($.qQ))};static#t=this.\u0275dir=y.FsC({type:Te,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[y.Vt3]})}return Te})(),ze=(()=>{class Te{static#e=this.\u0275fac=function(et){return new(et||Te)};static#t=this.\u0275mod=y.$C({type:Te});static#n=this.\u0275inj=y.G2t({})}return Te})()},20946:(De,A,C)=>{"use strict";C.d(A,{yg:()=>yt,uv:()=>_n,Gj:()=>ei,E$:()=>vi,d6:()=>oo,R:()=>Vt,E9:()=>Yi,Xj:()=>Vn});var y=C(14085),$=C(93953),n=C(21413),a=C(7673),L=C(71985),ae=C(33726),K=C(30536),se=C(25007),fe=C(18359),le=C(74402),de=C(23294),Ve=C(13798),Ee=C(5964),qe=C(56977),Ge=C(99172),ht=C(13946),at=C(25558),Tt=C(44668),dt=C(36860),ft=C(60177),ze=C(28203),B=C(30017);class Te{}class Pe extends Te{constructor(Xn){super(),this._data=Xn}connect(){return(0,le.A)(this._data)?this._data:(0,a.of)(this._data)}disconnect(){}}var et=function(En){return En[En.REPLACED=0]="REPLACED",En[En.INSERTED=1]="INSERTED",En[En.MOVED=2]="MOVED",En[En.REMOVED=3]="REMOVED",En}(et||{});const z=new $.nKC("_ViewRepeater");class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Xn,lt,He,Le,nt){Xn.forEachOperation((gt,Dt,rn)=>{let mn,ri;null==gt.previousIndex?(mn=this._insertView(()=>He(gt,Dt,rn),rn,lt,Le(gt)),ri=mn?et.INSERTED:et.REPLACED):null==rn?(this._detachAndCacheView(Dt,lt),ri=et.REMOVED):(mn=this._moveView(Dt,rn,lt,Le(gt)),ri=et.MOVED),nt&&nt({context:mn?.context,operation:ri,record:gt})})}detach(){for(const Xn of this._viewCache)Xn.destroy();this._viewCache=[]}_insertView(Xn,lt,He,Le){const nt=this._insertViewFromCache(lt,He);if(nt)return void(nt.context.$implicit=Le);const gt=Xn();return He.createEmbeddedView(gt.templateRef,gt.context,gt.index)}_detachAndCacheView(Xn,lt){const He=lt.detach(Xn);this._maybeCacheView(He,lt)}_moveView(Xn,lt,He,Le){const nt=He.get(Xn);return He.move(nt,lt),nt.context.$implicit=Le,nt}_maybeCacheView(Xn,lt){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Xn);else{const He=lt.indexOf(Xn);-1===He?Xn.destroy():lt.remove(He)}}_insertViewFromCache(Xn,lt){const He=this._viewCache.pop();return He&&lt.insert(He,Xn),He||null}}const sn=["contentWrapper"],Mt=["*"],mt=new $.nKC("VIRTUAL_SCROLL_STRATEGY");class Ke{constructor(Xn,lt,He){this._scrolledIndexChange=new n.B,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,de.F)()),this._viewport=null,this._itemSize=Xn,this._minBufferPx=lt,this._maxBufferPx=He}attach(Xn){this._viewport=Xn,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Xn,lt,He){this._itemSize=Xn,this._minBufferPx=lt,this._maxBufferPx=He,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Xn,lt){this._viewport&&this._viewport.scrollToOffset(Xn*this._itemSize,lt)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Xn=this._viewport.getRenderedRange(),lt={start:Xn.start,end:Xn.end},He=this._viewport.getViewportSize(),Le=this._viewport.getDataLength();let nt=this._viewport.measureScrollOffset(),gt=this._itemSize>0?nt/this._itemSize:0;if(lt.end>Le){const rn=Math.ceil(He/this._itemSize),mn=Math.max(0,Math.min(gt,Le-rn));gt!=mn&&(gt=mn,nt=mn*this._itemSize,lt.start=Math.floor(gt)),lt.end=Math.max(0,Math.min(Le,lt.start+rn))}const Dt=nt-lt.start*this._itemSize;if(Dt<this._minBufferPx&&0!=lt.start){const rn=Math.ceil((this._maxBufferPx-Dt)/this._itemSize);lt.start=Math.max(0,lt.start-rn),lt.end=Math.min(Le,Math.ceil(gt+(He+this._minBufferPx)/this._itemSize))}else{const rn=lt.end*this._itemSize-(nt+He);if(rn<this._minBufferPx&&lt.end!=Le){const mn=Math.ceil((this._maxBufferPx-rn)/this._itemSize);mn>0&&(lt.end=Math.min(Le,lt.end+mn),lt.start=Math.max(0,Math.floor(gt-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(lt),this._viewport.setRenderedContentOffset(this._itemSize*lt.start),this._scrolledIndexChange.next(Math.floor(gt))}}function Xe(En){return En._scrollStrategy}let yt=(()=>{class En{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Ke(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(lt){this._itemSize=(0,y.OE)(lt)}get minBufferPx(){return this._minBufferPx}set minBufferPx(lt){this._minBufferPx=(0,y.OE)(lt)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(lt){this._maxBufferPx=(0,y.OE)(lt)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(He){return new(He||En)};static#t=this.\u0275dir=$.FsC({type:En,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[$.Jv_([{provide:mt,useFactory:Xe,deps:[(0,$.Rfq)(()=>En)]}]),$.OA$]})}return En})(),Vt=(()=>{class En{constructor(lt,He,Le){this._ngZone=lt,this._platform=He,this._scrolled=new n.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Le}register(lt){this.scrollContainers.has(lt)||this.scrollContainers.set(lt,lt.elementScrolled().subscribe(()=>this._scrolled.next(lt)))}deregister(lt){const He=this.scrollContainers.get(lt);He&&(He.unsubscribe(),this.scrollContainers.delete(lt))}scrolled(lt=20){return this._platform.isBrowser?new L.c(He=>{this._globalSubscription||this._addGlobalListener();const Le=lt>0?this._scrolled.pipe((0,Ve.Z)(lt)).subscribe(He):this._scrolled.subscribe(He);return this._scrolledCount++,()=>{Le.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,a.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((lt,He)=>this.deregister(He)),this._scrolled.complete()}ancestorScrolled(lt,He){const Le=this.getAncestorScrollContainers(lt);return this.scrolled(He).pipe((0,Ee.p)(nt=>!nt||Le.indexOf(nt)>-1))}getAncestorScrollContainers(lt){const He=[];return this.scrollContainers.forEach((Le,nt)=>{this._scrollableContainsElement(nt,lt)&&He.push(nt)}),He}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(lt,He){let Le=(0,y.i8)(He),nt=lt.getElementRef().nativeElement;do{if(Le==nt)return!0}while(Le=Le.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const lt=this._getWindow();return(0,ae.R)(lt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(He){return new(He||En)($.KVO($.SKi),$.KVO(dt.OD),$.KVO(ft.qQ,8))};static#t=this.\u0275prov=$.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})(),_n=(()=>{class En{constructor(lt,He,Le,nt){this.elementRef=lt,this.scrollDispatcher=He,this.ngZone=Le,this.dir=nt,this._destroyed=new n.B,this._elementScrolled=new L.c(gt=>this.ngZone.runOutsideAngular(()=>(0,ae.R)(this.elementRef.nativeElement,"scroll").pipe((0,qe.Q)(this._destroyed)).subscribe(gt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(lt){const He=this.elementRef.nativeElement,Le=this.dir&&"rtl"==this.dir.value;null==lt.left&&(lt.left=Le?lt.end:lt.start),null==lt.right&&(lt.right=Le?lt.start:lt.end),null!=lt.bottom&&(lt.top=He.scrollHeight-He.clientHeight-lt.bottom),Le&&(0,dt.BD)()!=dt.r5.NORMAL?(null!=lt.left&&(lt.right=He.scrollWidth-He.clientWidth-lt.left),(0,dt.BD)()==dt.r5.INVERTED?lt.left=lt.right:(0,dt.BD)()==dt.r5.NEGATED&&(lt.left=lt.right?-lt.right:lt.right)):null!=lt.right&&(lt.left=He.scrollWidth-He.clientWidth-lt.right),this._applyScrollToOptions(lt)}_applyScrollToOptions(lt){const He=this.elementRef.nativeElement;(0,dt.CZ)()?He.scrollTo(lt):(null!=lt.top&&(He.scrollTop=lt.top),null!=lt.left&&(He.scrollLeft=lt.left))}measureScrollOffset(lt){const He="left",nt=this.elementRef.nativeElement;if("top"==lt)return nt.scrollTop;if("bottom"==lt)return nt.scrollHeight-nt.clientHeight-nt.scrollTop;const gt=this.dir&&"rtl"==this.dir.value;return"start"==lt?lt=gt?"right":He:"end"==lt&&(lt=gt?He:"right"),gt&&(0,dt.BD)()==dt.r5.INVERTED?lt==He?nt.scrollWidth-nt.clientWidth-nt.scrollLeft:nt.scrollLeft:gt&&(0,dt.BD)()==dt.r5.NEGATED?lt==He?nt.scrollLeft+nt.scrollWidth-nt.clientWidth:-nt.scrollLeft:lt==He?nt.scrollLeft:nt.scrollWidth-nt.clientWidth-nt.scrollLeft}static#e=this.\u0275fac=function(He){return new(He||En)($.rXU($.aKT),$.rXU(Vt),$.rXU($.SKi),$.rXU(ze.dS,8))};static#t=this.\u0275dir=$.FsC({type:En,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return En})(),Vn=(()=>{class En{constructor(lt,He,Le){this._platform=lt,this._change=new n.B,this._changeListener=nt=>{this._change.next(nt)},this._document=Le,He.runOutsideAngular(()=>{if(lt.isBrowser){const nt=this._getWindow();nt.addEventListener("resize",this._changeListener),nt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const lt=this._getWindow();lt.removeEventListener("resize",this._changeListener),lt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const lt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),lt}getViewportRect(){const lt=this.getViewportScrollPosition(),{width:He,height:Le}=this.getViewportSize();return{top:lt.top,left:lt.left,bottom:lt.top+Le,right:lt.left+He,height:Le,width:He}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const lt=this._document,He=this._getWindow(),Le=lt.documentElement,nt=Le.getBoundingClientRect();return{top:-nt.top||lt.body.scrollTop||He.scrollY||Le.scrollTop||0,left:-nt.left||lt.body.scrollLeft||He.scrollX||Le.scrollLeft||0}}change(lt=20){return lt>0?this._change.pipe((0,Ve.Z)(lt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const lt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:lt.innerWidth,height:lt.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(He){return new(He||En)($.KVO(dt.OD),$.KVO($.SKi),$.KVO(ft.qQ,8))};static#t=this.\u0275prov=$.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})();const Wn=new $.nKC("VIRTUAL_SCROLLABLE");let qn=(()=>{class En extends _n{constructor(lt,He,Le,nt){super(lt,He,Le,nt)}measureViewportSize(lt){const He=this.elementRef.nativeElement;return"horizontal"===lt?He.clientWidth:He.clientHeight}static#e=this.\u0275fac=function(He){return new(He||En)($.rXU($.aKT),$.rXU(Vt),$.rXU($.SKi),$.rXU(ze.dS,8))};static#t=this.\u0275dir=$.FsC({type:En,features:[$.Vt3]})}return En})();const Ci=typeof requestAnimationFrame<"u"?K.X:se.$;let oo=(()=>{class En extends qn{get orientation(){return this._orientation}set orientation(lt){this._orientation!==lt&&(this._orientation=lt,this._calculateSpacerSize())}constructor(lt,He,Le,nt,gt,Dt,rn,mn){super(lt,Dt,Le,gt),this.elementRef=lt,this._changeDetectorRef=He,this._scrollStrategy=nt,this.scrollable=mn,this._platform=(0,$.WQX)(dt.OD),this._detachedSubject=new n.B,this._renderedRangeSubject=new n.B,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new L.c(ri=>this._scrollStrategy.scrolledIndexChange.subscribe(Bi=>Promise.resolve().then(()=>this.ngZone.run(()=>ri.next(Bi))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=fe.yU.EMPTY,this._injector=(0,$.WQX)($.zZn),this._isDestroyed=!1,this._viewportChanges=rn.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Ge.Z)(null),(0,Ve.Z)(0,Ci),(0,qe.Q)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(lt){this.ngZone.runOutsideAngular(()=>{this._forOf=lt,this._forOf.dataStream.pipe((0,qe.Q)(this._detachedSubject)).subscribe(He=>{const Le=He.length;Le!==this._dataLength&&(this._dataLength=Le,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(lt){return this.getElementRef().nativeElement.getBoundingClientRect()[lt]}setTotalContentSize(lt){this._totalContentSize!==lt&&(this._totalContentSize=lt,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(lt){(function Ni(En,Xn){return En.start==Xn.start&&En.end==Xn.end})(this._renderedRange,lt)||(this.appendOnly&&(lt={start:0,end:Math.max(this._renderedRange.end,lt.end)}),this._renderedRangeSubject.next(this._renderedRange=lt),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(lt,He="to-start"){lt=this.appendOnly&&"to-start"===He?0:lt;const nt="horizontal"==this.orientation,gt=nt?"X":"Y";let rn=`translate${gt}(${Number((nt&&this.dir&&"rtl"==this.dir.value?-1:1)*lt)}px)`;this._renderedContentOffset=lt,"to-end"===He&&(rn+=` translate${gt}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=rn&&(this._renderedContentTransform=rn,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(lt,He="auto"){const Le={behavior:He};"horizontal"===this.orientation?Le.start=lt:Le.top=lt,this.scrollable.scrollTo(Le)}scrollToIndex(lt,He="auto"){this._scrollStrategy.scrollToIndex(lt,He)}measureScrollOffset(lt){let He;return He=this.scrollable==this?Le=>super.measureScrollOffset(Le):Le=>this.scrollable.measureScrollOffset(Le),Math.max(0,He(lt??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(lt){let He;const gt="rtl"==this.dir?.value;He="start"==lt?gt?"right":"left":"end"==lt?gt?"left":"right":lt||("horizontal"===this.orientation?"left":"top");const Dt=this.scrollable.measureBoundingClientRectWithScrollOffset(He);return this.elementRef.nativeElement.getBoundingClientRect()[He]-Dt}measureRenderedContentSize(){const lt=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?lt.offsetWidth:lt.offsetHeight}measureRangeSize(lt){return this._forOf?this._forOf.measureRangeSize(lt,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(lt){lt&&this._runAfterChangeDetection.push(lt),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,(0,$.mal)(()=>{this._isChangeDetectionPending=!1;const lt=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const He of lt)He()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}static#e=this.\u0275fac=function(He){return new(He||En)($.rXU($.aKT),$.rXU($.gRc),$.rXU($.SKi),$.rXU(mt,8),$.rXU(ze.dS,8),$.rXU(Vt),$.rXU(Vn),$.rXU(Wn,8))};static#t=this.\u0275cmp=$.VBU({type:En,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(He,Le){if(1&He&&$.GBs(sn,7),2&He){let nt;$.mGM(nt=$.lsd())&&(Le._contentWrapper=nt.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(He,Le){2&He&&$.AVh("cdk-virtual-scroll-orientation-horizontal","horizontal"===Le.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Le.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",$.L39]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[$.Jv_([{provide:_n,useFactory:(lt,He)=>lt||He,deps:[[new $.Xx1,new $.y_5(Wn)],En]}]),$.GFd,$.Vt3,$.aNF],ngContentSelectors:Mt,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(He,Le){1&He&&($.NAR(),$.j41(0,"div",1,0),$.SdG(2),$.k0s(),$.nrm(3,"div",2)),2&He&&($.R7$(3),$.xc7("width",Le._totalContentWidth)("height",Le._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}return En})();function Rn(En,Xn,lt){if(!lt.getBoundingClientRect)return 0;const Le=lt.getBoundingClientRect();return"horizontal"===En?"start"===Xn?Le.left:Le.right:"start"===Xn?Le.top:Le.bottom}let vi=(()=>{class En{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(lt){this._cdkVirtualForOf=lt,function be(En){return En&&"function"==typeof En.connect&&!(En instanceof B.G)}(lt)?this._dataSourceChanges.next(lt):this._dataSourceChanges.next(new Pe((0,le.A)(lt)?lt:Array.from(lt||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(lt){this._needsUpdate=!0,this._cdkVirtualForTrackBy=lt?(He,Le)=>lt(He+(this._renderedRange?this._renderedRange.start:0),Le):void 0}set cdkVirtualForTemplate(lt){lt&&(this._needsUpdate=!0,this._template=lt)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(lt){this._viewRepeater.viewCacheSize=(0,y.OE)(lt)}constructor(lt,He,Le,nt,gt,Dt){this._viewContainerRef=lt,this._template=He,this._differs=Le,this._viewRepeater=nt,this._viewport=gt,this.viewChange=new n.B,this._dataSourceChanges=new n.B,this.dataStream=this._dataSourceChanges.pipe((0,Ge.Z)(null),(0,ht.J)(),(0,at.n)(([rn,mn])=>this._changeDataSource(rn,mn)),(0,Tt.t)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new n.B,this.dataStream.subscribe(rn=>{this._data=rn,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,qe.Q)(this._destroyed)).subscribe(rn=>{this._renderedRange=rn,this.viewChange.observers.length&&Dt.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(lt,He){if(lt.start>=lt.end)return 0;const Le=lt.start-this._renderedRange.start,nt=lt.end-lt.start;let gt,Dt;for(let rn=0;rn<nt;rn++){const mn=this._viewContainerRef.get(rn+Le);if(mn&&mn.rootNodes.length){gt=Dt=mn.rootNodes[0];break}}for(let rn=nt-1;rn>-1;rn--){const mn=this._viewContainerRef.get(rn+Le);if(mn&&mn.rootNodes.length){Dt=mn.rootNodes[mn.rootNodes.length-1];break}}return gt&&Dt?Rn(He,"end",Dt)-Rn(He,"start",gt):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const lt=this._differ.diff(this._renderedItems);lt?this._applyChanges(lt):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((lt,He)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(lt,He):He)),this._needsUpdate=!0)}_changeDataSource(lt,He){return lt&&lt.disconnect(this),this._needsUpdate=!0,He?He.connect(this):(0,a.of)()}_updateContext(){const lt=this._data.length;let He=this._viewContainerRef.length;for(;He--;){const Le=this._viewContainerRef.get(He);Le.context.index=this._renderedRange.start+He,Le.context.count=lt,this._updateComputedContextProperties(Le.context),Le.detectChanges()}}_applyChanges(lt){this._viewRepeater.applyChanges(lt,this._viewContainerRef,(nt,gt,Dt)=>this._getEmbeddedViewArgs(nt,Dt),nt=>nt.item),lt.forEachIdentityChange(nt=>{this._viewContainerRef.get(nt.currentIndex).context.$implicit=nt.item});const He=this._data.length;let Le=this._viewContainerRef.length;for(;Le--;){const nt=this._viewContainerRef.get(Le);nt.context.index=this._renderedRange.start+Le,nt.context.count=He,this._updateComputedContextProperties(nt.context)}}_updateComputedContextProperties(lt){lt.first=0===lt.index,lt.last=lt.index===lt.count-1,lt.even=lt.index%2==0,lt.odd=!lt.even}_getEmbeddedViewArgs(lt,He){return{templateRef:this._template,context:{$implicit:lt.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:He}}static#e=this.\u0275fac=function(He){return new(He||En)($.rXU($.c1b),$.rXU($.C4Q),$.rXU($._q3),$.rXU(z),$.rXU(oo,4),$.rXU($.SKi))};static#t=this.\u0275dir=$.FsC({type:En,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[$.Jv_([{provide:z,useClass:P}])]})}return En})(),ei=(()=>{class En{static#e=this.\u0275fac=function(He){return new(He||En)};static#t=this.\u0275mod=$.$C({type:En});static#n=this.\u0275inj=$.G2t({})}return En})(),Yi=(()=>{class En{static#e=this.\u0275fac=function(He){return new(He||En)};static#t=this.\u0275mod=$.$C({type:En});static#n=this.\u0275inj=$.G2t({imports:[ze.jI,ei,ze.jI,ei]})}return En})()},60177:(De,A,C)=>{"use strict";C.d(A,{AJ:()=>ko,B3:()=>jo,EO:()=>$i,Jj:()=>Ls,MD:()=>Mi,N0:()=>Ar,PV:()=>Ea,QT:()=>n,Sm:()=>ht,Sq:()=>Ot,T3:()=>or,TG:()=>ml,UE:()=>nr,VF:()=>L,Vy:()=>qo,Xr:()=>Ts,YU:()=>Yo,ZD:()=>a,_b:()=>ro,aZ:()=>Tt,bT:()=>ai,fw:()=>at,hb:()=>qe,hj:()=>fe,lG:()=>_a,oe:()=>ws,qQ:()=>K,vh:()=>as});var y=C(93953);let $=null;function n(){return $}function a(te){$??=te}class L{}const K=new y.nKC("");let se=(()=>{class te{historyGo(ve){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275prov=y.jDH({token:te,factory:()=>(0,y.WQX)(le),providedIn:"platform"})}return te})();const fe=new y.nKC("");let le=(()=>{class te extends se{constructor(){super(),this._doc=(0,y.WQX)(K),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return n().getBaseHref(this._doc)}onPopState(ve){const Re=n().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("popstate",ve,!1),()=>Re.removeEventListener("popstate",ve)}onHashChange(ve){const Re=n().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("hashchange",ve,!1),()=>Re.removeEventListener("hashchange",ve)}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(ve){this._location.pathname=ve}pushState(ve,Re,Pt){this._history.pushState(ve,Re,Pt)}replaceState(ve,Re,Pt){this._history.replaceState(ve,Re,Pt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ve=0){this._history.go(ve)}getState(){return this._history.state}static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275prov=y.jDH({token:te,factory:()=>new te,providedIn:"platform"})}return te})();function de(te,je){if(0==te.length)return je;if(0==je.length)return te;let ve=0;return te.endsWith("/")&&ve++,je.startsWith("/")&&ve++,2==ve?te+je.substring(1):1==ve?te+je:te+"/"+je}function Ve(te){const je=te.match(/#|\?|$/),ve=je&&je.index||te.length;return te.slice(0,ve-("/"===te[ve-1]?1:0))+te.slice(ve)}function Ee(te){return te&&"?"!==te[0]?"?"+te:te}let qe=(()=>{class te{historyGo(ve){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275prov=y.jDH({token:te,factory:()=>(0,y.WQX)(ht),providedIn:"root"})}return te})();const Ge=new y.nKC("");let ht=(()=>{class te extends qe{constructor(ve,Re){super(),this._platformLocation=ve,this._removeListenerFns=[],this._baseHref=Re??this._platformLocation.getBaseHrefFromDOM()??(0,y.WQX)(K).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ve){this._removeListenerFns.push(this._platformLocation.onPopState(ve),this._platformLocation.onHashChange(ve))}getBaseHref(){return this._baseHref}prepareExternalUrl(ve){return de(this._baseHref,ve)}path(ve=!1){const Re=this._platformLocation.pathname+Ee(this._platformLocation.search),Pt=this._platformLocation.hash;return Pt&&ve?`${Re}${Pt}`:Re}pushState(ve,Re,Pt,vn){const Pn=this.prepareExternalUrl(Pt+Ee(vn));this._platformLocation.pushState(ve,Re,Pn)}replaceState(ve,Re,Pt,vn){const Pn=this.prepareExternalUrl(Pt+Ee(vn));this._platformLocation.replaceState(ve,Re,Pn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ve=0){this._platformLocation.historyGo?.(ve)}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.KVO(se),y.KVO(Ge,8))};static#t=this.\u0275prov=y.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),at=(()=>{class te extends qe{constructor(ve,Re){super(),this._platformLocation=ve,this._baseHref="",this._removeListenerFns=[],null!=Re&&(this._baseHref=Re)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ve){this._removeListenerFns.push(this._platformLocation.onPopState(ve),this._platformLocation.onHashChange(ve))}getBaseHref(){return this._baseHref}path(ve=!1){const Re=this._platformLocation.hash??"#";return Re.length>0?Re.substring(1):Re}prepareExternalUrl(ve){const Re=de(this._baseHref,ve);return Re.length>0?"#"+Re:Re}pushState(ve,Re,Pt,vn){let Pn=this.prepareExternalUrl(Pt+Ee(vn));0==Pn.length&&(Pn=this._platformLocation.pathname),this._platformLocation.pushState(ve,Re,Pn)}replaceState(ve,Re,Pt,vn){let Pn=this.prepareExternalUrl(Pt+Ee(vn));0==Pn.length&&(Pn=this._platformLocation.pathname),this._platformLocation.replaceState(ve,Re,Pn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ve=0){this._platformLocation.historyGo?.(ve)}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.KVO(se),y.KVO(Ge,8))};static#t=this.\u0275prov=y.jDH({token:te,factory:te.\u0275fac})}return te})(),Tt=(()=>{class te{constructor(ve){this._subject=new y.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ve;const Re=this._locationStrategy.getBaseHref();this._basePath=function B(te){if(new RegExp("^(https?:)?//").test(te)){const[,ve]=te.split(/\/\/[^\/]+/);return ve}return te}(Ve(ze(Re))),this._locationStrategy.onPopState(Pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Pt.state,type:Pt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ve=!1){return this.normalize(this._locationStrategy.path(ve))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ve,Re=""){return this.path()==this.normalize(ve+Ee(Re))}normalize(ve){return te.stripTrailingSlash(function ft(te,je){if(!te||!je.startsWith(te))return je;const ve=je.substring(te.length);return""===ve||["/",";","?","#"].includes(ve[0])?ve:je}(this._basePath,ze(ve)))}prepareExternalUrl(ve){return ve&&"/"!==ve[0]&&(ve="/"+ve),this._locationStrategy.prepareExternalUrl(ve)}go(ve,Re="",Pt=null){this._locationStrategy.pushState(Pt,"",ve,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(ve+Ee(Re)),Pt)}replaceState(ve,Re="",Pt=null){this._locationStrategy.replaceState(Pt,"",ve,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(ve+Ee(Re)),Pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ve=0){this._locationStrategy.historyGo?.(ve)}onUrlChange(ve){return this._urlChangeListeners.push(ve),this._urlChangeSubscription??=this.subscribe(Re=>{this._notifyUrlChangeListeners(Re.url,Re.state)}),()=>{const Re=this._urlChangeListeners.indexOf(ve);this._urlChangeListeners.splice(Re,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ve="",Re){this._urlChangeListeners.forEach(Pt=>Pt(ve,Re))}subscribe(ve,Re,Pt){return this._subject.subscribe({next:ve,error:Re,complete:Pt})}static#e=this.normalizeQueryParams=Ee;static#t=this.joinWithSlash=de;static#n=this.stripTrailingSlash=Ve;static#i=this.\u0275fac=function(Re){return new(Re||te)(y.KVO(qe))};static#o=this.\u0275prov=y.jDH({token:te,factory:()=>function dt(){return new Tt((0,y.KVO)(qe))}(),providedIn:"root"})}return te})();function ze(te){return te.replace(/\/index.html$/,"")}const Te={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var be=function(te){return te[te.Decimal=0]="Decimal",te[te.Percent=1]="Percent",te[te.Currency=2]="Currency",te[te.Scientific=3]="Scientific",te}(be||{}),et=function(te){return te[te.Format=0]="Format",te[te.Standalone=1]="Standalone",te}(et||{}),z=function(te){return te[te.Narrow=0]="Narrow",te[te.Abbreviated=1]="Abbreviated",te[te.Wide=2]="Wide",te[te.Short=3]="Short",te}(z||{}),X=function(te){return te[te.Short=0]="Short",te[te.Medium=1]="Medium",te[te.Long=2]="Long",te[te.Full=3]="Full",te}(X||{});const P={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 yt(te,je){return fi((0,y.H5H)(te)[y.KH2.DateFormat],je)}function Rt(te,je){return fi((0,y.H5H)(te)[y.KH2.TimeFormat],je)}function Vt(te,je){return fi((0,y.H5H)(te)[y.KH2.DateTimeFormat],je)}function _n(te,je){const ve=(0,y.H5H)(te),Re=ve[y.KH2.NumberSymbols][je];if(typeof Re>"u"){if(je===P.CurrencyDecimal)return ve[y.KH2.NumberSymbols][P.Decimal];if(je===P.CurrencyGroup)return ve[y.KH2.NumberSymbols][P.Group]}return Re}function oo(te){if(!te[y.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${te[y.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fi(te,je){for(let ve=je;ve>-1;ve--)if(typeof te[ve]<"u")return te[ve];throw new Error("Locale data API: locale data undefined")}function ei(te){const[je,ve]=te.split(":");return{hours:+je,minutes:+ve}}const lt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,He={},Le=/((?:[^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 nt=function(te){return te[te.Short=0]="Short",te[te.ShortGMT=1]="ShortGMT",te[te.Long=2]="Long",te[te.Extended=3]="Extended",te}(nt||{}),gt=function(te){return te[te.FullYear=0]="FullYear",te[te.Month=1]="Month",te[te.Date=2]="Date",te[te.Hours=3]="Hours",te[te.Minutes=4]="Minutes",te[te.Seconds=5]="Seconds",te[te.FractionalSeconds=6]="FractionalSeconds",te[te.Day=7]="Day",te}(gt||{}),Dt=function(te){return te[te.DayPeriods=0]="DayPeriods",te[te.Days=1]="Days",te[te.Months=2]="Months",te[te.Eras=3]="Eras",te}(Dt||{});function rn(te,je,ve,Re){let Pt=function tt(te){if(Et(te))return te;if("number"==typeof te&&!isNaN(te))return new Date(te);if("string"==typeof te){if(te=te.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(te)){const[Pt,vn=1,Pn=1]=te.split("-").map(Xi=>+Xi);return mn(Pt,vn-1,Pn)}const ve=parseFloat(te);if(!isNaN(te-ve))return new Date(ve);let Re;if(Re=te.match(lt))return function ut(te){const je=new Date(0);let ve=0,Re=0;const Pt=te[8]?je.setUTCFullYear:je.setFullYear,vn=te[8]?je.setUTCHours:je.setHours;te[9]&&(ve=Number(te[9]+te[10]),Re=Number(te[9]+te[11])),Pt.call(je,Number(te[1]),Number(te[2])-1,Number(te[3]));const Pn=Number(te[4]||0)-ve,Xi=Number(te[5]||0)-Re,xs=Number(te[6]||0),Fo=Math.floor(1e3*parseFloat("0."+(te[7]||0)));return vn.call(je,Pn,Xi,xs,Fo),je}(Re)}const je=new Date(te);if(!Et(je))throw new Error(`Unable to convert "${te}" into a date`);return je}(te);je=ri(ve,je)||je;let Xi,Pn=[];for(;je;){if(Xi=Le.exec(je),!Xi){Pn.push(je);break}{Pn=Pn.concat(Xi.slice(1));const pr=Pn.pop();if(!pr)break;je=pr}}let xs=Pt.getTimezoneOffset();Re&&(xs=ot(Re,xs),Pt=function tn(te,je,ve){const Re=ve?-1:1,Pt=te.getTimezoneOffset();return function Ct(te,je){return(te=new Date(te.getTime())).setMinutes(te.getMinutes()+je),te}(te,Re*(ot(je,Pt)-Pt))}(Pt,Re,!0));let Fo="";return Pn.forEach(pr=>{const hi=function en(te){if(xt[te])return xt[te];let je;switch(te){case"G":case"GG":case"GGG":je=Vi(Dt.Eras,z.Abbreviated);break;case"GGGG":je=Vi(Dt.Eras,z.Wide);break;case"GGGGG":je=Vi(Dt.Eras,z.Narrow);break;case"y":je=Li(gt.FullYear,1,0,!1,!0);break;case"yy":je=Li(gt.FullYear,2,0,!0,!0);break;case"yyy":je=Li(gt.FullYear,3,0,!1,!0);break;case"yyyy":je=Li(gt.FullYear,4,0,!1,!0);break;case"Y":je=Bn(1);break;case"YY":je=Bn(2,!0);break;case"YYY":je=Bn(3);break;case"YYYY":je=Bn(4);break;case"M":case"L":je=Li(gt.Month,1,1);break;case"MM":case"LL":je=Li(gt.Month,2,1);break;case"MMM":je=Vi(Dt.Months,z.Abbreviated);break;case"MMMM":je=Vi(Dt.Months,z.Wide);break;case"MMMMM":je=Vi(Dt.Months,z.Narrow);break;case"LLL":je=Vi(Dt.Months,z.Abbreviated,et.Standalone);break;case"LLLL":je=Vi(Dt.Months,z.Wide,et.Standalone);break;case"LLLLL":je=Vi(Dt.Months,z.Narrow,et.Standalone);break;case"w":je=Cn(1);break;case"ww":je=Cn(2);break;case"W":je=Cn(1,!0);break;case"d":je=Li(gt.Date,1);break;case"dd":je=Li(gt.Date,2);break;case"c":case"cc":je=Li(gt.Day,1);break;case"ccc":je=Vi(Dt.Days,z.Abbreviated,et.Standalone);break;case"cccc":je=Vi(Dt.Days,z.Wide,et.Standalone);break;case"ccccc":je=Vi(Dt.Days,z.Narrow,et.Standalone);break;case"cccccc":je=Vi(Dt.Days,z.Short,et.Standalone);break;case"E":case"EE":case"EEE":je=Vi(Dt.Days,z.Abbreviated);break;case"EEEE":je=Vi(Dt.Days,z.Wide);break;case"EEEEE":je=Vi(Dt.Days,z.Narrow);break;case"EEEEEE":je=Vi(Dt.Days,z.Short);break;case"a":case"aa":case"aaa":je=Vi(Dt.DayPeriods,z.Abbreviated);break;case"aaaa":je=Vi(Dt.DayPeriods,z.Wide);break;case"aaaaa":je=Vi(Dt.DayPeriods,z.Narrow);break;case"b":case"bb":case"bbb":je=Vi(Dt.DayPeriods,z.Abbreviated,et.Standalone,!0);break;case"bbbb":je=Vi(Dt.DayPeriods,z.Wide,et.Standalone,!0);break;case"bbbbb":je=Vi(Dt.DayPeriods,z.Narrow,et.Standalone,!0);break;case"B":case"BB":case"BBB":je=Vi(Dt.DayPeriods,z.Abbreviated,et.Format,!0);break;case"BBBB":je=Vi(Dt.DayPeriods,z.Wide,et.Format,!0);break;case"BBBBB":je=Vi(Dt.DayPeriods,z.Narrow,et.Format,!0);break;case"h":je=Li(gt.Hours,1,-12);break;case"hh":je=Li(gt.Hours,2,-12);break;case"H":je=Li(gt.Hours,1);break;case"HH":je=Li(gt.Hours,2);break;case"m":je=Li(gt.Minutes,1);break;case"mm":je=Li(gt.Minutes,2);break;case"s":je=Li(gt.Seconds,1);break;case"ss":je=Li(gt.Seconds,2);break;case"S":je=Li(gt.FractionalSeconds,1);break;case"SS":je=Li(gt.FractionalSeconds,2);break;case"SSS":je=Li(gt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":je=Mo(nt.Short);break;case"ZZZZZ":je=Mo(nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":je=Mo(nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":je=Mo(nt.Long);break;default:return null}return xt[te]=je,je}(pr);Fo+=hi?hi(Pt,ve,xs):"''"===pr?"'":pr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Fo}function mn(te,je,ve){const Re=new Date(0);return Re.setFullYear(te,je,ve),Re.setHours(0,0,0),Re}function ri(te,je){const ve=function Ue(te){return(0,y.H5H)(te)[y.KH2.LocaleId]}(te);if(He[ve]??={},He[ve][je])return He[ve][je];let Re="";switch(je){case"shortDate":Re=yt(te,X.Short);break;case"mediumDate":Re=yt(te,X.Medium);break;case"longDate":Re=yt(te,X.Long);break;case"fullDate":Re=yt(te,X.Full);break;case"shortTime":Re=Rt(te,X.Short);break;case"mediumTime":Re=Rt(te,X.Medium);break;case"longTime":Re=Rt(te,X.Long);break;case"fullTime":Re=Rt(te,X.Full);break;case"short":const Pt=ri(te,"shortTime"),vn=ri(te,"shortDate");Re=Bi(Vt(te,X.Short),[Pt,vn]);break;case"medium":const Pn=ri(te,"mediumTime"),Xi=ri(te,"mediumDate");Re=Bi(Vt(te,X.Medium),[Pn,Xi]);break;case"long":const xs=ri(te,"longTime"),Fo=ri(te,"longDate");Re=Bi(Vt(te,X.Long),[xs,Fo]);break;case"full":const pr=ri(te,"fullTime"),hi=ri(te,"fullDate");Re=Bi(Vt(te,X.Full),[pr,hi])}return Re&&(He[ve][je]=Re),Re}function Bi(te,je){return je&&(te=te.replace(/\{([^}]+)}/g,function(ve,Re){return null!=je&&Re in je?je[Re]:ve})),te}function wi(te,je,ve="-",Re,Pt){let vn="";(te<0||Pt&&te<=0)&&(Pt?te=1-te:(te=-te,vn=ve));let Pn=String(te);for(;Pn.length<je;)Pn="0"+Pn;return Re&&(Pn=Pn.slice(Pn.length-je)),vn+Pn}function Li(te,je,ve=0,Re=!1,Pt=!1){return function(vn,Pn){let Xi=function _o(te,je){switch(te){case gt.FullYear:return je.getFullYear();case gt.Month:return je.getMonth();case gt.Date:return je.getDate();case gt.Hours:return je.getHours();case gt.Minutes:return je.getMinutes();case gt.Seconds:return je.getSeconds();case gt.FractionalSeconds:return je.getMilliseconds();case gt.Day:return je.getDay();default:throw new Error(`Unknown DateType value "${te}".`)}}(te,vn);if((ve>0||Xi>-ve)&&(Xi+=ve),te===gt.Hours)0===Xi&&-12===ve&&(Xi=12);else if(te===gt.FractionalSeconds)return function mi(te,je){return wi(te,3).substring(0,je)}(Xi,je);const xs=_n(Pn,P.MinusSign);return wi(Xi,je,xs,Re,Pt)}}function Vi(te,je,ve=et.Format,Re=!1){return function(Pt,vn){return function Di(te,je,ve,Re,Pt,vn){switch(ve){case Dt.Months:return function Mt(te,je,ve){const Re=(0,y.H5H)(te),vn=fi([Re[y.KH2.MonthsFormat],Re[y.KH2.MonthsStandalone]],je);return fi(vn,ve)}(je,Pt,Re)[te.getMonth()];case Dt.Days:return function sn(te,je,ve){const Re=(0,y.H5H)(te),vn=fi([Re[y.KH2.DaysFormat],Re[y.KH2.DaysStandalone]],je);return fi(vn,ve)}(je,Pt,Re)[te.getDay()];case Dt.DayPeriods:const Pn=te.getHours(),Xi=te.getMinutes();if(vn){const Fo=function Rn(te){const je=(0,y.H5H)(te);return oo(je),(je[y.KH2.ExtraData][2]||[]).map(Re=>"string"==typeof Re?ei(Re):[ei(Re[0]),ei(Re[1])])}(je),pr=function vi(te,je,ve){const Re=(0,y.H5H)(te);oo(Re);const vn=fi([Re[y.KH2.ExtraData][0],Re[y.KH2.ExtraData][1]],je)||[];return fi(vn,ve)||[]}(je,Pt,Re),hi=Fo.findIndex(rs=>{if(Array.isArray(rs)){const[Lr,Rr]=rs,ic=Pn>=Lr.hours&&Xi>=Lr.minutes,il=Pn<Rr.hours||Pn===Rr.hours&&Xi<Rr.minutes;if(Lr.hours<Rr.hours){if(ic&&il)return!0}else if(ic||il)return!0}else if(rs.hours===Pn&&rs.minutes===Xi)return!0;return!1});if(-1!==hi)return pr[hi]}return function zt(te,je,ve){const Re=(0,y.H5H)(te),vn=fi([Re[y.KH2.DayPeriodsFormat],Re[y.KH2.DayPeriodsStandalone]],je);return fi(vn,ve)}(je,Pt,Re)[Pn<12?0:1];case Dt.Eras:return function mt(te,je){return fi((0,y.H5H)(te)[y.KH2.Eras],je)}(je,Re)[te.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${ve}`)}}(Pt,vn,te,je,ve,Re)}}function Mo(te){return function(je,ve,Re){const Pt=-1*Re,vn=_n(ve,P.MinusSign),Pn=Pt>0?Math.floor(Pt/60):Math.ceil(Pt/60);switch(te){case nt.Short:return(Pt>=0?"+":"")+wi(Pn,2,vn)+wi(Math.abs(Pt%60),2,vn);case nt.ShortGMT:return"GMT"+(Pt>=0?"+":"")+wi(Pn,1,vn);case nt.Long:return"GMT"+(Pt>=0?"+":"")+wi(Pn,2,vn)+":"+wi(Math.abs(Pt%60),2,vn);case nt.Extended:return 0===Re?"Z":(Pt>=0?"+":"")+wi(Pn,2,vn)+":"+wi(Math.abs(Pt%60),2,vn);default:throw new Error(`Unknown zone width "${te}"`)}}}const Yt=0,Hn=4;function qt(te){const je=te.getDay(),ve=0===je?-3:Hn-je;return mn(te.getFullYear(),te.getMonth(),te.getDate()+ve)}function Cn(te,je=!1){return function(ve,Re){let Pt;if(je){const vn=new Date(ve.getFullYear(),ve.getMonth(),1).getDay()-1,Pn=ve.getDate();Pt=1+Math.floor((Pn+vn)/7)}else{const vn=qt(ve),Pn=function Ri(te){const je=mn(te,Yt,1).getDay();return mn(te,0,1+(je<=Hn?Hn:Hn+7)-je)}(vn.getFullYear()),Xi=vn.getTime()-Pn.getTime();Pt=1+Math.round(Xi/6048e5)}return wi(Pt,te,_n(Re,P.MinusSign))}}function Bn(te,je=!1){return function(ve,Re){return wi(qt(ve).getFullYear(),te,_n(Re,P.MinusSign),je)}}const xt={};function ot(te,je){te=te.replace(/:/g,"");const ve=Date.parse("Jan 01, 1970 00:00:00 "+te)/6e4;return isNaN(ve)?je:ve}function Et(te){return te instanceof Date&&!isNaN(te.valueOf())}const gn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ut=22,Qn=".",Nt="0",Be=";",we=",",H="#";function Ft(te,je,ve,Re,Pt){const Pn=function di(te,je="-"){const ve={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Re=te.split(Be),Pt=Re[0],vn=Re[1],Pn=-1!==Pt.indexOf(Qn)?Pt.split(Qn):[Pt.substring(0,Pt.lastIndexOf(Nt)+1),Pt.substring(Pt.lastIndexOf(Nt)+1)],Xi=Pn[0],xs=Pn[1]||"";ve.posPre=Xi.substring(0,Xi.indexOf(H));for(let pr=0;pr<xs.length;pr++){const hi=xs.charAt(pr);hi===Nt?ve.minFrac=ve.maxFrac=pr+1:hi===H?ve.maxFrac=pr+1:ve.posSuf+=hi}const Fo=Xi.split(we);if(ve.gSize=Fo[1]?Fo[1].length:0,ve.lgSize=Fo[2]||Fo[1]?(Fo[2]||Fo[1]).length:0,vn){const pr=Pt.length-ve.posPre.length-ve.posSuf.length,hi=vn.indexOf(H);ve.negPre=vn.substring(0,hi).replace(/'/g,""),ve.negSuf=vn.slice(hi+pr).replace(/'/g,"")}else ve.negPre=je+ve.posPre,ve.negSuf=ve.posSuf;return ve}(function oi(te,je){return(0,y.H5H)(te)[y.KH2.NumberFormats][je]}(je,be.Currency),_n(je,P.MinusSign));return Pn.minFrac=function Xn(te){let je;const ve=Te[te];return ve&&(je=ve[2]),"number"==typeof je?je:2}(Re),Pn.maxFrac=Pn.minFrac,function We(te,je,ve,Re,Pt,vn,Pn=!1){let Xi="",xs=!1;if(isFinite(te)){let Fo=function Qi(te){let Re,Pt,vn,Pn,Xi,je=Math.abs(te)+"",ve=0;for((Pt=je.indexOf(Qn))>-1&&(je=je.replace(Qn,"")),(vn=je.search(/e/i))>0?(Pt<0&&(Pt=vn),Pt+=+je.slice(vn+1),je=je.substring(0,vn)):Pt<0&&(Pt=je.length),vn=0;je.charAt(vn)===Nt;vn++);if(vn===(Xi=je.length))Re=[0],Pt=1;else{for(Xi--;je.charAt(Xi)===Nt;)Xi--;for(Pt-=vn,Re=[],Pn=0;vn<=Xi;vn++,Pn++)Re[Pn]=Number(je.charAt(vn))}return Pt>Ut&&(Re=Re.splice(0,Ut-1),ve=Pt-1,Pt=1),{digits:Re,exponent:ve,integerLen:Pt}}(te);Pn&&(Fo=function ui(te){if(0===te.digits[0])return te;const je=te.digits.length-te.integerLen;return te.exponent?te.exponent+=2:(0===je?te.digits.push(0,0):1===je&&te.digits.push(0),te.integerLen+=2),te}(Fo));let pr=je.minInt,hi=je.minFrac,rs=je.maxFrac;if(vn){const Dl=vn.match(gn);if(null===Dl)throw new Error(`${vn} is not a valid digit info`);const rl=Dl[1],$a=Dl[3],$l=Dl[5];null!=rl&&(pr=hn(rl)),null!=$a&&(hi=hn($a)),null!=$l?rs=hn($l):null!=$a&&hi>rs&&(rs=hi)}!function yo(te,je,ve){if(je>ve)throw new Error(`The minimum number of digits after fraction (${je}) is higher than the maximum (${ve}).`);let Re=te.digits,Pt=Re.length-te.integerLen;const vn=Math.min(Math.max(je,Pt),ve);let Pn=vn+te.integerLen,Xi=Re[Pn];if(Pn>0){Re.splice(Math.max(te.integerLen,Pn));for(let hi=Pn;hi<Re.length;hi++)Re[hi]=0}else{Pt=Math.max(0,Pt),te.integerLen=1,Re.length=Math.max(1,Pn=vn+1),Re[0]=0;for(let hi=1;hi<Pn;hi++)Re[hi]=0}if(Xi>=5)if(Pn-1<0){for(let hi=0;hi>Pn;hi--)Re.unshift(0),te.integerLen++;Re.unshift(1),te.integerLen++}else Re[Pn-1]++;for(;Pt<Math.max(0,vn);Pt++)Re.push(0);let xs=0!==vn;const Fo=je+te.integerLen,pr=Re.reduceRight(function(hi,rs,Lr,Rr){return Rr[Lr]=(rs+=hi)<10?rs:rs-10,xs&&(0===Rr[Lr]&&Lr>=Fo?Rr.pop():xs=!1),rs>=10?1:0},0);pr&&(Re.unshift(pr),te.integerLen++)}(Fo,hi,rs);let Lr=Fo.digits,Rr=Fo.integerLen;const ic=Fo.exponent;let il=[];for(xs=Lr.every(Dl=>!Dl);Rr<pr;Rr++)Lr.unshift(0);for(;Rr<0;Rr++)Lr.unshift(0);Rr>0?il=Lr.splice(Rr,Lr.length):(il=Lr,Lr=[0]);const ol=[];for(Lr.length>=je.lgSize&&ol.unshift(Lr.splice(-je.lgSize,Lr.length).join(""));Lr.length>je.gSize;)ol.unshift(Lr.splice(-je.gSize,Lr.length).join(""));Lr.length&&ol.unshift(Lr.join("")),Xi=ol.join(_n(ve,Re)),il.length&&(Xi+=_n(ve,Pt)+il.join("")),ic&&(Xi+=_n(ve,P.Exponential)+"+"+ic)}else Xi=_n(ve,P.Infinity);return Xi=te<0&&!xs?je.negPre+Xi+je.negSuf:je.posPre+Xi+je.posSuf,Xi}(te,Pn,je,P.CurrencyGroup,P.CurrencyDecimal,Pt).replace("\xa4",ve).replace("\xa4","").trim()}function hn(te){const je=parseInt(te);if(isNaN(je))throw new Error("Invalid integer literal when parsing "+te);return je}function $i(te,je,ve){return(0,y.XSP)(te,je,ve)}function ro(te,je){je=encodeURIComponent(je);for(const ve of te.split(";")){const Re=ve.indexOf("="),[Pt,vn]=-1==Re?[ve,""]:[ve.slice(0,Re),ve.slice(Re+1)];if(Pt.trim()===je)return decodeURIComponent(vn)}return null}const go=/\s+/,Ao=[];let Yo=(()=>{class te{constructor(ve,Re){this._ngEl=ve,this._renderer=Re,this.initialClasses=Ao,this.stateMap=new Map}set klass(ve){this.initialClasses=null!=ve?ve.trim().split(go):Ao}set ngClass(ve){this.rawClass="string"==typeof ve?ve.trim().split(go):ve}ngDoCheck(){for(const Re of this.initialClasses)this._updateState(Re,!0);const ve=this.rawClass;if(Array.isArray(ve)||ve instanceof Set)for(const Re of ve)this._updateState(Re,!0);else if(null!=ve)for(const Re of Object.keys(ve))this._updateState(Re,!!ve[Re]);this._applyStateDiff()}_updateState(ve,Re){const Pt=this.stateMap.get(ve);void 0!==Pt?(Pt.enabled!==Re&&(Pt.changed=!0,Pt.enabled=Re),Pt.touched=!0):this.stateMap.set(ve,{enabled:Re,changed:!0,touched:!0})}_applyStateDiff(){for(const ve of this.stateMap){const Re=ve[0],Pt=ve[1];Pt.changed?(this._toggleClass(Re,Pt.enabled),Pt.changed=!1):Pt.touched||(Pt.enabled&&this._toggleClass(Re,!1),this.stateMap.delete(Re)),Pt.touched=!1}}_toggleClass(ve,Re){(ve=ve.trim()).length>0&&ve.split(go).forEach(Pt=>{Re?this._renderer.addClass(this._ngEl.nativeElement,Pt):this._renderer.removeClass(this._ngEl.nativeElement,Pt)})}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:te,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return te})();class Gt{constructor(je,ve,Re,Pt){this.$implicit=je,this.ngForOf=ve,this.index=Re,this.count=Pt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ot=(()=>{class te{set ngForOf(ve){this._ngForOf=ve,this._ngForOfDirty=!0}set ngForTrackBy(ve){this._trackByFn=ve}get ngForTrackBy(){return this._trackByFn}constructor(ve,Re,Pt){this._viewContainer=ve,this._template=Re,this._differs=Pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(ve){ve&&(this._template=ve)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ve=this._ngForOf;!this._differ&&ve&&(this._differ=this._differs.find(ve).create(this.ngForTrackBy))}if(this._differ){const ve=this._differ.diff(this._ngForOf);ve&&this._applyChanges(ve)}}_applyChanges(ve){const Re=this._viewContainer;ve.forEachOperation((Pt,vn,Pn)=>{if(null==Pt.previousIndex)Re.createEmbeddedView(this._template,new Gt(Pt.item,this._ngForOf,-1,-1),null===Pn?void 0:Pn);else if(null==Pn)Re.remove(null===vn?void 0:vn);else if(null!==vn){const Xi=Re.get(vn);Re.move(Xi,Pn),xn(Xi,Pt)}});for(let Pt=0,vn=Re.length;Pt<vn;Pt++){const Xi=Re.get(Pt).context;Xi.index=Pt,Xi.count=vn,Xi.ngForOf=this._ngForOf}ve.forEachIdentityChange(Pt=>{xn(Re.get(Pt.currentIndex),Pt)})}static ngTemplateContextGuard(ve,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(y._q3))};static#t=this.\u0275dir=y.FsC({type:te,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return te})();function xn(te,je){te.context.$implicit=je.item}let ai=(()=>{class te{constructor(ve,Re){this._viewContainer=ve,this._context=new ln,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Re}set ngIf(ve){this._context.$implicit=this._context.ngIf=ve,this._updateView()}set ngIfThen(ve){On("ngIfThen",ve),this._thenTemplateRef=ve,this._thenViewRef=null,this._updateView()}set ngIfElse(ve){On("ngIfElse",ve),this._elseTemplateRef=ve,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(ve,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:te,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return te})();class ln{constructor(){this.$implicit=null,this.ngIf=null}}function On(te,je){if(je&&!je.createEmbeddedView)throw new Error(`${te} must be a TemplateRef, but received '${(0,y.Tbb)(je)}'.`)}let jo=(()=>{class te{constructor(ve,Re,Pt){this._ngEl=ve,this._differs=Re,this._renderer=Pt,this._ngStyle=null,this._differ=null}set ngStyle(ve){this._ngStyle=ve,!this._differ&&ve&&(this._differ=this._differs.find(ve).create())}ngDoCheck(){if(this._differ){const ve=this._differ.diff(this._ngStyle);ve&&this._applyChanges(ve)}}_setStyle(ve,Re){const[Pt,vn]=ve.split("."),Pn=-1===Pt.indexOf("-")?void 0:y.czy.DashCase;null!=Re?this._renderer.setStyle(this._ngEl.nativeElement,Pt,vn?`${Re}${vn}`:Re,Pn):this._renderer.removeStyle(this._ngEl.nativeElement,Pt,Pn)}_applyChanges(ve){ve.forEachRemovedItem(Re=>this._setStyle(Re.key,null)),ve.forEachAddedItem(Re=>this._setStyle(Re.key,Re.currentValue)),ve.forEachChangedItem(Re=>this._setStyle(Re.key,Re.currentValue))}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.aKT),y.rXU(y.MKu),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:te,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return te})(),or=(()=>{class te{constructor(ve){this._viewContainerRef=ve,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ve){if(this._shouldRecreateView(ve)){const Re=this._viewContainerRef;if(this._viewRef&&Re.remove(Re.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Pt=this._createContextForwardProxy();this._viewRef=Re.createEmbeddedView(this.ngTemplateOutlet,Pt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(ve){return!!ve.ngTemplateOutlet||!!ve.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(ve,Re,Pt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Re,Pt),get:(ve,Re,Pt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Re,Pt)}})}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.c1b))};static#t=this.\u0275dir=y.FsC({type:te,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[y.OA$]})}return te})();function Ko(te,je){return new y.wOt(2100,!1)}class gr{createSubscription(je,ve){return(0,y.O8t)(()=>je.subscribe({next:ve,error:Re=>{throw Re}}))}dispose(je){(0,y.O8t)(()=>je.unsubscribe())}}class ga{createSubscription(je,ve){return je.then(ve,Re=>{throw Re})}dispose(je){}}const ps=new ga,vr=new gr;let Ls=(()=>{class te{constructor(ve){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ve}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ve){if(!this._obj){if(ve)try{this.markForCheckOnValueUpdate=!1,this._subscribe(ve)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return ve!==this._obj?(this._dispose(),this.transform(ve)):this._latestValue}_subscribe(ve){this._obj=ve,this._strategy=this._selectStrategy(ve),this._subscription=this._strategy.createSubscription(ve,Re=>this._updateLatestValue(ve,Re))}_selectStrategy(ve){if((0,y.jNT)(ve))return ps;if((0,y.zjR)(ve))return vr;throw Ko()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ve,Re){ve===this._obj&&(this._latestValue=Re,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.gRc,16))};static#t=this.\u0275pipe=y.EJ8({name:"async",type:te,pure:!1,standalone:!0})}return te})();const sa=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Ea=(()=>{class te{transform(ve){if(null==ve)return null;if("string"!=typeof ve)throw Ko();return ve.replace(sa,Re=>Re[0].toUpperCase()+Re.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275pipe=y.EJ8({name:"titlecase",type:te,pure:!0,standalone:!0})}return te})();const va=new y.nKC(""),Va=new y.nKC("");let as=(()=>{class te{constructor(ve,Re,Pt){this.locale=ve,this.defaultTimezone=Re,this.defaultOptions=Pt}transform(ve,Re,Pt,vn){if(null==ve||""===ve||ve!=ve)return null;try{return rn(ve,Re??this.defaultOptions?.dateFormat??"mediumDate",vn||this.locale,Pt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Pn){throw Ko()}}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.xe9,16),y.rXU(va,24),y.rXU(Va,24))};static#t=this.\u0275pipe=y.EJ8({name:"date",type:te,pure:!0,standalone:!0})}return te})(),ml=(()=>{class te{transform(ve){return JSON.stringify(ve,null,2)}static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275pipe=y.EJ8({name:"json",type:te,pure:!1,standalone:!0})}return te})(),_a=(()=>{class te{constructor(ve){this.differs=ve,this.keyValues=[],this.compareFn=ia}transform(ve,Re=ia){if(!ve||!(ve instanceof Map)&&"object"!=typeof ve)return null;this.differ??=this.differs.find(ve).create();const Pt=this.differ.diff(ve),vn=Re!==this.compareFn;return Pt&&(this.keyValues=[],Pt.forEachItem(Pn=>{this.keyValues.push(function Vs(te,je){return{key:te,value:je}}(Pn.key,Pn.currentValue))})),(Pt||vn)&&(this.keyValues.sort(Re),this.compareFn=Re),this.keyValues}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.MKu,16))};static#t=this.\u0275pipe=y.EJ8({name:"keyvalue",type:te,pure:!1,standalone:!0})}return te})();function ia(te,je){const ve=te.key,Re=je.key;if(ve===Re)return 0;if(void 0===ve)return 1;if(void 0===Re)return-1;if(null===ve)return 1;if(null===Re)return-1;if("string"==typeof ve&&"string"==typeof Re)return ve<Re?-1:1;if("number"==typeof ve&&"number"==typeof Re)return ve-Re;if("boolean"==typeof ve&&"boolean"==typeof Re)return ve<Re?-1:1;const Pt=String(ve),vn=String(Re);return Pt==vn?0:Pt<vn?-1:1}let ws=(()=>{class te{constructor(ve,Re="USD"){this._locale=ve,this._defaultCurrencyCode=Re}transform(ve,Re=this._defaultCurrencyCode,Pt="symbol",vn,Pn){if(!function io(te){return!(null==te||""===te||te!=te)}(ve))return null;Pn||=this._locale,"boolean"==typeof Pt&&(Pt=Pt?"symbol":"code");let Xi=Re||this._defaultCurrencyCode;"code"!==Pt&&(Xi="symbol"===Pt||"symbol-narrow"===Pt?function Yi(te,je,ve="en"){const Re=function Ni(te){return(0,y.H5H)(te)[y.KH2.Currencies]}(ve)[te]||Te[te]||[],Pt=Re[1];return"narrow"===je&&"string"==typeof Pt?Pt:Re[0]||te}(Xi,"symbol"===Pt?"wide":"narrow",Pn):Pt);try{return Ft(function wt(te){if("string"==typeof te&&!isNaN(Number(te)-parseFloat(te)))return Number(te);if("number"!=typeof te)throw new Error(`${te} is not a number`);return te}(ve),Pn,Xi,Re,vn)}catch(xs){throw Ko()}}static#e=this.\u0275fac=function(Re){return new(Re||te)(y.rXU(y.xe9,16),y.rXU(y.Ocv,16))};static#t=this.\u0275pipe=y.EJ8({name:"currency",type:te,pure:!0,standalone:!0})}return te})();let Mi=(()=>{class te{static#e=this.\u0275fac=function(Re){return new(Re||te)};static#t=this.\u0275mod=y.$C({type:te});static#n=this.\u0275inj=y.G2t({})}return te})();const ko="browser",$o="server";function nr(te){return te===ko}function qo(te){return te===$o}let Ts=(()=>{class te{static#e=this.\u0275prov=(0,y.jDH)({token:te,providedIn:"root",factory:()=>nr((0,y.WQX)(y.Agw))?new Ss((0,y.WQX)(K),window):new Ks})}return te})();class Ss{constructor(je,ve){this.document=je,this.window=ve,this.offset=()=>[0,0]}setOffset(je){this.offset=Array.isArray(je)?()=>je:je}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(je){this.window.scrollTo(je[0],je[1])}scrollToAnchor(je){const ve=function ur(te,je){const ve=te.getElementById(je)||te.getElementsByName(je)[0];if(ve)return ve;if("function"==typeof te.createTreeWalker&&te.body&&"function"==typeof te.body.attachShadow){const Re=te.createTreeWalker(te.body,NodeFilter.SHOW_ELEMENT);let Pt=Re.currentNode;for(;Pt;){const vn=Pt.shadowRoot;if(vn){const Pn=vn.getElementById(je)||vn.querySelector(`[name="${je}"]`);if(Pn)return Pn}Pt=Re.nextNode()}}return null}(this.document,je);ve&&(this.scrollToElement(ve),ve.focus())}setHistoryScrollRestoration(je){this.window.history.scrollRestoration=je}scrollToElement(je){const ve=je.getBoundingClientRect(),Re=ve.left+this.window.pageXOffset,Pt=ve.top+this.window.pageYOffset,vn=this.offset();this.window.scrollTo(Re-vn[0],Pt-vn[1])}}class Ks{setOffset(je){}getScrollPosition(){return[0,0]}scrollToPosition(je){}scrollToAnchor(je){}setHistoryScrollRestoration(je){}}class Ar{}},21626:(De,A,C)=>{"use strict";C.d(A,{JV:()=>Ee,Kd:()=>rt,Lr:()=>qe,Qq:()=>Vt,cS:()=>Mt,hv:()=>Ue,q1:()=>H,yz:()=>mt});var y=C(10467),$=C(93953),n=C(7673),a=C(71985),L=C(48455),ae=C(70274),K=C(5964),se=C(96354),fe=C(70980),le=C(25558),de=C(60177);class Ve{}class Ee{}class qe{constructor(Gt){this.normalizedNames=new Map,this.lazyUpdate=null,Gt?"string"==typeof Gt?this.lazyInit=()=>{this.headers=new Map,Gt.split("\n").forEach(Ot=>{const xn=Ot.indexOf(":");if(xn>0){const Fn=Ot.slice(0,xn),ai=Fn.toLowerCase(),ln=Ot.slice(xn+1).trim();this.maybeSetNormalizedName(Fn,ai),this.headers.has(ai)?this.headers.get(ai).push(ln):this.headers.set(ai,[ln])}})}:typeof Headers<"u"&&Gt instanceof Headers?(this.headers=new Map,Gt.forEach((Ot,xn)=>{this.setHeaderEntries(xn,Ot)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Gt).forEach(([Ot,xn])=>{this.setHeaderEntries(Ot,xn)})}:this.headers=new Map}has(Gt){return this.init(),this.headers.has(Gt.toLowerCase())}get(Gt){this.init();const Ot=this.headers.get(Gt.toLowerCase());return Ot&&Ot.length>0?Ot[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Gt){return this.init(),this.headers.get(Gt.toLowerCase())||null}append(Gt,Ot){return this.clone({name:Gt,value:Ot,op:"a"})}set(Gt,Ot){return this.clone({name:Gt,value:Ot,op:"s"})}delete(Gt,Ot){return this.clone({name:Gt,value:Ot,op:"d"})}maybeSetNormalizedName(Gt,Ot){this.normalizedNames.has(Ot)||this.normalizedNames.set(Ot,Gt)}init(){this.lazyInit&&(this.lazyInit instanceof qe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Gt=>this.applyUpdate(Gt)),this.lazyUpdate=null))}copyFrom(Gt){Gt.init(),Array.from(Gt.headers.keys()).forEach(Ot=>{this.headers.set(Ot,Gt.headers.get(Ot)),this.normalizedNames.set(Ot,Gt.normalizedNames.get(Ot))})}clone(Gt){const Ot=new qe;return Ot.lazyInit=this.lazyInit&&this.lazyInit instanceof qe?this.lazyInit:this,Ot.lazyUpdate=(this.lazyUpdate||[]).concat([Gt]),Ot}applyUpdate(Gt){const Ot=Gt.name.toLowerCase();switch(Gt.op){case"a":case"s":let xn=Gt.value;if("string"==typeof xn&&(xn=[xn]),0===xn.length)return;this.maybeSetNormalizedName(Gt.name,Ot);const Fn=("a"===Gt.op?this.headers.get(Ot):void 0)||[];Fn.push(...xn),this.headers.set(Ot,Fn);break;case"d":const ai=Gt.value;if(ai){let ln=this.headers.get(Ot);if(!ln)return;ln=ln.filter(On=>-1===ai.indexOf(On)),0===ln.length?(this.headers.delete(Ot),this.normalizedNames.delete(Ot)):this.headers.set(Ot,ln)}else this.headers.delete(Ot),this.normalizedNames.delete(Ot)}}setHeaderEntries(Gt,Ot){const xn=(Array.isArray(Ot)?Ot:[Ot]).map(ai=>ai.toString()),Fn=Gt.toLowerCase();this.headers.set(Fn,xn),this.maybeSetNormalizedName(Gt,Fn)}forEach(Gt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ot=>Gt(this.normalizedNames.get(Ot),this.headers.get(Ot)))}}class ht{encodeKey(Gt){return ft(Gt)}encodeValue(Gt){return ft(Gt)}decodeKey(Gt){return decodeURIComponent(Gt)}decodeValue(Gt){return decodeURIComponent(Gt)}}const Tt=/%(\d[a-f0-9])/gi,dt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ft(ct){return encodeURIComponent(ct).replace(Tt,(Gt,Ot)=>dt[Ot]??Gt)}function ze(ct){return`${ct}`}class B{constructor(Gt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Gt.encoder||new ht,Gt.fromString){if(Gt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function at(ct,Gt){const Ot=new Map;return ct.length>0&&ct.replace(/^\?/,"").split("&").forEach(Fn=>{const ai=Fn.indexOf("="),[ln,On]=-1==ai?[Gt.decodeKey(Fn),""]:[Gt.decodeKey(Fn.slice(0,ai)),Gt.decodeValue(Fn.slice(ai+1))],Ln=Ot.get(ln)||[];Ln.push(On),Ot.set(ln,Ln)}),Ot}(Gt.fromString,this.encoder)}else Gt.fromObject?(this.map=new Map,Object.keys(Gt.fromObject).forEach(Ot=>{const xn=Gt.fromObject[Ot],Fn=Array.isArray(xn)?xn.map(ze):[ze(xn)];this.map.set(Ot,Fn)})):this.map=null}has(Gt){return this.init(),this.map.has(Gt)}get(Gt){this.init();const Ot=this.map.get(Gt);return Ot?Ot[0]:null}getAll(Gt){return this.init(),this.map.get(Gt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Gt,Ot){return this.clone({param:Gt,value:Ot,op:"a"})}appendAll(Gt){const Ot=[];return Object.keys(Gt).forEach(xn=>{const Fn=Gt[xn];Array.isArray(Fn)?Fn.forEach(ai=>{Ot.push({param:xn,value:ai,op:"a"})}):Ot.push({param:xn,value:Fn,op:"a"})}),this.clone(Ot)}set(Gt,Ot){return this.clone({param:Gt,value:Ot,op:"s"})}delete(Gt,Ot){return this.clone({param:Gt,value:Ot,op:"d"})}toString(){return this.init(),this.keys().map(Gt=>{const Ot=this.encoder.encodeKey(Gt);return this.map.get(Gt).map(xn=>Ot+"="+this.encoder.encodeValue(xn)).join("&")}).filter(Gt=>""!==Gt).join("&")}clone(Gt){const Ot=new B({encoder:this.encoder});return Ot.cloneFrom=this.cloneFrom||this,Ot.updates=(this.updates||[]).concat(Gt),Ot}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Gt=>this.map.set(Gt,this.cloneFrom.map.get(Gt))),this.updates.forEach(Gt=>{switch(Gt.op){case"a":case"s":const Ot=("a"===Gt.op?this.map.get(Gt.param):void 0)||[];Ot.push(ze(Gt.value)),this.map.set(Gt.param,Ot);break;case"d":if(void 0===Gt.value){this.map.delete(Gt.param);break}{let xn=this.map.get(Gt.param)||[];const Fn=xn.indexOf(ze(Gt.value));-1!==Fn&&xn.splice(Fn,1),xn.length>0?this.map.set(Gt.param,xn):this.map.delete(Gt.param)}}}),this.cloneFrom=this.updates=null)}}class be{constructor(){this.map=new Map}set(Gt,Ot){return this.map.set(Gt,Ot),this}get(Gt){return this.map.has(Gt)||this.map.set(Gt,Gt.defaultValue()),this.map.get(Gt)}delete(Gt){return this.map.delete(Gt),this}has(Gt){return this.map.has(Gt)}keys(){return this.map.keys()}}function et(ct){return typeof ArrayBuffer<"u"&&ct instanceof ArrayBuffer}function z(ct){return typeof Blob<"u"&&ct instanceof Blob}function X(ct){return typeof FormData<"u"&&ct instanceof FormData}class rt{constructor(Gt,Ot,xn,Fn){let ai;if(this.url=Ot,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Gt.toUpperCase(),function Pe(ct){switch(ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Fn?(this.body=void 0!==xn?xn:null,ai=Fn):ai=xn,ai&&(this.reportProgress=!!ai.reportProgress,this.withCredentials=!!ai.withCredentials,ai.responseType&&(this.responseType=ai.responseType),ai.headers&&(this.headers=ai.headers),ai.context&&(this.context=ai.context),ai.params&&(this.params=ai.params),this.transferCache=ai.transferCache),this.headers??=new qe,this.context??=new be,this.params){const ln=this.params.toString();if(0===ln.length)this.urlWithParams=Ot;else{const On=Ot.indexOf("?");this.urlWithParams=Ot+(-1===On?"?":On<Ot.length-1?"&":"")+ln}}else this.params=new B,this.urlWithParams=Ot}serializeBody(){return null===this.body?null:"string"==typeof this.body||et(this.body)||z(this.body)||X(this.body)||function P(ct){return typeof URLSearchParams<"u"&&ct instanceof URLSearchParams}(this.body)?this.body:this.body instanceof B?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||X(this.body)?null:z(this.body)?this.body.type||null:et(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof B?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Gt={}){const Ot=Gt.method||this.method,xn=Gt.url||this.url,Fn=Gt.responseType||this.responseType,ai=Gt.transferCache??this.transferCache,ln=void 0!==Gt.body?Gt.body:this.body,On=Gt.withCredentials??this.withCredentials,Ln=Gt.reportProgress??this.reportProgress;let Ei=Gt.headers||this.headers,Po=Gt.params||this.params;const Oi=Gt.context??this.context;return void 0!==Gt.setHeaders&&(Ei=Object.keys(Gt.setHeaders).reduce((mr,Bo)=>mr.set(Bo,Gt.setHeaders[Bo]),Ei)),Gt.setParams&&(Po=Object.keys(Gt.setParams).reduce((mr,Bo)=>mr.set(Bo,Gt.setParams[Bo]),Po)),new rt(Ot,xn,ln,{params:Po,headers:Ei,context:Oi,reportProgress:Ln,responseType:Fn,withCredentials:On,transferCache:ai})}}var Ue=function(ct){return ct[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct}(Ue||{});class zt{constructor(Gt,Ot=200,xn="OK"){this.headers=Gt.headers||new qe,this.status=void 0!==Gt.status?Gt.status:Ot,this.statusText=Gt.statusText||xn,this.url=Gt.url||null,this.ok=this.status>=200&&this.status<300}}class sn extends zt{constructor(Gt={}){super(Gt),this.type=Ue.ResponseHeader}clone(Gt={}){return new sn({headers:Gt.headers||this.headers,status:void 0!==Gt.status?Gt.status:this.status,statusText:Gt.statusText||this.statusText,url:Gt.url||this.url||void 0})}}class Mt extends zt{constructor(Gt={}){super(Gt),this.type=Ue.Response,this.body=void 0!==Gt.body?Gt.body:null}clone(Gt={}){return new Mt({body:void 0!==Gt.body?Gt.body:this.body,headers:Gt.headers||this.headers,status:void 0!==Gt.status?Gt.status:this.status,statusText:Gt.statusText||this.statusText,url:Gt.url||this.url||void 0})}}class mt extends zt{constructor(Gt){super(Gt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Gt.url||"(unknown url)"}`:`Http failure response for ${Gt.url||"(unknown url)"}: ${Gt.status} ${Gt.statusText}`,this.error=Gt.error||null}}function Rt(ct,Gt){return{body:Gt,headers:ct.headers,context:ct.context,observe:ct.observe,params:ct.params,reportProgress:ct.reportProgress,responseType:ct.responseType,withCredentials:ct.withCredentials,transferCache:ct.transferCache}}let Vt=(()=>{class ct{constructor(Ot){this.handler=Ot}request(Ot,xn,Fn={}){let ai;if(Ot instanceof rt)ai=Ot;else{let Ln,Ei;Ln=Fn.headers instanceof qe?Fn.headers:new qe(Fn.headers),Fn.params&&(Ei=Fn.params instanceof B?Fn.params:new B({fromObject:Fn.params})),ai=new rt(Ot,xn,void 0!==Fn.body?Fn.body:null,{headers:Ln,context:Fn.context,params:Ei,reportProgress:Fn.reportProgress,responseType:Fn.responseType||"json",withCredentials:Fn.withCredentials,transferCache:Fn.transferCache})}const ln=(0,n.of)(ai).pipe((0,ae.H)(Ln=>this.handler.handle(Ln)));if(Ot instanceof rt||"events"===Fn.observe)return ln;const On=ln.pipe((0,K.p)(Ln=>Ln instanceof Mt));switch(Fn.observe||"body"){case"body":switch(ai.responseType){case"arraybuffer":return On.pipe((0,se.T)(Ln=>{if(null!==Ln.body&&!(Ln.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ln.body}));case"blob":return On.pipe((0,se.T)(Ln=>{if(null!==Ln.body&&!(Ln.body instanceof Blob))throw new Error("Response is not a Blob.");return Ln.body}));case"text":return On.pipe((0,se.T)(Ln=>{if(null!==Ln.body&&"string"!=typeof Ln.body)throw new Error("Response is not a string.");return Ln.body}));default:return On.pipe((0,se.T)(Ln=>Ln.body))}case"response":return On;default:throw new Error(`Unreachable: unhandled observe type ${Fn.observe}}`)}}delete(Ot,xn={}){return this.request("DELETE",Ot,xn)}get(Ot,xn={}){return this.request("GET",Ot,xn)}head(Ot,xn={}){return this.request("HEAD",Ot,xn)}jsonp(Ot,xn){return this.request("JSONP",Ot,{params:(new B).append(xn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ot,xn={}){return this.request("OPTIONS",Ot,xn)}patch(Ot,xn,Fn={}){return this.request("PATCH",Ot,Rt(Fn,xn))}post(Ot,xn,Fn={}){return this.request("POST",Ot,Rt(Fn,xn))}put(Ot,xn,Fn={}){return this.request("PUT",Ot,Rt(Fn,xn))}static#e=this.\u0275fac=function(xn){return new(xn||ct)($.KVO(Ve))};static#t=this.\u0275prov=$.jDH({token:ct,factory:ct.\u0275fac})}return ct})();const _n=/^\)\]\}',?\n/;function Vn(ct){if(ct.url)return ct.url;const Gt="X-Request-URL".toLocaleLowerCase();return ct.headers.get(Gt)}let Wn=(()=>{class ct{constructor(){this.fetchImpl=(0,$.WQX)(qn,{optional:!0})?.fetch??((...Ot)=>globalThis.fetch(...Ot)),this.ngZone=(0,$.WQX)($.SKi)}handle(Ot){return new a.c(xn=>{const Fn=new AbortController;return this.doRequest(Ot,Fn.signal,xn).then(Ni,ai=>xn.error(new mt({error:ai}))),()=>Fn.abort()})}doRequest(Ot,xn,Fn){var ai=this;return(0,y.A)(function*(){const ln=ai.createRequestInit(Ot);let On;try{const wo=ai.ngZone.runOutsideAngular(()=>ai.fetchImpl(Ot.urlWithParams,{signal:xn,...ln}));(function Ci(ct){ct.then(Ni,Ni)})(wo),Fn.next({type:Ue.Sent}),On=yield wo}catch(wo){return void Fn.error(new mt({error:wo,status:wo.status??0,statusText:wo.statusText,url:Ot.urlWithParams,headers:wo.headers}))}const Ln=new qe(On.headers),Ei=On.statusText,Po=Vn(On)??Ot.urlWithParams;let Oi=On.status,mr=null;if(Ot.reportProgress&&Fn.next(new sn({headers:Ln,status:Oi,statusText:Ei,url:Po})),On.body){const wo=On.headers.get("content-length"),Io=[],jo=On.body.getReader();let na,Ko,or=0;const gr=typeof Zone<"u"&&Zone.current;yield ai.ngZone.runOutsideAngular((0,y.A)(function*(){for(;;){const{done:ps,value:vr}=yield jo.read();if(ps)break;if(Io.push(vr),or+=vr.length,Ot.reportProgress){Ko="text"===Ot.responseType?(Ko??"")+(na??=new TextDecoder).decode(vr,{stream:!0}):void 0;const Ls=()=>Fn.next({type:Ue.DownloadProgress,total:wo?+wo:void 0,loaded:or,partialText:Ko});gr?gr.run(Ls):Ls()}}}));const ga=ai.concatChunks(Io,or);try{const ps=On.headers.get("Content-Type")??"";mr=ai.parseBody(Ot,ga,ps)}catch(ps){return void Fn.error(new mt({error:ps,headers:new qe(On.headers),status:On.status,statusText:On.statusText,url:Vn(On)??Ot.urlWithParams}))}}0===Oi&&(Oi=mr?200:0),Oi>=200&&Oi<300?(Fn.next(new Mt({body:mr,headers:Ln,status:Oi,statusText:Ei,url:Po})),Fn.complete()):Fn.error(new mt({error:mr,headers:Ln,status:Oi,statusText:Ei,url:Po}))})()}parseBody(Ot,xn,Fn){switch(Ot.responseType){case"json":const ai=(new TextDecoder).decode(xn).replace(_n,"");return""===ai?null:JSON.parse(ai);case"text":return(new TextDecoder).decode(xn);case"blob":return new Blob([xn],{type:Fn});case"arraybuffer":return xn.buffer}}createRequestInit(Ot){const xn={},Fn=Ot.withCredentials?"include":void 0;if(Ot.headers.forEach((ai,ln)=>xn[ai]=ln.join(",")),Ot.headers.has("Accept")||(xn.Accept="application/json, text/plain, */*"),!Ot.headers.has("Content-Type")){const ai=Ot.detectContentTypeHeader();null!==ai&&(xn["Content-Type"]=ai)}return{body:Ot.serializeBody(),method:Ot.method,headers:xn,credentials:Fn}}concatChunks(Ot,xn){const Fn=new Uint8Array(xn);let ai=0;for(const ln of Ot)Fn.set(ln,ai),ai+=ln.length;return Fn}static#e=this.\u0275fac=function(xn){return new(xn||ct)};static#t=this.\u0275prov=$.jDH({token:ct,factory:ct.\u0275fac})}return ct})();class qn{}function Ni(){}function oo(ct,Gt){return Gt(ct)}function Rn(ct,Gt){return(Ot,xn)=>Gt.intercept(Ot,{handle:Fn=>ct(Fn,xn)})}const So=new $.nKC(""),fi=new $.nKC(""),ei=new $.nKC(""),Yi=new $.nKC("",{providedIn:"root",factory:()=>!0});function En(){let ct=null;return(Gt,Ot)=>{null===ct&&(ct=((0,$.WQX)(So,{optional:!0})??[]).reduceRight(Rn,oo));const xn=(0,$.WQX)($.TgB);if((0,$.WQX)(Yi)){const ai=xn.add();return ct(Gt,Ot).pipe((0,fe.j)(()=>xn.remove(ai)))}return ct(Gt,Ot)}}let He=(()=>{class ct extends Ve{constructor(Ot,xn){super(),this.backend=Ot,this.injector=xn,this.chain=null,this.pendingTasks=(0,$.WQX)($.TgB),this.contributeToStability=(0,$.WQX)(Yi)}handle(Ot){if(null===this.chain){const xn=Array.from(new Set([...this.injector.get(fi),...this.injector.get(ei,[])]));this.chain=xn.reduceRight((Fn,ai)=>function vi(ct,Gt,Ot){return(xn,Fn)=>(0,$.N4e)(Ot,()=>Gt(xn,ai=>ct(ai,Fn)))}(Fn,ai,this.injector),oo)}if(this.contributeToStability){const xn=this.pendingTasks.add();return this.chain(Ot,Fn=>this.backend.handle(Fn)).pipe((0,fe.j)(()=>this.pendingTasks.remove(xn)))}return this.chain(Ot,xn=>this.backend.handle(xn))}static#e=this.\u0275fac=function(xn){return new(xn||ct)($.KVO(Ee),$.KVO($.uvJ))};static#t=this.\u0275prov=$.jDH({token:ct,factory:ct.\u0275fac})}return ct})();const _o=/^\)\]\}',?\n/;let Di=(()=>{class ct{constructor(Ot){this.xhrFactory=Ot}handle(Ot){if("JSONP"===Ot.method)throw new $.wOt(-2800,!1);const xn=this.xhrFactory;return(xn.\u0275loadImpl?(0,L.H)(xn.\u0275loadImpl()):(0,n.of)(null)).pipe((0,le.n)(()=>new a.c(ai=>{const ln=xn.build();if(ln.open(Ot.method,Ot.urlWithParams),Ot.withCredentials&&(ln.withCredentials=!0),Ot.headers.forEach((Io,jo)=>ln.setRequestHeader(Io,jo.join(","))),Ot.headers.has("Accept")||ln.setRequestHeader("Accept","application/json, text/plain, */*"),!Ot.headers.has("Content-Type")){const Io=Ot.detectContentTypeHeader();null!==Io&&ln.setRequestHeader("Content-Type",Io)}if(Ot.responseType){const Io=Ot.responseType.toLowerCase();ln.responseType="json"!==Io?Io:"text"}const On=Ot.serializeBody();let Ln=null;const Ei=()=>{if(null!==Ln)return Ln;const Io=ln.statusText||"OK",jo=new qe(ln.getAllResponseHeaders()),or=function Vi(ct){return"responseURL"in ct&&ct.responseURL?ct.responseURL:/^X-Request-URL:/m.test(ct.getAllResponseHeaders())?ct.getResponseHeader("X-Request-URL"):null}(ln)||Ot.url;return Ln=new sn({headers:jo,status:ln.status,statusText:Io,url:or}),Ln},Po=()=>{let{headers:Io,status:jo,statusText:or,url:na}=Ei(),Ko=null;204!==jo&&(Ko=typeof ln.response>"u"?ln.responseText:ln.response),0===jo&&(jo=Ko?200:0);let gr=jo>=200&&jo<300;if("json"===Ot.responseType&&"string"==typeof Ko){const ga=Ko;Ko=Ko.replace(_o,"");try{Ko=""!==Ko?JSON.parse(Ko):null}catch(ps){Ko=ga,gr&&(gr=!1,Ko={error:ps,text:Ko})}}gr?(ai.next(new Mt({body:Ko,headers:Io,status:jo,statusText:or,url:na||void 0})),ai.complete()):ai.error(new mt({error:Ko,headers:Io,status:jo,statusText:or,url:na||void 0}))},Oi=Io=>{const{url:jo}=Ei(),or=new mt({error:Io,status:ln.status||0,statusText:ln.statusText||"Unknown Error",url:jo||void 0});ai.error(or)};let mr=!1;const Bo=Io=>{mr||(ai.next(Ei()),mr=!0);let jo={type:Ue.DownloadProgress,loaded:Io.loaded};Io.lengthComputable&&(jo.total=Io.total),"text"===Ot.responseType&&ln.responseText&&(jo.partialText=ln.responseText),ai.next(jo)},wo=Io=>{let jo={type:Ue.UploadProgress,loaded:Io.loaded};Io.lengthComputable&&(jo.total=Io.total),ai.next(jo)};return ln.addEventListener("load",Po),ln.addEventListener("error",Oi),ln.addEventListener("timeout",Oi),ln.addEventListener("abort",Oi),Ot.reportProgress&&(ln.addEventListener("progress",Bo),null!==On&&ln.upload&&ln.upload.addEventListener("progress",wo)),ln.send(On),ai.next({type:Ue.Sent}),()=>{ln.removeEventListener("error",Oi),ln.removeEventListener("abort",Oi),ln.removeEventListener("load",Po),ln.removeEventListener("timeout",Oi),Ot.reportProgress&&(ln.removeEventListener("progress",Bo),null!==On&&ln.upload&&ln.upload.removeEventListener("progress",wo)),ln.readyState!==ln.DONE&&ln.abort()}})))}static#e=this.\u0275fac=function(xn){return new(xn||ct)($.KVO(de.N0))};static#t=this.\u0275prov=$.jDH({token:ct,factory:ct.\u0275fac})}return ct})();const Mo=new $.nKC(""),Hn=new $.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),qt=new $.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let Bn=(()=>{class ct{constructor(Ot,xn,Fn){this.doc=Ot,this.platform=xn,this.cookieName=Fn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ot=this.doc.cookie||"";return Ot!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,de._b)(Ot,this.cookieName),this.lastCookieString=Ot),this.lastToken}static#e=this.\u0275fac=function(xn){return new(xn||ct)($.KVO(de.qQ),$.KVO($.Agw),$.KVO(Hn))};static#t=this.\u0275prov=$.jDH({token:ct,factory:ct.\u0275fac})}return ct})();function xt(ct,Gt){const Ot=ct.url.toLowerCase();if(!(0,$.WQX)(Mo)||"GET"===ct.method||"HEAD"===ct.method||Ot.startsWith("http://")||Ot.startsWith("https://"))return Gt(ct);const xn=(0,$.WQX)(Cn).getToken(),Fn=(0,$.WQX)(qt);return null!=xn&&!ct.headers.has(Fn)&&(ct=ct.clone({headers:ct.headers.set(Fn,xn)})),Gt(ct)}var ot=function(ct){return ct[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct[ct.Fetch=6]="Fetch",ct}(ot||{});function tn(...ct){const Gt=[Vt,Di,He,{provide:Ve,useExisting:He},{provide:Ee,useFactory:()=>(0,$.WQX)(Wn,{optional:!0})??(0,$.WQX)(Di)},{provide:fi,useValue:xt,multi:!0},{provide:Mo,useValue:!0},{provide:Cn,useClass:Bn}];for(const Ot of ct)Gt.push(...Ot.\u0275providers);return(0,$.EmA)(Gt)}const ut=new $.nKC("");function Et(){return function Ct(ct,Gt){return{\u0275kind:ct,\u0275providers:Gt}}(ot.LegacyInterceptors,[{provide:ut,useFactory:En},{provide:fi,useExisting:ut,multi:!0}])}let H=(()=>{class ct{static#e=this.\u0275fac=function(xn){return new(xn||ct)};static#t=this.\u0275mod=$.$C({type:ct});static#n=this.\u0275inj=$.G2t({providers:[tn(Et())]})}return ct})()},93953:(De,A,C)=>{"use strict";function y(c,u){return Object.is(c,u)}C.d(A,{bc$:()=>u3,iLQ:()=>Ry,sZ2:()=>sm,hnV:()=>mw,Hbi:()=>Nw,o8S:()=>H0,BIS:()=>h3,gRc:()=>M8,Ql9:()=>Hk,OM3:()=>Bu,Ocv:()=>oI,abz:()=>f0,Z63:()=>wa,aKT:()=>Yf,uvJ:()=>wc,zcH:()=>Eh,bkB:()=>Ad,y_5:()=>Dl,$GK:()=>Ii,nKC:()=>St,zZn:()=>Kl,_q3:()=>Yy,MKu:()=>zw,xe9:()=>Ly,Co$:()=>y7,Vns:()=>_f,SKi:()=>fa,Xx1:()=>rl,Agw:()=>am,PLl:()=>Rg,rOR:()=>Dg,sFG:()=>J3,_9s:()=>b4,czy:()=>Dm,WPN:()=>Ql,kdw:()=>$l,C4Q:()=>C6,NYb:()=>Wx,giA:()=>$k,pJN:()=>_p,ZUJ:()=>ua,xvI:()=>Fk,RxE:()=>dw,c1b:()=>C4,gXe:()=>od,mal:()=>L6,Tzd:()=>x7,Af3:()=>za,L39:()=>PI,EWP:()=>zE,a0P:()=>jI,Ol2:()=>b_,w6W:()=>Rb,oH4:()=>Sw,QZP:()=>AE,SmG:()=>lI,Rfq:()=>gl,WQX:()=>hi,hFB:()=>Mv,naY:()=>s5,Hps:()=>h_,QuC:()=>jl,EmA:()=>yu,zw6:()=>m3,Udg:()=>FI,fpN:()=>mI,HJs:()=>Yw,N4e:()=>n1,vPA:()=>fb,O8t:()=>BI,H3F:()=>Hx,zAP:()=>CE,H8p:()=>jd,KH2:()=>q6,TgB:()=>hp,wOt:()=>xi,WHO:()=>hw,e01:()=>pw,lNU:()=>xl,h9k:()=>Xs,$MX:()=>It,ZF7:()=>E,Kcf:()=>m,e5t:()=>D,UyX:()=>I,cWb:()=>w,osQ:()=>g,H5H:()=>LC,Zy3:()=>fs,mq5:()=>MS,JZv:()=>is,LfX:()=>Ud,plB:()=>Op,jNT:()=>fw,zjR:()=>av,XSP:()=>yM,TL$:()=>k1,Tbb:()=>Hs,rcV:()=>Al,Vt3:()=>v_,GFd:()=>_7,OA$:()=>Z1,Jv_:()=>fx,aNF:()=>mx,R7$:()=>a6,BMQ:()=>j7,HbH:()=>EC,ZvI:()=>NC,STu:()=>AC,AVh:()=>oy,BUC:()=>cy,vxM:()=>uy,wni:()=>lk,VBU:()=>kn,FsC:()=>us,jDH:()=>rr,G2t:()=>_l,$C:()=>Co,EJ8:()=>bl,rXU:()=>Ld,nrm:()=>kt,eu8:()=>Qr,bVm:()=>ts,qex:()=>Sr,k0s:()=>ye,j41:()=>x,RV6:()=>Td,xGo:()=>u0,Mr5:()=>j0,KVO:()=>Fo,kS0:()=>Bf,QTQ:()=>Am,bIt:()=>UC,lsd:()=>H_,joV:()=>Th,qSk:()=>sp,XpG:()=>ZS,nI1:()=>Mx,bMT:()=>Ek,i5U:()=>Mk,SdG:()=>tk,NAR:()=>ek,Y8G:()=>ty,FS9:()=>nk,lJ4:()=>_x,eq3:()=>yx,l_i:()=>bx,sMw:()=>Cx,ziG:()=>Tk,s1E:()=>Sk,l4e:()=>kk,sGs:()=>K_,lV:()=>My,zJS:()=>wx,mGM:()=>WC,sdS:()=>dk,Dyx:()=>my,Z7z:()=>fy,fX1:()=>py,Vm6:()=>hy,Njj:()=>vh,EBC:()=>xm,tSv:()=>x0,eBV:()=>gh,npT:()=>Ja,B4B:()=>eh,n$t:()=>fm,wjB:()=>wk,Obh:()=>rw,Aen:()=>Ap,xc7:()=>iy,Kam:()=>GC,zvX:()=>y8,DNE:()=>w_,C5r:()=>eg,EFF:()=>q_,JRh:()=>K6,SpI:()=>Sy,Lme:()=>nw,E5c:()=>Q6,LHq:()=>J6,DH7:()=>Wo,mxI:()=>iw,R50:()=>Pp,GBs:()=>XC});let $=null,n=!1,a=1;const L=Symbol("SIGNAL");function ae(c){const u=$;return $=c,u}const le={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 de(c){if(n)throw new Error("");if(null===$)return;$.consumerOnSignalRead(c);const u=$.nextProducerIndex++;be($),u<$.producerNode.length&&$.producerNode[u]!==c&&Te($)&&B($.producerNode[u],$.producerIndexOfThis[u]),$.producerNode[u]!==c&&($.producerNode[u]=c,$.producerIndexOfThis[u]=Te($)?ze(c,$,u):0),$.producerLastReadVersion[u]=c.version}function Ee(c){if((!Te(c)||c.dirty)&&(c.dirty||c.lastCleanEpoch!==a)){if(!c.producerMustRecompute(c)&&!dt(c))return c.dirty=!1,void(c.lastCleanEpoch=a);c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=a}}function qe(c){if(void 0===c.liveConsumerNode)return;const u=n;n=!0;try{for(const p of c.liveConsumerNode)p.dirty||ht(p)}finally{n=u}}function Ge(){return!1!==$?.consumerAllowSignalWrites}function ht(c){c.dirty=!0,qe(c),c.consumerMarkedDirty?.(c)}function at(c){return c&&(c.nextProducerIndex=0),ae(c)}function Tt(c,u){if(ae(u),c&&void 0!==c.producerNode&&void 0!==c.producerIndexOfThis&&void 0!==c.producerLastReadVersion){if(Te(c))for(let p=c.nextProducerIndex;p<c.producerNode.length;p++)B(c.producerNode[p],c.producerIndexOfThis[p]);for(;c.producerNode.length>c.nextProducerIndex;)c.producerNode.pop(),c.producerLastReadVersion.pop(),c.producerIndexOfThis.pop()}}function dt(c){be(c);for(let u=0;u<c.producerNode.length;u++){const p=c.producerNode[u],_=c.producerLastReadVersion[u];if(_!==p.version||(Ee(p),_!==p.version))return!0}return!1}function ft(c){if(be(c),Te(c))for(let u=0;u<c.producerNode.length;u++)B(c.producerNode[u],c.producerIndexOfThis[u]);c.producerNode.length=c.producerLastReadVersion.length=c.producerIndexOfThis.length=0,c.liveConsumerNode&&(c.liveConsumerNode.length=c.liveConsumerIndexOfThis.length=0)}function ze(c,u,p){if(Pe(c),0===c.liveConsumerNode.length&&et(c))for(let _=0;_<c.producerNode.length;_++)c.producerIndexOfThis[_]=ze(c.producerNode[_],c,_);return c.liveConsumerIndexOfThis.push(p),c.liveConsumerNode.push(u)-1}function B(c,u){if(Pe(c),1===c.liveConsumerNode.length&&et(c))for(let _=0;_<c.producerNode.length;_++)B(c.producerNode[_],c.producerIndexOfThis[_]);const p=c.liveConsumerNode.length-1;if(c.liveConsumerNode[u]=c.liveConsumerNode[p],c.liveConsumerIndexOfThis[u]=c.liveConsumerIndexOfThis[p],c.liveConsumerNode.length--,c.liveConsumerIndexOfThis.length--,u<c.liveConsumerNode.length){const _=c.liveConsumerIndexOfThis[u],S=c.liveConsumerNode[u];be(S),S.producerIndexOfThis[_]=u}}function Te(c){return c.consumerIsAlwaysLive||(c?.liveConsumerNode?.length??0)>0}function be(c){c.producerNode??=[],c.producerIndexOfThis??=[],c.producerLastReadVersion??=[]}function Pe(c){c.liveConsumerNode??=[],c.liveConsumerIndexOfThis??=[]}function et(c){return void 0!==c.producerNode}const X=Symbol("UNSET"),P=Symbol("COMPUTING"),rt=Symbol("ERRORED"),Ue={...le,value:X,dirty:!0,error:null,equal:y,producerMustRecompute:c=>c.value===X||c.value===P,producerRecomputeValue(c){if(c.value===P)throw new Error("Detected cycle in computations.");const u=c.value;c.value=P;const p=at(c);let _;try{_=c.computation()}catch(S){_=rt,c.error=S}finally{Tt(c,p)}u!==X&&u!==rt&&_!==rt&&c.equal(u,_)?c.value=u:(c.value=_,c.version++)}};let sn=function zt(){throw new Error};function Mt(){sn()}let Ke=null;function Vt(c,u){Ge()||Mt(),c.equal(c.value,u)||(c.value=u,function Wn(c){c.version++,function Ve(){a++}(),qe(c),Ke?.()}(c))}const Vn={...le,equal:y,value:void 0};const Ni=()=>{},Ci={...le,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:c=>{null!==c.schedule&&c.schedule(c.ref)},hasRun:!1,cleanupFn:Ni};var Rn=C(84412),vi=C(21413),So=C(18359),fi=C(96354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const xl="https://g.co/ng/security#xss";class xi extends Error{constructor(u,p){super(fs(u,p)),this.code=u}}function fs(c,u){return`NG0${Math.abs(c)}${u?": "+u:""}`}const cs=Symbol("InputSignalNode#UNSET"),Ac={...Vn,transformFn:void 0,applyValueToInputSignal(c,u){Vt(c,u)}};function ya(c,u){const p=Object.create(Ac);function _(){if(de(p),p.value===cs)throw new xi(-950,!1);return p.value}return p.value=c,p.transformFn=u?.transform,_[L]=p,_}function gs(c){return{toString:c}.toString()}const ms="__parameters__";function Bs(c,u,p){return gs(()=>{const _=function lr(c){return function(...p){if(c){const _=c(...p);for(const S in _)this[S]=_[S]}}}(u);function S(...O){if(this instanceof S)return _.apply(this,O),this;const V=new S(...O);return Y.annotation=V,Y;function Y(ie,ke,Ae){const pt=ie.hasOwnProperty(ms)?ie[ms]:Object.defineProperty(ie,ms,{value:[]})[ms];for(;pt.length<=Ae;)pt.push(null);return(pt[Ae]=pt[Ae]||[]).push(V),ie}}return p&&(S.prototype=Object.create(p.prototype)),S.prototype.ngMetadataName=c,S.annotationCls=S,S})}const is=globalThis;function Jo(c){for(let u in c)if(c[u]===Jo)return u;throw Error("Could not find renamed property on target object.")}function Ll(c,u){for(const p in u)u.hasOwnProperty(p)&&!c.hasOwnProperty(p)&&(c[p]=u[p])}function Hs(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(Hs).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const u=c.toString();if(null==u)return""+u;const p=u.indexOf("\n");return-1===p?u:u.substring(0,p)}function Vl(c,u){return null==c||""===c?null===u?"":u:null==u||""===u?c:c+" "+u}const Wa=Jo({__forward_ref__:Jo});function gl(c){return c.__forward_ref__=gl,c.toString=function(){return Hs(this())},c}function bo(c){return Ma(c)?c():c}function Ma(c){return"function"==typeof c&&c.hasOwnProperty(Wa)&&c.__forward_ref__===gl}function rr(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function _l(c){return{providers:c.providers||[],imports:c.imports||[]}}function ba(c){return Je(c,Ce)||Je(c,vt)}function Ud(c){return null!==ba(c)}function Je(c,u){return c.hasOwnProperty(u)?c[u]:null}function ee(c){return c&&(c.hasOwnProperty(Ye)||c.hasOwnProperty(Xt))?c[Ye]:null}const Ce=Jo({\u0275prov:Jo}),Ye=Jo({\u0275inj:Jo}),vt=Jo({ngInjectableDef:Jo}),Xt=Jo({ngInjectorDef:Jo});class St{constructor(u,p){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=rr({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Es(c){return c&&!!c.\u0275providers}const Ms=Jo({\u0275cmp:Jo}),Fr=Jo({\u0275dir:Jo}),vs=Jo({\u0275pipe:Jo}),Gr=Jo({\u0275mod:Jo}),wr=Jo({\u0275fac:Jo}),Ca=Jo({__NG_ELEMENT_ID__:Jo}),Ba=Jo({__NG_ENV_ID__:Jo});function uo(c){return"string"==typeof c?c:null==c?"":String(c)}function yr(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():uo(c)}function so(c,u){throw new xi(-201,!1)}var Ii=function(c){return c[c.Default=0]="Default",c[c.Host=1]="Host",c[c.Self=2]="Self",c[c.SkipSelf=4]="SkipSelf",c[c.Optional=8]="Optional",c}(Ii||{});let cr;function _s(){return cr}function hr(c){const u=cr;return cr=c,u}function Qs(c,u,p){const _=ba(c);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:p&Ii.Optional?null:void 0!==u?u:void so()}const Qa={},nd="__NG_DI_FLAG__",te="ngTempTokenPath",ve=/\n/gm,Pt="__source";let vn;function Xi(c){const u=vn;return vn=c,u}function xs(c,u=Ii.Default){if(void 0===vn)throw new xi(-203,!1);return null===vn?Qs(c,void 0,u):vn.get(c,u&Ii.Optional?null:void 0,u)}function Fo(c,u=Ii.Default){return(_s()||xs)(bo(c),u)}function hi(c,u=Ii.Default){return Fo(c,rs(u))}function rs(c){return typeof c>"u"||"number"==typeof c?c:(c.optional&&8)|(c.host&&1)|(c.self&&2)|(c.skipSelf&&4)}function Lr(c){const u=[];for(let p=0;p<c.length;p++){const _=bo(c[p]);if(Array.isArray(_)){if(0===_.length)throw new xi(900,!1);let S,O=Ii.Default;for(let V=0;V<_.length;V++){const Y=_[V],ie=ic(Y);"number"==typeof ie?-1===ie?S=Y.token:O|=ie:S=Y}u.push(Fo(S,O))}else u.push(Fo(_))}return u}function Rr(c,u){return c[nd]=u,c.prototype[nd]=u,c}function ic(c){return c[nd]}const Dl=Rr(Bs("Inject",c=>({token:c})),-1),rl=Rr(Bs("Optional"),8),$l=Rr(Bs("SkipSelf"),4);function Ed(c,u){return c.hasOwnProperty(wr)?c[wr]:null}function Ol(c){return c.flat(Number.POSITIVE_INFINITY)}function ju(c,u){c.forEach(p=>Array.isArray(p)?ju(p,u):u(p))}function Jh(c,u,p){u>=c.length?c.push(p):c.splice(u,0,p)}function yl(c,u){return u>=c.length-1?c.pop():c.splice(u,1)[0]}function Ia(c,u,p){let _=Fc(c,u);return _>=0?c[1|_]=p:(_=~_,function Hu(c,u,p,_){let S=c.length;if(S==u)c.push(p,_);else if(1===S)c.push(_,c[0]),c[0]=p;else{for(S--,c.push(c[S-1],c[S]);S>u;)c[S]=c[S-2],S--;c[u]=p,c[u+1]=_}}(c,_,u,p)),_}function id(c,u){const p=Fc(c,u);if(p>=0)return c[1|p]}function Fc(c,u){return function Ul(c,u,p){let _=0,S=c.length>>p;for(;S!==_;){const O=_+(S-_>>1),V=c[O<<p];if(u===V)return O<<p;V>u?S=O:_=O+1}return~(S<<p)}(c,u,1)}const zl={},Er=[],wa=new St(""),fu=new St("",-1),Ds=new St("");class Vr{get(u,p=Qa){if(p===Qa){const _=new Error(`NullInjectorError: No provider for ${Hs(u)}!`);throw _.name="NullInjectorError",_}return p}}var Gl=function(c){return c[c.OnPush=0]="OnPush",c[c.Default=1]="Default",c}(Gl||{}),od=function(c){return c[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",c}(od||{}),Da=function(c){return c[c.None=0]="None",c[c.SignalBased=1]="SignalBased",c[c.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",c}(Da||{});function Yu(c,u,p){let _=c.length;for(;;){const S=c.indexOf(u,p);if(-1===S)return S;if(0===S||c.charCodeAt(S-1)<=32){const O=u.length;if(S+O===_||c.charCodeAt(S+O)<=32)return S}p=S+1}}function mu(c,u,p){let _=0;for(;_<p.length;){const S=p[_];if("number"==typeof S){if(0!==S)break;_++;const O=p[_++],V=p[_++],Y=p[_++];c.setAttribute(u,V,Y,O)}else{const O=S,V=p[++_];sh(O)?c.setProperty(u,O,V):c.setAttribute(u,O,V),_++}}return _}function gu(c){return 3===c||4===c||6===c}function sh(c){return 64===c.charCodeAt(0)}function rd(c,u){if(null!==u&&0!==u.length)if(null===c||0===c.length)c=u.slice();else{let p=-1;for(let _=0;_<u.length;_++){const S=u[_];"number"==typeof S?p=S:0===p||qu(c,p,S,null,-1===p||2===p?u[++_]:null)}}return c}function qu(c,u,p,_,S){let O=0,V=c.length;if(-1===u)V=-1;else for(;O<c.length;){const Y=c[O++];if("number"==typeof Y){if(Y===u){V=-1;break}if(Y>u){V=O-1;break}}}for(;O<c.length;){const Y=c[O];if("number"==typeof Y)break;if(Y===p){if(null===_)return void(null!==S&&(c[O+1]=S));if(_===c[O+1])return void(c[O+2]=S)}O++,null!==_&&O++,null!==S&&O++}-1!==V&&(c.splice(V,0,u),O=V+1),c.splice(O++,0,p),null!==_&&c.splice(O++,0,_),null!==S&&c.splice(O++,0,S)}const sd="ng-template";function Gd(c,u,p,_){let S=0;if(_){for(;S<u.length&&"string"==typeof u[S];S+=2)if("class"===u[S]&&-1!==Yu(u[S+1].toLowerCase(),p,0))return!0}else if(ah(c))return!1;if(S=u.indexOf(1,S),S>-1){let O;for(;++S<u.length&&"string"==typeof(O=u[S]);)if(O.toLowerCase()===p)return!0}return!1}function ah(c){return 4===c.type&&c.value!==sd}function lh(c,u,p){return u===(4!==c.type||p?c.value:sd)}function U1(c,u,p){let _=4;const S=c.attrs,O=null!==S?function W(c){for(let u=0;u<c.length;u++)if(gu(c[u]))return u;return c.length}(S):0;let V=!1;for(let Y=0;Y<u.length;Y++){const ie=u[Y];if("number"!=typeof ie){if(!V)if(4&_){if(_=2|1&_,""!==ie&&!lh(c,ie,p)||""===ie&&1===u.length){if(da(_))return!1;V=!0}}else if(8&_){if(null===S||!Gd(c,S,ie,p)){if(da(_))return!1;V=!0}}else{const ke=u[++Y],Ae=ad(ie,S,ah(c),p);if(-1===Ae){if(da(_))return!1;V=!0;continue}if(""!==ke){let pt;if(pt=Ae>O?"":S[Ae+1].toLowerCase(),2&_&&ke!==pt){if(da(_))return!1;V=!0}}}}else{if(!V&&!da(_)&&!da(ie))return!1;if(V&&da(ie))continue;V=!1,_=ie|1&_}}return da(_)||V}function da(c){return!(1&c)}function ad(c,u,p,_){if(null===u)return-1;let S=0;if(_||!p){let O=!1;for(;S<u.length;){const V=u[S];if(V===c)return S;if(3===V||6===V)O=!0;else{if(1===V||2===V){let Y=u[++S];for(;"string"==typeof Y;)Y=u[++S];continue}if(4===V)break;if(0===V){S+=4;continue}}S+=O?1:2}return-1}return function ue(c,u){let p=c.indexOf(4);if(p>-1)for(p++;p<c.length;){const _=c[p];if("number"==typeof _)return-1;if(_===u)return p;p++}return-1}(u,c)}function vu(c,u,p=!1){for(let _=0;_<u.length;_++)if(U1(c,u[_],p))return!0;return!1}function Z(c,u){e:for(let p=0;p<u.length;p++){const _=u[p];if(c.length===_.length){for(let S=0;S<c.length;S++)if(c[S]!==_[S])continue e;return!0}}return!1}function pe(c,u){return c?":not("+u.trim()+")":u}function Oe(c){let u=c[0],p=1,_=2,S="",O=!1;for(;p<c.length;){let V=c[p];if("string"==typeof V)if(2&_){const Y=c[++p];S+="["+V+(Y.length>0?'="'+Y+'"':"")+"]"}else 8&_?S+="."+V:4&_&&(S+=" "+V);else""!==S&&!da(V)&&(u+=pe(O,S),S=""),_=V,O=O||!da(_);p++}return""!==S&&(u+=pe(O,S)),u}function kn(c){return gs(()=>{const u=Lc(c),p={...u,decls:c.decls,vars:c.vars,template:c.template,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,onPush:c.changeDetection===Gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:u.standalone&&c.dependencies||null,getStandaloneInjector:null,signals:c.signals??!1,data:c.data||{},encapsulation:c.encapsulation||od.Emulated,styles:c.styles||Er,_:null,schemas:c.schemas||null,tView:null,id:""};Z0(p);const _=c.dependencies;return p.directiveDefs=ld(_,!1),p.pipeDefs=ld(_,!0),p.id=function kf(c){let u=0;const p=[c.selectors,c.ngContentSelectors,c.hostVars,c.hostAttrs,c.consts,c.vars,c.decls,c.encapsulation,c.standalone,c.signals,c.exportAs,JSON.stringify(c.inputs),JSON.stringify(c.outputs),Object.getOwnPropertyNames(c.type.prototype),!!c.contentQueries,!!c.viewQuery].join("|");for(const S of p)u=Math.imul(31,u)+S.charCodeAt(0)|0;return u+=2147483648,"c"+u}(p),p})}function pn(c){return zo(c)||Os(c)}function pi(c){return null!==c}function Co(c){return gs(()=>({type:c.type,bootstrap:c.bootstrap||Er,declarations:c.declarations||Er,imports:c.imports||Er,exports:c.exports||Er,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null}))}function Uo(c,u){if(null==c)return zl;const p={};for(const _ in c)if(c.hasOwnProperty(_)){const S=c[_];let O,V,Y=Da.None;Array.isArray(S)?(Y=S[0],O=S[1],V=S[2]??O):(O=S,V=S),u?(p[O]=Y!==Da.None?[_,Y]:_,u[O]=V):p[O]=_}return p}function us(c){return gs(()=>{const u=Lc(c);return Z0(u),u})}function bl(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,standalone:!0===c.standalone,onDestroy:c.type.prototype.ngOnDestroy||null}}function zo(c){return c[Ms]||null}function Os(c){return c[Fr]||null}function ss(c){return c[vs]||null}function jl(c){const u=zo(c)||Os(c)||ss(c);return null!==u&&u.standalone}function Ta(c,u){const p=c[Gr]||null;if(!p&&!0===u)throw new Error(`Type ${Hs(c)} does not have '\u0275mod' property.`);return p}function Lc(c){const u={};return{type:c.type,providersResolver:null,factory:null,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:u,inputTransforms:null,inputConfig:c.inputs||zl,exportAs:c.exportAs||null,standalone:!0===c.standalone,signals:!0===c.signals,selectors:c.selectors||Er,viewQuery:c.viewQuery||null,features:c.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uo(c.inputs,u),outputs:Uo(c.outputs),debugInfo:null}}function Z0(c){c.features?.forEach(u=>u(c))}function ld(c,u){if(!c)return null;const p=u?ss:pn;return()=>("function"==typeof c?c():c).map(_=>p(_)).filter(pi)}function yu(c){return{\u0275providers:c}}function Ef(...c){return{\u0275providers:e1(0,c),\u0275fromNgModule:!0}}function e1(c,...u){const p=[],_=new Set;let S;const O=V=>{p.push(V)};return ju(u,V=>{const Y=V;Oa(Y,O,[],_)&&(S||=[],S.push(Y))}),void 0!==S&&t1(S,O),p}function t1(c,u){for(let p=0;p<c.length;p++){const{ngModule:_,providers:S}=c[p];oc(S,O=>{u(O,_)})}}function Oa(c,u,p,_){if(!(c=bo(c)))return!1;let S=null,O=ee(c);const V=!O&&zo(c);if(O||V){if(V&&!V.standalone)return!1;S=c}else{const ie=c.ngModule;if(O=ee(ie),!O)return!1;S=ie}const Y=_.has(S);if(V){if(Y)return!1;if(_.add(S),V.dependencies){const ie="function"==typeof V.dependencies?V.dependencies():V.dependencies;for(const ke of ie)Oa(ke,u,p,_)}}else{if(!O)return!1;{if(null!=O.imports&&!Y){let ke;_.add(S);try{ju(O.imports,Ae=>{Oa(Ae,u,p,_)&&(ke||=[],ke.push(Ae))})}finally{}void 0!==ke&&t1(ke,u)}if(!Y){const ke=Ed(S)||(()=>new S);u({provide:S,useFactory:ke,deps:Er},S),u({provide:Ds,useValue:S,multi:!0},S),u({provide:wa,useValue:()=>Fo(S),multi:!0},S)}const ie=O.providers;if(null!=ie&&!Y){const ke=c;oc(ie,Ae=>{u(Ae,ke)})}}}return S!==c&&void 0!==c.providers}function oc(c,u){for(let p of c)Es(p)&&(p=p.\u0275providers),Array.isArray(p)?oc(p,u):u(p)}const Bp=Jo({provide:String,useValue:Jo});function Hl(c){return null!==c&&"object"==typeof c&&Bp in c}function Cc(c){return"function"==typeof c}const jd=new St(""),Hd={},G1={};let $c;function rc(){return void 0===$c&&($c=new Vr),$c}class wc{}class cd extends wc{get destroyed(){return this._destroyed}constructor(u,p,_,S){super(),this.parent=p,this.source=_,this.scopes=S,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,co(u,V=>this.processProvider(V)),this.records.set(fu,sc(void 0,this)),S.has("environment")&&this.records.set(wc,sc(void 0,this));const O=this.records.get(jd);null!=O&&"string"==typeof O.value&&this.scopes.add(O.value),this.injectorDefTypes=new Set(this.get(Ds,Er,Ii.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const u=ae(null);try{for(const _ of this._ngOnDestroyHooks)_.ngOnDestroy();const p=this._onDestroyHooks;this._onDestroyHooks=[];for(const _ of p)_()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ae(u)}}onDestroy(u){return this.assertNotDestroyed(),this._onDestroyHooks.push(u),()=>this.removeOnDestroy(u)}runInContext(u){this.assertNotDestroyed();const p=Xi(this),_=hr(void 0);try{return u()}finally{Xi(p),hr(_)}}get(u,p=Qa,_=Ii.Default){if(this.assertNotDestroyed(),u.hasOwnProperty(Ba))return u[Ba](this);_=rs(_);const O=Xi(this),V=hr(void 0);try{if(!(_&Ii.SkipSelf)){let ie=this.records.get(u);if(void 0===ie){const ke=function Js(c){return"function"==typeof c||"object"==typeof c&&c instanceof St}(u)&&ba(u);ie=ke&&this.injectableDefInScope(ke)?sc(Mf(u),Hd):null,this.records.set(u,ie)}if(null!=ie)return this.hydrate(u,ie)}return(_&Ii.Self?rc():this.parent).get(u,p=_&Ii.Optional&&p===Qa?null:p)}catch(Y){if("NullInjectorError"===Y.name){if((Y[te]=Y[te]||[]).unshift(Hs(u)),O)throw Y;return function il(c,u,p,_){const S=c[te];throw u[Pt]&&S.unshift(u[Pt]),c.message=function ol(c,u,p,_=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.slice(2):c;let S=Hs(u);if(Array.isArray(u))S=u.map(Hs).join(" -> ");else if("object"==typeof u){let O=[];for(let V in u)if(u.hasOwnProperty(V)){let Y=u[V];O.push(V+":"+("string"==typeof Y?JSON.stringify(Y):Hs(Y)))}S=`{${O.join(", ")}}`}return`${p}${_?"("+_+")":""}[${S}]: ${c.replace(ve,"\n  ")}`}("\n"+c.message,S,p,_),c.ngTokenPath=S,c[te]=null,c}(Y,u,"R3InjectorError",this.source)}throw Y}finally{hr(V),Xi(O)}}resolveInjectorInitializers(){const u=ae(null),p=Xi(this),_=hr(void 0);try{const O=this.get(wa,Er,Ii.Self);for(const V of O)V()}finally{Xi(p),hr(_),ae(u)}}toString(){const u=[],p=this.records;for(const _ of p.keys())u.push(Hs(_));return`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new xi(205,!1)}processProvider(u){let p=Cc(u=bo(u))?u:bo(u&&u.provide);const _=function bu(c){return Hl(c)?sc(void 0,c.useValue):sc(Cu(c),Hd)}(u);if(!Cc(u)&&!0===u.multi){let S=this.records.get(p);S||(S=sc(void 0,Hd,!0),S.factory=()=>Lr(S.multi),this.records.set(p,S)),p=u,S.multi.push(u)}this.records.set(p,_)}hydrate(u,p){const _=ae(null);try{return p.value===Hd&&(p.value=G1,p.value=p.factory()),"object"==typeof p.value&&p.value&&function Yd(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(p.value)&&this._ngOnDestroyHooks.add(p.value),p.value}finally{ae(_)}}injectableDefInScope(u){if(!u.providedIn)return!1;const p=bo(u.providedIn);return"string"==typeof p?"any"===p||this.scopes.has(p):this.injectorDefTypes.has(p)}removeOnDestroy(u){const p=this._onDestroyHooks.indexOf(u);-1!==p&&this._onDestroyHooks.splice(p,1)}}function Mf(c){const u=ba(c),p=null!==u?u.factory:Ed(c);if(null!==p)return p;if(c instanceof St)throw new xi(204,!1);if(c instanceof Function)return function j1(c){if(c.length>0)throw new xi(204,!1);const p=function J(c){return c&&(c[Ce]||c[vt])||null}(c);return null!==p?()=>p.factory(c):()=>new c}(c);throw new xi(204,!1)}function Cu(c,u,p){let _;if(Cc(c)){const S=bo(c);return Ed(S)||Mf(S)}if(Hl(c))_=()=>bo(c.useValue);else if(function Bc(c){return!(!c||!c.useFactory)}(c))_=()=>c.useFactory(...Lr(c.deps||[]));else if(function Vc(c){return!(!c||!c.useExisting)}(c))_=()=>Fo(bo(c.useExisting));else{const S=bo(c&&(c.useClass||c.provide));if(!function dd(c){return!!c.deps}(c))return Ed(S)||Mf(S);_=()=>new S(...Lr(c.deps))}return _}function sc(c,u,p=!1){return{factory:c,value:u,multi:p?[]:void 0}}function co(c,u){for(const p of c)Array.isArray(p)?co(p,u):p&&Es(p)?co(p.\u0275providers,u):u(p)}function n1(c,u){c instanceof cd&&c.assertNotDestroyed();const _=Xi(c),S=hr(void 0);try{return u()}finally{Xi(_),hr(S)}}function ni(){return void 0!==_s()||null!=function Pn(){return vn}()}function za(c){if(!ni())throw new xi(-203,!1)}const ua=Function;const qs=0,_i=1,No=2,Zr=3,Gc=4,Zs=5,qr=6,Yl=7,hs=8,es=9,Tc=10,Ho=11,Xo=12,jc=13,Sc=14,Hi=15,ud=16,ku=17,qd=18,kc=19,q1=20,hd=21,Cl=22,ql=23,qi=25,X1=1,Hc=7,Xd=9,ha=10;var ch=function(c){return c[c.None=0]="None",c[c.HasTransplantedViews=2]="HasTransplantedViews",c}(ch||{});function zs(c){return Array.isArray(c)&&"object"==typeof c[X1]}function Na(c){return Array.isArray(c)&&!0===c[X1]}function Eu(c){return!!(4&c.flags)}function Wd(c){return c.componentOffset>-1}function Ku(c){return!(1&~c.flags)}function Nl(c){return!!c.template}function o1(c){return!!(512&c[No])}class l2{constructor(u,p,_){this.previousValue=u,this.currentValue=p,this.firstChange=_}isFirstChange(){return this.firstChange}}function Yp(c,u,p,_){null!==u?u.applyValueToInputSignal(u,_):c[p]=_}function Z1(){return uh}function uh(c){return c.type.prototype.ngOnChanges&&(c.setInput=Sa),c1}function c1(){const c=Ua(this),u=c?.current;if(u){const p=c.previous;if(p===zl)c.previous=u;else for(let _ in u)p[_]=u[_];c.current=null,this.ngOnChanges(u)}}function Sa(c,u,p,_,S){const O=this.declaredInputs[_],V=Ua(c)||function c2(c,u){return c[d1]=u}(c,{previous:zl,current:null}),Y=V.current||(V.current={}),ie=V.previous,ke=ie[O];Y[O]=new l2(ke&&ke.currentValue,p,ie===zl),Yp(c,u,S,p)}Z1.ngInherit=!0;const d1="__ngSimpleChanges__";function Ua(c){return c[d1]||null}const Xl=function(c,u,p){},tp="svg";function Br(c){for(;Array.isArray(c);)c=c[qs];return c}function u1(c,u){return Br(u[c])}function Wl(c,u){return Br(u[c.index])}function Jd(c,u){return c.data[u]}function Od(c,u){return c[u]}function ea(c,u){const p=u[c];return zs(p)?p:p[qs]}function Mu(c){return!(128&~c[No])}function Yc(c,u){return null==u?null:c[u]}function d2(c){c[ku]=0}function Xp(c){1024&c[No]||(c[No]|=1024,Mu(c)&&Kp(c))}function pd(c){return!!(9216&c[No]||c[ql]?.dirty)}function Wp(c){c[Tc].changeDetectionScheduler?.notify(8),64&c[No]&&(c[No]|=1024),pd(c)&&Kp(c)}function Kp(c){c[Tc].changeDetectionScheduler?.notify(0);let u=zd(c);for(;null!==u&&!(8192&u[No])&&(u[No]|=8192,Mu(u));)u=zd(u)}function h1(c,u){if(!(256&~c[No]))throw new xi(911,!1);null===c[hd]&&(c[hd]=[]),c[hd].push(u)}function zd(c){const u=c[Zr];return Na(u)?u[Zr]:u}const Zo={lFrame:Eo(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let u2=!1;function op(){return Zo.bindingsEnabled}function mh(){return null!==Zo.skipHydrationRootTNode}function $n(){return Zo.lFrame.lView}function fr(){return Zo.lFrame.tView}function gh(c){return Zo.lFrame.contextLView=c,c[hs]}function vh(c){return Zo.lFrame.contextLView=null,c}function ys(){let c=Zp();for(;null!==c&&64===c.type;)c=c.parent;return c}function Zp(){return Zo.lFrame.currentTNode}function qc(c,u){const p=Zo.lFrame;p.currentTNode=c,p.isParent=u}function rp(){return Zo.lFrame.isParent}function cc(){Zo.lFrame.isParent=!1}function Ch(){return u2}function e0(c){u2=c}function pa(){const c=Zo.lFrame;let u=c.bindingRootIndex;return-1===u&&(u=c.bindingRootIndex=c.tView.bindingStartIndex),u}function Xr(){return Zo.lFrame.bindingIndex}function dc(){return Zo.lFrame.bindingIndex++}function Xc(c){const u=Zo.lFrame,p=u.bindingIndex;return u.bindingIndex=u.bindingIndex+c,p}function Q(c,u){const p=Zo.lFrame;p.bindingIndex=p.bindingRootIndex=c,G(u)}function G(c){Zo.lFrame.currentDirectiveIndex=c}function ne(c){const u=Zo.lFrame.currentDirectiveIndex;return-1===u?null:c[u]}function Fe(){return Zo.lFrame.currentQueryIndex}function st(c){Zo.lFrame.currentQueryIndex=c}function on(c){const u=c[_i];return 2===u.type?u.declTNode:1===u.type?c[Zs]:null}function Nn(c,u,p){if(p&Ii.SkipSelf){let S=u,O=c;for(;!(S=S.parent,null!==S||p&Ii.Host||(S=on(O),null===S||(O=O[Sc],10&S.type))););if(null===S)return!1;u=S,c=O}const _=Zo.lFrame=eo();return _.currentTNode=u,_.lView=c,!0}function si(c){const u=eo(),p=c[_i];Zo.lFrame=u,u.currentTNode=p.firstChild,u.lView=c,u.tView=p,u.contextLView=c,u.bindingIndex=p.bindingStartIndex,u.inI18n=!1}function eo(){const c=Zo.lFrame,u=null===c?null:c.child;return null===u?Eo(c):u}function Eo(c){const u={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:c,child:null,inI18n:!1};return null!==c&&(c.child=u),u}function Dr(){const c=Zo.lFrame;return Zo.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const al=Dr;function Wc(){const c=Dr();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function ll(){return Zo.lFrame.selectedIndex}function fd(c){Zo.lFrame.selectedIndex=c}function ta(){const c=Zo.lFrame;return Jd(c.tView,c.selectedIndex)}function sp(){Zo.lFrame.currentNamespace=tp}function Th(){!function n0(){Zo.lFrame.currentNamespace=null}()}let f1=!0;function Sh(){return f1}function md(c){f1=c}function ap(c,u){for(let p=u.directiveStart,_=u.directiveEnd;p<_;p++){const O=c.data[p].type.prototype,{ngAfterContentInit:V,ngAfterContentChecked:Y,ngAfterViewInit:ie,ngAfterViewChecked:ke,ngOnDestroy:Ae}=O;V&&(c.contentHooks??=[]).push(-p,V),Y&&((c.contentHooks??=[]).push(p,Y),(c.contentCheckHooks??=[]).push(p,Y)),ie&&(c.viewHooks??=[]).push(-p,ie),ke&&((c.viewHooks??=[]).push(p,ke),(c.viewCheckHooks??=[]).push(p,ke)),null!=Ae&&(c.destroyHooks??=[]).push(p,Ae)}}function o0(c,u,p){_2(c,u,3,p)}function Af(c,u,p,_){(3&c[No])===p&&_2(c,u,p,_)}function Rf(c,u){let p=c[No];(3&p)===u&&(p&=16383,p+=1,c[No]=p)}function _2(c,u,p,_){const O=_??-1,V=u.length-1;let Y=0;for(let ie=void 0!==_?65535&c[ku]:0;ie<V;ie++)if("number"==typeof u[ie+1]){if(Y=u[ie],null!=_&&Y>=_)break}else u[ie]<0&&(c[ku]+=65536),(Y<O||-1==O)&&(Pf(c,p,u,ie),c[ku]=(4294901760&c[ku])+ie+2),ie++}function pg(c,u){Xl(4,c,u);const p=ae(null);try{u.call(c)}finally{ae(p),Xl(5,c,u)}}function Pf(c,u,p,_){const S=p[_]<0,O=p[_+1],Y=c[S?-p[_]:p[_]];S?c[No]>>14<c[ku]>>16&&(3&c[No])===u&&(c[No]+=16384,pg(Y,O)):pg(Y,O)}const r0=-1;class eu{constructor(u,p,_){this.factory=u,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=_}}const kh={};class m1{constructor(u,p){this.injector=u,this.parentInjector=p}get(u,p,_){_=rs(_);const S=this.injector.get(u,kh,_);return S!==kh||p===kh?S:this.parentInjector.get(u,p,_)}}function g1(c){return c!==r0}function s0(c){return 32767&c}function Mc(c,u){let p=function b2(c){return c>>16}(c),_=u;for(;p>0;)_=_[Sc],p--;return _}let Lf=!0;function a0(c){const u=Lf;return Lf=c,u}const _g=255,cp=5;let R8=0;const tu={};function dp(c,u){const p=l0(c,u);if(-1!==p)return p;const _=u[_i];_.firstCreatePass&&(c.injectorIndex=u.length,yg(_.data,c),yg(u,null),yg(_.blueprint,null));const S=c0(c,u),O=c.injectorIndex;if(g1(S)){const V=s0(S),Y=Mc(S,u),ie=Y[_i].data;for(let ke=0;ke<8;ke++)u[O+ke]=Y[V+ke]|ie[V+ke]}return u[O+8]=S,O}function yg(c,u){c.push(0,0,0,0,0,0,0,0,u)}function l0(c,u){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===u[c.injectorIndex+8]?-1:c.injectorIndex}function c0(c,u){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let p=0,_=null,S=u;for(;null!==S;){if(_=Cg(S),null===_)return r0;if(p++,S=S[Sc],-1!==_.injectorIndex)return _.injectorIndex|p<<16}return r0}function Ns(c,u,p){!function P8(c,u,p){let _;"string"==typeof p?_=p.charCodeAt(0)||0:p.hasOwnProperty(Ca)&&(_=p[Ca]),null==_&&(_=p[Ca]=R8++);const S=_&_g;u.data[c+(S>>cp)]|=1<<S}(c,u,p)}function Ic(c,u,p){if(p&Ii.Optional||void 0!==c)return c;so()}function v1(c,u,p,_){if(p&Ii.Optional&&void 0===_&&(_=null),!(p&(Ii.Self|Ii.Host))){const S=c[es],O=hr(void 0);try{return S?S.get(u,_,p&Ii.Optional):Qs(u,_,p&Ii.Optional)}finally{hr(O)}}return Ic(_,0,p)}function Iu(c,u,p,_=Ii.Default,S){if(null!==c){if(2048&u[No]&&!(_&Ii.Self)){const V=function F8(c,u,p,_,S){let O=c,V=u;for(;null!==O&&null!==V&&2048&V[No]&&!(512&V[No]);){const Y=_1(O,V,p,_|Ii.Self,tu);if(Y!==tu)return Y;let ie=O.parent;if(!ie){const ke=V[q1];if(ke){const Ae=ke.get(p,tu,_);if(Ae!==tu)return Ae}ie=Cg(V),V=V[Sc]}O=ie}return S}(c,u,p,_,tu);if(V!==tu)return V}const O=_1(c,u,p,_,tu);if(O!==tu)return O}return v1(u,p,_,S)}function _1(c,u,p,_,S){const O=function d0(c){if("string"==typeof c)return c.charCodeAt(0)||0;const u=c.hasOwnProperty(Ca)?c[Ca]:void 0;return"number"==typeof u?u>=0?u&_g:Vf:u}(p);if("function"==typeof O){if(!Nn(u,c,_))return _&Ii.Host?Ic(S,0,_):v1(u,p,_,S);try{let V;if(V=O(_),null!=V||_&Ii.Optional)return V;so()}finally{al()}}else if("number"==typeof O){let V=null,Y=l0(c,u),ie=r0,ke=_&Ii.Host?u[Hi][Zs]:null;for((-1===Y||_&Ii.SkipSelf)&&(ie=-1===Y?c0(c,u):u[Y+8],ie!==r0&&y1(_,!1)?(V=u[_i],Y=s0(ie),u=Mc(ie,u)):Y=-1);-1!==Y;){const Ae=u[_i];if(nu(O,Y,Ae.data)){const pt=Qu(Y,u,p,V,_,ke);if(pt!==tu)return pt}ie=u[Y+8],ie!==r0&&y1(_,u[_i].data[Y+8]===ke)&&nu(O,Y,u)?(V=Ae,Y=s0(ie),u=Mc(ie,u)):Y=-1}}return S}function Qu(c,u,p,_,S,O){const V=u[_i],Y=V.data[c+8],Ae=gd(Y,V,p,null==_?Wd(Y)&&Lf:_!=V&&!!(3&Y.type),S&Ii.Host&&O===Y);return null!==Ae?Dc(u,V,Ae,Y):tu}function gd(c,u,p,_,S){const O=c.providerIndexes,V=u.data,Y=1048575&O,ie=c.directiveStart,Ae=O>>20,Ht=S?Y+Ae:c.directiveEnd;for(let Qt=_?Y:Y+Ae;Qt<Ht;Qt++){const fn=V[Qt];if(Qt<ie&&p===fn||Qt>=ie&&fn.type===p)return Qt}if(S){const Qt=V[ie];if(Qt&&Nl(Qt)&&Qt.type===p)return ie}return null}function Dc(c,u,p,_){let S=c[p];const O=u.data;if(function fg(c){return c instanceof eu}(S)){const V=S;V.resolving&&function tc(c,u){throw u&&u.join(" > "),new xi(-200,c)}(yr(O[p]));const Y=a0(V.canSeeViewProviders);V.resolving=!0;const ke=V.injectImpl?hr(V.injectImpl):null;Nn(c,_,Ii.Default);try{S=c[p]=V.factory(void 0,O,c,_),u.firstCreatePass&&p>=_.directiveStart&&function v2(c,u,p){const{ngOnChanges:_,ngOnInit:S,ngDoCheck:O}=u.type.prototype;if(_){const V=uh(u);(p.preOrderHooks??=[]).push(c,V),(p.preOrderCheckHooks??=[]).push(c,V)}S&&(p.preOrderHooks??=[]).push(0-c,S),O&&((p.preOrderHooks??=[]).push(c,O),(p.preOrderCheckHooks??=[]).push(c,O))}(p,O[p],u)}finally{null!==ke&&hr(ke),a0(Y),V.resolving=!1,al()}}return S}function nu(c,u,p){return!!(p[u+(c>>cp)]&1<<c)}function y1(c,u){return!(c&Ii.Self||c&Ii.Host&&u)}class Aa{constructor(u,p){this._tNode=u,this._lView=p}get(u,p,_){return Iu(this._tNode,this._lView,u,rs(_),p)}}function Vf(){return new Aa(ys(),$n())}function u0(c){return gs(()=>{const u=c.prototype.constructor,p=u[wr]||bg(u),_=Object.prototype;let S=Object.getPrototypeOf(c.prototype).constructor;for(;S&&S!==_;){const O=S[wr]||bg(S);if(O&&O!==p)return O;S=Object.getPrototypeOf(S)}return O=>new O})}function bg(c){return Ma(c)?()=>{const u=bg(bo(c));return u&&u()}:Ed(c)}function Cg(c){const u=c[_i],p=u.type;return 2===p?u.declTNode:1===p?c[Zs]:null}function Bf(c){return function xc(c,u){if("class"===u)return c.classes;if("style"===u)return c.styles;const p=c.attrs;if(p){const _=p.length;let S=0;for(;S<_;){const O=p[S];if(gu(O))break;if(0===O)S+=2;else if("number"==typeof O)for(S++;S<_&&"string"==typeof p[S];)S++;else{if(O===u)return p[S+1];S+=2}}}return null}(ys(),c)}function C1(c,u=null,p=null,_){const S=up(c,u,p,_);return S.resolveInjectorInitializers(),S}function up(c,u=null,p=null,_,S=new Set){const O=[p||Er,Ef(c)];return _=_||("object"==typeof c?void 0:Hs(c)),new cd(O,u||rc(),_||null,S)}class Kl{static#e=this.THROW_IF_NOT_FOUND=Qa;static#t=this.NULL=new Vr;static create(u,p){if(Array.isArray(u))return C1({name:""},p,u,"");{const _=u.name??"";return C1({name:_},u.parent,u.providers,_)}}static#n=this.\u0275prov=rr({token:Kl,providedIn:"any",factory:()=>Fo(fu)});static#i=this.__NG_ELEMENT_ID__=-1}new St("").__NG_ELEMENT_ID__=c=>{const u=ys();if(null===u)throw new xi(204,!1);if(2&u.type)return u.value;if(c&Ii.Optional)return null;throw new xi(204,!1)};function jf(c){return c.ngOriginalError}const e3=!0;let f0=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=V8;static#t=this.__NG_ENV_ID__=p=>p}return c})();class L8 extends f0{constructor(u){super(),this._lView=u}onDestroy(u){return h1(this._lView,u),()=>function lc(c,u){if(null===c[hd])return;const p=c[hd].indexOf(u);-1!==p&&c[hd].splice(p,1)}(this._lView,u)}}function V8(){return new L8($n())}let hp=(()=>{class c{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Rn.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const p=this.taskId++;return this.pendingTasks.add(p),p}remove(p){this.pendingTasks.delete(p),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:()=>new c})}return c})();const Ad=class t3 extends vi.B{constructor(u=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=u,ni()&&(this.destroyRef=hi(f0,{optional:!0})??void 0,this.pendingTasks=hi(hp,{optional:!0})??void 0)}emit(u){const p=ae(null);try{super.next(u)}finally{ae(p)}}subscribe(u,p,_){let S=u,O=p||(()=>null),V=_;if(u&&"object"==typeof u){const ie=u;S=ie.next?.bind(ie),O=ie.error?.bind(ie),V=ie.complete?.bind(ie)}this.__isAsync&&(O=this.wrapInTimeout(O),S&&(S=this.wrapInTimeout(S)),V&&(V=this.wrapInTimeout(V)));const Y=super.subscribe({next:S,error:O,complete:V});return u instanceof So.yU&&u.add(Y),Y}wrapInTimeout(u){return p=>{const _=this.pendingTasks?.add();setTimeout(()=>{u(p),void 0!==_&&this.pendingTasks?.remove(_)})}}};function m0(...c){}function n3(c){let u,p;function _(){c=m0;try{void 0!==p&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(p),void 0!==u&&clearTimeout(u)}catch{}}return u=setTimeout(()=>{c(),_()}),"function"==typeof requestAnimationFrame&&(p=requestAnimationFrame(()=>{c(),_()})),()=>_()}function Sg(c){return queueMicrotask(()=>c()),()=>{c=m0}}const g0="isAngularZone",Or=g0+"_ID";let Hf=0;class fa{constructor(u){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ad(!1),this.onMicrotaskEmpty=new Ad(!1),this.onStable=new Ad(!1),this.onError=new Ad(!1);const{enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:S=!1,scheduleInRootZone:O=e3}=u;if(typeof Zone>"u")throw new xi(908,!1);Zone.assertZonePatched();const V=this;V._nesting=0,V._outer=V._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(V._inner=V._inner.fork(new Zone.TaskTrackingZoneSpec)),p&&Zone.longStackTraceZoneSpec&&(V._inner=V._inner.fork(Zone.longStackTraceZoneSpec)),V.shouldCoalesceEventChangeDetection=!S&&_,V.shouldCoalesceRunChangeDetection=S,V.callbackScheduled=!1,V.scheduleInRootZone=O,function cl(c){const u=()=>{!function wl(c){function u(){n3(()=>{c.callbackScheduled=!1,Rd(c),c.isCheckStableRunning=!0,kg(c),c.isCheckStableRunning=!1})}c.isCheckStableRunning||c.callbackScheduled||(c.callbackScheduled=!0,c.scheduleInRootZone?Zone.root.run(()=>{u()}):c._outer.run(()=>{u()}),Rd(c))}(c)},p=Hf++;c._inner=c._inner.fork({name:"angular",properties:{[g0]:!0,[Or]:p,[Or+p]:!0},onInvokeTask:(_,S,O,V,Y,ie)=>{if(function Ev(c){return Mg(c,"__ignore_ng_zone__")}(ie))return _.invokeTask(O,V,Y,ie);try{return i3(c),_.invokeTask(O,V,Y,ie)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===V.type||c.shouldCoalesceRunChangeDetection)&&u(),$8(c)}},onInvoke:(_,S,O,V,Y,ie,ke)=>{try{return i3(c),_.invoke(O,V,Y,ie,ke)}finally{c.shouldCoalesceRunChangeDetection&&!c.callbackScheduled&&!function Eg(c){return Mg(c,"__scheduler_tick__")}(ie)&&u(),$8(c)}},onHasTask:(_,S,O,V)=>{_.hasTask(O,V),S===O&&("microTask"==V.change?(c._hasPendingMicrotasks=V.microTask,Rd(c),kg(c)):"macroTask"==V.change&&(c.hasPendingMacrotasks=V.macroTask))},onHandleError:(_,S,O,V)=>(_.handleError(O,V),c.runOutsideAngular(()=>c.onError.emit(V)),!1)})}(V)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(g0)}static assertInAngularZone(){if(!fa.isInAngularZone())throw new xi(909,!1)}static assertNotInAngularZone(){if(fa.isInAngularZone())throw new xi(909,!1)}run(u,p,_){return this._inner.run(u,p,_)}runTask(u,p,_,S){const O=this._inner,V=O.scheduleEventTask("NgZoneEvent: "+S,u,D2,m0,m0);try{return O.runTask(V,p,_)}finally{O.cancelTask(V)}}runGuarded(u,p,_){return this._inner.runGuarded(u,p,_)}runOutsideAngular(u){return this._outer.run(u)}}const D2={};function kg(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function Rd(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&!0===c.callbackScheduled)}function i3(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function $8(c){c._nesting--,kg(c)}class v0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ad,this.onMicrotaskEmpty=new Ad,this.onStable=new Ad,this.onError=new Ad}run(u,p,_){return u.apply(p,_)}runGuarded(u,p,_){return u.apply(p,_)}runOutsideAngular(u){return u()}runTask(u,p,_,S){return u.apply(p,_)}}function Mg(c,u){return!(!Array.isArray(c)||1!==c.length)&&!0===c[0]?.data?.[u]}class Eh{constructor(){this._console=console}handleError(u){const p=this._findOriginalError(u);this._console.error("ERROR",u),p&&this._console.error("ORIGINAL ERROR",p)}_findOriginalError(u){let p=u&&jf(u);for(;p&&jf(p);)p=jf(p);return p||null}}const U8=new St("",{providedIn:"root",factory:()=>{const c=hi(fa),u=hi(Eh);return p=>c.runOutsideAngular(()=>u.handleError(p))}});function Ra(c,u){return ya(c,u)}const Mv=(Ra.required=function o3(c){return ya(cs,c)},Ra);function xv(){return pp(ys(),$n())}function pp(c,u){return new Yf(Wl(c,u))}let Yf=(()=>{class c{constructor(p){this.nativeElement=p}static#e=this.__NG_ELEMENT_ID__=xv}return c})();function qf(c){return c instanceof Yf?c.nativeElement:c}function r3(){return this._results[Symbol.iterator]()}class Dg{static#e=Symbol.iterator;get changes(){return this._changes??=new Ad}constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const p=Dg.prototype;p[Symbol.iterator]||(p[Symbol.iterator]=r3)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,p){return this._results.reduce(u,p)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,p){this.dirty=!1;const _=Ol(u);(this._changesDetected=!function rh(c,u,p){if(c.length!==u.length)return!1;for(let _=0;_<c.length;_++){let S=c[_],O=u[_];if(p&&(S=p(S),O=p(O)),O!==S)return!1}return!0}(this._results,_,p))&&(this._results=_,this.length=_.length,this.last=_[this.length-1],this.first=_[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(u){this._onDirty=u}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function ou(c){return!(128&~c.flags)}const xh=new Map;let Iv=0;function Jf(c){xh.delete(c[kc])}const em="__ngContext__";function Tl(c,u){zs(u)?(c[em]=u[kc],function Qf(c){xh.set(c[kc],c)}(u)):c[em]=u}function l3(c){return R2(c[Xo])}function A2(c){return R2(c[Gc])}function R2(c){for(;null!==c&&!Na(c);)c=c[Gc];return c}let d3;function k1(c){d3=c}function E1(){if(void 0!==d3)return d3;if(typeof document<"u")return document;throw new xi(210,!1)}const sm=new St("",{providedIn:"root",factory:()=>B2}),B2="ng",Rg=new St(""),am=new St("",{providedIn:"platform",factory:()=>"unknown"}),u3=new St(""),h3=new St("",{providedIn:"root",factory:()=>E1().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function m3(c){return c}function lm(){const c=new _p;return"browser"===hi(am)&&(c.store=function Pd(c,u){const p=c.getElementById(u+"-state");if(p?.textContent)try{return JSON.parse(p.textContent)}catch(_){console.warn("Exception while restoring TransferState for app "+u,_)}return{}}(E1(),hi(sm))),c}let _p=(()=>{class c{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:lm});get(p,_){return void 0!==this.store[p]?this.store[p]:_}set(p,_){this.store[p]=_}remove(p){delete this.store[p]}hasKey(p){return this.store.hasOwnProperty(p)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(p,_){this.onSerializeCallbacks[p]=_}toJson(){for(const p in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(p))try{this.store[p]=this.onSerializeCallbacks[p]()}catch(_){console.warn("Exception in onSerialize callback: ",_)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return c})(),q8=()=>null;function g3(c,u,p=!1){return q8(c,u,p)}const Au=new St("",{providedIn:"root",factory:()=>!1});let Bg,X2;function q2(c){return function C3(){if(void 0===Bg&&(Bg=null,is.trustedTypes))try{Bg=is.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return Bg}()?.createHTML(c)||c}function Ug(){if(void 0===X2&&(X2=null,is.trustedTypes))try{X2=is.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch{}return X2}function Gg(c){return Ug()?.createHTML(c)||c}function W2(c){return Ug()?.createScriptURL(c)||c}class Ru{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xl})`}}class yp extends Ru{getTypeName(){return"HTML"}}class Pu extends Ru{getTypeName(){return"Style"}}class Z8 extends Ru{getTypeName(){return"Script"}}class k0 extends Ru{getTypeName(){return"URL"}}class E0 extends Ru{getTypeName(){return"ResourceURL"}}function Al(c){return c instanceof Ru?c.changingThisBreaksApplicationSecurity:c}function E(c,u){const p=function h(c){return c instanceof Ru&&c.getTypeName()||null}(c);if(null!=p&&p!==u){if("ResourceURL"===p&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${p} (see ${xl})`)}return p===u}function m(c){return new yp(c)}function w(c){return new Pu(c)}function I(c){return new Z8(c)}function g(c){return new k0(c)}function D(c){return new E0(c)}class q{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u="<body><remove></remove>"+u;try{const p=(new window.DOMParser).parseFromString(q2(u),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(u):(p.firstChild?.remove(),p)}catch{return null}}}class ce{constructor(u){this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(u){const p=this.inertDocument.createElement("template");return p.innerHTML=q2(u),p}}const Ze=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function It(c){return(c=String(c)).match(Ze)?c:"unsafe:"+c}function Kt(c){const u={};for(const p of c.split(","))u[p]=!0;return u}function Tn(...c){const u={};for(const p of c)for(const _ in p)p.hasOwnProperty(_)&&(u[_]=!0);return u}const Yn=Kt("area,br,col,hr,img,wbr"),Un=Kt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ti=Kt("rp,rt"),To=Tn(Yn,Tn(Un,Kt("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")),Tn(Ti,Kt("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")),Tn(Ti,Un)),po=Kt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wt=Tn(po,Kt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),Kt("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")),cn=Kt("script,style,template");class un{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(u){let p=u.firstChild,_=!0,S=[];for(;p;)if(p.nodeType===Node.ELEMENT_NODE?_=this.startElement(p):p.nodeType===Node.TEXT_NODE?this.chars(p.nodeValue):this.sanitizedSomething=!0,_&&p.firstChild)S.push(p),p=ka(p);else for(;p;){p.nodeType===Node.ELEMENT_NODE&&this.endElement(p);let O=jt(p);if(O){p=O;break}p=S.pop()}return this.buf.join("")}startElement(u){const p=ja(u).toLowerCase();if(!To.hasOwnProperty(p))return this.sanitizedSomething=!0,!cn.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const _=u.attributes;for(let S=0;S<_.length;S++){const O=_.item(S),V=O.name,Y=V.toLowerCase();if(!Wt.hasOwnProperty(Y)){this.sanitizedSomething=!0;continue}let ie=O.value;po[Y]&&(ie=It(ie)),this.buf.push(" ",V,'="',sr(ie),'"')}return this.buf.push(">"),!0}endElement(u){const p=ja(u).toLowerCase();To.hasOwnProperty(p)&&!Yn.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(u){this.buf.push(sr(u))}}function jt(c){const u=c.nextSibling;if(u&&c!==u.previousSibling)throw T(u);return u}function ka(c){const u=c.firstChild;if(u&&function bn(c,u){return(c.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(c,u))throw T(u);return u}function ja(c){const u=c.nodeName;return"string"==typeof u?u:"FORM"}function T(c){return new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`)}const Vo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wr=/([^\#-~ |!])/g;function sr(c){return c.replace(/&/g,"&amp;").replace(Vo,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Wr,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Pr;function Xs(c,u){let p=null;try{Pr=Pr||function R(c){const u=new ce(c);return function xe(){try{return!!(new window.DOMParser).parseFromString(q2(""),"text/html")}catch{return!1}}()?new q(u):u}(c);let _=u?String(u):"";p=Pr.getInertBodyElement(_);let S=5,O=_;do{if(0===S)throw new Error("Failed to sanitize html because the input is unstable");S--,_=O,O=p.innerHTML,p=Pr.getInertBodyElement(_)}while(_!==O);return q2((new un).sanitizeChildren(Rl(p)||p))}finally{if(p){const _=Rl(p)||p;for(;_.firstChild;)_.firstChild.remove()}}}function Rl(c){return"content"in c&&function Pa(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var Ql=function(c){return c[c.NONE=0]="NONE",c[c.HTML=1]="HTML",c[c.STYLE=2]="STYLE",c[c.SCRIPT=3]="SCRIPT",c[c.URL=4]="URL",c[c.RESOURCE_URL=5]="RESOURCE_URL",c}(Ql||{});function Ja(c){const u=M0();return u?Gg(u.sanitize(Ql.HTML,c)||""):E(c,"HTML")?Gg(Al(c)):Xs(E1(),uo(c))}function eh(c){const u=M0();return u?u.sanitize(Ql.URL,c)||"":E(c,"URL")?Al(c):It(uo(c))}function T3(c){const u=M0();if(u)return W2(u.sanitize(Ql.RESOURCE_URL,c)||"");if(E(c,"ResourceURL"))return W2(Al(c));throw new xi(904,!1)}function fm(c,u,p){return function jg(c,u){return"src"===u&&("embed"===c||"frame"===c||"iframe"===c||"media"===c||"script"===c)||"href"===u&&("base"===c||"link"===c)?T3:eh}(u,p)(c)}function M0(){const c=$n();return c&&c[Tc].sanitizer}const k3=/^>|^->|<!--|-->|--!>|<!-$/g,Hg=/(<|>)/g,gm="\u200b$1\u200b";function x0(c){return c.ownerDocument.defaultView}function xm(c){return c.ownerDocument}function bd(c){return c instanceof Function?c():c}function hc(c){return"browser"===(c??hi(Kl)).get(am)}var Dm=function(c){return c[c.Important=1]="Important",c[c.DashCase=2]="DashCase",c}(Dm||{});let D1;function Kg(c,u){return D1(c,u)}function Ah(c,u,p,_,S){if(null!=_){let O,V=!1;Na(_)?O=_:zs(_)&&(V=!0,_=_[qs]);const Y=Br(_);0===c&&null!==p?null==S?mo(u,p,Y):ci(u,p,Y,S||null,!0):1===c&&null!==p?ci(u,p,Y,S||null,!0):2===c?function Ph(c,u,p){c.removeChild(null,u,p)}(u,Y,V):3===c&&u.destroyNode(Y),null!=O&&function Zg(c,u,p,_,S){const O=p[Hc];O!==Br(p)&&Ah(u,c,_,O,S);for(let Y=ha;Y<p.length;Y++){const ie=p[Y];ra(ie[_i],ie,c,u,_,O)}}(u,c,O,p,S)}}function bp(c,u){return c.createComment(function vm(c){return c.replace(k3,u=>u.replace(Hg,gm))}(u))}function lu(c,u,p){return c.createElement(u,p)}function zm(c,u){u[Tc].changeDetectionScheduler?.notify(9),ra(c,u,u[Ho],2,null,null)}function tf(c,u){const p=c[Xd],_=u[Zr];(zs(_)||u[Hi]!==_[Zr][Hi])&&(c[No]|=ch.HasTransplantedViews),null===p?c[Xd]=[u]:p.push(u)}function nf(c,u){const p=c[Xd],_=p.indexOf(u);p.splice(_,1)}function Rh(c,u){if(c.length<=ha)return;const p=ha+u,_=c[p];if(_){const S=_[ud];null!==S&&S!==c&&nf(S,_),u>0&&(c[p-1][Gc]=_[Gc]);const O=yl(c,ha+u);!function Qg(c,u){zm(c,u),u[qs]=null,u[Zs]=null}(_[_i],_);const V=O[qd];null!==V&&V.detachView(O[_i]),_[Zr]=null,_[Gc]=null,_[No]&=-129}return _}function wp(c,u){if(!(256&u[No])){const p=u[Ho];p.destroyNode&&ra(c,u,p,3,null,null),function ef(c){let u=c[Xo];if(!u)return z0(c[_i],c);for(;u;){let p=null;if(zs(u))p=u[Xo];else{const _=u[ha];_&&(p=_)}if(!p){for(;u&&!u[Gc]&&u!==c;)zs(u)&&z0(u[_i],u),u=u[Zr];null===u&&(u=c),zs(u)&&z0(u[_i],u),p=u&&u[Gc]}u=p}}(u)}}function z0(c,u){if(256&u[No])return;const p=ae(null);try{u[No]&=-129,u[No]|=256,u[ql]&&ft(u[ql]),function Kn(c,u){let p;if(null!=c&&null!=(p=c.destroyHooks))for(let _=0;_<p.length;_+=2){const S=u[p[_]];if(!(S instanceof eu)){const O=p[_+1];if(Array.isArray(O))for(let V=0;V<O.length;V+=2){const Y=S[O[V]],ie=O[V+1];Xl(4,Y,ie);try{ie.call(Y)}finally{Xl(5,Y,ie)}}else{Xl(4,S,O);try{O.call(S)}finally{Xl(5,S,O)}}}}}(c,u),function Tp(c,u){const p=c.cleanup,_=u[Yl];if(null!==p)for(let O=0;O<p.length-1;O+=2)if("string"==typeof p[O]){const V=p[O+3];V>=0?_[V]():_[-V].unsubscribe(),O+=2}else p[O].call(_[p[O+1]]);null!==_&&(u[Yl]=null);const S=u[hd];if(null!==S){u[hd]=null;for(let O=0;O<S.length;O++)(0,S[O])()}}(c,u),1===u[_i].type&&u[Ho].destroy();const _=u[ud];if(null!==_&&Na(u[Zr])){_!==u[Zr]&&nf(_,u);const S=u[qd];null!==S&&S.detachView(c)}Jf(u)}finally{ae(p)}}function dr(c,u,p){return function Mn(c,u,p){let _=u;for(;null!==_&&168&_.type;)_=(u=_).parent;if(null===_)return p[qs];{const{componentOffset:S}=_;if(S>-1){const{encapsulation:O}=c.data[_.directiveStart+S];if(O===od.None||O===od.Emulated)return null}return Wl(_,p)}}(c,u.parent,p)}function ci(c,u,p,_,S){c.insertBefore(u,p,_,S)}function mo(c,u,p){c.appendChild(u,p)}function zr(c,u,p,_,S){null!==_?ci(c,u,p,_,S):mo(c,u,p)}function Cs(c,u){return c.parentNode(u)}function ul(c,u,p){return rf(c,u,p)}let O1,rf=function cu(c,u,p){return 40&c.type?Wl(c,p):null};function sf(c,u,p,_){const S=dr(c,_,u),O=u[Ho],Y=ul(_.parent||u[Zs],_,u);if(null!=S)if(Array.isArray(p))for(let ie=0;ie<p.length;ie++)zr(O,S,p[ie],Y,!1);else zr(O,S,p,Y,!1);void 0!==O1&&O1(O,_,u,p,S)}function N0(c,u){if(null!==u){const p=u.type;if(3&p)return Wl(u,c);if(4&p)return th(-1,c[u.index]);if(8&p){const _=u.child;if(null!==_)return N0(c,_);{const S=c[u.index];return Na(S)?th(-1,S):Br(S)}}if(128&p)return N0(c,u.next);if(32&p)return Kg(u,c)()||Br(c[u.index]);{const _=Sp(c,u);return null!==_?Array.isArray(_)?_[0]:N0(zd(c[Hi]),_):N0(c,u.next)}}return null}function Sp(c,u){return null!==u?c[Hi][Zs].projection[u.projection]:null}function th(c,u){const p=ha+c+1;if(p<u.length){const _=u[p],S=_[_i].firstChild;if(null!==S)return N0(_,S)}return u[Hc]}function kp(c,u,p,_,S,O,V){for(;null!=p;){if(128===p.type){p=p.next;continue}const Y=_[p.index],ie=p.type;if(V&&0===u&&(Y&&Tl(Br(Y),_),p.flags|=2),32&~p.flags)if(8&ie)kp(c,u,p.child,_,S,O,!1),Ah(u,c,S,Y,O);else if(32&ie){const ke=Kg(p,_);let Ae;for(;Ae=ke();)Ah(u,c,S,Ae,O);Ah(u,c,S,Y,O)}else 16&ie?af(c,u,_,p,S,O):Ah(u,c,S,Y,O);p=V?p.projectionNext:p.next}}function ra(c,u,p,_,S,O){kp(p,_,c.firstChild,u,S,O,!1)}function af(c,u,p,_,S,O){const V=p[Hi],ie=V[Zs].projection[_.projection];if(Array.isArray(ie))for(let ke=0;ke<ie.length;ke++)Ah(u,c,S,ie[ke],O);else{let ke=ie;const Ae=V[Zr];ou(_)&&(ke.flags|=128),kp(c,u,ke,Ae,S,O,!0)}}function r6(c,u,p){""===p?c.removeAttribute(u,"class"):c.setAttribute(u,"class",p)}function s6(c,u,p){const{mergedAttrs:_,classes:S,styles:O}=p;null!==_&&mu(c,u,_),null!==S&&r6(c,u,S),null!==O&&function I3(c,u,p){c.setAttribute(u,"style",p)}(c,u,O)}const br={};function a6(c=1){lf(fr(),$n(),ll()+c,!1)}function lf(c,u,p,_){if(!_)if(3&~u[No]){const O=c.preOrderHooks;null!==O&&Af(u,O,0,p)}else{const O=c.preOrderCheckHooks;null!==O&&o0(u,O,p)}fd(p)}function Ld(c,u=Ii.Default){const p=$n();return null===p?Fo(c,u):Iu(ys(),p,bo(c),u)}function Am(){throw new Error("invalid")}function D3(c,u,p,_,S,O){const V=ae(null);try{let Y=null;S&Da.SignalBased&&(Y=u[_][L]),null!==Y&&void 0!==Y.transformFn&&(O=Y.transformFn(O)),S&Da.HasDecoratorInputTransform&&(O=c.inputTransforms[_].call(u,O)),null!==c.setInput?c.setInput(u,Y,O,p,_):Yp(u,Y,_,O)}finally{ae(V)}}function z1(c,u,p,_,S,O,V,Y,ie,ke,Ae){const pt=u.blueprint.slice();return pt[qs]=S,pt[No]=204|_,(null!==ke||c&&2048&c[No])&&(pt[No]|=2048),d2(pt),pt[Zr]=pt[Sc]=c,pt[hs]=p,pt[Tc]=V||c&&c[Tc],pt[Ho]=Y||c&&c[Ho],pt[es]=ie||c&&c[es]||null,pt[Zs]=O,pt[kc]=function fp(){return Iv++}(),pt[qr]=Ae,pt[q1]=ke,pt[Hi]=2==u.type?c[Hi]:pt,pt}function N1(c,u,p,_,S){let O=c.data[u];if(null===O)O=function O3(c,u,p,_,S){const O=Zp(),V=rp(),ie=c.data[u]=function d6(c,u,p,_,S,O){let V=u?u.injectorIndex:-1,Y=0;return mh()&&(Y|=128),{type:p,index:_,insertBeforeIndex:null,injectorIndex:V,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:Y,providerIndexes:0,value:S,attrs:O,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:u,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,V?O:O&&O.parent,p,u,_,S);return null===c.firstChild&&(c.firstChild=ie),null!==O&&(V?null==O.child&&null!==ie.parent&&(O.child=ie):null===O.next&&(O.next=ie,ie.prev=O)),ie}(c,u,p,_,S),function m2(){return Zo.lFrame.inI18n}()&&(O.flags|=32);else if(64&O.type){O.type=p,O.value=_,O.attrs=S;const V=function xu(){const c=Zo.lFrame,u=c.currentTNode;return c.isParent?u:u.parent}();O.injectorIndex=null===V?-1:V.injectorIndex}return qc(O,!0),O}function cf(c,u,p,_){if(0===p)return-1;const S=u.length;for(let O=0;O<p;O++)u.push(_),c.blueprint.push(_),c.data.push(null);return S}function Vd(c,u,p,_,S){const O=ll(),V=2&_;try{fd(-1),V&&u.length>qi&&lf(c,u,qi,!1),Xl(V?2:0,S),p(_,S)}finally{fd(O),Xl(V?3:1,S)}}function e4(c,u,p){if(Eu(u)){const _=ae(null);try{const O=u.directiveEnd;for(let V=u.directiveStart;V<O;V++){const Y=c.data[V];Y.contentQueries&&Y.contentQueries(1,p[V],V)}}finally{ae(_)}}}function z3(c,u,p){op()&&(function a4(c,u,p,_){const S=p.directiveStart,O=p.directiveEnd;Wd(p)&&function d4(c,u,p){const _=Wl(u,c),S=Rm(p);let V=16;p.signals?V=4096:p.onPush&&(V=64);const Y=h4(c,z1(c,S,null,V,_,u,null,c[Tc].rendererFactory.createRenderer(_,p),null,null,null));c[u.index]=Y}(u,p,c.data[S+p.componentOffset]),c.firstCreatePass||dp(p,u),Tl(_,u);const V=p.initialInputs;for(let Y=S;Y<O;Y++){const ie=c.data[Y],ke=Dc(u,c,Y,p);Tl(ke,u),null!==V&&R0(0,Y-S,ke,ie,0,V),Nl(ie)&&(ea(p.index,u)[hs]=Dc(u,c,Y,p))}}(c,u,p,Wl(p,u)),!(64&~p.flags)&&f6(c,u,p))}function Cd(c,u,p=Wl){const _=u.localNames;if(null!==_){let S=u.index+1;for(let O=0;O<_.length;O+=2){const V=_[O+1],Y=-1===V?p(u,c):c[V];c[S++]=Y}}}function Rm(c){const u=c.tView;return null===u||u.incompleteFirstPass?c.tView=df(1,null,c.template,c.decls,c.vars,c.directiveDefs,c.pipeDefs,c.viewQuery,c.schemas,c.consts,c.id):u}function df(c,u,p,_,S,O,V,Y,ie,ke,Ae){const pt=qi+_,Ht=pt+S,Qt=function Ep(c,u){const p=[];for(let _=0;_<u;_++)p.push(_<c?null:br);return p}(pt,Ht),fn="function"==typeof ke?ke():ke;return Qt[_i]={type:c,blueprint:Qt,template:p,queries:null,viewQuery:Y,declTNode:u,data:Qt.slice().fill(null,pt),bindingStartIndex:pt,expandoStartIndex:Ht,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 V?V():V,firstChild:null,schemas:ie,consts:fn,incompleteFirstPass:!1,ssrId:Ae}}let t4=()=>null;function N3(c,u,p,_,S){for(let O in u){if(!u.hasOwnProperty(O))continue;const V=u[O];if(void 0===V)continue;_??={};let Y,ie=Da.None;Array.isArray(V)?(Y=V[0],ie=V[1]):Y=V;let ke=O;if(null!==S){if(!S.hasOwnProperty(O))continue;ke=S[O]}0===c?hf(_,p,ke,Y,ie):hf(_,p,ke,Y)}return _}function hf(c,u,p,_,S){let O;c.hasOwnProperty(p)?(O=c[p]).push(u,_):O=c[p]=[u,_],void 0!==S&&O.push(S)}function pl(c,u,p,_,S,O,V,Y){const ie=Wl(u,p);let Ae,ke=u.inputs;!Y&&null!=ke&&(Ae=ke[_])?(_e(c,p,Ae,_,S),Wd(u)&&function h6(c,u){const p=ea(u,c);16&p[No]||(p[No]|=64)}(p,u.index)):3&u.type&&(_=function u6(c){return"class"===c?"className":"for"===c?"htmlFor":"formaction"===c?"formAction":"innerHtml"===c?"innerHTML":"readonly"===c?"readOnly":"tabindex"===c?"tabIndex":c}(_),S=null!=V?V(S,u.value||"",_):S,O.setProperty(ie,_,S))}function A3(c,u,p,_){if(op()){const S=null===_?null:{"":-1},O=function A0(c,u){const p=c.directiveRegistry;let _=null,S=null;if(p)for(let O=0;O<p.length;O++){const V=p[O];if(vu(u,V.selectors,!1))if(_||(_=[]),Nl(V))if(null!==V.findHostDirectiveDefs){const Y=[];S=S||new Map,V.findHostDirectiveDefs(V,Y,S),_.unshift(...Y,V),l4(c,u,Y.length)}else _.unshift(V),l4(c,u,0);else S=S||new Map,V.findHostDirectiveDefs?.(V,_,S),_.push(V)}return null===_?null:[_,S]}(c,p);let V,Y;null===O?V=Y=null:[V,Y]=O,null!==V&&r4(c,u,p,V,S,Y),S&&function g6(c,u,p){if(u){const _=c.localNames=[];for(let S=0;S<u.length;S+=2){const O=p[u[S+1]];if(null==O)throw new xi(-301,!1);_.push(u[S],O)}}}(p,_,S)}p.mergedAttrs=rd(p.mergedAttrs,p.attrs)}function r4(c,u,p,_,S,O){for(let ke=0;ke<_.length;ke++)Ns(dp(p,u),c,_[ke].type);!function c4(c,u,p){c.flags|=1,c.directiveStart=u,c.directiveEnd=u+p,c.providerIndexes=u}(p,c.data.length,_.length);for(let ke=0;ke<_.length;ke++){const Ae=_[ke];Ae.providersResolver&&Ae.providersResolver(Ae)}let V=!1,Y=!1,ie=cf(c,u,_.length,null);for(let ke=0;ke<_.length;ke++){const Ae=_[ke];p.mergedAttrs=rd(p.mergedAttrs,Ae.hostAttrs),v6(c,p,u,ie,Ae),R3(ie,Ae,S),null!==Ae.contentQueries&&(p.flags|=4),(null!==Ae.hostBindings||null!==Ae.hostAttrs||0!==Ae.hostVars)&&(p.flags|=64);const pt=Ae.type.prototype;!V&&(pt.ngOnChanges||pt.ngOnInit||pt.ngDoCheck)&&((c.preOrderHooks??=[]).push(p.index),V=!0),!Y&&(pt.ngOnChanges||pt.ngDoCheck)&&((c.preOrderCheckHooks??=[]).push(p.index),Y=!0),ie++}!function n4(c,u,p){const S=u.directiveEnd,O=c.data,V=u.attrs,Y=[];let ie=null,ke=null;for(let Ae=u.directiveStart;Ae<S;Ae++){const pt=O[Ae],Ht=p?p.get(pt):null,fn=Ht?Ht.outputs:null;ie=N3(0,pt.inputs,Ae,ie,Ht?Ht.inputs:null),ke=N3(1,pt.outputs,Ae,ke,fn);const ti=null===ie||null===V||ah(u)?null:_6(ie,Ae,V);Y.push(ti)}null!==ie&&(ie.hasOwnProperty("class")&&(u.flags|=8),ie.hasOwnProperty("style")&&(u.flags|=16)),u.initialInputs=Y,u.inputs=ie,u.outputs=ke}(c,p,O)}function f6(c,u,p){const _=p.directiveStart,S=p.directiveEnd,O=p.index,V=function N(){return Zo.lFrame.currentDirectiveIndex}();try{fd(O);for(let Y=_;Y<S;Y++){const ie=c.data[Y],ke=u[Y];G(Y),(null!==ie.hostBindings||0!==ie.hostVars||null!==ie.hostAttrs)&&m6(ie,ke)}}finally{fd(-1),G(V)}}function m6(c,u){null!==c.hostBindings&&c.hostBindings(1,u)}function l4(c,u,p){u.componentOffset=p,(c.components??=[]).push(u.index)}function R3(c,u,p){if(p){if(u.exportAs)for(let _=0;_<u.exportAs.length;_++)p[u.exportAs[_]]=c;Nl(u)&&(p[""]=c)}}function v6(c,u,p,_,S){c.data[_]=S;const O=S.factory||(S.factory=Ed(S.type)),V=new eu(O,Nl(S),Ld);c.blueprint[_]=V,p[_]=V,function s4(c,u,p,_,S){const O=S.hostBindings;if(O){let V=c.hostBindingOpCodes;null===V&&(V=c.hostBindingOpCodes=[]);const Y=~u.index;(function p6(c){let u=c.length;for(;u>0;){const p=c[--u];if("number"==typeof p&&p<0)return p}return 0})(V)!=Y&&V.push(Y),V.push(p,_,O)}}(c,u,_,cf(c,p,S.hostVars,br),S)}function Fu(c,u,p,_,S,O){const V=Wl(c,u);!function u4(c,u,p,_,S,O,V){if(null==O)c.removeAttribute(u,S,p);else{const Y=null==V?uo(O):V(O,_||"",S);c.setAttribute(u,S,Y,p)}}(u[Ho],V,O,c.value,p,_,S)}function R0(c,u,p,_,S,O){const V=O[u];if(null!==V)for(let Y=0;Y<V.length;)D3(_,p,V[Y++],V[Y++],V[Y++],V[Y++])}function _6(c,u,p){let _=null,S=0;for(;S<p.length;){const O=p[S];if(0!==O)if(5!==O){if("number"==typeof O)break;if(c.hasOwnProperty(O)){null===_&&(_=[]);const V=c[O];for(let Y=0;Y<V.length;Y+=3)if(V[Y]===u){_.push(O,V[Y+1],V[Y+2],p[S+1]);break}}S+=2}else S+=2;else S+=4}return _}function P3(c,u,p,_){return[c,!0,0,u,null,_,null,p,null,null]}function y6(c,u){const p=c.contentQueries;if(null!==p){const _=ae(null);try{for(let S=0;S<p.length;S+=2){const V=p[S+1];if(-1!==V){const Y=c.data[V];st(p[S]),Y.contentQueries(2,u[V],V)}}}finally{ae(_)}}}function h4(c,u){return c[Xo]?c[jc][Gc]=u:c[Xo]=u,c[jc]=u,u}function pf(c,u,p){st(0);const _=ae(null);try{u(c,p)}finally{ae(_)}}function Lh(c){return c[Yl]??=[]}function F3(c){return c.cleanup??=[]}function pc(c,u,p){return(null===c||Nl(c))&&(p=function ip(c){for(;Array.isArray(c);){if("object"==typeof c[X1])return c;c=c[qs]}return null}(p[u.index])),p[Ho]}function U(c,u){const p=c[es],_=p?p.get(Eh,null):null;_&&_.handleError(u)}function _e(c,u,p,_,S){for(let O=0;O<p.length;){const V=p[O++],Y=p[O++],ie=p[O++];D3(c.data[V],u[V],_,Y,ie,S)}}function Ne(c,u,p){const _=u1(u,c);!function Z2(c,u,p){c.setValue(u,p)}(c[Ho],_,p)}function _t(c,u){const p=ea(u,c),_=p[_i];!function Sn(c,u){for(let p=u.length;p<c.blueprint.length;p++)u.push(c.blueprint[p])}(_,p);const S=p[qs];null!==S&&null===p[qr]&&(p[qr]=g3(S,p[es])),Gn(_,p,p[hs])}function Gn(c,u,p){si(u);try{const _=c.viewQuery;null!==_&&pf(1,_,p);const S=c.template;null!==S&&Vd(c,u,S,1,p),c.firstCreatePass&&(c.firstCreatePass=!1),u[qd]?.finishViewCreation(c),c.staticContentQueries&&y6(c,u),c.staticViewQueries&&pf(2,c.viewQuery,p);const O=c.components;null!==O&&function to(c,u){for(let p=0;p<u.length;p++)_t(c,u[p])}(u,O)}catch(_){throw c.firstCreatePass&&(c.incompleteFirstPass=!0,c.firstCreatePass=!1),_}finally{u[No]&=-5,Wc()}}function As(c,u,p,_){const S=ae(null);try{const O=u.tView,ie=z1(c,O,p,4096&c[No]?4096:16,null,u,null,null,_?.injector??null,_?.embeddedViewInjector??null,_?.dehydratedView??null);ie[ud]=c[u.index];const Ae=c[qd];return null!==Ae&&(ie[qd]=Ae.createEmbeddedView(O)),Gn(O,ie,p),ie}finally{ae(S)}}function fc(c,u){const p=ha+u;if(p<c.length)return c[p]}function Kr(c,u){return!u||null===u.firstChild||ou(c)}function Sl(c,u,p,_=!0){const S=u[_i];if(function Cp(c,u,p,_){const S=ha+_,O=p.length;_>0&&(p[S-1][Gc]=u),_<O-ha?(u[Gc]=p[S],Jh(p,ha+_,u)):(p.push(u),u[Gc]=null),u[Zr]=p;const V=u[ud];null!==V&&p!==V&&tf(V,u);const Y=u[qd];null!==Y&&Y.insertView(c),Wp(u),u[No]|=128}(S,u,c,p),_){const V=th(p,c),Y=u[Ho],ie=Cs(Y,c[Hc]);null!==ie&&function Om(c,u,p,_,S,O){_[qs]=S,_[Zs]=u,ra(c,_,p,1,S,O)}(S,c[Zs],Y,u,ie,V)}const O=u[qr];null!==O&&null!==O.firstChild&&(O.firstChild=null)}function mc(c,u){const p=Rh(c,u);return void 0!==p&&wp(p[_i],p),p}function Vh(c,u,p,_,S=!1){for(;null!==p;){if(128===p.type){p=S?p.projectionNext:p.next;continue}const O=u[p.index];null!==O&&_.push(Br(O)),Na(O)&&Vu(O,_);const V=p.type;if(8&V)Vh(c,u,p.child,_);else if(32&V){const Y=Kg(p,u);let ie;for(;ie=Y();)_.push(ie)}else if(16&V){const Y=Sp(u,p);if(Array.isArray(Y))_.push(...Y);else{const ie=zd(u[Hi]);Vh(ie[_i],ie,Y,_,!0)}}p=S?p.projectionNext:p.next}return _}function Vu(c,u){for(let p=ha;p<c.length;p++){const _=c[p],S=_[_i].firstChild;null!==S&&Vh(_[_i],_,S,u)}c[Hc]!==c[qs]&&u.push(c[Hc])}let p4=[];const Mp={...le,consumerIsAlwaysLive:!0,consumerMarkedDirty:c=>{Kp(c.lView)},consumerOnSignalRead(){this.lView[ql]=this}},T9={...le,consumerIsAlwaysLive:!0,consumerMarkedDirty:c=>{let u=zd(c.lView);for(;u&&!nh(u[_i]);)u=zd(u);u&&Xp(u)},consumerOnSignalRead(){this.lView[ql]=this}};function nh(c){return 2!==c.type}const S9=100;function P0(c,u=!0,p=0){const _=c[Tc],S=_.rendererFactory;S.begin?.();try{!function m4(c,u){const p=Ch();try{e0(!0),xp(c,u);let _=0;for(;pd(c);){if(_===S9)throw new xi(103,!1);_++,xp(c,1)}}finally{e0(p)}}(c,p)}catch(V){throw u&&U(c,V),V}finally{S.end?.(),_.inlineEffectRunner?.flush()}}function Fm(c,u,p,_){const S=u[No];if(!(256&~S))return;u[Tc].inlineEffectRunner?.flush(),si(u);let Y=!0,ie=null,ke=null;nh(c)?(ke=function Bh(c){return c[ql]??function Jc(c){const u=p4.pop()??Object.create(Mp);return u.lView=c,u}(c)}(u),ie=at(ke)):null===function K(){return $}()?(Y=!1,ke=function f4(c){const u=c[ql]??Object.create(T9);return u.lView=c,u}(u),ie=at(ke)):u[ql]&&(ft(u[ql]),u[ql]=null);try{d2(u),function f2(c){return Zo.lFrame.bindingIndex=c}(c.bindingStartIndex),null!==p&&Vd(c,u,p,2,_);const Ae=!(3&~S);if(Ae){const Qt=c.preOrderCheckHooks;null!==Qt&&o0(u,Qt,null)}else{const Qt=c.preOrderHooks;null!==Qt&&Af(u,Qt,0,null),Rf(u,0)}if(function k5(c){for(let u=l3(c);null!==u;u=A2(u)){if(!(u[No]&ch.HasTransplantedViews))continue;const p=u[Xd];for(let _=0;_<p.length;_++)Xp(p[_])}}(u),Lm(u,0),null!==c.contentQueries&&y6(c,u),Ae){const Qt=c.contentCheckHooks;null!==Qt&&o0(u,Qt)}else{const Qt=c.contentHooks;null!==Qt&&Af(u,Qt,1),Rf(u,1)}!function l6(c,u){const p=c.hostBindingOpCodes;if(null!==p)try{for(let _=0;_<p.length;_++){const S=p[_];if(S<0)fd(~S);else{const O=S,V=p[++_],Y=p[++_];Q(V,O),Y(2,u[O])}}}finally{fd(-1)}}(c,u);const pt=c.components;null!==pt&&E9(u,pt,0);const Ht=c.viewQuery;if(null!==Ht&&pf(2,Ht,_),Ae){const Qt=c.viewCheckHooks;null!==Qt&&o0(u,Qt)}else{const Qt=c.viewHooks;null!==Qt&&Af(u,Qt,2),Rf(u,2)}if(!0===c.firstUpdatePass&&(c.firstUpdatePass=!1),u[Cl]){for(const Qt of u[Cl])Qt();u[Cl]=null}u[No]&=-73}catch(Ae){throw Kp(u),Ae}finally{null!==ke&&(Tt(ke,ie),Y&&function ff(c){c.lView[ql]!==c&&(c.lView=null,p4.push(c))}(ke)),Wc()}}function Lm(c,u){for(let p=l3(c);null!==p;p=A2(p))for(let _=ha;_<p.length;_++)L0(p[_],u)}function k9(c,u,p){L0(ea(u,c),p)}function L0(c,u){Mu(c)&&xp(c,u)}function xp(c,u){const _=c[_i],S=c[No],O=c[ql];let V=!!(0===u&&16&S);if(V||=!!(64&S&&0===u),V||=!!(1024&S),V||=!(!O?.dirty||!dt(O)),V||=!1,O&&(O.dirty=!1),c[No]&=-9217,V)Fm(_,c,_.template,c[hs]);else if(8192&S){Lm(c,1);const Y=_.components;null!==Y&&E9(c,Y,1)}}function E9(c,u,p){for(let _=0;_<u.length;_++)k9(c,u[_],p)}function b6(c,u){const p=Ch()?64:1088;for(c[Tc].changeDetectionScheduler?.notify(u);c;){c[No]|=p;const _=zd(c);if(o1(c)&&!_)return c;c=_}return null}class g4{get rootNodes(){const u=this._lView,p=u[_i];return Vh(p,u,p.firstChild,[])}constructor(u,p,_=!0){this._lView=u,this._cdRefInjectingView=p,this.notifyErrorHandler=_,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[hs]}set context(u){this._lView[hs]=u}get destroyed(){return!(256&~this._lView[No])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const u=this._lView[Zr];if(Na(u)){const p=u[8],_=p?p.indexOf(this):-1;_>-1&&(Rh(u,_),yl(p,_))}this._attachedToViewContainer=!1}wp(this._lView[_i],this._lView)}onDestroy(u){h1(this._lView,u)}markForCheck(){b6(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[No]&=-129}reattach(){Wp(this._lView),this._lView[No]|=128}detectChanges(){this._lView[No]|=1024,P0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new xi(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const u=o1(this._lView),p=this._lView[ud];null!==p&&!u&&nf(p,this._lView),zm(this._lView[_i],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new xi(902,!1);this._appRef=u;const p=o1(this._lView),_=this._lView[ud];null!==_&&!p&&tf(_,this._lView),Wp(this._lView)}}let C6=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=mT}return c})();const L3=C6,fT=class extends L3{constructor(u,p,_){super(),this._declarationLView=u,this._declarationTContainer=p,this.elementRef=_}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(u,p){return this.createEmbeddedViewImpl(u,p)}createEmbeddedViewImpl(u,p,_){const S=As(this._declarationLView,this._declarationTContainer,u,{embeddedViewInjector:p,dehydratedView:_});return new g4(S)}};function mT(){return v4(ys(),$n())}function v4(c,u){return 4&c.type?new fT(u,c,pp(c,u)):null}let B5=()=>null;function vf(c,u){return B5(c,u)}class y4{}const Q3=new St("",{providedIn:"root",factory:()=>!1}),Jv=new St(""),U5=new St("");class Um{}class G5{}class Dp{resolveComponentFactory(u){throw function ST(c){const u=Error(`No component factory found for ${Hs(c)}.`);return u.ngComponent=c,u}(u)}}class Bu{static#e=this.NULL=new Dp}class b4{}let J3=(()=>{class c{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function j5(){const c=$n(),p=ea(ys().index,c);return(zs(p)?p:c)[Ho]}()}return c})(),Zv=(()=>{class c{static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:()=>null})}return c})();function x6(c){return void 0!==c.ngModule}function Op(c){return!!Ta(c)}function Z3(c){return!!ss(c)}function I6(c){return!!Os(c)}function Gm(c){return!!zo(c)}function D6(c,u){if(Ma(c)&&!(c=bo(c)))throw new Error(`Expected forwardRef function, imported from "${yr(u)}", to return a standalone entity or NgModule but got "${yr(c)||c}".`);if(null==Ta(c)){const p=zo(c)||Os(c)||ss(c);if(null==p)throw x6(c)?new Error(`A module with providers was imported from "${yr(u)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${yr(c)}" type, imported from "${yr(u)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!p.standalone)throw new Error(`The "${yr(c)}" ${function H5(c){return zo(c)?"component":Os(c)?"directive":ss(c)?"pipe":"type"}(c)}, imported from "${yr(u)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Y5{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const u of this.ngModulesWithSomeUnresolvedDecls){const p=Ta(u);if(p?.declarations)for(const _ of bd(p.declarations))Gm(_)&&this.ownerNgModule.set(_,u)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(u,p){this.resolveNgModulesDecls();const _=zo(u);if(null===_)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${u}`);if(_.standalone){const S=this.getStandaloneComponentScope(u,p);return S.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...S.compilation.directives,...S.compilation.pipes,...S.compilation.ngModules]}}{if(!this.ownerNgModule.has(u))return{dependencies:[]};const S=this.getNgModuleScope(this.ownerNgModule.get(u));return S.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...S.compilation.directives,...S.compilation.pipes]}}}registerNgModule(u,p){if(!Op(u))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${u}`);this.ngModulesWithSomeUnresolvedDecls.add(u)}clearScopeCacheFor(u){this.ngModulesScopeCache.delete(u),this.standaloneComponentsScopeCache.delete(u)}getNgModuleScope(u){if(this.ngModulesScopeCache.has(u))return this.ngModulesScopeCache.get(u);const p=this.computeNgModuleScope(u);return this.ngModulesScopeCache.set(u,p),p}computeNgModuleScope(u){const p=Ta(u,!0),_={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const S of bd(p.imports))if(Op(S)){const O=this.getNgModuleScope(S);B0(O.exported.directives,_.compilation.directives),B0(O.exported.pipes,_.compilation.pipes)}else{if(!jl(S)){_.compilation.isPoisoned=!0;break}if(I6(S)||Gm(S))_.compilation.directives.add(S);else{if(!Z3(S))throw new xi(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");_.compilation.pipes.add(S)}}if(!_.compilation.isPoisoned)for(const S of bd(p.declarations)){if(Op(S)||jl(S)){_.compilation.isPoisoned=!0;break}Z3(S)?_.compilation.pipes.add(S):_.compilation.directives.add(S)}for(const S of bd(p.exports))if(Op(S)){const O=this.getNgModuleScope(S);B0(O.exported.directives,_.exported.directives),B0(O.exported.pipes,_.exported.pipes),B0(O.exported.directives,_.compilation.directives),B0(O.exported.pipes,_.compilation.pipes)}else Z3(S)?_.exported.pipes.add(S):_.exported.directives.add(S);return _}getStandaloneComponentScope(u,p){if(this.standaloneComponentsScopeCache.has(u))return this.standaloneComponentsScopeCache.get(u);const _=this.computeStandaloneComponentScope(u,p);return this.standaloneComponentsScopeCache.set(u,_),_}computeStandaloneComponentScope(u,p){const _={compilation:{directives:new Set([u]),pipes:new Set,ngModules:new Set}};for(const S of Ol(p??[])){const O=bo(S);try{D6(O,u)}catch{return _.compilation.isPoisoned=!0,_}if(Op(O)){_.compilation.ngModules.add(O);const V=this.getNgModuleScope(O);if(V.exported.isPoisoned)return _.compilation.isPoisoned=!0,_;B0(V.exported.directives,_.compilation.directives),B0(V.exported.pipes,_.compilation.pipes)}else if(Z3(O))_.compilation.pipes.add(O);else{if(!I6(O)&&!Gm(O))return _.compilation.isPoisoned=!0,_;_.compilation.directives.add(O)}}return _}isOrphanComponent(u){const p=zo(u);return!(!p||p.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(u)))}}function B0(c,u){for(const p of c)u.add(p)}const jm=new Y5;function t_(c,u,p){let _=p?c.styles:null,S=p?c.classes:null,O=0;if(null!==u)for(let V=0;V<u.length;V++){const Y=u[V];"number"==typeof Y?O=Y:1==O?S=Vl(S,Y):2==O&&(_=Vl(_,Y+": "+u[++V]+";"))}p?c.styles=_:c.stylesWithoutHost=_,p?c.classes=S:c.classesWithoutHost=S}class n_ extends Bu{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const p=zo(u);return new e8(p,this.ngModule)}}function q5(c,u){const p=[];for(const _ in c){if(!c.hasOwnProperty(_))continue;const S=c[_];if(void 0===S)continue;const O=Array.isArray(S),V=O?S[0]:S;p.push(u?{propName:V,templateName:_,isSignal:!!((O?S[1]:Da.None)&Da.SignalBased)}:{propName:V,templateName:_})}return p}class e8 extends G5{get inputs(){const u=this.componentDef,p=u.inputTransforms,_=q5(u.inputs,!0);if(null!==p)for(const S of _)p.hasOwnProperty(S.propName)&&(S.transform=p[S.propName]);return _}get outputs(){return q5(this.componentDef.outputs,!1)}constructor(u,p){super(),this.componentDef=u,this.ngModule=p,this.componentType=u.type,this.selector=function it(c){return c.map(Oe).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!p}create(u,p,_,S){const O=ae(null);try{let V=(S=S||this.ngModule)instanceof wc?S:S?.injector;V&&null!==this.componentDef.getStandaloneInjector&&(V=this.componentDef.getStandaloneInjector(V)||V);const Y=V?new m1(u,V):u,ie=Y.get(b4,null);if(null===ie)throw new xi(407,!1);const pt={rendererFactory:ie,sanitizer:Y.get(Zv,null),inlineEffectRunner:null,changeDetectionScheduler:Y.get(y4,null)},Ht=ie.createRenderer(null,this.componentDef),Qt=this.componentDef.selectors[0][0]||"div",fn=_?function Pm(c,u,p,_){const O=_.get(Au,!1)||p===od.ShadowDom,V=c.selectRootElement(u,O);return function c6(c){t4(c)}(V),V}(Ht,_,this.componentDef.encapsulation,Y):lu(Ht,Qt,function ib(c){const u=c.toLowerCase();return"svg"===u?tp:"math"===u?"math":null}(Qt));let ti=512;this.componentDef.signals?ti|=4096:this.componentDef.onPush||(ti|=16);let Ai=null;null!==fn&&(Ai=g3(fn,Y,!0));const Ki=df(0,null,null,1,0,null,null,null,null,null,null),ii=z1(null,Ki,null,ti,null,null,pt,Ht,Y,null,Ai);si(ii);let Cr,Rs,qa=null;try{const zc=this.componentDef;let Wh,_v=null;zc.findHostDirectiveDefs?(Wh=[],_v=new Map,zc.findHostDirectiveDefs(zc,Wh,_v),Wh.push(zc)):Wh=[zc];const RE=function ob(c,u){const p=c[_i],_=qi;return c[_]=u,N1(p,_,2,"#host",null)}(ii,fn);qa=function i_(c,u,p,_,S,O,V){const Y=S[_i];!function rb(c,u,p,_){for(const S of c)u.mergedAttrs=rd(u.mergedAttrs,S.hostAttrs);null!==u.mergedAttrs&&(t_(u,u.mergedAttrs,!0),null!==p&&s6(_,p,u))}(_,c,u,V);let ie=null;null!==u&&(ie=g3(u,S[es]));const ke=O.rendererFactory.createRenderer(u,p);let Ae=16;p.signals?Ae=4096:p.onPush&&(Ae=64);const pt=z1(S,Rm(p),null,Ae,S[c.index],c,O,ke,null,null,ie);return Y.firstCreatePass&&l4(Y,c,_.length-1),h4(S,pt),S[c.index]=pt}(RE,fn,zc,Wh,ii,pt,Ht),Rs=Jd(Ki,qi),fn&&function t8(c,u,p,_){if(_)mu(c,p,["ng-version","18.2.5"]);else{const{attrs:S,classes:O}=function At(c){const u=[],p=[];let _=1,S=2;for(;_<c.length;){let O=c[_];if("string"==typeof O)2===S?""!==O&&u.push(O,c[++_]):8===S&&p.push(O);else{if(!da(S))break;S=O}_++}return{attrs:u,classes:p}}(u.selectors[0]);S&&mu(c,p,S),O&&O.length>0&&r6(c,p,O.join(" "))}}(Ht,zc,fn,_),void 0!==p&&function xT(c,u,p){const _=c.projection=[];for(let S=0;S<u.length;S++){const O=p[S];_.push(null!=O?Array.from(O):null)}}(Rs,this.ngContentSelectors,p),Cr=function MT(c,u,p,_,S,O){const V=ys(),Y=S[_i],ie=Wl(V,S);r4(Y,S,V,p,null,_);for(let Ae=0;Ae<p.length;Ae++)Tl(Dc(S,Y,V.directiveStart+Ae,V),S);f6(Y,S,V),ie&&Tl(ie,S);const ke=Dc(S,Y,V.directiveStart+V.componentOffset,V);if(c[hs]=S[hs]=ke,null!==O)for(const Ae of O)Ae(ke,u);return e4(Y,V,S),ke}(qa,zc,Wh,_v,ii,[IT]),Gn(Ki,ii,null)}catch(zc){throw null!==qa&&Jf(qa),Jf(ii),zc}finally{Wc()}return new ET(this.componentType,Cr,pp(Rs,ii),ii,Rs)}finally{ae(O)}}}class ET extends Um{constructor(u,p,_,S,O){super(),this.location=_,this._rootLView=S,this._tNode=O,this.previousInputValues=null,this.instance=p,this.hostView=this.changeDetectorRef=new g4(S,void 0,!1),this.componentType=u}setInput(u,p){const _=this._tNode.inputs;let S;if(null!==_&&(S=_[u])){if(this.previousInputValues??=new Map,this.previousInputValues.has(u)&&Object.is(this.previousInputValues.get(u),p))return;const O=this._rootLView;_e(O[_i],O,S,u,p),this.previousInputValues.set(u,p),b6(ea(this._tNode.index,O),1)}}get injector(){return new Aa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}function IT(){const c=ys();ap($n()[_i],c)}let C4=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=o_}return c})();function o_(){return r_(ys(),$n())}const sb=C4,X5=class extends sb{constructor(u,p,_){super(),this._lContainer=u,this._hostTNode=p,this._hostLView=_}get element(){return pp(this._hostTNode,this._hostLView)}get injector(){return new Aa(this._hostTNode,this._hostLView)}get parentInjector(){const u=c0(this._hostTNode,this._hostLView);if(g1(u)){const p=Mc(u,this._hostLView),_=s0(u);return new Aa(p[_i].data[_+8],p)}return new Aa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const p=w4(this._lContainer);return null!==p&&p[u]||null}get length(){return this._lContainer.length-ha}createEmbeddedView(u,p,_){let S,O;"number"==typeof _?S=_:null!=_&&(S=_.index,O=_.injector);const V=vf(this._lContainer,u.ssrId),Y=u.createEmbeddedViewImpl(p||{},O,V);return this.insertImpl(Y,S,Kr(this._hostTNode,V)),Y}createComponent(u,p,_,S,O){const V=u&&!function ac(c){return"function"==typeof c}(u);let Y;if(V)Y=p;else{const fn=p||{};Y=fn.index,_=fn.injector,S=fn.projectableNodes,O=fn.environmentInjector||fn.ngModuleRef}const ie=V?u:new e8(zo(u)),ke=_||this.parentInjector;if(!O&&null==ie.ngModule){const ti=(V?ke:this.parentInjector).get(wc,null);ti&&(O=ti)}const Ae=zo(ie.componentType??{}),pt=vf(this._lContainer,Ae?.id??null),Qt=ie.create(ke,S,pt?.firstChild??null,O);return this.insertImpl(Qt.hostView,Y,Kr(this._hostTNode,pt)),Qt}insert(u,p){return this.insertImpl(u,p,!0)}insertImpl(u,p,_){const S=u._lView;if(function ph(c){return Na(c[Zr])}(S)){const Y=this.indexOf(u);if(-1!==Y)this.detach(Y);else{const ie=S[Zr],ke=new X5(ie,ie[Zs],ie[Zr]);ke.detach(ke.indexOf(u))}}const O=this._adjustIndex(p),V=this._lContainer;return Sl(V,S,O,_),u.attachToViewContainerRef(),Jh(n8(V),O,u),u}move(u,p){return this.insert(u,p)}indexOf(u){const p=w4(this._lContainer);return null!==p?p.indexOf(u):-1}remove(u){const p=this._adjustIndex(u,-1),_=Rh(this._lContainer,p);_&&(yl(n8(this._lContainer),p),wp(_[_i],_))}detach(u){const p=this._adjustIndex(u,-1),_=Rh(this._lContainer,p);return _&&null!=yl(n8(this._lContainer),p)?new g4(_):null}_adjustIndex(u,p=0){return u??this.length+p}};function w4(c){return c[8]}function n8(c){return c[8]||(c[8]=[])}function r_(c,u){let p;const _=u[c.index];return Na(_)?p=_:(p=P3(_,u,null,c),u[c.index]=p,h4(u,p)),W5(p,u,c,_),new X5(p,c,u)}let W5=function Q5(c,u,p,_){if(c[Hc])return;let S;S=8&p.type?Br(_):function ab(c,u){const p=c[Ho],_=p.createComment(""),S=Wl(u,c);return ci(p,Cs(p,S),_,function Ha(c,u){return c.nextSibling(u)}(p,S),!1),_}(u,p),c[Hc]=S},s_=()=>!1;class a_{constructor(u){this.queryList=u,this.matches=null}clone(){return new a_(this.queryList)}setDirty(){this.queryList.setDirty()}}class l_{constructor(u=[]){this.queries=u}createEmbeddedView(u){const p=u.queries;if(null!==p){const _=null!==u.contentQueries?u.contentQueries[0]:p.length,S=[];for(let O=0;O<_;O++){const V=p.getByIndex(O);S.push(this.queries[V.indexInDeclarationView].clone())}return new l_(S)}return null}insertView(u){this.dirtyQueriesWithMatches(u)}detachView(u){this.dirtyQueriesWithMatches(u)}finishViewCreation(u){this.dirtyQueriesWithMatches(u)}dirtyQueriesWithMatches(u){for(let p=0;p<this.queries.length;p++)null!==u_(u,p).matches&&this.queries[p].setDirty()}}class J5{constructor(u,p,_=null){this.flags=p,this.read=_,this.predicate="string"==typeof u?function hb(c){return c.split(",").map(u=>u.trim())}(u):u}}class i8{constructor(u=[]){this.queries=u}elementStart(u,p){for(let _=0;_<this.queries.length;_++)this.queries[_].elementStart(u,p)}elementEnd(u){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(u)}embeddedTView(u){let p=null;for(let _=0;_<this.length;_++){const S=null!==p?p.length:0,O=this.getByIndex(_).embeddedTView(u,S);O&&(O.indexInDeclarationView=_,null!==p?p.push(O):p=[O])}return null!==p?new i8(p):null}template(u,p){for(let _=0;_<this.queries.length;_++)this.queries[_].template(u,p)}getByIndex(u){return this.queries[u]}get length(){return this.queries.length}track(u){this.queries.push(u)}}class Z5{constructor(u,p=-1){this.metadata=u,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(u,p){this.isApplyingToNode(p)&&this.matchTNode(u,p)}elementEnd(u){this._declarationNodeIndex===u.index&&(this._appliesToNextNode=!1)}template(u,p){this.elementStart(u,p)}embeddedTView(u,p){return this.isApplyingToNode(u)?(this.crossesNgTemplate=!0,this.addMatch(-u.index,p),new Z5(this.metadata)):null}isApplyingToNode(u){if(this._appliesToNextNode&&1&~this.metadata.flags){const p=this._declarationNodeIndex;let _=u.parent;for(;null!==_&&8&_.type&&_.index!==p;)_=_.parent;return p===(null!==_?_.index:-1)}return this._appliesToNextNode}matchTNode(u,p){const _=this.metadata.predicate;if(Array.isArray(_))for(let S=0;S<_.length;S++){const O=_[S];this.matchTNodeWithReadOption(u,p,e7(p,O)),this.matchTNodeWithReadOption(u,p,gd(p,u,O,!1,!1))}else _===C6?4&p.type&&this.matchTNodeWithReadOption(u,p,-1):this.matchTNodeWithReadOption(u,p,gd(p,u,_,!1,!1))}matchTNodeWithReadOption(u,p,_){if(null!==_){const S=this.metadata.read;if(null!==S)if(S===Yf||S===C4||S===C6&&4&p.type)this.addMatch(p.index,-2);else{const O=gd(p,u,S,!1,!1);null!==O&&this.addMatch(p.index,O)}else this.addMatch(p.index,_)}}addMatch(u,p){null===this.matches?this.matches=[u,p]:this.matches.push(u,p)}}function e7(c,u){const p=c.localNames;if(null!==p)for(let _=0;_<p.length;_+=2)if(p[_]===u)return p[_+1];return null}function o8(c,u,p,_){return-1===p?function zp(c,u){return 11&c.type?pp(c,u):4&c.type?v4(c,u):null}(u,c):-2===p?function OT(c,u,p){return p===Yf?pp(u,c):p===C6?v4(u,c):p===C4?r_(u,c):void 0}(c,u,_):Dc(c,c[_i],p,u)}function db(c,u,p,_){const S=u[qd].queries[_];if(null===S.matches){const O=c.data,V=p.matches,Y=[];for(let ie=0;null!==V&&ie<V.length;ie+=2){const ke=V[ie];Y.push(ke<0?null:o8(u,O[ke],V[ie+1],p.metadata.read))}S.matches=Y}return S.matches}function c_(c,u,p,_){const S=c.queries.getByIndex(p),O=S.matches;if(null!==O){const V=db(c,u,S,p);for(let Y=0;Y<O.length;Y+=2){const ie=O[Y];if(ie>0)_.push(V[Y/2]);else{const ke=O[Y+1],Ae=u[-ie];for(let pt=ha;pt<Ae.length;pt++){const Ht=Ae[pt];Ht[ud]===Ht[Zr]&&c_(Ht[_i],Ht,ke,_)}if(null!==Ae[Xd]){const pt=Ae[Xd];for(let Ht=0;Ht<pt.length;Ht++){const Qt=pt[Ht];c_(Qt[_i],Qt,ke,_)}}}}}return _}function t7(c,u,p){const _=new Dg(!(4&~p));return function Bv(c,u,p,_){const S=Lh(u);S.push(p),c.firstCreatePass&&F3(c).push(_,S.length-1)}(c,u,_,_.destroy),(u[qd]??=new l_).queries.push(new a_(_))-1}function n7(c,u,p){null===c.queries&&(c.queries=new i8),c.queries.track(new Z5(u,p))}function u_(c,u){return c.queries.getByIndex(u)}function i7(c,u){const p=c[_i],_=u_(p,u);return _.crossesNgTemplate?c_(p,c,u,[]):db(p,c,_,u)}const o7=new Set;function du(c){o7.has(c)||(o7.add(c),performance?.mark?.("mark_feature_usage",{detail:{feature:c}}))}function h_(c){return"function"==typeof c&&void 0!==c[L]}function fb(c,u){du("NgSignals");const p=function Xe(c){const u=Object.create(Vn);u.value=c;const p=()=>(de(u),u.value);return p[L]=u,p}(c),_=p[L];return u?.equal&&(_.equal=u.equal),p.set=S=>Vt(_,S),p.update=S=>function _n(c,u){Ge()||Mt(),Vt(c,u(c.value))}(_,S),p.asReadonly=r7.bind(p),p}function r7(){const c=this[L];if(void 0===c.readonlyFn){const u=()=>this();u[L]=c,c.readonlyFn=u}return c.readonlyFn}function s7(c){return h_(c)&&"function"==typeof c.set}function v_(c){let u=function f7(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),p=!0;const _=[c];for(;u;){let S;if(Nl(c))S=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new xi(903,!1);S=u.\u0275dir}if(S){if(p){_.push(S);const V=c;V.inputs=z6(c.inputs),V.inputTransforms=z6(c.inputTransforms),V.declaredInputs=z6(c.declaredInputs),V.outputs=z6(c.outputs);const Y=S.hostBindings;Y&&Db(c,Y);const ie=S.viewQuery,ke=S.contentQueries;if(ie&&xb(c,ie),ke&&Ib(c,ke),Eb(c,S),Ll(c.outputs,S.outputs),Nl(S)&&S.data.animation){const Ae=c.data;Ae.animation=(Ae.animation||[]).concat(S.data.animation)}}const O=S.features;if(O)for(let V=0;V<O.length;V++){const Y=O[V];Y&&Y.ngInherit&&Y(c),Y===v_&&(p=!1)}}u=Object.getPrototypeOf(u)}!function Mb(c){let u=0,p=null;for(let _=c.length-1;_>=0;_--){const S=c[_];S.hostVars=u+=S.hostVars,S.hostAttrs=rd(S.hostAttrs,p=rd(p,S.hostAttrs))}}(_)}function Eb(c,u){for(const p in u.inputs){if(!u.inputs.hasOwnProperty(p)||c.inputs.hasOwnProperty(p))continue;const _=u.inputs[p];if(void 0!==_&&(c.inputs[p]=_,c.declaredInputs[p]=u.declaredInputs[p],null!==u.inputTransforms)){const S=Array.isArray(_)?_[0]:_;if(!u.inputTransforms.hasOwnProperty(S))continue;c.inputTransforms??={},c.inputTransforms[S]=u.inputTransforms[S]}}}function z6(c){return c===zl?{}:c===Er?[]:c}function xb(c,u){const p=c.viewQuery;c.viewQuery=p?(_,S)=>{u(_,S),p(_,S)}:u}function Ib(c,u){const p=c.contentQueries;c.contentQueries=p?(_,S,O)=>{u(_,S,O),p(_,S,O)}:u}function Db(c,u){const p=c.hostBindings;c.hostBindings=p?(_,S)=>{u(_,S),p(_,S)}:u}function _7(c){const u=c.inputConfig,p={};for(const _ in u)if(u.hasOwnProperty(_)){const S=u[_];Array.isArray(S)&&S[3]&&(p[_]=S[3])}c.inputTransforms=p}class _f{}class y7{}function Rb(c,u){return new __(c,u??null,[])}class __ extends _f{constructor(u,p,_,S=!0){super(),this.ngModuleType=u,this._parent=p,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const O=Ta(u);this._bootstrapComponents=bd(O.bootstrap),this._r3Injector=up(u,p,[{provide:_f,useValue:this},{provide:Bu,useValue:this.componentFactoryResolver},..._],Hs(u),new Set(["environment"])),S&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class y_ extends y7{constructor(u){super(),this.moduleType=u}create(u){return new __(this.moduleType,u,[])}}class b7 extends _f{constructor(u){super(),this.componentFactoryResolver=new n_(this),this.instance=null;const p=new cd([...u.providers,{provide:_f,useValue:this},{provide:Bu,useValue:this.componentFactoryResolver}],u.parent||rc(),u.debugName,new Set(["environment"]));this.injector=p,u.runEnvironmentInitializers&&p.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(u){this.injector.onDestroy(u)}}function b_(c,u,p=null){return new b7({providers:c,parent:u,debugName:p,runEnvironmentInitializers:!0}).injector}function N6(c){return!!C_(c)&&(Array.isArray(c)||!(c instanceof Map)&&Symbol.iterator in c)}function C_(c){return null!==c&&("function"==typeof c||"object"==typeof c)}function $0(c,u,p){return c[u]=p}function A6(c,u){return c[u]}function kl(c,u,p){return!Object.is(c[u],p)&&(c[u]=p,!0)}function Ym(c,u,p,_){const S=kl(c,u,p);return kl(c,u+1,_)||S}function R6(c,u,p,_,S){const O=Ym(c,u,p,_);return kl(c,u+2,S)||O}function Gh(c,u,p,_,S,O){const V=Ym(c,u,p,_);return Ym(c,u+2,S,O)||V}function P6(c,u,p,_,S,O,V,Y,ie,ke){const Ae=p+qi,pt=u.firstCreatePass?function eS(c,u,p,_,S,O,V,Y,ie){const ke=u.consts,Ae=N1(u,c,4,V||null,Y||null);A3(u,p,Ae,Yc(ke,ie)),ap(u,Ae);const pt=Ae.tView=df(2,Ae,_,S,O,u.directiveRegistry,u.pipeRegistry,null,u.schemas,ke,null);return null!==u.queries&&(u.queries.template(u,Ae),pt.queries=u.queries.embeddedTView(Ae)),Ae}(Ae,u,c,_,S,O,V,Y,ie):u.data[Ae];qc(pt,!1);const Ht=Bb(u,c,pt,p);Sh()&&sf(u,c,Ht,pt),Tl(Ht,c);const Qt=P3(Ht,c,Ht,pt);return c[Ae]=Qt,h4(c,Qt),function K5(c,u,p){return s_(c,u,p)}(Qt,pt,c),Ku(pt)&&z3(u,c,pt),null!=ie&&Cd(c,pt,ke),pt}function w_(c,u,p,_,S,O,V,Y){const ie=$n(),ke=fr();return P6(ie,ke,c,u,p,_,S,Yc(ke.consts,O),V,Y),w_}let Bb=function C7(c,u,p,_){return md(!0),u[Ho].createComment("")};var E4=function(c){return c[c.EarlyRead=0]="EarlyRead",c[c.Write=1]="Write",c[c.MixedReadWrite=2]="MixedReadWrite",c[c.Read=3]="Read",c}(E4||{});let M7=(()=>{class c{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:()=>new c})}return c})();class d8{constructor(){this.ngZone=hi(fa),this.scheduler=hi(y4),this.errorHandler=hi(Eh,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[E4.EarlyRead,E4.Write,E4.MixedReadWrite,E4.Read];execute(){this.executing=!0;for(const u of d8.PHASES)for(const p of this.sequences)if(!p.erroredOrDestroyed&&p.hooks[u])try{p.pipelinedValue=this.ngZone.runOutsideAngular(()=>p.hooks[u](p.pipelinedValue))}catch(_){p.erroredOrDestroyed=!0,this.errorHandler?.handleError(_)}this.executing=!1;for(const u of this.sequences)u.afterRun(),u.once&&this.sequences.delete(u);for(const u of this.deferredRegistrations)this.sequences.add(u);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(u){this.executing?this.deferredRegistrations.add(u):(this.sequences.add(u),this.scheduler.notify(6))}unregister(u){this.executing&&this.sequences.has(u)?(u.erroredOrDestroyed=!0,u.pipelinedValue=void 0,u.once=!0):(this.sequences.delete(u),this.deferredRegistrations.delete(u))}static#t=this.\u0275prov=rr({token:d8,providedIn:"root",factory:()=>new d8})}class Gb{constructor(u,p,_,S){this.impl=u,this.hooks=p,this.once=_,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=S.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy()}}function x7(c,u){!u?.injector&&za();const p=u?.injector??hi(Kl);return hc(p)?(du("NgAfterRender"),M4(c,p,u,!1)):I7}function L6(c,u){!u?.injector&&za();const p=u?.injector??hi(Kl);return hc(p)?(du("NgAfterNextRender"),M4(c,p,u,!0)):I7}function M4(c,u,p,_){const S=u.get(M7);S.impl??=u.get(d8);const V=new Gb(S.impl,function jb(c,u){if(c instanceof Function){const p=[void 0,void 0,void 0,void 0];return p[u]=c,p}return[c.earlyRead,c.write,c.mixedReadWrite,c.read]}(c,p?.phase??E4.MixedReadWrite),_,u.get(f0));return S.impl.register(V),V}const I7={destroy(){}};function j7(c,u,p,_){const S=$n();return kl(S,dc(),u)&&(fr(),Fu(ta(),S,c,u,p,_)),j7}function O4(c,u,p,_){return kl(c,dc(),p)?u+uo(p)+_:br}function z4(c,u,p,_,S,O){const Y=Ym(c,Xr(),p,S);return Xc(2),Y?u+uo(p)+_+uo(S)+O:br}function A_(c,u){return c<<17|u<<2}function Km(c){return c>>17&32767}function R_(c){return 2|c}function Qm(c){return(131068&c)>>2}function Q7(c,u){return-131069&c|u<<2}function G6(c){return 1|c}function Z7(c,u,p,_){const S=c[p+1],O=null===u;let V=_?Km(S):Qm(S),Y=!1;for(;0!==V&&(!1===Y||O);){const ke=c[V+1];wC(c[V],u)&&(Y=!0,c[V+1]=_?G6(ke):R_(ke)),V=_?Km(ke):Qm(ke)}Y&&(c[p+1]=_?R_(S):G6(S))}function wC(c,u){return null===c||null==u||(Array.isArray(c)?c[1]:c)===u||!(!Array.isArray(c)||"string"!=typeof u)&&Fc(c,u)>=0}const Oc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function P_(c){return c.substring(Oc.key,Oc.keyEnd)}function lS(c){return c.substring(Oc.value,Oc.valueEnd)}function L_(c,u){const p=Oc.textEnd;return p===u?-1:(u=Oc.keyEnd=function dS(c,u,p){for(;u<p&&c.charCodeAt(u)>32;)u++;return u}(c,Oc.key=u,p),v8(c,u,p))}function TC(c,u){const p=Oc.textEnd;let _=Oc.key=v8(c,u,p);return p===_?-1:(_=Oc.keyEnd=function uS(c,u,p){let _;for(;u<p&&(45===(_=c.charCodeAt(u))||95===_||(-33&_)>=65&&(-33&_)<=90||_>=48&&_<=57);)u++;return u}(c,_,p),_=kC(c,_,p),_=Oc.value=v8(c,_,p),_=Oc.valueEnd=function hS(c,u,p){let _=-1,S=-1,O=-1,V=u,Y=V;for(;V<p;){const ie=c.charCodeAt(V++);if(59===ie)return Y;34===ie||39===ie?Y=V=ey(c,ie,V,p):u===V-4&&85===O&&82===S&&76===_&&40===ie?Y=V=ey(c,41,V,p):ie>32&&(Y=V),O=S,S=_,_=-33&ie}return Y}(c,_,p),kC(c,_,p))}function SC(c){Oc.key=0,Oc.keyEnd=0,Oc.value=0,Oc.valueEnd=0,Oc.textEnd=c.length}function v8(c,u,p){for(;u<p&&c.charCodeAt(u)<=32;)u++;return u}function kC(c,u,p,_){return(u=v8(c,u,p))<p&&u++,u}function ey(c,u,p,_){let S=-1,O=p;for(;O<_;){const V=c.charCodeAt(O++);if(V==u&&92!==S)return O;S=92==V&&92===S?0:V}throw new Error}function ty(c,u,p){const _=$n();return kl(_,dc(),u)&&pl(fr(),ta(),_,c,u,_[Ho],p,!1),ty}function ny(c,u,p,_,S){const V=S?"class":"style";_e(c,p,u.inputs[V],V,_)}function iy(c,u,p){return P1(c,u,p,!1),iy}function oy(c,u){return P1(c,u,null,!0),oy}function Ap(c){F1(IC,pS,c,!1)}function pS(c,u){for(let p=function cS(c){return SC(c),TC(c,v8(c,0,Oc.textEnd))}(u);p>=0;p=TC(u,p))IC(c,P_(u),lS(u))}function EC(c){F1(_S,Rp,c,!0)}function Rp(c,u){for(let p=function F_(c){return SC(c),L_(c,v8(c,0,Oc.textEnd))}(u);p>=0;p=L_(u,p))Ia(c,P_(u),!0)}function P1(c,u,p,_){const S=$n(),O=fr(),V=Xc(2);O.firstUpdatePass&&xC(O,c,V,_),u!==br&&kl(S,V,u)&&ay(O,O.data[ll()],S,S[Ho],c,S[V+1]=function yS(c,u){return null==c||""===c||("string"==typeof u?c+=u:"object"==typeof c&&(c=Hs(Al(c)))),c}(u,p),_,V)}function F1(c,u,p,_){const S=fr(),O=Xc(2);S.firstUpdatePass&&xC(S,null,O,_);const V=$n();if(p!==br&&kl(V,O,p)){const Y=S.data[ll()];if(zC(Y,_)&&!MC(S,O)){let ie=_?Y.classesWithoutHost:Y.stylesWithoutHost;null!==ie&&(p=Vl(ie,p||"")),ny(S,Y,V,p,_)}else!function DC(c,u,p,_,S,O,V,Y){S===br&&(S=Er);let ie=0,ke=0,Ae=0<S.length?S[0]:null,pt=0<O.length?O[0]:null;for(;null!==Ae||null!==pt;){const Ht=ie<S.length?S[ie+1]:void 0,Qt=ke<O.length?O[ke+1]:void 0;let ti,fn=null;Ae===pt?(ie+=2,ke+=2,Ht!==Qt&&(fn=pt,ti=Qt)):null===pt||null!==Ae&&Ae<pt?(ie+=2,fn=Ae):(ke+=2,fn=pt,ti=Qt),null!==fn&&ay(c,u,p,_,fn,ti,V,Y),Ae=ie<S.length?S[ie]:null,pt=ke<O.length?O[ke]:null}}(S,Y,V,V[Ho],V[O+1],V[O+1]=function vS(c,u,p){if(null==p||""===p)return Er;const _=[],S=Al(p);if(Array.isArray(S))for(let O=0;O<S.length;O++)c(_,S[O],!0);else if("object"==typeof S)for(const O in S)S.hasOwnProperty(O)&&c(_,O,S[O]);else"string"==typeof S&&u(_,S);return _}(c,u,p),_,O)}}function MC(c,u){return u>=c.expandoStartIndex}function xC(c,u,p,_){const S=c.data;if(null===S[p+1]){const O=S[ll()],V=MC(c,p);zC(O,_)&&null===u&&!V&&(u=!1),u=function fS(c,u,p,_){const S=ne(c);let O=_?u.residualClasses:u.residualStyles;if(null===S)0===(_?u.classBindings:u.styleBindings)&&(p=j6(p=sy(null,c,u,p,_),u.attrs,_),O=null);else{const V=u.directiveStylingLast;if(-1===V||c[V]!==S)if(p=sy(S,c,u,p,_),null===O){let ie=function mS(c,u,p){const _=p?u.classBindings:u.styleBindings;if(0!==Qm(_))return c[Km(_)]}(c,u,_);void 0!==ie&&Array.isArray(ie)&&(ie=sy(null,c,u,ie[1],_),ie=j6(ie,u.attrs,_),function ry(c,u,p,_){c[Km(p?u.classBindings:u.styleBindings)]=_}(c,u,_,ie))}else O=function gS(c,u,p){let _;const S=u.directiveEnd;for(let O=1+u.directiveStylingLast;O<S;O++)_=j6(_,c[O].hostAttrs,p);return j6(_,u.attrs,p)}(c,u,_)}return void 0!==O&&(_?u.residualClasses=O:u.residualStyles=O),p}(S,O,u,_),function aS(c,u,p,_,S,O){let V=O?u.classBindings:u.styleBindings,Y=Km(V),ie=Qm(V);c[_]=p;let Ae,ke=!1;if(Array.isArray(p)?(Ae=p[1],(null===Ae||Fc(p,Ae)>0)&&(ke=!0)):Ae=p,S)if(0!==ie){const Ht=Km(c[Y+1]);c[_+1]=A_(Ht,Y),0!==Ht&&(c[Ht+1]=Q7(c[Ht+1],_)),c[Y+1]=function sS(c,u){return 131071&c|u<<17}(c[Y+1],_)}else c[_+1]=A_(Y,0),0!==Y&&(c[Y+1]=Q7(c[Y+1],_)),Y=_;else c[_+1]=A_(ie,0),0===Y?Y=_:c[ie+1]=Q7(c[ie+1],_),ie=_;ke&&(c[_+1]=R_(c[_+1])),Z7(c,Ae,_,!0),Z7(c,Ae,_,!1),function CC(c,u,p,_,S){const O=S?c.residualClasses:c.residualStyles;null!=O&&"string"==typeof u&&Fc(O,u)>=0&&(p[_+1]=G6(p[_+1]))}(u,Ae,c,_,O),V=A_(Y,ie),O?u.classBindings=V:u.styleBindings=V}(S,O,u,p,V,_)}}function sy(c,u,p,_,S){let O=null;const V=p.directiveEnd;let Y=p.directiveStylingLast;for(-1===Y?Y=p.directiveStart:Y++;Y<V&&(O=u[Y],_=j6(_,O.hostAttrs,S),O!==c);)Y++;return null!==c&&(p.directiveStylingLast=Y),_}function j6(c,u,p){const _=p?1:2;let S=-1;if(null!==u)for(let O=0;O<u.length;O++){const V=u[O];"number"==typeof V?S=V:S===_&&(Array.isArray(c)||(c=void 0===c?[]:["",c]),Ia(c,V,!!p||u[++O]))}return void 0===c?null:c}function IC(c,u,p){Ia(c,u,Al(p))}function _S(c,u,p){const _=String(u);""!==_&&!_.includes(" ")&&Ia(c,_,p)}function ay(c,u,p,_,S,O,V,Y){if(!(3&u.type))return;const ie=c.data,ke=ie[Y+1],Ae=function yC(c){return!(1&~c)}(ke)?OC(ie,u,p,S,Qm(ke),V):void 0;V_(Ae)||(V_(O)||function _C(c){return!(2&~c)}(ke)&&(O=OC(ie,null,p,S,Y,V)),function Vv(c,u,p,_,S){if(u)S?c.addClass(p,_):c.removeClass(p,_);else{let O=-1===_.indexOf("-")?void 0:Dm.DashCase;null==S?c.removeStyle(p,_,O):("string"==typeof S&&S.endsWith("!important")&&(S=S.slice(0,-10),O|=Dm.Important),c.setStyle(p,_,S,O))}}(_,V,u1(ll(),p),S,O))}function OC(c,u,p,_,S,O){const V=null===u;let Y;for(;S>0;){const ie=c[S],ke=Array.isArray(ie),Ae=ke?ie[1]:ie,pt=null===Ae;let Ht=p[S+1];Ht===br&&(Ht=pt?Er:void 0);let Qt=pt?id(Ht,_):Ae===_?Ht:void 0;if(ke&&!V_(Qt)&&(Qt=id(ie,_)),V_(Qt)&&(Y=Qt,V))return Y;const fn=c[S+1];S=V?Km(fn):Qm(fn)}if(null!==u){let ie=O?u.residualClasses:u.residualStyles;null!=ie&&(Y=id(ie,_))}return Y}function V_(c){return void 0!==c}function zC(c,u){return!!(c.flags&(u?8:16))}function NC(c,u,p){F1(Ia,Rp,O4($n(),c,u,p),!0)}function AC(c,u,p,_,S){F1(Ia,Rp,z4($n(),c,u,p,_,S),!0)}function cy(){return $n()[Hi][hs]}class L4{destroy(u){}updateValue(u,p){}swap(u,p){const _=Math.min(u,p),S=Math.max(u,p),O=this.detach(S);if(S-_>1){const V=this.detach(_);this.attach(_,O),this.attach(S,V)}else this.attach(_,O)}move(u,p){this.attach(p,this.detach(u))}}function G0(c,u,p,_,S){return c===p&&Object.is(u,_)?1:Object.is(S(c,u),S(p,_))?-1:0}function V4(c,u,p,_){return!(void 0===u||!u.has(_)||(c.attach(p,u.get(_)),u.delete(_),0))}function dy(c,u,p,_,S){if(V4(c,u,_,p(_,S)))c.updateValue(_,S);else{const O=c.create(_,S);c.attach(_,O)}}function _8(c,u,p,_){const S=new Set;for(let O=u;O<=p;O++)S.add(_(O,c.at(O)));return S}class Jm{constructor(){this.kvMap=new Map,this._vMap=void 0}has(u){return this.kvMap.has(u)}delete(u){if(!this.has(u))return!1;const p=this.kvMap.get(u);return void 0!==this._vMap&&this._vMap.has(p)?(this.kvMap.set(u,this._vMap.get(p)),this._vMap.delete(p)):this.kvMap.delete(u),!0}get(u){return this.kvMap.get(u)}set(u,p){if(this.kvMap.has(u)){let _=this.kvMap.get(u);void 0===this._vMap&&(this._vMap=new Map);const S=this._vMap;for(;S.has(_);)_=S.get(_);S.set(_,p)}else this.kvMap.set(u,p)}forEach(u){for(let[p,_]of this.kvMap)if(u(_,p),void 0!==this._vMap){const S=this._vMap;for(;S.has(_);)_=S.get(_),u(_,p)}}}function uy(c,u){du("NgControlFlow");const p=$n(),_=dc(),S=p[_]!==br?p[_]:-1,O=-1!==S?B_(p,qi+S):void 0;if(kl(p,_,c)){const Y=ae(null);try{if(void 0!==O&&mc(O,0),-1!==c){const ie=qi+c,ke=B_(p,ie),Ae=f(p[_i],ie),pt=vf(ke,Ae.tView.ssrId);Sl(ke,As(p,Ae,u,{dehydratedView:pt}),0,Kr(Ae,pt))}}finally{ae(Y)}}else if(void 0!==O){const Y=fc(O,0);void 0!==Y&&(Y[hs]=u)}}class H6{constructor(u,p,_){this.lContainer=u,this.$implicit=p,this.$index=_}get $count(){return this.lContainer.length-ha}}function hy(c){return c}function py(c,u){return u}class FC{constructor(u,p,_){this.hasEmptyBlock=u,this.trackByFn=p,this.liveCollection=_}}function fy(c,u,p,_,S,O,V,Y,ie,ke,Ae,pt,Ht){du("NgControlFlow");const Qt=$n(),fn=fr(),ti=void 0!==ie,Ai=$n(),Ki=Y?V.bind(Ai[Hi][hs]):V,ii=new FC(ti,Ki);Ai[qi+c]=ii,P6(Qt,fn,c+1,u,p,_,S,Yc(fn.consts,O)),ti&&P6(Qt,fn,c+2,ie,ke,Ae,pt,Yc(fn.consts,Ht))}class vM extends L4{constructor(u,p,_){super(),this.lContainer=u,this.hostLView=p,this.templateTNode=_,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ha}at(u){return this.getLView(u)[hs].$implicit}attach(u,p){const _=p[qr];this.needsIndexUpdate||=u!==this.length,Sl(this.lContainer,p,u,Kr(this.templateTNode,_))}detach(u){return this.needsIndexUpdate||=u!==this.length-1,function b(c,u){return Rh(c,u)}(this.lContainer,u)}create(u,p){const _=vf(this.lContainer,this.templateTNode.tView.ssrId),S=As(this.hostLView,this.templateTNode,new H6(this.lContainer,p,u),{dehydratedView:_});return this.operationsCounter?.recordCreate(),S}destroy(u){wp(u[_i],u),this.operationsCounter?.recordDestroy()}updateValue(u,p){this.getLView(u)[hs].$implicit=p}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let u=0;u<this.length;u++)this.getLView(u)[hs].$index=u}getLView(u){return function me(c,u){return fc(c,u)}(this.lContainer,u)}}function my(c){const u=ae(null),p=ll();try{const _=$n(),S=_[_i],O=_[p],V=p+1,Y=B_(_,V);if(void 0===O.liveCollection){const ke=f(S,V);O.liveCollection=new vM(Y,_,ke)}else O.liveCollection.reset();const ie=O.liveCollection;if(function PC(c,u,p){let _,S,O=0,V=c.length-1;if(Array.isArray(u)){let ie=u.length-1;for(;O<=V&&O<=ie;){const ke=c.at(O),Ae=u[O],pt=G0(O,ke,O,Ae,p);if(0!==pt){pt<0&&c.updateValue(O,Ae),O++;continue}const Ht=c.at(V),Qt=u[ie],fn=G0(V,Ht,ie,Qt,p);if(0!==fn){fn<0&&c.updateValue(V,Qt),V--,ie--;continue}const ti=p(O,ke),Ai=p(V,Ht),Ki=p(O,Ae);if(Object.is(Ki,Ai)){const ii=p(ie,Qt);Object.is(ii,ti)?(c.swap(O,V),c.updateValue(V,Qt),ie--,V--):c.move(V,O),c.updateValue(O,Ae),O++}else if(_??=new Jm,S??=_8(c,O,V,p),V4(c,_,O,Ki))c.updateValue(O,Ae),O++,V++;else if(S.has(Ki))_.set(ti,c.detach(O)),V--;else{const ii=c.create(O,u[O]);c.attach(O,ii),O++,V++}}for(;O<=ie;)dy(c,_,p,O,u[O]),O++}else if(null!=u){const ie=u[Symbol.iterator]();let ke=ie.next();for(;!ke.done&&O<=V;){const Ae=c.at(O),pt=ke.value,Ht=G0(O,Ae,O,pt,p);if(0!==Ht)Ht<0&&c.updateValue(O,pt),O++,ke=ie.next();else{_??=new Jm,S??=_8(c,O,V,p);const Qt=p(O,pt);if(V4(c,_,O,Qt))c.updateValue(O,pt),O++,V++,ke=ie.next();else if(S.has(Qt)){const fn=p(O,Ae);_.set(fn,c.detach(O)),V--}else c.attach(O,c.create(O,pt)),O++,V++,ke=ie.next()}}for(;!ke.done;)dy(c,_,p,c.length,ke.value),ke=ie.next()}for(;O<=V;)c.destroy(c.detach(V--));_?.forEach(ie=>{c.destroy(ie)})}(ie,c,O.trackByFn),ie.updateIndexes(),O.hasEmptyBlock){const ke=dc(),Ae=0===ie.length;if(kl(_,ke,Ae)){const pt=p+2,Ht=B_(_,pt);if(Ae){const Qt=f(S,pt),fn=vf(Ht,Qt.tView.ssrId);Sl(Ht,As(_,Qt,void 0,{dehydratedView:fn}),0,Kr(Qt,fn))}else mc(Ht,0)}}}finally{ae(u)}}function B_(c,u){return c[u]}function f(c,u){return Jd(c,u)}function x(c,u,p,_){const S=$n(),O=fr(),V=qi+c,Y=S[Ho],ie=O.firstCreatePass?function k(c,u,p,_,S,O){const V=u.consts,ie=N1(u,c,2,_,Yc(V,S));return A3(u,p,ie,Yc(V,O)),null!==ie.attrs&&t_(ie,ie.attrs,!1),null!==ie.mergedAttrs&&t_(ie,ie.mergedAttrs,!0),null!==u.queries&&u.queries.elementStart(u,ie),ie}(V,O,S,u,p,_):O.data[V],ke=zn(O,S,ie,Y,u,c);S[V]=ke;const Ae=Ku(ie);return qc(ie,!0),s6(Y,ke,ie),!function S4(c){return!(32&~c.flags)}(ie)&&Sh()&&sf(O,S,ke,ie),0===function Of(){return Zo.lFrame.elementDepthCount}()&&Tl(ke,S),function zf(){Zo.lFrame.elementDepthCount++}(),Ae&&(z3(O,S,ie),e4(O,ie,S)),null!==_&&Cd(S,ie),x}function ye(){let c=ys();rp()?cc():(c=c.parent,qc(c,!1));const u=c;(function ug(c){return Zo.skipHydrationRootTNode===c})(u)&&function Jp(){Zo.skipHydrationRootTNode=null}(),function p1(){Zo.lFrame.elementDepthCount--}();const p=fr();return p.firstCreatePass&&(ap(p,c),Eu(c)&&p.queries.elementEnd(c)),null!=u.classesWithoutHost&&function A8(c){return!!(8&c.flags)}(u)&&ny(p,u,$n(),u.classesWithoutHost,!0),null!=u.stylesWithoutHost&&function vg(c){return!!(16&c.flags)}(u)&&ny(p,u,$n(),u.stylesWithoutHost,!1),ye}function kt(c,u,p,_){return x(c,u,p,_),ye(),kt}let zn=(c,u,p,_,S,O)=>(md(!0),lu(_,S,function Ga(){return Zo.lFrame.currentNamespace}()));function Sr(c,u,p){const _=$n(),S=fr(),O=c+qi,V=S.firstCreatePass?function fo(c,u,p,_,S){const O=u.consts,V=Yc(O,_),Y=N1(u,c,8,"ng-container",V);return null!==V&&t_(Y,V,!0),A3(u,p,Y,Yc(O,S)),null!==u.queries&&u.queries.elementStart(u,Y),Y}(O,S,_,u,p):S.data[O];qc(V,!0);const Y=Za(S,_,V,c);return _[O]=Y,Sh()&&sf(S,_,Y,V),Tl(Y,_),Ku(V)&&(z3(S,_,V),e4(S,V,_)),null!=p&&Cd(_,V),Sr}function ts(){let c=ys();const u=fr();return rp()?cc():(c=c.parent,qc(c,!1)),u.firstCreatePass&&(ap(u,c),Eu(c)&&u.queries.elementEnd(c)),ts}function Qr(c,u,p){return Sr(c,u,p),ts(),Qr}let Za=(c,u,p,_)=>(md(!0),bp(u[Ho],""));function Td(){return $n()}function j0(c,u,p){const _=$n();return kl(_,dc(),u)&&pl(fr(),ta(),_,c,u,_[Ho],p,!0),j0}function y8(c,u,p){const _=$n();if(kl(_,dc(),u)){const O=fr(),V=ta();pl(O,V,_,c,u,pc(ne(O.data),V,_),p,!0)}return y8}const $u=void 0;var _M=["en",[["a","p"],["AM","PM"],$u],[["AM","PM"],$u,$u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",$u,"{1} 'at' {0}",$u],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function B4(c){const p=Math.floor(Math.abs(c)),_=c.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===_?1:5}];let Y6={};function yM(c,u,p){"string"!=typeof u&&(p=u,u=c[q6.LocaleId]),u=u.toLowerCase().replace(/_/g,"-"),Y6[u]=c,p&&(Y6[u][q6.ExtraData]=p)}function LC(c){const u=function CM(c){return c.toLowerCase().replace(/_/g,"-")}(c);let p=xS(u);if(p)return p;const _=u.split("-")[0];if(p=xS(_),p)return p;if("en"===_)return _M;throw new xi(701,!1)}function MS(c){return LC(c)[q6.PluralCase]}function xS(c){return c in Y6||(Y6[c]=is.ng&&is.ng.common&&is.ng.common.locales&&is.ng.common.locales[c]),Y6[c]}var q6=function(c){return c[c.LocaleId=0]="LocaleId",c[c.DayPeriodsFormat=1]="DayPeriodsFormat",c[c.DayPeriodsStandalone=2]="DayPeriodsStandalone",c[c.DaysFormat=3]="DaysFormat",c[c.DaysStandalone=4]="DaysStandalone",c[c.MonthsFormat=5]="MonthsFormat",c[c.MonthsStandalone=6]="MonthsStandalone",c[c.Eras=7]="Eras",c[c.FirstDayOfWeek=8]="FirstDayOfWeek",c[c.WeekendRange=9]="WeekendRange",c[c.DateFormat=10]="DateFormat",c[c.TimeFormat=11]="TimeFormat",c[c.DateTimeFormat=12]="DateTimeFormat",c[c.NumberSymbols=13]="NumberSymbols",c[c.NumberFormats=14]="NumberFormats",c[c.CurrencyCode=15]="CurrencyCode",c[c.CurrencySymbol=16]="CurrencySymbol",c[c.CurrencyName=17]="CurrencyName",c[c.Currencies=18]="Currencies",c[c.Directionality=19]="Directionality",c[c.PluralCase=20]="PluralCase",c[c.ExtraData=21]="ExtraData",c}(q6||{});const gy="en-US";let yy=gy,WS=(c,u,p)=>{};function UC(c,u,p,_){const S=$n(),O=fr(),V=ys();return jC(O,S,S[Ho],V,c,u,_),UC}function GC(c,u){const p=ys(),_=$n(),S=fr();return jC(S,_,pc(ne(S.data),p,_),p,c,u),GC}function jC(c,u,p,_,S,O,V){const Y=Ku(_),ke=c.firstCreatePass&&F3(c),Ae=u[hs],pt=Lh(u);let Ht=!0;if(3&_.type||V){const ti=Wl(_,u),Ai=V?V(ti):ti,Ki=pt.length,ii=V?Rs=>V(Br(Rs[_.index])):_.index;let Cr=null;if(!V&&Y&&(Cr=function ox(c,u,p,_){const S=c.cleanup;if(null!=S)for(let O=0;O<S.length-1;O+=2){const V=S[O];if(V===p&&S[O+1]===_){const Y=u[Yl],ie=S[O+2];return Y.length>ie?Y[ie]:null}"string"==typeof V&&(O+=2)}return null}(c,u,S,_.index)),null!==Cr)(Cr.__ngLastListenerFn__||Cr).__ngNextListenerFn__=O,Cr.__ngLastListenerFn__=O,Ht=!1;else{O=JS(_,u,Ae,O),WS(ti,S,O);const Rs=p.listen(Ai,S,O);pt.push(O,Rs),ke&&ke.push(S,ii,Ki,Ki+1)}}else O=JS(_,u,Ae,O);const Qt=_.outputs;let fn;if(Ht&&null!==Qt&&(fn=Qt[S])){const ti=fn.length;if(ti)for(let Ai=0;Ai<ti;Ai+=2){const qa=u[fn[Ai]][fn[Ai+1]].subscribe(O),zc=pt.length;pt.push(O,qa),ke&&ke.push(S,_.index,zc,-(zc+1))}}}function QS(c,u,p,_){const S=ae(null);try{return Xl(6,u,p),!1!==p(_)}catch(O){return U(c,O),!1}finally{Xl(7,u,p),ae(S)}}function JS(c,u,p,_){return function S(O){if(O===Function)return _;b6(c.componentOffset>-1?ea(c.index,u):u,5);let Y=QS(u,p,_,O),ie=S.__ngNextListenerFn__;for(;ie;)Y=QS(u,p,ie,O)&&Y,ie=ie.__ngNextListenerFn__;return Y}}function ZS(c=1){return function wh(c){return(Zo.lFrame.contextLView=function Ec(c,u){for(;c>0;)u=u[Sc],c--;return u}(c,Zo.lFrame.contextLView))[hs]}(c)}function rx(c,u){let p=null;const _=function _u(c){const u=c.attrs;if(null!=u){const p=u.indexOf(5);if(!(1&p))return u[p+1]}return null}(c);for(let S=0;S<u.length;S++){const O=u[S];if("*"!==O){if(null===_?vu(c,O,!0):Z(_,O))return S}else p=S}return p}function ek(c){const u=$n()[Hi][Zs];if(!u.projection){const _=u.projection=function Is(c,u){const p=[];for(let _=0;_<c;_++)p.push(u);return p}(c?c.length:1,null),S=_.slice();let O=u.child;for(;null!==O;){if(128!==O.type){const V=c?rx(O,c):0;null!==V&&(S[V]?S[V].projectionNext=O:_[V]=O,S[V]=O)}O=O.next}}}function tk(c,u=0,p,_,S,O){const V=$n(),Y=fr(),ie=_?c+1:null;null!==ie&&P6(V,Y,ie,_,S,O,null,p);const ke=N1(Y,qi+c,16,null,p||null);null===ke.projection&&(ke.projection=u),cc();const pt=!V[qr]||mh();null===V[Hi][Zs].projection[ke.projection]&&null!==ie?function pO(c,u,p){const _=qi+p,S=u.data[_],O=c[_],V=vf(O,S.tView.ssrId);Sl(O,As(c,S,void 0,{dehydratedView:V}),0,Kr(S,V))}(V,Y,ie):pt&&32&~ke.flags&&function Jg(c,u,p){af(u[Ho],0,u,p,dr(c,p,u),ul(p.parent||u[Zs],p,u))}(Y,V,ke)}function nk(c,u,p){return HC(c,"",u,"",p),nk}function HC(c,u,p,_,S){const O=$n(),V=O4(O,u,p,_);return V!==br&&pl(fr(),ta(),O,c,V,O[Ho],S,!1),HC}function lk(c,u,p,_){!function r8(c,u,p,_){const S=fr();if(S.firstCreatePass){const O=ys();n7(S,new J5(u,p,_),O.index),function pb(c,u){const p=c.contentQueries||(c.contentQueries=[]);u!==(p.length?p[p.length-1]:-1)&&p.push(c.queries.length-1,u)}(S,c),!(2&~p)&&(S.staticContentQueries=!0)}return t7(S,$n(),p)}(c,u,p,_)}function XC(c,u,p){!function ub(c,u,p){const _=fr();return _.firstCreatePass&&(n7(_,new J5(c,u,p),-1),!(2&~u)&&(_.staticViewQueries=!0)),t7(_,$n(),u)}(c,u,p)}function WC(c){const u=$n(),p=fr(),_=Fe();st(_+1);const S=u_(p,_);if(c.dirty&&function qp(c){return!(4&~c[No])}(u)===!(2&~S.metadata.flags)){if(null===S.matches)c.reset([]);else{const O=i7(u,_);c.reset(O,qf),c.notifyOnChanges()}return!0}return!1}function H_(){return function d_(c,u){return c[qd].queries[u].queryList}($n(),Fe())}function dk(c){return Od(function _h(){return Zo.lFrame.contextLView}(),qi+c)}function q_(c,u=""){const p=$n(),_=fr(),S=c+qi,O=_.firstCreatePass?N1(_,S,1,u,null):_.data[S],V=Ty(_,p,O,u,c);p[S]=V,Sh()&&sf(_,p,V,O),qc(O,!1)}let Ty=(c,u,p,_,S)=>(md(!0),function J2(c,u){return c.createText(u)}(u[Ho],_));function K6(c){return Sy("",c,""),K6}function Sy(c,u,p){const _=$n(),S=O4(_,c,u,p);return S!==br&&Ne(_,ll(),S),Sy}function nw(c,u,p,_,S){const O=$n(),V=z4(O,c,u,p,_,S);return V!==br&&Ne(O,ll(),V),nw}function Q6(c,u,p,_,S,O,V){const Y=$n(),ie=function g8(c,u,p,_,S,O,V,Y){const ke=R6(c,Xr(),p,S,V);return Xc(3),ke?u+uo(p)+_+uo(S)+O+uo(V)+Y:br}(Y,c,u,p,_,S,O,V);return ie!==br&&Ne(Y,ll(),ie),Q6}function J6(c,u,p,_,S,O,V,Y,ie){const ke=$n(),Ae=function N4(c,u,p,_,S,O,V,Y,ie,ke){const pt=Gh(c,Xr(),p,S,V,ie);return Xc(4),pt?u+uo(p)+_+uo(S)+O+uo(V)+Y+uo(ie)+ke:br}(ke,c,u,p,_,S,O,V,Y,ie);return Ae!==br&&Ne(ke,ll(),Ae),J6}function Pp(c,u,p){s7(u)&&(u=u());const _=$n();return kl(_,dc(),u)&&pl(fr(),ta(),_,c,u,_[Ho],p,!1),Pp}function Wo(c,u){const p=s7(c);return p&&c.set(u),p}function iw(c,u){const p=$n(),_=fr(),S=ys();return jC(_,p,p[Ho],S,c,u),iw}function Ey(c,u,p,_,S){if(c=bo(c),Array.isArray(c))for(let O=0;O<c.length;O++)Ey(c[O],u,p,_,S);else{const O=fr(),V=$n(),Y=ys();let ie=Cc(c)?c:bo(c.provide);const ke=Cu(c),Ae=1048575&Y.providerIndexes,pt=Y.directiveStart,Ht=Y.providerIndexes>>20;if(Cc(c)||!c.multi){const Qt=new eu(ke,S,Ld),fn=bk(ie,u,S?Ae:Ae+Ht,pt);-1===fn?(Ns(dp(Y,V),O,ie),yk(O,c,u.length),u.push(ie),Y.directiveStart++,Y.directiveEnd++,S&&(Y.providerIndexes+=1048576),p.push(Qt),V.push(Qt)):(p[fn]=Qt,V[fn]=Qt)}else{const Qt=bk(ie,u,Ae+Ht,pt),fn=bk(ie,u,Ae,Ae+Ht),Ai=fn>=0&&p[fn];if(S&&!Ai||!S&&!(Qt>=0&&p[Qt])){Ns(dp(Y,V),O,ie);const Ki=function CO(c,u,p,_,S){const O=new eu(c,p,Ld);return O.multi=[],O.index=u,O.componentProviders=0,px(O,S,_&&!p),O}(S?bO:yO,p.length,S,_,ke);!S&&Ai&&(p[fn].providerFactory=Ki),yk(O,c,u.length,0),u.push(ie),Y.directiveStart++,Y.directiveEnd++,S&&(Y.providerIndexes+=1048576),p.push(Ki),V.push(Ki)}else yk(O,c,Qt>-1?Qt:fn,px(p[S?fn:Qt],ke,!S&&_));!S&&_&&Ai&&p[fn].componentProviders++}}}function yk(c,u,p,_){const S=Cc(u),O=function $p(c){return!!c.useClass}(u);if(S||O){const ie=(O?bo(u.useClass):u).prototype.ngOnDestroy;if(ie){const ke=c.destroyHooks||(c.destroyHooks=[]);if(!S&&u.multi){const Ae=ke.indexOf(p);-1===Ae?ke.push(p,[_,ie]):ke[Ae+1].push(_,ie)}else ke.push(p,ie)}}}function px(c,u,p){return p&&c.componentProviders++,c.multi.push(u)-1}function bk(c,u,p,_){for(let S=p;S<_;S++)if(u[S]===c)return S;return-1}function yO(c,u,p,_){return Ck(this.multi,[])}function bO(c,u,p,_){const S=this.multi;let O;if(this.providerFactory){const V=this.providerFactory.componentProviders,Y=Dc(p,p[_i],this.providerFactory.index,_);O=Y.slice(0,V),Ck(S,O);for(let ie=V;ie<Y.length;ie++)O.push(Y[ie])}else O=[],Ck(S,O);return O}function Ck(c,u){for(let p=0;p<c.length;p++)u.push((0,c[p])());return u}function fx(c,u=[]){return p=>{p.providersResolver=(_,S)=>function _O(c,u,p){const _=fr();if(_.firstCreatePass){const S=Nl(c);Ey(p,_.data,_.blueprint,S,!0),Ey(u,_.data,_.blueprint,S,!1)}}(_,S?S(c):c,u)}}let wO=(()=>{class c{constructor(p){this._injector=p,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(p){if(!p.standalone)return null;if(!this.cachedInjectors.has(p)){const _=e1(0,p.type),S=_.length>0?b_([_],this._injector,`Standalone[${p.type.name}]`):null;this.cachedInjectors.set(p,S)}return this.cachedInjectors.get(p)}ngOnDestroy(){try{for(const p of this.cachedInjectors.values())null!==p&&p.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=rr({token:c,providedIn:"environment",factory:()=>new c(Fo(wc))})}return c})();function mx(c){du("NgStandalone"),c.getStandaloneInjector=u=>u.get(wO).getOrCreateStandaloneInjector(c)}function wk(c,u,p){const _=c.\u0275cmp;_.directiveDefs=ld(u,!1),_.pipeDefs=ld(p,!0)}function rw(c,u){return gs(()=>{const p=Ta(c,!0);p.declarations=W_(u.declarations||Er),p.imports=W_(u.imports||Er),p.exports=W_(u.exports||Er),u.bootstrap&&(p.bootstrap=W_(u.bootstrap)),jm.registerNgModule(c,u)})}function W_(c){if("function"==typeof c)return c;const u=Ol(c);return u.some(Ma)?()=>u.map(bo).map(gx):u.map(gx)}function gx(c){return x6(c)?c.ngModule:c}function _x(c,u,p){const _=pa()+c,S=$n();return S[_]===br?$0(S,_,p?u.call(p):u()):A6(S,_)}function yx(c,u,p,_){return Tx($n(),pa(),c,u,p,_)}function bx(c,u,p,_,S){return Yh($n(),pa(),c,u,p,_,S)}function Cx(c,u,p,_,S,O){return function Sx(c,u,p,_,S,O,V,Y){const ie=u+p;return R6(c,ie,S,O,V)?$0(c,ie+3,Y?_.call(Y,S,O,V):_(S,O,V)):xy(c,ie+3)}($n(),pa(),c,u,p,_,S,O)}function Tk(c,u,p,_,S,O,V){return function kx(c,u,p,_,S,O,V,Y,ie){const ke=u+p;return Gh(c,ke,S,O,V,Y)?$0(c,ke+4,ie?_.call(ie,S,O,V,Y):_(S,O,V,Y)):xy(c,ke+4)}($n(),pa(),c,u,p,_,S,O,V)}function Sk(c,u,p,_,S,O,V,Y){const ie=pa()+c,ke=$n(),Ae=Gh(ke,ie,p,_,S,O);return kl(ke,ie+4,V)||Ae?$0(ke,ie+5,Y?u.call(Y,p,_,S,O,V):u(p,_,S,O,V)):A6(ke,ie+5)}function kk(c,u,p,_,S,O,V,Y,ie){const ke=pa()+c,Ae=$n(),pt=Gh(Ae,ke,p,_,S,O);return Ym(Ae,ke+4,V,Y)||pt?$0(Ae,ke+6,ie?u.call(ie,p,_,S,O,V,Y):u(p,_,S,O,V,Y)):A6(Ae,ke+6)}function K_(c,u,p,_,S,O,V,Y,ie,ke){const Ae=pa()+c,pt=$n();let Ht=Gh(pt,Ae,p,_,S,O);return R6(pt,Ae+4,V,Y,ie)||Ht?$0(pt,Ae+7,ke?u.call(ke,p,_,S,O,V,Y,ie):u(p,_,S,O,V,Y,ie)):A6(pt,Ae+7)}function My(c,u,p,_,S,O,V,Y,ie,ke,Ae){const pt=pa()+c,Ht=$n(),Qt=Gh(Ht,pt,p,_,S,O);return Gh(Ht,pt+4,V,Y,ie,ke)||Qt?$0(Ht,pt+8,Ae?u.call(Ae,p,_,S,O,V,Y,ie,ke):u(p,_,S,O,V,Y,ie,ke)):A6(Ht,pt+8)}function wx(c,u,p,_){return function Ex(c,u,p,_,S,O){let V=u+p,Y=!1;for(let ie=0;ie<S.length;ie++)kl(c,V++,S[ie])&&(Y=!0);return Y?$0(c,V,_.apply(O,S)):xy(c,V)}($n(),pa(),c,u,p,_)}function xy(c,u){const p=c[u];return p===br?void 0:p}function Tx(c,u,p,_,S,O){const V=u+p;return kl(c,V,S)?$0(c,V+1,O?_.call(O,S):_(S)):xy(c,V+1)}function Yh(c,u,p,_,S,O,V){const Y=u+p;return Ym(c,Y,S,O)?$0(c,Y+2,V?_.call(V,S,O):_(S,O)):xy(c,Y+2)}function Mx(c,u){const p=fr();let _;const S=c+qi;p.firstCreatePass?(_=function SO(c,u){if(u)for(let p=u.length-1;p>=0;p--){const _=u[p];if(c===_.name)return _}}(u,p.pipeRegistry),p.data[S]=_,_.onDestroy&&(p.destroyHooks??=[]).push(S,_.onDestroy)):_=p.data[S];const O=_.factory||(_.factory=Ed(_.type)),Y=hr(Ld);try{const ie=a0(!1),ke=O();return a0(ie),function ck(c,u,p,_){p>=c.data.length&&(c.data[p]=null,c.blueprint[p]=null),u[p]=_}(p,$n(),S,ke),ke}finally{hr(Y)}}function Ek(c,u,p){const _=c+qi,S=$n(),O=Od(S,_);return qh(S,_)?Tx(S,pa(),u,O.transform,p,O):O.transform(p)}function Mk(c,u,p,_){const S=c+qi,O=$n(),V=Od(O,S);return qh(O,S)?Yh(O,pa(),u,V.transform,p,_,V):V.transform(p,_)}function qh(c,u){return c[_i].data[u].pure}function eg(c,u){return v4(c,u)}class dw{constructor(u){this.full=u;const p=u.split(".");this.major=p[0],this.minor=p[1],this.patch=p.slice(2).join(".")}}const Fk=new dw("18.2.5");let Hx=(()=>{class c{log(p){console.log(p)}warn(p){console.warn(p)}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();const hw=new St(""),pw=new St("");let t5,Wx=(()=>{class c{constructor(p,_,S){this._ngZone=p,this.registry=_,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,t5||(function Uk(c){t5=c}(S),S.addToWindow(_)),this._watchAngularEvents(),p.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:()=>{fa.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 p=this._callbacks.pop();clearTimeout(p.timeoutId),p.doneCb()}});else{let p=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(p)||(clearTimeout(_.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(p=>({source:p.source,creationLocation:p.creationLocation,data:p.data})):[]}addCallback(p,_,S){let O=-1;_&&_>0&&(O=setTimeout(()=>{this._callbacks=this._callbacks.filter(V=>V.timeoutId!==O),p()},_)),this._callbacks.push({doneCb:p,timeoutId:O,updateCb:S})}whenStable(p,_,S){if(S&&!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(p,_,S),this._runCallbacksIfReady()}registerApplication(p){this.registry.registerApplication(p,this)}unregisterApplication(p){this.registry.unregisterApplication(p)}findProviders(p,_,S){return[]}static#e=this.\u0275fac=function(_){return new(_||c)(Fo(fa),Fo($k),Fo(pw))};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac})}return c})(),$k=(()=>{class c{constructor(){this._applications=new Map}registerApplication(p,_){this._applications.set(p,_)}unregisterApplication(p){this._applications.delete(p)}unregisterAllApplications(){this._applications.clear()}getTestability(p){return this._applications.get(p)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(p,_=!0){return t5?.findTestabilityInTree(this,p,_)??null}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})();function fw(c){return!!c&&"function"==typeof c.then}function av(c){return!!c&&"function"==typeof c.subscribe}const mw=new St("");let gw=(()=>{class c{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((p,_)=>{this.resolve=p,this.reject=_}),this.appInits=hi(mw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const p=[];for(const S of this.appInits){const O=S();if(fw(O))p.push(O);else if(av(O)){const V=new Promise((Y,ie)=>{O.subscribe({complete:Y,error:ie})});p.push(V)}}const _=()=>{this.done=!0,this.resolve()};Promise.all(p).then(()=>{_()}).catch(S=>{this.reject(S)}),0===p.length&&_(),this.initialized=!0}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ry=new St("");function _w(c,u){return Array.isArray(u)?u.reduce(_w,c):{...c,...u}}let H0=(()=>{class c{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=hi(U8),this.afterRenderManager=hi(M7),this.zonelessEnabled=hi(Q3),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new vi.B,this.afterTick=new vi.B,this.componentTypes=[],this.components=[],this.isStable=hi(hp).hasPendingTasks.pipe((0,fi.T)(p=>!p)),this._injector=hi(wc)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let p;return new Promise(_=>{p=this.isStable.subscribe({next:S=>{S&&_()}})}).finally(()=>{p.unsubscribe()})}get injector(){return this._injector}bootstrap(p,_){const S=p instanceof G5;if(!this._injector.get(gw).done)throw!S&&jl(p),new xi(405,!1);let V;V=S?p:this._injector.get(Bu).resolveComponentFactory(p),this.componentTypes.push(V.componentType);const Y=function lv(c){return c.isBoundToModule}(V)?void 0:this._injector.get(_f),ke=V.create(Kl.NULL,[],_||V.selector,Y),Ae=ke.location.nativeElement,pt=ke.injector.get(hw,null);return pt?.registerApplication(Ae),ke.onDestroy(()=>{this.detachView(ke.hostView),n5(this.components,ke),pt?.unregisterApplication(Ae)}),this._loadComponent(ke),ke}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new xi(101,!1);const p=ae(null);try{this._runningTick=!0,this.synchronize()}catch(_){this.internalErrorHandler(_)}finally{this._runningTick=!1,ae(p),this.afterTick.next()}}synchronize(){let p=null;this._injector.destroyed||(p=this._injector.get(b4,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let _=0;for(;0!==this.dirtyFlags&&_++<10;)this.synchronizeOnce(p)}synchronizeOnce(p){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const _=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(_);for(let{_lView:S,notifyErrorHandler:O}of this._views)i5(S,O,_,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else p?.begin?.(),p?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:p})=>pd(p))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(p){const _=p;this._views.push(_),_.attachToAppRef(this)}detachView(p){const _=p;n5(this._views,_),_.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p);const _=this._injector.get(Ry,[]);[...this._bootstrapListeners,..._].forEach(S=>S(p))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(p=>p()),this._views.slice().forEach(p=>p.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(p){return this._destroyListeners.push(p),()=>n5(this._destroyListeners,p)}destroy(){if(this._destroyed)throw new xi(406,!1);const p=this._injector;p.destroy&&!p.destroyed&&p.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function n5(c,u){const p=c.indexOf(u);p>-1&&c.splice(p,1)}function i5(c,u,p,_){(p||pd(c))&&P0(c,u,p&&!_?0:1)}class jk{constructor(u,p){this.ngModuleFactory=u,this.componentFactories=p}}let Hk=(()=>{class c{compileModuleSync(p){return new y_(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const _=this.compileModuleSync(p),O=bd(Ta(p).declarations).reduce((V,Y)=>{const ie=zo(Y);return ie&&V.push(new e8(ie)),V},[]);return new jk(_,O)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),eI=(()=>{class c{constructor(){this.zone=hi(fa),this.changeDetectionScheduler=hi(y4),this.applicationRef=hi(H0)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Fy({ngZoneFactory:c,ignoreChangesOutsideZone:u,scheduleInRootZone:p}){return c??=()=>new fa({...bw(),scheduleInRootZone:p}),[{provide:fa,useFactory:c},{provide:wa,multi:!0,useFactory:()=>{const _=hi(eI,{optional:!0});return()=>_.initialize()}},{provide:wa,multi:!0,useFactory:()=>{const _=hi(nI);return()=>{_.initialize()}}},!0===u?{provide:Jv,useValue:!0}:[],{provide:U5,useValue:p??e3}]}function bw(c){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:c?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:c?.runCoalescing??!1}}let nI=(()=>{class c{constructor(){this.subscription=new So.yU,this.initialized=!1,this.zone=hi(fa),this.pendingTasks=hi(hp)}initialize(){if(this.initialized)return;this.initialized=!0;let p=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(p=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fa.assertNotInAngularZone(),queueMicrotask(()=>{null!==p&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(p),p=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fa.assertInAngularZone(),p??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),dv=(()=>{class c{constructor(){this.appRef=hi(H0),this.taskService=hi(hp),this.ngZone=hi(fa),this.zonelessEnabled=hi(Q3),this.disableScheduling=hi(Jv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new So.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Or):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(hi(U5,{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 v0||!this.zoneIsDefined)}notify(p){if(!this.zonelessEnabled&&5===p)return;switch(p){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 _=this.useMicrotaskScheduler?Sg:n3;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>_(()=>this.tick())):this.ngZone.runOutsideAngular(()=>_(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Or+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const p=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(_){throw this.taskService.remove(p),_}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Sg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(p)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const p=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(p)}}static#e=this.\u0275fac=function(_){return new(_||c)};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ly=new St("",{providedIn:"root",factory:()=>hi(Ly,Ii.Optional|Ii.SkipSelf)||function Wk(){return typeof $localize<"u"&&$localize.locale||gy}()}),oI=new St("",{providedIn:"root",factory:()=>"USD"}),Vy=new St("");function uv(c){return!!c.platformInjector}let o5=(()=>{class c{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,_){const S=_?.scheduleInRootZone,V=_?.ignoreChangesOutsideZone,Y=[Fy({ngZoneFactory:()=>function xg(c="zone.js",u){return"noop"===c?new v0:"zone.js"===c?new fa(u):c}(_?.ngZone,{...bw({eventCoalescing:_?.ngZoneEventCoalescing,runCoalescing:_?.ngZoneRunCoalescing}),scheduleInRootZone:S}),ignoreChangesOutsideZone:V}),{provide:y4,useExisting:dv}],ie=function Pb(c,u,p){return new __(c,u,p,!1)}(p.moduleType,this.injector,Y);return function Tw(c){const u=uv(c)?c.r3Injector:c.moduleRef.injector,p=u.get(fa);return p.run(()=>{uv(c)?c.r3Injector.resolveInjectorInitializers():c.moduleRef.resolveInjectorInitializers();const _=u.get(Eh,null);let S;if(p.runOutsideAngular(()=>{S=p.onError.subscribe({next:O=>{_.handleError(O)}})}),uv(c)){const O=()=>u.destroy(),V=c.platformInjector.get(Vy);V.add(O),u.onDestroy(()=>{S.unsubscribe(),V.delete(O)})}else c.moduleRef.onDestroy(()=>{n5(c.allPlatformModules,c.moduleRef),S.unsubscribe()});return function vw(c,u,p){try{const _=p();return fw(_)?_.catch(S=>{throw u.runOutsideAngular(()=>c.handleError(S)),S}):_}catch(_){throw u.runOutsideAngular(()=>c.handleError(_)),_}}(_,p,()=>{const O=u.get(gw);return O.runInitializers(),O.donePromise.then(()=>{if(function IS(c){"string"==typeof c&&(yy=c.toLowerCase().replace(/_/g,"-"))}(u.get(Ly,gy)||gy),uv(c)){const Y=u.get(H0);return void 0!==c.rootComponent&&Y.bootstrap(c.rootComponent),Y}return function aI(c,u){const p=c.injector.get(H0);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(_=>p.bootstrap(_));else{if(!c.instance.ngDoBootstrap)throw new xi(-403,!1);c.instance.ngDoBootstrap(p)}u.push(c)}(c.moduleRef,c.allPlatformModules),c.moduleRef})})})}({moduleRef:ie,allPlatformModules:this._modules})}bootstrapModule(p,_=[]){const S=_w({},_);return function Zx(c,u,p){const _=new y_(p);return Promise.resolve(_)}(0,0,p).then(O=>this.bootstrapModuleFactory(O,S))}onDestroy(p){this._destroyListeners.push(p)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new xi(404,!1);this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_());const p=this._injector.get(Vy,null);p&&(p.forEach(_=>_()),p.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(_){return new(_||c)(Fo(Kl))};static#t=this.\u0275prov=rr({token:c,factory:c.\u0275fac,providedIn:"platform"})}return c})(),Y0=null;const hv=new St("");function Sw(c,u,p=[]){const _=`Platform: ${u}`,S=new St(_);return(O=[])=>{let V=By();if(!V||V.injector.get(hv,!1)){const Y=[...p,...O,{provide:S,useValue:!0}];c?c(Y):function E8(c){if(Y0&&!Y0.get(hv,!1))throw new xi(400,!1);(function Py(){!function mt(c){sn=c}(()=>{throw new xi(600,!1)})})(),Y0=c;const u=c.get(o5);(function tE(c){c.get(Rg,null)?.forEach(p=>p())})(c)}(function Zk(c=[],u){return Kl.create({name:u,providers:[{provide:jd,useValue:"platform"},{provide:Vy,useValue:new Set([()=>Y0=null])},...c]})}(Y,_))}return function eE(){const u=By();if(!u)throw new xi(401,!1);return u}()}}function By(){return Y0?.get(o5)??null}function s5(){return!1}function lI(){}let M8=(()=>{class c{static#e=this.__NG_ELEMENT_ID__=dI}return c})();function dI(c){return function uI(c,u,p){if(Wd(c)&&!p){const _=ea(c.index,u);return new g4(_,_)}return 175&c.type?new g4(u[Hi],u):null}(ys(),$n(),!(16&~c))}class rE{constructor(){}supports(u){return N6(u)}create(u){return new aE(u)}}const sE=(c,u)=>u;class aE{constructor(u){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=u||sE}forEachItem(u){let p;for(p=this._itHead;null!==p;p=p._next)u(p)}forEachOperation(u){let p=this._itHead,_=this._removalsHead,S=0,O=null;for(;p||_;){const V=!_||p&&p.currentIndex<jy(_,S,O)?p:_,Y=jy(V,S,O),ie=V.currentIndex;if(V===_)S--,_=_._nextRemoved;else if(p=p._next,null==V.previousIndex)S++;else{O||(O=[]);const ke=Y-S,Ae=ie-S;if(ke!=Ae){for(let Ht=0;Ht<ke;Ht++){const Qt=Ht<O.length?O[Ht]:O[Ht]=0,fn=Qt+Ht;Ae<=fn&&fn<ke&&(O[Ht]=Qt+1)}O[V.previousIndex]=Ae-ke}}Y!==ie&&u(V,Y,ie)}}forEachPreviousItem(u){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)u(p)}forEachAddedItem(u){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)u(p)}forEachMovedItem(u){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)u(p)}forEachRemovedItem(u){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)u(p)}forEachIdentityChange(u){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)u(p)}diff(u){if(null==u&&(u=[]),!N6(u))throw new xi(900,!1);return this.check(u)?this:null}onDestroy(){}check(u){this._reset();let S,O,V,p=this._itHead,_=!1;if(Array.isArray(u)){this.length=u.length;for(let Y=0;Y<this.length;Y++)O=u[Y],V=this._trackByFn(Y,O),null!==p&&Object.is(p.trackById,V)?(_&&(p=this._verifyReinsertion(p,O,V,Y)),Object.is(p.item,O)||this._addIdentityChange(p,O)):(p=this._mismatch(p,O,V,Y),_=!0),p=p._next}else S=0,function Vb(c,u){if(Array.isArray(c))for(let p=0;p<c.length;p++)u(c[p]);else{const p=c[Symbol.iterator]();let _;for(;!(_=p.next()).done;)u(_.value)}}(u,Y=>{V=this._trackByFn(S,Y),null!==p&&Object.is(p.trackById,V)?(_&&(p=this._verifyReinsertion(p,Y,V,S)),Object.is(p.item,Y)||this._addIdentityChange(p,Y)):(p=this._mismatch(p,Y,V,S),_=!0),p=p._next,S++}),this.length=S;return this._truncate(p),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,p,_,S){let O;return null===u?O=this._itTail:(O=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(u.item,p)||this._addIdentityChange(u,p),this._reinsertAfter(u,O,S)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(_,S))?(Object.is(u.item,p)||this._addIdentityChange(u,p),this._moveAfter(u,O,S)):u=this._addAfter(new pI(p,_),O,S),u}_verifyReinsertion(u,p,_,S){let O=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==O?u=this._reinsertAfter(O,u._prev,S):u.currentIndex!=S&&(u.currentIndex=S,this._addToMoves(u,S)),u}_truncate(u){for(;null!==u;){const p=u._next;this._addToRemovals(this._unlink(u)),u=p}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(u,p,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const S=u._prevRemoved,O=u._nextRemoved;return null===S?this._removalsHead=O:S._nextRemoved=O,null===O?this._removalsTail=S:O._prevRemoved=S,this._insertAfter(u,p,_),this._addToMoves(u,_),u}_moveAfter(u,p,_){return this._unlink(u),this._insertAfter(u,p,_),this._addToMoves(u,_),u}_addAfter(u,p,_){return this._insertAfter(u,p,_),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,p,_){const S=null===p?this._itHead:p._next;return u._next=S,u._prev=p,null===S?this._itTail=u:S._prev=u,null===p?this._itHead=u:p._next=u,null===this._linkedRecords&&(this._linkedRecords=new l5),this._linkedRecords.put(u),u.currentIndex=_,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const p=u._prev,_=u._next;return null===p?this._itHead=_:p._next=_,null===_?this._itTail=p:_._prev=p,u}_addToMoves(u,p){return u.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new l5),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,p){return u.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class pI{constructor(u,p){this.item=u,this.trackById=p,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Cf{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,p){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===p||p<=_.currentIndex)&&Object.is(_.trackById,u))return _;return null}remove(u){const p=u._prevDup,_=u._nextDup;return null===p?this._head=_:p._nextDup=_,null===_?this._tail=p:_._prevDup=p,null===this._head}}class l5{constructor(){this.map=new Map}put(u){const p=u.trackById;let _=this.map.get(p);_||(_=new Cf,this.map.set(p,_)),_.add(u)}get(u,p){const S=this.map.get(u);return S?S.get(u,p):null}remove(u){const p=u.trackById;return this.map.get(p).remove(u)&&this.map.delete(p),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function jy(c,u,p){const _=c.previousIndex;if(null===_)return _;let S=0;return p&&_<p.length&&(S=p[_]),_+u+S}class Ow{constructor(){}supports(u){return u instanceof Map||C_(u)}create(){return new lE}}class lE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(u){let p;for(p=this._mapHead;null!==p;p=p._next)u(p)}forEachPreviousItem(u){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)u(p)}forEachChangedItem(u){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)u(p)}forEachAddedItem(u){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)u(p)}forEachRemovedItem(u){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)u(p)}diff(u){if(u){if(!(u instanceof Map||C_(u)))throw new xi(900,!1)}else u=new Map;return this.check(u)?this:null}onDestroy(){}check(u){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(u,(_,S)=>{if(p&&p.key===S)this._maybeAddToChanges(p,_),this._appendAfter=p,p=p._next;else{const O=this._getOrCreateRecordForKey(S,_);p=this._insertBeforeOrAppend(p,O)}}),p){p._prev&&(p._prev._next=null),this._removalsHead=p;for(let _=p;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,p){if(u){const _=u._prev;return p._next=u,p._prev=_,u._prev=p,_&&(_._next=p),u===this._mapHead&&(this._mapHead=p),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(u,p){if(this._records.has(u)){const S=this._records.get(u);this._maybeAddToChanges(S,p);const O=S._prev,V=S._next;return O&&(O._next=V),V&&(V._prev=O),S._next=null,S._prev=null,S}const _=new cE(u);return this._records.set(u,_),_.currentValue=p,this._addToAdditions(_),_}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,p){Object.is(p,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=p,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,p){u instanceof Map?u.forEach(p):Object.keys(u).forEach(_=>p(u[_],_))}}class cE{constructor(u){this.key=u,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Hy(){return new Yy([new rE])}let Yy=(()=>{class c{static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:Hy});constructor(p){this.factories=p}static create(p,_){if(null!=_){const S=_.factories.slice();p=p.concat(S)}return new c(p)}static extend(p){return{provide:c,useFactory:_=>c.create(p,_||Hy()),deps:[[c,new $l,new rl]]}}find(p){const _=this.factories.find(S=>S.supports(p));if(null!=_)return _;throw new xi(901,!1)}}return c})();function qy(){return new zw([new Ow])}let zw=(()=>{class c{static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:qy});constructor(p){this.factories=p}static create(p,_){if(_){const S=_.factories.slice();p=p.concat(S)}return new c(p)}static extend(p){return{provide:c,useFactory:_=>c.create(p,_||qy()),deps:[[c,new $l,new rl]]}}find(p){const _=this.factories.find(S=>S.supports(p));if(_)return _;throw new xi(901,!1)}}return c})();const mI=Sw(null,"core",[]);let Nw=(()=>{class c{constructor(p){}static#e=this.\u0275fac=function(_){return new(_||c)(Fo(H0))};static#t=this.\u0275mod=Co({type:c});static#n=this.\u0275inj=_l({})}return c})();const CE=new St("");function PI(c){return"boolean"==typeof c?c:null!=c&&"false"!==c}function FI(c,u=NaN){return isNaN(parseFloat(c))||isNaN(Number(c))?u:Number(c)}function zE(c,u){du("NgSignals");const p=function z(c){const u=Object.create(Ue);u.computation=c;const p=()=>{if(Ee(u),de(u),u.value===rt)throw u.error;return u.value};return p[L]=u,p}(c);return u?.equal&&(p[L].equal=u.equal),p}function BI(c){const u=ae(null);try{return c()}finally{ae(u)}}const $I=new St("",{providedIn:"root",factory:()=>hi(UI)});let UI=(()=>{class c{static#e=this.\u0275prov=rr({token:c,providedIn:"root",factory:()=>new NE})}return c})();class NE{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=hi(hp),this.taskId=null}scheduleEffect(u){if(this.enqueue(u),null===this.taskId){const p=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(p),this.taskId=null})}}enqueue(u){const p=u.creationZone;this.queues.has(p)||this.queues.set(p,new Set);const _=this.queues.get(p);_.has(u)||(this.queuedEffectCount++,_.add(u))}flush(){for(;this.queuedEffectCount>0;)for(const[u,p]of this.queues)null===u?this.flushQueue(p):u.run(()=>this.flushQueue(p))}flushQueue(u){for(const p of u)u.delete(p),this.queuedEffectCount--,p.run()}}class GI{constructor(u,p,_,S,O,V){this.scheduler=u,this.effectFn=p,this.creationZone=_,this.injector=O,this.watcher=function qn(c,u,p){const _=Object.create(Ci);p&&(_.consumerAllowSignalWrites=!0),_.fn=c,_.schedule=u;const S=ie=>{_.cleanupFn=ie};return _.ref={notify:()=>ht(_),run:()=>{if(null===_.fn)return;if(function se(){return n}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(_.dirty=!1,_.hasRun&&!dt(_))return;_.hasRun=!0;const ie=at(_);try{_.cleanupFn(),_.cleanupFn=Ni,_.fn(S)}finally{Tt(_,ie)}},cleanup:()=>_.cleanupFn(),destroy:()=>function V(ie){(function O(ie){return null===ie.fn&&null===ie.schedule})(ie)||(ft(ie),ie.cleanupFn(),ie.fn=null,ie.schedule=null,ie.cleanupFn=Ni)}(_),[L]:_},_.ref}(Y=>this.runEffect(Y),()=>this.schedule(),V),this.unregisterOnDestroy=S?.onDestroy(()=>this.destroy())}runEffect(u){try{this.effectFn(u)}catch(p){this.injector.get(Eh,null,{optional:!0})?.handleError(p)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function AE(c,u){du("NgSignals"),!u?.injector&&za();const p=u?.injector??hi(Kl),_=!0!==u?.manualCleanup?p.get(f0):null,S=new GI(p.get($I),c,typeof Zone>"u"?null:Zone.current,_,p,u?.allowSignalWrites??!1),O=p.get(M8,null,{optional:!0});return O&&8&O._lView[No]?(O._lView[Cl]??=[]).push(S.watcher.notify):S.watcher.notify(),S}function jI(c,u){const p=zo(c),_=u.elementInjector||rc();return new e8(p).create(_,u.projectableNodes,u.hostElement,u.environmentInjector)}function Yw(c){const u=zo(c);if(!u)return null;const p=new e8(u);return{get selector(){return p.selector},get type(){return p.componentType},get inputs(){return p.inputs},get outputs(){return p.outputs},get ngContentSelectors(){return p.ngContentSelectors},get isStandalone(){return u.standalone},get isSignal(){return u.signals}}}},37440:(De,A,C)=>{"use strict";C.d(A,{MW:()=>Ee,Wp:()=>at,XU:()=>a,gL:()=>L});var y=C(2214),$=C(93953),n=C(55407);class a{constructor(Te){return Te}}class L{constructor(){return(0,y.Dk)()}}const se=new $.nKC("angularfire2._apps"),fe={provide:a,useFactory:function K(B){return B&&1===B.length?B[0]:new a((0,y.Sx)())},deps:[[new $.Xx1,se]]},le={provide:L,deps:[[new $.Xx1,se]]};function de(B){return(Te,be)=>{const Pe=be.get($.Agw);(0,y.KO)("angularfire",n.xv.full,"core"),(0,y.KO)("angularfire",n.xv.full,"app"),(0,y.KO)("angular",$.xvI.full,Pe.toString());const et=Te.runOutsideAngular(()=>B(be));return new a(et)}}function Ee(B,...Te){return(0,$.EmA)([fe,le,{provide:se,useFactory:de(B),multi:!0,deps:[$.SKi,$.zZn,n.u0,...Te]}])}const at=(0,n.S3)(y.Wp,!0)},72036:(De,A,C)=>{"use strict";C.d(A,{Nj:()=>d1,DF:()=>Ua,wh:()=>u1,xI:()=>Ec,_q:()=>ip,zK:()=>ys,p:()=>xu,CI:()=>p2,kQ:()=>Wl});var y=C(55407),$=C(93953),n=C(37440),a=C(2214),L=C(10467),ae=C(17852),K=C(21076),se=C(8041),fe=C(31635),le=C(51362);const dt=function at(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},ft=new K.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),B=new se.Vy("@firebase/auth");function be(Q,...N){B.logLevel<=se.$b.ERROR&&B.error(`Auth (${ae.MF}): ${Q}`,...N)}function Pe(Q,...N){throw rt(Q,...N)}function et(Q,...N){return rt(Q,...N)}function z(Q,N,G){const ne=Object.assign(Object.assign({},dt()),{[N]:G});return new K.FA("auth","Firebase",ne).create(N,{appName:Q.name})}function X(Q){return z(Q,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function rt(Q,...N){if("string"!=typeof Q){const G=N[0],ne=[...N.slice(1)];return ne[0]&&(ne[0].appName=Q.name),Q._errorFactory.create(G,...ne)}return ft.create(Q,...N)}function Ue(Q,N,...G){if(!Q)throw rt(N,...G)}function zt(Q){const N="INTERNAL ASSERTION FAILED: "+Q;throw be(N),new Error(N)}function sn(Q,N){Q||zt(N)}function Mt(){var Q;return typeof self<"u"&&(null===(Q=self.location)||void 0===Q?void 0:Q.href)||""}function Ke(){var Q;return typeof self<"u"&&(null===(Q=self.location)||void 0===Q?void 0:Q.protocol)||null}class Rt{constructor(N,G){this.shortDelay=N,this.longDelay=G,sn(G>N,"Short delay should be less than long delay!"),this.isMobile=(0,K.jZ)()||(0,K.lV)()}get(){return function Xe(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(function mt(){return"http:"===Ke()||"https:"===Ke()}()||(0,K.sr)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function Vt(Q,N){sn(Q.emulator,"Emulator should always be set here");const{url:G}=Q.emulator;return N?`${G}${N.startsWith("/")?N.slice(1):N}`:G}class _n{static initialize(N,G,ne){this.fetchImpl=N,G&&(this.headersImpl=G),ne&&(this.responseImpl=ne)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:typeof globalThis<"u"&&globalThis.fetch?globalThis.fetch:typeof fetch<"u"?fetch:void zt("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:typeof globalThis<"u"&&globalThis.Headers?globalThis.Headers:typeof Headers<"u"?Headers:void zt("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:typeof globalThis<"u"&&globalThis.Response?globalThis.Response:typeof Response<"u"?Response:void zt("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const oi={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},Vn=new Rt(3e4,6e4);function Wn(Q,N){return Q.tenantId&&!N.tenantId?Object.assign(Object.assign({},N),{tenantId:Q.tenantId}):N}function qn(Q,N,G,ne){return Ni.apply(this,arguments)}function Ni(){return(Ni=(0,L.A)(function*(Q,N,G,ne,Fe={}){return Ci(Q,Fe,(0,L.A)(function*(){let st={},on={};ne&&("GET"===N?on=ne:st={body:JSON.stringify(ne)});const Nn=(0,K.Am)(Object.assign({key:Q.config.apiKey},on)).slice(1),si=yield Q._getAdditionalHeaders();si["Content-Type"]="application/json",Q.languageCode&&(si["X-Firebase-Locale"]=Q.languageCode);const eo=Object.assign({method:N,headers:si},st);return(0,K.c1)()||(eo.referrerPolicy="no-referrer"),_n.fetch()(So(Q,Q.config.apiHost,G,Nn),eo)}))})).apply(this,arguments)}function Ci(Q,N,G){return oo.apply(this,arguments)}function oo(){return(oo=(0,L.A)(function*(Q,N,G){Q._canInitEmulator=!1;const ne=Object.assign(Object.assign({},oi),N);try{const Fe=new ei(Q),st=yield Promise.race([G(),Fe.promise]);Fe.clearNetworkTimeout();const on=yield st.json();if("needConfirmation"in on)throw Yi(Q,"account-exists-with-different-credential",on);if(st.ok&&!("errorMessage"in on))return on;{const Nn=st.ok?on.errorMessage:on.error.message,[si,eo]=Nn.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===si)throw Yi(Q,"credential-already-in-use",on);if("EMAIL_EXISTS"===si)throw Yi(Q,"email-already-in-use",on);if("USER_DISABLED"===si)throw Yi(Q,"user-disabled",on);const Eo=ne[si]||si.toLowerCase().replace(/[_\s]+/g,"-");if(eo)throw z(Q,Eo,eo);Pe(Q,Eo)}}catch(Fe){if(Fe instanceof K.g)throw Fe;Pe(Q,"network-request-failed",{message:String(Fe)})}})).apply(this,arguments)}function Rn(Q,N,G,ne){return vi.apply(this,arguments)}function vi(){return(vi=(0,L.A)(function*(Q,N,G,ne,Fe={}){const st=yield qn(Q,N,G,ne,Fe);return"mfaPendingCredential"in st&&Pe(Q,"multi-factor-auth-required",{_serverResponse:st}),st})).apply(this,arguments)}function So(Q,N,G,ne){const Fe=`${N}${G}?${ne}`;return Q.config.emulator?Vt(Q.config,Fe):`${Q.config.apiScheme}://${Fe}`}class ei{constructor(N){this.auth=N,this.timer=null,this.promise=new Promise((G,ne)=>{this.timer=setTimeout(()=>ne(et(this.auth,"network-request-failed")),Vn.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function Yi(Q,N,G){const ne={appName:Q.name};G.email&&(ne.email=G.email),G.phoneNumber&&(ne.phoneNumber=G.phoneNumber);const Fe=et(Q,N,ne);return Fe.customData._tokenResponse=G,Fe}function rn(){return(rn=(0,L.A)(function*(Q,N){return qn(Q,"POST","/v1/accounts:delete",N)})).apply(this,arguments)}function Bi(Q,N){return wi.apply(this,arguments)}function wi(){return(wi=(0,L.A)(function*(Q,N){return qn(Q,"POST","/v1/accounts:lookup",N)})).apply(this,arguments)}function mi(Q){if(Q)try{const N=new Date(Number(Q));if(!isNaN(N.getTime()))return N.toUTCString()}catch{}}function Vi(){return(Vi=(0,L.A)(function*(Q,N=!1){const G=(0,K.Ku)(Q),ne=yield G.getIdToken(N),Fe=Mo(ne);Ue(Fe&&Fe.exp&&Fe.auth_time&&Fe.iat,G.auth,"internal-error");const st="object"==typeof Fe.firebase?Fe.firebase:void 0,on=st?.sign_in_provider;return{claims:Fe,token:ne,authTime:mi(Di(Fe.auth_time)),issuedAtTime:mi(Di(Fe.iat)),expirationTime:mi(Di(Fe.exp)),signInProvider:on||null,signInSecondFactor:st?.sign_in_second_factor||null}})).apply(this,arguments)}function Di(Q){return 1e3*Number(Q)}function Mo(Q){const[N,G,ne]=Q.split(".");if(void 0===N||void 0===G||void 0===ne)return be("JWT malformed, contained fewer than 3 sections"),null;try{const Fe=(0,K.u)(G);return Fe?JSON.parse(Fe):(be("Failed to decode base64 JWT payload"),null)}catch(Fe){return be("Caught error parsing JWT payload as JSON",Fe?.toString()),null}}function Yt(Q){const N=Mo(Q);return Ue(N,"internal-error"),Ue(typeof N.exp<"u","internal-error"),Ue(typeof N.iat<"u","internal-error"),Number(N.exp)-Number(N.iat)}function Hn(Q,N){return Ri.apply(this,arguments)}function Ri(){return(Ri=(0,L.A)(function*(Q,N,G=!1){if(G)return N;try{return yield N}catch(ne){throw ne instanceof K.g&&function qt({code:Q}){return"auth/user-disabled"===Q||"auth/user-token-expired"===Q}(ne)&&Q.auth.currentUser===Q&&(yield Q.auth.signOut()),ne}})).apply(this,arguments)}class Cn{constructor(N){this.user=N,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(N){var G;if(N){const ne=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),ne}{this.errorBackoff=3e4;const Fe=(null!==(G=this.user.stsTokenManager.expirationTime)&&void 0!==G?G:0)-Date.now()-3e5;return Math.max(0,Fe)}}schedule(N=!1){var G=this;if(!this.isRunning)return;const ne=this.getInterval(N);this.timerId=setTimeout((0,L.A)(function*(){yield G.iteration()}),ne)}iteration(){var N=this;return(0,L.A)(function*(){try{yield N.user.getIdToken(!0)}catch(G){return void("auth/network-request-failed"===G?.code&&N.schedule(!0))}N.schedule()})()}}class Bn{constructor(N,G){this.createdAt=N,this.lastLoginAt=G,this._initializeTime()}_initializeTime(){this.lastSignInTime=mi(this.lastLoginAt),this.creationTime=mi(this.createdAt)}_copy(N){this.createdAt=N.createdAt,this.lastLoginAt=N.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function xt(Q){return en.apply(this,arguments)}function en(){return(en=(0,L.A)(function*(Q){var N;const G=Q.auth,ne=yield Q.getIdToken(),Fe=yield Hn(Q,Bi(G,{idToken:ne}));Ue(Fe?.users.length,G,"internal-error");const st=Fe.users[0];Q._notifyReloadListener(st);const on=null!==(N=st.providerUserInfo)&&void 0!==N&&N.length?tt(st.providerUserInfo):[],Nn=function tn(Q,N){return[...Q.filter(ne=>!N.some(Fe=>Fe.providerId===ne.providerId)),...N]}(Q.providerData,on),Eo=!!Q.isAnonymous&&!(Q.email&&st.passwordHash||Nn?.length),Dr={uid:st.localId,displayName:st.displayName||null,photoURL:st.photoUrl||null,email:st.email||null,emailVerified:st.emailVerified||!1,phoneNumber:st.phoneNumber||null,tenantId:st.tenantId||null,providerData:Nn,metadata:new Bn(st.createdAt,st.lastLoginAt),isAnonymous:Eo};Object.assign(Q,Dr)})).apply(this,arguments)}function Ct(){return(Ct=(0,L.A)(function*(Q){const N=(0,K.Ku)(Q);yield xt(N),yield N.auth._persistUserIfCurrent(N),N.auth._notifyListenersIfCurrent(N)})).apply(this,arguments)}function tt(Q){return Q.map(N=>{var{providerId:G}=N,ne=(0,fe.Tt)(N,["providerId"]);return{providerId:G,uid:ne.rawId||"",displayName:ne.displayName||null,email:ne.email||null,phoneNumber:ne.phoneNumber||null,photoURL:ne.photoUrl||null}})}function Et(){return(Et=(0,L.A)(function*(Q,N){const G=yield Ci(Q,{},(0,L.A)(function*(){const ne=(0,K.Am)({grant_type:"refresh_token",refresh_token:N}).slice(1),{tokenApiHost:Fe,apiKey:st}=Q.config,on=So(Q,Fe,"/v1/token",`key=${st}`),Nn=yield Q._getAdditionalHeaders();return Nn["Content-Type"]="application/x-www-form-urlencoded",_n.fetch()(on,{method:"POST",headers:Nn,body:ne})}));return{accessToken:G.access_token,expiresIn:G.expires_in,refreshToken:G.refresh_token}})).apply(this,arguments)}function Ut(){return(Ut=(0,L.A)(function*(Q,N){return qn(Q,"POST","/v2/accounts:revokeToken",Wn(Q,N))})).apply(this,arguments)}class Qn{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(N){Ue(N.idToken,"internal-error"),Ue(typeof N.idToken<"u","internal-error"),Ue(typeof N.refreshToken<"u","internal-error");const G="expiresIn"in N&&typeof N.expiresIn<"u"?Number(N.expiresIn):Yt(N.idToken);this.updateTokensAndExpiration(N.idToken,N.refreshToken,G)}updateFromIdToken(N){Ue(0!==N.length,"internal-error");const G=Yt(N);this.updateTokensAndExpiration(N,null,G)}getToken(N,G=!1){var ne=this;return(0,L.A)(function*(){return G||!ne.accessToken||ne.isExpired?(Ue(ne.refreshToken,N,"user-token-expired"),ne.refreshToken?(yield ne.refresh(N,ne.refreshToken),ne.accessToken):null):ne.accessToken})()}clearRefreshToken(){this.refreshToken=null}refresh(N,G){var ne=this;return(0,L.A)(function*(){const{accessToken:Fe,refreshToken:st,expiresIn:on}=yield function ut(Q,N){return Et.apply(this,arguments)}(N,G);ne.updateTokensAndExpiration(Fe,st,Number(on))})()}updateTokensAndExpiration(N,G,ne){this.refreshToken=G||null,this.accessToken=N||null,this.expirationTime=Date.now()+1e3*ne}static fromJSON(N,G){const{refreshToken:ne,accessToken:Fe,expirationTime:st}=G,on=new Qn;return ne&&(Ue("string"==typeof ne,"internal-error",{appName:N}),on.refreshToken=ne),Fe&&(Ue("string"==typeof Fe,"internal-error",{appName:N}),on.accessToken=Fe),st&&(Ue("number"==typeof st,"internal-error",{appName:N}),on.expirationTime=st),on}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(N){this.accessToken=N.accessToken,this.refreshToken=N.refreshToken,this.expirationTime=N.expirationTime}_clone(){return Object.assign(new Qn,this.toJSON())}_performRefresh(){return zt("not implemented")}}function Nt(Q,N){Ue("string"==typeof Q||typeof Q>"u","internal-error",{appName:N})}class Be{constructor(N){var{uid:G,auth:ne,stsTokenManager:Fe}=N,st=(0,fe.Tt)(N,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new Cn(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=G,this.auth=ne,this.stsTokenManager=Fe,this.accessToken=Fe.accessToken,this.displayName=st.displayName||null,this.email=st.email||null,this.emailVerified=st.emailVerified||!1,this.phoneNumber=st.phoneNumber||null,this.photoURL=st.photoURL||null,this.isAnonymous=st.isAnonymous||!1,this.tenantId=st.tenantId||null,this.providerData=st.providerData?[...st.providerData]:[],this.metadata=new Bn(st.createdAt||void 0,st.lastLoginAt||void 0)}getIdToken(N){var G=this;return(0,L.A)(function*(){const ne=yield Hn(G,G.stsTokenManager.getToken(G.auth,N));return Ue(ne,G.auth,"internal-error"),G.accessToken!==ne&&(G.accessToken=ne,yield G.auth._persistUserIfCurrent(G),G.auth._notifyListenersIfCurrent(G)),ne})()}getIdTokenResult(N){return function _o(Q){return Vi.apply(this,arguments)}(this,N)}reload(){return function ot(Q){return Ct.apply(this,arguments)}(this)}_assign(N){this!==N&&(Ue(this.uid===N.uid,this.auth,"internal-error"),this.displayName=N.displayName,this.photoURL=N.photoURL,this.email=N.email,this.emailVerified=N.emailVerified,this.phoneNumber=N.phoneNumber,this.isAnonymous=N.isAnonymous,this.tenantId=N.tenantId,this.providerData=N.providerData.map(G=>Object.assign({},G)),this.metadata._copy(N.metadata),this.stsTokenManager._assign(N.stsTokenManager))}_clone(N){const G=new Be(Object.assign(Object.assign({},this),{auth:N,stsTokenManager:this.stsTokenManager._clone()}));return G.metadata._copy(this.metadata),G}_onReload(N){Ue(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=N,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(N){this.reloadListener?this.reloadListener(N):this.reloadUserInfo=N}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(N,G=!1){var ne=this;return(0,L.A)(function*(){let Fe=!1;N.idToken&&N.idToken!==ne.stsTokenManager.accessToken&&(ne.stsTokenManager.updateFromServerResponse(N),Fe=!0),G&&(yield xt(ne)),yield ne.auth._persistUserIfCurrent(ne),Fe&&ne.auth._notifyListenersIfCurrent(ne)})()}delete(){var N=this;return(0,L.A)(function*(){if((0,ae.xZ)(N.auth.app))return Promise.reject(X(N.auth));const G=yield N.getIdToken();return yield Hn(N,function Dt(Q,N){return rn.apply(this,arguments)}(N.auth,{idToken:G})),N.stsTokenManager.clearRefreshToken(),N.auth.signOut()})()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(N=>Object.assign({},N)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(N,G){var ne,Fe,st,on,Nn,si,eo,Eo;const Dr=null!==(ne=G.displayName)&&void 0!==ne?ne:void 0,al=null!==(Fe=G.email)&&void 0!==Fe?Fe:void 0,Wc=null!==(st=G.phoneNumber)&&void 0!==st?st:void 0,wh=null!==(on=G.photoURL)&&void 0!==on?on:void 0,ll=null!==(Nn=G.tenantId)&&void 0!==Nn?Nn:void 0,fd=null!==(si=G._redirectEventId)&&void 0!==si?si:void 0,ta=null!==(eo=G.createdAt)&&void 0!==eo?eo:void 0,sp=null!==(Eo=G.lastLoginAt)&&void 0!==Eo?Eo:void 0,{uid:g2,emailVerified:Th,isAnonymous:n0,providerData:Ga,stsTokenManager:f1}=G;Ue(g2&&f1,N,"internal-error");const Sh=Qn.fromJSON(this.name,f1);Ue("string"==typeof g2,N,"internal-error"),Nt(Dr,N.name),Nt(al,N.name),Ue("boolean"==typeof Th,N,"internal-error"),Ue("boolean"==typeof n0,N,"internal-error"),Nt(Wc,N.name),Nt(wh,N.name),Nt(ll,N.name),Nt(fd,N.name),Nt(ta,N.name),Nt(sp,N.name);const md=new Be({uid:g2,auth:N,email:al,emailVerified:Th,displayName:Dr,isAnonymous:n0,photoURL:wh,phoneNumber:Wc,tenantId:ll,stsTokenManager:Sh,createdAt:ta,lastLoginAt:sp});return Ga&&Array.isArray(Ga)&&(md.providerData=Ga.map(v2=>Object.assign({},v2))),fd&&(md._redirectEventId=fd),md}static _fromIdTokenResponse(N,G,ne=!1){return(0,L.A)(function*(){const Fe=new Qn;Fe.updateFromServerResponse(G);const st=new Be({uid:G.localId,auth:N,stsTokenManager:Fe,isAnonymous:ne});return yield xt(st),st})()}static _fromGetAccountInfoResponse(N,G,ne){return(0,L.A)(function*(){const Fe=G.users[0];Ue(void 0!==Fe.localId,"internal-error");const st=void 0!==Fe.providerUserInfo?tt(Fe.providerUserInfo):[],on=!(Fe.email&&Fe.passwordHash||st?.length),Nn=new Qn;Nn.updateFromIdToken(ne);const si=new Be({uid:Fe.localId,auth:N,stsTokenManager:Nn,isAnonymous:on}),eo={uid:Fe.localId,displayName:Fe.displayName||null,photoURL:Fe.photoUrl||null,email:Fe.email||null,emailVerified:Fe.emailVerified||!1,phoneNumber:Fe.phoneNumber||null,tenantId:Fe.tenantId||null,providerData:st,metadata:new Bn(Fe.createdAt,Fe.lastLoginAt),isAnonymous:!(Fe.email&&Fe.passwordHash||st?.length)};return Object.assign(si,eo),si})()}}const we=new Map;function H(Q){sn(Q instanceof Function,"Expected a class definition");let N=we.get(Q);return N?(sn(N instanceof Q,"Instance stored in cache mismatched with class"),N):(N=new Q,we.set(Q,N),N)}const ge=(()=>{class Q{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,L.A)(function*(){return!0})()}_set(G,ne){var Fe=this;return(0,L.A)(function*(){Fe.storage[G]=ne})()}_get(G){var ne=this;return(0,L.A)(function*(){const Fe=ne.storage[G];return void 0===Fe?null:Fe})()}_remove(G){var ne=this;return(0,L.A)(function*(){delete ne.storage[G]})()}_addListener(G,ne){}_removeListener(G,ne){}}return Q.type="NONE",Q})();function We(Q,N,G){return`firebase:${Q}:${N}:${G}`}class Ft{constructor(N,G,ne){this.persistence=N,this.auth=G,this.userKey=ne;const{config:Fe,name:st}=this.auth;this.fullUserKey=We(this.userKey,Fe.apiKey,st),this.fullPersistenceKey=We("persistence",Fe.apiKey,st),this.boundEventHandler=G._onStorageEvent.bind(G),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(N){return this.persistence._set(this.fullUserKey,N.toJSON())}getCurrentUser(){var N=this;return(0,L.A)(function*(){const G=yield N.persistence._get(N.fullUserKey);return G?Be._fromJSON(N.auth,G):null})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(N){var G=this;return(0,L.A)(function*(){if(G.persistence===N)return;const ne=yield G.getCurrentUser();return yield G.removeCurrentUser(),G.persistence=N,ne?G.setCurrentUser(ne):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(N,G,ne="authUser"){return(0,L.A)(function*(){if(!G.length)return new Ft(H(ge),N,ne);const Fe=(yield Promise.all(G.map(function(){var eo=(0,L.A)(function*(Eo){if(yield Eo._isAvailable())return Eo});return function(Eo){return eo.apply(this,arguments)}}()))).filter(eo=>eo);let st=Fe[0]||H(ge);const on=We(ne,N.config.apiKey,N.name);let Nn=null;for(const eo of G)try{const Eo=yield eo._get(on);if(Eo){const Dr=Be._fromJSON(N,Eo);eo!==st&&(Nn=Dr),st=eo;break}}catch{}const si=Fe.filter(eo=>eo._shouldAllowMigration);return st._shouldAllowMigration&&si.length?(st=si[0],Nn&&(yield st._set(on,Nn.toJSON())),yield Promise.all(G.map(function(){var eo=(0,L.A)(function*(Eo){if(Eo!==st)try{yield Eo._remove(on)}catch{}});return function(Eo){return eo.apply(this,arguments)}}())),new Ft(st,N,ne)):new Ft(st,N,ne)})()}}function an(Q){const N=Q.toLowerCase();if(N.includes("opera/")||N.includes("opr/")||N.includes("opios/"))return"Opera";if(Qi(N))return"IEMobile";if(N.includes("msie")||N.includes("trident/"))return"IE";if(N.includes("edge/"))return"Edge";if(yn(N))return"Firefox";if(N.includes("silk/"))return"Silk";if(hn(N))return"Blackberry";if(Zt(N))return"Webos";if(di(N))return"Safari";if((N.includes("chrome/")||ui(N))&&!N.includes("edge/"))return"Chrome";if(yo(N))return"Android";{const ne=Q.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===ne?.length)return ne[1]}return"Other"}function yn(Q=(0,K.ZQ)()){return/firefox\//i.test(Q)}function di(Q=(0,K.ZQ)()){const N=Q.toLowerCase();return N.includes("safari/")&&!N.includes("chrome/")&&!N.includes("crios/")&&!N.includes("android")}function ui(Q=(0,K.ZQ)()){return/crios\//i.test(Q)}function Qi(Q=(0,K.ZQ)()){return/iemobile/i.test(Q)}function yo(Q=(0,K.ZQ)()){return/android/i.test(Q)}function hn(Q=(0,K.ZQ)()){return/blackberry/i.test(Q)}function Zt(Q=(0,K.ZQ)()){return/webos/i.test(Q)}function Dn(Q=(0,K.ZQ)()){return/iphone|ipad|ipod/i.test(Q)||/macintosh/i.test(Q)&&/mobile/i.test(Q)}function go(Q=(0,K.ZQ)()){return Dn(Q)||yo(Q)||Zt(Q)||hn(Q)||/windows phone/i.test(Q)||Qi(Q)}function Ao(Q,N=[]){let G;switch(Q){case"Browser":G=an((0,K.ZQ)());break;case"Worker":G=`${an((0,K.ZQ)())}-${Q}`;break;default:G=Q}const ne=N.length?N.join(","):"FirebaseCore-web";return`${G}/JsCore/${ae.MF}/${ne}`}class Yo{constructor(N){this.auth=N,this.queue=[]}pushCallback(N,G){const ne=st=>new Promise((on,Nn)=>{try{on(N(st))}catch(si){Nn(si)}});ne.onAbort=G,this.queue.push(ne);const Fe=this.queue.length-1;return()=>{this.queue[Fe]=()=>Promise.resolve()}}runMiddleware(N){var G=this;return(0,L.A)(function*(){if(G.auth.currentUser===N)return;const ne=[];try{for(const Fe of G.queue)yield Fe(N),Fe.onAbort&&ne.push(Fe.onAbort)}catch(Fe){ne.reverse();for(const st of ne)try{st()}catch{}throw G.auth._errorFactory.create("login-blocked",{originalMessage:Fe?.message})}})()}}function ct(){return(ct=(0,L.A)(function*(Q,N={}){return qn(Q,"GET","/v2/passwordPolicy",Wn(Q,N))})).apply(this,arguments)}class Ot{constructor(N){var G,ne,Fe,st;const on=N.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(G=on.minPasswordLength)&&void 0!==G?G:6,on.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=on.maxPasswordLength),void 0!==on.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=on.containsLowercaseCharacter),void 0!==on.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=on.containsUppercaseCharacter),void 0!==on.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=on.containsNumericCharacter),void 0!==on.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=on.containsNonAlphanumericCharacter),this.enforcementState=N.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(Fe=null===(ne=N.allowedNonAlphanumericCharacters)||void 0===ne?void 0:ne.join(""))&&void 0!==Fe?Fe:"",this.forceUpgradeOnSignin=null!==(st=N.forceUpgradeOnSignin)&&void 0!==st&&st,this.schemaVersion=N.schemaVersion}validatePassword(N){var G,ne,Fe,st,on,Nn;const si={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(N,si),this.validatePasswordCharacterOptions(N,si),si.isValid&&(si.isValid=null===(G=si.meetsMinPasswordLength)||void 0===G||G),si.isValid&&(si.isValid=null===(ne=si.meetsMaxPasswordLength)||void 0===ne||ne),si.isValid&&(si.isValid=null===(Fe=si.containsLowercaseLetter)||void 0===Fe||Fe),si.isValid&&(si.isValid=null===(st=si.containsUppercaseLetter)||void 0===st||st),si.isValid&&(si.isValid=null===(on=si.containsNumericCharacter)||void 0===on||on),si.isValid&&(si.isValid=null===(Nn=si.containsNonAlphanumericCharacter)||void 0===Nn||Nn),si}validatePasswordLengthOptions(N,G){const ne=this.customStrengthOptions.minPasswordLength,Fe=this.customStrengthOptions.maxPasswordLength;ne&&(G.meetsMinPasswordLength=N.length>=ne),Fe&&(G.meetsMaxPasswordLength=N.length<=Fe)}validatePasswordCharacterOptions(N,G){let ne;this.updatePasswordCharacterOptionsStatuses(G,!1,!1,!1,!1);for(let Fe=0;Fe<N.length;Fe++)ne=N.charAt(Fe),this.updatePasswordCharacterOptionsStatuses(G,ne>="a"&&ne<="z",ne>="A"&&ne<="Z",ne>="0"&&ne<="9",this.allowedNonAlphanumericCharacters.includes(ne))}updatePasswordCharacterOptionsStatuses(N,G,ne,Fe,st){this.customStrengthOptions.containsLowercaseLetter&&(N.containsLowercaseLetter||(N.containsLowercaseLetter=G)),this.customStrengthOptions.containsUppercaseLetter&&(N.containsUppercaseLetter||(N.containsUppercaseLetter=ne)),this.customStrengthOptions.containsNumericCharacter&&(N.containsNumericCharacter||(N.containsNumericCharacter=Fe)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(N.containsNonAlphanumericCharacter||(N.containsNonAlphanumericCharacter=st))}}class xn{constructor(N,G,ne,Fe){this.app=N,this.heartbeatServiceProvider=G,this.appCheckServiceProvider=ne,this.config=Fe,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new ai(this),this.idTokenSubscription=new ai(this),this.beforeStateQueue=new Yo(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=ft,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=N.name,this.clientVersion=Fe.sdkClientVersion}_initializeWithPersistence(N,G){var ne=this;return G&&(this._popupRedirectResolver=H(G)),this._initializationPromise=this.queue((0,L.A)(function*(){var Fe,st;if(!ne._deleted&&(ne.persistenceManager=yield Ft.create(ne,N),!ne._deleted)){if(null!==(Fe=ne._popupRedirectResolver)&&void 0!==Fe&&Fe._shouldInitProactively)try{yield ne._popupRedirectResolver._initialize(ne)}catch{}yield ne.initializeCurrentUser(G),ne.lastNotifiedUid=(null===(st=ne.currentUser)||void 0===st?void 0:st.uid)||null,!ne._deleted&&(ne._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var N=this;return(0,L.A)(function*(){if(N._deleted)return;const G=yield N.assertedPersistence.getCurrentUser();if(N.currentUser||G){if(N.currentUser&&G&&N.currentUser.uid===G.uid)return N._currentUser._assign(G),void(yield N.currentUser.getIdToken());yield N._updateCurrentUser(G,!0)}})()}initializeCurrentUserFromIdToken(N){var G=this;return(0,L.A)(function*(){try{const ne=yield Bi(G,{idToken:N}),Fe=yield Be._fromGetAccountInfoResponse(G,ne,N);yield G.directlySetCurrentUser(Fe)}catch(ne){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",ne),yield G.directlySetCurrentUser(null)}})()}initializeCurrentUser(N){var G=this;return(0,L.A)(function*(){var ne;if((0,ae.xZ)(G.app)){const Nn=G.app.settings.authIdToken;return Nn?new Promise(si=>{setTimeout(()=>G.initializeCurrentUserFromIdToken(Nn).then(si,si))}):G.directlySetCurrentUser(null)}const Fe=yield G.assertedPersistence.getCurrentUser();let st=Fe,on=!1;if(N&&G.config.authDomain){yield G.getOrInitRedirectPersistenceManager();const Nn=null===(ne=G.redirectUser)||void 0===ne?void 0:ne._redirectEventId,si=st?._redirectEventId,eo=yield G.tryRedirectSignIn(N);(!Nn||Nn===si)&&eo?.user&&(st=eo.user,on=!0)}if(!st)return G.directlySetCurrentUser(null);if(!st._redirectEventId){if(on)try{yield G.beforeStateQueue.runMiddleware(st)}catch(Nn){st=Fe,G._popupRedirectResolver._overrideRedirectResult(G,()=>Promise.reject(Nn))}return st?G.reloadAndSetCurrentUserOrClear(st):G.directlySetCurrentUser(null)}return Ue(G._popupRedirectResolver,G,"argument-error"),yield G.getOrInitRedirectPersistenceManager(),G.redirectUser&&G.redirectUser._redirectEventId===st._redirectEventId?G.directlySetCurrentUser(st):G.reloadAndSetCurrentUserOrClear(st)})()}tryRedirectSignIn(N){var G=this;return(0,L.A)(function*(){let ne=null;try{ne=yield G._popupRedirectResolver._completeRedirectFn(G,N,!0)}catch{yield G._setRedirectUser(null)}return ne})()}reloadAndSetCurrentUserOrClear(N){var G=this;return(0,L.A)(function*(){try{yield xt(N)}catch(ne){if("auth/network-request-failed"!==ne?.code)return G.directlySetCurrentUser(null)}return G.directlySetCurrentUser(N)})()}useDeviceLanguage(){this.languageCode=function yt(){if(typeof navigator>"u")return null;const Q=navigator;return Q.languages&&Q.languages[0]||Q.language||null}()}_delete(){var N=this;return(0,L.A)(function*(){N._deleted=!0})()}updateCurrentUser(N){var G=this;return(0,L.A)(function*(){if((0,ae.xZ)(G.app))return Promise.reject(X(G));const ne=N?(0,K.Ku)(N):null;return ne&&Ue(ne.auth.config.apiKey===G.config.apiKey,G,"invalid-user-token"),G._updateCurrentUser(ne&&ne._clone(G))})()}_updateCurrentUser(N,G=!1){var ne=this;return(0,L.A)(function*(){if(!ne._deleted)return N&&Ue(ne.tenantId===N.tenantId,ne,"tenant-id-mismatch"),G||(yield ne.beforeStateQueue.runMiddleware(N)),ne.queue((0,L.A)(function*(){yield ne.directlySetCurrentUser(N),ne.notifyAuthListeners()}))})()}signOut(){var N=this;return(0,L.A)(function*(){return(0,ae.xZ)(N.app)?Promise.reject(X(N)):(yield N.beforeStateQueue.runMiddleware(null),(N.redirectPersistenceManager||N._popupRedirectResolver)&&(yield N._setRedirectUser(null)),N._updateCurrentUser(null,!0))})()}setPersistence(N){var G=this;return(0,ae.xZ)(this.app)?Promise.reject(X(this)):this.queue((0,L.A)(function*(){yield G.assertedPersistence.setPersistence(H(N))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(N){var G=this;return(0,L.A)(function*(){G._getPasswordPolicyInternal()||(yield G._updatePasswordPolicy());const ne=G._getPasswordPolicyInternal();return ne.schemaVersion!==G.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(G._errorFactory.create("unsupported-password-policy-schema-version",{})):ne.validatePassword(N)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var N=this;return(0,L.A)(function*(){const G=yield function $r(Q){return ct.apply(this,arguments)}(N),ne=new Ot(G);null===N.tenantId?N._projectPasswordPolicy=ne:N._tenantPasswordPolicies[N.tenantId]=ne})()}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(N){this._errorFactory=new K.FA("auth","Firebase",N())}onAuthStateChanged(N,G,ne){return this.registerStateListener(this.authStateSubscription,N,G,ne)}beforeAuthStateChanged(N,G){return this.beforeStateQueue.pushCallback(N,G)}onIdTokenChanged(N,G,ne){return this.registerStateListener(this.idTokenSubscription,N,G,ne)}authStateReady(){return new Promise((N,G)=>{if(this.currentUser)N();else{const ne=this.onAuthStateChanged(()=>{ne(),N()},G)}})}revokeAccessToken(N){var G=this;return(0,L.A)(function*(){if(G.currentUser){const ne=yield G.currentUser.getIdToken(),Fe={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:N,idToken:ne};null!=G.tenantId&&(Fe.tenantId=G.tenantId),yield function gn(Q,N){return Ut.apply(this,arguments)}(G,Fe)}})()}toJSON(){var N;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(N=this._currentUser)||void 0===N?void 0:N.toJSON()}}_setRedirectUser(N,G){var ne=this;return(0,L.A)(function*(){const Fe=yield ne.getOrInitRedirectPersistenceManager(G);return null===N?Fe.removeCurrentUser():Fe.setCurrentUser(N)})()}getOrInitRedirectPersistenceManager(N){var G=this;return(0,L.A)(function*(){if(!G.redirectPersistenceManager){const ne=N&&H(N)||G._popupRedirectResolver;Ue(ne,G,"argument-error"),G.redirectPersistenceManager=yield Ft.create(G,[H(ne._redirectPersistence)],"redirectUser"),G.redirectUser=yield G.redirectPersistenceManager.getCurrentUser()}return G.redirectPersistenceManager})()}_redirectUserForId(N){var G=this;return(0,L.A)(function*(){var ne,Fe;return G._isInitialized&&(yield G.queue((0,L.A)(function*(){}))),(null===(ne=G._currentUser)||void 0===ne?void 0:ne._redirectEventId)===N?G._currentUser:(null===(Fe=G.redirectUser)||void 0===Fe?void 0:Fe._redirectEventId)===N?G.redirectUser:null})()}_persistUserIfCurrent(N){var G=this;return(0,L.A)(function*(){if(N===G.currentUser)return G.queue((0,L.A)(function*(){return G.directlySetCurrentUser(N)}))})()}_notifyListenersIfCurrent(N){N===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var N,G;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const ne=null!==(G=null===(N=this.currentUser)||void 0===N?void 0:N.uid)&&void 0!==G?G:null;this.lastNotifiedUid!==ne&&(this.lastNotifiedUid=ne,this.authStateSubscription.next(this.currentUser))}registerStateListener(N,G,ne,Fe){if(this._deleted)return()=>{};const st="function"==typeof G?G:G.next.bind(G);let on=!1;const Nn=this._isInitialized?Promise.resolve():this._initializationPromise;if(Ue(Nn,this,"internal-error"),Nn.then(()=>{on||st(this.currentUser)}),"function"==typeof G){const si=N.addObserver(G,ne,Fe);return()=>{on=!0,si()}}{const si=N.addObserver(G);return()=>{on=!0,si()}}}directlySetCurrentUser(N){var G=this;return(0,L.A)(function*(){G.currentUser&&G.currentUser!==N&&G._currentUser._stopProactiveRefresh(),N&&G.isProactiveRefreshEnabled&&N._startProactiveRefresh(),G.currentUser=N,N?yield G.assertedPersistence.setCurrentUser(N):yield G.assertedPersistence.removeCurrentUser()})()}queue(N){return this.operations=this.operations.then(N,N),this.operations}get assertedPersistence(){return Ue(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(N){!N||this.frameworks.includes(N)||(this.frameworks.push(N),this.frameworks.sort(),this.clientVersion=Ao(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var N=this;return(0,L.A)(function*(){var G;const ne={"X-Client-Version":N.clientVersion};N.app.options.appId&&(ne["X-Firebase-gmpid"]=N.app.options.appId);const Fe=yield null===(G=N.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===G?void 0:G.getHeartbeatsHeader();Fe&&(ne["X-Firebase-Client"]=Fe);const st=yield N._getAppCheckToken();return st&&(ne["X-Firebase-AppCheck"]=st),ne})()}_getAppCheckToken(){var N=this;return(0,L.A)(function*(){var G;const ne=yield null===(G=N.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===G?void 0:G.getToken();return ne?.error&&function Te(Q,...N){B.logLevel<=se.$b.WARN&&B.warn(`Auth (${ae.MF}): ${Q}`,...N)}(`Error while retrieving App Check token: ${ne.error}`),ne?.token})()}}function Fn(Q){return(0,K.Ku)(Q)}class ai{constructor(N){this.auth=N,this.observer=null,this.addObserver=(0,K.tD)(G=>this.observer=G)}get next(){return Ue(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let ln={loadJS:()=>(0,L.A)(function*(){throw new Error("Unable to load external scripts")})(),recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function mr(Q){return`__${Q}${Math.floor(1e6*Math.random())}`}function Pl(Q){const N=Q.indexOf(":");return N<0?"":Q.substr(0,N+1)}function Ea(Q){if(!Q)return null;const N=Number(Q);return isNaN(N)?null:N}class aa{constructor(N,G){this.providerId=N,this.signInMethod=G}toJSON(){return zt("not implemented")}_getIdTokenResponse(N){return zt("not implemented")}_linkToIdToken(N,G){return zt("not implemented")}_getReauthenticationResolver(N){return zt("not implemented")}}function ur(Q,N){return Ks.apply(this,arguments)}function Ks(){return(Ks=(0,L.A)(function*(Q,N){return Rn(Q,"POST","/v1/accounts:signInWithIdp",Wn(Q,N))})).apply(this,arguments)}class oa{constructor(N){this.providerId=N,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(N){this.defaultLanguageCode=N}setCustomParameters(N){return this.customParameters=N,this}getCustomParameters(){return this.customParameters}}class is extends oa{constructor(){super(...arguments),this.scopes=[]}addScope(N){return this.scopes.includes(N)||this.scopes.push(N),this}getScopes(){return[...this.scopes]}}function Ma(){return(Ma=(0,L.A)(function*(Q,N){return Rn(Q,"POST","/v1/accounts:signUp",Wn(Q,N))})).apply(this,arguments)}class xr{constructor(N){this.user=N.user,this.providerId=N.providerId,this._tokenResponse=N._tokenResponse,this.operationType=N.operationType}static _fromIdTokenResponse(N,G,ne,Fe=!1){return(0,L.A)(function*(){const st=yield Be._fromIdTokenResponse(N,ne,Fe),on=xa(ne);return new xr({user:st,providerId:on,_tokenResponse:ne,operationType:G})})()}static _forOperation(N,G,ne){return(0,L.A)(function*(){yield N._updateTokensIfNecessary(ne,!0);const Fe=xa(ne);return new xr({user:N,providerId:Fe,_tokenResponse:ne,operationType:G})})()}}function xa(Q){return Q.providerId?Q.providerId:"phoneNumber"in Q?"phone":null}function Rc(Q){return vl.apply(this,arguments)}function vl(){return(vl=(0,L.A)(function*(Q){var N;if((0,ae.xZ)(Q.app))return Promise.reject(X(Q));const G=Fn(Q);if(yield G._initializationPromise,null!==(N=G.currentUser)&&void 0!==N&&N.isAnonymous)return new xr({user:G.currentUser,providerId:null,operationType:"signIn"});const ne=yield function bo(Q,N){return Ma.apply(this,arguments)}(G,{returnSecureToken:!0}),Fe=yield xr._fromIdTokenResponse(G,"signIn",ne,!0);return yield G._updateCurrentUser(Fe.user),Fe})).apply(this,arguments)}class ca extends K.g{constructor(N,G,ne,Fe){var st;super(G.code,G.message),this.operationType=ne,this.user=Fe,Object.setPrototypeOf(this,ca.prototype),this.customData={appName:N.name,tenantId:null!==(st=N.tenantId)&&void 0!==st?st:void 0,_serverResponse:G.customData._serverResponse,operationType:ne}}static _fromErrorAndOperation(N,G,ne,Fe){return new ca(N,G,ne,Fe)}}function Ka(Q,N,G,ne){return("reauthenticate"===N?G._getReauthenticationResolver(Q):G._getIdTokenResponse(Q)).catch(st=>{throw"auth/multi-factor-auth-required"===st.code?ca._fromErrorAndOperation(Q,st,N,ne):st})}function $t(){return($t=(0,L.A)(function*(Q,N,G=!1){const ne=yield Hn(Q,N._linkToIdToken(Q.auth,yield Q.getIdToken()),G);return xr._forOperation(Q,"link",ne)})).apply(this,arguments)}function li(){return(li=(0,L.A)(function*(Q,N,G=!1){const{auth:ne}=Q;if((0,ae.xZ)(ne.app))return Promise.reject(X(ne));const Fe="reauthenticate";try{const st=yield Hn(Q,Ka(ne,Fe,N,Q),G);Ue(st.idToken,ne,"internal-error");const on=Mo(st.idToken);Ue(on,ne,"internal-error");const{sub:Nn}=on;return Ue(Q.uid===Nn,ne,"user-mismatch"),xr._forOperation(Q,Fe,st)}catch(st){throw"auth/user-not-found"===st?.code&&Pe(ne,"user-mismatch"),st}})).apply(this,arguments)}function Ir(){return(Ir=(0,L.A)(function*(Q,N,G=!1){if((0,ae.xZ)(Q.app))return Promise.reject(X(Q));const Fe=yield Ka(Q,"signIn",N),st=yield xr._fromIdTokenResponse(Q,"signIn",Fe);return G||(yield Q._updateCurrentUser(st.user)),st})).apply(this,arguments)}function Ud(){return(Ud=(0,L.A)(function*(Q,N){return Rn(Q,"POST","/v1/accounts:signInWithCustomToken",Wn(Q,N))})).apply(this,arguments)}function Je(Q,N){return J.apply(this,arguments)}function J(){return J=(0,L.A)(function*(Q,N){if((0,ae.xZ)(Q.app))return Promise.reject(X(Q));const G=Fn(Q),ne=yield function ba(Q,N){return Ud.apply(this,arguments)}(G,{token:N,returnSecureToken:!0}),Fe=yield xr._fromIdTokenResponse(G,"signIn",ne);return yield G._updateCurrentUser(Fe.user),Fe}),J.apply(this,arguments)}function hi(Q,N,G,ne){return(0,K.Ku)(Q).onIdTokenChanged(N,G,ne)}function il(Q){return(0,K.Ku)(Q).signOut()}const hu="__sak";class Hu{constructor(N,G){this.storageRetriever=N,this.type=G}_isAvailable(){try{return this.storage?(this.storage.setItem(hu,"1"),this.storage.removeItem(hu),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(N,G){return this.storage.setItem(N,JSON.stringify(G)),Promise.resolve()}_get(N){const G=this.storage.getItem(N);return Promise.resolve(G?JSON.parse(G):null)}_remove(N){return this.storage.removeItem(N),Promise.resolve()}get storage(){return this.storageRetriever()}}const Fc=(()=>{class Q extends Hu{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(G,ne)=>this.onStorageEvent(G,ne),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=go(),this._shouldAllowMigration=!0}forAllChangedKeys(G){for(const ne of Object.keys(this.listeners)){const Fe=this.storage.getItem(ne),st=this.localCache[ne];Fe!==st&&G(ne,st,Fe)}}onStorageEvent(G,ne=!1){if(!G.key)return void this.forAllChangedKeys((Nn,si,eo)=>{this.notifyListeners(Nn,eo)});const Fe=G.key;ne?this.detachListener():this.stopPolling();const st=()=>{const Nn=this.storage.getItem(Fe);!ne&&this.localCache[Fe]===Nn||this.notifyListeners(Fe,Nn)},on=this.storage.getItem(Fe);!function ro(){return(0,K.lT)()&&10===document.documentMode}()||on===G.newValue||G.newValue===G.oldValue?st():setTimeout(st,10)}notifyListeners(G,ne){this.localCache[G]=ne;const Fe=this.listeners[G];if(Fe)for(const st of Array.from(Fe))st(ne&&JSON.parse(ne))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((G,ne,Fe)=>{this.onStorageEvent(new StorageEvent("storage",{key:G,oldValue:ne,newValue:Fe}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(G,ne){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[G]||(this.listeners[G]=new Set,this.localCache[G]=this.storage.getItem(G)),this.listeners[G].add(ne)}_removeListener(G,ne){this.listeners[G]&&(this.listeners[G].delete(ne),0===this.listeners[G].size&&delete this.listeners[G]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}_set(G,ne){var Fe=()=>super._set,st=this;return(0,L.A)(function*(){yield Fe().call(st,G,ne),st.localCache[G]=JSON.stringify(ne)})()}_get(G){var ne=()=>super._get,Fe=this;return(0,L.A)(function*(){const st=yield ne().call(Fe,G);return Fe.localCache[G]=JSON.stringify(st),st})()}_remove(G){var ne=()=>super._remove,Fe=this;return(0,L.A)(function*(){yield ne().call(Fe,G),delete Fe.localCache[G]})()}}return Q.type="LOCAL",Q})(),Ul=(()=>{class Q extends Hu{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(G,ne){}_removeListener(G,ne){}}return Q.type="SESSION",Q})();let Er=(()=>{class Q{constructor(G){this.eventTarget=G,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(G){const ne=this.receivers.find(st=>st.isListeningto(G));if(ne)return ne;const Fe=new Q(G);return this.receivers.push(Fe),Fe}isListeningto(G){return this.eventTarget===G}handleEvent(G){var ne=this;return(0,L.A)(function*(){const Fe=G,{eventId:st,eventType:on,data:Nn}=Fe.data,si=ne.handlersMap[on];if(!si?.size)return;Fe.ports[0].postMessage({status:"ack",eventId:st,eventType:on});const eo=Array.from(si).map(function(){var Dr=(0,L.A)(function*(al){return al(Fe.origin,Nn)});return function(al){return Dr.apply(this,arguments)}}()),Eo=yield function zl(Q){return Promise.all(Q.map(function(){var N=(0,L.A)(function*(G){try{return{fulfilled:!0,value:yield G}}catch(ne){return{fulfilled:!1,reason:ne}}});return function(G){return N.apply(this,arguments)}}()))}(eo);Fe.ports[0].postMessage({status:"done",eventId:st,eventType:on,response:Eo})})()}_subscribe(G,ne){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[G]||(this.handlersMap[G]=new Set),this.handlersMap[G].add(ne)}_unsubscribe(G,ne){this.handlersMap[G]&&ne&&this.handlersMap[G].delete(ne),(!ne||0===this.handlersMap[G].size)&&delete this.handlersMap[G],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}return Q.receivers=[],Q})();function wa(Q="",N=10){let G="";for(let ne=0;ne<N;ne++)G+=Math.floor(10*Math.random());return Q+G}class fu{constructor(N){this.target=N,this.handlers=new Set}removeMessageHandler(N){N.messageChannel&&(N.messageChannel.port1.removeEventListener("message",N.onMessage),N.messageChannel.port1.close()),this.handlers.delete(N)}_send(N,G,ne=50){var Fe=this;return(0,L.A)(function*(){const st=typeof MessageChannel<"u"?new MessageChannel:null;if(!st)throw new Error("connection_unavailable");let on,Nn;return new Promise((si,eo)=>{const Eo=wa("",20);st.port1.start();const Dr=setTimeout(()=>{eo(new Error("unsupported_event"))},ne);Nn={messageChannel:st,onMessage(al){const Wc=al;if(Wc.data.eventId===Eo)switch(Wc.data.status){case"ack":clearTimeout(Dr),on=setTimeout(()=>{eo(new Error("timeout"))},3e3);break;case"done":clearTimeout(on),si(Wc.data.response);break;default:clearTimeout(Dr),clearTimeout(on),eo(new Error("invalid_response"))}}},Fe.handlers.add(Nn),st.port1.addEventListener("message",Nn.onMessage),Fe.target.postMessage({eventType:N,eventId:Eo,data:G},[st.port2])}).finally(()=>{Nn&&Fe.removeMessageHandler(Nn)})})()}}function Ds(){return window}function Gl(){return typeof Ds().WorkerGlobalScope<"u"&&"function"==typeof Ds().importScripts}function Da(){return(Da=(0,L.A)(function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch{return null}})).apply(this,arguments)}const gu="firebaseLocalStorageDb",rd="firebaseLocalStorage",qu="fbase_key";class sd{constructor(N){this.request=N}toPromise(){return new Promise((N,G)=>{this.request.addEventListener("success",()=>{N(this.request.result)}),this.request.addEventListener("error",()=>{G(this.request.error)})})}}function Gd(Q,N){return Q.transaction([rd],N?"readwrite":"readonly").objectStore(rd)}function lh(){const Q=indexedDB.open(gu,1);return new Promise((N,G)=>{Q.addEventListener("error",()=>{G(Q.error)}),Q.addEventListener("upgradeneeded",()=>{const ne=Q.result;try{ne.createObjectStore(rd,{keyPath:qu})}catch(Fe){G(Fe)}}),Q.addEventListener("success",(0,L.A)(function*(){const ne=Q.result;ne.objectStoreNames.contains(rd)?N(ne):(ne.close(),yield function ah(){const Q=indexedDB.deleteDatabase(gu);return new sd(Q).toPromise()}(),N(yield lh()))}))})}function U1(Q,N,G){return da.apply(this,arguments)}function da(){return(da=(0,L.A)(function*(Q,N,G){const ne=Gd(Q,!0).put({[qu]:N,value:G});return new sd(ne).toPromise()})).apply(this,arguments)}function vu(){return(vu=(0,L.A)(function*(Q,N){const G=Gd(Q,!1).get(N),ne=yield new sd(G).toPromise();return void 0===ne?null:ne.value})).apply(this,arguments)}function _u(Q,N){const G=Gd(Q,!0).delete(N);return new sd(G).toPromise()}const pe=(()=>{class Q{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){var G=this;return(0,L.A)(function*(){return G.db||(G.db=yield lh()),G.db})()}_withRetries(G){var ne=this;return(0,L.A)(function*(){let Fe=0;for(;;)try{const st=yield ne._openDb();return yield G(st)}catch(st){if(Fe++>3)throw st;ne.db&&(ne.db.close(),ne.db=void 0)}})()}initializeServiceWorkerMessaging(){var G=this;return(0,L.A)(function*(){return Gl()?G.initializeReceiver():G.initializeSender()})()}initializeReceiver(){var G=this;return(0,L.A)(function*(){G.receiver=Er._getInstance(function mu(){return Gl()?self:null}()),G.receiver._subscribe("keyChanged",function(){var ne=(0,L.A)(function*(Fe,st){return{keyProcessed:(yield G._poll()).includes(st.key)}});return function(Fe,st){return ne.apply(this,arguments)}}()),G.receiver._subscribe("ping",function(){var ne=(0,L.A)(function*(Fe,st){return["keyChanged"]});return function(Fe,st){return ne.apply(this,arguments)}}())})()}initializeSender(){var G=this;return(0,L.A)(function*(){var ne,Fe;if(G.activeServiceWorker=yield function od(){return Da.apply(this,arguments)}(),!G.activeServiceWorker)return;G.sender=new fu(G.activeServiceWorker);const st=yield G.sender._send("ping",{},800);st&&null!==(ne=st[0])&&void 0!==ne&&ne.fulfilled&&null!==(Fe=st[0])&&void 0!==Fe&&Fe.value.includes("keyChanged")&&(G.serviceWorkerReceiverAvailable=!0)})()}notifyServiceWorker(G){var ne=this;return(0,L.A)(function*(){if(ne.sender&&ne.activeServiceWorker&&function Yu(){var Q;return(null===(Q=navigator?.serviceWorker)||void 0===Q?void 0:Q.controller)||null}()===ne.activeServiceWorker)try{yield ne.sender._send("keyChanged",{key:G},ne.serviceWorkerReceiverAvailable?800:50)}catch{}})()}_isAvailable(){return(0,L.A)(function*(){try{if(!indexedDB)return!1;const G=yield lh();return yield U1(G,hu,"1"),yield _u(G,hu),!0}catch{}return!1})()}_withPendingWrite(G){var ne=this;return(0,L.A)(function*(){ne.pendingWrites++;try{yield G()}finally{ne.pendingWrites--}})()}_set(G,ne){var Fe=this;return(0,L.A)(function*(){return Fe._withPendingWrite((0,L.A)(function*(){return yield Fe._withRetries(st=>U1(st,G,ne)),Fe.localCache[G]=ne,Fe.notifyServiceWorker(G)}))})()}_get(G){var ne=this;return(0,L.A)(function*(){const Fe=yield ne._withRetries(st=>function ad(Q,N){return vu.apply(this,arguments)}(st,G));return ne.localCache[G]=Fe,Fe})()}_remove(G){var ne=this;return(0,L.A)(function*(){return ne._withPendingWrite((0,L.A)(function*(){return yield ne._withRetries(Fe=>_u(Fe,G)),delete ne.localCache[G],ne.notifyServiceWorker(G)}))})()}_poll(){var G=this;return(0,L.A)(function*(){const ne=yield G._withRetries(on=>{const Nn=Gd(on,!1).getAll();return new sd(Nn).toPromise()});if(!ne)return[];if(0!==G.pendingWrites)return[];const Fe=[],st=new Set;if(0!==ne.length)for(const{fbase_key:on,value:Nn}of ne)st.add(on),JSON.stringify(G.localCache[on])!==JSON.stringify(Nn)&&(G.notifyListeners(on,Nn),Fe.push(on));for(const on of Object.keys(G.localCache))G.localCache[on]&&!st.has(on)&&(G.notifyListeners(on,null),Fe.push(on));return Fe})()}notifyListeners(G,ne){this.localCache[G]=ne;const Fe=this.listeners[G];if(Fe)for(const st of Array.from(Fe))st(ne)}startPolling(){var G=this;this.stopPolling(),this.pollTimer=setInterval((0,L.A)(function*(){return G._poll()}),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(G,ne){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[G]||(this.listeners[G]=new Set,this._get(G)),this.listeners[G].add(ne)}_removeListener(G,ne){this.listeners[G]&&(this.listeners[G].delete(ne),0===this.listeners[G].size&&delete this.listeners[G]),0===Object.keys(this.listeners).length&&this.stopPolling()}}return Q.type="LOCAL",Q})();mr("rcb"),new Rt(3e4,6e4);class Cc extends aa{constructor(N){super("custom","custom"),this.params=N}_getIdTokenResponse(N){return ur(N,this._buildIdpRequest())}_linkToIdToken(N,G){return ur(N,this._buildIdpRequest(G))}_getReauthenticationResolver(N){return ur(N,this._buildIdpRequest())}_buildIdpRequest(N){const G={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return N&&(G.idToken=N),G}}function $p(Q){return function Yr(Q,N){return Ir.apply(this,arguments)}(Q.auth,new Cc(Q),Q.bypassAuthState)}function jd(Q){const{auth:N,user:G}=Q;return Ue(G,N,"internal-error"),function os(Q,N){return li.apply(this,arguments)}(G,new Cc(Q),Q.bypassAuthState)}function Hd(Q){return G1.apply(this,arguments)}function G1(){return(G1=(0,L.A)(function*(Q){const{auth:N,user:G}=Q;return Ue(G,N,"internal-error"),function Qe(Q,N){return $t.apply(this,arguments)}(G,new Cc(Q),Q.bypassAuthState)})).apply(this,arguments)}class $c{constructor(N,G,ne,Fe,st=!1){this.auth=N,this.resolver=ne,this.user=Fe,this.bypassAuthState=st,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(G)?G:[G]}execute(){var N=this;return new Promise(function(){var G=(0,L.A)(function*(ne,Fe){N.pendingPromise={resolve:ne,reject:Fe};try{N.eventManager=yield N.resolver._initialize(N.auth),yield N.onExecution(),N.eventManager.registerConsumer(N)}catch(st){N.reject(st)}});return function(ne,Fe){return G.apply(this,arguments)}}())}onAuthEvent(N){var G=this;return(0,L.A)(function*(){const{urlResponse:ne,sessionId:Fe,postBody:st,tenantId:on,error:Nn,type:si}=N;if(Nn)return void G.reject(Nn);const eo={auth:G.auth,requestUri:ne,sessionId:Fe,tenantId:on||void 0,postBody:st||void 0,user:G.user,bypassAuthState:G.bypassAuthState};try{G.resolve(yield G.getIdpTask(si)(eo))}catch(Eo){G.reject(Eo)}})()}onError(N){this.reject(N)}getIdpTask(N){switch(N){case"signInViaPopup":case"signInViaRedirect":return $p;case"linkViaPopup":case"linkViaRedirect":return Hd;case"reauthViaPopup":case"reauthViaRedirect":return jd;default:Pe(this.auth,"internal-error")}}resolve(N){sn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(N),this.unregisterAndCleanUp()}reject(N){sn(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(N),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}new Rt(2e3,1e4);const dd="pendingRedirect",Yd=new Map;class Js extends $c{constructor(N,G,ne=!1){super(N,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],G,void 0,ne),this.eventId=null}execute(){var N=()=>super.execute,G=this;return(0,L.A)(function*(){let ne=Yd.get(G.auth._key());if(!ne){try{const st=(yield function co(Q,N){return n1.apply(this,arguments)}(G.resolver,G.auth))?yield N().call(G):null;ne=()=>Promise.resolve(st)}catch(Fe){ne=()=>Promise.reject(Fe)}Yd.set(G.auth._key(),ne)}return G.bypassAuthState||Yd.set(G.auth._key(),()=>Promise.resolve(null)),ne()})()}onAuthEvent(N){var G=()=>super.onAuthEvent,ne=this;return(0,L.A)(function*(){if("signInViaRedirect"===N.type)return G().call(ne,N);if("unknown"!==N.type){if(N.eventId){const Fe=yield ne.auth._redirectUserForId(N.eventId);if(Fe)return ne.user=Fe,G().call(ne,N);ne.resolve(null)}}else ne.resolve(null)})()}onExecution(){return(0,L.A)(function*(){})()}cleanUp(){}}function n1(){return(n1=(0,L.A)(function*(Q,N){const G=function vo(Q){return We(dd,Q.config.apiKey,Q.name)}(N),ne=function Up(Q){return H(Q._redirectPersistence)}(Q);if(!(yield ne._isAvailable()))return!1;const Fe="true"===(yield ne._get(G));return yield ne._remove(G),Fe})).apply(this,arguments)}function Xu(Q,N){Yd.set(Q._key(),N)}function qs(Q,N){return _i.apply(this,arguments)}function _i(){return(_i=(0,L.A)(function*(Q,N,G=!1){if((0,ae.xZ)(Q.app))return Promise.reject(X(Q));const ne=Fn(Q),Fe=function Bc(Q,N){return N?H(N):(Ue(Q._popupRedirectResolver,Q,"argument-error"),Q._popupRedirectResolver)}(ne,N),on=yield new Js(ne,Fe,G).execute();return on&&!G&&(delete on.user._redirectEventId,yield ne._persistUserIfCurrent(on.user),yield ne._setRedirectUser(null,N)),on})).apply(this,arguments)}class Zs{constructor(N){this.auth=N,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(N){this.consumers.add(N),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,N)&&(this.sendToConsumer(this.queuedRedirectEvent,N),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(N){this.consumers.delete(N)}onEvent(N){if(this.hasEventBeenHandled(N))return!1;let G=!1;return this.consumers.forEach(ne=>{this.isEventForConsumer(N,ne)&&(G=!0,this.sendToConsumer(N,ne),this.saveEventToCache(N))}),this.hasHandledPotentialRedirect||!function hs(Q){switch(Q.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return Yl(Q);default:return!1}}(N)||(this.hasHandledPotentialRedirect=!0,G||(this.queuedRedirectEvent=N,G=!0)),G}sendToConsumer(N,G){var ne;if(N.error&&!Yl(N)){const Fe=(null===(ne=N.error.code)||void 0===ne?void 0:ne.split("auth/")[1])||"internal-error";G.onError(et(this.auth,Fe))}else G.onAuthEvent(N)}isEventForConsumer(N,G){const ne=null===G.eventId||!!N.eventId&&N.eventId===G.eventId;return G.filter.includes(N.type)&&ne}hasEventBeenHandled(N){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(qr(N))}saveEventToCache(N){this.cachedEventUids.add(qr(N)),this.lastProcessedEventTime=Date.now()}}function qr(Q){return[Q.type,Q.eventId,Q.sessionId,Q.tenantId].filter(N=>N).join("-")}function Yl({type:Q,error:N}){return"unknown"===Q&&"auth/no-auth-event"===N?.code}function Tc(){return(Tc=(0,L.A)(function*(Q,N={}){return qn(Q,"GET","/v1/projects",N)})).apply(this,arguments)}const Ho=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Xo=/^https?/;function Sc(){return Sc=(0,L.A)(function*(Q){if(Q.config.emulator)return;const{authorizedDomains:N}=yield function es(Q){return Tc.apply(this,arguments)}(Q);for(const G of N)try{if(Hi(G))return}catch{}Pe(Q,"unauthorized-domain")}),Sc.apply(this,arguments)}function Hi(Q){const N=Mt(),{protocol:G,hostname:ne}=new URL(N);if(Q.startsWith("chrome-extension://")){const on=new URL(Q);return""===on.hostname&&""===ne?"chrome-extension:"===G&&Q.replace("chrome-extension://","")===N.replace("chrome-extension://",""):"chrome-extension:"===G&&on.hostname===ne}if(!Xo.test(G))return!1;if(Ho.test(Q))return ne===Q;const Fe=Q.replace(/\./g,"\\.");return new RegExp("^(.+\\."+Fe+"|"+Fe+")$","i").test(ne)}const ud=new Rt(3e4,6e4);function ku(){const Q=Ds().___jsl;if(Q?.H)for(const N of Object.keys(Q.H))if(Q.H[N].r=Q.H[N].r||[],Q.H[N].L=Q.H[N].L||[],Q.H[N].r=[...Q.H[N].L],Q.CP)for(let G=0;G<Q.CP.length;G++)Q.CP[G]=null}function qd(Q){return new Promise((N,G)=>{var ne,Fe,st;function on(){ku(),gapi.load("gapi.iframes",{callback:()=>{N(gapi.iframes.getContext())},ontimeout:()=>{ku(),G(et(Q,"network-request-failed"))},timeout:ud.get()})}if(null!==(Fe=null===(ne=Ds().gapi)||void 0===ne?void 0:ne.iframes)&&void 0!==Fe&&Fe.Iframe)N(gapi.iframes.getContext());else{if(null===(st=Ds().gapi)||void 0===st||!st.load){const Nn=mr("iframefcb");return Ds()[Nn]=()=>{gapi.load?on():G(et(Q,"network-request-failed"))},function Ln(Q){return ln.loadJS(Q)}(`${function Oi(){return ln.gapiScript}()}?onload=${Nn}`).catch(si=>G(si))}on()}}).catch(N=>{throw kc=null,N})}let kc=null;const hd=new Rt(5e3,15e3),Cl="__/auth/iframe",ql="emulator/auth/iframe",qi={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},X1=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Wu(Q){const N=Q.config;Ue(N.authDomain,Q,"auth-domain-config-required");const G=N.emulator?Vt(N,ql):`https://${Q.config.authDomain}/${Cl}`,ne={apiKey:N.apiKey,appName:Q.name,v:ae.MF},Fe=X1.get(Q.config.apiHost);Fe&&(ne.eid=Fe);const st=Q._getFrameworks();return st.length&&(ne.fw=st.join(",")),`${G}?${(0,K.Am)(ne).slice(1)}`}function Id(){return Id=(0,L.A)(function*(Q){const N=yield function q1(Q){return kc=kc||qd(Q),kc}(Q),G=Ds().gapi;return Ue(G,Q,"internal-error"),N.open({where:document.body,url:Wu(Q),messageHandlersFilter:G.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:qi,dontclear:!0},ne=>new Promise(function(){var Fe=(0,L.A)(function*(st,on){yield ne.restyle({setHideOnLeave:!1});const Nn=et(Q,"network-request-failed"),si=Ds().setTimeout(()=>{on(Nn)},hd.get());function eo(){Ds().clearTimeout(si),st(ne)}ne.ping(eo).then(eo,()=>{on(Nn)})});return function(st,on){return Fe.apply(this,arguments)}}()))}),Id.apply(this,arguments)}const Xd={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class Eu{constructor(N){this.window=N,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}const Nl="__/auth/handler",o1="emulator/auth/handler",W1=encodeURIComponent("fac");function r1(Q,N,G,ne,Fe,st){return Kd.apply(this,arguments)}function Kd(){return(Kd=(0,L.A)(function*(Q,N,G,ne,Fe,st){Ue(Q.config.authDomain,Q,"auth-domain-config-required"),Ue(Q.config.apiKey,Q,"invalid-api-key");const on={apiKey:Q.config.apiKey,appName:Q.name,authType:G,redirectUrl:ne,v:ae.MF,eventId:Fe};if(N instanceof oa){N.setDefaultLanguage(Q.languageCode),on.providerId=N.providerId||"",(0,K.Im)(N.getCustomParameters())||(on.customParameters=JSON.stringify(N.getCustomParameters()));for(const[Eo,Dr]of Object.entries(st||{}))on[Eo]=Dr}if(N instanceof is){const Eo=N.getScopes().filter(Dr=>""!==Dr);Eo.length>0&&(on.scopes=Eo.join(","))}Q.tenantId&&(on.tid=Q.tenantId);const Nn=on;for(const Eo of Object.keys(Nn))void 0===Nn[Eo]&&delete Nn[Eo];const si=yield Q._getAppCheckToken(),eo=si?`#${W1}=${encodeURIComponent(si)}`:"";return`${function e2({config:Q}){return Q.emulator?Vt(Q,o1):`https://${Q.authDomain}/${Nl}`}(Q)}?${(0,K.Am)(Nn).slice(1)}${eo}`})).apply(this,arguments)}const Dd="webStorageSupport",t2=class Qd{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=Ul,this._completeRedirectFn=qs,this._overrideRedirectResult=Xu}_openPopup(N,G,ne,Fe){var st=this;return(0,L.A)(function*(){var on;sn(null===(on=st.eventManagers[N._key()])||void 0===on?void 0:on.manager,"_initialize() not called before _openPopup()");const Nn=yield r1(N,G,ne,Mt(),Fe);return function Wd(Q,N,G,ne=500,Fe=600){const st=Math.max((window.screen.availHeight-Fe)/2,0).toString(),on=Math.max((window.screen.availWidth-ne)/2,0).toString();let Nn="";const si=Object.assign(Object.assign({},Xd),{width:ne.toString(),height:Fe.toString(),top:st,left:on}),eo=(0,K.ZQ)().toLowerCase();G&&(Nn=ui(eo)?"_blank":G),yn(eo)&&(N=N||"http://localhost",si.scrollbars="yes");const Eo=Object.entries(si).reduce((al,[Wc,wh])=>`${al}${Wc}=${wh},`,"");if(function $i(Q=(0,K.ZQ)()){var N;return Dn(Q)&&!(null===(N=window.navigator)||void 0===N||!N.standalone)}(eo)&&"_self"!==Nn)return function Ku(Q,N){const G=document.createElement("a");G.href=Q,G.target=N;const ne=document.createEvent("MouseEvent");ne.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),G.dispatchEvent(ne)}(N||"",Nn),new Eu(null);const Dr=window.open(N||"",Nn,Eo);Ue(Dr,Q,"popup-blocked");try{Dr.focus()}catch{}return new Eu(Dr)}(N,Nn,wa())})()}_openRedirect(N,G,ne,Fe){var st=this;return(0,L.A)(function*(){return yield st._originValidation(N),function Vr(Q){Ds().location.href=Q}(yield r1(N,G,ne,Mt(),Fe)),new Promise(()=>{})})()}_initialize(N){const G=N._key();if(this.eventManagers[G]){const{manager:Fe,promise:st}=this.eventManagers[G];return Fe?Promise.resolve(Fe):(sn(st,"If manager is not set, promise should be"),st)}const ne=this.initAndGetManager(N);return this.eventManagers[G]={promise:ne},ne.catch(()=>{delete this.eventManagers[G]}),ne}initAndGetManager(N){var G=this;return(0,L.A)(function*(){const ne=yield function Hc(Q){return Id.apply(this,arguments)}(N),Fe=new Zs(N);return ne.register("authEvent",st=>(Ue(st?.authEvent,N,"invalid-auth-event"),{status:Fe.onEvent(st.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),G.eventManagers[N._key()]={manager:Fe},G.iframes[N._key()]=ne,Fe})()}_isIframeWebStorageSupported(N,G){this.iframes[N._key()].send(Dd,{type:Dd},Fe=>{var st;const on=null===(st=Fe?.[0])||void 0===st?void 0:st[Dd];void 0!==on&&G(!!on),Pe(N,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(N){const G=N._key();return this.originValidationPromises[G]||(this.originValidationPromises[G]=function jc(Q){return Sc.apply(this,arguments)}(N)),this.originValidationPromises[G]}get _shouldInitProactively(){return go()||di()||Dn()}};var Hp="@firebase/auth";class Df{constructor(N){this.auth=N,this.internalListeners=new Map}getUid(){var N;return this.assertAuthConfigured(),(null===(N=this.auth.currentUser)||void 0===N?void 0:N.uid)||null}getToken(N){var G=this;return(0,L.A)(function*(){return G.assertAuthConfigured(),yield G.auth._initializationPromise,G.auth.currentUser?{accessToken:yield G.auth.currentUser.getIdToken(N)}:null})()}addAuthTokenListener(N){if(this.assertAuthConfigured(),this.internalListeners.has(N))return;const G=this.auth.onIdTokenChanged(ne=>{N(ne?.stsTokenManager.accessToken||null)});this.internalListeners.set(N,G),this.updateProactiveRefresh()}removeAuthTokenListener(N){this.assertAuthConfigured();const G=this.internalListeners.get(N);G&&(this.internalListeners.delete(N),G(),this.updateProactiveRefresh())}assertAuthConfigured(){Ue(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}const Q1=(0,K.XA)("authIdTokenMaxAge")||300;let J1=null;const s2=Q=>function(){var N=(0,L.A)(function*(G){const ne=G&&(yield G.getIdTokenResult()),Fe=ne&&((new Date).getTime()-Date.parse(ne.issuedAtTime))/1e3;if(Fe&&Fe>Q1)return;const st=ne?.token;J1!==st&&(J1=st,yield fetch(Q,{method:st?"POST":"DELETE",headers:st?{Authorization:`Bearer ${st}`}:{}}))});return function(G){return N.apply(this,arguments)}}();function a2(Q=(0,ae.Sx)()){const N=(0,ae.j6)(Q,"auth");if(N.isInitialized())return N.getImmediate();const G=function ps(Q,N){const G=(0,ae.j6)(Q,"auth");if(G.isInitialized()){const Fe=G.getImmediate(),st=G.getOptions();if((0,K.bD)(st,N??{}))return Fe;Pe(Fe,"already-initialized")}return G.initialize({options:N})}(Q,{popupRedirectResolver:t2,persistence:[pe,Fc,Ul]}),ne=(0,K.XA)("authTokenSyncURL");if(ne&&"boolean"==typeof isSecureContext&&isSecureContext){const st=new URL(ne,location.origin);if(location.origin===st.origin){const on=s2(st.toString());(function rs(Q,N,G){(0,K.Ku)(Q).beforeAuthStateChanged(N,G)})(G,on,()=>on(G.currentUser)),hi(G,Nn=>on(Nn))}}const Fe=(0,K.Tj)("auth");return Fe&&function Ls(Q,N,G){const ne=Fn(Q);Ue(ne._canInitEmulator,ne,"emulator-config-failed"),Ue(/^https?:\/\//.test(N),ne,"invalid-emulator-scheme");const Fe=!!G?.disableWarnings,st=Pl(N),{host:on,port:Nn}=function sa(Q){const N=Pl(Q),G=/(\/\/)?([^?#/]+)/.exec(Q.substr(N.length));if(!G)return{host:"",port:null};const ne=G[2].split("@").pop()||"",Fe=/^(\[[^\]]+\])(:|$)/.exec(ne);if(Fe){const st=Fe[1];return{host:st,port:Ea(ne.substr(st.length+1))}}{const[st,on]=ne.split(":");return{host:st,port:Ea(on)}}}(N);ne.config.emulator={url:`${st}//${on}${null===Nn?"":`:${Nn}`}/`},ne.settings.appVerificationDisabledForTesting=!0,ne.emulatorConfig=Object.freeze({host:on,port:Nn,protocol:st.replace(":",""),options:Object.freeze({disableWarnings:Fe})}),Fe||function bc(){function Q(){const N=document.createElement("p"),G=N.style;N.innerText="Running in emulator mode. Do not use with production credentials.",G.position="fixed",G.width="100%",G.backgroundColor="#ffffff",G.border=".1em solid #000000",G.color="#b50000",G.bottom="0px",G.left="0px",G.margin="0px",G.zIndex="10000",G.textAlign="center",N.classList.add("firebase-emulator-warning"),document.body.appendChild(N)}typeof console<"u"&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",Q):Q())}()}(G,`http://${Fe}`),G}(function On(Q){ln=Q})({loadJS:Q=>new Promise((N,G)=>{const ne=document.createElement("script");ne.setAttribute("src",Q),ne.onload=N,ne.onerror=Fe=>{const st=et("internal-error");st.customData=Fe,G(st)},ne.type="text/javascript",ne.charset="UTF-8",function l2(){var Q,N;return null!==(N=null===(Q=document.getElementsByTagName("head"))||void 0===Q?void 0:Q[0])&&void 0!==N?N:document}().appendChild(ne)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),function l1(Q){(0,ae.om)(new le.uA("auth",(N,{options:G})=>{const ne=N.getProvider("app").getImmediate(),Fe=N.getProvider("heartbeat"),st=N.getProvider("app-check-internal"),{apiKey:on,authDomain:Nn}=ne.options;Ue(on&&!on.includes(":"),"invalid-api-key",{appName:ne.name});const si={apiKey:on,authDomain:Nn,clientPlatform:Q,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Ao(Q)},eo=new xn(ne,Fe,st,si);return function vr(Q,N){const G=N?.persistence||[],ne=(Array.isArray(G)?G:[G]).map(H);N?.errorMap&&Q._updateErrorMap(N.errorMap),Q._initializeWithPersistence(ne,N?.popupRedirectResolver)}(eo,G),eo},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((N,G,ne)=>{N.getProvider("auth-internal").initialize()})),(0,ae.om)(new le.uA("auth-internal",N=>{const G=Fn(N.getProvider("auth").getImmediate());return new Df(G)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,ae.KO)(Hp,"1.7.9",function r2(Q){switch(Q){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(Q)),(0,ae.KO)(Hp,"1.7.9","esm2017")}("Browser");var Yp=C(71985);function Z1(Q){return new Yp.c(function(N){var G=function Lr(Q,N,G,ne){return(0,K.Ku)(Q).onAuthStateChanged(N,G,ne)}(Q,N.next.bind(N),N.error.bind(N),N.complete.bind(N));return{unsubscribe:G}})}function uh(Q){return new Yp.c(function(N){return{unsubscribe:hi(Q,N.next.bind(N),N.error.bind(N),N.complete.bind(N))}})}class d1{constructor(N){return N}}class Ua{constructor(){return(0,y.CA)("auth")}}const hh=new $.nKC("angularfire2.auth-instances");function Xl(Q){return(N,G)=>{const ne=N.runOutsideAngular(()=>Q(G));return new d1(ne)}}const tp={provide:Ua,deps:[[new $.Xx1,hh]]},np={provide:d1,useFactory:function ep(Q,N){const G=(0,y.lR)("auth",Q,N);return G&&new d1(G)},deps:[[new $.Xx1,hh],n.XU]};function ip(Q,...N){return(0,a.KO)("angularfire",y.xv.full,"auth"),(0,$.EmA)([np,tp,{provide:hh,useFactory:Xl(Q),multi:!0,deps:[$.SKi,$.zZn,y.u0,n.gL,[new $.Xx1,y.Jv],...N]}])}const u1=(0,y.S3)(Z1,!0),Wl=(0,y.S3)(uh,!0),Ec=(0,y.S3)(a2,!0),ys=(0,y.S3)(Rc,!0),xu=(0,y.S3)(Je,!0),p2=(0,y.S3)(il,!0)},37405:(De,A,C)=>{"use strict";C.d(A,{_7:()=>Ue,rJ:()=>gt,xs:()=>Ni,MA:()=>Vn,H9:()=>_o,Bg:()=>vi,x7:()=>xt,GG:()=>Ct,aU:()=>ut,AB:()=>Qn,My:()=>yn,hV:()=>_n,P:()=>yo,BN:()=>$i,HM:()=>Yo,_M:()=>Fn});var y=C(55407),$=C(93953),n=C(37440),a=C(72036),L=C(2214),ae=C(73273),K=C(71985),se=C(96354),fe=function(){return fe=Object.assign||function(On){for(var Ln,Ei=1,Po=arguments.length;Ei<Po;Ei++)for(var Oi in Ln=arguments[Ei])Object.prototype.hasOwnProperty.call(Ln,Oi)&&(On[Oi]=Ln[Oi]);return On},fe.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var de={includeMetadataChanges:!1};function Ve(ln,On){return void 0===On&&(On=de),new K.c(function(Ln){return{unsubscribe:(0,ae.aQ)(ln,On,{next:Ln.next.bind(Ln),error:Ln.error.bind(Ln),complete:Ln.complete.bind(Ln)})}})}function qe(ln,On){return void 0===On&&(On={}),function Ee(ln){return Ve(ln,{includeMetadataChanges:!0})}(ln).pipe((0,se.T)(function(Ln){return Ge(Ln,On)}))}function Ge(ln,On){var Ln;void 0===On&&(On={});var Ei=ln.data(On);return ln.exists()&&"object"==typeof Ei&&null!==Ei&&On.idField?fe(fe({},Ei),((Ln={})[On.idField]=ln.id,Ln)):Ei}function Pe(ln){return Ve(ln,{includeMetadataChanges:!0}).pipe((0,se.T)(function(On){return On.docs}))}function X(ln,On){return void 0===On&&(On={}),Pe(ln).pipe((0,se.T)(function(Ln){return Ln.map(function(Ei){return Ge(Ei,On)})}))}class Ue{constructor(On){return On}}const zt="firestore",mt=new $.nKC("angularfire2.firestore-instances");function Xe(ln){return(On,Ln)=>{const Ei=On.runOutsideAngular(()=>ln(Ln));return new Ue(Ei)}}const yt={provide:class sn{constructor(){return(0,y.CA)(zt)}},deps:[[new $.Xx1,mt]]},Rt={provide:Ue,useFactory:function Ke(ln,On){const Ln=(0,y.lR)(zt,ln,On);return Ln&&new Ue(Ln)},deps:[[new $.Xx1,mt],n.XU]};function _n(ln,...On){return(0,L.KO)("angularfire",y.xv.full,"fst"),(0,$.EmA)([Rt,yt,{provide:mt,useFactory:Xe(ln),multi:!0,deps:[$.SKi,$.zZn,y.u0,n.gL,[new $.Xx1,a.DF],[new $.Xx1,y.Jv],...On]}])}const Vn=(0,y.S3)(Pe,!0),Ni=(0,y.S3)(X,!0),vi=(0,y.S3)(qe,!0),gt=(0,y.S3)(ae.rJ,!0),_o=(0,y.S3)(ae.H9,!0),xt=(0,y.S3)(ae.x7,!0),Ct=(0,y.S3)(ae.GG,!0),ut=(0,y.S3)(ae.aU,!0),Qn=(0,y.S3)(ae.AB,!0),yn=(0,y.S3)(ae.My,!0),yo=(0,y.S3)(ae.P,!0),$i=(0,y.S3)(ae.BN,!0),Yo=(0,y.S3)(ae.HM,!0),Fn=(0,y.S3)(ae._M,!0)},55407:(De,A,C)=>{"use strict";C.d(A,{xv:()=>qe,u0:()=>Te,Jv:()=>Tt,CA:()=>at,lR:()=>ht,S3:()=>zt});var y=C(93953),$=C(2214),n=C(96780),L=C(39687);const K=new class ae extends L.q{}(class a extends n.R{constructor(Mt,mt){super(Mt,mt),this.scheduler=Mt,this.work=mt}schedule(Mt,mt=0){return mt>0?super.schedule(Mt,mt):(this.delay=mt,this.state=Mt,this.scheduler.flush(this),this)}execute(Mt,mt){return mt>0||this.closed?super.execute(Mt,mt):this._execute(Mt,mt)}requestAsyncId(Mt,mt,Ke=0){return null!=Ke&&Ke>0||null==Ke&&this.delay>0?super.requestAsyncId(Mt,mt,Ke):(Mt.flush(this),0)}});var fe=C(43236),le=C(71985),de=C(88141),Ve=C(56745),Ee=C(40941);const qe=new y.RxE("ANGULARFIRE2_VERSION");function ht(sn,Mt,mt){if(Mt){if(1===Mt.length)return Mt[0];const yt=Mt.filter(Rt=>Rt.app===mt);if(1===yt.length)return yt[0]}return mt.container.getProvider(sn).getImmediate({optional:!0})}const at=(sn,Mt)=>{const mt=Mt?[Mt]:(0,$.Dk)(),Ke=[];return mt.forEach(Xe=>{Xe.container.getProvider(sn).instances.forEach(Rt=>{Ke.includes(Rt)||Ke.push(Rt)})}),Ke};class Tt{constructor(){return at(dt)}}const dt="app-check";function ft(){}class ze{zone;delegate;constructor(Mt,mt=K){this.zone=Mt,this.delegate=mt}now(){return this.delegate.now()}schedule(Mt,mt,Ke){const Xe=this.zone;return this.delegate.schedule(function(Rt){Xe.runGuarded(()=>{Mt.apply(this,[Rt])})},mt,Ke)}}class B{zone;task=null;constructor(Mt){this.zone=Mt}call(Mt,mt){const Ke=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",ft,{},ft,ft)),mt.pipe((0,de.M)({next:Ke,complete:Ke,error:Ke})).subscribe(Mt).add(Ke)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let Te=(()=>{class sn{ngZone;outsideAngular;insideAngular;constructor(mt){this.ngZone=mt,this.outsideAngular=mt.runOutsideAngular(()=>new ze(Zone.current)),this.insideAngular=mt.run(()=>new ze(Zone.current,fe.E)),globalThis.\u0275AngularFireScheduler||=this}static \u0275fac=function(Ke){return new(Ke||sn)(y.KVO(y.SKi))};static \u0275prov=y.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})();function be(){const sn=globalThis.\u0275AngularFireScheduler;if(!sn)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return sn}function et(sn){return be().ngZone.run(()=>sn())}function P(sn){return function rt(sn){return function(mt){return(mt=mt.lift(new B(sn.ngZone))).pipe((0,Ve._)(sn.outsideAngular),(0,Ee.Q)(sn.insideAngular))}}(be())(sn)}const Ue=(sn,Mt)=>function(){const Ke=arguments;return Mt&&setTimeout(()=>{"scheduled"===Mt.state&&Mt.invoke()},10),et(()=>sn.apply(void 0,Ke))},zt=(sn,Mt)=>function(){let mt;const Ke=arguments;for(let yt=0;yt<arguments.length;yt++)"function"==typeof Ke[yt]&&(Mt&&(mt||=et(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",ft,{},ft,ft))),Ke[yt]=Ue(Ke[yt],mt));const Xe=function Pe(sn){return be().ngZone.runOutsideAngular(()=>sn())}(()=>sn.apply(this,Ke));if(!Mt){if(Xe instanceof le.c){const yt=be();return Xe.pipe((0,Ve._)(yt.outsideAngular),(0,Ee.Q)(yt.insideAngular))}return et(()=>Xe)}return Xe instanceof le.c?Xe.pipe(P):Xe instanceof Promise?et(()=>new Promise((yt,Rt)=>Xe.then(Vt=>et(()=>yt(Vt)),Vt=>et(()=>Rt(Vt))))):"function"==typeof Xe&&mt?function(){return setTimeout(()=>{mt&&"scheduled"===mt.state&&mt.invoke()},10),Xe.apply(this,arguments)}:et(()=>Xe)}},89417:(De,A,C)=>{"use strict";C.d(A,{$R:()=>io,BC:()=>Yi,EL:()=>Be,J3:()=>re,JD:()=>ko,MJ:()=>Io,Q0:()=>va,X1:()=>Ka,YN:()=>ca,YS:()=>ms,Zm:()=>de,cb:()=>En,cz:()=>Tt,hs:()=>jo,j4:()=>Ur,k0:()=>ze,kq:()=>fe,l_:()=>ia,mP:()=>qe,me:()=>Ge,ok:()=>xr,qT:()=>bc,v8:()=>nn,vO:()=>vi,vS:()=>Ea,xH:()=>Ts,y7:()=>xl,ze:()=>Rc});var y=C(93953),$=C(60177),n=C(48455),a=C(27468),L=C(21413),ae=C(96354);let K=(()=>{class Me{constructor(he,Qe){this._renderer=he,this._elementRef=Qe,this.onChange=$t=>{},this.onTouched=()=>{}}setProperty(he,Qe){this._renderer.setProperty(this._elementRef.nativeElement,he,Qe)}registerOnTouched(he){this.onTouched=he}registerOnChange(he){this.onChange=he}setDisabledState(he){this.setProperty("disabled",he)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(y.sFG),y.rXU(y.aKT))};static#t=this.\u0275dir=y.FsC({type:Me})}return Me})(),se=(()=>{class Me extends K{static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,features:[y.Vt3]})}return Me})();const fe=new y.nKC(""),le={provide:fe,useExisting:(0,y.Rfq)(()=>de),multi:!0};let de=(()=>{class Me extends se{writeValue(he){this.setProperty("checked",he)}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("change",function(Do){return $t.onChange(Do.target.checked)})("blur",function(){return $t.onTouched()})},features:[y.Jv_([le]),y.Vt3]})}return Me})();const Ve={provide:fe,useExisting:(0,y.Rfq)(()=>Ge),multi:!0},qe=new y.nKC("");let Ge=(()=>{class Me extends K{constructor(he,Qe,$t){super(he,Qe),this._compositionMode=$t,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ee(){const Me=(0,$.QT)()?(0,$.QT)().getUserAgent():"";return/android (\d+)/.test(Me.toLowerCase())}())}writeValue(he){this.setProperty("value",he??"")}_handleInput(he){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(he)}_compositionStart(){this._composing=!0}_compositionEnd(he){this._composing=!1,this._compositionMode&&this.onChange(he)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(y.sFG),y.rXU(y.aKT),y.rXU(qe,8))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("input",function(Do){return $t._handleInput(Do.target.value)})("blur",function(){return $t.onTouched()})("compositionstart",function(){return $t._compositionStart()})("compositionend",function(Do){return $t._compositionEnd(Do.target.value)})},features:[y.Jv_([Ve]),y.Vt3]})}return Me})();function ht(Me){return null==Me||("string"==typeof Me||Array.isArray(Me))&&0===Me.length}function at(Me){return null!=Me&&"number"==typeof Me.length}const Tt=new y.nKC(""),dt=new y.nKC(""),ft=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ze{static min(Ie){return function B(Me){return Ie=>{if(ht(Ie.value)||ht(Me))return null;const he=parseFloat(Ie.value);return!isNaN(he)&&he<Me?{min:{min:Me,actual:Ie.value}}:null}}(Ie)}static max(Ie){return function Te(Me){return Ie=>{if(ht(Ie.value)||ht(Me))return null;const he=parseFloat(Ie.value);return!isNaN(he)&&he>Me?{max:{max:Me,actual:Ie.value}}:null}}(Ie)}static required(Ie){return be(Ie)}static requiredTrue(Ie){return function Pe(Me){return!0===Me.value?null:{required:!0}}(Ie)}static email(Ie){return function et(Me){return ht(Me.value)||ft.test(Me.value)?null:{email:!0}}(Ie)}static minLength(Ie){return function z(Me){return Ie=>ht(Ie.value)||!at(Ie.value)?null:Ie.value.length<Me?{minlength:{requiredLength:Me,actualLength:Ie.value.length}}:null}(Ie)}static maxLength(Ie){return function X(Me){return Ie=>at(Ie.value)&&Ie.value.length>Me?{maxlength:{requiredLength:Me,actualLength:Ie.value.length}}:null}(Ie)}static pattern(Ie){return function P(Me){if(!Me)return rt;let Ie,he;return"string"==typeof Me?(he="","^"!==Me.charAt(0)&&(he+="^"),he+=Me,"$"!==Me.charAt(Me.length-1)&&(he+="$"),Ie=new RegExp(he)):(he=Me.toString(),Ie=Me),Qe=>{if(ht(Qe.value))return null;const $t=Qe.value;return Ie.test($t)?null:{pattern:{requiredPattern:he,actualValue:$t}}}}(Ie)}static nullValidator(Ie){return null}static compose(Ie){return Xe(Ie)}static composeAsync(Ie){return Rt(Ie)}}function be(Me){return ht(Me.value)?{required:!0}:null}function rt(Me){return null}function Ue(Me){return null!=Me}function zt(Me){return(0,y.jNT)(Me)?(0,n.H)(Me):Me}function sn(Me){let Ie={};return Me.forEach(he=>{Ie=null!=he?{...Ie,...he}:Ie}),0===Object.keys(Ie).length?null:Ie}function Mt(Me,Ie){return Ie.map(he=>he(Me))}function Ke(Me){return Me.map(Ie=>function mt(Me){return!Me.validate}(Ie)?Ie:he=>Ie.validate(he))}function Xe(Me){if(!Me)return null;const Ie=Me.filter(Ue);return 0==Ie.length?null:function(he){return sn(Mt(he,Ie))}}function yt(Me){return null!=Me?Xe(Ke(Me)):null}function Rt(Me){if(!Me)return null;const Ie=Me.filter(Ue);return 0==Ie.length?null:function(he){const Qe=Mt(he,Ie).map(zt);return(0,a.p)(Qe).pipe((0,ae.T)(sn))}}function Vt(Me){return null!=Me?Rt(Ke(Me)):null}function _n(Me,Ie){return null===Me?[Ie]:Array.isArray(Me)?[...Me,Ie]:[Me,Ie]}function oi(Me){return Me._rawValidators}function Vn(Me){return Me._rawAsyncValidators}function Wn(Me){return Me?Array.isArray(Me)?Me:[Me]:[]}function qn(Me,Ie){return Array.isArray(Me)?Me.includes(Ie):Me===Ie}function Ni(Me,Ie){const he=Wn(Ie);return Wn(Me).forEach($t=>{qn(he,$t)||he.push($t)}),he}function Ci(Me,Ie){return Wn(Ie).filter(he=>!qn(Me,he))}class oo{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(Ie){this._rawValidators=Ie||[],this._composedValidatorFn=yt(this._rawValidators)}_setAsyncValidators(Ie){this._rawAsyncValidators=Ie||[],this._composedAsyncValidatorFn=Vt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ie){this._onDestroyCallbacks.push(Ie)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ie=>Ie()),this._onDestroyCallbacks=[]}reset(Ie=void 0){this.control&&this.control.reset(Ie)}hasError(Ie,he){return!!this.control&&this.control.hasError(Ie,he)}getError(Ie,he){return this.control?this.control.getError(Ie,he):null}}class Rn extends oo{get formDirective(){return null}get path(){return null}}class vi extends oo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class So{constructor(Ie){this._cd=Ie}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Yi=(()=>{class Me extends So{constructor(he){super(he)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(vi,2))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Qe,$t){2&Qe&&y.AVh("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)},features:[y.Vt3]})}return Me})(),En=(()=>{class Me extends So{constructor(he){super(he)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Rn,10))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Qe,$t){2&Qe&&y.AVh("ng-untouched",$t.isUntouched)("ng-touched",$t.isTouched)("ng-pristine",$t.isPristine)("ng-dirty",$t.isDirty)("ng-valid",$t.isValid)("ng-invalid",$t.isInvalid)("ng-pending",$t.isPending)("ng-submitted",$t.isSubmitted)},features:[y.Vt3]})}return Me})();const Yt="VALID",Hn="INVALID",Ri="PENDING",qt="DISABLED";class Cn{}class Bn extends Cn{constructor(Ie,he){super(),this.value=Ie,this.source=he}}class xt extends Cn{constructor(Ie,he){super(),this.pristine=Ie,this.source=he}}class en extends Cn{constructor(Ie,he){super(),this.touched=Ie,this.source=he}}class ot extends Cn{constructor(Ie,he){super(),this.status=Ie,this.source=he}}class Ct extends Cn{constructor(Ie){super(),this.source=Ie}}class tn extends Cn{constructor(Ie){super(),this.source=Ie}}function tt(Me){return(Ut(Me)?Me.validators:Me)||null}function Et(Me,Ie){return(Ut(Ie)?Ie.asyncValidators:Me)||null}function Ut(Me){return null!=Me&&!Array.isArray(Me)&&"object"==typeof Me}function Qn(Me,Ie,he){const Qe=Me.controls;if(!(Ie?Object.keys(Qe):Qe).length)throw new y.wOt(1e3,"");if(!Qe[he])throw new y.wOt(1001,"")}function Nt(Me,Ie,he){Me._forEachChild((Qe,$t)=>{if(void 0===he[$t])throw new y.wOt(1002,"")})}class Be{constructor(Ie,he){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,y.EWP)(()=>this.statusReactive()),this.statusReactive=(0,y.vPA)(void 0),this._pristine=(0,y.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,y.vPA)(!0),this._touched=(0,y.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,y.vPA)(!1),this._events=new L.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(Ie),this._assignAsyncValidators(he)}get validator(){return this._composedValidatorFn}set validator(Ie){this._rawValidators=this._composedValidatorFn=Ie}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ie){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ie}get parent(){return this._parent}get status(){return(0,y.O8t)(this.statusReactive)}set status(Ie){(0,y.O8t)(()=>this.statusReactive.set(Ie))}get valid(){return this.status===Yt}get invalid(){return this.status===Hn}get pending(){return this.status==Ri}get disabled(){return this.status===qt}get enabled(){return this.status!==qt}get pristine(){return(0,y.O8t)(this.pristineReactive)}set pristine(Ie){(0,y.O8t)(()=>this.pristineReactive.set(Ie))}get dirty(){return!this.pristine}get touched(){return(0,y.O8t)(this.touchedReactive)}set touched(Ie){(0,y.O8t)(()=>this.touchedReactive.set(Ie))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ie){this._assignValidators(Ie)}setAsyncValidators(Ie){this._assignAsyncValidators(Ie)}addValidators(Ie){this.setValidators(Ni(Ie,this._rawValidators))}addAsyncValidators(Ie){this.setAsyncValidators(Ni(Ie,this._rawAsyncValidators))}removeValidators(Ie){this.setValidators(Ci(Ie,this._rawValidators))}removeAsyncValidators(Ie){this.setAsyncValidators(Ci(Ie,this._rawAsyncValidators))}hasValidator(Ie){return qn(this._rawValidators,Ie)}hasAsyncValidator(Ie){return qn(this._rawAsyncValidators,Ie)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ie={}){const he=!1===this.touched;this.touched=!0;const Qe=Ie.sourceControl??this;this._parent&&!Ie.onlySelf&&this._parent.markAsTouched({...Ie,sourceControl:Qe}),he&&!1!==Ie.emitEvent&&this._events.next(new en(!0,Qe))}markAllAsTouched(Ie={}){this.markAsTouched({onlySelf:!0,emitEvent:Ie.emitEvent,sourceControl:this}),this._forEachChild(he=>he.markAllAsTouched(Ie))}markAsUntouched(Ie={}){const he=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Qe=Ie.sourceControl??this;this._forEachChild($t=>{$t.markAsUntouched({onlySelf:!0,emitEvent:Ie.emitEvent,sourceControl:Qe})}),this._parent&&!Ie.onlySelf&&this._parent._updateTouched(Ie,Qe),he&&!1!==Ie.emitEvent&&this._events.next(new en(!1,Qe))}markAsDirty(Ie={}){const he=!0===this.pristine;this.pristine=!1;const Qe=Ie.sourceControl??this;this._parent&&!Ie.onlySelf&&this._parent.markAsDirty({...Ie,sourceControl:Qe}),he&&!1!==Ie.emitEvent&&this._events.next(new xt(!1,Qe))}markAsPristine(Ie={}){const he=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Qe=Ie.sourceControl??this;this._forEachChild($t=>{$t.markAsPristine({onlySelf:!0,emitEvent:Ie.emitEvent})}),this._parent&&!Ie.onlySelf&&this._parent._updatePristine(Ie,Qe),he&&!1!==Ie.emitEvent&&this._events.next(new xt(!0,Qe))}markAsPending(Ie={}){this.status=Ri;const he=Ie.sourceControl??this;!1!==Ie.emitEvent&&(this._events.next(new ot(this.status,he)),this.statusChanges.emit(this.status)),this._parent&&!Ie.onlySelf&&this._parent.markAsPending({...Ie,sourceControl:he})}disable(Ie={}){const he=this._parentMarkedDirty(Ie.onlySelf);this.status=qt,this.errors=null,this._forEachChild($t=>{$t.disable({...Ie,onlySelf:!0})}),this._updateValue();const Qe=Ie.sourceControl??this;!1!==Ie.emitEvent&&(this._events.next(new Bn(this.value,Qe)),this._events.next(new ot(this.status,Qe)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ie,skipPristineCheck:he},this),this._onDisabledChange.forEach($t=>$t(!0))}enable(Ie={}){const he=this._parentMarkedDirty(Ie.onlySelf);this.status=Yt,this._forEachChild(Qe=>{Qe.enable({...Ie,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ie.emitEvent}),this._updateAncestors({...Ie,skipPristineCheck:he},this),this._onDisabledChange.forEach(Qe=>Qe(!1))}_updateAncestors(Ie,he){this._parent&&!Ie.onlySelf&&(this._parent.updateValueAndValidity(Ie),Ie.skipPristineCheck||this._parent._updatePristine({},he),this._parent._updateTouched({},he))}setParent(Ie){this._parent=Ie}getRawValue(){return this.value}updateValueAndValidity(Ie={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Qe=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yt||this.status===Ri)&&this._runAsyncValidator(Qe,Ie.emitEvent)}const he=Ie.sourceControl??this;!1!==Ie.emitEvent&&(this._events.next(new Bn(this.value,he)),this._events.next(new ot(this.status,he)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ie.onlySelf&&this._parent.updateValueAndValidity({...Ie,sourceControl:he})}_updateTreeValidity(Ie={emitEvent:!0}){this._forEachChild(he=>he._updateTreeValidity(Ie)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ie.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qt:Yt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ie,he){if(this.asyncValidator){this.status=Ri,this._hasOwnPendingAsyncValidator={emitEvent:!1!==he};const Qe=zt(this.asyncValidator(this));this._asyncValidationSubscription=Qe.subscribe($t=>{this._hasOwnPendingAsyncValidator=null,this.setErrors($t,{emitEvent:he,shouldHaveEmitted:Ie})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const Ie=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,Ie}return!1}setErrors(Ie,he={}){this.errors=Ie,this._updateControlsErrors(!1!==he.emitEvent,this,he.shouldHaveEmitted)}get(Ie){let he=Ie;return null==he||(Array.isArray(he)||(he=he.split(".")),0===he.length)?null:he.reduce((Qe,$t)=>Qe&&Qe._find($t),this)}getError(Ie,he){const Qe=he?this.get(he):this;return Qe&&Qe.errors?Qe.errors[Ie]:null}hasError(Ie,he){return!!this.getError(Ie,he)}get root(){let Ie=this;for(;Ie._parent;)Ie=Ie._parent;return Ie}_updateControlsErrors(Ie,he,Qe){this.status=this._calculateStatus(),Ie&&this.statusChanges.emit(this.status),(Ie||Qe)&&this._events.next(new ot(this.status,he)),this._parent&&this._parent._updateControlsErrors(Ie,he,Qe)}_initObservables(){this.valueChanges=new y.bkB,this.statusChanges=new y.bkB}_calculateStatus(){return this._allControlsDisabled()?qt:this.errors?Hn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ri)?Ri:this._anyControlsHaveStatus(Hn)?Hn:Yt}_anyControlsHaveStatus(Ie){return this._anyControls(he=>he.status===Ie)}_anyControlsDirty(){return this._anyControls(Ie=>Ie.dirty)}_anyControlsTouched(){return this._anyControls(Ie=>Ie.touched)}_updatePristine(Ie,he){const Qe=!this._anyControlsDirty(),$t=this.pristine!==Qe;this.pristine=Qe,this._parent&&!Ie.onlySelf&&this._parent._updatePristine(Ie,he),$t&&this._events.next(new xt(this.pristine,he))}_updateTouched(Ie={},he){this.touched=this._anyControlsTouched(),this._events.next(new en(this.touched,he)),this._parent&&!Ie.onlySelf&&this._parent._updateTouched(Ie,he)}_registerOnCollectionChange(Ie){this._onCollectionChange=Ie}_setUpdateStrategy(Ie){Ut(Ie)&&null!=Ie.updateOn&&(this._updateOn=Ie.updateOn)}_parentMarkedDirty(Ie){return!Ie&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ie){return null}_assignValidators(Ie){this._rawValidators=Array.isArray(Ie)?Ie.slice():Ie,this._composedValidatorFn=function ut(Me){return Array.isArray(Me)?yt(Me):Me||null}(this._rawValidators)}_assignAsyncValidators(Ie){this._rawAsyncValidators=Array.isArray(Ie)?Ie.slice():Ie,this._composedAsyncValidatorFn=function gn(Me){return Array.isArray(Me)?Vt(Me):Me||null}(this._rawAsyncValidators)}}class we extends Be{constructor(Ie,he,Qe){super(tt(he),Et(Qe,he)),this.controls=Ie,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ie,he){return this.controls[Ie]?this.controls[Ie]:(this.controls[Ie]=he,he.setParent(this),he._registerOnCollectionChange(this._onCollectionChange),he)}addControl(Ie,he,Qe={}){this.registerControl(Ie,he),this.updateValueAndValidity({emitEvent:Qe.emitEvent}),this._onCollectionChange()}removeControl(Ie,he={}){this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),delete this.controls[Ie],this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}setControl(Ie,he,Qe={}){this.controls[Ie]&&this.controls[Ie]._registerOnCollectionChange(()=>{}),delete this.controls[Ie],he&&this.registerControl(Ie,he),this.updateValueAndValidity({emitEvent:Qe.emitEvent}),this._onCollectionChange()}contains(Ie){return this.controls.hasOwnProperty(Ie)&&this.controls[Ie].enabled}setValue(Ie,he={}){Nt(this,0,Ie),Object.keys(Ie).forEach(Qe=>{Qn(this,!0,Qe),this.controls[Qe].setValue(Ie[Qe],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(Ie,he={}){null!=Ie&&(Object.keys(Ie).forEach(Qe=>{const $t=this.controls[Qe];$t&&$t.patchValue(Ie[Qe],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(Ie={},he={}){this._forEachChild((Qe,$t)=>{Qe.reset(Ie?Ie[$t]:null,{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he,this),this._updateTouched(he,this),this.updateValueAndValidity(he)}getRawValue(){return this._reduceChildren({},(Ie,he,Qe)=>(Ie[Qe]=he.getRawValue(),Ie))}_syncPendingControls(){let Ie=this._reduceChildren(!1,(he,Qe)=>!!Qe._syncPendingControls()||he);return Ie&&this.updateValueAndValidity({onlySelf:!0}),Ie}_forEachChild(Ie){Object.keys(this.controls).forEach(he=>{const Qe=this.controls[he];Qe&&Ie(Qe,he)})}_setUpControls(){this._forEachChild(Ie=>{Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ie){for(const[he,Qe]of Object.entries(this.controls))if(this.contains(he)&&Ie(Qe))return!0;return!1}_reduceValue(){return this._reduceChildren({},(he,Qe,$t)=>((Qe.enabled||this.disabled)&&(he[$t]=Qe.value),he))}_reduceChildren(Ie,he){let Qe=Ie;return this._forEachChild(($t,Ji)=>{Qe=he(Qe,$t,Ji)}),Qe}_allControlsDisabled(){for(const Ie of Object.keys(this.controls))if(this.controls[Ie].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ie){return this.controls.hasOwnProperty(Ie)?this.controls[Ie]:null}}const re=we;class We extends we{}const an=new y.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>yn}),yn="always";function di(Me,Ie){return[...Ie.path,Me]}function ui(Me,Ie,he=yn){Zt(Me,Ie),Ie.valueAccessor.writeValue(Me.value),(Me.disabled||"always"===he)&&Ie.valueAccessor.setDisabledState?.(Me.disabled),function gi(Me,Ie){Ie.valueAccessor.registerOnChange(he=>{Me._pendingValue=he,Me._pendingChange=!0,Me._pendingDirty=!0,"change"===Me.updateOn&&ro(Me,Ie)})}(Me,Ie),function go(Me,Ie){const he=(Qe,$t)=>{Ie.valueAccessor.writeValue(Qe),$t&&Ie.viewToModelUpdate(Qe)};Me.registerOnChange(he),Ie._registerOnDestroy(()=>{Me._unregisterOnChange(he)})}(Me,Ie),function $i(Me,Ie){Ie.valueAccessor.registerOnTouched(()=>{Me._pendingTouched=!0,"blur"===Me.updateOn&&Me._pendingChange&&ro(Me,Ie),"submit"!==Me.updateOn&&Me.markAsTouched()})}(Me,Ie),function hn(Me,Ie){if(Ie.valueAccessor.setDisabledState){const he=Qe=>{Ie.valueAccessor.setDisabledState(Qe)};Me.registerOnDisabledChange(he),Ie._registerOnDestroy(()=>{Me._unregisterOnDisabledChange(he)})}}(Me,Ie)}function Qi(Me,Ie,he=!0){const Qe=()=>{};Ie.valueAccessor&&(Ie.valueAccessor.registerOnChange(Qe),Ie.valueAccessor.registerOnTouched(Qe)),Dn(Me,Ie),Me&&(Ie._invokeOnDestroyCallbacks(),Me._registerOnCollectionChange(()=>{}))}function yo(Me,Ie){Me.forEach(he=>{he.registerOnValidatorChange&&he.registerOnValidatorChange(Ie)})}function Zt(Me,Ie){const he=oi(Me);null!==Ie.validator?Me.setValidators(_n(he,Ie.validator)):"function"==typeof he&&Me.setValidators([he]);const Qe=Vn(Me);null!==Ie.asyncValidator?Me.setAsyncValidators(_n(Qe,Ie.asyncValidator)):"function"==typeof Qe&&Me.setAsyncValidators([Qe]);const $t=()=>Me.updateValueAndValidity();yo(Ie._rawValidators,$t),yo(Ie._rawAsyncValidators,$t)}function Dn(Me,Ie){let he=!1;if(null!==Me){if(null!==Ie.validator){const $t=oi(Me);if(Array.isArray($t)&&$t.length>0){const Ji=$t.filter(Do=>Do!==Ie.validator);Ji.length!==$t.length&&(he=!0,Me.setValidators(Ji))}}if(null!==Ie.asyncValidator){const $t=Vn(Me);if(Array.isArray($t)&&$t.length>0){const Ji=$t.filter(Do=>Do!==Ie.asyncValidator);Ji.length!==$t.length&&(he=!0,Me.setAsyncValidators(Ji))}}}const Qe=()=>{};return yo(Ie._rawValidators,Qe),yo(Ie._rawAsyncValidators,Qe),he}function ro(Me,Ie){Me._pendingDirty&&Me.markAsDirty(),Me.setValue(Me._pendingValue,{emitModelToViewChange:!1}),Ie.viewToModelUpdate(Me._pendingValue),Me._pendingChange=!1}function Fn(Me,Ie){if(!Me.hasOwnProperty("model"))return!1;const he=Me.model;return!!he.isFirstChange()||!Object.is(Ie,he.currentValue)}function On(Me,Ie){if(!Ie)return null;let he,Qe,$t;return Array.isArray(Ie),Ie.forEach(Ji=>{Ji.constructor===Ge?he=Ji:function ai(Me){return Object.getPrototypeOf(Me.constructor)===se}(Ji)?Qe=Ji:$t=Ji}),$t||Qe||he||null}function Bo(Me,Ie){const he=Me.indexOf(Ie);he>-1&&Me.splice(he,1)}function wo(Me){return"object"==typeof Me&&null!==Me&&2===Object.keys(Me).length&&"value"in Me&&"disabled"in Me}Promise.resolve();const Io=class extends Be{constructor(Ie=null,he,Qe){super(tt(he),Et(Qe,he)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ie),this._setUpdateStrategy(he),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ut(he)&&(he.nonNullable||he.initialValueIsDefault)&&(this.defaultValue=wo(Ie)?Ie.value:Ie)}setValue(Ie,he={}){this.value=this._pendingValue=Ie,this._onChange.length&&!1!==he.emitModelToViewChange&&this._onChange.forEach(Qe=>Qe(this.value,!1!==he.emitViewToModelChange)),this.updateValueAndValidity(he)}patchValue(Ie,he={}){this.setValue(Ie,he)}reset(Ie=this.defaultValue,he={}){this._applyFormState(Ie),this.markAsPristine(he),this.markAsUntouched(he),this.setValue(this.value,he),this._pendingChange=!1}_updateValue(){}_anyControls(Ie){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ie){this._onChange.push(Ie)}_unregisterOnChange(Ie){Bo(this._onChange,Ie)}registerOnDisabledChange(Ie){this._onDisabledChange.push(Ie)}_unregisterOnDisabledChange(Ie){Bo(this._onDisabledChange,Ie)}_forEachChild(Ie){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ie){wo(Ie)?(this.value=this._pendingValue=Ie.value,Ie.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ie}},jo=Io;let na=(()=>{class Me extends Rn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return di(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,features:[y.Vt3]})}return Me})();const Pl={provide:vi,useExisting:(0,y.Rfq)(()=>Ea)},sa=Promise.resolve();let Ea=(()=>{class Me extends vi{constructor(he,Qe,$t,Ji,Do,os){super(),this._changeDetectorRef=Do,this.callSetDisabledState=os,this.control=new Io,this._registered=!1,this.name="",this.update=new y.bkB,this._parent=he,this._setValidators(Qe),this._setAsyncValidators($t),this.valueAccessor=On(0,Ji)}ngOnChanges(he){if(this._checkForErrors(),!this._registered||"name"in he){if(this._registered&&(this._checkName(),this.formDirective)){const Qe=he.name.previousValue;this.formDirective.removeControl({name:Qe,path:this._getPath(Qe)})}this._setUpControl()}"isDisabled"in he&&this._updateDisabled(he),Fn(he,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ui(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(he){sa.then(()=>{this.control.setValue(he,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(he){const Qe=he.isDisabled.currentValue,$t=0!==Qe&&(0,y.L39)(Qe);sa.then(()=>{$t&&!this.control.disabled?this.control.disable():!$t&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(he){return this._parent?di(he,this._parent):[he]}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Rn,9),y.rXU(Tt,10),y.rXU(dt,10),y.rXU(fe,10),y.rXU(y.gRc,8),y.rXU(an,8))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[y.Jv_([Pl]),y.Vt3,y.OA$]})}return Me})(),bc=(()=>{class Me{static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Me})();const aa={provide:fe,useExisting:(0,y.Rfq)(()=>va),multi:!0};let va=(()=>{class Me extends se{writeValue(he){this.setProperty("value",he??"")}registerOnChange(he){this.onChange=Qe=>{he(""==Qe?null:parseFloat(Qe))}}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("input",function(Do){return $t.onChange(Do.target.value)})("blur",function(){return $t.onTouched()})},features:[y.Jv_([aa]),y.Vt3]})}return Me})();const Vs=new y.nKC(""),_a={provide:vi,useExisting:(0,y.Rfq)(()=>ia)};let ia=(()=>{class Me extends vi{set isDisabled(he){}static#e=this._ngModelWarningSentOnce=!1;constructor(he,Qe,$t,Ji,Do){super(),this._ngModelWarningConfig=Ji,this.callSetDisabledState=Do,this.update=new y.bkB,this._ngModelWarningSent=!1,this._setValidators(he),this._setAsyncValidators(Qe),this.valueAccessor=On(0,$t)}ngOnChanges(he){if(this._isControlChanged(he)){const Qe=he.form.previousValue;Qe&&Qi(Qe,this,!1),ui(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Fn(he,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Qi(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}_isControlChanged(he){return he.hasOwnProperty("form")}static#t=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Tt,10),y.rXU(dt,10),y.rXU(fe,10),y.rXU(Vs,8),y.rXU(an,8))};static#n=this.\u0275dir=y.FsC({type:Me,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[y.Jv_([_a]),y.Vt3,y.OA$]})}return Me})();const Gs={provide:Rn,useExisting:(0,y.Rfq)(()=>Ur)};let Ur=(()=>{class Me extends Rn{get submitted(){return(0,y.O8t)(this._submittedReactive)}set submitted(he){this._submittedReactive.set(he)}constructor(he,Qe,$t){super(),this.callSetDisabledState=$t,this._submitted=(0,y.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,y.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new y.bkB,this._setValidators(he),this._setAsyncValidators(Qe)}ngOnChanges(he){this._checkFormPresent(),he.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(he){const Qe=this.form.get(he.path);return ui(Qe,he,this.callSetDisabledState),Qe.updateValueAndValidity({emitEvent:!1}),this.directives.push(he),Qe}getControl(he){return this.form.get(he.path)}removeControl(he){Qi(he.control||null,he,!1),function Ln(Me,Ie){const he=Me.indexOf(Ie);he>-1&&Me.splice(he,1)}(this.directives,he)}addFormGroup(he){this._setUpFormContainer(he)}removeFormGroup(he){this._cleanUpFormContainer(he)}getFormGroup(he){return this.form.get(he.path)}addFormArray(he){this._setUpFormContainer(he)}removeFormArray(he){this._cleanUpFormContainer(he)}getFormArray(he){return this.form.get(he.path)}updateModel(he,Qe){this.form.get(he.path).setValue(Qe)}onSubmit(he){return this._submittedReactive.set(!0),function ln(Me,Ie){Me._syncPendingControls(),Ie.forEach(he=>{const Qe=he.control;"submit"===Qe.updateOn&&Qe._pendingChange&&(he.viewToModelUpdate(Qe._pendingValue),Qe._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(he),this.form._events.next(new Ct(this.control)),"dialog"===he?.target?.method}onReset(){this.resetForm()}resetForm(he=void 0){this.form.reset(he),this._submittedReactive.set(!1),this.form._events.next(new tn(this.form))}_updateDomValue(){this.directives.forEach(he=>{const Qe=he.control,$t=this.form.get(he.path);Qe!==$t&&(Qi(Qe||null,he),(Me=>Me instanceof Io)($t)&&(ui($t,he,this.callSetDisabledState),he.control=$t))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(he){const Qe=this.form.get(he.path);(function Ao(Me,Ie){Zt(Me,Ie)})(Qe,he),Qe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(he){if(this.form){const Qe=this.form.get(he.path);Qe&&function Yo(Me,Ie){return Dn(Me,Ie)}(Qe,he)&&Qe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zt(this.form,this),this._oldForm&&Dn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Tt,10),y.rXU(dt,10),y.rXU(an,8))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","formGroup",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("submit",function(Do){return $t.onSubmit(Do)})("reset",function(){return $t.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[y.Jv_([Gs]),y.Vt3,y.OA$]})}return Me})();const ws={provide:Rn,useExisting:(0,y.Rfq)(()=>io)};let io=(()=>{class Me extends na{constructor(he,Qe,$t){super(),this.name=null,this._parent=he,this._setValidators(Qe),this._setAsyncValidators($t)}_checkParentType(){wn(this._parent)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Rn,13),y.rXU(Tt,10),y.rXU(dt,10))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[y.Jv_([ws]),y.Vt3]})}return Me})();const wt={provide:Rn,useExisting:(0,y.Rfq)(()=>nn)};let nn=(()=>{class Me extends Rn{constructor(he,Qe,$t){super(),this.name=null,this._parent=he,this._setValidators(Qe),this._setAsyncValidators($t)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return di(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){wn(this._parent)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Rn,13),y.rXU(Tt,10),y.rXU(dt,10))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[y.Jv_([wt]),y.Vt3]})}return Me})();function wn(Me){return!(Me instanceof io||Me instanceof Ur||Me instanceof nn)}const Mi={provide:vi,useExisting:(0,y.Rfq)(()=>ko)};let ko=(()=>{class Me extends vi{set isDisabled(he){}static#e=this._ngModelWarningSentOnce=!1;constructor(he,Qe,$t,Ji,Do){super(),this._ngModelWarningConfig=Do,this._added=!1,this.name=null,this.update=new y.bkB,this._ngModelWarningSent=!1,this._parent=he,this._setValidators(Qe),this._setAsyncValidators($t),this.valueAccessor=On(0,Ji)}ngOnChanges(he){this._added||this._setUpControl(),Fn(he,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}get path(){return di(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(Rn,13),y.rXU(Tt,10),y.rXU(dt,10),y.rXU(fe,10),y.rXU(Vs,8))};static#n=this.\u0275dir=y.FsC({type:Me,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[y.Jv_([Mi]),y.Vt3,y.OA$]})}return Me})();const $o={provide:fe,useExisting:(0,y.Rfq)(()=>lo),multi:!0};function nr(Me,Ie){return null==Me?`${Ie}`:(Ie&&"object"==typeof Ie&&(Ie="Object"),`${Me}: ${Ie}`.slice(0,50))}let lo=(()=>{class Me extends se{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(he){this._compareWith=he}writeValue(he){this.value=he;const $t=nr(this._getOptionId(he),he);this.setProperty("value",$t)}registerOnChange(he){this.onChange=Qe=>{this.value=this._getOptionValue(Qe),he(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(he){for(const Qe of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Qe),he))return Qe;return null}_getOptionValue(he){const Qe=function qo(Me){return Me.split(":")[0]}(he);return this._optionMap.has(Qe)?this._optionMap.get(Qe):he}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("change",function(Do){return $t.onChange(Do.target.value)})("blur",function(){return $t.onTouched()})},inputs:{compareWith:"compareWith"},features:[y.Jv_([$o]),y.Vt3]})}return Me})(),Ts=(()=>{class Me{constructor(he,Qe,$t){this._element=he,this._renderer=Qe,this._select=$t,this._select&&(this.id=this._select._registerOption())}set ngValue(he){null!=this._select&&(this._select._optionMap.set(this.id,he),this._setElementValue(nr(this.id,he)),this._select.writeValue(this._select.value))}set value(he){this._setElementValue(he),this._select&&this._select.writeValue(this._select.value)}_setElementValue(he){this._renderer.setProperty(this._element.nativeElement,"value",he)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(y.aKT),y.rXU(y.sFG),y.rXU(lo,9))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Me})();const Ss={provide:fe,useExisting:(0,y.Rfq)(()=>ls),multi:!0};function ur(Me,Ie){return null==Me?`${Ie}`:("string"==typeof Ie&&(Ie=`'${Ie}'`),Ie&&"object"==typeof Ie&&(Ie="Object"),`${Me}: ${Ie}`.slice(0,50))}let ls=(()=>{class Me extends se{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(he){this._compareWith=he}writeValue(he){let Qe;if(this.value=he,Array.isArray(he)){const $t=he.map(Ji=>this._getOptionId(Ji));Qe=(Ji,Do)=>{Ji._setSelected($t.indexOf(Do.toString())>-1)}}else Qe=($t,Ji)=>{$t._setSelected(!1)};this._optionMap.forEach(Qe)}registerOnChange(he){this.onChange=Qe=>{const $t=[],Ji=Qe.selectedOptions;if(void 0!==Ji){const Do=Ji;for(let os=0;os<Do.length;os++){const Yr=this._getOptionValue(Do[os].value);$t.push(Yr)}}else{const Do=Qe.options;for(let os=0;os<Do.length;os++){const li=Do[os];if(li.selected){const Yr=this._getOptionValue(li.value);$t.push(Yr)}}}this.value=$t,he($t)}}_registerOption(he){const Qe=(this._idCounter++).toString();return this._optionMap.set(Qe,he),Qe}_getOptionId(he){for(const Qe of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Qe)._value,he))return Qe;return null}_getOptionValue(he){const Qe=function Ks(Me){return Me.split(":")[0]}(he);return this._optionMap.has(Qe)?this._optionMap.get(Qe)._value:he}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Qe,$t){1&Qe&&y.bIt("change",function(Do){return $t.onChange(Do.target)})("blur",function(){return $t.onTouched()})},inputs:{compareWith:"compareWith"},features:[y.Jv_([Ss]),y.Vt3]})}return Me})(),xl=(()=>{class Me{constructor(he,Qe,$t){this._element=he,this._renderer=Qe,this._select=$t,this._select&&(this.id=this._select._registerOption(this))}set ngValue(he){null!=this._select&&(this._value=he,this._setElementValue(ur(this.id,he)),this._select.writeValue(this._select.value))}set value(he){this._select?(this._value=he,this._setElementValue(ur(this.id,he)),this._select.writeValue(this._select.value)):this._setElementValue(he)}_setElementValue(he){this._renderer.setProperty(this._element.nativeElement,"value",he)}_setSelected(he){this._renderer.setProperty(this._element.nativeElement,"selected",he)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)(y.rXU(y.aKT),y.rXU(y.sFG),y.rXU(ls,9))};static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Me})(),cs=(()=>{class Me{constructor(){this._validator=rt}ngOnChanges(he){if(this.inputName in he){const Qe=this.normalizeInput(he[this.inputName].currentValue);this._enabled=this.enabled(Qe),this._validator=this._enabled?this.createValidator(Qe):rt,this._onChange&&this._onChange()}}validate(he){return this._validator(he)}registerOnValidatorChange(he){this._onChange=he}enabled(he){return null!=he}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275dir=y.FsC({type:Me,features:[y.OA$]})}return Me})();const gs={provide:Tt,useExisting:(0,y.Rfq)(()=>ms),multi:!0};let ms=(()=>{class Me extends cs{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=y.L39,this.createValidator=he=>be}enabled(he){return he}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275dir=y.FsC({type:Me,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Qe,$t){2&Qe&&y.BMQ("required",$t._enabled?"":null)},inputs:{required:"required"},features:[y.Jv_([gs]),y.Vt3]})}return Me})(),Bl=(()=>{class Me{static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275mod=y.$C({type:Me});static#n=this.\u0275inj=y.G2t({})}return Me})();class Wa extends Be{constructor(Ie,he,Qe){super(tt(he),Et(Qe,he)),this.controls=Ie,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ie){return this.controls[this._adjustIndex(Ie)]}push(Ie,he={}){this.controls.push(Ie),this._registerControl(Ie),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}insert(Ie,he,Qe={}){this.controls.splice(Ie,0,he),this._registerControl(he),this.updateValueAndValidity({emitEvent:Qe.emitEvent})}removeAt(Ie,he={}){let Qe=this._adjustIndex(Ie);Qe<0&&(Qe=0),this.controls[Qe]&&this.controls[Qe]._registerOnCollectionChange(()=>{}),this.controls.splice(Qe,1),this.updateValueAndValidity({emitEvent:he.emitEvent})}setControl(Ie,he,Qe={}){let $t=this._adjustIndex(Ie);$t<0&&($t=0),this.controls[$t]&&this.controls[$t]._registerOnCollectionChange(()=>{}),this.controls.splice($t,1),he&&(this.controls.splice($t,0,he),this._registerControl(he)),this.updateValueAndValidity({emitEvent:Qe.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ie,he={}){Nt(this,0,Ie),Ie.forEach((Qe,$t)=>{Qn(this,!1,$t),this.at($t).setValue(Qe,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(Ie,he={}){null!=Ie&&(Ie.forEach((Qe,$t)=>{this.at($t)&&this.at($t).patchValue(Qe,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(Ie=[],he={}){this._forEachChild((Qe,$t)=>{Qe.reset(Ie[$t],{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he,this),this._updateTouched(he,this),this.updateValueAndValidity(he)}getRawValue(){return this.controls.map(Ie=>Ie.getRawValue())}clear(Ie={}){this.controls.length<1||(this._forEachChild(he=>he._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ie.emitEvent}))}_adjustIndex(Ie){return Ie<0?Ie+this.length:Ie}_syncPendingControls(){let Ie=this.controls.reduce((he,Qe)=>!!Qe._syncPendingControls()||he,!1);return Ie&&this.updateValueAndValidity({onlySelf:!0}),Ie}_forEachChild(Ie){this.controls.forEach((he,Qe)=>{Ie(he,Qe)})}_updateValue(){this.value=this.controls.filter(Ie=>Ie.enabled||this.disabled).map(Ie=>Ie.value)}_anyControls(Ie){return this.controls.some(he=>he.enabled&&Ie(he))}_setUpControls(){this._forEachChild(Ie=>this._registerControl(Ie))}_allControlsDisabled(){for(const Ie of this.controls)if(Ie.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ie){Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange)}_find(Ie){return this.at(Ie)??null}}function Ma(Me){return!!Me&&(void 0!==Me.asyncValidators||void 0!==Me.validators||void 0!==Me.updateOn)}let xr=(()=>{class Me{constructor(){this.useNonNullable=!1}get nonNullable(){const he=new Me;return he.useNonNullable=!0,he}group(he,Qe=null){const $t=this._reduceControls(he);let Ji={};return Ma(Qe)?Ji=Qe:null!==Qe&&(Ji.validators=Qe.validator,Ji.asyncValidators=Qe.asyncValidator),new we($t,Ji)}record(he,Qe=null){const $t=this._reduceControls(he);return new We($t,Qe)}control(he,Qe,$t){let Ji={};return this.useNonNullable?(Ma(Qe)?Ji=Qe:(Ji.validators=Qe,Ji.asyncValidators=$t),new Io(he,{...Ji,nonNullable:!0})):new Io(he,Qe,$t)}array(he,Qe,$t){const Ji=he.map(Do=>this._createControl(Do));return new Wa(Ji,Qe,$t)}_reduceControls(he){const Qe={};return Object.keys(he).forEach($t=>{Qe[$t]=this._createControl(he[$t])}),Qe}_createControl(he){return he instanceof Io||he instanceof Be?he:Array.isArray(he)?this.control(he[0],he.length>1?he[1]:null,he.length>2?he[2]:null):this.control(he)}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275prov=y.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),Rc=(()=>{class Me extends xr{group(he,Qe=null){return super.group(he,Qe)}control(he,Qe,$t){return super.control(he,Qe,$t)}array(he,Qe,$t){return super.array(he,Qe,$t)}static#e=this.\u0275fac=(()=>{let he;return function($t){return(he||(he=y.xGo(Me)))($t||Me)}})();static#t=this.\u0275prov=y.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),ca=(()=>{class Me{static withConfig(he){return{ngModule:Me,providers:[{provide:an,useValue:he.callSetDisabledState??yn}]}}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275mod=y.$C({type:Me});static#n=this.\u0275inj=y.G2t({imports:[Bl]})}return Me})(),Ka=(()=>{class Me{static withConfig(he){return{ngModule:Me,providers:[{provide:Vs,useValue:he.warnOnNgModelWithFormControl??"always"},{provide:an,useValue:he.callSetDisabledState??yn}]}}static#e=this.\u0275fac=function(Qe){return new(Qe||Me)};static#t=this.\u0275mod=y.$C({type:Me});static#n=this.\u0275inj=y.G2t({imports:[Bl]})}return Me})()},345:(De,A,C)=>{"use strict";C.d(A,{B7:()=>Pe,Bb:()=>So,W8:()=>fi,hE:()=>Yi,sG:()=>Ci,up:()=>Li});var y=C(60177),$=C(93953);class n extends y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends n{static makeCurrent(){(0,y.ZD)(new a)}onAndCancel(en,ot,Ct){return en.addEventListener(ot,Ct),()=>{en.removeEventListener(ot,Ct)}}dispatchEvent(en,ot){en.dispatchEvent(ot)}remove(en){en.remove()}createElement(en,ot){return(ot=ot||this.getDefaultDocument()).createElement(en)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(en){return en.nodeType===Node.ELEMENT_NODE}isShadowRoot(en){return en instanceof DocumentFragment}getGlobalEventTarget(en,ot){return"window"===ot?window:"document"===ot?en:"body"===ot?en.body:null}getBaseHref(en){const ot=function ae(){return L=L||document.querySelector("base"),L?L.getAttribute("href"):null}();return null==ot?null:function K(xt){return new URL(xt,document.baseURI).pathname}(ot)}resetBaseElement(){L=null}getUserAgent(){return window.navigator.userAgent}getCookie(en){return(0,y._b)(document.cookie,en)}}let L=null,fe=(()=>{class xt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();const le=new $.nKC("");let de=(()=>{class xt{constructor(ot,Ct){this._zone=Ct,this._eventNameToPlugin=new Map,ot.forEach(tn=>{tn.manager=this}),this._plugins=ot.slice().reverse()}addEventListener(ot,Ct,tn){return this._findPluginFor(Ct).addEventListener(ot,Ct,tn)}getZone(){return this._zone}_findPluginFor(ot){let Ct=this._eventNameToPlugin.get(ot);if(Ct)return Ct;if(Ct=this._plugins.find(tt=>tt.supports(ot)),!Ct)throw new $.wOt(5101,!1);return this._eventNameToPlugin.set(ot,Ct),Ct}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(le),$.KVO($.SKi))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();class Ve{constructor(en){this._doc=en}}const Ee="ng-app-id";let qe=(()=>{class xt{constructor(ot,Ct,tn,tt={}){this.doc=ot,this.appId=Ct,this.nonce=tn,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.Vy)(tt),this.resetHostNodes()}addStyles(ot){for(const Ct of ot)1===this.changeUsageCount(Ct,1)&&this.onStyleAdded(Ct)}removeStyles(ot){for(const Ct of ot)this.changeUsageCount(Ct,-1)<=0&&this.onStyleRemoved(Ct)}ngOnDestroy(){const ot=this.styleNodesInDOM;ot&&(ot.forEach(Ct=>Ct.remove()),ot.clear());for(const Ct of this.getAllStyles())this.onStyleRemoved(Ct);this.resetHostNodes()}addHost(ot){this.hostNodes.add(ot);for(const Ct of this.getAllStyles())this.addStyleToHost(ot,Ct)}removeHost(ot){this.hostNodes.delete(ot)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ot){for(const Ct of this.hostNodes)this.addStyleToHost(Ct,ot)}onStyleRemoved(ot){const Ct=this.styleRef;Ct.get(ot)?.elements?.forEach(tn=>tn.remove()),Ct.delete(ot)}collectServerRenderedStyles(){const ot=this.doc.head?.querySelectorAll(`style[${Ee}="${this.appId}"]`);if(ot?.length){const Ct=new Map;return ot.forEach(tn=>{null!=tn.textContent&&Ct.set(tn.textContent,tn)}),Ct}return null}changeUsageCount(ot,Ct){const tn=this.styleRef;if(tn.has(ot)){const tt=tn.get(ot);return tt.usage+=Ct,tt.usage}return tn.set(ot,{usage:Ct,elements:[]}),Ct}getStyleElement(ot,Ct){const tn=this.styleNodesInDOM,tt=tn?.get(Ct);if(tt?.parentNode===ot)return tn.delete(Ct),tt.removeAttribute(Ee),tt;{const ut=this.doc.createElement("style");return this.nonce&&ut.setAttribute("nonce",this.nonce),ut.textContent=Ct,this.platformIsServer&&ut.setAttribute(Ee,this.appId),ot.appendChild(ut),ut}}addStyleToHost(ot,Ct){const tn=this.getStyleElement(ot,Ct),tt=this.styleRef,ut=tt.get(Ct)?.elements;ut?ut.push(tn):tt.set(Ct,{elements:[tn],usage:1})}resetHostNodes(){const ot=this.hostNodes;ot.clear(),ot.add(this.doc.head)}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ),$.KVO($.sZ2),$.KVO($.BIS,8),$.KVO($.Agw))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();const Ge={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"},ht=/%COMP%/g,ze=new $.nKC("",{providedIn:"root",factory:()=>!0});function be(xt,en){return en.map(ot=>ot.replace(ht,xt))}let Pe=(()=>{class xt{constructor(ot,Ct,tn,tt,ut,Et,gn,Ut=null){this.eventManager=ot,this.sharedStylesHost=Ct,this.appId=tn,this.removeStylesOnCompDestroy=tt,this.doc=ut,this.platformId=Et,this.ngZone=gn,this.nonce=Ut,this.rendererByCompId=new Map,this.platformIsServer=(0,y.Vy)(Et),this.defaultRenderer=new et(ot,ut,gn,this.platformIsServer)}createRenderer(ot,Ct){if(!ot||!Ct)return this.defaultRenderer;this.platformIsServer&&Ct.encapsulation===$.gXe.ShadowDom&&(Ct={...Ct,encapsulation:$.gXe.Emulated});const tn=this.getOrCreateRenderer(ot,Ct);return tn instanceof zt?tn.applyToHost(ot):tn instanceof Ue&&tn.applyStyles(),tn}getOrCreateRenderer(ot,Ct){const tn=this.rendererByCompId;let tt=tn.get(Ct.id);if(!tt){const ut=this.doc,Et=this.ngZone,gn=this.eventManager,Ut=this.sharedStylesHost,Qn=this.removeStylesOnCompDestroy,Nt=this.platformIsServer;switch(Ct.encapsulation){case $.gXe.Emulated:tt=new zt(gn,Ut,Ct,this.appId,Qn,ut,Et,Nt);break;case $.gXe.ShadowDom:return new rt(gn,Ut,ot,Ct,ut,Et,this.nonce,Nt);default:tt=new Ue(gn,Ut,Ct,Qn,ut,Et,Nt)}tn.set(Ct.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(de),$.KVO(qe),$.KVO($.sZ2),$.KVO(ze),$.KVO(y.qQ),$.KVO($.Agw),$.KVO($.SKi),$.KVO($.BIS))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();class et{constructor(en,ot,Ct,tn){this.eventManager=en,this.doc=ot,this.ngZone=Ct,this.platformIsServer=tn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(en,ot){return ot?this.doc.createElementNS(Ge[ot]||ot,en):this.doc.createElement(en)}createComment(en){return this.doc.createComment(en)}createText(en){return this.doc.createTextNode(en)}appendChild(en,ot){(P(en)?en.content:en).appendChild(ot)}insertBefore(en,ot,Ct){en&&(P(en)?en.content:en).insertBefore(ot,Ct)}removeChild(en,ot){ot.remove()}selectRootElement(en,ot){let Ct="string"==typeof en?this.doc.querySelector(en):en;if(!Ct)throw new $.wOt(-5104,!1);return ot||(Ct.textContent=""),Ct}parentNode(en){return en.parentNode}nextSibling(en){return en.nextSibling}setAttribute(en,ot,Ct,tn){if(tn){ot=tn+":"+ot;const tt=Ge[tn];tt?en.setAttributeNS(tt,ot,Ct):en.setAttribute(ot,Ct)}else en.setAttribute(ot,Ct)}removeAttribute(en,ot,Ct){if(Ct){const tn=Ge[Ct];tn?en.removeAttributeNS(tn,ot):en.removeAttribute(`${Ct}:${ot}`)}else en.removeAttribute(ot)}addClass(en,ot){en.classList.add(ot)}removeClass(en,ot){en.classList.remove(ot)}setStyle(en,ot,Ct,tn){tn&($.czy.DashCase|$.czy.Important)?en.style.setProperty(ot,Ct,tn&$.czy.Important?"important":""):en.style[ot]=Ct}removeStyle(en,ot,Ct){Ct&$.czy.DashCase?en.style.removeProperty(ot):en.style[ot]=""}setProperty(en,ot,Ct){null!=en&&(en[ot]=Ct)}setValue(en,ot){en.nodeValue=ot}listen(en,ot,Ct){if("string"==typeof en&&!(en=(0,y.QT)().getGlobalEventTarget(this.doc,en)))throw new Error(`Unsupported event target ${en} for event ${ot}`);return this.eventManager.addEventListener(en,ot,this.decoratePreventDefault(Ct))}decoratePreventDefault(en){return ot=>{if("__ngUnwrap__"===ot)return en;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>en(ot)):en(ot))&&ot.preventDefault()}}}function P(xt){return"TEMPLATE"===xt.tagName&&void 0!==xt.content}class rt extends et{constructor(en,ot,Ct,tn,tt,ut,Et,gn){super(en,tt,ut,gn),this.sharedStylesHost=ot,this.hostEl=Ct,this.shadowRoot=Ct.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ut=be(tn.id,tn.styles);for(const Qn of Ut){const Nt=document.createElement("style");Et&&Nt.setAttribute("nonce",Et),Nt.textContent=Qn,this.shadowRoot.appendChild(Nt)}}nodeOrShadowRoot(en){return en===this.hostEl?this.shadowRoot:en}appendChild(en,ot){return super.appendChild(this.nodeOrShadowRoot(en),ot)}insertBefore(en,ot,Ct){return super.insertBefore(this.nodeOrShadowRoot(en),ot,Ct)}removeChild(en,ot){return super.removeChild(null,ot)}parentNode(en){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(en)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ue extends et{constructor(en,ot,Ct,tn,tt,ut,Et,gn){super(en,tt,ut,Et),this.sharedStylesHost=ot,this.removeStylesOnCompDestroy=tn,this.styles=gn?be(gn,Ct.styles):Ct.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class zt extends Ue{constructor(en,ot,Ct,tn,tt,ut,Et,gn){const Ut=tn+"-"+Ct.id;super(en,ot,Ct,tt,ut,Et,gn,Ut),this.contentAttr=function B(xt){return"_ngcontent-%COMP%".replace(ht,xt)}(Ut),this.hostAttr=function Te(xt){return"_nghost-%COMP%".replace(ht,xt)}(Ut)}applyToHost(en){this.applyStyles(),this.setAttribute(en,this.hostAttr,"")}createElement(en,ot){const Ct=super.createElement(en,ot);return super.setAttribute(Ct,this.contentAttr,""),Ct}}let sn=(()=>{class xt extends Ve{constructor(ot){super(ot)}supports(ot){return!0}addEventListener(ot,Ct,tn){return ot.addEventListener(Ct,tn,!1),()=>this.removeEventListener(ot,Ct,tn)}removeEventListener(ot,Ct,tn){return ot.removeEventListener(Ct,tn)}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})(),Mt=(()=>{class xt extends Ve{constructor(ot){super(ot),this.delegate=(0,$.WQX)($.zAP,{optional:!0})}supports(ot){return!!this.delegate&&this.delegate.supports(ot)}addEventListener(ot,Ct,tn){return this.delegate.addEventListener(ot,Ct,tn)}removeEventListener(ot,Ct,tn){return this.delegate.removeEventListener(ot,Ct,tn)}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();const mt=["alt","control","meta","shift"],Ke={"\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"},Xe={alt:xt=>xt.altKey,control:xt=>xt.ctrlKey,meta:xt=>xt.metaKey,shift:xt=>xt.shiftKey};let yt=(()=>{class xt extends Ve{constructor(ot){super(ot)}supports(ot){return null!=xt.parseEventName(ot)}addEventListener(ot,Ct,tn){const tt=xt.parseEventName(Ct),ut=xt.eventCallback(tt.fullKey,tn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.QT)().onAndCancel(ot,tt.domEventName,ut))}static parseEventName(ot){const Ct=ot.toLowerCase().split("."),tn=Ct.shift();if(0===Ct.length||"keydown"!==tn&&"keyup"!==tn)return null;const tt=xt._normalizeKey(Ct.pop());let ut="",Et=Ct.indexOf("code");if(Et>-1&&(Ct.splice(Et,1),ut="code."),mt.forEach(Ut=>{const Qn=Ct.indexOf(Ut);Qn>-1&&(Ct.splice(Qn,1),ut+=Ut+".")}),ut+=tt,0!=Ct.length||0===tt.length)return null;const gn={};return gn.domEventName=tn,gn.fullKey=ut,gn}static matchEventFullKeyCode(ot,Ct){let tn=Ke[ot.key]||ot.key,tt="";return Ct.indexOf("code.")>-1&&(tn=ot.code,tt="code."),!(null==tn||!tn)&&(tn=tn.toLowerCase()," "===tn?tn="space":"."===tn&&(tn="dot"),mt.forEach(ut=>{ut!==tn&&(0,Xe[ut])(ot)&&(tt+=ut+".")}),tt+=tn,tt===Ct)}static eventCallback(ot,Ct,tn){return tt=>{xt.matchEventFullKeyCode(tt,ot)&&tn.runGuarded(()=>Ct(tt))}}static _normalizeKey(ot){return"esc"===ot?"escape":ot}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac})}return xt})();const Ci=(0,$.oH4)($.fpN,"browser",[{provide:$.Agw,useValue:y.AJ},{provide:$.PLl,useValue:function Vn(){a.makeCurrent()},multi:!0},{provide:y.qQ,useFactory:function qn(){return(0,$.TL$)(document),document},deps:[]}]),oo=new $.nKC(""),Rn=[{provide:$.e01,useClass:class se{addToWindow(en){$.JZv.getAngularTestability=(Ct,tn=!0)=>{const tt=en.findTestabilityInTree(Ct,tn);if(null==tt)throw new $.wOt(5103,!1);return tt},$.JZv.getAllAngularTestabilities=()=>en.getAllTestabilities(),$.JZv.getAllAngularRootElements=()=>en.getAllRootElements(),$.JZv.frameworkStabilizers||($.JZv.frameworkStabilizers=[]),$.JZv.frameworkStabilizers.push(Ct=>{const tn=$.JZv.getAllAngularTestabilities();let tt=tn.length;const ut=function(){tt--,0==tt&&Ct()};tn.forEach(Et=>{Et.whenStable(ut)})})}findTestabilityInTree(en,ot,Ct){return null==ot?null:en.getTestability(ot)??(Ct?(0,y.QT)().isShadowRoot(ot)?this.findTestabilityInTree(en,ot.host,!0):this.findTestabilityInTree(en,ot.parentElement,!0):null)}},deps:[]},{provide:$.WHO,useClass:$.NYb,deps:[$.SKi,$.giA,$.e01]},{provide:$.NYb,useClass:$.NYb,deps:[$.SKi,$.giA,$.e01]}],vi=[{provide:$.H8p,useValue:"root"},{provide:$.zcH,useFactory:function Wn(){return new $.zcH},deps:[]},{provide:le,useClass:sn,multi:!0,deps:[y.qQ,$.SKi,$.Agw]},{provide:le,useClass:yt,multi:!0,deps:[y.qQ]},{provide:le,useClass:Mt,multi:!0},Pe,qe,de,{provide:$._9s,useExisting:Pe},{provide:y.N0,useClass:fe,deps:[]},[]];let So=(()=>{class xt{constructor(ot){}static withServerTransition(ot){return{ngModule:xt,providers:[{provide:$.sZ2,useValue:ot.appId}]}}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(oo,12))};static#t=this.\u0275mod=$.$C({type:xt});static#n=this.\u0275inj=$.G2t({providers:[...vi,...Rn],imports:[y.MD,$.Hbi]})}return xt})(),fi=(()=>{class xt{constructor(ot){this._doc=ot,this._dom=(0,y.QT)()}addTag(ot,Ct=!1){return ot?this._getOrCreateElement(ot,Ct):null}addTags(ot,Ct=!1){return ot?ot.reduce((tn,tt)=>(tt&&tn.push(this._getOrCreateElement(tt,Ct)),tn),[]):[]}getTag(ot){return ot&&this._doc.querySelector(`meta[${ot}]`)||null}getTags(ot){if(!ot)return[];const Ct=this._doc.querySelectorAll(`meta[${ot}]`);return Ct?[].slice.call(Ct):[]}updateTag(ot,Ct){if(!ot)return null;Ct=Ct||this._parseSelector(ot);const tn=this.getTag(Ct);return tn?this._setMetaElementAttributes(ot,tn):this._getOrCreateElement(ot,!0)}removeTag(ot){this.removeTagElement(this.getTag(ot))}removeTagElement(ot){ot&&this._dom.remove(ot)}_getOrCreateElement(ot,Ct=!1){if(!Ct){const ut=this._parseSelector(ot),Et=this.getTags(ut).filter(gn=>this._containsAttributes(ot,gn))[0];if(void 0!==Et)return Et}const tn=this._dom.createElement("meta");return this._setMetaElementAttributes(ot,tn),this._doc.getElementsByTagName("head")[0].appendChild(tn),tn}_setMetaElementAttributes(ot,Ct){return Object.keys(ot).forEach(tn=>Ct.setAttribute(this._getMetaKeyMap(tn),ot[tn])),Ct}_parseSelector(ot){const Ct=ot.name?"name":"property";return`${Ct}="${ot[Ct]}"`}_containsAttributes(ot,Ct){return Object.keys(ot).every(tn=>Ct.getAttribute(this._getMetaKeyMap(tn))===ot[tn])}_getMetaKeyMap(ot){return ei[ot]||ot}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();const ei={httpEquiv:"http-equiv"};let Yi=(()=>{class xt{constructor(ot){this._doc=ot}getTitle(){return this._doc.title}setTitle(ot){this._doc.title=ot||""}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})(),Li=(()=>{class xt{static#e=this.\u0275fac=function(Ct){return new(Ct||xt)};static#t=this.\u0275prov=$.jDH({token:xt,factory:function(Ct){let tn=null;return tn=Ct?new(Ct||xt):$.KVO(_o),tn},providedIn:"root"})}return xt})(),_o=(()=>{class xt extends Li{constructor(ot){super(),this._doc=ot}sanitize(ot,Ct){if(null==Ct)return null;switch(ot){case $.WPN.NONE:return Ct;case $.WPN.HTML:return(0,$.ZF7)(Ct,"HTML")?(0,$.rcV)(Ct):(0,$.h9k)(this._doc,String(Ct)).toString();case $.WPN.STYLE:return(0,$.ZF7)(Ct,"Style")?(0,$.rcV)(Ct):Ct;case $.WPN.SCRIPT:if((0,$.ZF7)(Ct,"Script"))return(0,$.rcV)(Ct);throw new $.wOt(5200,!1);case $.WPN.URL:return(0,$.ZF7)(Ct,"URL")?(0,$.rcV)(Ct):(0,$.$MX)(String(Ct));case $.WPN.RESOURCE_URL:if((0,$.ZF7)(Ct,"ResourceURL"))return(0,$.rcV)(Ct);throw new $.wOt(5201,!1);default:throw new $.wOt(5202,!1)}}bypassSecurityTrustHtml(ot){return(0,$.Kcf)(ot)}bypassSecurityTrustStyle(ot){return(0,$.cWb)(ot)}bypassSecurityTrustScript(ot){return(0,$.UyX)(ot)}bypassSecurityTrustUrl(ot){return(0,$.osQ)(ot)}bypassSecurityTrustResourceUrl(ot){return(0,$.e5t)(ot)}static#e=this.\u0275fac=function(Ct){return new(Ct||xt)($.KVO(y.qQ))};static#t=this.\u0275prov=$.jDH({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})()},43559:(De,A,C)=>{"use strict";C.d(A,{nX:()=>ko,wF:()=>ai,vX:()=>or,AL:()=>jo,Ix:()=>Rr,Wk:()=>ol,iI:()=>mu,n3:()=>Ar});var y=C(93953),$=C(74402),n=C(48455),a=C(7673),L=C(84412),ae=C(84572),K=C(9350),se=C(28793),fe=C(59030),le=C(71203),de=C(71985),Ve=C(98071);function Ee(W,ue){const Z=(0,Ve.T)(W)?W:()=>W,pe=Oe=>Oe.error(Z());return new de.c(ue?Oe=>ue.schedule(pe,0,Oe):pe)}var qe=C(983),Ge=C(30017),ht=C(21413),at=C(18359),Tt=C(60177),dt=C(96354),ft=C(25558),ze=C(96697),B=C(99172),Te=C(5964),be=C(31397),Pe=C(61594),et=C(70274),z=C(88141),X=C(99437),P=C(22816),rt=C(39901),Ue=C(39974),zt=C(54360);function sn(W){return W<=0?()=>qe.w:(0,Ue.N)((ue,Z)=>{let pe=[];ue.subscribe((0,zt._)(Z,Oe=>{pe.push(Oe),W<pe.length&&pe.shift()},()=>{for(const Oe of pe)Z.next(Oe);Z.complete()},void 0,()=>{pe=null}))})}var Mt=C(93774),mt=C(33669),Xe=C(73703),yt=C(70980),Rt=C(99898),Vt=C(56977),_n=C(26365),oi=C(345);const Vn="primary",Wn=Symbol("RouteTitle");class qn{constructor(ue){this.params=ue||{}}has(ue){return Object.prototype.hasOwnProperty.call(this.params,ue)}get(ue){if(this.has(ue)){const Z=this.params[ue];return Array.isArray(Z)?Z[0]:Z}return null}getAll(ue){if(this.has(ue)){const Z=this.params[ue];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function Ni(W){return new qn(W)}function Ci(W,ue,Z){const pe=Z.path.split("/");if(pe.length>W.length||"full"===Z.pathMatch&&(ue.hasChildren()||pe.length<W.length))return null;const Oe={};for(let it=0;it<pe.length;it++){const At=pe[it],kn=W[it];if(":"===At[0])Oe[At.substring(1)]=kn;else if(At!==kn.path)return null}return{consumed:W.slice(0,pe.length),posParams:Oe}}function Rn(W,ue){const Z=W?vi(W):void 0,pe=ue?vi(ue):void 0;if(!Z||!pe||Z.length!=pe.length)return!1;let Oe;for(let it=0;it<Z.length;it++)if(Oe=Z[it],!So(W[Oe],ue[Oe]))return!1;return!0}function vi(W){return[...Object.keys(W),...Object.getOwnPropertySymbols(W)]}function So(W,ue){if(Array.isArray(W)&&Array.isArray(ue)){if(W.length!==ue.length)return!1;const Z=[...W].sort(),pe=[...ue].sort();return Z.every((Oe,it)=>pe[it]===Oe)}return W===ue}function fi(W){return W.length>0?W[W.length-1]:null}function ei(W){return(0,$.A)(W)?W:(0,y.jNT)(W)?(0,n.H)(Promise.resolve(W)):(0,a.of)(W)}const Yi={exact:function He(W,ue,Z){if(!wi(W.segments,ue.segments)||!Dt(W.segments,ue.segments,Z)||W.numberOfChildren!==ue.numberOfChildren)return!1;for(const pe in ue.children)if(!W.children[pe]||!He(W.children[pe],ue.children[pe],Z))return!1;return!0},subset:nt},En={exact:function lt(W,ue){return Rn(W,ue)},subset:function Le(W,ue){return Object.keys(ue).length<=Object.keys(W).length&&Object.keys(ue).every(Z=>So(W[Z],ue[Z]))},ignored:()=>!0};function Xn(W,ue,Z){return Yi[Z.paths](W.root,ue.root,Z.matrixParams)&&En[Z.queryParams](W.queryParams,ue.queryParams)&&!("exact"===Z.fragment&&W.fragment!==ue.fragment)}function nt(W,ue,Z){return gt(W,ue,ue.segments,Z)}function gt(W,ue,Z,pe){if(W.segments.length>Z.length){const Oe=W.segments.slice(0,Z.length);return!(!wi(Oe,Z)||ue.hasChildren()||!Dt(Oe,Z,pe))}if(W.segments.length===Z.length){if(!wi(W.segments,Z)||!Dt(W.segments,Z,pe))return!1;for(const Oe in ue.children)if(!W.children[Oe]||!nt(W.children[Oe],ue.children[Oe],pe))return!1;return!0}{const Oe=Z.slice(0,W.segments.length),it=Z.slice(W.segments.length);return!!(wi(W.segments,Oe)&&Dt(W.segments,Oe,pe)&&W.children[Vn])&&gt(W.children[Vn],ue,it,pe)}}function Dt(W,ue,Z){return ue.every((pe,Oe)=>En[Z](W[Oe].parameters,pe.parameters))}class rn{constructor(ue=new mn([],{}),Z={},pe=null){this.root=ue,this.queryParams=Z,this.fragment=pe}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){return Vi.serialize(this)}}class mn{constructor(ue,Z){this.segments=ue,this.children=Z,this.parent=null,Object.values(Z).forEach(pe=>pe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Di(this)}}class ri{constructor(ue,Z){this.path=ue,this.parameters=Z}get parameterMap(){return this._parameterMap??=Ni(this.parameters),this._parameterMap}toString(){return xt(this)}}function wi(W,ue){return W.length===ue.length&&W.every((Z,pe)=>Z.path===ue[pe].path)}let Li=(()=>{class W{static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:()=>new _o,providedIn:"root"})}return W})();class _o{parse(ue){const Z=new Nt(ue);return new rn(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(ue){const Z=`/${Mo(ue.root,!0)}`,pe=function ot(W){const ue=Object.entries(W).map(([Z,pe])=>Array.isArray(pe)?pe.map(Oe=>`${Hn(Z)}=${Hn(Oe)}`).join("&"):`${Hn(Z)}=${Hn(pe)}`).filter(Z=>Z);return ue.length?`?${ue.join("&")}`:""}(ue.queryParams);return`${Z}${pe}${"string"==typeof ue.fragment?`#${function Ri(W){return encodeURI(W)}(ue.fragment)}`:""}`}}const Vi=new _o;function Di(W){return W.segments.map(ue=>xt(ue)).join("/")}function Mo(W,ue){if(!W.hasChildren())return Di(W);if(ue){const Z=W.children[Vn]?Mo(W.children[Vn],!1):"",pe=[];return Object.entries(W.children).forEach(([Oe,it])=>{Oe!==Vn&&pe.push(`${Oe}:${Mo(it,!1)}`)}),pe.length>0?`${Z}(${pe.join("//")})`:Z}{const Z=function mi(W,ue){let Z=[];return Object.entries(W.children).forEach(([pe,Oe])=>{pe===Vn&&(Z=Z.concat(ue(Oe,pe)))}),Object.entries(W.children).forEach(([pe,Oe])=>{pe!==Vn&&(Z=Z.concat(ue(Oe,pe)))}),Z}(W,(pe,Oe)=>Oe===Vn?[Mo(W.children[Vn],!1)]:[`${Oe}:${Mo(pe,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[Vn]?`${Di(W)}/${Z[0]}`:`${Di(W)}/(${Z.join("//")})`}}function Yt(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hn(W){return Yt(W).replace(/%3B/gi,";")}function qt(W){return Yt(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cn(W){return decodeURIComponent(W)}function Bn(W){return Cn(W.replace(/\+/g,"%20"))}function xt(W){return`${qt(W.path)}${function en(W){return Object.entries(W).map(([ue,Z])=>`;${qt(ue)}=${qt(Z)}`).join("")}(W.parameters)}`}const Ct=/^[^\/()?;#]+/;function tn(W){const ue=W.match(Ct);return ue?ue[0]:""}const tt=/^[^\/()?;=#]+/,Et=/^[^=?&#]+/,Ut=/^[^&#]+/;class Nt{constructor(ue){this.url=ue,this.remaining=ue}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mn([],{}):new mn([],this.parseChildren())}parseQueryParams(){const ue={};if(this.consumeOptional("?"))do{this.parseQueryParam(ue)}while(this.consumeOptional("&"));return ue}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ue=[];for(this.peekStartsWith("(")||ue.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ue.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let pe={};return this.peekStartsWith("(")&&(pe=this.parseParens(!1)),(ue.length>0||Object.keys(Z).length>0)&&(pe[Vn]=new mn(ue,Z)),pe}parseSegment(){const ue=tn(this.remaining);if(""===ue&&this.peekStartsWith(";"))throw new y.wOt(4009,!1);return this.capture(ue),new ri(Cn(ue),this.parseMatrixParams())}parseMatrixParams(){const ue={};for(;this.consumeOptional(";");)this.parseParam(ue);return ue}parseParam(ue){const Z=function ut(W){const ue=W.match(tt);return ue?ue[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let pe="";if(this.consumeOptional("=")){const Oe=tn(this.remaining);Oe&&(pe=Oe,this.capture(pe))}ue[Cn(Z)]=Cn(pe)}parseQueryParam(ue){const Z=function gn(W){const ue=W.match(Et);return ue?ue[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let pe="";if(this.consumeOptional("=")){const At=function Qn(W){const ue=W.match(Ut);return ue?ue[0]:""}(this.remaining);At&&(pe=At,this.capture(pe))}const Oe=Bn(Z),it=Bn(pe);if(ue.hasOwnProperty(Oe)){let At=ue[Oe];Array.isArray(At)||(At=[At],ue[Oe]=At),At.push(it)}else ue[Oe]=it}parseParens(ue){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const pe=tn(this.remaining),Oe=this.remaining[pe.length];if("/"!==Oe&&")"!==Oe&&";"!==Oe)throw new y.wOt(4010,!1);let it;pe.indexOf(":")>-1?(it=pe.slice(0,pe.indexOf(":")),this.capture(it),this.capture(":")):ue&&(it=Vn);const At=this.parseChildren();Z[it]=1===Object.keys(At).length?At[Vn]:new mn([],At),this.consumeOptional("//")}return Z}peekStartsWith(ue){return this.remaining.startsWith(ue)}consumeOptional(ue){return!!this.peekStartsWith(ue)&&(this.remaining=this.remaining.substring(ue.length),!0)}capture(ue){if(!this.consumeOptional(ue))throw new y.wOt(4011,!1)}}function Be(W){return W.segments.length>0?new mn([],{[Vn]:W}):W}function we(W){const ue={};for(const[pe,Oe]of Object.entries(W.children)){const it=we(Oe);if(pe===Vn&&0===it.segments.length&&it.hasChildren())for(const[At,kn]of Object.entries(it.children))ue[At]=kn;else(it.segments.length>0||it.hasChildren())&&(ue[pe]=it)}return function H(W){if(1===W.numberOfChildren&&W.children[Vn]){const ue=W.children[Vn];return new mn(W.segments.concat(ue.segments),ue.children)}return W}(new mn(W.segments,ue))}function re(W){return W instanceof rn}function We(W){let ue;const Oe=Be(function Z(it){const At={};for(const pn of it.children){const pi=Z(pn);At[pn.outlet]=pi}const kn=new mn(it.url,At);return it===W&&(ue=kn),kn}(W.root));return ue??Oe}function Ft(W,ue,Z,pe){let Oe=W;for(;Oe.parent;)Oe=Oe.parent;if(0===ue.length)return di(Oe,Oe,Oe,Z,pe);const it=function yo(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new Qi(!0,0,W);let ue=0,Z=!1;const pe=W.reduce((Oe,it,At)=>{if("object"==typeof it&&null!=it){if(it.outlets){const kn={};return Object.entries(it.outlets).forEach(([pn,pi])=>{kn[pn]="string"==typeof pi?pi.split("/"):pi}),[...Oe,{outlets:kn}]}if(it.segmentPath)return[...Oe,it.segmentPath]}return"string"!=typeof it?[...Oe,it]:0===At?(it.split("/").forEach((kn,pn)=>{0==pn&&"."===kn||(0==pn&&""===kn?Z=!0:".."===kn?ue++:""!=kn&&Oe.push(kn))}),Oe):[...Oe,it]},[]);return new Qi(Z,ue,pe)}(ue);if(it.toRoot())return di(Oe,Oe,new mn([],{}),Z,pe);const At=function Zt(W,ue,Z){if(W.isAbsolute)return new hn(ue,!0,0);if(!Z)return new hn(ue,!1,NaN);if(null===Z.parent)return new hn(Z,!0,0);const pe=an(W.commands[0])?0:1;return function Dn(W,ue,Z){let pe=W,Oe=ue,it=Z;for(;it>Oe;){if(it-=Oe,pe=pe.parent,!pe)throw new y.wOt(4005,!1);Oe=pe.segments.length}return new hn(pe,!1,Oe-it)}(Z,Z.segments.length-1+pe,W.numberOfDoubleDots)}(it,Oe,W),kn=At.processChildren?ro(At.segmentGroup,At.index,it.commands):$i(At.segmentGroup,At.index,it.commands);return di(Oe,At.segmentGroup,kn,Z,pe)}function an(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function yn(W){return"object"==typeof W&&null!=W&&W.outlets}function di(W,ue,Z,pe,Oe){let At,it={};pe&&Object.entries(pe).forEach(([pn,pi])=>{it[pn]=Array.isArray(pi)?pi.map(Co=>`${Co}`):`${pi}`}),At=W===ue?Z:ui(W,ue,Z);const kn=Be(we(At));return new rn(kn,it,Oe)}function ui(W,ue,Z){const pe={};return Object.entries(W.children).forEach(([Oe,it])=>{pe[Oe]=it===ue?Z:ui(it,ue,Z)}),new mn(W.segments,pe)}class Qi{constructor(ue,Z,pe){if(this.isAbsolute=ue,this.numberOfDoubleDots=Z,this.commands=pe,ue&&pe.length>0&&an(pe[0]))throw new y.wOt(4003,!1);const Oe=pe.find(yn);if(Oe&&Oe!==fi(pe))throw new y.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hn{constructor(ue,Z,pe){this.segmentGroup=ue,this.processChildren=Z,this.index=pe}}function $i(W,ue,Z){if(W??=new mn([],{}),0===W.segments.length&&W.hasChildren())return ro(W,ue,Z);const pe=function go(W,ue,Z){let pe=0,Oe=ue;const it={match:!1,pathIndex:0,commandIndex:0};for(;Oe<W.segments.length;){if(pe>=Z.length)return it;const At=W.segments[Oe],kn=Z[pe];if(yn(kn))break;const pn=`${kn}`,pi=pe<Z.length-1?Z[pe+1]:null;if(Oe>0&&void 0===pn)break;if(pn&&pi&&"object"==typeof pi&&void 0===pi.outlets){if(!ct(pn,pi,At))return it;pe+=2}else{if(!ct(pn,{},At))return it;pe++}Oe++}return{match:!0,pathIndex:Oe,commandIndex:pe}}(W,ue,Z),Oe=Z.slice(pe.commandIndex);if(pe.match&&pe.pathIndex<W.segments.length){const it=new mn(W.segments.slice(0,pe.pathIndex),{});return it.children[Vn]=new mn(W.segments.slice(pe.pathIndex),W.children),ro(it,0,Oe)}return pe.match&&0===Oe.length?new mn(W.segments,{}):pe.match&&!W.hasChildren()?Ao(W,ue,Z):pe.match?ro(W,0,Oe):Ao(W,ue,Z)}function ro(W,ue,Z){if(0===Z.length)return new mn(W.segments,{});{const pe=function gi(W){return yn(W[0])?W[0].outlets:{[Vn]:W}}(Z),Oe={};if(Object.keys(pe).some(it=>it!==Vn)&&W.children[Vn]&&1===W.numberOfChildren&&0===W.children[Vn].segments.length){const it=ro(W.children[Vn],ue,Z);return new mn(W.segments,it.children)}return Object.entries(pe).forEach(([it,At])=>{"string"==typeof At&&(At=[At]),null!==At&&(Oe[it]=$i(W.children[it],ue,At))}),Object.entries(W.children).forEach(([it,At])=>{void 0===pe[it]&&(Oe[it]=At)}),new mn(W.segments,Oe)}}function Ao(W,ue,Z){const pe=W.segments.slice(0,ue);let Oe=0;for(;Oe<Z.length;){const it=Z[Oe];if(yn(it)){const pn=Yo(it.outlets);return new mn(pe,pn)}if(0===Oe&&an(Z[0])){pe.push(new ri(W.segments[ue].path,$r(Z[0]))),Oe++;continue}const At=yn(it)?it.outlets[Vn]:`${it}`,kn=Oe<Z.length-1?Z[Oe+1]:null;At&&kn&&an(kn)?(pe.push(new ri(At,$r(kn))),Oe+=2):(pe.push(new ri(At,{})),Oe++)}return new mn(pe,{})}function Yo(W){const ue={};return Object.entries(W).forEach(([Z,pe])=>{"string"==typeof pe&&(pe=[pe]),null!==pe&&(ue[Z]=Ao(new mn([],{}),0,pe))}),ue}function $r(W){const ue={};return Object.entries(W).forEach(([Z,pe])=>ue[Z]=`${pe}`),ue}function ct(W,ue,Z){return W==Z.path&&Rn(ue,Z.parameters)}const Gt="imperative";var Ot=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(Ot||{});class xn{constructor(ue,Z){this.id=ue,this.url=Z}}class Fn extends xn{constructor(ue,Z,pe="imperative",Oe=null){super(ue,Z),this.type=Ot.NavigationStart,this.navigationTrigger=pe,this.restoredState=Oe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ai extends xn{constructor(ue,Z,pe){super(ue,Z),this.urlAfterRedirects=pe,this.type=Ot.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ln=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(ln||{}),On=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(On||{});class Ln extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.reason=pe,this.code=Oe,this.type=Ot.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ei extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.reason=pe,this.code=Oe,this.type=Ot.NavigationSkipped}}class Po extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.error=pe,this.target=Oe,this.type=Ot.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Oi extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.urlAfterRedirects=pe,this.state=Oe,this.type=Ot.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mr extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.urlAfterRedirects=pe,this.state=Oe,this.type=Ot.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bo extends xn{constructor(ue,Z,pe,Oe,it){super(ue,Z),this.urlAfterRedirects=pe,this.state=Oe,this.shouldActivate=it,this.type=Ot.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wo extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.urlAfterRedirects=pe,this.state=Oe,this.type=Ot.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Io extends xn{constructor(ue,Z,pe,Oe){super(ue,Z),this.urlAfterRedirects=pe,this.state=Oe,this.type=Ot.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jo{constructor(ue){this.route=ue,this.type=Ot.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class or{constructor(ue){this.route=ue,this.type=Ot.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class na{constructor(ue){this.snapshot=ue,this.type=Ot.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ko{constructor(ue){this.snapshot=ue,this.type=Ot.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gr{constructor(ue){this.snapshot=ue,this.type=Ot.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ga{constructor(ue){this.snapshot=ue,this.type=Ot.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ps{constructor(ue,Z,pe){this.routerEvent=ue,this.position=Z,this.anchor=pe,this.type=Ot.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class vr{}class Ls{constructor(ue,Z){this.url=ue,this.navigationBehaviorOptions=Z}}function Nr(W){return W.outlet||Vn}function Vs(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let ue=W.parent;ue;ue=ue.parent){const Z=ue.routeConfig;if(Z?._loadedInjector)return Z._loadedInjector;if(Z?._injector)return Z._injector}return null}class _a{get injector(){return Vs(this.route?.snapshot)??this.rootInjector}set injector(ue){}constructor(ue){this.rootInjector=ue,this.outlet=null,this.route=null,this.children=new ia(this.rootInjector),this.attachRef=null}}let ia=(()=>{class W{constructor(Z){this.rootInjector=Z,this.contexts=new Map}onChildOutletCreated(Z,pe){const Oe=this.getOrCreateContext(Z);Oe.outlet=pe,this.contexts.set(Z,Oe)}onChildOutletDestroyed(Z){const pe=this.getContext(Z);pe&&(pe.outlet=null,pe.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let pe=this.getContext(Z);return pe||(pe=new _a(this.rootInjector),this.contexts.set(Z,pe)),pe}getContext(Z){return this.contexts.get(Z)||null}static#e=this.\u0275fac=function(pe){return new(pe||W)(y.KVO(y.uvJ))};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class Gs{constructor(ue){this._root=ue}get root(){return this._root.value}parent(ue){const Z=this.pathFromRoot(ue);return Z.length>1?Z[Z.length-2]:null}children(ue){const Z=Ur(ue,this._root);return Z?Z.children.map(pe=>pe.value):[]}firstChild(ue){const Z=Ur(ue,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(ue){const Z=ws(ue,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(Oe=>Oe.value).filter(Oe=>Oe!==ue)}pathFromRoot(ue){return ws(ue,this._root).map(Z=>Z.value)}}function Ur(W,ue){if(W===ue.value)return ue;for(const Z of ue.children){const pe=Ur(W,Z);if(pe)return pe}return null}function ws(W,ue){if(W===ue.value)return[ue];for(const Z of ue.children){const pe=ws(W,Z);if(pe.length)return pe.unshift(ue),pe}return[]}class io{constructor(ue,Z){this.value=ue,this.children=Z}toString(){return`TreeNode(${this.value})`}}function wt(W){const ue={};return W&&W.children.forEach(Z=>ue[Z.value.outlet]=Z),ue}class nn extends Gs{constructor(ue,Z){super(ue),this.snapshot=Z,lo(this,ue)}toString(){return this.snapshot.toString()}}function wn(W){const ue=function Mi(W){const it=new nr([],{},{},"",{},Vn,W,null,{});return new qo("",new io(it,[]))}(W),Z=new L.t([new ri("",{})]),pe=new L.t({}),Oe=new L.t({}),it=new L.t({}),At=new L.t(""),kn=new ko(Z,pe,it,At,Oe,Vn,W,ue.root);return kn.snapshot=ue.root,new nn(new io(kn,[]),ue)}class ko{constructor(ue,Z,pe,Oe,it,At,kn,pn){this.urlSubject=ue,this.paramsSubject=Z,this.queryParamsSubject=pe,this.fragmentSubject=Oe,this.dataSubject=it,this.outlet=At,this.component=kn,this._futureSnapshot=pn,this.title=this.dataSubject?.pipe((0,dt.T)(pi=>pi[Wn]))??(0,a.of)(void 0),this.url=ue,this.params=Z,this.queryParams=pe,this.fragment=Oe,this.data=it}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((0,dt.T)(ue=>Ni(ue))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,dt.T)(ue=>Ni(ue))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $o(W,ue,Z="emptyOnly"){let pe;const{routeConfig:Oe}=W;return pe=null===ue||"always"!==Z&&""!==Oe?.path&&(ue.component||ue.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ue.params,...W.params},data:{...ue.data,...W.data},resolve:{...W.data,...ue.data,...Oe?.data,...W._resolvedData}},Oe&&Ks(Oe)&&(pe.resolve[Wn]=Oe.title),pe}class nr{get title(){return this.data?.[Wn]}constructor(ue,Z,pe,Oe,it,At,kn,pn,pi){this.url=ue,this.params=Z,this.queryParams=pe,this.fragment=Oe,this.data=it,this.outlet=At,this.component=kn,this.routeConfig=pn,this._resolve=pi}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??=Ni(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(pe=>pe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qo extends Gs{constructor(ue,Z){super(Z),this.url=ue,lo(this,Z)}toString(){return Ts(this._root)}}function lo(W,ue){ue.value._routerState=W,ue.children.forEach(Z=>lo(W,Z))}function Ts(W){const ue=W.children.length>0?` { ${W.children.map(Ts).join(", ")} } `:"";return`${W.value}${ue}`}function Ss(W){if(W.snapshot){const ue=W.snapshot,Z=W._futureSnapshot;W.snapshot=Z,Rn(ue.queryParams,Z.queryParams)||W.queryParamsSubject.next(Z.queryParams),ue.fragment!==Z.fragment&&W.fragmentSubject.next(Z.fragment),Rn(ue.params,Z.params)||W.paramsSubject.next(Z.params),function oo(W,ue){if(W.length!==ue.length)return!1;for(let Z=0;Z<W.length;++Z)if(!Rn(W[Z],ue[Z]))return!1;return!0}(ue.url,Z.url)||W.urlSubject.next(Z.url),Rn(ue.data,Z.data)||W.dataSubject.next(Z.data)}else W.snapshot=W._futureSnapshot,W.dataSubject.next(W._futureSnapshot.data)}function ur(W,ue){const Z=Rn(W.params,ue.params)&&function Bi(W,ue){return wi(W,ue)&&W.every((Z,pe)=>Rn(Z.parameters,ue[pe].parameters))}(W.url,ue.url);return Z&&!(!W.parent!=!ue.parent)&&(!W.parent||ur(W.parent,ue.parent))}function Ks(W){return"string"==typeof W.title||null===W.title}let Ar=(()=>{class W{constructor(){this.activated=null,this._activatedRoute=null,this.name=Vn,this.activateEvents=new y.bkB,this.deactivateEvents=new y.bkB,this.attachEvents=new y.bkB,this.detachEvents=new y.bkB,this.parentContexts=(0,y.WQX)(ia),this.location=(0,y.WQX)(y.c1b),this.changeDetector=(0,y.WQX)(y.gRc),this.inputBinder=(0,y.WQX)(xl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:pe,previousValue:Oe}=Z.name;if(pe)return;this.isTrackedInParentContexts(Oe)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Oe)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y.wOt(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,pe){this.activated=Z,this._activatedRoute=pe,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,pe){if(this.isActivated)throw new y.wOt(4013,!1);this._activatedRoute=Z;const Oe=this.location,At=Z.snapshot.component,kn=this.parentContexts.getOrCreateContext(this.name).children,pn=new ls(Z,kn,Oe.injector);this.activated=Oe.createComponent(At,{index:Oe.length,injector:pn,environmentInjector:pe}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275dir=y.FsC({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[y.OA$]})}return W})();class ls{__ngOutletInjector(ue){return new ls(this.route,this.childContexts,ue)}constructor(ue,Z,pe){this.route=ue,this.childContexts=Z,this.parent=pe}get(ue,Z){return ue===ko?this.route:ue===ia?this.childContexts:this.parent.get(ue,Z)}}const xl=new y.nKC("");let xi=(()=>{class W{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:pe}=Z,Oe=(0,ae.z)([pe.queryParams,pe.params,pe.data]).pipe((0,ft.n)(([it,At,kn],pn)=>(kn={...it,...At,...kn},0===pn?(0,a.of)(kn):Promise.resolve(kn)))).subscribe(it=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==pe||null===pe.component)return void this.unsubscribeFromRouteData(Z);const At=(0,y.HJs)(pe.component);if(At)for(const{templateName:kn}of At.inputs)Z.activatedComponentRef.setInput(kn,it[kn]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Oe)}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac})}return W})();function cs(W,ue,Z){if(Z&&W.shouldReuseRoute(ue.value,Z.value.snapshot)){const pe=Z.value;pe._futureSnapshot=ue.value;const Oe=function Ac(W,ue,Z){return ue.children.map(pe=>{for(const Oe of Z.children)if(W.shouldReuseRoute(pe.value,Oe.value.snapshot))return cs(W,pe,Oe);return cs(W,pe)})}(W,ue,Z);return new io(pe,Oe)}{if(W.shouldAttach(ue.value)){const it=W.retrieve(ue.value);if(null!==it){const At=it.route;return At.value._futureSnapshot=ue.value,At.children=ue.children.map(kn=>cs(W,kn)),At}}const pe=function er(W){return new ko(new L.t(W.url),new L.t(W.params),new L.t(W.queryParams),new L.t(W.fragment),new L.t(W.data),W.outlet,W.component,W)}(ue.value),Oe=ue.children.map(it=>cs(W,it));return new io(pe,Oe)}}class ar{constructor(ue,Z){this.redirectTo=ue,this.navigationBehaviorOptions=Z}}const ya="ngNavigationCancelingError";function gs(W,ue){const{redirectTo:Z,navigationBehaviorOptions:pe}=re(ue)?{redirectTo:ue,navigationBehaviorOptions:void 0}:ue,Oe=ir(!1,ln.Redirect);return Oe.url=Z,Oe.navigationBehaviorOptions=pe,Oe}function ir(W,ue){const Z=new Error(`NavigationCancelingError: ${W||""}`);return Z[ya]=!0,Z.cancellationCode=ue,Z}function js(W){return!!W&&W[ya]}class Bs{constructor(ue,Z,pe,Oe,it){this.routeReuseStrategy=ue,this.futureState=Z,this.currState=pe,this.forwardEvent=Oe,this.inputBindingEnabled=it}activate(ue){const Z=this.futureState._root,pe=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,pe,ue),Ss(this.futureState.root),this.activateChildRoutes(Z,pe,ue)}deactivateChildRoutes(ue,Z,pe){const Oe=wt(Z);ue.children.forEach(it=>{const At=it.value.outlet;this.deactivateRoutes(it,Oe[At],pe),delete Oe[At]}),Object.values(Oe).forEach(it=>{this.deactivateRouteAndItsChildren(it,pe)})}deactivateRoutes(ue,Z,pe){const Oe=ue.value,it=Z?Z.value:null;if(Oe===it)if(Oe.component){const At=pe.getContext(Oe.outlet);At&&this.deactivateChildRoutes(ue,Z,At.children)}else this.deactivateChildRoutes(ue,Z,pe);else it&&this.deactivateRouteAndItsChildren(Z,pe)}deactivateRouteAndItsChildren(ue,Z){ue.value.component&&this.routeReuseStrategy.shouldDetach(ue.value.snapshot)?this.detachAndStoreRouteSubtree(ue,Z):this.deactivateRouteAndOutlet(ue,Z)}detachAndStoreRouteSubtree(ue,Z){const pe=Z.getContext(ue.value.outlet),Oe=pe&&ue.value.component?pe.children:Z,it=wt(ue);for(const At of Object.values(it))this.deactivateRouteAndItsChildren(At,Oe);if(pe&&pe.outlet){const At=pe.outlet.detach(),kn=pe.children.onOutletDeactivated();this.routeReuseStrategy.store(ue.value.snapshot,{componentRef:At,route:ue,contexts:kn})}}deactivateRouteAndOutlet(ue,Z){const pe=Z.getContext(ue.value.outlet),Oe=pe&&ue.value.component?pe.children:Z,it=wt(ue);for(const At of Object.values(it))this.deactivateRouteAndItsChildren(At,Oe);pe&&(pe.outlet&&(pe.outlet.deactivate(),pe.children.onOutletDeactivated()),pe.attachRef=null,pe.route=null)}activateChildRoutes(ue,Z,pe){const Oe=wt(Z);ue.children.forEach(it=>{this.activateRoutes(it,Oe[it.value.outlet],pe),this.forwardEvent(new ga(it.value.snapshot))}),ue.children.length&&this.forwardEvent(new Ko(ue.value.snapshot))}activateRoutes(ue,Z,pe){const Oe=ue.value,it=Z?Z.value:null;if(Ss(Oe),Oe===it)if(Oe.component){const At=pe.getOrCreateContext(Oe.outlet);this.activateChildRoutes(ue,Z,At.children)}else this.activateChildRoutes(ue,Z,pe);else if(Oe.component){const At=pe.getOrCreateContext(Oe.outlet);if(this.routeReuseStrategy.shouldAttach(Oe.snapshot)){const kn=this.routeReuseStrategy.retrieve(Oe.snapshot);this.routeReuseStrategy.store(Oe.snapshot,null),At.children.onOutletReAttached(kn.contexts),At.attachRef=kn.componentRef,At.route=kn.route.value,At.outlet&&At.outlet.attach(kn.componentRef,kn.route.value),Ss(kn.route.value),this.activateChildRoutes(ue,null,At.children)}else At.attachRef=null,At.route=Oe,At.outlet&&At.outlet.activateWith(Oe,At.injector),this.activateChildRoutes(ue,null,At.children)}else this.activateChildRoutes(ue,null,pe)}}class oa{constructor(ue){this.path=ue,this.route=this.path[this.path.length-1]}}class is{constructor(ue,Z){this.component=ue,this.route=Z}}function Sd(W,ue,Z){const pe=W._root;return Ll(pe,ue?ue._root:null,Z,[pe.value])}function Jo(W,ue){const Z=Symbol(),pe=ue.get(W,Z);return pe===Z?"function"!=typeof W||(0,y.LfX)(W)?ue.get(W):W:pe}function Ll(W,ue,Z,pe,Oe={canDeactivateChecks:[],canActivateChecks:[]}){const it=wt(ue);return W.children.forEach(At=>{(function Hs(W,ue,Z,pe,Oe={canDeactivateChecks:[],canActivateChecks:[]}){const it=W.value,At=ue?ue.value:null,kn=Z?Z.getContext(W.value.outlet):null;if(At&&it.routeConfig===At.routeConfig){const pn=function Vl(W,ue,Z){if("function"==typeof Z)return Z(W,ue);switch(Z){case"pathParamsChange":return!wi(W.url,ue.url);case"pathParamsOrQueryParamsChange":return!wi(W.url,ue.url)||!Rn(W.queryParams,ue.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ur(W,ue)||!Rn(W.queryParams,ue.queryParams);default:return!ur(W,ue)}}(At,it,it.routeConfig.runGuardsAndResolvers);pn?Oe.canActivateChecks.push(new oa(pe)):(it.data=At.data,it._resolvedData=At._resolvedData),Ll(W,ue,it.component?kn?kn.children:null:Z,pe,Oe),pn&&kn&&kn.outlet&&kn.outlet.isActivated&&Oe.canDeactivateChecks.push(new is(kn.outlet.component,At))}else At&&Bl(ue,kn,Oe),Oe.canActivateChecks.push(new oa(pe)),Ll(W,null,it.component?kn?kn.children:null:Z,pe,Oe)})(At,it[At.value.outlet],Z,pe.concat([At.value]),Oe),delete it[At.value.outlet]}),Object.entries(it).forEach(([At,kn])=>Bl(kn,Z.getContext(At),Oe)),Oe}function Bl(W,ue,Z){const pe=wt(W),Oe=W.value;Object.entries(pe).forEach(([it,At])=>{Bl(At,Oe.component?ue?ue.children.getContext(it):null:ue,Z)}),Z.canDeactivateChecks.push(new is(Oe.component&&ue&&ue.outlet&&ue.outlet.isActivated?ue.outlet.component:null,Oe))}function Wa(W){return"function"==typeof W}function vl(W){return W instanceof K.G||"EmptyError"===W?.name}const ca=Symbol("INITIAL_VALUE");function Ka(){return(0,ft.n)(W=>(0,ae.z)(W.map(ue=>ue.pipe((0,ze.s)(1),(0,B.Z)(ca)))).pipe((0,dt.T)(ue=>{for(const Z of ue)if(!0!==Z){if(Z===ca)return ca;if(!1===Z||Me(Z))return Z}return!0}),(0,Te.p)(ue=>ue!==ca),(0,ze.s)(1)))}function Me(W){return re(W)||W instanceof ar}function Ir(W){return(0,le.F)((0,z.M)(ue=>{if("boolean"!=typeof ue)throw gs(0,ue)}),(0,dt.T)(ue=>!0===ue))}class Il{constructor(ue){this.segmentGroup=ue||null}}class Pc extends Error{constructor(ue){super(),this.urlTree=ue}}function rr(W){return Ee(new Il(W))}class Ud{constructor(ue,Z){this.urlSerializer=ue,this.urlTree=Z}lineralizeSegments(ue,Z){let pe=[],Oe=Z.root;for(;;){if(pe=pe.concat(Oe.segments),0===Oe.numberOfChildren)return(0,a.of)(pe);if(Oe.numberOfChildren>1||!Oe.children[Vn])return Ee(new y.wOt(4e3,!1));Oe=Oe.children[Vn]}}applyRedirectCommands(ue,Z,pe,Oe,it){if("string"!=typeof Z){const kn=Z,{queryParams:pn,fragment:pi,routeConfig:Co,url:Uo,outlet:us,params:bl,data:zo,title:Os}=Oe,ss=(0,y.N4e)(it,()=>kn({params:bl,data:zo,queryParams:pn,fragment:pi,routeConfig:Co,url:Uo,outlet:us,title:Os}));if(ss instanceof rn)throw new Pc(ss);Z=ss}const At=this.applyRedirectCreateUrlTree(Z,this.urlSerializer.parse(Z),ue,pe);if("/"===Z[0])throw new Pc(At);return At}applyRedirectCreateUrlTree(ue,Z,pe,Oe){const it=this.createSegmentGroup(ue,Z.root,pe,Oe);return new rn(it,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(ue,Z){const pe={};return Object.entries(ue).forEach(([Oe,it])=>{if("string"==typeof it&&":"===it[0]){const kn=it.substring(1);pe[Oe]=Z[kn]}else pe[Oe]=it}),pe}createSegmentGroup(ue,Z,pe,Oe){const it=this.createSegments(ue,Z.segments,pe,Oe);let At={};return Object.entries(Z.children).forEach(([kn,pn])=>{At[kn]=this.createSegmentGroup(ue,pn,pe,Oe)}),new mn(it,At)}createSegments(ue,Z,pe,Oe){return Z.map(it=>":"===it.path[0]?this.findPosParam(ue,it,Oe):this.findOrReturn(it,pe))}findPosParam(ue,Z,pe){const Oe=pe[Z.path.substring(1)];if(!Oe)throw new y.wOt(4001,!1);return Oe}findOrReturn(ue,Z){let pe=0;for(const Oe of Z){if(Oe.path===ue.path)return Z.splice(pe),Oe;pe++}return ue}}const Je={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function J(W,ue,Z,pe,Oe){const it=ee(W,ue,Z);return it.matched?(pe=function sa(W,ue){return W.providers&&!W._injector&&(W._injector=(0,y.Ol2)(W.providers,ue,`Route: ${W.path}`)),W._injector??ue}(ue,pe),function Go(W,ue,Z,pe){const Oe=ue.canMatch;if(!Oe||0===Oe.length)return(0,a.of)(!0);const it=Oe.map(At=>{const kn=Jo(At,W);return ei(function Rc(W){return W&&Wa(W.canMatch)}(kn)?kn.canMatch(ue,Z):(0,y.N4e)(W,()=>kn(ue,Z)))});return(0,a.of)(it).pipe(Ka(),Ir())}(pe,ue,Z).pipe((0,dt.T)(At=>!0===At?it:{...Je}))):(0,a.of)(it)}function ee(W,ue,Z){if("**"===ue.path)return function Ce(W){return{matched:!0,parameters:W.length>0?fi(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(Z);if(""===ue.path)return"full"===ue.pathMatch&&(W.hasChildren()||Z.length>0)?{...Je}:{matched:!0,consumedSegments:[],remainingSegments:Z,parameters:{},positionalParamSegments:{}};const Oe=(ue.matcher||Ci)(Z,W,ue);if(!Oe)return{...Je};const it={};Object.entries(Oe.posParams??{}).forEach(([kn,pn])=>{it[kn]=pn.path});const At=Oe.consumed.length>0?{...it,...Oe.consumed[Oe.consumed.length-1].parameters}:it;return{matched:!0,consumedSegments:Oe.consumed,remainingSegments:Z.slice(Oe.consumed.length),parameters:At,positionalParamSegments:Oe.posParams??{}}}function Ye(W,ue,Z,pe){return Z.length>0&&function St(W,ue,Z){return Z.some(pe=>An(W,ue,pe)&&Nr(pe)!==Vn)}(W,Z,pe)?{segmentGroup:new mn(ue,Xt(pe,new mn(Z,W.children))),slicedSegments:[]}:0===Z.length&&function In(W,ue,Z){return Z.some(pe=>An(W,ue,pe))}(W,Z,pe)?{segmentGroup:new mn(W.segments,vt(W,Z,pe,W.children)),slicedSegments:Z}:{segmentGroup:new mn(W.segments,W.children),slicedSegments:Z}}function vt(W,ue,Z,pe){const Oe={};for(const it of Z)if(An(W,ue,it)&&!pe[Nr(it)]){const At=new mn([],{});Oe[Nr(it)]=At}return{...pe,...Oe}}function Xt(W,ue){const Z={};Z[Vn]=ue;for(const pe of W)if(""===pe.path&&Nr(pe)!==Vn){const Oe=new mn([],{});Z[Nr(pe)]=Oe}return Z}function An(W,ue,Z){return(!(W.hasChildren()||ue.length>0)||"full"!==Z.pathMatch)&&""===Z.path}class Zi{}class Oo{constructor(ue,Z,pe,Oe,it,At,kn){this.injector=ue,this.configLoader=Z,this.rootComponentType=pe,this.config=Oe,this.urlTree=it,this.paramsInheritanceStrategy=At,this.urlSerializer=kn,this.applyRedirects=new Ud(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(ue){return new y.wOt(4002,`'${ue.segmentGroup}'`)}recognize(){const ue=Ye(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ue).pipe((0,dt.T)(({children:Z,rootSnapshot:pe})=>{const Oe=new io(pe,Z),it=new qo("",Oe),At=function ge(W,ue,Z=null,pe=null){return Ft(We(W),ue,Z,pe)}(pe,[],this.urlTree.queryParams,this.urlTree.fragment);return At.queryParams=this.urlTree.queryParams,it.url=this.urlSerializer.serialize(At),{state:it,tree:At}}))}match(ue){const Z=new nr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Vn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,ue,Vn,Z).pipe((0,dt.T)(pe=>({children:pe,rootSnapshot:Z})),(0,X.W)(pe=>{if(pe instanceof Pc)return this.urlTree=pe.urlTree,this.match(pe.urlTree.root);throw pe instanceof Il?this.noMatchError(pe):pe}))}processSegmentGroup(ue,Z,pe,Oe,it){return 0===pe.segments.length&&pe.hasChildren()?this.processChildren(ue,Z,pe,it):this.processSegment(ue,Z,pe,pe.segments,Oe,!0,it).pipe((0,dt.T)(At=>At instanceof io?[At]:[]))}processChildren(ue,Z,pe,Oe){const it=[];for(const At of Object.keys(pe.children))"primary"===At?it.unshift(At):it.push(At);return(0,n.H)(it).pipe((0,et.H)(At=>{const kn=pe.children[At],pn=function ml(W,ue){const Z=W.filter(pe=>Nr(pe)===ue);return Z.push(...W.filter(pe=>Nr(pe)!==ue)),Z}(Z,At);return this.processSegmentGroup(ue,pn,kn,At,Oe)}),(0,P.S)((At,kn)=>(At.push(...kn),At)),(0,rt.U)(null),function Ke(W,ue){const Z=arguments.length>=2;return pe=>pe.pipe(W?(0,Te.p)((Oe,it)=>W(Oe,it,pe)):mt.D,sn(1),Z?(0,rt.U)(ue):(0,Mt.v)(()=>new K.G))}(),(0,be.Z)(At=>{if(null===At)return rr(pe);const kn=ds(At);return function Lo(W){W.sort((ue,Z)=>ue.value.outlet===Vn?-1:Z.value.outlet===Vn?1:ue.value.outlet.localeCompare(Z.value.outlet))}(kn),(0,a.of)(kn)}))}processSegment(ue,Z,pe,Oe,it,At,kn){return(0,n.H)(Z).pipe((0,et.H)(pn=>this.processSegmentAgainstRoute(pn._injector??ue,Z,pn,pe,Oe,it,At,kn).pipe((0,X.W)(pi=>{if(pi instanceof Il)return(0,a.of)(null);throw pi}))),(0,Pe.$)(pn=>!!pn),(0,X.W)(pn=>{if(vl(pn))return function Ui(W,ue,Z){return 0===ue.length&&!W.children[Z]}(pe,Oe,it)?(0,a.of)(new Zi):rr(pe);throw pn}))}processSegmentAgainstRoute(ue,Z,pe,Oe,it,At,kn,pn){return Nr(pe)===At||At!==Vn&&An(Oe,it,pe)?void 0===pe.redirectTo?this.matchSegmentAgainstRoute(ue,Oe,pe,it,At,pn):this.allowRedirects&&kn?this.expandSegmentAgainstRouteUsingRedirect(ue,Oe,Z,pe,it,At,pn):rr(Oe):rr(Oe)}expandSegmentAgainstRouteUsingRedirect(ue,Z,pe,Oe,it,At,kn){const{matched:pn,parameters:pi,consumedSegments:Co,positionalParamSegments:Uo,remainingSegments:us}=ee(Z,Oe,it);if(!pn)return rr(Z);"string"==typeof Oe.redirectTo&&"/"===Oe.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const bl=new nr(it,pi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ms(Oe),Nr(Oe),Oe.component??Oe._loadedComponent??null,Oe,Fr(Oe)),zo=$o(bl,kn,this.paramsInheritanceStrategy);bl.params=Object.freeze(zo.params),bl.data=Object.freeze(zo.data);const Os=this.applyRedirects.applyRedirectCommands(Co,Oe.redirectTo,Uo,bl,ue);return this.applyRedirects.lineralizeSegments(Oe,Os).pipe((0,be.Z)(ss=>this.processSegment(ue,pe,Z,ss.concat(us),At,!1,kn)))}matchSegmentAgainstRoute(ue,Z,pe,Oe,it,At){const kn=J(Z,pe,Oe,ue);return"**"===pe.path&&(Z.children={}),kn.pipe((0,ft.n)(pn=>pn.matched?this.getChildConfig(ue=pe._injector??ue,pe,Oe).pipe((0,ft.n)(({routes:pi})=>{const Co=pe._loadedInjector??ue,{parameters:Uo,consumedSegments:us,remainingSegments:bl}=pn,zo=new nr(us,Uo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ms(pe),Nr(pe),pe.component??pe._loadedComponent??null,pe,Fr(pe)),Os=$o(zo,At,this.paramsInheritanceStrategy);zo.params=Object.freeze(Os.params),zo.data=Object.freeze(Os.data);const{segmentGroup:ss,slicedSegments:jl}=Ye(Z,us,bl,pi);if(0===jl.length&&ss.hasChildren())return this.processChildren(Co,pi,ss,zo).pipe((0,dt.T)(Lc=>new io(zo,Lc)));if(0===pi.length&&0===jl.length)return(0,a.of)(new io(zo,[]));const Ta=Nr(pe)===it;return this.processSegment(Co,pi,ss,jl,Ta?Vn:it,!0,zo).pipe((0,dt.T)(Lc=>new io(zo,Lc instanceof io?[Lc]:[])))})):rr(Z)))}getChildConfig(ue,Z,pe){return Z.children?(0,a.of)({routes:Z.children,injector:ue}):Z.loadChildren?void 0!==Z._loadedRoutes?(0,a.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):function Yr(W,ue,Z,pe){const Oe=ue.canLoad;if(void 0===Oe||0===Oe.length)return(0,a.of)(!0);const it=Oe.map(At=>{const kn=Jo(At,W);return ei(function bo(W){return W&&Wa(W.canLoad)}(kn)?kn.canLoad(ue,Z):(0,y.N4e)(W,()=>kn(ue,Z)))});return(0,a.of)(it).pipe(Ka(),Ir())}(ue,Z,pe).pipe((0,be.Z)(Oe=>Oe?this.configLoader.loadChildren(ue,Z).pipe((0,z.M)(it=>{Z._loadedRoutes=it.routes,Z._loadedInjector=it.injector})):function ba(){return Ee(ir(!1,ln.GuardRejected))}())):(0,a.of)({routes:[],injector:ue})}}function ks(W){const ue=W.value.routeConfig;return ue&&""===ue.path}function ds(W){const ue=[],Z=new Set;for(const pe of W){if(!ks(pe)){ue.push(pe);continue}const Oe=ue.find(it=>pe.value.routeConfig===it.value.routeConfig);void 0!==Oe?(Oe.children.push(...pe.children),Z.add(Oe)):ue.push(pe)}for(const pe of Z){const Oe=ds(pe.children);ue.push(new io(pe.value,Oe))}return ue.filter(pe=>!Z.has(pe))}function Ms(W){return W.data||{}}function Fr(W){return W.resolve||{}}function wr(W){const ue=W.children.map(Z=>wr(Z)).flat();return[W,...ue]}function yr(W){return(0,ft.n)(ue=>{const Z=W(ue);return Z?(0,n.H)(Z).pipe((0,dt.T)(()=>ue)):(0,a.of)(ue)})}let jr=(()=>{class W{buildTitle(Z){let pe,Oe=Z.root;for(;void 0!==Oe;)pe=this.getResolvedTitleForRoute(Oe)??pe,Oe=Oe.children.find(it=>it.outlet===Vn);return pe}getResolvedTitleForRoute(Z){return Z.data[Wn]}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:()=>(0,y.WQX)(ec),providedIn:"root"})}return W})(),ec=(()=>{class W extends jr{constructor(Z){super(),this.title=Z}updateTitle(Z){const pe=this.buildTitle(Z);void 0!==pe&&this.title.setTitle(pe)}static#e=this.\u0275fac=function(pe){return new(pe||W)(y.KVO(oi.hE))};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const tc=new y.nKC("",{providedIn:"root",factory:()=>({})});let kd=(()=>{class W{static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275cmp=y.VBU({type:W,selectors:[["ng-component"]],standalone:!0,features:[y.aNF],decls:1,vars:0,template:function(pe,Oe){1&pe&&y.nrm(0,"router-outlet")},dependencies:[Ar],encapsulation:2})}return W})();function ho(W){const ue=W.children&&W.children.map(ho),Z=ue?{...W,children:ue}:{...W};return!Z.component&&!Z.loadComponent&&(ue||Z.loadChildren)&&Z.outlet&&Z.outlet!==Vn&&(Z.component=kd),Z}const so=new y.nKC("");let Ii=(()=>{class W{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,y.WQX)(y.Ql9)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,a.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const pe=ei(Z.loadComponent()).pipe((0,dt.T)(hr),(0,z.M)(it=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=it}),(0,yt.j)(()=>{this.componentLoaders.delete(Z)})),Oe=new Ge.G(pe,()=>new ht.B).pipe((0,Rt.B)());return this.componentLoaders.set(Z,Oe),Oe}loadChildren(Z,pe){if(this.childrenLoaders.get(pe))return this.childrenLoaders.get(pe);if(pe._loadedRoutes)return(0,a.of)({routes:pe._loadedRoutes,injector:pe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(pe);const it=function cr(W,ue,Z,pe){return ei(W.loadChildren()).pipe((0,dt.T)(hr),(0,be.Z)(Oe=>Oe instanceof y.Co$||Array.isArray(Oe)?(0,a.of)(Oe):(0,n.H)(ue.compileModuleAsync(Oe))),(0,dt.T)(Oe=>{pe&&pe(W);let it,At,kn=!1;return Array.isArray(Oe)?(At=Oe,!0):(it=Oe.create(Z).injector,At=it.get(so,[],{optional:!0,self:!0}).flat()),{routes:At.map(ho),injector:it}}))}(pe,this.compiler,Z,this.onLoadEndListener).pipe((0,yt.j)(()=>{this.childrenLoaders.delete(pe)})),At=new Ge.G(it,()=>new ht.B).pipe((0,Rt.B)());return this.childrenLoaders.set(pe,At),At}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function hr(W){return function _s(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let Qs=(()=>{class W{static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:()=>(0,y.WQX)(nc),providedIn:"root"})}return W})(),nc=(()=>{class W{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,pe){return Z}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const xo=new y.nKC(""),Qa=new y.nKC("");function nd(W,ue,Z){const pe=W.get(Qa),Oe=W.get(Tt.qQ);return W.get(y.SKi).runOutsideAngular(()=>{if(!Oe.startViewTransition||pe.skipNextTransition)return pe.skipNextTransition=!1,new Promise(pi=>setTimeout(pi));let it;const At=new Promise(pi=>{it=pi}),kn=Oe.startViewTransition(()=>(it(),function te(W){return new Promise(ue=>{(0,y.mal)({read:()=>setTimeout(ue)},{injector:W})})}(W))),{onViewTransitionCreated:pn}=pe;return pn&&(0,y.N4e)(W,()=>pn({transition:kn,from:ue,to:Z})),At})}const je=new y.nKC("");let ve=(()=>{class W{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ht.B,this.transitionAbortSubject=new ht.B,this.configLoader=(0,y.WQX)(Ii),this.environmentInjector=(0,y.WQX)(y.uvJ),this.urlSerializer=(0,y.WQX)(Li),this.rootContexts=(0,y.WQX)(ia),this.location=(0,y.WQX)(Tt.aZ),this.inputBindingEnabled=null!==(0,y.WQX)(xl,{optional:!0}),this.titleStrategy=(0,y.WQX)(jr),this.options=(0,y.WQX)(tc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,y.WQX)(Qs),this.createViewTransition=(0,y.WQX)(xo,{optional:!0}),this.navigationErrorHandler=(0,y.WQX)(je,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,a.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Oe=>this.events.next(new or(Oe)),this.configLoader.onLoadStartListener=Oe=>this.events.next(new jo(Oe))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const pe=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:pe})}setupNavigations(Z,pe,Oe){return this.transitions=new L.t({id:0,currentUrlTree:pe,currentRawUrl:pe,extractedUrl:this.urlHandlingStrategy.extract(pe),urlAfterRedirects:this.urlHandlingStrategy.extract(pe),rawUrl:pe,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Gt,restoredState:null,currentSnapshot:Oe.snapshot,targetSnapshot:null,currentRouterState:Oe,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Te.p)(it=>0!==it.id),(0,dt.T)(it=>({...it,extractedUrl:this.urlHandlingStrategy.extract(it.rawUrl)})),(0,ft.n)(it=>{let At=!1,kn=!1;return(0,a.of)(it).pipe((0,ft.n)(pn=>{if(this.navigationId>it.id)return this.cancelNavigationTransition(it,"",ln.SupersededByNewNavigation),qe.w;this.currentTransition=it,this.currentNavigation={id:pn.id,initialUrl:pn.rawUrl,extractedUrl:pn.extractedUrl,targetBrowserUrl:"string"==typeof pn.extras.browserUrl?this.urlSerializer.parse(pn.extras.browserUrl):pn.extras.browserUrl,trigger:pn.source,extras:pn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const pi=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!pi&&"reload"!==(pn.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const Uo="";return this.events.next(new Ei(pn.id,this.urlSerializer.serialize(pn.rawUrl),Uo,On.IgnoredSameUrlNavigation)),pn.resolve(!1),qe.w}if(this.urlHandlingStrategy.shouldProcessUrl(pn.rawUrl))return(0,a.of)(pn).pipe((0,ft.n)(Uo=>{const us=this.transitions?.getValue();return this.events.next(new Fn(Uo.id,this.urlSerializer.serialize(Uo.extractedUrl),Uo.source,Uo.restoredState)),us!==this.transitions?.getValue()?qe.w:Promise.resolve(Uo)}),function vs(W,ue,Z,pe,Oe,it){return(0,be.Z)(At=>function _r(W,ue,Z,pe,Oe,it,At="emptyOnly"){return new Oo(W,ue,Z,pe,Oe,At,it).recognize()}(W,ue,Z,pe,At.extractedUrl,Oe,it).pipe((0,dt.T)(({state:kn,tree:pn})=>({...At,targetSnapshot:kn,urlAfterRedirects:pn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,z.M)(Uo=>{it.targetSnapshot=Uo.targetSnapshot,it.urlAfterRedirects=Uo.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Uo.urlAfterRedirects};const us=new Oi(Uo.id,this.urlSerializer.serialize(Uo.extractedUrl),this.urlSerializer.serialize(Uo.urlAfterRedirects),Uo.targetSnapshot);this.events.next(us)}));if(pi&&this.urlHandlingStrategy.shouldProcessUrl(pn.currentRawUrl)){const{id:Uo,extractedUrl:us,source:bl,restoredState:zo,extras:Os}=pn,ss=new Fn(Uo,this.urlSerializer.serialize(us),bl,zo);this.events.next(ss);const jl=wn(this.rootComponentType).snapshot;return this.currentTransition=it={...pn,targetSnapshot:jl,urlAfterRedirects:us,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=us,(0,a.of)(it)}{const Uo="";return this.events.next(new Ei(pn.id,this.urlSerializer.serialize(pn.extractedUrl),Uo,On.IgnoredByUrlHandlingStrategy)),pn.resolve(!1),qe.w}}),(0,z.M)(pn=>{const pi=new mr(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects),pn.targetSnapshot);this.events.next(pi)}),(0,dt.T)(pn=>(this.currentTransition=it={...pn,guards:Sd(pn.targetSnapshot,pn.currentSnapshot,this.rootContexts)},it)),function Ie(W,ue){return(0,be.Z)(Z=>{const{targetSnapshot:pe,currentSnapshot:Oe,guards:{canActivateChecks:it,canDeactivateChecks:At}}=Z;return 0===At.length&&0===it.length?(0,a.of)({...Z,guardsResult:!0}):function he(W,ue,Z,pe){return(0,n.H)(W).pipe((0,be.Z)(Oe=>function li(W,ue,Z,pe,Oe){const it=ue&&ue.routeConfig?ue.routeConfig.canDeactivate:null;if(!it||0===it.length)return(0,a.of)(!0);const At=it.map(kn=>{const pn=Vs(ue)??Oe,pi=Jo(kn,pn);return ei(function xa(W){return W&&Wa(W.canDeactivate)}(pi)?pi.canDeactivate(W,ue,Z,pe):(0,y.N4e)(pn,()=>pi(W,ue,Z,pe))).pipe((0,Pe.$)())});return(0,a.of)(At).pipe(Ka())}(Oe.component,Oe.route,Z,ue,pe)),(0,Pe.$)(Oe=>!0!==Oe,!0))}(At,pe,Oe,W).pipe((0,be.Z)(kn=>kn&&function gl(W){return"boolean"==typeof W}(kn)?function Qe(W,ue,Z,pe){return(0,n.H)(ue).pipe((0,et.H)(Oe=>(0,se.x)(function Ji(W,ue){return null!==W&&ue&&ue(new na(W)),(0,a.of)(!0)}(Oe.route.parent,pe),function $t(W,ue){return null!==W&&ue&&ue(new gr(W)),(0,a.of)(!0)}(Oe.route,pe),function os(W,ue,Z){const pe=ue[ue.length-1],it=ue.slice(0,ue.length-1).reverse().map(At=>function Fl(W){const ue=W.routeConfig?W.routeConfig.canActivateChild:null;return ue&&0!==ue.length?{node:W,guards:ue}:null}(At)).filter(At=>null!==At).map(At=>(0,fe.v)(()=>{const kn=At.guards.map(pn=>{const pi=Vs(At.node)??Z,Co=Jo(pn,pi);return ei(function xr(W){return W&&Wa(W.canActivateChild)}(Co)?Co.canActivateChild(pe,W):(0,y.N4e)(pi,()=>Co(pe,W))).pipe((0,Pe.$)())});return(0,a.of)(kn).pipe(Ka())}));return(0,a.of)(it).pipe(Ka())}(W,Oe.path,Z),function Do(W,ue,Z){const pe=ue.routeConfig?ue.routeConfig.canActivate:null;if(!pe||0===pe.length)return(0,a.of)(!0);const Oe=pe.map(it=>(0,fe.v)(()=>{const At=Vs(ue)??Z,kn=Jo(it,At);return ei(function Ma(W){return W&&Wa(W.canActivate)}(kn)?kn.canActivate(ue,W):(0,y.N4e)(At,()=>kn(ue,W))).pipe((0,Pe.$)())}));return(0,a.of)(Oe).pipe(Ka())}(W,Oe.route,Z))),(0,Pe.$)(Oe=>!0!==Oe,!0))}(pe,it,W,ue):(0,a.of)(kn)),(0,dt.T)(kn=>({...Z,guardsResult:kn})))})}(this.environmentInjector,pn=>this.events.next(pn)),(0,z.M)(pn=>{if(it.guardsResult=pn.guardsResult,pn.guardsResult&&"boolean"!=typeof pn.guardsResult)throw gs(0,pn.guardsResult);const pi=new Bo(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects),pn.targetSnapshot,!!pn.guardsResult);this.events.next(pi)}),(0,Te.p)(pn=>!!pn.guardsResult||(this.cancelNavigationTransition(pn,"",ln.GuardRejected),!1)),yr(pn=>{if(pn.guards.canActivateChecks.length)return(0,a.of)(pn).pipe((0,z.M)(pi=>{const Co=new wo(pi.id,this.urlSerializer.serialize(pi.extractedUrl),this.urlSerializer.serialize(pi.urlAfterRedirects),pi.targetSnapshot);this.events.next(Co)}),(0,ft.n)(pi=>{let Co=!1;return(0,a.of)(pi).pipe(function Gr(W,ue){return(0,be.Z)(Z=>{const{targetSnapshot:pe,guards:{canActivateChecks:Oe}}=Z;if(!Oe.length)return(0,a.of)(Z);const it=new Set(Oe.map(pn=>pn.route)),At=new Set;for(const pn of it)if(!At.has(pn))for(const pi of wr(pn))At.add(pi);let kn=0;return(0,n.H)(At).pipe((0,et.H)(pn=>it.has(pn)?function Ca(W,ue,Z,pe){const Oe=W.routeConfig,it=W._resolve;return void 0!==Oe?.title&&!Ks(Oe)&&(it[Wn]=Oe.title),function Ba(W,ue,Z,pe){const Oe=vi(W);if(0===Oe.length)return(0,a.of)({});const it={};return(0,n.H)(Oe).pipe((0,be.Z)(At=>function uo(W,ue,Z,pe){const Oe=Vs(ue)??pe,it=Jo(W,Oe);return ei(it.resolve?it.resolve(ue,Z):(0,y.N4e)(Oe,()=>it(ue,Z)))}(W[At],ue,Z,pe).pipe((0,Pe.$)(),(0,z.M)(kn=>{if(kn instanceof ar)throw gs(new _o,kn);it[At]=kn}))),sn(1),(0,Xe.u)(it),(0,X.W)(At=>vl(At)?qe.w:Ee(At)))}(it,W,ue,pe).pipe((0,dt.T)(At=>(W._resolvedData=At,W.data=$o(W,W.parent,Z).resolve,null)))}(pn,pe,W,ue):(pn.data=$o(pn,pn.parent,W).resolve,(0,a.of)(void 0))),(0,z.M)(()=>kn++),sn(1),(0,be.Z)(pn=>kn===At.size?(0,a.of)(Z):qe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,z.M)({next:()=>Co=!0,complete:()=>{Co||this.cancelNavigationTransition(pi,"",ln.NoDataFromResolver)}}))}),(0,z.M)(pi=>{const Co=new Io(pi.id,this.urlSerializer.serialize(pi.extractedUrl),this.urlSerializer.serialize(pi.urlAfterRedirects),pi.targetSnapshot);this.events.next(Co)}))}),yr(pn=>{const pi=Co=>{const Uo=[];Co.routeConfig?.loadComponent&&!Co.routeConfig._loadedComponent&&Uo.push(this.configLoader.loadComponent(Co.routeConfig).pipe((0,z.M)(us=>{Co.component=us}),(0,dt.T)(()=>{})));for(const us of Co.children)Uo.push(...pi(us));return Uo};return(0,ae.z)(pi(pn.targetSnapshot.root)).pipe((0,rt.U)(null),(0,ze.s)(1))}),yr(()=>this.afterPreactivation()),(0,ft.n)(()=>{const{currentSnapshot:pn,targetSnapshot:pi}=it,Co=this.createViewTransition?.(this.environmentInjector,pn.root,pi.root);return Co?(0,n.H)(Co).pipe((0,dt.T)(()=>it)):(0,a.of)(it)}),(0,dt.T)(pn=>{const pi=function fs(W,ue,Z){const pe=cs(W,ue._root,Z?Z._root:void 0);return new nn(pe,ue)}(Z.routeReuseStrategy,pn.targetSnapshot,pn.currentRouterState);return this.currentTransition=it={...pn,targetRouterState:pi},this.currentNavigation.targetRouterState=pi,it}),(0,z.M)(()=>{this.events.next(new vr)}),((W,ue,Z,pe)=>(0,dt.T)(Oe=>(new Bs(ue,Oe.targetRouterState,Oe.currentRouterState,Z,pe).activate(W),Oe)))(this.rootContexts,Z.routeReuseStrategy,pn=>this.events.next(pn),this.inputBindingEnabled),(0,ze.s)(1),(0,z.M)({next:pn=>{At=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ai(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects))),this.titleStrategy?.updateTitle(pn.targetRouterState.snapshot),pn.resolve(!0)},complete:()=>{At=!0}}),(0,Vt.Q)(this.transitionAbortSubject.pipe((0,z.M)(pn=>{throw pn}))),(0,yt.j)(()=>{!At&&!kn&&this.cancelNavigationTransition(it,"",ln.SupersededByNewNavigation),this.currentTransition?.id===it.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,X.W)(pn=>{if(kn=!0,js(pn))this.events.next(new Ln(it.id,this.urlSerializer.serialize(it.extractedUrl),pn.message,pn.cancellationCode)),function ms(W){return js(W)&&re(W.url)}(pn)?this.events.next(new Ls(pn.url,pn.navigationBehaviorOptions)):it.resolve(!1);else{const pi=new Po(it.id,this.urlSerializer.serialize(it.extractedUrl),pn,it.targetSnapshot??void 0);try{const Co=(0,y.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(pi));if(Co instanceof ar){const{message:Uo,cancellationCode:us}=gs(0,Co);this.events.next(new Ln(it.id,this.urlSerializer.serialize(it.extractedUrl),Uo,us)),this.events.next(new Ls(Co.redirectTo,Co.navigationBehaviorOptions))}else{this.events.next(pi);const Uo=Z.errorHandler(pn);it.resolve(!!Uo)}}catch(Co){this.options.resolveNavigationPromiseOnError?it.resolve(!1):it.reject(Co)}}return qe.w}))}))}cancelNavigationTransition(Z,pe,Oe){const it=new Ln(Z.id,this.urlSerializer.serialize(Z.extractedUrl),pe,Oe);this.events.next(it),Z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const Z=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),pe=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return Z.toString()!==pe?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Re(W){return W!==Gt}let Pt=(()=>{class W{static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:()=>(0,y.WQX)(Pn),providedIn:"root"})}return W})();class vn{shouldDetach(ue){return!1}store(ue,Z){}shouldAttach(ue){return!1}retrieve(ue){return null}shouldReuseRoute(ue,Z){return ue.routeConfig===Z.routeConfig}}let Pn=(()=>{class W extends vn{static#e=this.\u0275fac=(()=>{let Z;return function(Oe){return(Z||(Z=y.xGo(W)))(Oe||W)}})();static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Xi=(()=>{class W{static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:()=>(0,y.WQX)(xs),providedIn:"root"})}return W})(),xs=(()=>{class W extends Xi{constructor(){super(...arguments),this.location=(0,y.WQX)(Tt.aZ),this.urlSerializer=(0,y.WQX)(Li),this.options=(0,y.WQX)(tc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,y.WQX)(Qs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new rn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=wn(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(Z){return this.location.subscribe(pe=>{"popstate"===pe.type&&Z(pe.url,pe.state)})}handleRouterEvent(Z,pe){if(Z instanceof Fn)this.stateMemento=this.createStateMemento();else if(Z instanceof Ei)this.rawUrlTree=pe.initialUrl;else if(Z instanceof Oi){if("eager"===this.urlUpdateStrategy&&!pe.extras.skipLocationChange){const Oe=this.urlHandlingStrategy.merge(pe.finalUrl,pe.initialUrl);this.setBrowserUrl(pe.targetBrowserUrl??Oe,pe)}}else Z instanceof vr?(this.currentUrlTree=pe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(pe.finalUrl,pe.initialUrl),this.routerState=pe.targetRouterState,"deferred"===this.urlUpdateStrategy&&!pe.extras.skipLocationChange&&this.setBrowserUrl(pe.targetBrowserUrl??this.rawUrlTree,pe)):Z instanceof Ln&&(Z.code===ln.GuardRejected||Z.code===ln.NoDataFromResolver)?this.restoreHistory(pe):Z instanceof Po?this.restoreHistory(pe,!0):Z instanceof ai&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,pe){const Oe=Z instanceof rn?this.urlSerializer.serialize(Z):Z;if(this.location.isCurrentPathEqualTo(Oe)||pe.extras.replaceUrl){const At={...pe.extras.state,...this.generateNgRouterState(pe.id,this.browserPageId)};this.location.replaceState(Oe,"",At)}else{const it={...pe.extras.state,...this.generateNgRouterState(pe.id,this.browserPageId+1)};this.location.go(Oe,"",it)}}restoreHistory(Z,pe=!1){if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-this.browserPageId;0!==it?this.location.historyGo(it):this.currentUrlTree===Z.finalUrl&&0===it&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(pe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,pe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:pe}:{navigationId:Z}}static#e=this.\u0275fac=(()=>{let Z;return function(Oe){return(Z||(Z=y.xGo(W)))(Oe||W)}})();static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var Fo=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(Fo||{});function pr(W,ue){W.events.pipe((0,Te.p)(Z=>Z instanceof ai||Z instanceof Ln||Z instanceof Po||Z instanceof Ei),(0,dt.T)(Z=>Z instanceof ai||Z instanceof Ei?Fo.COMPLETE:Z instanceof Ln&&(Z.code===ln.Redirect||Z.code===ln.SupersededByNewNavigation)?Fo.REDIRECTING:Fo.FAILED),(0,Te.p)(Z=>Z!==Fo.REDIRECTING),(0,ze.s)(1)).subscribe(()=>{ue()})}function hi(W){throw W}const rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class W{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=(0,y.WQX)(y.H3F),this.stateManager=(0,y.WQX)(Xi),this.options=(0,y.WQX)(tc,{optional:!0})||{},this.pendingTasks=(0,y.WQX)(y.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,y.WQX)(ve),this.urlSerializer=(0,y.WQX)(Li),this.location=(0,y.WQX)(Tt.aZ),this.urlHandlingStrategy=(0,y.WQX)(Qs),this._events=new ht.B,this.errorHandler=this.options.errorHandler||hi,this.navigated=!1,this.routeReuseStrategy=(0,y.WQX)(Pt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,y.WQX)(so,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,y.WQX)(xl,{optional:!0}),this.eventsSubscription=new at.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(pe=>{try{const Oe=this.navigationTransitions.currentTransition,it=this.navigationTransitions.currentNavigation;if(null!==Oe&&null!==it)if(this.stateManager.handleRouterEvent(pe,it),pe instanceof Ln&&pe.code!==ln.Redirect&&pe.code!==ln.SupersededByNewNavigation)this.navigated=!0;else if(pe instanceof ai)this.navigated=!0;else if(pe instanceof Ls){const At=pe.navigationBehaviorOptions,kn=this.urlHandlingStrategy.merge(pe.url,Oe.currentRawUrl),pn={browserUrl:Oe.extras.browserUrl,info:Oe.extras.info,skipLocationChange:Oe.extras.skipLocationChange,replaceUrl:Oe.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Re(Oe.source),...At};this.scheduleNavigation(kn,Gt,null,pn,{resolve:Oe.resolve,reject:Oe.reject,promise:Oe.promise})}(function il(W){return!(W instanceof vr||W instanceof Ls)})(pe)&&this._events.next(pe)}catch(Oe){this.navigationTransitions.transitionAbortSubject.next(Oe)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Gt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,pe)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",pe)},0)})}navigateToSyncWithBrowser(Z,pe,Oe){const it={replaceUrl:!0},At=Oe?.navigationId?Oe:null;if(Oe){const pn={...Oe};delete pn.navigationId,delete pn.\u0275routerPageId,0!==Object.keys(pn).length&&(it.state=pn)}const kn=this.parseUrl(Z);this.scheduleNavigation(kn,pe,At,it)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(ho),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(Z,pe={}){const{relativeTo:Oe,queryParams:it,fragment:At,queryParamsHandling:kn,preserveFragment:pn}=pe,pi=pn?this.currentUrlTree.fragment:At;let Uo,Co=null;switch(kn??this.options.defaultQueryParamsHandling){case"merge":Co={...this.currentUrlTree.queryParams,...it};break;case"preserve":Co=this.currentUrlTree.queryParams;break;default:Co=it||null}null!==Co&&(Co=this.removeEmptyProps(Co));try{Uo=We(Oe?Oe.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||"/"!==Z[0][0])&&(Z=[]),Uo=this.currentUrlTree.root}return Ft(Uo,Z,Co,pi??null)}navigateByUrl(Z,pe={skipLocationChange:!1}){const Oe=re(Z)?Z:this.parseUrl(Z),it=this.urlHandlingStrategy.merge(Oe,this.rawUrlTree);return this.scheduleNavigation(it,Gt,null,pe)}navigate(Z,pe={skipLocationChange:!1}){return function ic(W){for(let ue=0;ue<W.length;ue++)if(null==W[ue])throw new y.wOt(4008,!1)}(Z),this.navigateByUrl(this.createUrlTree(Z,pe),pe)}serializeUrl(Z){return this.urlSerializer.serialize(Z)}parseUrl(Z){try{return this.urlSerializer.parse(Z)}catch{return this.urlSerializer.parse("/")}}isActive(Z,pe){let Oe;if(Oe=!0===pe?{...rs}:!1===pe?{...Lr}:pe,re(Z))return Xn(this.currentUrlTree,Z,Oe);const it=this.parseUrl(Z);return Xn(this.currentUrlTree,it,Oe)}removeEmptyProps(Z){return Object.entries(Z).reduce((pe,[Oe,it])=>(null!=it&&(pe[Oe]=it),pe),{})}scheduleNavigation(Z,pe,Oe,it,At){if(this.disposed)return Promise.resolve(!1);let kn,pn,pi;At?(kn=At.resolve,pn=At.reject,pi=At.promise):pi=new Promise((Uo,us)=>{kn=Uo,pn=us});const Co=this.pendingTasks.add();return pr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Co))}),this.navigationTransitions.handleNavigationRequest({source:pe,restoredState:Oe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:it,resolve:kn,reject:pn,promise:pi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pi.catch(Uo=>Promise.reject(Uo))}static#e=this.\u0275fac=function(pe){return new(pe||W)};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),ol=(()=>{class W{constructor(Z,pe,Oe,it,At,kn){this.router=Z,this.route=pe,this.tabIndexAttribute=Oe,this.renderer=it,this.el=At,this.locationStrategy=kn,this.href=null,this.onChanges=new ht.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const pn=At.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pn||"area"===pn,this.isAnchorElement?this.subscription=Z.events.subscribe(pi=>{pi instanceof ai&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null==Z?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=re(Z)||Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Z,pe,Oe,it,At){const kn=this.urlTree;return!!(null===kn||this.isAnchorElement&&(0!==Z||pe||Oe||it||At||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(kn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.href=null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z)):null;const pe=null===this.href?null:(0,y.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",pe)}applyAttributeValue(Z,pe){const Oe=this.renderer,it=this.el.nativeElement;null!==pe?Oe.setAttribute(it,Z,pe):Oe.removeAttribute(it,Z)}get urlTree(){return null===this.routerLinkInput?null:re(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#e=this.\u0275fac=function(pe){return new(pe||W)(y.rXU(Rr),y.rXU(ko),y.kS0("tabindex"),y.rXU(y.sFG),y.rXU(y.aKT),y.rXU(Tt.hb))};static#t=this.\u0275dir=y.FsC({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(pe,Oe){1&pe&&y.bIt("click",function(At){return Oe.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&pe&&y.BMQ("target",Oe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",y.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",y.L39],replaceUrl:[2,"replaceUrl","replaceUrl",y.L39],routerLink:"routerLink"},standalone:!0,features:[y.GFd,y.OA$]})}return W})();class $a{}let Ed=(()=>{class W{constructor(Z,pe,Oe,it,At){this.router=Z,this.injector=Oe,this.preloadingStrategy=it,this.loader=At}setUpPreloading(){this.subscription=this.router.events.pipe((0,Te.p)(Z=>Z instanceof ai),(0,et.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,pe){const Oe=[];for(const it of pe){it.providers&&!it._injector&&(it._injector=(0,y.Ol2)(it.providers,Z,`Route: ${it.path}`));const At=it._injector??Z,kn=it._loadedInjector??At;(it.loadChildren&&!it._loadedRoutes&&void 0===it.canLoad||it.loadComponent&&!it._loadedComponent)&&Oe.push(this.preloadConfig(At,it)),(it.children||it._loadedRoutes)&&Oe.push(this.processRoutes(kn,it.children??it._loadedRoutes))}return(0,n.H)(Oe).pipe((0,_n.U)())}preloadConfig(Z,pe){return this.preloadingStrategy.preload(pe,()=>{let Oe;Oe=pe.loadChildren&&void 0===pe.canLoad?this.loader.loadChildren(Z,pe):(0,a.of)(null);const it=Oe.pipe((0,be.Z)(At=>null===At?(0,a.of)(void 0):(pe._loadedRoutes=At.routes,pe._loadedInjector=At.injector,this.processRoutes(At.injector??Z,At.routes))));if(pe.loadComponent&&!pe._loadedComponent){const At=this.loader.loadComponent(pe);return(0,n.H)([it,At]).pipe((0,_n.U)())}return it})}static#e=this.\u0275fac=function(pe){return new(pe||W)(y.KVO(Rr),y.KVO(y.Ql9),y.KVO(y.uvJ),y.KVO($a),y.KVO(Ii))};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const rh=new y.nKC("");let Ol=(()=>{class W{constructor(Z,pe,Oe,it,At={}){this.urlSerializer=Z,this.transitions=pe,this.viewportScroller=Oe,this.zone=it,this.options=At,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},At.scrollPositionRestoration||="disabled",At.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(Z=>{Z instanceof Fn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof ai?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof Ei&&Z.code===On.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof ps&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,pe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ps(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,pe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(pe){y.QTQ()};static#t=this.\u0275prov=y.jDH({token:W,factory:W.\u0275fac})}return W})();function yl(W,ue){return{\u0275kind:W,\u0275providers:ue}}function Ys(){const W=(0,y.WQX)(y.zZn);return ue=>{const Z=W.get(y.o8S);if(ue!==Z.components[0])return;const pe=W.get(Rr),Oe=W.get(Ia);1===W.get(id)&&pe.initialNavigation(),W.get(zl,null,y.$GK.Optional)?.setUpPreloading(),W.get(rh,null,y.$GK.Optional)?.init(),pe.resetRootComponentType(Z.componentTypes[0]),Oe.closed||(Oe.next(),Oe.complete(),Oe.unsubscribe())}}const Ia=new y.nKC("",{factory:()=>new ht.B}),id=new y.nKC("",{providedIn:"root",factory:()=>1}),zl=new y.nKC("");function Er(W){return yl(0,[{provide:zl,useExisting:Ed},{provide:$a,useExisting:W}])}function Gl(W){return yl(9,[{provide:xo,useValue:nd},{provide:Qa,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const Da=new y.nKC("ROUTER_FORROOT_GUARD"),Yu=[Tt.aZ,{provide:Li,useClass:_o},Rr,ia,{provide:ko,useFactory:function Jh(W){return W.routerState.root},deps:[Rr]},Ii,[]];let mu=(()=>{class W{constructor(Z){}static forRoot(Z,pe){return{ngModule:W,providers:[Yu,[],{provide:so,multi:!0,useValue:Z},{provide:Da,useFactory:qu,deps:[[Rr,new y.Xx1,new y.kdw]]},{provide:tc,useValue:pe||{}},pe?.useHash?{provide:Tt.hb,useClass:Tt.fw}:{provide:Tt.hb,useClass:Tt.Sm},{provide:rh,useFactory:()=>{const W=(0,y.WQX)(Tt.Xr),ue=(0,y.WQX)(y.SKi),Z=(0,y.WQX)(tc),pe=(0,y.WQX)(ve),Oe=(0,y.WQX)(Li);return Z.scrollOffset&&W.setOffset(Z.scrollOffset),new Ol(Oe,pe,W,ue,Z)}},pe?.preloadingStrategy?Er(pe.preloadingStrategy).\u0275providers:[],pe?.initialNavigation?sd(pe):[],pe?.bindToComponentInputs?yl(8,[xi,{provide:xl,useExisting:xi}]).\u0275providers:[],pe?.enableViewTransitions?Gl().\u0275providers:[],[{provide:Gd,useFactory:Ys},{provide:y.iLQ,multi:!0,useExisting:Gd}]]}}static forChild(Z){return{ngModule:W,providers:[{provide:so,multi:!0,useValue:Z}]}}static#e=this.\u0275fac=function(pe){return new(pe||W)(y.KVO(Da,8))};static#t=this.\u0275mod=y.$C({type:W});static#n=this.\u0275inj=y.G2t({})}return W})();function qu(W){return"guarded"}function sd(W){return["disabled"===W.initialNavigation?yl(3,[{provide:y.hnV,multi:!0,useFactory:()=>{const ue=(0,y.WQX)(Rr);return()=>{ue.setUpLocationChangeListener()}}},{provide:id,useValue:2}]).\u0275providers:[],"enabledBlocking"===W.initialNavigation?yl(2,[{provide:id,useValue:0},{provide:y.hnV,multi:!0,deps:[y.zZn],useFactory:ue=>{const Z=ue.get(Tt.hj,Promise.resolve());return()=>Z.then(()=>new Promise(pe=>{const Oe=ue.get(Rr),it=ue.get(Ia);pr(Oe,()=>{pe(!0)}),ue.get(ve).afterPreactivation=()=>(pe(!0),it.closed?(0,a.of)(void 0):it),Oe.initialNavigation()}))}}]).\u0275providers:[]]}const Gd=new y.nKC("")},17852:(De,A,C)=>{"use strict";C.d(A,{MF:()=>qt,j6:()=>mi,xZ:()=>Vi,om:()=>wi,Sx:()=>xt,Dk:()=>en,Wp:()=>Cn,KO:()=>tn});var y=C(10467),$=C(51362),n=C(8041),a=C(21076);const L=(hn,Zt)=>Zt.some(Dn=>hn instanceof Dn);let ae,K;const le=new WeakMap,de=new WeakMap,Ve=new WeakMap,Ee=new WeakMap,qe=new WeakMap;let at={get(hn,Zt,Dn){if(hn instanceof IDBTransaction){if("done"===Zt)return de.get(hn);if("objectStoreNames"===Zt)return hn.objectStoreNames||Ve.get(hn);if("store"===Zt)return Dn.objectStoreNames[1]?void 0:Dn.objectStore(Dn.objectStoreNames[0])}return ze(hn[Zt])},set:(hn,Zt,Dn)=>(hn[Zt]=Dn,!0),has:(hn,Zt)=>hn instanceof IDBTransaction&&("done"===Zt||"store"===Zt)||Zt in hn};function ft(hn){return"function"==typeof hn?function dt(hn){return hn!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function fe(){return K||(K=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(hn)?function(...Zt){return hn.apply(B(this),Zt),ze(le.get(this))}:function(...Zt){return ze(hn.apply(B(this),Zt))}:function(Zt,...Dn){const gi=hn.call(B(this),Zt,...Dn);return Ve.set(gi,Zt.sort?Zt.sort():[Zt]),ze(gi)}}(hn):(hn instanceof IDBTransaction&&function ht(hn){if(de.has(hn))return;const Zt=new Promise((Dn,gi)=>{const $i=()=>{hn.removeEventListener("complete",ro),hn.removeEventListener("error",go),hn.removeEventListener("abort",go)},ro=()=>{Dn(),$i()},go=()=>{gi(hn.error||new DOMException("AbortError","AbortError")),$i()};hn.addEventListener("complete",ro),hn.addEventListener("error",go),hn.addEventListener("abort",go)});de.set(hn,Zt)}(hn),L(hn,function se(){return ae||(ae=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(hn,at):hn)}function ze(hn){if(hn instanceof IDBRequest)return function Ge(hn){const Zt=new Promise((Dn,gi)=>{const $i=()=>{hn.removeEventListener("success",ro),hn.removeEventListener("error",go)},ro=()=>{Dn(ze(hn.result)),$i()},go=()=>{gi(hn.error),$i()};hn.addEventListener("success",ro),hn.addEventListener("error",go)});return Zt.then(Dn=>{Dn instanceof IDBCursor&&le.set(Dn,hn)}).catch(()=>{}),qe.set(Zt,hn),Zt}(hn);if(Ee.has(hn))return Ee.get(hn);const Zt=ft(hn);return Zt!==hn&&(Ee.set(hn,Zt),qe.set(Zt,hn)),Zt}const B=hn=>qe.get(hn),Pe=["get","getKey","getAll","getAllKeys","count"],et=["put","add","delete","clear"],z=new Map;function X(hn,Zt){if(!(hn instanceof IDBDatabase)||Zt in hn||"string"!=typeof Zt)return;if(z.get(Zt))return z.get(Zt);const Dn=Zt.replace(/FromIndex$/,""),gi=Zt!==Dn,$i=et.includes(Dn);if(!(Dn in(gi?IDBIndex:IDBObjectStore).prototype)||!$i&&!Pe.includes(Dn))return;const ro=function(){var go=(0,y.A)(function*(Ao,...Yo){const $r=this.transaction(Ao,$i?"readwrite":"readonly");let ct=$r.store;return gi&&(ct=ct.index(Yo.shift())),(yield Promise.all([ct[Dn](...Yo),$i&&$r.done]))[0]});return function(Yo){return go.apply(this,arguments)}}();return z.set(Zt,ro),ro}!function Tt(hn){at=hn(at)}(hn=>({...hn,get:(Zt,Dn,gi)=>X(Zt,Dn)||hn.get(Zt,Dn,gi),has:(Zt,Dn)=>!!X(Zt,Dn)||hn.has(Zt,Dn)}));class P{constructor(Zt){this.container=Zt}getPlatformInfoString(){return this.container.getProviders().map(Dn=>{if(function rt(hn){const Zt=hn.getComponent();return"VERSION"===Zt?.type}(Dn)){const gi=Dn.getImmediate();return`${gi.library}/${gi.version}`}return null}).filter(Dn=>Dn).join(" ")}}const Ue="@firebase/app",zt="0.10.11",sn=new n.Vy("@firebase/app"),Mt="@firebase/app-compat",mt="@firebase/analytics-compat",Ke="@firebase/analytics",Xe="@firebase/app-check-compat",yt="@firebase/app-check",Rt="@firebase/auth",Vt="@firebase/auth-compat",_n="@firebase/database",oi="@firebase/database-compat",Vn="@firebase/functions",Wn="@firebase/functions-compat",qn="@firebase/installations",Ni="@firebase/installations-compat",Ci="@firebase/messaging",oo="@firebase/messaging-compat",Rn="@firebase/performance",vi="@firebase/performance-compat",So="@firebase/remote-config",fi="@firebase/remote-config-compat",ei="@firebase/storage",Yi="@firebase/storage-compat",En="@firebase/firestore",Xn="@firebase/vertexai-preview",lt="@firebase/firestore-compat",He="firebase",nt="[DEFAULT]",gt={[Ue]:"fire-core",[Mt]:"fire-core-compat",[Ke]:"fire-analytics",[mt]:"fire-analytics-compat",[yt]:"fire-app-check",[Xe]:"fire-app-check-compat",[Rt]:"fire-auth",[Vt]:"fire-auth-compat",[_n]:"fire-rtdb",[oi]:"fire-rtdb-compat",[Vn]:"fire-fn",[Wn]:"fire-fn-compat",[qn]:"fire-iid",[Ni]:"fire-iid-compat",[Ci]:"fire-fcm",[oo]:"fire-fcm-compat",[Rn]:"fire-perf",[vi]:"fire-perf-compat",[So]:"fire-rc",[fi]:"fire-rc-compat",[ei]:"fire-gcs",[Yi]:"fire-gcs-compat",[En]:"fire-fst",[lt]:"fire-fst-compat",[Xn]:"fire-vertex","fire-js":"fire-js",[He]:"fire-js-all"},Dt=new Map,rn=new Map,mn=new Map;function ri(hn,Zt){try{hn.container.addComponent(Zt)}catch(Dn){sn.debug(`Component ${Zt.name} failed to register with FirebaseApp ${hn.name}`,Dn)}}function wi(hn){const Zt=hn.name;if(mn.has(Zt))return sn.debug(`There were multiple attempts to register component ${Zt}.`),!1;mn.set(Zt,hn);for(const Dn of Dt.values())ri(Dn,hn);for(const Dn of rn.values())ri(Dn,hn);return!0}function mi(hn,Zt){const Dn=hn.container.getProvider("heartbeat").getImmediate({optional:!0});return Dn&&Dn.triggerHeartbeat(),hn.container.getProvider(Zt)}function Vi(hn){return void 0!==hn.settings}const Yt=new a.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class Hn{constructor(Zt,Dn,gi){this._isDeleted=!1,this._options=Object.assign({},Zt),this._config=Object.assign({},Dn),this._name=Dn.name,this._automaticDataCollectionEnabled=Dn.automaticDataCollectionEnabled,this._container=gi,this.container.addComponent(new $.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Zt){this.checkDestroyed(),this._automaticDataCollectionEnabled=Zt}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(Zt){this._isDeleted=Zt}checkDestroyed(){if(this.isDeleted)throw Yt.create("app-deleted",{appName:this._name})}}const qt="10.13.2";function Cn(hn,Zt={}){let Dn=hn;"object"!=typeof Zt&&(Zt={name:Zt});const gi=Object.assign({name:nt,automaticDataCollectionEnabled:!1},Zt),$i=gi.name;if("string"!=typeof $i||!$i)throw Yt.create("bad-app-name",{appName:String($i)});if(Dn||(Dn=(0,a.T9)()),!Dn)throw Yt.create("no-options");const ro=Dt.get($i);if(ro){if((0,a.bD)(Dn,ro.options)&&(0,a.bD)(gi,ro.config))return ro;throw Yt.create("duplicate-app",{appName:$i})}const go=new $.h1($i);for(const Yo of mn.values())go.addComponent(Yo);const Ao=new Hn(Dn,gi,go);return Dt.set($i,Ao),Ao}function xt(hn=nt){const Zt=Dt.get(hn);if(!Zt&&hn===nt&&(0,a.T9)())return Cn();if(!Zt)throw Yt.create("no-app",{appName:hn});return Zt}function en(){return Array.from(Dt.values())}function tn(hn,Zt,Dn){var gi;let $i=null!==(gi=gt[hn])&&void 0!==gi?gi:hn;Dn&&($i+=`-${Dn}`);const ro=$i.match(/\s|\//),go=Zt.match(/\s|\//);if(ro||go){const Ao=[`Unable to register library "${$i}" with version "${Zt}":`];return ro&&Ao.push(`library name "${$i}" contains illegal characters (whitespace or "/")`),ro&&go&&Ao.push("and"),go&&Ao.push(`version name "${Zt}" contains illegal characters (whitespace or "/")`),void sn.warn(Ao.join(" "))}wi(new $.uA(`${$i}-version`,()=>({library:$i,version:Zt}),"VERSION"))}const Et="firebase-heartbeat-database",gn=1,Ut="firebase-heartbeat-store";let Qn=null;function Nt(){return Qn||(Qn=function Te(hn,Zt,{blocked:Dn,upgrade:gi,blocking:$i,terminated:ro}={}){const go=indexedDB.open(hn,Zt),Ao=ze(go);return gi&&go.addEventListener("upgradeneeded",Yo=>{gi(ze(go.result),Yo.oldVersion,Yo.newVersion,ze(go.transaction),Yo)}),Dn&&go.addEventListener("blocked",Yo=>Dn(Yo.oldVersion,Yo.newVersion,Yo)),Ao.then(Yo=>{ro&&Yo.addEventListener("close",()=>ro()),$i&&Yo.addEventListener("versionchange",$r=>$i($r.oldVersion,$r.newVersion,$r))}).catch(()=>{}),Ao}(Et,gn,{upgrade:(hn,Zt)=>{if(0===Zt)try{hn.createObjectStore(Ut)}catch(Dn){console.warn(Dn)}}}).catch(hn=>{throw Yt.create("idb-open",{originalErrorMessage:hn.message})})),Qn}function we(){return(we=(0,y.A)(function*(hn){try{const Dn=(yield Nt()).transaction(Ut),gi=yield Dn.objectStore(Ut).get(ge(hn));return yield Dn.done,gi}catch(Zt){if(Zt instanceof a.g)sn.warn(Zt.message);else{const Dn=Yt.create("idb-get",{originalErrorMessage:Zt?.message});sn.warn(Dn.message)}}})).apply(this,arguments)}function H(hn,Zt){return re.apply(this,arguments)}function re(){return(re=(0,y.A)(function*(hn,Zt){try{const gi=(yield Nt()).transaction(Ut,"readwrite");yield gi.objectStore(Ut).put(Zt,ge(hn)),yield gi.done}catch(Dn){if(Dn instanceof a.g)sn.warn(Dn.message);else{const gi=Yt.create("idb-set",{originalErrorMessage:Dn?.message});sn.warn(gi.message)}}})).apply(this,arguments)}function ge(hn){return`${hn.name}!${hn.options.appId}`}class an{constructor(Zt){this.container=Zt,this._heartbeatsCache=null;const Dn=this.container.getProvider("app").getImmediate();this._storage=new ui(Dn),this._heartbeatsCachePromise=this._storage.read().then(gi=>(this._heartbeatsCache=gi,gi))}triggerHeartbeat(){var Zt=this;return(0,y.A)(function*(){var Dn,gi;try{const ro=Zt.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),go=yn();return null==(null===(Dn=Zt._heartbeatsCache)||void 0===Dn?void 0:Dn.heartbeats)&&(Zt._heartbeatsCache=yield Zt._heartbeatsCachePromise,null==(null===(gi=Zt._heartbeatsCache)||void 0===gi?void 0:gi.heartbeats))||Zt._heartbeatsCache.lastSentHeartbeatDate===go||Zt._heartbeatsCache.heartbeats.some(Ao=>Ao.date===go)?void 0:(Zt._heartbeatsCache.heartbeats.push({date:go,agent:ro}),Zt._heartbeatsCache.heartbeats=Zt._heartbeatsCache.heartbeats.filter(Ao=>{const Yo=new Date(Ao.date).valueOf();return Date.now()-Yo<=2592e6}),Zt._storage.overwrite(Zt._heartbeatsCache))}catch($i){sn.warn($i)}})()}getHeartbeatsHeader(){var Zt=this;return(0,y.A)(function*(){var Dn;try{if(null===Zt._heartbeatsCache&&(yield Zt._heartbeatsCachePromise),null==(null===(Dn=Zt._heartbeatsCache)||void 0===Dn?void 0:Dn.heartbeats)||0===Zt._heartbeatsCache.heartbeats.length)return"";const gi=yn(),{heartbeatsToSend:$i,unsentEntries:ro}=function di(hn,Zt=1024){const Dn=[];let gi=hn.slice();for(const $i of hn){const ro=Dn.find(go=>go.agent===$i.agent);if(ro){if(ro.dates.push($i.date),Qi(Dn)>Zt){ro.dates.pop();break}}else if(Dn.push({agent:$i.agent,dates:[$i.date]}),Qi(Dn)>Zt){Dn.pop();break}gi=gi.slice(1)}return{heartbeatsToSend:Dn,unsentEntries:gi}}(Zt._heartbeatsCache.heartbeats),go=(0,a.Uj)(JSON.stringify({version:2,heartbeats:$i}));return Zt._heartbeatsCache.lastSentHeartbeatDate=gi,ro.length>0?(Zt._heartbeatsCache.heartbeats=ro,yield Zt._storage.overwrite(Zt._heartbeatsCache)):(Zt._heartbeatsCache.heartbeats=[],Zt._storage.overwrite(Zt._heartbeatsCache)),go}catch(gi){return sn.warn(gi),""}})()}}function yn(){return(new Date).toISOString().substring(0,10)}class ui{constructor(Zt){this.app=Zt,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,y.A)(function*(){return!!(0,a.zW)()&&(0,a.eX)().then(()=>!0).catch(()=>!1)})()}read(){var Zt=this;return(0,y.A)(function*(){if(yield Zt._canUseIndexedDBPromise){const gi=yield function Be(hn){return we.apply(this,arguments)}(Zt.app);return gi?.heartbeats?gi:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(Zt){var Dn=this;return(0,y.A)(function*(){var gi;if(yield Dn._canUseIndexedDBPromise){const ro=yield Dn.read();return H(Dn.app,{lastSentHeartbeatDate:null!==(gi=Zt.lastSentHeartbeatDate)&&void 0!==gi?gi:ro.lastSentHeartbeatDate,heartbeats:Zt.heartbeats})}})()}add(Zt){var Dn=this;return(0,y.A)(function*(){var gi;if(yield Dn._canUseIndexedDBPromise){const ro=yield Dn.read();return H(Dn.app,{lastSentHeartbeatDate:null!==(gi=Zt.lastSentHeartbeatDate)&&void 0!==gi?gi:ro.lastSentHeartbeatDate,heartbeats:[...ro.heartbeats,...Zt.heartbeats]})}})()}}function Qi(hn){return(0,a.Uj)(JSON.stringify({version:2,heartbeats:hn})).length}!function yo(hn){wi(new $.uA("platform-logger",Zt=>new P(Zt),"PRIVATE")),wi(new $.uA("heartbeat",Zt=>new an(Zt),"PRIVATE")),tn(Ue,zt,hn),tn(Ue,zt,"esm2017"),tn("fire-js","")}("")},51362:(De,A,C)=>{"use strict";C.d(A,{h1:()=>se,uA:()=>n});var y=C(10467),$=C(21076);class n{constructor(le,de,Ve){this.name=le,this.instanceFactory=de,this.type=Ve,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(le){return this.instantiationMode=le,this}setMultipleInstances(le){return this.multipleInstances=le,this}setServiceProps(le){return this.serviceProps=le,this}setInstanceCreatedCallback(le){return this.onInstanceCreated=le,this}}const a="[DEFAULT]";class L{constructor(le,de){this.name=le,this.container=de,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(le){const de=this.normalizeInstanceIdentifier(le);if(!this.instancesDeferred.has(de)){const Ve=new $.cY;if(this.instancesDeferred.set(de,Ve),this.isInitialized(de)||this.shouldAutoInitialize())try{const Ee=this.getOrInitializeService({instanceIdentifier:de});Ee&&Ve.resolve(Ee)}catch{}}return this.instancesDeferred.get(de).promise}getImmediate(le){var de;const Ve=this.normalizeInstanceIdentifier(le?.identifier),Ee=null!==(de=le?.optional)&&void 0!==de&&de;if(!this.isInitialized(Ve)&&!this.shouldAutoInitialize()){if(Ee)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:Ve})}catch(qe){if(Ee)return null;throw qe}}getComponent(){return this.component}setComponent(le){if(le.name!==this.name)throw Error(`Mismatching Component ${le.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=le,this.shouldAutoInitialize()){if(function K(fe){return"EAGER"===fe.instantiationMode}(le))try{this.getOrInitializeService({instanceIdentifier:a})}catch{}for(const[de,Ve]of this.instancesDeferred.entries()){const Ee=this.normalizeInstanceIdentifier(de);try{const qe=this.getOrInitializeService({instanceIdentifier:Ee});Ve.resolve(qe)}catch{}}}}clearInstance(le=a){this.instancesDeferred.delete(le),this.instancesOptions.delete(le),this.instances.delete(le)}delete(){var le=this;return(0,y.A)(function*(){const de=Array.from(le.instances.values());yield Promise.all([...de.filter(Ve=>"INTERNAL"in Ve).map(Ve=>Ve.INTERNAL.delete()),...de.filter(Ve=>"_delete"in Ve).map(Ve=>Ve._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(le=a){return this.instances.has(le)}getOptions(le=a){return this.instancesOptions.get(le)||{}}initialize(le={}){const{options:de={}}=le,Ve=this.normalizeInstanceIdentifier(le.instanceIdentifier);if(this.isInitialized(Ve))throw Error(`${this.name}(${Ve}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ee=this.getOrInitializeService({instanceIdentifier:Ve,options:de});for(const[qe,Ge]of this.instancesDeferred.entries())Ve===this.normalizeInstanceIdentifier(qe)&&Ge.resolve(Ee);return Ee}onInit(le,de){var Ve;const Ee=this.normalizeInstanceIdentifier(de),qe=null!==(Ve=this.onInitCallbacks.get(Ee))&&void 0!==Ve?Ve:new Set;qe.add(le),this.onInitCallbacks.set(Ee,qe);const Ge=this.instances.get(Ee);return Ge&&le(Ge,Ee),()=>{qe.delete(le)}}invokeOnInitCallbacks(le,de){const Ve=this.onInitCallbacks.get(de);if(Ve)for(const Ee of Ve)try{Ee(le,de)}catch{}}getOrInitializeService({instanceIdentifier:le,options:de={}}){let Ve=this.instances.get(le);if(!Ve&&this.component&&(Ve=this.component.instanceFactory(this.container,{instanceIdentifier:(fe=le,fe===a?void 0:fe),options:de}),this.instances.set(le,Ve),this.instancesOptions.set(le,de),this.invokeOnInitCallbacks(Ve,le),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,le,Ve)}catch{}var fe;return Ve||null}normalizeInstanceIdentifier(le=a){return this.component?this.component.multipleInstances?le:a:le}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class se{constructor(le){this.name=le,this.providers=new Map}addComponent(le){const de=this.getProvider(le.name);if(de.isComponentSet())throw new Error(`Component ${le.name} has already been registered with ${this.name}`);de.setComponent(le)}addOrOverwriteComponent(le){this.getProvider(le.name).isComponentSet()&&this.providers.delete(le.name),this.addComponent(le)}getProvider(le){if(this.providers.has(le))return this.providers.get(le);const de=new L(le,this);return this.providers.set(le,de),de}getProviders(){return Array.from(this.providers.values())}}},8041:(De,A,C)=>{"use strict";C.d(A,{$b:()=>$,Vy:()=>K});const y=[];var $=function(le){return le[le.DEBUG=0]="DEBUG",le[le.VERBOSE=1]="VERBOSE",le[le.INFO=2]="INFO",le[le.WARN=3]="WARN",le[le.ERROR=4]="ERROR",le[le.SILENT=5]="SILENT",le}($||{});const n={debug:$.DEBUG,verbose:$.VERBOSE,info:$.INFO,warn:$.WARN,error:$.ERROR,silent:$.SILENT},a=$.INFO,L={[$.DEBUG]:"log",[$.VERBOSE]:"log",[$.INFO]:"info",[$.WARN]:"warn",[$.ERROR]:"error"},ae=(le,de,...Ve)=>{if(de<le.logLevel)return;const Ee=(new Date).toISOString(),qe=L[de];if(!qe)throw new Error(`Attempted to log a message with an invalid logType (value: ${de})`);console[qe](`[${Ee}]  ${le.name}:`,...Ve)};class K{constructor(de){this.name=de,this._logLevel=a,this._logHandler=ae,this._userLogHandler=null,y.push(this)}get logLevel(){return this._logLevel}set logLevel(de){if(!(de in $))throw new TypeError(`Invalid value "${de}" assigned to \`logLevel\``);this._logLevel=de}setLogLevel(de){this._logLevel="string"==typeof de?n[de]:de}get logHandler(){return this._logHandler}set logHandler(de){if("function"!=typeof de)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=de}get userLogHandler(){return this._userLogHandler}set userLogHandler(de){this._userLogHandler=de}debug(...de){this._userLogHandler&&this._userLogHandler(this,$.DEBUG,...de),this._logHandler(this,$.DEBUG,...de)}log(...de){this._userLogHandler&&this._userLogHandler(this,$.VERBOSE,...de),this._logHandler(this,$.VERBOSE,...de)}info(...de){this._userLogHandler&&this._userLogHandler(this,$.INFO,...de),this._logHandler(this,$.INFO,...de)}warn(...de){this._userLogHandler&&this._userLogHandler(this,$.WARN,...de),this._logHandler(this,$.WARN,...de)}error(...de){this._userLogHandler&&this._userLogHandler(this,$.ERROR,...de),this._logHandler(this,$.ERROR,...de)}}},2214:(De,A,C)=>{"use strict";C.d(A,{Dk:()=>y.Dk,KO:()=>y.KO,Sx:()=>y.Sx,Wp:()=>y.Wp});var y=C(17852);(0,y.KO)("firebase","10.13.2","app")},73273:(De,A,C)=>{"use strict";C.d(A,{Dc:()=>fi,rJ:()=>i3,H9:()=>v0,x7:()=>w0,GG:()=>Zu,aU:()=>Ig,AB:()=>V2,aQ:()=>W8,My:()=>Dv,P:()=>vd,BN:()=>X8,HM:()=>sm,_M:()=>S1});var se,fe,y=C(10467),$=C(17852),n=C(51362),a=C(8041),L=C(21076),ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},K={};(function(){var E;function w(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function I(Jt,Bt,Wt){Wt||(Wt=0);var cn=Array(16);if("string"==typeof Bt)for(var un=0;16>un;++un)cn[un]=Bt.charCodeAt(Wt++)|Bt.charCodeAt(Wt++)<<8|Bt.charCodeAt(Wt++)<<16|Bt.charCodeAt(Wt++)<<24;else for(un=0;16>un;++un)cn[un]=Bt[Wt++]|Bt[Wt++]<<8|Bt[Wt++]<<16|Bt[Wt++]<<24;var bn=Jt.g[3],jt=(Bt=Jt.g[0])+(bn^(Wt=Jt.g[1])&((un=Jt.g[2])^bn))+cn[0]+3614090360&4294967295;jt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=(Wt=(un=(bn=(Bt=Wt+(jt<<7&4294967295|jt>>>25))+((jt=bn+(un^Bt&(Wt^un))+cn[1]+3905402710&4294967295)<<12&4294967295|jt>>>20))+((jt=un+(Wt^bn&(Bt^Wt))+cn[2]+606105819&4294967295)<<17&4294967295|jt>>>15))+((jt=Wt+(Bt^un&(bn^Bt))+cn[3]+3250441966&4294967295)<<22&4294967295|jt>>>10))+((jt=Bt+(bn^Wt&(un^bn))+cn[4]+4118548399&4294967295)<<7&4294967295|jt>>>25))+((jt=bn+(un^Bt&(Wt^un))+cn[5]+1200080426&4294967295)<<12&4294967295|jt>>>20))+((jt=un+(Wt^bn&(Bt^Wt))+cn[6]+2821735955&4294967295)<<17&4294967295|jt>>>15))+((jt=Wt+(Bt^un&(bn^Bt))+cn[7]+4249261313&4294967295)<<22&4294967295|jt>>>10))+((jt=Bt+(bn^Wt&(un^bn))+cn[8]+1770035416&4294967295)<<7&4294967295|jt>>>25))+((jt=bn+(un^Bt&(Wt^un))+cn[9]+2336552879&4294967295)<<12&4294967295|jt>>>20))+((jt=un+(Wt^bn&(Bt^Wt))+cn[10]+4294925233&4294967295)<<17&4294967295|jt>>>15))+((jt=Wt+(Bt^un&(bn^Bt))+cn[11]+2304563134&4294967295)<<22&4294967295|jt>>>10))+((jt=Bt+(bn^Wt&(un^bn))+cn[12]+1804603682&4294967295)<<7&4294967295|jt>>>25))+((jt=bn+(un^Bt&(Wt^un))+cn[13]+4254626195&4294967295)<<12&4294967295|jt>>>20))+((jt=un+(Wt^bn&(Bt^Wt))+cn[14]+2792965006&4294967295)<<17&4294967295|jt>>>15))+((jt=Wt+(Bt^un&(bn^Bt))+cn[15]+1236535329&4294967295)<<22&4294967295|jt>>>10))+((jt=Bt+(un^bn&(Wt^un))+cn[1]+4129170786&4294967295)<<5&4294967295|jt>>>27))+((jt=bn+(Wt^un&(Bt^Wt))+cn[6]+3225465664&4294967295)<<9&4294967295|jt>>>23))+((jt=un+(Bt^Wt&(bn^Bt))+cn[11]+643717713&4294967295)<<14&4294967295|jt>>>18))+((jt=Wt+(bn^Bt&(un^bn))+cn[0]+3921069994&4294967295)<<20&4294967295|jt>>>12))+((jt=Bt+(un^bn&(Wt^un))+cn[5]+3593408605&4294967295)<<5&4294967295|jt>>>27))+((jt=bn+(Wt^un&(Bt^Wt))+cn[10]+38016083&4294967295)<<9&4294967295|jt>>>23))+((jt=un+(Bt^Wt&(bn^Bt))+cn[15]+3634488961&4294967295)<<14&4294967295|jt>>>18))+((jt=Wt+(bn^Bt&(un^bn))+cn[4]+3889429448&4294967295)<<20&4294967295|jt>>>12))+((jt=Bt+(un^bn&(Wt^un))+cn[9]+568446438&4294967295)<<5&4294967295|jt>>>27))+((jt=bn+(Wt^un&(Bt^Wt))+cn[14]+3275163606&4294967295)<<9&4294967295|jt>>>23))+((jt=un+(Bt^Wt&(bn^Bt))+cn[3]+4107603335&4294967295)<<14&4294967295|jt>>>18))+((jt=Wt+(bn^Bt&(un^bn))+cn[8]+1163531501&4294967295)<<20&4294967295|jt>>>12))+((jt=Bt+(un^bn&(Wt^un))+cn[13]+2850285829&4294967295)<<5&4294967295|jt>>>27))+((jt=bn+(Wt^un&(Bt^Wt))+cn[2]+4243563512&4294967295)<<9&4294967295|jt>>>23))+((jt=un+(Bt^Wt&(bn^Bt))+cn[7]+1735328473&4294967295)<<14&4294967295|jt>>>18))+((jt=Wt+(bn^Bt&(un^bn))+cn[12]+2368359562&4294967295)<<20&4294967295|jt>>>12))+((jt=Bt+(Wt^un^bn)+cn[5]+4294588738&4294967295)<<4&4294967295|jt>>>28))+((jt=bn+(Bt^Wt^un)+cn[8]+2272392833&4294967295)<<11&4294967295|jt>>>21))+((jt=un+(bn^Bt^Wt)+cn[11]+1839030562&4294967295)<<16&4294967295|jt>>>16))+((jt=Wt+(un^bn^Bt)+cn[14]+4259657740&4294967295)<<23&4294967295|jt>>>9))+((jt=Bt+(Wt^un^bn)+cn[1]+2763975236&4294967295)<<4&4294967295|jt>>>28))+((jt=bn+(Bt^Wt^un)+cn[4]+1272893353&4294967295)<<11&4294967295|jt>>>21))+((jt=un+(bn^Bt^Wt)+cn[7]+4139469664&4294967295)<<16&4294967295|jt>>>16))+((jt=Wt+(un^bn^Bt)+cn[10]+3200236656&4294967295)<<23&4294967295|jt>>>9))+((jt=Bt+(Wt^un^bn)+cn[13]+681279174&4294967295)<<4&4294967295|jt>>>28))+((jt=bn+(Bt^Wt^un)+cn[0]+3936430074&4294967295)<<11&4294967295|jt>>>21))+((jt=un+(bn^Bt^Wt)+cn[3]+3572445317&4294967295)<<16&4294967295|jt>>>16))+((jt=Wt+(un^bn^Bt)+cn[6]+76029189&4294967295)<<23&4294967295|jt>>>9))+((jt=Bt+(Wt^un^bn)+cn[9]+3654602809&4294967295)<<4&4294967295|jt>>>28))+((jt=bn+(Bt^Wt^un)+cn[12]+3873151461&4294967295)<<11&4294967295|jt>>>21))+((jt=un+(bn^Bt^Wt)+cn[15]+530742520&4294967295)<<16&4294967295|jt>>>16))+((jt=Wt+(un^bn^Bt)+cn[2]+3299628645&4294967295)<<23&4294967295|jt>>>9))+((jt=Bt+(un^(Wt|~bn))+cn[0]+4096336452&4294967295)<<6&4294967295|jt>>>26))+((jt=bn+(Wt^(Bt|~un))+cn[7]+1126891415&4294967295)<<10&4294967295|jt>>>22))+((jt=un+(Bt^(bn|~Wt))+cn[14]+2878612391&4294967295)<<15&4294967295|jt>>>17))+((jt=Wt+(bn^(un|~Bt))+cn[5]+4237533241&4294967295)<<21&4294967295|jt>>>11))+((jt=Bt+(un^(Wt|~bn))+cn[12]+1700485571&4294967295)<<6&4294967295|jt>>>26))+((jt=bn+(Wt^(Bt|~un))+cn[3]+2399980690&4294967295)<<10&4294967295|jt>>>22))+((jt=un+(Bt^(bn|~Wt))+cn[10]+4293915773&4294967295)<<15&4294967295|jt>>>17))+((jt=Wt+(bn^(un|~Bt))+cn[1]+2240044497&4294967295)<<21&4294967295|jt>>>11))+((jt=Bt+(un^(Wt|~bn))+cn[8]+1873313359&4294967295)<<6&4294967295|jt>>>26))+((jt=bn+(Wt^(Bt|~un))+cn[15]+4264355552&4294967295)<<10&4294967295|jt>>>22))+((jt=un+(Bt^(bn|~Wt))+cn[6]+2734768916&4294967295)<<15&4294967295|jt>>>17))+((jt=Wt+(bn^(un|~Bt))+cn[13]+1309151649&4294967295)<<21&4294967295|jt>>>11))+((bn=(Bt=Wt+((jt=Bt+(un^(Wt|~bn))+cn[4]+4149444226&4294967295)<<6&4294967295|jt>>>26))+((jt=bn+(Wt^(Bt|~un))+cn[11]+3174756917&4294967295)<<10&4294967295|jt>>>22))^((un=bn+((jt=un+(Bt^(bn|~Wt))+cn[2]+718787259&4294967295)<<15&4294967295|jt>>>17))|~Bt))+cn[9]+3951481745&4294967295,Jt.g[0]=Jt.g[0]+Bt&4294967295,Jt.g[1]=Jt.g[1]+(un+(jt<<21&4294967295|jt>>>11))&4294967295,Jt.g[2]=Jt.g[2]+un&4294967295,Jt.g[3]=Jt.g[3]+bn&4294967295}function D(Jt,Bt){this.h=Bt;for(var Wt=[],cn=!0,un=Jt.length-1;0<=un;un--){var bn=0|Jt[un];cn&&bn==Bt||(Wt[un]=bn,cn=!1)}this.g=Wt}(function h(Jt,Bt){function Wt(){}Wt.prototype=Bt.prototype,Jt.D=Bt.prototype,Jt.prototype=new Wt,Jt.prototype.constructor=Jt,Jt.C=function(cn,un,bn){for(var jt=Array(arguments.length-2),ka=2;ka<arguments.length;ka++)jt[ka-2]=arguments[ka];return Bt.prototype[un].apply(cn,jt)}})(w,function m(){this.blockSize=-1}),w.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},w.prototype.u=function(Jt,Bt){void 0===Bt&&(Bt=Jt.length);for(var Wt=Bt-this.blockSize,cn=this.B,un=this.h,bn=0;bn<Bt;){if(0==un)for(;bn<=Wt;)I(this,Jt,bn),bn+=this.blockSize;if("string"==typeof Jt){for(;bn<Bt;)if(cn[un++]=Jt.charCodeAt(bn++),un==this.blockSize){I(this,cn),un=0;break}}else for(;bn<Bt;)if(cn[un++]=Jt[bn++],un==this.blockSize){I(this,cn),un=0;break}}this.h=un,this.o+=Bt},w.prototype.v=function(){var Jt=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);Jt[0]=128;for(var Bt=1;Bt<Jt.length-8;++Bt)Jt[Bt]=0;var Wt=8*this.o;for(Bt=Jt.length-8;Bt<Jt.length;++Bt)Jt[Bt]=255&Wt,Wt/=256;for(this.u(Jt),Jt=Array(16),Bt=Wt=0;4>Bt;++Bt)for(var cn=0;32>cn;cn+=8)Jt[Wt++]=this.g[Bt]>>>cn&255;return Jt};var R={};function q(Jt){return-128<=Jt&&128>Jt?function g(Jt,Bt){var Wt=R;return Object.prototype.hasOwnProperty.call(Wt,Jt)?Wt[Jt]:Wt[Jt]=Bt(Jt)}(Jt,function(Bt){return new D([0|Bt],0>Bt?-1:0)}):new D([0|Jt],0>Jt?-1:0)}function ce(Jt){if(isNaN(Jt)||!isFinite(Jt))return Ze;if(0>Jt)return Un(ce(-Jt));for(var Bt=[],Wt=1,cn=0;Jt>=Wt;cn++)Bt[cn]=Jt/Wt|0,Wt*=4294967296;return new D(Bt,0)}var Ze=q(0),It=q(1),Kt=q(16777216);function Tn(Jt){if(0!=Jt.h)return!1;for(var Bt=0;Bt<Jt.g.length;Bt++)if(0!=Jt.g[Bt])return!1;return!0}function Yn(Jt){return-1==Jt.h}function Un(Jt){for(var Bt=Jt.g.length,Wt=[],cn=0;cn<Bt;cn++)Wt[cn]=~Jt.g[cn];return new D(Wt,~Jt.h).add(It)}function Ti(Jt,Bt){return Jt.add(Un(Bt))}function ji(Jt,Bt){for(;(65535&Jt[Bt])!=Jt[Bt];)Jt[Bt+1]+=Jt[Bt]>>>16,Jt[Bt]&=65535,Bt++}function Pi(Jt,Bt){this.g=Jt,this.h=Bt}function Wi(Jt,Bt){if(Tn(Bt))throw Error("division by zero");if(Tn(Jt))return new Pi(Ze,Ze);if(Yn(Jt))return Bt=Wi(Un(Jt),Bt),new Pi(Un(Bt.g),Un(Bt.h));if(Yn(Bt))return Bt=Wi(Jt,Un(Bt)),new Pi(Un(Bt.g),Bt.h);if(30<Jt.g.length){if(Yn(Jt)||Yn(Bt))throw Error("slowDivide_ only works with positive integers.");for(var Wt=It,cn=Bt;0>=cn.l(Jt);)Wt=To(Wt),cn=To(cn);var un=po(Wt,1),bn=po(cn,1);for(cn=po(cn,2),Wt=po(Wt,2);!Tn(cn);){var jt=bn.add(cn);0>=jt.l(Jt)&&(un=un.add(Wt),bn=jt),cn=po(cn,1),Wt=po(Wt,1)}return Bt=Ti(Jt,un.j(Bt)),new Pi(un,Bt)}for(un=Ze;0<=Jt.l(Bt);){for(Wt=Math.max(1,Math.floor(Jt.m()/Bt.m())),cn=48>=(cn=Math.ceil(Math.log(Wt)/Math.LN2))?1:Math.pow(2,cn-48),jt=(bn=ce(Wt)).j(Bt);Yn(jt)||0<jt.l(Jt);)jt=(bn=ce(Wt-=cn)).j(Bt);Tn(bn)&&(bn=It),un=un.add(bn),Jt=Ti(Jt,jt)}return new Pi(un,Jt)}function To(Jt){for(var Bt=Jt.g.length+1,Wt=[],cn=0;cn<Bt;cn++)Wt[cn]=Jt.i(cn)<<1|Jt.i(cn-1)>>>31;return new D(Wt,Jt.h)}function po(Jt,Bt){var Wt=Bt>>5;Bt%=32;for(var cn=Jt.g.length-Wt,un=[],bn=0;bn<cn;bn++)un[bn]=0<Bt?Jt.i(bn+Wt)>>>Bt|Jt.i(bn+Wt+1)<<32-Bt:Jt.i(bn+Wt);return new D(un,Jt.h)}(E=D.prototype).m=function(){if(Yn(this))return-Un(this).m();for(var Jt=0,Bt=1,Wt=0;Wt<this.g.length;Wt++){var cn=this.i(Wt);Jt+=(0<=cn?cn:4294967296+cn)*Bt,Bt*=4294967296}return Jt},E.toString=function(Jt){if(2>(Jt=Jt||10)||36<Jt)throw Error("radix out of range: "+Jt);if(Tn(this))return"0";if(Yn(this))return"-"+Un(this).toString(Jt);for(var Bt=ce(Math.pow(Jt,6)),Wt=this,cn="";;){var un=Wi(Wt,Bt).g,bn=((0<(Wt=Ti(Wt,un.j(Bt))).g.length?Wt.g[0]:Wt.h)>>>0).toString(Jt);if(Tn(Wt=un))return bn+cn;for(;6>bn.length;)bn="0"+bn;cn=bn+cn}},E.i=function(Jt){return 0>Jt?0:Jt<this.g.length?this.g[Jt]:this.h},E.l=function(Jt){return Yn(Jt=Ti(this,Jt))?-1:Tn(Jt)?0:1},E.abs=function(){return Yn(this)?Un(this):this},E.add=function(Jt){for(var Bt=Math.max(this.g.length,Jt.g.length),Wt=[],cn=0,un=0;un<=Bt;un++){var bn=cn+(65535&this.i(un))+(65535&Jt.i(un)),jt=(bn>>>16)+(this.i(un)>>>16)+(Jt.i(un)>>>16);cn=jt>>>16,Wt[un]=(jt&=65535)<<16|(bn&=65535)}return new D(Wt,-2147483648&Wt[Wt.length-1]?-1:0)},E.j=function(Jt){if(Tn(this)||Tn(Jt))return Ze;if(Yn(this))return Yn(Jt)?Un(this).j(Un(Jt)):Un(Un(this).j(Jt));if(Yn(Jt))return Un(this.j(Un(Jt)));if(0>this.l(Kt)&&0>Jt.l(Kt))return ce(this.m()*Jt.m());for(var Bt=this.g.length+Jt.g.length,Wt=[],cn=0;cn<2*Bt;cn++)Wt[cn]=0;for(cn=0;cn<this.g.length;cn++)for(var un=0;un<Jt.g.length;un++){var bn=this.i(cn)>>>16,jt=65535&this.i(cn),ka=Jt.i(un)>>>16,ja=65535&Jt.i(un);Wt[2*cn+2*un]+=jt*ja,ji(Wt,2*cn+2*un),Wt[2*cn+2*un+1]+=bn*ja,ji(Wt,2*cn+2*un+1),Wt[2*cn+2*un+1]+=jt*ka,ji(Wt,2*cn+2*un+1),Wt[2*cn+2*un+2]+=bn*ka,ji(Wt,2*cn+2*un+2)}for(cn=0;cn<Bt;cn++)Wt[cn]=Wt[2*cn+1]<<16|Wt[2*cn];for(cn=Bt;cn<2*Bt;cn++)Wt[cn]=0;return new D(Wt,0)},E.A=function(Jt){return Wi(this,Jt).h},E.and=function(Jt){for(var Bt=Math.max(this.g.length,Jt.g.length),Wt=[],cn=0;cn<Bt;cn++)Wt[cn]=this.i(cn)&Jt.i(cn);return new D(Wt,this.h&Jt.h)},E.or=function(Jt){for(var Bt=Math.max(this.g.length,Jt.g.length),Wt=[],cn=0;cn<Bt;cn++)Wt[cn]=this.i(cn)|Jt.i(cn);return new D(Wt,this.h|Jt.h)},E.xor=function(Jt){for(var Bt=Math.max(this.g.length,Jt.g.length),Wt=[],cn=0;cn<Bt;cn++)Wt[cn]=this.i(cn)^Jt.i(cn);return new D(Wt,this.h^Jt.h)},w.prototype.digest=w.prototype.v,w.prototype.reset=w.prototype.s,w.prototype.update=w.prototype.u,fe=K.Md5=w,D.prototype.add=D.prototype.add,D.prototype.multiply=D.prototype.j,D.prototype.modulo=D.prototype.A,D.prototype.compare=D.prototype.l,D.prototype.toNumber=D.prototype.m,D.prototype.toString=D.prototype.toString,D.prototype.getBits=D.prototype.i,D.fromNumber=ce,D.fromString=function xe(Jt,Bt){if(0==Jt.length)throw Error("number format error: empty string");if(2>(Bt=Bt||10)||36<Bt)throw Error("radix out of range: "+Bt);if("-"==Jt.charAt(0))return Un(xe(Jt.substring(1),Bt));if(0<=Jt.indexOf("-"))throw Error('number format error: interior "-" character');for(var Wt=ce(Math.pow(Bt,8)),cn=Ze,un=0;un<Jt.length;un+=8){var bn=Math.min(8,Jt.length-un),jt=parseInt(Jt.substring(un,un+bn),Bt);8>bn?(bn=ce(Math.pow(Bt,bn)),cn=cn.j(bn).add(ce(jt))):cn=(cn=cn.j(Wt)).add(ce(jt))}return cn},se=K.Integer=D}).apply(typeof ae<"u"?ae:typeof self<"u"?self:typeof window<"u"?window:{});var Ve,Ee,qe,Ge,ht,at,Tt,dt,ft,le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},de={};(function(){var E,h="function"==typeof Object.defineProperties?Object.defineProperty:function(U,_e,Ne){return U==Array.prototype||U==Object.prototype||(U[_e]=Ne.value),U},w=function m(U){U=["object"==typeof globalThis&&globalThis,U,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof le&&le];for(var _e=0;_e<U.length;++_e){var Ne=U[_e];if(Ne&&Ne.Math==Math)return Ne}throw Error("Cannot find global object")}(this);!function I(U,_e){if(_e)e:{var Ne=w;U=U.split(".");for(var _t=0;_t<U.length-1;_t++){var Sn=U[_t];if(!(Sn in Ne))break e;Ne=Ne[Sn]}(_e=_e(_t=Ne[U=U[U.length-1]]))!=_t&&null!=_e&&h(Ne,U,{configurable:!0,writable:!0,value:_e})}}("Array.prototype.values",function(U){return U||function(){return function g(U,_e){U instanceof String&&(U+="");var Ne=0,_t=!1,Sn={next:function(){if(!_t&&Ne<U.length){var Gn=Ne++;return{value:_e(Gn,U[Gn]),done:!1}}return _t=!0,{done:!0,value:void 0}}};return Sn[Symbol.iterator]=function(){return Sn},Sn}(this,function(_e,Ne){return Ne})}});var D=D||{},R=this||self;function q(U){var _e=typeof U;return"array"==(_e="object"!=_e?_e:U?Array.isArray(U)?"array":_e:"null")||"object"==_e&&"number"==typeof U.length}function ce(U){var _e=typeof U;return"object"==_e&&null!=U||"function"==_e}function xe(U,_e,Ne){return U.call.apply(U.bind,arguments)}function Ze(U,_e,Ne){if(!U)throw Error();if(2<arguments.length){var _t=Array.prototype.slice.call(arguments,2);return function(){var Sn=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(Sn,_t),U.apply(_e,Sn)}}return function(){return U.apply(_e,arguments)}}function It(U,_e,Ne){return(It=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?xe:Ze).apply(null,arguments)}function Kt(U,_e){var Ne=Array.prototype.slice.call(arguments,1);return function(){var _t=Ne.slice();return _t.push.apply(_t,arguments),U.apply(this,_t)}}function Tn(U,_e){function Ne(){}Ne.prototype=_e.prototype,U.aa=_e.prototype,U.prototype=new Ne,U.prototype.constructor=U,U.Qb=function(_t,Sn,Gn){for(var to=Array(arguments.length-2),As=2;As<arguments.length;As++)to[As-2]=arguments[As];return _e.prototype[Sn].apply(_t,to)}}function Yn(U){const _e=U.length;if(0<_e){const Ne=Array(_e);for(let _t=0;_t<_e;_t++)Ne[_t]=U[_t];return Ne}return[]}function Un(U,_e){for(let Ne=1;Ne<arguments.length;Ne++){const _t=arguments[Ne];if(q(_t)){const Sn=U.length||0,Gn=_t.length||0;U.length=Sn+Gn;for(let to=0;to<Gn;to++)U[Sn+to]=_t[to]}else U.push(_t)}}function ji(U){return/^[\s\xa0]*$/.test(U)}function Pi(){var U=R.navigator;return U&&(U=U.userAgent)?U:""}function Wi(U){return Wi[" "](U),U}Wi[" "]=function(){};var To=!(-1==Pi().indexOf("Gecko")||-1!=Pi().toLowerCase().indexOf("webkit")&&-1==Pi().indexOf("Edge")||-1!=Pi().indexOf("Trident")||-1!=Pi().indexOf("MSIE")||-1!=Pi().indexOf("Edge"));function po(U,_e,Ne){for(const _t in U)_e.call(Ne,U[_t],_t,U)}function Bt(U){const _e={};for(const Ne in U)_e[Ne]=U[Ne];return _e}const Wt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function cn(U,_e){let Ne,_t;for(let Sn=1;Sn<arguments.length;Sn++){for(Ne in _t=arguments[Sn],_t)U[Ne]=_t[Ne];for(let Gn=0;Gn<Wt.length;Gn++)Ne=Wt[Gn],Object.prototype.hasOwnProperty.call(_t,Ne)&&(U[Ne]=_t[Ne])}}function un(U){var _e=1;U=U.split(":");const Ne=[];for(;0<_e&&U.length;)Ne.push(U.shift()),_e--;return U.length&&Ne.push(U.join(":")),Ne}function bn(U){R.setTimeout(()=>{throw U},0)}function jt(){var U=sr;let _e=null;return U.g&&(_e=U.g,U.g=U.g.next,U.g||(U.h=null),_e.next=null),_e}var ja=new class Ti{constructor(_e,Ne){this.i=_e,this.j=Ne,this.h=0,this.g=null}get(){let _e;return 0<this.h?(this.h--,_e=this.g,this.g=_e.next,_e.next=null):_e=this.i(),_e}}(()=>new T,U=>U.reset());class T{constructor(){this.next=this.g=this.h=null}set(_e,Ne){this.h=_e,this.g=Ne,this.next=null}reset(){this.next=this.g=this.h=null}}let Vo,Wr=!1,sr=new class ka{constructor(){this.h=this.g=null}add(_e,Ne){const _t=ja.get();_t.set(_e,Ne),this.h?this.h.next=_t:this.g=_t,this.h=_t}},Pr=()=>{const U=R.Promise.resolve(void 0);Vo=()=>{U.then(Xs)}};var Xs=()=>{for(var U;U=jt();){try{U.h.call(U.g)}catch(Ne){bn(Ne)}var _e=ja;_e.j(U),100>_e.h&&(_e.h++,U.next=_e.g,_e.g=U)}Wr=!1};function Rl(){this.s=this.s,this.C=this.C}function Pa(U,_e){this.type=U,this.g=this.target=_e,this.defaultPrevented=!1}Rl.prototype.s=!1,Rl.prototype.ma=function(){this.s||(this.s=!0,this.N())},Rl.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},Pa.prototype.h=function(){this.defaultPrevented=!0};var Ql=function(){if(!R.addEventListener||!Object.defineProperty)return!1;var U=!1,_e=Object.defineProperty({},"passive",{get:function(){U=!0}});try{const Ne=()=>{};R.addEventListener("test",Ne,_e),R.removeEventListener("test",Ne,_e)}catch{}return U}();function Ja(U,_e){if(Pa.call(this,U?U.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,U){var Ne=this.type=U.type,_t=U.changedTouches&&U.changedTouches.length?U.changedTouches[0]:null;if(this.target=U.target||U.srcElement,this.g=_e,_e=U.relatedTarget){if(To){e:{try{Wi(_e.nodeName);var Sn=!0;break e}catch{}Sn=!1}Sn||(_e=null)}}else"mouseover"==Ne?_e=U.fromElement:"mouseout"==Ne&&(_e=U.toElement);this.relatedTarget=_e,_t?(this.clientX=void 0!==_t.clientX?_t.clientX:_t.pageX,this.clientY=void 0!==_t.clientY?_t.clientY:_t.pageY,this.screenX=_t.screenX||0,this.screenY=_t.screenY||0):(this.clientX=void 0!==U.clientX?U.clientX:U.pageX,this.clientY=void 0!==U.clientY?U.clientY:U.pageY,this.screenX=U.screenX||0,this.screenY=U.screenY||0),this.button=U.button,this.key=U.key||"",this.ctrlKey=U.ctrlKey,this.altKey=U.altKey,this.shiftKey=U.shiftKey,this.metaKey=U.metaKey,this.pointerId=U.pointerId||0,this.pointerType="string"==typeof U.pointerType?U.pointerType:I1[U.pointerType]||"",this.state=U.state,this.i=U,U.defaultPrevented&&Ja.aa.h.call(this)}}Tn(Ja,Pa);var I1={2:"touch",3:"pen",4:"mouse"};Ja.prototype.h=function(){Ja.aa.h.call(this);var U=this.i;U.preventDefault?U.preventDefault():U.returnValue=!1};var eh="closure_listenable_"+(1e6*Math.random()|0),T3=0;function e6(U,_e,Ne,_t,Sn){this.listener=U,this.proxy=null,this.src=_e,this.type=Ne,this.capture=!!_t,this.ha=Sn,this.key=++T3,this.da=this.fa=!1}function K2(U){U.da=!0,U.listener=null,U.proxy=null,U.src=null,U.ha=null}function pm(U){this.src=U,this.g={},this.h=0}function jg(U,_e){var Ne=_e.type;if(Ne in U.g){var Gn,_t=U.g[Ne],Sn=Array.prototype.indexOf.call(_t,_e,void 0);(Gn=0<=Sn)&&Array.prototype.splice.call(_t,Sn,1),Gn&&(K2(_e),0==U.g[Ne].length&&(delete U.g[Ne],U.h--))}}function fm(U,_e,Ne,_t){for(var Sn=0;Sn<U.length;++Sn){var Gn=U[Sn];if(!Gn.da&&Gn.listener==_e&&Gn.capture==!!Ne&&Gn.ha==_t)return Sn}return-1}pm.prototype.add=function(U,_e,Ne,_t,Sn){var Gn=U.toString();(U=this.g[Gn])||(U=this.g[Gn]=[],this.h++);var to=fm(U,_e,_t,Sn);return-1<to?(_e=U[to],Ne||(_e.fa=!1)):((_e=new e6(_e,this.src,Gn,!!_t,Sn)).fa=Ne,U.push(_e)),_e};var S3="closure_lm_"+(1e6*Math.random()|0),mm={};function M0(U,_e,Ne,_t,Sn){if(_t&&_t.once)return gm(U,_e,Ne,_t,Sn);if(Array.isArray(_e)){for(var Gn=0;Gn<_e.length;Gn++)M0(U,_e[Gn],Ne,_t,Sn);return null}return Ne=bm(Ne),U&&U[eh]?U.K(_e,Ne,ce(_t)?!!_t.capture:!!_t,Sn):k3(U,_e,Ne,!1,_t,Sn)}function k3(U,_e,Ne,_t,Sn,Gn){if(!_e)throw Error("Invalid event type");var to=ce(Sn)?!!Sn.capture:!!Sn,As=ym(U);if(As||(U[S3]=As=new pm(U)),(Ne=As.add(_e,Ne,_t,to,Gn)).proxy)return Ne;if(_t=function Hg(){const _e=E3;return function U(Ne){return _e.call(U.src,U.listener,Ne)}}(),Ne.proxy=_t,_t.src=U,_t.listener=Ne,U.addEventListener)Ql||(Sn=to),void 0===Sn&&(Sn=!1),U.addEventListener(_e.toString(),_t,Sn);else if(U.attachEvent)U.attachEvent(_m(_e.toString()),_t);else{if(!U.addListener||!U.removeListener)throw Error("addEventListener and attachEvent are unavailable.");U.addListener(_t)}return Ne}function gm(U,_e,Ne,_t,Sn){if(Array.isArray(_e)){for(var Gn=0;Gn<_e.length;Gn++)gm(U,_e[Gn],Ne,_t,Sn);return null}return Ne=bm(Ne),U&&U[eh]?U.L(_e,Ne,ce(_t)?!!_t.capture:!!_t,Sn):k3(U,_e,Ne,!0,_t,Sn)}function vm(U,_e,Ne,_t,Sn){if(Array.isArray(_e))for(var Gn=0;Gn<_e.length;Gn++)vm(U,_e[Gn],Ne,_t,Sn);else _t=ce(_t)?!!_t.capture:!!_t,Ne=bm(Ne),U&&U[eh]?(U=U.i,(_e=String(_e).toString())in U.g&&-1<(Ne=fm(Gn=U.g[_e],Ne,_t,Sn))&&(K2(Gn[Ne]),Array.prototype.splice.call(Gn,Ne,1),0==Gn.length&&(delete U.g[_e],U.h--))):U&&(U=ym(U))&&(_e=U.g[_e.toString()],U=-1,_e&&(U=fm(_e,Ne,_t,Sn)),(Ne=-1<U?_e[U]:null)&&Q2(Ne))}function Q2(U){if("number"!=typeof U&&U&&!U.da){var _e=U.src;if(_e&&_e[eh])jg(_e.i,U);else{var Ne=U.type,_t=U.proxy;_e.removeEventListener?_e.removeEventListener(Ne,_t,U.capture):_e.detachEvent?_e.detachEvent(_m(Ne),_t):_e.addListener&&_e.removeListener&&_e.removeListener(_t),(Ne=ym(_e))?(jg(Ne,U),0==Ne.h&&(Ne.src=null,_e[S3]=null)):K2(U)}}}function _m(U){return U in mm?mm[U]:mm[U]="on"+U}function E3(U,_e){if(U.da)U=!0;else{_e=new Ja(_e,this);var Ne=U.listener,_t=U.ha||U.src;U.fa&&Q2(U),U=Ne.call(_t,_e)}return U}function ym(U){return(U=U[S3])instanceof pm?U:null}var Fd="__closure_events_fn_"+(1e9*Math.random()>>>0);function bm(U){return"function"==typeof U?U:(U[Fd]||(U[Fd]=function(_e){return U.handleEvent(_e)}),U[Fd])}function dl(){Rl.call(this),this.i=new pm(this),this.M=this,this.F=null}function uc(U,_e){var Ne,_t=U.F;if(_t)for(Ne=[];_t;_t=_t.F)Ne.push(_t);if(U=U.M,_t=_e.type||_e,"string"==typeof _e)_e=new Pa(_e,U);else if(_e instanceof Pa)_e.target=_e.target||U;else{var Sn=_e;cn(_e=new Pa(_t,U),Sn)}if(Sn=!0,Ne)for(var Gn=Ne.length-1;0<=Gn;Gn--){var to=_e.g=Ne[Gn];Sn=Cm(to,_t,!0,_e)&&Sn}if(Sn=Cm(to=_e.g=U,_t,!0,_e)&&Sn,Sn=Cm(to,_t,!1,_e)&&Sn,Ne)for(Gn=0;Gn<Ne.length;Gn++)Sn=Cm(to=_e.g=Ne[Gn],_t,!1,_e)&&Sn}function Cm(U,_e,Ne,_t){if(!(_e=U.i.g[String(_e)]))return!0;_e=_e.concat();for(var Sn=!0,Gn=0;Gn<_e.length;++Gn){var to=_e[Gn];if(to&&!to.da&&to.capture==Ne){var As=to.listener,fc=to.ha||to.src;to.fa&&jg(U.i,to),Sn=!1!==As.call(fc,_t)&&Sn}}return Sn&&!_t.defaultPrevented}function wm(U,_e,Ne){if("function"==typeof U)Ne&&(U=It(U,Ne));else{if(!U||"function"!=typeof U.handleEvent)throw Error("Invalid listener argument");U=It(U.handleEvent,U)}return 2147483647<Number(_e)?-1:R.setTimeout(U,_e||0)}function Tm(U){U.g=wm(()=>{U.g=null,U.i&&(U.i=!1,Tm(U))},U.l);const _e=U.h;U.h=null,U.m.apply(null,_e)}Tn(dl,Rl),dl.prototype[eh]=!0,dl.prototype.removeEventListener=function(U,_e,Ne,_t){vm(this,U,_e,Ne,_t)},dl.prototype.N=function(){if(dl.aa.N.call(this),this.i){var _e,U=this.i;for(_e in U.g){for(var Ne=U.g[_e],_t=0;_t<Ne.length;_t++)K2(Ne[_t]);delete U.g[_e],U.h--}}this.F=null},dl.prototype.K=function(U,_e,Ne,_t){return this.i.add(String(U),_e,!1,Ne,_t)},dl.prototype.L=function(U,_e,Ne,_t){return this.i.add(String(U),_e,!0,Ne,_t)};class M3 extends Rl{constructor(_e,Ne){super(),this.m=_e,this.l=Ne,this.h=null,this.i=!1,this.g=null}j(_e){this.h=arguments,this.g?this.i=!0:Tm(this)}N(){super.N(),this.g&&(R.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Sm(U){Rl.call(this),this.h=U,this.g={}}Tn(Sm,Rl);var km=[];function t6(U){po(U.g,function(_e,Ne){this.g.hasOwnProperty(Ne)&&Q2(_e)},U),U.g={}}Sm.prototype.N=function(){Sm.aa.N.call(this),t6(this)},Sm.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var Yg=R.JSON.stringify,Em=R.JSON.parse,Mm=class{stringify(U){return R.JSON.stringify(U,void 0)}parse(U){return R.JSON.parse(U,void 0)}};function Nh(){}function Xg(){}Nh.prototype.h=null;var x0={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function xm(){Pa.call(this,"d")}function I0(){Pa.call(this,"c")}Tn(xm,Pa),Tn(I0,Pa);var au={},bd=null;function hc(){return bd=bd||new dl}function Wg(U){Pa.call(this,au.La,U)}function Im(U){const _e=hc();uc(_e,new Wg(_e))}function x3(U,_e){Pa.call(this,au.STAT_EVENT,U),this.stat=_e}function Qc(U){const _e=hc();uc(_e,new x3(_e,U))}function n6(U,_e){Pa.call(this,au.Ma,U),this.size=_e}function D0(U,_e){if("function"!=typeof U)throw Error("Fn must not be null and must be a function");return R.setTimeout(function(){U()},_e)}function O0(){this.g=!0}function D1(U,_e,Ne,_t){U.info(function(){return"XMLHTTP TEXT ("+_e+"): "+function o6(U,_e){if(!U.g)return _e;if(!_e)return null;try{var Ne=JSON.parse(_e);if(Ne)for(U=0;U<Ne.length;U++)if(Array.isArray(Ne[U])){var _t=Ne[U];if(!(2>_t.length)){var Sn=_t[1];if(Array.isArray(Sn)&&!(1>Sn.length)){var Gn=Sn[0];if("noop"!=Gn&&"stop"!=Gn&&"close"!=Gn)for(var to=1;to<Sn.length;to++)Sn[to]=""}}}return Yg(Ne)}catch{return _e}}(U,Ne)+(_t?" "+_t:"")})}au.La="serverreachability",Tn(Wg,Pa),au.STAT_EVENT="statevent",Tn(x3,Pa),au.Ma="timingevent",Tn(n6,Pa),O0.prototype.xa=function(){this.g=!1},O0.prototype.info=function(){};var Z2,Ah={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},J2={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"};function bp(){}function lu(U,_e,Ne,_t){this.j=U,this.i=_e,this.l=Ne,this.R=_t||1,this.U=new Sm(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new Qg}function Qg(){this.i=null,this.g="",this.h=!1}Tn(bp,Nh),bp.prototype.g=function(){return new XMLHttpRequest},bp.prototype.i=function(){return{}},Z2=new bp;var Om={},zm={};function ef(U,_e,Ne){U.L=1,U.v=Jg(th(_e)),U.m=Ne,U.P=!0,Cp(U,null)}function Cp(U,_e){U.F=Date.now(),Rh(U),U.A=th(U.v);var Ne=U.A,_t=U.R;Array.isArray(_t)||(_t=[String(_t)]),l6(Ne.i,"t",_t),U.C=0,Ne=U.j.J,U.h=new Qg,U.g=y6(U.j,Ne?_e:null,!U.m),0<U.O&&(U.M=new M3(It(U.Y,U,U.g),U.O)),_e=U.U,Ne=U.g,_t=U.ca;var Sn="readystatechange";Array.isArray(Sn)||(Sn&&(km[0]=Sn.toString()),Sn=km);for(var Gn=0;Gn<Sn.length;Gn++){var to=M0(Ne,Sn[Gn],_t||_e.handleEvent,!1,_e.h||_e);if(!to)break;_e.g[to.key]=to}_e=U.H?Bt(U.H):{},U.m?(U.u||(U.u="POST"),_e["Content-Type"]="application/x-www-form-urlencoded",U.g.ea(U.A,U.u,U.m,_e)):(U.u="GET",U.g.ea(U.A,U.u,null,_e)),Im(),function Lv(U,_e,Ne,_t,Sn,Gn){U.info(function(){if(U.g)if(Gn)for(var to="",As=Gn.split("&"),fc=0;fc<As.length;fc++){var Kr=As[fc].split("=");if(1<Kr.length){var Sl=Kr[0];Kr=Kr[1];var mc=Sl.split("_");to=2<=mc.length&&"type"==mc[1]?to+(Sl+"=")+Kr+"&":to+(Sl+"=redacted&")}}else to=null;else to=Gn;return"XMLHTTP REQ ("+_t+") [attempt "+Sn+"]: "+_e+"\n"+Ne+"\n"+to})}(U.i,U.u,U.A,U.l,U.R,U.m)}function tf(U){return!!U.g&&"GET"==U.u&&2!=U.L&&U.j.Ca}function nf(U,_e){var Ne=U.C,_t=_e.indexOf("\n",Ne);return-1==_t?zm:(Ne=Number(_e.substring(Ne,_t)),isNaN(Ne)?Om:(_t+=1)+Ne>_e.length?zm:(_e=_e.slice(_t,_t+Ne),U.C=_t+Ne,_e))}function Rh(U){U.S=Date.now()+U.I,wp(U,U.I)}function wp(U,_e){if(null!=U.B)throw Error("WatchDog timer not null");U.B=D0(It(U.ba,U),_e)}function z0(U){U.B&&(R.clearTimeout(U.B),U.B=null)}function Tp(U){0==U.j.G||U.J||Fu(U.j,U)}function Kn(U){z0(U);var _e=U.M;_e&&"function"==typeof _e.ma&&_e.ma(),U.M=null,t6(U.U),U.g&&(_e=U.g,U.g=null,_e.abort(),_e.ma())}function dr(U,_e){try{var Ne=U.j;if(0!=Ne.G&&(Ne.g==U||Cs(Ne.h,U)))if(!U.K&&Cs(Ne.h,U)&&3==Ne.G){try{var _t=Ne.Da.g.parse(_e)}catch{_t=null}if(Array.isArray(_t)&&3==_t.length){var Sn=_t;if(0==Sn[0]){e:if(!Ne.u){if(Ne.g){if(!(Ne.g.F+3e3<U.F))break e;d4(Ne),s4(Ne)}R3(Ne),Qc(18)}}else Ne.za=Sn[1],0<Ne.za-Ne.T&&37500>Sn[2]&&Ne.F&&0==Ne.v&&!Ne.C&&(Ne.C=D0(It(Ne.Za,Ne),6e3));if(1>=zr(Ne.h)&&Ne.ca){try{Ne.ca()}catch{}Ne.ca=void 0}}else R0(Ne,11)}else if((U.K||Ne.g==U)&&d4(Ne),!ji(_e))for(Sn=Ne.Da.g.parse(_e),_e=0;_e<Sn.length;_e++){let Kr=Sn[_e];if(Ne.T=Kr[0],Kr=Kr[1],2==Ne.G)if("c"==Kr[0]){Ne.K=Kr[1],Ne.ia=Kr[2];const Sl=Kr[3];null!=Sl&&(Ne.la=Sl,Ne.j.info("VER="+Ne.la));const mc=Kr[4];null!=mc&&(Ne.Aa=mc,Ne.j.info("SVER="+Ne.Aa));const Vh=Kr[5];null!=Vh&&"number"==typeof Vh&&0<Vh&&(Ne.L=_t=1.5*Vh,Ne.j.info("backChannelRequestTimeoutMs_="+_t)),_t=Ne;const Vu=U.g;if(Vu){const p4=Vu.g?Vu.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(p4){var Gn=_t.h;Gn.g||-1==p4.indexOf("spdy")&&-1==p4.indexOf("quic")&&-1==p4.indexOf("h2")||(Gn.j=Gn.l,Gn.g=new Set,Gn.h&&(Ha(Gn,Gn.h),Gn.h=null))}if(_t.D){const Bh=Vu.g?Vu.g.getResponseHeader("X-HTTP-Session-Id"):null;Bh&&(_t.ya=Bh,ra(_t.I,_t.D,Bh))}}Ne.G=3,Ne.l&&Ne.l.ua(),Ne.ba&&(Ne.R=Date.now()-U.F,Ne.j.info("Handshake RTT: "+Ne.R+"ms"));var to=U;if((_t=Ne).qa=P3(_t,_t.J?_t.ia:null,_t.W),to.K){ul(_t.h,to);var As=to,fc=_t.L;fc&&(As.I=fc),As.B&&(z0(As),Rh(As)),_t.g=to}else g6(_t);0<Ne.i.length&&a4(Ne)}else"stop"!=Kr[0]&&"close"!=Kr[0]||R0(Ne,7);else 3==Ne.G&&("stop"==Kr[0]||"close"==Kr[0]?"stop"==Kr[0]?R0(Ne,7):r4(Ne):"noop"!=Kr[0]&&Ne.l&&Ne.l.ta(Kr),Ne.v=0)}Im()}catch{}}lu.prototype.ca=function(U){U=U.target;const _e=this.M;_e&&3==pl(U)?_e.j():this.Y(U)},lu.prototype.Y=function(U){try{if(U==this.g)e:{const mc=pl(this.g);var _e=this.g.Ba();if(this.g.Z(),!(3>mc)&&(3!=mc||this.g&&(this.h.h||this.g.oa()||h6(this.g)))){this.J||4!=mc||7==_e||Im(),z0(this);var Ne=this.g.Z();this.X=Ne;t:if(tf(this)){var _t=h6(this.g);U="";var Sn=_t.length,Gn=4==pl(this.g);if(!this.h.i){if(typeof TextDecoder>"u"){Kn(this),Tp(this);var to="";break t}this.h.i=new R.TextDecoder}for(_e=0;_e<Sn;_e++)this.h.h=!0,U+=this.h.i.decode(_t[_e],{stream:!(Gn&&_e==Sn-1)});_t.length=0,this.h.g+=U,this.C=0,to=this.h.g}else to=this.g.oa();if(this.o=200==Ne,function Dm(U,_e,Ne,_t,Sn,Gn,to){U.info(function(){return"XMLHTTP RESP ("+_t+") [ attempt "+Sn+"]: "+_e+"\n"+Ne+"\n"+Gn+" "+to})}(this.i,this.u,this.A,this.l,this.R,mc,Ne),this.o){if(this.T&&!this.K){t:{if(this.g){var As,fc=this.g;if((As=fc.g?fc.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!ji(As)){var Kr=As;break t}}Kr=null}if(!(Ne=Kr)){this.o=!1,this.s=3,Qc(12),Kn(this),Tp(this);break e}D1(this.i,this.l,Ne,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,dr(this,Ne)}if(this.P){let Vu;for(Ne=!0;!this.J&&this.C<to.length;){if(Vu=nf(this,to),Vu==zm){4==mc&&(this.s=4,Qc(14),Ne=!1),D1(this.i,this.l,null,"[Incomplete Response]");break}if(Vu==Om){this.s=4,Qc(15),D1(this.i,this.l,to,"[Invalid Chunk]"),Ne=!1;break}D1(this.i,this.l,Vu,null),dr(this,Vu)}if(tf(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=mc||0!=to.length||this.h.h||(this.s=1,Qc(16),Ne=!1),this.o=this.o&&Ne,Ne){if(0<to.length&&!this.W){this.W=!0;var Sl=this.j;Sl.g==this&&Sl.ba&&!Sl.M&&(Sl.j.info("Great, no buffering proxy detected. Bytes received: "+to.length),c4(Sl),Sl.M=!0,Qc(11))}}else D1(this.i,this.l,to,"[Invalid Chunked Response]"),Kn(this),Tp(this)}else D1(this.i,this.l,to,null),dr(this,to);4==mc&&Kn(this),this.o&&!this.J&&(4==mc?Fu(this.j,this):(this.o=!1,Rh(this)))}else(function $v(U){const _e={};U=(U.g&&2<=pl(U)&&U.g.getAllResponseHeaders()||"").split("\r\n");for(let _t=0;_t<U.length;_t++){if(ji(U[_t]))continue;var Ne=un(U[_t]);const Sn=Ne[0];if("string"!=typeof(Ne=Ne[1]))continue;Ne=Ne.trim();const Gn=_e[Sn]||[];_e[Sn]=Gn,Gn.push(Ne)}!function Jt(U,_e){for(const Ne in U)_e.call(void 0,U[Ne],Ne,U)}(_e,function(_t){return _t.join(", ")})})(this.g),400==Ne&&0<to.indexOf("Unknown SID")?(this.s=3,Qc(12)):(this.s=0,Qc(13)),Kn(this),Tp(this)}}}catch{}},lu.prototype.cancel=function(){this.J=!0,Kn(this)},lu.prototype.ba=function(){this.B=null;const U=Date.now();0<=U-this.S?(function Kg(U,_e){U.info(function(){return"TIMEOUT: "+_e})}(this.i,this.A),2!=this.L&&(Im(),Qc(17)),Kn(this),this.s=2,Tp(this)):wp(this,this.S-U)};var Mn=class{constructor(U,_e){this.g=U,this.map=_e}};function ci(U){this.l=U||10,U=R.PerformanceNavigationTiming?0<(U=R.performance.getEntriesByType("navigation")).length&&("hq"==U[0].nextHopProtocol||"h2"==U[0].nextHopProtocol):!!(R.chrome&&R.chrome.loadTimes&&R.chrome.loadTimes()&&R.chrome.loadTimes().wasFetchedViaSpdy),this.j=U?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function mo(U){return!!U.h||!!U.g&&U.g.size>=U.j}function zr(U){return U.h?1:U.g?U.g.size:0}function Cs(U,_e){return U.h?U.h==_e:!!U.g&&U.g.has(_e)}function Ha(U,_e){U.g?U.g.add(_e):U.h=_e}function ul(U,_e){U.h&&U.h==_e?U.h=null:U.g&&U.g.has(_e)&&U.g.delete(_e)}function cu(U){if(null!=U.h)return U.i.concat(U.h.D);if(null!=U.g&&0!==U.g.size){let _e=U.i;for(const Ne of U.g.values())_e=_e.concat(Ne.D);return _e}return Yn(U.i)}function Nm(U,_e){if(U.forEach&&"function"==typeof U.forEach)U.forEach(_e,void 0);else if(q(U)||"string"==typeof U)Array.prototype.forEach.call(U,_e,void 0);else for(var Ne=function O1(U){if(U.na&&"function"==typeof U.na)return U.na();if(!U.V||"function"!=typeof U.V){if(typeof Map<"u"&&U instanceof Map)return Array.from(U.keys());if(!(typeof Set<"u"&&U instanceof Set)){if(q(U)||"string"==typeof U){var _e=[];U=U.length;for(var Ne=0;Ne<U;Ne++)_e.push(Ne);return _e}_e=[],Ne=0;for(const _t in U)_e[Ne++]=_t;return _e}}}(U),_t=function rf(U){if(U.V&&"function"==typeof U.V)return U.V();if(typeof Map<"u"&&U instanceof Map||typeof Set<"u"&&U instanceof Set)return Array.from(U.values());if("string"==typeof U)return U.split("");if(q(U)){for(var _e=[],Ne=U.length,_t=0;_t<Ne;_t++)_e.push(U[_t]);return _e}for(_t in _e=[],Ne=0,U)_e[Ne++]=U[_t];return _e}(U),Sn=_t.length,Gn=0;Gn<Sn;Gn++)_e.call(void 0,_t[Gn],Ne&&Ne[Gn],U)}ci.prototype.cancel=function(){if(this.i=cu(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const U of this.g.values())U.cancel();this.g.clear()}};var sf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Sp(U){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,U instanceof Sp){this.h=U.h,Ph(this,U.j),this.o=U.o,this.g=U.g,Fh(this,U.s),this.l=U.l;var _e=U.i,Ne=new lf;Ne.i=_e.i,_e.g&&(Ne.g=new Map(_e.g),Ne.h=_e.h),kp(this,Ne),this.m=U.m}else U&&(_e=String(U).match(sf))?(this.h=!1,Ph(this,_e[1]||"",!0),this.o=af(_e[2]||""),this.g=af(_e[3]||"",!0),Fh(this,_e[4]),this.l=af(_e[5]||"",!0),kp(this,_e[6]||"",!0),this.m=af(_e[7]||"")):(this.h=!1,this.i=new lf(null,this.h))}function th(U){return new Sp(U)}function Ph(U,_e,Ne){U.j=Ne?af(_e,!0):_e,U.j&&(U.j=U.j.replace(/:$/,""))}function Fh(U,_e){if(_e){if(_e=Number(_e),isNaN(_e)||0>_e)throw Error("Bad port number "+_e);U.s=_e}else U.s=null}function kp(U,_e,Ne){_e instanceof lf?(U.i=_e,function N1(U,_e){_e&&!U.j&&(Ld(U),U.i=null,U.g.forEach(function(Ne,_t){var Sn=_t.toLowerCase();_t!=Sn&&(Am(this,_t),l6(this,Sn,Ne))},U)),U.j=_e}(U.i,U.h)):(Ne||(_e=Zg(_e,br)),U.i=new lf(_e,U.h))}function ra(U,_e,Ne){U.i.set(_e,Ne)}function Jg(U){return ra(U,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),U}function af(U,_e){return U?_e?decodeURI(U.replace(/%25/g,"%2525")):decodeURIComponent(U):""}function Zg(U,_e,Ne){return"string"==typeof U?(U=encodeURI(U).replace(_e,Vv),Ne&&(U=U.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),U):null}function Vv(U){return"%"+((U=U.charCodeAt(0))>>4&15).toString(16)+(15&U).toString(16)}Sp.prototype.toString=function(){var U=[],_e=this.j;_e&&U.push(Zg(_e,I3,!0),":");var Ne=this.g;return(Ne||"file"==_e)&&(U.push("//"),(_e=this.o)&&U.push(Zg(_e,I3,!0),"@"),U.push(encodeURIComponent(String(Ne)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(Ne=this.s)&&U.push(":",String(Ne))),(Ne=this.l)&&(this.g&&"/"!=Ne.charAt(0)&&U.push("/"),U.push(Zg(Ne,"/"==Ne.charAt(0)?s6:r6,!0))),(Ne=this.i.toString())&&U.push("?",Ne),(Ne=this.m)&&U.push("#",Zg(Ne,a6)),U.join("")};var I3=/[#\/\?@]/g,r6=/[#\?:]/g,s6=/[#\?]/g,br=/[#\?@]/g,a6=/#/g;function lf(U,_e){this.h=this.g=null,this.i=U||null,this.j=!!_e}function Ld(U){U.g||(U.g=new Map,U.h=0,U.i&&function N0(U,_e){if(U){U=U.split("&");for(var Ne=0;Ne<U.length;Ne++){var _t=U[Ne].indexOf("="),Sn=null;if(0<=_t){var Gn=U[Ne].substring(0,_t);Sn=U[Ne].substring(_t+1)}else Gn=U[Ne];_e(Gn,Sn?decodeURIComponent(Sn.replace(/\+/g," ")):"")}}}(U.i,function(_e,Ne){U.add(decodeURIComponent(_e.replace(/\+/g," ")),Ne)}))}function Am(U,_e){Ld(U),_e=z1(U,_e),U.g.has(_e)&&(U.i=null,U.h-=U.g.get(_e).length,U.g.delete(_e))}function D3(U,_e){return Ld(U),_e=z1(U,_e),U.g.has(_e)}function l6(U,_e,Ne){Am(U,_e),0<Ne.length&&(U.i=null,U.g.set(z1(U,_e),Yn(Ne)),U.h+=Ne.length)}function z1(U,_e){return _e=String(_e),U.j&&(_e=_e.toLowerCase()),_e}function Vd(U,_e,Ne,_t,Sn){try{Sn&&(Sn.onload=null,Sn.onerror=null,Sn.onabort=null,Sn.ontimeout=null),_t(Ne)}catch{}}function e4(){this.g=new Mm}function z3(U,_e,Ne){const _t=Ne||"";try{Nm(U,function(Sn,Gn){let to=Sn;ce(Sn)&&(to=Yg(Sn)),_e.push(_t+Gn+"="+encodeURIComponent(to))})}catch(Sn){throw _e.push(_t+"type="+encodeURIComponent("_badmap")),Sn}}function Cd(U){this.l=U.Ub||null,this.j=U.eb||!1}function Rm(U,_e){dl.call(this),this.D=U,this.o=_e,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}function df(U){U.j.read().then(U.Pa.bind(U)).catch(U.ga.bind(U))}function Ep(U){U.readyState=4,U.l=null,U.j=null,U.v=null,Pm(U)}function Pm(U){U.onreadystatechange&&U.onreadystatechange.call(U)}function c6(U){let _e="";return po(U,function(Ne,_t){_e+=_t,_e+=":",_e+=Ne,_e+="\r\n"}),_e}function t4(U,_e,Ne){e:{for(_t in Ne){var _t=!1;break e}_t=!0}_t||(Ne=c6(Ne),"string"==typeof U?null!=Ne&&encodeURIComponent(String(Ne)):ra(U,_e,Ne))}function hl(U){dl.call(this),this.headers=new Map,this.o=U||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}(E=lf.prototype).add=function(U,_e){Ld(this),this.i=null,U=z1(this,U);var Ne=this.g.get(U);return Ne||this.g.set(U,Ne=[]),Ne.push(_e),this.h+=1,this},E.forEach=function(U,_e){Ld(this),this.g.forEach(function(Ne,_t){Ne.forEach(function(Sn){U.call(_e,Sn,_t,this)},this)},this)},E.na=function(){Ld(this);const U=Array.from(this.g.values()),_e=Array.from(this.g.keys()),Ne=[];for(let _t=0;_t<_e.length;_t++){const Sn=U[_t];for(let Gn=0;Gn<Sn.length;Gn++)Ne.push(_e[_t])}return Ne},E.V=function(U){Ld(this);let _e=[];if("string"==typeof U)D3(this,U)&&(_e=_e.concat(this.g.get(z1(this,U))));else{U=Array.from(this.g.values());for(let Ne=0;Ne<U.length;Ne++)_e=_e.concat(U[Ne])}return _e},E.set=function(U,_e){return Ld(this),this.i=null,D3(this,U=z1(this,U))&&(this.h-=this.g.get(U).length),this.g.set(U,[_e]),this.h+=1,this},E.get=function(U,_e){return U&&0<(U=this.V(U)).length?String(U[0]):_e},E.toString=function(){if(this.i)return this.i;if(!this.g)return"";const U=[],_e=Array.from(this.g.keys());for(var Ne=0;Ne<_e.length;Ne++){var _t=_e[Ne];const Gn=encodeURIComponent(String(_t)),to=this.V(_t);for(_t=0;_t<to.length;_t++){var Sn=Gn;""!==to[_t]&&(Sn+="="+encodeURIComponent(String(to[_t]))),U.push(Sn)}}return this.i=U.join("&")},Tn(Cd,Nh),Cd.prototype.g=function(){return new Rm(this.l,this.j)},Cd.prototype.i=function(U){return function(){return U}}({}),Tn(Rm,dl),(E=Rm.prototype).open=function(U,_e){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.B=U,this.A=_e,this.readyState=1,Pm(this)},E.send=function(U){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;const _e={headers:this.u,method:this.B,credentials:this.m,cache:void 0};U&&(_e.body=U),(this.D||R).fetch(new Request(this.A,_e)).then(this.Sa.bind(this),this.ga.bind(this))},E.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,Ep(this)),this.readyState=0},E.Sa=function(U){if(this.g&&(this.l=U,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=U.headers,this.readyState=2,Pm(this)),this.g&&(this.readyState=3,Pm(this),this.g)))if("arraybuffer"===this.responseType)U.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(typeof R.ReadableStream<"u"&&"body"in U){if(this.j=U.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;df(this)}else U.text().then(this.Ra.bind(this),this.ga.bind(this))},E.Pa=function(U){if(this.g){if(this.o&&U.value)this.response.push(U.value);else if(!this.o){var _e=U.value?U.value:new Uint8Array(0);(_e=this.v.decode(_e,{stream:!U.done}))&&(this.response=this.responseText+=_e)}U.done?Ep(this):Pm(this),3==this.readyState&&df(this)}},E.Ra=function(U){this.g&&(this.response=this.responseText=U,Ep(this))},E.Qa=function(U){this.g&&(this.response=U,Ep(this))},E.ga=function(){this.g&&Ep(this)},E.setRequestHeader=function(U,_e){this.u.append(U,_e)},E.getResponseHeader=function(U){return this.h&&this.h.get(U.toLowerCase())||""},E.getAllResponseHeaders=function(){if(!this.h)return"";const U=[],_e=this.h.entries();for(var Ne=_e.next();!Ne.done;)U.push((Ne=Ne.value)[0]+": "+Ne[1]),Ne=_e.next();return U.join("\r\n")},Object.defineProperty(Rm.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(U){this.m=U?"include":"same-origin"}}),Tn(hl,dl);var uf=/^https?$/i,Bv=["POST","PUT"];function d6(U,_e){U.h=!1,U.g&&(U.j=!0,U.g.abort(),U.j=!1),U.l=_e,U.m=5,N3(U),n4(U)}function N3(U){U.A||(U.A=!0,uc(U,"complete"),uc(U,"error"))}function hf(U){if(U.h&&typeof D<"u"&&(!U.v[1]||4!=pl(U)||2!=U.Z()))if(U.u&&4==pl(U))wm(U.Ea,0,U);else if(uc(U,"readystatechange"),4==pl(U)){U.h=!1;try{const to=U.Z();e:switch(to){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var _e=!0;break e;default:_e=!1}var Ne;if(!(Ne=_e)){var _t;if(_t=0===to){var Sn=String(U.D).match(sf)[1]||null;!Sn&&R.self&&R.self.location&&(Sn=R.self.location.protocol.slice(0,-1)),_t=!uf.test(Sn?Sn.toLowerCase():"")}Ne=_t}if(Ne)uc(U,"complete"),uc(U,"success");else{U.m=6;try{var Gn=2<pl(U)?U.g.statusText:""}catch{Gn=""}U.l=Gn+" ["+U.Z()+"]",N3(U)}}finally{n4(U)}}}function n4(U,_e){if(U.g){u6(U);const Ne=U.g,_t=U.v[0]?()=>{}:null;U.g=null,U.v=null,_e||uc(U,"ready");try{Ne.onreadystatechange=_t}catch{}}}function u6(U){U.I&&(R.clearTimeout(U.I),U.I=null)}function pl(U){return U.g?U.g.readyState:0}function h6(U){try{if(!U.g)return null;if("response"in U.g)return U.g.response;switch(U.H){case"":case"text":return U.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in U.g)return U.g.mozResponseArrayBuffer}return null}catch{return null}}function o4(U,_e,Ne){return Ne&&Ne.internalChannelParams&&Ne.internalChannelParams[U]||_e}function A3(U){this.Aa=0,this.i=[],this.j=new O0,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=o4("failFast",!1,U),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=o4("baseRetryDelayMs",5e3,U),this.cb=o4("retryDelaySeedMs",1e4,U),this.Wa=o4("forwardChannelMaxRetries",2,U),this.wa=o4("forwardChannelRequestTimeoutMs",2e4,U),this.pa=U&&U.xmlHttpFactory||void 0,this.Xa=U&&U.Tb||void 0,this.Ca=U&&U.useFetchStreams||!1,this.L=void 0,this.J=U&&U.supportsCrossDomainXhr||!1,this.K="",this.h=new ci(U&&U.concurrentRequestLimit),this.Da=new e4,this.P=U&&U.fastHandshake||!1,this.O=U&&U.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=U&&U.Rb||!1,U&&U.xa&&this.j.xa(),U&&U.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&U&&U.detectBufferingProxy||!1,this.ja=void 0,U&&U.longPollingTimeout&&0<U.longPollingTimeout&&(this.ja=U.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}function r4(U){if(p6(U),3==U.G){var _e=U.U++,Ne=th(U.I);if(ra(Ne,"SID",U.K),ra(Ne,"RID",_e),ra(Ne,"TYPE","terminate"),A0(U,Ne),(_e=new lu(U,U.j,_e)).L=2,_e.v=Jg(th(Ne)),Ne=!1,R.navigator&&R.navigator.sendBeacon)try{Ne=R.navigator.sendBeacon(_e.v.toString(),"")}catch{}!Ne&&R.Image&&((new Image).src=_e.v,Ne=!0),Ne||(_e.g=y6(_e.j,null),_e.g.ea(_e.v)),_e.F=Date.now(),Rh(_e)}_6(U)}function s4(U){U.g&&(c4(U),U.g.cancel(),U.g=null)}function p6(U){s4(U),U.u&&(R.clearTimeout(U.u),U.u=null),d4(U),U.h.cancel(),U.s&&("number"==typeof U.s&&R.clearTimeout(U.s),U.s=null)}function a4(U){if(!mo(U.h)&&!U.s){U.s=!0;var _e=U.Ga;Vo||Pr(),Wr||(Vo(),Wr=!0),sr.add(_e,U),U.B=0}}function m6(U,_e){var Ne;Ne=_e?_e.l:U.U++;const _t=th(U.I);ra(_t,"SID",U.K),ra(_t,"RID",Ne),ra(_t,"AID",U.T),A0(U,_t),U.m&&U.o&&t4(_t,U.m,U.o),Ne=new lu(U,U.j,Ne,U.B+1),null===U.m&&(Ne.H=U.o),_e&&(U.i=_e.D.concat(U.i)),_e=l4(U,Ne,1e3),Ne.I=Math.round(.5*U.wa)+Math.round(.5*U.wa*Math.random()),Ha(U.h,Ne),ef(Ne,_t,_e)}function A0(U,_e){U.H&&po(U.H,function(Ne,_t){ra(_e,_t,Ne)}),U.l&&Nm({},function(Ne,_t){ra(_e,_t,Ne)})}function l4(U,_e,Ne){Ne=Math.min(U.i.length,Ne);var _t=U.l?It(U.l.Na,U.l,U):null;e:{var Sn=U.i;let Gn=-1;for(;;){const to=["count="+Ne];-1==Gn?0<Ne?(Gn=Sn[0].g,to.push("ofs="+Gn)):Gn=0:to.push("ofs="+Gn);let As=!0;for(let fc=0;fc<Ne;fc++){let Kr=Sn[fc].g;const Sl=Sn[fc].map;if(Kr-=Gn,0>Kr)Gn=Math.max(0,Sn[fc].g-100),As=!1;else try{z3(Sl,to,"req"+Kr+"_")}catch{_t&&_t(Sl)}}if(As){_t=to.join("&");break e}}}return U=U.i.splice(0,Ne),_e.D=U,_t}function g6(U){if(!U.g&&!U.u){U.Y=1;var _e=U.Fa;Vo||Pr(),Wr||(Vo(),Wr=!0),sr.add(_e,U),U.v=0}}function R3(U){return!(U.g||U.u||3<=U.v||(U.Y++,U.u=D0(It(U.Fa,U),u4(U,U.v)),U.v++,0))}function c4(U){null!=U.A&&(R.clearTimeout(U.A),U.A=null)}function v6(U){U.g=new lu(U,U.j,"rpc",U.Y),null===U.m&&(U.g.H=U.o),U.g.O=0;var _e=th(U.qa);ra(_e,"RID","rpc"),ra(_e,"SID",U.K),ra(_e,"AID",U.T),ra(_e,"CI",U.F?"0":"1"),!U.F&&U.ja&&ra(_e,"TO",U.ja),ra(_e,"TYPE","xmlhttp"),A0(U,_e),U.m&&U.o&&t4(_e,U.m,U.o),U.L&&(U.g.I=U.L);var Ne=U.g;U=U.ia,Ne.L=1,Ne.v=Jg(th(_e)),Ne.m=null,Ne.P=!0,Cp(Ne,U)}function d4(U){null!=U.C&&(R.clearTimeout(U.C),U.C=null)}function Fu(U,_e){var Ne=null;if(U.g==_e){d4(U),c4(U),U.g=null;var _t=2}else{if(!Cs(U.h,_e))return;Ne=_e.D,ul(U.h,_e),_t=1}if(0!=U.G)if(_e.o)if(1==_t){Ne=_e.m?_e.m.length:0,_e=Date.now()-_e.F;var Sn=U.B;uc(_t=hc(),new n6(_t,Ne)),a4(U)}else g6(U);else if(3==(Sn=_e.s)||0==Sn&&0<_e.X||!(1==_t&&function f6(U,_e){return!(zr(U.h)>=U.h.j-(U.s?1:0)||(U.s?(U.i=_e.D.concat(U.i),0):1==U.G||2==U.G||U.B>=(U.Va?0:U.Wa)||(U.s=D0(It(U.Ga,U,_e),u4(U,U.B)),U.B++,0)))}(U,_e)||2==_t&&R3(U)))switch(Ne&&0<Ne.length&&(_e=U.h,_e.i=_e.i.concat(Ne)),Sn){case 1:R0(U,5);break;case 4:R0(U,10);break;case 3:R0(U,6);break;default:R0(U,2)}}function u4(U,_e){let Ne=U.Ta+Math.floor(Math.random()*U.cb);return U.isActive()||(Ne*=2),Ne*_e}function R0(U,_e){if(U.j.info("Error code "+_e),2==_e){var Ne=It(U.fb,U),_t=U.Xa;const Sn=!_t;_t=new Sp(_t||"//www.google.com/images/cleardot.gif"),R.location&&"http"==R.location.protocol||Ph(_t,"https"),Jg(_t),Sn?function O3(U,_e){const Ne=new O0;if(R.Image){const _t=new Image;_t.onload=Kt(Vd,Ne,"TestLoadImage: loaded",!0,_e,_t),_t.onerror=Kt(Vd,Ne,"TestLoadImage: error",!1,_e,_t),_t.onabort=Kt(Vd,Ne,"TestLoadImage: abort",!1,_e,_t),_t.ontimeout=Kt(Vd,Ne,"TestLoadImage: timeout",!1,_e,_t),R.setTimeout(function(){_t.ontimeout&&_t.ontimeout()},1e4),_t.src=U}else _e(!1)}(_t.toString(),Ne):function cf(U,_e){new O0;const _t=new AbortController,Sn=setTimeout(()=>{_t.abort(),Vd(0,0,!1,_e)},1e4);fetch(U,{signal:_t.signal}).then(Gn=>{clearTimeout(Sn),Vd(0,0,!!Gn.ok,_e)}).catch(()=>{clearTimeout(Sn),Vd(0,0,!1,_e)})}(_t.toString(),Ne)}else Qc(2);U.G=0,U.l&&U.l.sa(_e),_6(U),p6(U)}function _6(U){if(U.G=0,U.ka=[],U.l){const _e=cu(U.h);(0!=_e.length||0!=U.i.length)&&(Un(U.ka,_e),Un(U.ka,U.i),U.h.i.length=0,Yn(U.i),U.i.length=0),U.l.ra()}}function P3(U,_e,Ne){var _t=Ne instanceof Sp?th(Ne):new Sp(Ne);if(""!=_t.g)_e&&(_t.g=_e+"."+_t.g),Fh(_t,_t.s);else{var Sn=R.location;_t=Sn.protocol,_e=_e?_e+"."+Sn.hostname:Sn.hostname,Sn=+Sn.port;var Gn=new Sp(null);_t&&Ph(Gn,_t),_e&&(Gn.g=_e),Sn&&Fh(Gn,Sn),Ne&&(Gn.l=Ne),_t=Gn}return _e=U.ya,(Ne=U.D)&&_e&&ra(_t,Ne,_e),ra(_t,"VER",U.la),A0(U,_t),_t}function y6(U,_e,Ne){if(_e&&!U.J)throw Error("Can't create secondary domain capable XhrIo object.");return(_e=new hl(U.Ca&&!U.pa?new Cd({eb:Ne}):U.pa)).Ha(U.J),_e}function h4(){}function pf(){}function Lu(U,_e){dl.call(this),this.g=new A3(_e),this.l=U,this.h=_e&&_e.messageUrlParams||null,U=_e&&_e.messageHeaders||null,_e&&_e.clientProtocolHeaderRequired&&(U?U["X-Client-Protocol"]="webchannel":U={"X-Client-Protocol":"webchannel"}),this.g.o=U,U=_e&&_e.initMessageHeaders||null,_e&&_e.messageContentType&&(U?U["X-WebChannel-Content-Type"]=_e.messageContentType:U={"X-WebChannel-Content-Type":_e.messageContentType}),_e&&_e.va&&(U?U["X-WebChannel-Client-Profile"]=_e.va:U={"X-WebChannel-Client-Profile":_e.va}),this.g.S=U,(U=_e&&_e.Sb)&&!ji(U)&&(this.g.m=U),this.v=_e&&_e.supportsCrossDomainXhr||!1,this.u=_e&&_e.sendRawJson||!1,(_e=_e&&_e.httpSessionIdParam)&&!ji(_e)&&(this.g.D=_e,null!==(U=this.h)&&_e in U&&_e in(U=this.h)&&delete U[_e]),this.j=new pc(this)}function Lh(U){xm.call(this),U.__headers__&&(this.headers=U.__headers__,this.statusCode=U.__status__,delete U.__headers__,delete U.__status__);var _e=U.__sm__;if(_e){e:{for(const Ne in _e){U=Ne;break e}U=void 0}(this.i=U)&&(U=this.i,_e=null!==_e&&U in _e?_e[U]:void 0),this.data=_e}else this.data=U}function F3(){I0.call(this),this.status=1}function pc(U){this.g=U}(E=hl.prototype).Ha=function(U){this.J=U},E.ea=function(U,_e,Ne,_t){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+U);_e=_e?_e.toUpperCase():"GET",this.D=U,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():Z2.g(),this.v=function qg(U){return U.h||(U.h=U.i())}(this.o?this.o:Z2),this.g.onreadystatechange=It(this.Ea,this);try{this.B=!0,this.g.open(_e,String(U),!0),this.B=!1}catch(Gn){return void d6(this,Gn)}if(U=Ne||"",Ne=new Map(this.headers),_t)if(Object.getPrototypeOf(_t)===Object.prototype)for(var Sn in _t)Ne.set(Sn,_t[Sn]);else{if("function"!=typeof _t.keys||"function"!=typeof _t.get)throw Error("Unknown input type for opt_headers: "+String(_t));for(const Gn of _t.keys())Ne.set(Gn,_t.get(Gn))}_t=Array.from(Ne.keys()).find(Gn=>"content-type"==Gn.toLowerCase()),Sn=R.FormData&&U instanceof R.FormData,!(0<=Array.prototype.indexOf.call(Bv,_e,void 0))||_t||Sn||Ne.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[Gn,to]of Ne)this.g.setRequestHeader(Gn,to);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{u6(this),this.u=!0,this.g.send(U),this.u=!1}catch(Gn){d6(this,Gn)}},E.abort=function(U){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=U||7,uc(this,"complete"),uc(this,"abort"),n4(this))},E.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),n4(this,!0)),hl.aa.N.call(this)},E.Ea=function(){this.s||(this.B||this.u||this.j?hf(this):this.bb())},E.bb=function(){hf(this)},E.isActive=function(){return!!this.g},E.Z=function(){try{return 2<pl(this)?this.g.status:-1}catch{return-1}},E.oa=function(){try{return this.g?this.g.responseText:""}catch{return""}},E.Oa=function(U){if(this.g){var _e=this.g.responseText;return U&&0==_e.indexOf(U)&&(_e=_e.substring(U.length)),Em(_e)}},E.Ba=function(){return this.m},E.Ka=function(){return"string"==typeof this.l?this.l:String(this.l)},(E=A3.prototype).la=8,E.G=1,E.connect=function(U,_e,Ne,_t){Qc(0),this.W=U,this.H=_e||{},Ne&&void 0!==_t&&(this.H.OSID=Ne,this.H.OAID=_t),this.F=this.X,this.I=P3(this,null,this.W),a4(this)},E.Ga=function(U){if(this.s)if(this.s=null,1==this.G){if(!U){this.U=Math.floor(1e5*Math.random()),U=this.U++;const Sn=new lu(this,this.j,U);let Gn=this.o;if(this.S&&(Gn?(Gn=Bt(Gn),cn(Gn,this.S)):Gn=this.S),null!==this.m||this.O||(Sn.H=Gn,Gn=null),this.P)e:{for(var _e=0,Ne=0;Ne<this.i.length;Ne++){var _t=this.i[Ne];if(void 0===(_t="__data__"in _t.map&&"string"==typeof(_t=_t.map.__data__)?_t.length:void 0))break;if(4096<(_e+=_t)){_e=Ne;break e}if(4096===_e||Ne===this.i.length-1){_e=Ne+1;break e}}_e=1e3}else _e=1e3;_e=l4(this,Sn,_e),ra(Ne=th(this.I),"RID",U),ra(Ne,"CVER",22),this.D&&ra(Ne,"X-HTTP-Session-Id",this.D),A0(this,Ne),Gn&&(this.O?_e="headers="+encodeURIComponent(String(c6(Gn)))+"&"+_e:this.m&&t4(Ne,this.m,Gn)),Ha(this.h,Sn),this.Ua&&ra(Ne,"TYPE","init"),this.P?(ra(Ne,"$req",_e),ra(Ne,"SID","null"),Sn.T=!0,ef(Sn,Ne,null)):ef(Sn,Ne,_e),this.G=2}}else 3==this.G&&(U?m6(this,U):0==this.i.length||mo(this.h)||m6(this))},E.Fa=function(){if(this.u=null,v6(this),this.ba&&!(this.M||null==this.g||0>=this.R)){var U=2*this.R;this.j.info("BP detection timer enabled: "+U),this.A=D0(It(this.ab,this),U)}},E.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,Qc(10),s4(this),v6(this))},E.Za=function(){null!=this.C&&(this.C=null,s4(this),R3(this),Qc(19))},E.fb=function(U){U?(this.j.info("Successfully pinged google.com"),Qc(2)):(this.j.info("Failed to ping google.com"),Qc(1))},E.isActive=function(){return!!this.l&&this.l.isActive(this)},(E=h4.prototype).ua=function(){},E.ta=function(){},E.sa=function(){},E.ra=function(){},E.isActive=function(){return!0},E.Na=function(){},pf.prototype.g=function(U,_e){return new Lu(U,_e)},Tn(Lu,dl),Lu.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},Lu.prototype.close=function(){r4(this.g)},Lu.prototype.o=function(U){var _e=this.g;if("string"==typeof U){var Ne={};Ne.__data__=U,U=Ne}else this.u&&((Ne={}).__data__=Yg(U),U=Ne);_e.i.push(new Mn(_e.Ya++,U)),3==_e.G&&a4(_e)},Lu.prototype.N=function(){this.g.l=null,delete this.j,r4(this.g),delete this.g,Lu.aa.N.call(this)},Tn(Lh,xm),Tn(F3,I0),Tn(pc,h4),pc.prototype.ua=function(){uc(this.g,"a")},pc.prototype.ta=function(U){uc(this.g,new Lh(U))},pc.prototype.sa=function(U){uc(this.g,new F3)},pc.prototype.ra=function(){uc(this.g,"b")},pf.prototype.createWebChannel=pf.prototype.g,Lu.prototype.send=Lu.prototype.o,Lu.prototype.open=Lu.prototype.m,Lu.prototype.close=Lu.prototype.close,ft=de.createWebChannelTransport=function(){return new pf},dt=de.getStatEventTarget=function(){return hc()},Tt=de.Event=au,at=de.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},Ah.NO_ERROR=0,Ah.TIMEOUT=8,Ah.HTTP_ERROR=6,ht=de.ErrorCode=Ah,J2.COMPLETE="complete",Ge=de.EventType=J2,Xg.EventType=x0,x0.OPEN="a",x0.CLOSE="b",x0.ERROR="c",x0.MESSAGE="d",dl.prototype.listen=dl.prototype.K,qe=de.WebChannel=Xg,Ee=de.FetchXmlHttpFactory=Cd,hl.prototype.listenOnce=hl.prototype.L,hl.prototype.getLastError=hl.prototype.Ka,hl.prototype.getLastErrorCode=hl.prototype.Ba,hl.prototype.getStatus=hl.prototype.Z,hl.prototype.getResponseJson=hl.prototype.Oa,hl.prototype.getResponseText=hl.prototype.oa,hl.prototype.send=hl.prototype.ea,hl.prototype.setWithCredentials=hl.prototype.Ha,Ve=de.XhrIo=hl}).apply(typeof le<"u"?le:typeof self<"u"?self:typeof window<"u"?window:{});const ze="@firebase/firestore";class B{constructor(h){this.uid=h}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(h){return h.uid===this.uid}}B.UNAUTHENTICATED=new B(null),B.GOOGLE_CREDENTIALS=new B("google-credentials-uid"),B.FIRST_PARTY=new B("first-party-uid"),B.MOCK_USER=new B("mock-user");let Te="10.13.2";const be=new a.Vy("@firebase/firestore");function Pe(){return be.logLevel}function z(E,...h){if(be.logLevel<=a.$b.DEBUG){const m=h.map(rt);be.debug(`Firestore (${Te}): ${E}`,...m)}}function X(E,...h){if(be.logLevel<=a.$b.ERROR){const m=h.map(rt);be.error(`Firestore (${Te}): ${E}`,...m)}}function P(E,...h){if(be.logLevel<=a.$b.WARN){const m=h.map(rt);be.warn(`Firestore (${Te}): ${E}`,...m)}}function rt(E){if("string"==typeof E)return E;try{return JSON.stringify(E)}catch{return E}}function Ue(E="Unexpected state"){const h=`FIRESTORE (${Te}) INTERNAL ASSERTION FAILED: `+E;throw X(h),new Error(h)}function zt(E,h){E||Ue()}function Mt(E,h){return E}const mt={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class Ke extends L.g{constructor(h,m){super(h,m),this.code=h,this.message=m,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class Xe{constructor(){this.promise=new Promise((h,m)=>{this.resolve=h,this.reject=m})}}class yt{constructor(h,m){this.user=m,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${h}`)}}class Rt{getToken(){return Promise.resolve(null)}invalidateToken(){}start(h,m){h.enqueueRetryable(()=>m(B.UNAUTHENTICATED))}shutdown(){}}class Vt{constructor(h){this.token=h,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(h,m){this.changeListener=m,h.enqueueRetryable(()=>m(this.token.user))}shutdown(){this.changeListener=null}}class _n{constructor(h){this.t=h,this.currentUser=B.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(h,m){var w=this;let I=this.i;const g=ce=>this.i!==I?(I=this.i,m(ce)):Promise.resolve();let D=new Xe;this.o=()=>{this.i++,this.currentUser=this.u(),D.resolve(),D=new Xe,h.enqueueRetryable(()=>g(this.currentUser))};const R=()=>{const ce=D;h.enqueueRetryable((0,y.A)(function*(){yield ce.promise,yield g(w.currentUser)}))},q=ce=>{z("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=ce,this.auth.addAuthTokenListener(this.o),R()};this.t.onInit(ce=>q(ce)),setTimeout(()=>{if(!this.auth){const ce=this.t.getImmediate({optional:!0});ce?q(ce):(z("FirebaseAuthCredentialsProvider","Auth not yet detected"),D.resolve(),D=new Xe)}},0),R()}getToken(){const h=this.i,m=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(m).then(w=>this.i!==h?(z("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):w?(zt("string"==typeof w.accessToken),new yt(w.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.auth.removeAuthTokenListener(this.o)}u(){const h=this.auth&&this.auth.getUid();return zt(null===h||"string"==typeof h),new B(h)}}class oi{constructor(h,m,w){this.l=h,this.h=m,this.P=w,this.type="FirstParty",this.user=B.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const h=this.T();return h&&this.I.set("Authorization",h),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class Vn{constructor(h,m,w){this.l=h,this.h=m,this.P=w}getToken(){return Promise.resolve(new oi(this.l,this.h,this.P))}start(h,m){h.enqueueRetryable(()=>m(B.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class Wn{constructor(h){this.value=h,this.type="AppCheck",this.headers=new Map,h&&h.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class qn{constructor(h){this.A=h,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(h,m){const w=g=>{null!=g.error&&z("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${g.error.message}`);const D=g.token!==this.R;return this.R=g.token,z("FirebaseAppCheckTokenProvider",`Received ${D?"new":"existing"} token.`),D?m(g.token):Promise.resolve()};this.o=g=>{h.enqueueRetryable(()=>w(g))};const I=g=>{z("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=g,this.appCheck.addTokenListener(this.o)};this.A.onInit(g=>I(g)),setTimeout(()=>{if(!this.appCheck){const g=this.A.getImmediate({optional:!0});g?I(g):z("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){const h=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(h).then(m=>m?(zt("string"==typeof m.token),this.R=m.token,new Wn(m.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.appCheck.removeTokenListener(this.o)}}function Ci(E){const h=typeof self<"u"&&(self.crypto||self.msCrypto),m=new Uint8Array(E);if(h&&"function"==typeof h.getRandomValues)h.getRandomValues(m);else for(let w=0;w<E;w++)m[w]=Math.floor(256*Math.random());return m}class oo{static newId(){const m=62*Math.floor(256/62);let w="";for(;w.length<20;){const I=Ci(40);for(let g=0;g<I.length;++g)w.length<20&&I[g]<m&&(w+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(I[g]%62))}return w}}function Rn(E,h){return E<h?-1:E>h?1:0}function vi(E,h,m){return E.length===h.length&&E.every((w,I)=>m(w,h[I]))}class fi{constructor(h,m){if(this.seconds=h,this.nanoseconds=m,m<0)throw new Ke(mt.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+m);if(m>=1e9)throw new Ke(mt.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+m);if(h<-62135596800)throw new Ke(mt.INVALID_ARGUMENT,"Timestamp seconds out of range: "+h);if(h>=253402300800)throw new Ke(mt.INVALID_ARGUMENT,"Timestamp seconds out of range: "+h)}static now(){return fi.fromMillis(Date.now())}static fromDate(h){return fi.fromMillis(h.getTime())}static fromMillis(h){const m=Math.floor(h/1e3),w=Math.floor(1e6*(h-1e3*m));return new fi(m,w)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(h){return this.seconds===h.seconds?Rn(this.nanoseconds,h.nanoseconds):Rn(this.seconds,h.seconds)}isEqual(h){return h.seconds===this.seconds&&h.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){return String(this.seconds- -62135596800).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}class ei{constructor(h){this.timestamp=h}static fromTimestamp(h){return new ei(h)}static min(){return new ei(new fi(0,0))}static max(){return new ei(new fi(253402300799,999999999))}compareTo(h){return this.timestamp._compareTo(h.timestamp)}isEqual(h){return this.timestamp.isEqual(h.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}class Yi{constructor(h,m,w){void 0===m?m=0:m>h.length&&Ue(),void 0===w?w=h.length-m:w>h.length-m&&Ue(),this.segments=h,this.offset=m,this.len=w}get length(){return this.len}isEqual(h){return 0===Yi.comparator(this,h)}child(h){const m=this.segments.slice(this.offset,this.limit());return h instanceof Yi?h.forEach(w=>{m.push(w)}):m.push(h),this.construct(m)}limit(){return this.offset+this.length}popFirst(h){return this.construct(this.segments,this.offset+(h=void 0===h?1:h),this.length-h)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(h){return this.segments[this.offset+h]}isEmpty(){return 0===this.length}isPrefixOf(h){if(h.length<this.length)return!1;for(let m=0;m<this.length;m++)if(this.get(m)!==h.get(m))return!1;return!0}isImmediateParentOf(h){if(this.length+1!==h.length)return!1;for(let m=0;m<this.length;m++)if(this.get(m)!==h.get(m))return!1;return!0}forEach(h){for(let m=this.offset,w=this.limit();m<w;m++)h(this.segments[m])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(h,m){const w=Math.min(h.length,m.length);for(let I=0;I<w;I++){const g=h.get(I),D=m.get(I);if(g<D)return-1;if(g>D)return 1}return h.length<m.length?-1:h.length>m.length?1:0}}class En extends Yi{construct(h,m,w){return new En(h,m,w)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...h){const m=[];for(const w of h){if(w.indexOf("//")>=0)throw new Ke(mt.INVALID_ARGUMENT,`Invalid segment (${w}). Paths must not contain // in them.`);m.push(...w.split("/").filter(I=>I.length>0))}return new En(m)}static emptyPath(){return new En([])}}const Xn=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class lt extends Yi{construct(h,m,w){return new lt(h,m,w)}static isValidIdentifier(h){return Xn.test(h)}canonicalString(){return this.toArray().map(h=>(h=h.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),lt.isValidIdentifier(h)||(h="`"+h+"`"),h)).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&"__name__"===this.get(0)}static keyField(){return new lt(["__name__"])}static fromServerFormat(h){const m=[];let w="",I=0;const g=()=>{if(0===w.length)throw new Ke(mt.INVALID_ARGUMENT,`Invalid field path (${h}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);m.push(w),w=""};let D=!1;for(;I<h.length;){const R=h[I];if("\\"===R){if(I+1===h.length)throw new Ke(mt.INVALID_ARGUMENT,"Path has trailing escape character: "+h);const q=h[I+1];if("\\"!==q&&"."!==q&&"`"!==q)throw new Ke(mt.INVALID_ARGUMENT,"Path has invalid escape sequence: "+h);w+=q,I+=2}else"`"===R?(D=!D,I++):"."!==R||D?(w+=R,I++):(g(),I++)}if(g(),D)throw new Ke(mt.INVALID_ARGUMENT,"Unterminated ` in path: "+h);return new lt(m)}static emptyPath(){return new lt([])}}class He{constructor(h){this.path=h}static fromPath(h){return new He(En.fromString(h))}static fromName(h){return new He(En.fromString(h).popFirst(5))}static empty(){return new He(En.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(h){return this.path.length>=2&&this.path.get(this.path.length-2)===h}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(h){return null!==h&&0===En.comparator(this.path,h.path)}toString(){return this.path.toString()}static comparator(h,m){return En.comparator(h.path,m.path)}static isDocumentKey(h){return h.length%2==0}static fromSegments(h){return new He(new En(h.slice()))}}class mi{constructor(h,m,w){this.readTime=h,this.documentKey=m,this.largestBatchId=w}static min(){return new mi(ei.min(),He.empty(),-1)}static max(){return new mi(ei.max(),He.empty(),-1)}}function Li(E,h){let m=E.readTime.compareTo(h.readTime);return 0!==m?m:(m=He.comparator(E.documentKey,h.documentKey),0!==m?m:Rn(E.largestBatchId,h.largestBatchId))}const _o="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class Vi{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(h){this.onCommittedListeners.push(h)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach(h=>h())}}function Di(E){return Mo.apply(this,arguments)}function Mo(){return(Mo=(0,y.A)(function*(E){if(E.code!==mt.FAILED_PRECONDITION||E.message!==_o)throw E;z("LocalStore","Unexpectedly lost primary lease")})).apply(this,arguments)}class Yt{constructor(h){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,h(m=>{this.isDone=!0,this.result=m,this.nextCallback&&this.nextCallback(m)},m=>{this.isDone=!0,this.error=m,this.catchCallback&&this.catchCallback(m)})}catch(h){return this.next(void 0,h)}next(h,m){return this.callbackAttached&&Ue(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(m,this.error):this.wrapSuccess(h,this.result):new Yt((w,I)=>{this.nextCallback=g=>{this.wrapSuccess(h,g).next(w,I)},this.catchCallback=g=>{this.wrapFailure(m,g).next(w,I)}})}toPromise(){return new Promise((h,m)=>{this.next(h,m)})}wrapUserFunction(h){try{const m=h();return m instanceof Yt?m:Yt.resolve(m)}catch(m){return Yt.reject(m)}}wrapSuccess(h,m){return h?this.wrapUserFunction(()=>h(m)):Yt.resolve(m)}wrapFailure(h,m){return h?this.wrapUserFunction(()=>h(m)):Yt.reject(m)}static resolve(h){return new Yt((m,w)=>{m(h)})}static reject(h){return new Yt((m,w)=>{w(h)})}static waitFor(h){return new Yt((m,w)=>{let I=0,g=0,D=!1;h.forEach(R=>{++I,R.next(()=>{++g,D&&g===I&&m()},q=>w(q))}),D=!0,g===I&&m()})}static or(h){let m=Yt.resolve(!1);for(const w of h)m=m.next(I=>I?Yt.resolve(I):w());return m}static forEach(h,m){const w=[];return h.forEach((I,g)=>{w.push(m.call(this,I,g))}),this.waitFor(w)}static mapArray(h,m){return new Yt((w,I)=>{const g=h.length,D=new Array(g);let R=0;for(let q=0;q<g;q++){const ce=q;m(h[ce]).next(xe=>{D[ce]=xe,++R,R===g&&w(D)},xe=>I(xe))}})}static doWhile(h,m){return new Yt((w,I)=>{const g=()=>{!0===h()?m().next(()=>{g()},I):w()};g()})}}function xt(E){return"IndexedDbTransactionError"===E.name}let Et=(()=>{class E{constructor(m,w){this.previousValue=m,w&&(w.sequenceNumberHandler=I=>this.ie(I),this.se=I=>w.writeSequenceNumber(I))}ie(m){return this.previousValue=Math.max(m,this.previousValue),this.previousValue}next(){const m=++this.previousValue;return this.se&&this.se(m),m}}return E.oe=-1,E})();function gn(E){return null==E}function Ut(E){return 0===E&&1/E==-1/0}function On(E){let h=0;for(const m in E)Object.prototype.hasOwnProperty.call(E,m)&&h++;return h}function Ln(E,h){for(const m in E)Object.prototype.hasOwnProperty.call(E,m)&&h(m,E[m])}function Po(E){for(const h in E)if(Object.prototype.hasOwnProperty.call(E,h))return!1;return!0}class Oi{constructor(h,m){this.comparator=h,this.root=m||Bo.EMPTY}insert(h,m){return new Oi(this.comparator,this.root.insert(h,m,this.comparator).copy(null,null,Bo.BLACK,null,null))}remove(h){return new Oi(this.comparator,this.root.remove(h,this.comparator).copy(null,null,Bo.BLACK,null,null))}get(h){let m=this.root;for(;!m.isEmpty();){const w=this.comparator(h,m.key);if(0===w)return m.value;w<0?m=m.left:w>0&&(m=m.right)}return null}indexOf(h){let m=0,w=this.root;for(;!w.isEmpty();){const I=this.comparator(h,w.key);if(0===I)return m+w.left.size;I<0?w=w.left:(m+=w.left.size+1,w=w.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(h){return this.root.inorderTraversal(h)}forEach(h){this.inorderTraversal((m,w)=>(h(m,w),!1))}toString(){const h=[];return this.inorderTraversal((m,w)=>(h.push(`${m}:${w}`),!1)),`{${h.join(", ")}}`}reverseTraversal(h){return this.root.reverseTraversal(h)}getIterator(){return new mr(this.root,null,this.comparator,!1)}getIteratorFrom(h){return new mr(this.root,h,this.comparator,!1)}getReverseIterator(){return new mr(this.root,null,this.comparator,!0)}getReverseIteratorFrom(h){return new mr(this.root,h,this.comparator,!0)}}class mr{constructor(h,m,w,I){this.isReverse=I,this.nodeStack=[];let g=1;for(;!h.isEmpty();)if(g=m?w(h.key,m):1,m&&I&&(g*=-1),g<0)h=this.isReverse?h.left:h.right;else{if(0===g){this.nodeStack.push(h);break}this.nodeStack.push(h),h=this.isReverse?h.right:h.left}}getNext(){let h=this.nodeStack.pop();const m={key:h.key,value:h.value};if(this.isReverse)for(h=h.left;!h.isEmpty();)this.nodeStack.push(h),h=h.right;else for(h=h.right;!h.isEmpty();)this.nodeStack.push(h),h=h.left;return m}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const h=this.nodeStack[this.nodeStack.length-1];return{key:h.key,value:h.value}}}class Bo{constructor(h,m,w,I,g){this.key=h,this.value=m,this.color=w??Bo.RED,this.left=I??Bo.EMPTY,this.right=g??Bo.EMPTY,this.size=this.left.size+1+this.right.size}copy(h,m,w,I,g){return new Bo(h??this.key,m??this.value,w??this.color,I??this.left,g??this.right)}isEmpty(){return!1}inorderTraversal(h){return this.left.inorderTraversal(h)||h(this.key,this.value)||this.right.inorderTraversal(h)}reverseTraversal(h){return this.right.reverseTraversal(h)||h(this.key,this.value)||this.left.reverseTraversal(h)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(h,m,w){let I=this;const g=w(h,I.key);return I=g<0?I.copy(null,null,null,I.left.insert(h,m,w),null):0===g?I.copy(null,m,null,null,null):I.copy(null,null,null,null,I.right.insert(h,m,w)),I.fixUp()}removeMin(){if(this.left.isEmpty())return Bo.EMPTY;let h=this;return h.left.isRed()||h.left.left.isRed()||(h=h.moveRedLeft()),h=h.copy(null,null,null,h.left.removeMin(),null),h.fixUp()}remove(h,m){let w,I=this;if(m(h,I.key)<0)I.left.isEmpty()||I.left.isRed()||I.left.left.isRed()||(I=I.moveRedLeft()),I=I.copy(null,null,null,I.left.remove(h,m),null);else{if(I.left.isRed()&&(I=I.rotateRight()),I.right.isEmpty()||I.right.isRed()||I.right.left.isRed()||(I=I.moveRedRight()),0===m(h,I.key)){if(I.right.isEmpty())return Bo.EMPTY;w=I.right.min(),I=I.copy(w.key,w.value,null,null,I.right.removeMin())}I=I.copy(null,null,null,null,I.right.remove(h,m))}return I.fixUp()}isRed(){return this.color}fixUp(){let h=this;return h.right.isRed()&&!h.left.isRed()&&(h=h.rotateLeft()),h.left.isRed()&&h.left.left.isRed()&&(h=h.rotateRight()),h.left.isRed()&&h.right.isRed()&&(h=h.colorFlip()),h}moveRedLeft(){let h=this.colorFlip();return h.right.left.isRed()&&(h=h.copy(null,null,null,null,h.right.rotateRight()),h=h.rotateLeft(),h=h.colorFlip()),h}moveRedRight(){let h=this.colorFlip();return h.left.left.isRed()&&(h=h.rotateRight(),h=h.colorFlip()),h}rotateLeft(){const h=this.copy(null,null,Bo.RED,null,this.right.left);return this.right.copy(null,null,this.color,h,null)}rotateRight(){const h=this.copy(null,null,Bo.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,h)}colorFlip(){const h=this.left.copy(null,null,!this.left.color,null,null),m=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,h,m)}checkMaxDepth(){const h=this.check();return Math.pow(2,h)<=this.size+1}check(){if(this.isRed()&&this.left.isRed()||this.right.isRed())throw Ue();const h=this.left.check();if(h!==this.right.check())throw Ue();return h+(this.isRed()?0:1)}}Bo.EMPTY=null,Bo.RED=!0,Bo.BLACK=!1,Bo.EMPTY=new class{constructor(){this.size=0}get key(){throw Ue()}get value(){throw Ue()}get color(){throw Ue()}get left(){throw Ue()}get right(){throw Ue()}copy(h,m,w,I,g){return this}insert(h,m,w){return new Bo(h,m)}remove(h,m){return this}isEmpty(){return!0}inorderTraversal(h){return!1}reverseTraversal(h){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class wo{constructor(h){this.comparator=h,this.data=new Oi(this.comparator)}has(h){return null!==this.data.get(h)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(h){return this.data.indexOf(h)}forEach(h){this.data.inorderTraversal((m,w)=>(h(m),!1))}forEachInRange(h,m){const w=this.data.getIteratorFrom(h[0]);for(;w.hasNext();){const I=w.getNext();if(this.comparator(I.key,h[1])>=0)return;m(I.key)}}forEachWhile(h,m){let w;for(w=void 0!==m?this.data.getIteratorFrom(m):this.data.getIterator();w.hasNext();)if(!h(w.getNext().key))return}firstAfterOrEqual(h){const m=this.data.getIteratorFrom(h);return m.hasNext()?m.getNext().key:null}getIterator(){return new Io(this.data.getIterator())}getIteratorFrom(h){return new Io(this.data.getIteratorFrom(h))}add(h){return this.copy(this.data.remove(h).insert(h,!0))}delete(h){return this.has(h)?this.copy(this.data.remove(h)):this}isEmpty(){return this.data.isEmpty()}unionWith(h){let m=this;return m.size<h.size&&(m=h,h=this),h.forEach(w=>{m=m.add(w)}),m}isEqual(h){if(!(h instanceof wo)||this.size!==h.size)return!1;const m=this.data.getIterator(),w=h.data.getIterator();for(;m.hasNext();){const I=m.getNext().key,g=w.getNext().key;if(0!==this.comparator(I,g))return!1}return!0}toArray(){const h=[];return this.forEach(m=>{h.push(m)}),h}toString(){const h=[];return this.forEach(m=>h.push(m)),"SortedSet("+h.toString()+")"}copy(h){const m=new wo(this.comparator);return m.data=h,m}}class Io{constructor(h){this.iter=h}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}class or{constructor(h){this.fields=h,h.sort(lt.comparator)}static empty(){return new or([])}unionWith(h){let m=new wo(lt.comparator);for(const w of this.fields)m=m.add(w);for(const w of h)m=m.add(w);return new or(m.toArray())}covers(h){for(const m of this.fields)if(m.isPrefixOf(h))return!0;return!1}isEqual(h){return vi(this.fields,h.fields,(m,w)=>m.isEqual(w))}}class na extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}class gr{constructor(h){this.binaryString=h}static fromBase64String(h){const m=function(I){try{return atob(I)}catch(g){throw typeof DOMException<"u"&&g instanceof DOMException?new na("Invalid base64 string: "+g):g}}(h);return new gr(m)}static fromUint8Array(h){const m=function(I){let g="";for(let D=0;D<I.length;++D)g+=String.fromCharCode(I[D]);return g}(h);return new gr(m)}[Symbol.iterator](){let h=0;return{next:()=>h<this.binaryString.length?{value:this.binaryString.charCodeAt(h++),done:!1}:{value:void 0,done:!0}}}toBase64(){return btoa(this.binaryString)}toUint8Array(){return function(m){const w=new Uint8Array(m.length);for(let I=0;I<m.length;I++)w[I]=m.charCodeAt(I);return w}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(h){return Rn(this.binaryString,h.binaryString)}isEqual(h){return this.binaryString===h.binaryString}}gr.EMPTY_BYTE_STRING=new gr("");const ga=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function ps(E){if(zt(!!E),"string"==typeof E){let h=0;const m=ga.exec(E);if(zt(!!m),m[1]){let I=m[1];I=(I+"000000000").substr(0,9),h=Number(I)}const w=new Date(E);return{seconds:Math.floor(w.getTime()/1e3),nanos:h}}return{seconds:vr(E.seconds),nanos:vr(E.nanos)}}function vr(E){return"number"==typeof E?E:"string"==typeof E?Number(E):0}function Ls(E){return"string"==typeof E?gr.fromBase64String(E):gr.fromUint8Array(E)}function Pl(E){var h,m;return"server_timestamp"===(null===(m=((null===(h=E?.mapValue)||void 0===h?void 0:h.fields)||{}).__type__)||void 0===m?void 0:m.stringValue)}function sa(E){const h=E.mapValue.fields.__previous_value__;return Pl(h)?sa(h):h}function Ea(E){const h=ps(E.mapValue.fields.__local_write_time__.timestampValue);return new fi(h.seconds,h.nanos)}class bc{constructor(h,m,w,I,g,D,R,q,ce){this.databaseId=h,this.appId=m,this.persistenceKey=w,this.host=I,this.ssl=g,this.forceLongPolling=D,this.autoDetectLongPolling=R,this.longPollingOptions=q,this.useFetchStreams=ce}}class aa{constructor(h,m){this.projectId=h,this.database=m||"(default)"}static empty(){return new aa("","")}get isDefaultDatabase(){return"(default)"===this.database}isEqual(h){return h instanceof aa&&h.projectId===this.projectId&&h.database===this.database}}const va={mapValue:{fields:{__type__:{stringValue:"__max__"}}}};function as(E){return"nullValue"in E?0:"booleanValue"in E?1:"integerValue"in E||"doubleValue"in E?2:"timestampValue"in E?3:"stringValue"in E?5:"bytesValue"in E?6:"referenceValue"in E?7:"geoPointValue"in E?8:"arrayValue"in E?9:"mapValue"in E?Pl(E)?4:$o(E)?9007199254740991:Mi(E)?10:11:Ue()}function la(E,h){if(E===h)return!0;const m=as(E);if(m!==as(h))return!1;switch(m){case 0:case 9007199254740991:return!0;case 1:return E.booleanValue===h.booleanValue;case 4:return Ea(E).isEqual(Ea(h));case 3:return function(I,g){if("string"==typeof I.timestampValue&&"string"==typeof g.timestampValue&&I.timestampValue.length===g.timestampValue.length)return I.timestampValue===g.timestampValue;const D=ps(I.timestampValue),R=ps(g.timestampValue);return D.seconds===R.seconds&&D.nanos===R.nanos}(E,h);case 5:return E.stringValue===h.stringValue;case 6:return g=h,Ls(E.bytesValue).isEqual(Ls(g.bytesValue));case 7:return E.referenceValue===h.referenceValue;case 8:return function(I,g){return vr(I.geoPointValue.latitude)===vr(g.geoPointValue.latitude)&&vr(I.geoPointValue.longitude)===vr(g.geoPointValue.longitude)}(E,h);case 2:return function(I,g){if("integerValue"in I&&"integerValue"in g)return vr(I.integerValue)===vr(g.integerValue);if("doubleValue"in I&&"doubleValue"in g){const D=vr(I.doubleValue),R=vr(g.doubleValue);return D===R?Ut(D)===Ut(R):isNaN(D)&&isNaN(R)}return!1}(E,h);case 9:return vi(E.arrayValue.values||[],h.arrayValue.values||[],la);case 10:case 11:return function(I,g){const D=I.mapValue.fields||{},R=g.mapValue.fields||{};if(On(D)!==On(R))return!1;for(const q in D)if(D.hasOwnProperty(q)&&(void 0===R[q]||!la(D[q],R[q])))return!1;return!0}(E,h);default:return Ue()}var g}function ao(E,h){return void 0!==(E.values||[]).find(m=>la(m,h))}function Nr(E,h){if(E===h)return 0;const m=as(E),w=as(h);if(m!==w)return Rn(m,w);switch(m){case 0:case 9007199254740991:return 0;case 1:return Rn(E.booleanValue,h.booleanValue);case 2:return function(g,D){const R=vr(g.integerValue||g.doubleValue),q=vr(D.integerValue||D.doubleValue);return R<q?-1:R>q?1:R===q?0:isNaN(R)?isNaN(q)?0:-1:1}(E,h);case 3:return ml(E.timestampValue,h.timestampValue);case 4:return ml(Ea(E),Ea(h));case 5:return Rn(E.stringValue,h.stringValue);case 6:return function(g,D){const R=Ls(g),q=Ls(D);return R.compareTo(q)}(E.bytesValue,h.bytesValue);case 7:return function(g,D){const R=g.split("/"),q=D.split("/");for(let ce=0;ce<R.length&&ce<q.length;ce++){const xe=Rn(R[ce],q[ce]);if(0!==xe)return xe}return Rn(R.length,q.length)}(E.referenceValue,h.referenceValue);case 8:return function(g,D){const R=Rn(vr(g.latitude),vr(D.latitude));return 0!==R?R:Rn(vr(g.longitude),vr(D.longitude))}(E.geoPointValue,h.geoPointValue);case 9:return Vs(E.arrayValue,h.arrayValue);case 10:return function(g,D){var R,q,ce,xe;const Kt=null===(R=(g.fields||{}).value)||void 0===R?void 0:R.arrayValue,Tn=null===(q=(D.fields||{}).value)||void 0===q?void 0:q.arrayValue,Yn=Rn((null===(ce=Kt?.values)||void 0===ce?void 0:ce.length)||0,(null===(xe=Tn?.values)||void 0===xe?void 0:xe.length)||0);return 0!==Yn?Yn:Vs(Kt,Tn)}(E.mapValue,h.mapValue);case 11:return function(g,D){if(g===va.mapValue&&D===va.mapValue)return 0;if(g===va.mapValue)return 1;if(D===va.mapValue)return-1;const R=g.fields||{},q=Object.keys(R),ce=D.fields||{},xe=Object.keys(ce);q.sort(),xe.sort();for(let Ze=0;Ze<q.length&&Ze<xe.length;++Ze){const It=Rn(q[Ze],xe[Ze]);if(0!==It)return It;const Kt=Nr(R[q[Ze]],ce[xe[Ze]]);if(0!==Kt)return Kt}return Rn(q.length,xe.length)}(E.mapValue,h.mapValue);default:throw Ue()}}function ml(E,h){if("string"==typeof E&&"string"==typeof h&&E.length===h.length)return Rn(E,h);const m=ps(E),w=ps(h),I=Rn(m.seconds,w.seconds);return 0!==I?I:Rn(m.nanos,w.nanos)}function Vs(E,h){const m=E.values||[],w=h.values||[];for(let I=0;I<m.length&&I<w.length;++I){const g=Nr(m[I],w[I]);if(g)return g}return Rn(m.length,w.length)}function _a(E){return ia(E)}function ia(E){return"nullValue"in E?"null":"booleanValue"in E?""+E.booleanValue:"integerValue"in E?""+E.integerValue:"doubleValue"in E?""+E.doubleValue:"timestampValue"in E?function(m){const w=ps(m);return`time(${w.seconds},${w.nanos})`}(E.timestampValue):"stringValue"in E?E.stringValue:"bytesValue"in E?Ls(E.bytesValue).toBase64():"referenceValue"in E?He.fromName(E.referenceValue).toString():"geoPointValue"in E?function(m){return`geo(${m.latitude},${m.longitude})`}(E.geoPointValue):"arrayValue"in E?function(m){let w="[",I=!0;for(const g of m.values||[])I?I=!1:w+=",",w+=ia(g);return w+"]"}(E.arrayValue):"mapValue"in E?function(m){const w=Object.keys(m.fields||{}).sort();let I="{",g=!0;for(const D of w)g?g=!1:I+=",",I+=`${D}:${ia(m.fields[D])}`;return I+"}"}(E.mapValue):Ue()}function Ur(E,h){return{referenceValue:`projects/${E.projectId}/databases/${E.database}/documents/${h.path.canonicalString()}`}}function ws(E){return!!E&&"integerValue"in E}function io(E){return!!E&&"arrayValue"in E}function wt(E){return!!E&&"nullValue"in E}function nn(E){return!!E&&"doubleValue"in E&&isNaN(Number(E.doubleValue))}function wn(E){return!!E&&"mapValue"in E}function Mi(E){var h,m;return"__vector__"===(null===(m=((null===(h=E?.mapValue)||void 0===h?void 0:h.fields)||{}).__type__)||void 0===m?void 0:m.stringValue)}function ko(E){if(E.geoPointValue)return{geoPointValue:Object.assign({},E.geoPointValue)};if(E.timestampValue&&"object"==typeof E.timestampValue)return{timestampValue:Object.assign({},E.timestampValue)};if(E.mapValue){const h={mapValue:{fields:{}}};return Ln(E.mapValue.fields,(m,w)=>h.mapValue.fields[m]=ko(w)),h}if(E.arrayValue){const h={arrayValue:{values:[]}};for(let m=0;m<(E.arrayValue.values||[]).length;++m)h.arrayValue.values[m]=ko(E.arrayValue.values[m]);return h}return Object.assign({},E)}function $o(E){return"__max__"===(((E.mapValue||{}).fields||{}).__type__||{}).stringValue}class ur{constructor(h){this.value=h}static empty(){return new ur({mapValue:{}})}field(h){if(h.isEmpty())return this.value;{let m=this.value;for(let w=0;w<h.length-1;++w)if(m=(m.mapValue.fields||{})[h.get(w)],!wn(m))return null;return m=(m.mapValue.fields||{})[h.lastSegment()],m||null}}set(h,m){this.getFieldsMap(h.popLast())[h.lastSegment()]=ko(m)}setAll(h){let m=lt.emptyPath(),w={},I=[];h.forEach((D,R)=>{if(!m.isImmediateParentOf(R)){const q=this.getFieldsMap(m);this.applyChanges(q,w,I),w={},I=[],m=R.popLast()}D?w[R.lastSegment()]=ko(D):I.push(R.lastSegment())});const g=this.getFieldsMap(m);this.applyChanges(g,w,I)}delete(h){const m=this.field(h.popLast());wn(m)&&m.mapValue.fields&&delete m.mapValue.fields[h.lastSegment()]}isEqual(h){return la(this.value,h.value)}getFieldsMap(h){let m=this.value;m.mapValue.fields||(m.mapValue={fields:{}});for(let w=0;w<h.length;++w){let I=m.mapValue.fields[h.get(w)];wn(I)&&I.mapValue.fields||(I={mapValue:{fields:{}}},m.mapValue.fields[h.get(w)]=I),m=I}return m.mapValue.fields}applyChanges(h,m,w){Ln(m,(I,g)=>h[I]=g);for(const I of w)delete h[I]}clone(){return new ur(ko(this.value))}}function Ks(E){const h=[];return Ln(E.fields,(m,w)=>{const I=new lt([m]);if(wn(w)){const g=Ks(w.mapValue).fields;if(0===g.length)h.push(I);else for(const D of g)h.push(I.child(D))}else h.push(I)}),new or(h)}class Ar{constructor(h,m,w,I,g,D,R){this.key=h,this.documentType=m,this.version=w,this.readTime=I,this.createTime=g,this.data=D,this.documentState=R}static newInvalidDocument(h){return new Ar(h,0,ei.min(),ei.min(),ei.min(),ur.empty(),0)}static newFoundDocument(h,m,w,I){return new Ar(h,1,m,ei.min(),w,I,0)}static newNoDocument(h,m){return new Ar(h,2,m,ei.min(),ei.min(),ur.empty(),0)}static newUnknownDocument(h,m){return new Ar(h,3,m,ei.min(),ei.min(),ur.empty(),2)}convertToFoundDocument(h,m){return!this.createTime.isEqual(ei.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=h),this.version=h,this.documentType=1,this.data=m,this.documentState=0,this}convertToNoDocument(h){return this.version=h,this.documentType=2,this.data=ur.empty(),this.documentState=0,this}convertToUnknownDocument(h){return this.version=h,this.documentType=3,this.data=ur.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=ei.min(),this}setReadTime(h){return this.readTime=h,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(h){return h instanceof Ar&&this.key.isEqual(h.key)&&this.version.isEqual(h.version)&&this.documentType===h.documentType&&this.documentState===h.documentState&&this.data.isEqual(h.data)}mutableCopy(){return new Ar(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}class ls{constructor(h,m){this.position=h,this.inclusive=m}}function xl(E,h,m){let w=0;for(let I=0;I<E.position.length;I++){const g=h[I],D=E.position[I];if(w=g.field.isKeyField()?He.comparator(He.fromName(D.referenceValue),m.key):Nr(D,m.data.field(g.field)),"desc"===g.dir&&(w*=-1),0!==w)break}return w}function xi(E,h){if(null===E)return null===h;if(null===h||E.inclusive!==h.inclusive||E.position.length!==h.position.length)return!1;for(let m=0;m<E.position.length;m++)if(!la(E.position[m],h.position[m]))return!1;return!0}class fs{constructor(h,m="asc"){this.field=h,this.dir=m}}function cs(E,h){return E.dir===h.dir&&E.field.isEqual(h.field)}class Ac{}class er extends Ac{constructor(h,m,w){super(),this.field=h,this.op=m,this.value=w}static create(h,m,w){return h.isKeyField()?"in"===m||"not-in"===m?this.createKeyFieldInFilter(h,m,w):new oa(h,m,w):"array-contains"===m?new Jo(h,w):"in"===m?new Ll(h,w):"not-in"===m?new Hs(h,w):"array-contains-any"===m?new Vl(h,w):new er(h,m,w)}static createKeyFieldInFilter(h,m,w){return"in"===m?new is(h,w):new Sd(h,w)}matches(h){const m=h.data.field(this.field);return"!="===this.op?null!==m&&this.matchesComparison(Nr(m,this.value)):null!==m&&as(this.value)===as(m)&&this.matchesComparison(Nr(m,this.value))}matchesComparison(h){switch(this.op){case"<":return h<0;case"<=":return h<=0;case"==":return 0===h;case"!=":return 0!==h;case">":return h>0;case">=":return h>=0;default:return Ue()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class ar extends Ac{constructor(h,m){super(),this.filters=h,this.op=m,this.ae=null}static create(h,m){return new ar(h,m)}matches(h){return ya(this)?void 0===this.filters.find(m=>!m.matches(h)):void 0!==this.filters.find(m=>m.matches(h))}getFlattenedFilters(){return null!==this.ae||(this.ae=this.filters.reduce((h,m)=>h.concat(m.getFlattenedFilters()),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function ya(E){return"and"===E.op}function ir(E){return function ms(E){for(const h of E.filters)if(h instanceof ar)return!1;return!0}(E)&&ya(E)}function js(E){if(E instanceof er)return E.field.canonicalString()+E.op.toString()+_a(E.value);if(ir(E))return E.filters.map(h=>js(h)).join(",");{const h=E.filters.map(m=>js(m)).join(",");return`${E.op}(${h})`}}function Qo(E,h){return E instanceof er?(w=E,(I=h)instanceof er&&w.op===I.op&&w.field.isEqual(I.field)&&la(w.value,I.value)):E instanceof ar?function(w,I){return I instanceof ar&&w.op===I.op&&w.filters.length===I.filters.length&&w.filters.reduce((g,D,R)=>g&&Qo(D,I.filters[R]),!0)}(E,h):void Ue();var w,I}function Bs(E){return E instanceof er?`${(m=E).field.canonicalString()} ${m.op} ${_a(m.value)}`:E instanceof ar?function(m){return m.op.toString()+" {"+m.getFilters().map(Bs).join(" ,")+"}"}(E):"Filter";var m}class oa extends er{constructor(h,m,w){super(h,m,w),this.key=He.fromName(w.referenceValue)}matches(h){const m=He.comparator(h.key,this.key);return this.matchesComparison(m)}}class is extends er{constructor(h,m){super(h,"in",m),this.keys=Fl(0,m)}matches(h){return this.keys.some(m=>m.isEqual(h.key))}}class Sd extends er{constructor(h,m){super(h,"not-in",m),this.keys=Fl(0,m)}matches(h){return!this.keys.some(m=>m.isEqual(h.key))}}function Fl(E,h){var m;return((null===(m=h.arrayValue)||void 0===m?void 0:m.values)||[]).map(w=>He.fromName(w.referenceValue))}class Jo extends er{constructor(h,m){super(h,"array-contains",m)}matches(h){const m=h.data.field(this.field);return io(m)&&ao(m.arrayValue,this.value)}}class Ll extends er{constructor(h,m){super(h,"in",m)}matches(h){const m=h.data.field(this.field);return null!==m&&ao(this.value.arrayValue,m)}}class Hs extends er{constructor(h,m){super(h,"not-in",m)}matches(h){if(ao(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const m=h.data.field(this.field);return null!==m&&!ao(this.value.arrayValue,m)}}class Vl extends er{constructor(h,m){super(h,"array-contains-any",m)}matches(h){const m=h.data.field(this.field);return!(!io(m)||!m.arrayValue.values)&&m.arrayValue.values.some(w=>ao(this.value.arrayValue,w))}}class Bl{constructor(h,m=null,w=[],I=[],g=null,D=null,R=null){this.path=h,this.collectionGroup=m,this.orderBy=w,this.filters=I,this.limit=g,this.startAt=D,this.endAt=R,this.ue=null}}function Wa(E,h=null,m=[],w=[],I=null,g=null,D=null){return new Bl(E,h,m,w,I,g,D)}function gl(E){const h=Mt(E);if(null===h.ue){let m=h.path.canonicalString();null!==h.collectionGroup&&(m+="|cg:"+h.collectionGroup),m+="|f:",m+=h.filters.map(w=>js(w)).join(","),m+="|ob:",m+=h.orderBy.map(w=>{return(g=w).field.canonicalString()+g.dir;var g}).join(","),gn(h.limit)||(m+="|l:",m+=h.limit),h.startAt&&(m+="|lb:",m+=h.startAt.inclusive?"b:":"a:",m+=h.startAt.position.map(w=>_a(w)).join(",")),h.endAt&&(m+="|ub:",m+=h.endAt.inclusive?"a:":"b:",m+=h.endAt.position.map(w=>_a(w)).join(",")),h.ue=m}return h.ue}function bo(E,h){if(E.limit!==h.limit||E.orderBy.length!==h.orderBy.length)return!1;for(let m=0;m<E.orderBy.length;m++)if(!cs(E.orderBy[m],h.orderBy[m]))return!1;if(E.filters.length!==h.filters.length)return!1;for(let m=0;m<E.filters.length;m++)if(!Qo(E.filters[m],h.filters[m]))return!1;return E.collectionGroup===h.collectionGroup&&!!E.path.isEqual(h.path)&&!!xi(E.startAt,h.startAt)&&xi(E.endAt,h.endAt)}function Ma(E){return He.isDocumentKey(E.path)&&null===E.collectionGroup&&0===E.filters.length}class vl{constructor(h,m=null,w=[],I=[],g=null,D="F",R=null,q=null){this.path=h,this.collectionGroup=m,this.explicitOrderBy=w,this.filters=I,this.limit=g,this.limitType=D,this.startAt=R,this.endAt=q,this.ce=null,this.le=null,this.he=null}}function Ka(E){return new vl(E)}function Me(E){return 0===E.filters.length&&null===E.limit&&null==E.startAt&&null==E.endAt&&(0===E.explicitOrderBy.length||1===E.explicitOrderBy.length&&E.explicitOrderBy[0].field.isKeyField())}function Ie(E){return null!==E.collectionGroup}function he(E){const h=Mt(E);if(null===h.ce){h.ce=[];const m=new Set;for(const g of h.explicitOrderBy)h.ce.push(g),m.add(g.field.canonicalString());const w=h.explicitOrderBy.length>0?h.explicitOrderBy[h.explicitOrderBy.length-1].dir:"asc";(function(D){let R=new wo(lt.comparator);return D.filters.forEach(q=>{q.getFlattenedFilters().forEach(ce=>{ce.isInequality()&&(R=R.add(ce.field))})}),R})(h).forEach(g=>{m.has(g.canonicalString())||g.isKeyField()||h.ce.push(new fs(g,w))}),m.has(lt.keyField().canonicalString())||h.ce.push(new fs(lt.keyField(),w))}return h.ce}function Qe(E){const h=Mt(E);return h.le||(h.le=function Ji(E,h){if("F"===E.limitType)return Wa(E.path,E.collectionGroup,h,E.filters,E.limit,E.startAt,E.endAt);{h=h.map(I=>new fs(I.field,"desc"===I.dir?"asc":"desc"));const m=E.endAt?new ls(E.endAt.position,E.endAt.inclusive):null,w=E.startAt?new ls(E.startAt.position,E.startAt.inclusive):null;return Wa(E.path,E.collectionGroup,h,E.filters,E.limit,m,w)}}(h,he(E))),h.le}function Do(E,h){const m=E.filters.concat([h]);return new vl(E.path,E.collectionGroup,E.explicitOrderBy.slice(),m,E.limit,E.limitType,E.startAt,E.endAt)}function os(E,h,m){return new vl(E.path,E.collectionGroup,E.explicitOrderBy.slice(),E.filters.slice(),h,m,E.startAt,E.endAt)}function li(E,h){return bo(Qe(E),Qe(h))&&E.limitType===h.limitType}function Yr(E){return`${gl(Qe(E))}|lt:${E.limitType}`}function Ir(E){return`Query(target=${function(m){let w=m.path.canonicalString();return null!==m.collectionGroup&&(w+=" collectionGroup="+m.collectionGroup),m.filters.length>0&&(w+=`, filters: [${m.filters.map(I=>Bs(I)).join(", ")}]`),gn(m.limit)||(w+=", limit: "+m.limit),m.orderBy.length>0&&(w+=`, orderBy: [${m.orderBy.map(I=>{return`${(D=I).field.canonicalString()} (${D.dir})`;var D}).join(", ")}]`),m.startAt&&(w+=", startAt: ",w+=m.startAt.inclusive?"b:":"a:",w+=m.startAt.position.map(I=>_a(I)).join(",")),m.endAt&&(w+=", endAt: ",w+=m.endAt.inclusive?"a:":"b:",w+=m.endAt.position.map(I=>_a(I)).join(",")),`Target(${w})`}(Qe(E))}; limitType=${E.limitType})`}function Go(E,h){return h.isFoundDocument()&&function(w,I){const g=I.key.path;return null!==w.collectionGroup?I.key.hasCollectionId(w.collectionGroup)&&w.path.isPrefixOf(g):He.isDocumentKey(w.path)?w.path.isEqual(g):w.path.isImmediateParentOf(g)}(E,h)&&function(w,I){for(const g of he(w))if(!g.field.isKeyField()&&null===I.data.field(g.field))return!1;return!0}(E,h)&&function(w,I){for(const g of w.filters)if(!g.matches(I))return!1;return!0}(E,h)&&(I=h,!((w=E).startAt&&!function(D,R,q){const ce=xl(D,R,q);return D.inclusive?ce<=0:ce<0}(w.startAt,he(w),I)||w.endAt&&!function(D,R,q){const ce=xl(D,R,q);return D.inclusive?ce>=0:ce>0}(w.endAt,he(w),I)));var w,I}function Pc(E){return(h,m)=>{let w=!1;for(const I of he(E)){const g=rr(I,h,m);if(0!==g)return g;w=w||I.field.isKeyField()}return 0}}function rr(E,h,m){const w=E.field.isKeyField()?He.comparator(h.key,m.key):function(g,D,R){const q=D.data.field(g),ce=R.data.field(g);return null!==q&&null!==ce?Nr(q,ce):Ue()}(E.field,h,m);switch(E.dir){case"asc":return w;case"desc":return-1*w;default:return Ue()}}class nl{constructor(h,m){this.mapKeyFn=h,this.equalsFn=m,this.inner={},this.innerSize=0}get(h){const m=this.mapKeyFn(h),w=this.inner[m];if(void 0!==w)for(const[I,g]of w)if(this.equalsFn(I,h))return g}has(h){return void 0!==this.get(h)}set(h,m){const w=this.mapKeyFn(h),I=this.inner[w];if(void 0===I)return this.inner[w]=[[h,m]],void this.innerSize++;for(let g=0;g<I.length;g++)if(this.equalsFn(I[g][0],h))return void(I[g]=[h,m]);I.push([h,m]),this.innerSize++}delete(h){const m=this.mapKeyFn(h),w=this.inner[m];if(void 0===w)return!1;for(let I=0;I<w.length;I++)if(this.equalsFn(w[I][0],h))return 1===w.length?delete this.inner[m]:w.splice(I,1),this.innerSize--,!0;return!1}forEach(h){Ln(this.inner,(m,w)=>{for(const[I,g]of w)h(I,g)})}isEmpty(){return Po(this.inner)}size(){return this.innerSize}}const _l=new Oi(He.comparator);function ba(){return _l}const Ud=new Oi(He.comparator);function Je(...E){let h=Ud;for(const m of E)h=h.insert(m.key,m);return h}function J(E){let h=Ud;return E.forEach((m,w)=>h=h.insert(m,w.overlayedDocument)),h}function ee(){return Ye()}function Ce(){return Ye()}function Ye(){return new nl(E=>E.toString(),(E,h)=>E.isEqual(h))}const vt=new Oi(He.comparator),Xt=new wo(He.comparator);function St(...E){let h=Xt;for(const m of E)h=h.add(m);return h}const In=new wo(Rn);function Ui(E,h){if(E.useProto3Json){if(isNaN(h))return{doubleValue:"NaN"};if(h===1/0)return{doubleValue:"Infinity"};if(h===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Ut(h)?"-0":h}}function Zi(E){return{integerValue:""+E}}function _r(E,h){return function Qn(E){return"number"==typeof E&&Number.isInteger(E)&&!Ut(E)&&E<=Number.MAX_SAFE_INTEGER&&E>=Number.MIN_SAFE_INTEGER}(h)?Zi(h):Ui(E,h)}class Ro{constructor(){this._=void 0}}function Oo(E,h,m){return E instanceof ds?function(I,g){const D={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:I.seconds,nanos:I.nanoseconds}}}};return g&&Pl(g)&&(g=sa(g)),g&&(D.fields.__previous_value__=g),{mapValue:D}}(m,h):E instanceof Es?Ms(E,h):E instanceof Fr?vs(E,h):function(I,g){const D=ks(I,g),R=wr(D)+wr(I.Pe);return ws(D)&&ws(I.Pe)?Zi(R):Ui(I.serializer,R)}(E,h)}function Lo(E,h,m){return E instanceof Es?Ms(E,h):E instanceof Fr?vs(E,h):m}function ks(E,h){return E instanceof Gr?ws(w=h)||(g=w)&&"doubleValue"in g?h:{integerValue:0}:null;var w,g}class ds extends Ro{}class Es extends Ro{constructor(h){super(),this.elements=h}}function Ms(E,h){const m=Ca(h);for(const w of E.elements)m.some(I=>la(I,w))||m.push(w);return{arrayValue:{values:m}}}class Fr extends Ro{constructor(h){super(),this.elements=h}}function vs(E,h){let m=Ca(h);for(const w of E.elements)m=m.filter(I=>!la(I,w));return{arrayValue:{values:m}}}class Gr extends Ro{constructor(h,m){super(),this.serializer=h,this.Pe=m}}function wr(E){return vr(E.integerValue||E.doubleValue)}function Ca(E){return io(E)&&E.arrayValue.values?E.arrayValue.values.slice():[]}class yr{constructor(h,m){this.version=h,this.transformResults=m}}class jr{constructor(h,m){this.updateTime=h,this.exists=m}static none(){return new jr}static exists(h){return new jr(void 0,h)}static updateTime(h){return new jr(h)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(h){return this.exists===h.exists&&(this.updateTime?!!h.updateTime&&this.updateTime.isEqual(h.updateTime):!h.updateTime)}}function ec(E,h){return void 0!==E.updateTime?h.isFoundDocument()&&h.version.isEqual(E.updateTime):void 0===E.exists||E.exists===h.isFoundDocument()}class tc{}function kd(E,h){if(!E.hasLocalMutations||h&&0===h.fields.length)return null;if(null===h)return E.isNoDocument()?new Qa(E.key,jr.none()):new _s(E.key,E.data,jr.none());{const m=E.data,w=ur.empty();let I=new wo(lt.comparator);for(let g of h.fields)if(!I.has(g)){let D=m.field(g);null===D&&g.length>1&&(g=g.popLast(),D=m.field(g)),null===D?w.delete(g):w.set(g,D),I=I.add(g)}return new hr(E.key,w,new or(I.toArray()),jr.none())}}function ho(E,h,m){E instanceof _s?function(I,g,D){const R=I.value.clone(),q=nc(I.fieldTransforms,g,D.transformResults);R.setAll(q),g.convertToFoundDocument(D.version,R).setHasCommittedMutations()}(E,h,m):E instanceof hr?function(I,g,D){if(!ec(I.precondition,g))return void g.convertToUnknownDocument(D.version);const R=nc(I.fieldTransforms,g,D.transformResults),q=g.data;q.setAll(Qs(I)),q.setAll(R),g.convertToFoundDocument(D.version,q).setHasCommittedMutations()}(E,h,m):h.convertToNoDocument(m.version).setHasCommittedMutations()}function so(E,h,m,w){return E instanceof _s?function(g,D,R,q){if(!ec(g.precondition,D))return R;const ce=g.value.clone(),xe=xo(g.fieldTransforms,q,D);return ce.setAll(xe),D.convertToFoundDocument(D.version,ce).setHasLocalMutations(),null}(E,h,m,w):E instanceof hr?function(g,D,R,q){if(!ec(g.precondition,D))return R;const ce=xo(g.fieldTransforms,q,D),xe=D.data;return xe.setAll(Qs(g)),xe.setAll(ce),D.convertToFoundDocument(D.version,xe).setHasLocalMutations(),null===R?null:R.unionWith(g.fieldMask.fields).unionWith(g.fieldTransforms.map(Ze=>Ze.field))}(E,h,m,w):(R=m,ec(E.precondition,D=h)?(D.convertToNoDocument(D.version).setHasLocalMutations(),null):R);var D,R}function Ii(E,h){let m=null;for(const w of E.fieldTransforms){const I=h.data.field(w.field),g=ks(w.transform,I||null);null!=g&&(null===m&&(m=ur.empty()),m.set(w.field,g))}return m||null}function cr(E,h){return E.type===h.type&&!!E.key.isEqual(h.key)&&!!E.precondition.isEqual(h.precondition)&&(I=h.fieldTransforms,!!(void 0===(w=E.fieldTransforms)&&void 0===I||w&&I&&vi(w,I,(g,D)=>function uo(E,h){return E.field.isEqual(h.field)&&(I=h.transform,(w=E.transform)instanceof Es&&I instanceof Es||w instanceof Fr&&I instanceof Fr?vi(w.elements,I.elements,la):w instanceof Gr&&I instanceof Gr?la(w.Pe,I.Pe):w instanceof ds&&I instanceof ds);var w,I}(g,D))))&&(0===E.type?E.value.isEqual(h.value):1!==E.type||E.data.isEqual(h.data)&&E.fieldMask.isEqual(h.fieldMask));var w,I}class _s extends tc{constructor(h,m,w,I=[]){super(),this.key=h,this.value=m,this.precondition=w,this.fieldTransforms=I,this.type=0}getFieldMask(){return null}}class hr extends tc{constructor(h,m,w,I,g=[]){super(),this.key=h,this.data=m,this.fieldMask=w,this.precondition=I,this.fieldTransforms=g,this.type=1}getFieldMask(){return this.fieldMask}}function Qs(E){const h=new Map;return E.fieldMask.fields.forEach(m=>{if(!m.isEmpty()){const w=E.data.field(m);h.set(m,w)}}),h}function nc(E,h,m){const w=new Map;zt(E.length===m.length);for(let I=0;I<m.length;I++){const g=E[I],D=g.transform,R=h.data.field(g.field);w.set(g.field,Lo(D,R,m[I]))}return w}function xo(E,h,m){const w=new Map;for(const I of E){const g=I.transform,D=m.data.field(I.field);w.set(I.field,Oo(g,D,h))}return w}class Qa extends tc{constructor(h,m){super(),this.key=h,this.precondition=m,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}class nd extends tc{constructor(h,m){super(),this.key=h,this.precondition=m,this.type=3,this.fieldTransforms=[]}getFieldMask(){return null}}class te{constructor(h,m,w,I){this.batchId=h,this.localWriteTime=m,this.baseMutations=w,this.mutations=I}applyToRemoteDocument(h,m){const w=m.mutationResults;for(let I=0;I<this.mutations.length;I++){const g=this.mutations[I];g.key.isEqual(h.key)&&ho(g,h,w[I])}}applyToLocalView(h,m){for(const w of this.baseMutations)w.key.isEqual(h.key)&&(m=so(w,h,m,this.localWriteTime));for(const w of this.mutations)w.key.isEqual(h.key)&&(m=so(w,h,m,this.localWriteTime));return m}applyToLocalDocumentSet(h,m){const w=Ce();return this.mutations.forEach(I=>{const g=h.get(I.key),D=g.overlayedDocument;let R=this.applyToLocalView(D,g.mutatedFields);R=m.has(I.key)?null:R;const q=kd(D,R);null!==q&&w.set(I.key,q),D.isValidDocument()||D.convertToNoDocument(ei.min())}),w}keys(){return this.mutations.reduce((h,m)=>h.add(m.key),St())}isEqual(h){return this.batchId===h.batchId&&vi(this.mutations,h.mutations,(m,w)=>cr(m,w))&&vi(this.baseMutations,h.baseMutations,(m,w)=>cr(m,w))}}class je{constructor(h,m,w,I){this.batch=h,this.commitVersion=m,this.mutationResults=w,this.docVersions=I}static from(h,m,w){zt(h.mutations.length===w.length);let I=function(){return vt}();const g=h.mutations;for(let D=0;D<g.length;D++)I=I.insert(g[D].key,w[D].version);return new je(h,m,w,I)}}class ve{constructor(h,m){this.largestBatchId=h,this.mutation=m}getKey(){return this.mutation.key}isEqual(h){return null!==h&&this.mutation===h.mutation}toString(){return`Overlay{\n      largestBatchId: ${this.largestBatchId},\n      mutation: ${this.mutation.toString()}\n    }`}}class Pt{constructor(h,m){this.count=h,this.unchangedNames=m}}var vn,Pn;function xs(E){if(void 0===E)return X("GRPC error has no .code"),mt.UNKNOWN;switch(E){case vn.OK:return mt.OK;case vn.CANCELLED:return mt.CANCELLED;case vn.UNKNOWN:return mt.UNKNOWN;case vn.DEADLINE_EXCEEDED:return mt.DEADLINE_EXCEEDED;case vn.RESOURCE_EXHAUSTED:return mt.RESOURCE_EXHAUSTED;case vn.INTERNAL:return mt.INTERNAL;case vn.UNAVAILABLE:return mt.UNAVAILABLE;case vn.UNAUTHENTICATED:return mt.UNAUTHENTICATED;case vn.INVALID_ARGUMENT:return mt.INVALID_ARGUMENT;case vn.NOT_FOUND:return mt.NOT_FOUND;case vn.ALREADY_EXISTS:return mt.ALREADY_EXISTS;case vn.PERMISSION_DENIED:return mt.PERMISSION_DENIED;case vn.FAILED_PRECONDITION:return mt.FAILED_PRECONDITION;case vn.ABORTED:return mt.ABORTED;case vn.OUT_OF_RANGE:return mt.OUT_OF_RANGE;case vn.UNIMPLEMENTED:return mt.UNIMPLEMENTED;case vn.DATA_LOSS:return mt.DATA_LOSS;default:return Ue()}}(Pn=vn||(vn={}))[Pn.OK=0]="OK",Pn[Pn.CANCELLED=1]="CANCELLED",Pn[Pn.UNKNOWN=2]="UNKNOWN",Pn[Pn.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Pn[Pn.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Pn[Pn.NOT_FOUND=5]="NOT_FOUND",Pn[Pn.ALREADY_EXISTS=6]="ALREADY_EXISTS",Pn[Pn.PERMISSION_DENIED=7]="PERMISSION_DENIED",Pn[Pn.UNAUTHENTICATED=16]="UNAUTHENTICATED",Pn[Pn.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Pn[Pn.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Pn[Pn.ABORTED=10]="ABORTED",Pn[Pn.OUT_OF_RANGE=11]="OUT_OF_RANGE",Pn[Pn.UNIMPLEMENTED=12]="UNIMPLEMENTED",Pn[Pn.INTERNAL=13]="INTERNAL",Pn[Pn.UNAVAILABLE=14]="UNAVAILABLE",Pn[Pn.DATA_LOSS=15]="DATA_LOSS";const hi=new se([4294967295,4294967295],0);function rs(E){const h=function pr(){return new TextEncoder}().encode(E),m=new fe;return m.update(h),new Uint8Array(m.digest())}function Lr(E){const h=new DataView(E.buffer),m=h.getUint32(0,!0),w=h.getUint32(4,!0),I=h.getUint32(8,!0),g=h.getUint32(12,!0);return[new se([m,w],0),new se([I,g],0)]}class Rr{constructor(h,m,w){if(this.bitmap=h,this.padding=m,this.hashCount=w,m<0||m>=8)throw new ic(`Invalid padding: ${m}`);if(w<0)throw new ic(`Invalid hash count: ${w}`);if(h.length>0&&0===this.hashCount)throw new ic(`Invalid hash count: ${w}`);if(0===h.length&&0!==m)throw new ic(`Invalid padding when bitmap length is 0: ${m}`);this.Ie=8*h.length-m,this.Te=se.fromNumber(this.Ie)}Ee(h,m,w){let I=h.add(m.multiply(se.fromNumber(w)));return 1===I.compare(hi)&&(I=new se([I.getBits(0),I.getBits(1)],0)),I.modulo(this.Te).toNumber()}de(h){return!!(this.bitmap[Math.floor(h/8)]&1<<h%8)}mightContain(h){if(0===this.Ie)return!1;const m=rs(h),[w,I]=Lr(m);for(let g=0;g<this.hashCount;g++){const D=this.Ee(w,I,g);if(!this.de(D))return!1}return!0}static create(h,m,w){const I=h%8==0?0:8-h%8,g=new Uint8Array(Math.ceil(h/8)),D=new Rr(g,I,m);return w.forEach(R=>D.insert(R)),D}insert(h){if(0===this.Ie)return;const m=rs(h),[w,I]=Lr(m);for(let g=0;g<this.hashCount;g++){const D=this.Ee(w,I,g);this.Ae(D)}}Ae(h){const m=Math.floor(h/8);this.bitmap[m]|=1<<h%8}}class ic extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}class il{constructor(h,m,w,I,g){this.snapshotVersion=h,this.targetChanges=m,this.targetMismatches=w,this.documentUpdates=I,this.resolvedLimboDocuments=g}static createSynthesizedRemoteEventForCurrentChange(h,m,w){const I=new Map;return I.set(h,ol.createSynthesizedTargetChangeForCurrentChange(h,m,w)),new il(ei.min(),I,new Oi(Rn),ba(),St())}}class ol{constructor(h,m,w,I,g){this.resumeToken=h,this.current=m,this.addedDocuments=w,this.modifiedDocuments=I,this.removedDocuments=g}static createSynthesizedTargetChangeForCurrentChange(h,m,w){return new ol(w,m,St(),St(),St())}}class Dl{constructor(h,m,w,I){this.Re=h,this.removedTargetIds=m,this.key=w,this.Ve=I}}class rl{constructor(h,m){this.targetId=h,this.me=m}}class $a{constructor(h,m,w=gr.EMPTY_BYTE_STRING,I=null){this.state=h,this.targetIds=m,this.resumeToken=w,this.cause=I}}class $l{constructor(){this.fe=0,this.ge=rh(),this.pe=gr.EMPTY_BYTE_STRING,this.ye=!1,this.we=!0}get current(){return this.ye}get resumeToken(){return this.pe}get Se(){return 0!==this.fe}get be(){return this.we}De(h){h.approximateByteSize()>0&&(this.we=!0,this.pe=h)}ve(){let h=St(),m=St(),w=St();return this.ge.forEach((I,g)=>{switch(g){case 0:h=h.add(I);break;case 2:m=m.add(I);break;case 1:w=w.add(I);break;default:Ue()}}),new ol(this.pe,this.ye,h,m,w)}Ce(){this.we=!1,this.ge=rh()}Fe(h,m){this.we=!0,this.ge=this.ge.insert(h,m)}Me(h){this.we=!0,this.ge=this.ge.remove(h)}xe(){this.fe+=1}Oe(){this.fe-=1,zt(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class Qh{constructor(h){this.Le=h,this.Be=new Map,this.ke=ba(),this.qe=Ed(),this.Qe=new Oi(Rn)}Ke(h){for(const m of h.Re)h.Ve&&h.Ve.isFoundDocument()?this.$e(m,h.Ve):this.Ue(m,h.key,h.Ve);for(const m of h.removedTargetIds)this.Ue(m,h.key,h.Ve)}We(h){this.forEachTarget(h,m=>{const w=this.Ge(m);switch(h.state){case 0:this.ze(m)&&w.De(h.resumeToken);break;case 1:w.Oe(),w.Se||w.Ce(),w.De(h.resumeToken);break;case 2:w.Oe(),w.Se||this.removeTarget(m);break;case 3:this.ze(m)&&(w.Ne(),w.De(h.resumeToken));break;case 4:this.ze(m)&&(this.je(m),w.De(h.resumeToken));break;default:Ue()}})}forEachTarget(h,m){h.targetIds.length>0?h.targetIds.forEach(m):this.Be.forEach((w,I)=>{this.ze(I)&&m(I)})}He(h){const m=h.targetId,w=h.me.count,I=this.Je(m);if(I){const g=I.target;if(Ma(g))if(0===w){const D=new He(g.path);this.Ue(m,D,Ar.newNoDocument(D,ei.min()))}else zt(1===w);else{const D=this.Ye(m);if(D!==w){const R=this.Ze(h),q=R?this.Xe(R,h,D):1;0!==q&&(this.je(m),this.Qe=this.Qe.insert(m,2===q?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch"))}}}}Ze(h){const m=h.me.unchangedNames;if(!m||!m.bits)return null;const{bits:{bitmap:w="",padding:I=0},hashCount:g=0}=m;let D,R;try{D=Ls(w).toUint8Array()}catch(q){if(q instanceof na)return P("Decoding the base64 bloom filter in existence filter failed ("+q.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw q}try{R=new Rr(D,I,g)}catch(q){return P(q instanceof ic?"BloomFilter error: ":"Applying bloom filter failed: ",q),null}return 0===R.Ie?null:R}Xe(h,m,w){return m.me.count===w-this.nt(h,m.targetId)?0:2}nt(h,m){const w=this.Le.getRemoteKeysForTarget(m);let I=0;return w.forEach(g=>{const D=this.Le.tt(),R=`projects/${D.projectId}/databases/${D.database}/documents/${g.path.canonicalString()}`;h.mightContain(R)||(this.Ue(m,g,null),I++)}),I}rt(h){const m=new Map;this.Be.forEach((g,D)=>{const R=this.Je(D);if(R){if(g.current&&Ma(R.target)){const q=new He(R.target.path);null!==this.ke.get(q)||this.it(D,q)||this.Ue(D,q,Ar.newNoDocument(q,h))}g.be&&(m.set(D,g.ve()),g.Ce())}});let w=St();this.qe.forEach((g,D)=>{let R=!0;D.forEachWhile(q=>{const ce=this.Je(q);return!ce||"TargetPurposeLimboResolution"===ce.purpose||(R=!1,!1)}),R&&(w=w.add(g))}),this.ke.forEach((g,D)=>D.setReadTime(h));const I=new il(h,m,this.Qe,this.ke,w);return this.ke=ba(),this.qe=Ed(),this.Qe=new Oi(Rn),I}$e(h,m){if(!this.ze(h))return;const w=this.it(h,m.key)?2:0;this.Ge(h).Fe(m.key,w),this.ke=this.ke.insert(m.key,m),this.qe=this.qe.insert(m.key,this.st(m.key).add(h))}Ue(h,m,w){if(!this.ze(h))return;const I=this.Ge(h);this.it(h,m)?I.Fe(m,1):I.Me(m),this.qe=this.qe.insert(m,this.st(m).delete(h)),w&&(this.ke=this.ke.insert(m,w))}removeTarget(h){this.Be.delete(h)}Ye(h){const m=this.Ge(h).ve();return this.Le.getRemoteKeysForTarget(h).size+m.addedDocuments.size-m.removedDocuments.size}xe(h){this.Ge(h).xe()}Ge(h){let m=this.Be.get(h);return m||(m=new $l,this.Be.set(h,m)),m}st(h){let m=this.qe.get(h);return m||(m=new wo(Rn),this.qe=this.qe.insert(h,m)),m}ze(h){const m=null!==this.Je(h);return m||z("WatchChangeAggregator","Detected inactive target",h),m}Je(h){const m=this.Be.get(h);return m&&m.Se?null:this.Le.ot(h)}je(h){this.Be.set(h,new $l),this.Le.getRemoteKeysForTarget(h).forEach(m=>{this.Ue(h,m,null)})}it(h,m){return this.Le.getRemoteKeysForTarget(h).has(m)}}function Ed(){return new Oi(He.comparator)}function rh(){return new Oi(He.comparator)}const Ol={asc:"ASCENDING",desc:"DESCENDING"},ju={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},Jh={and:"AND",or:"OR"};class yl{constructor(h,m){this.databaseId=h,this.useProto3Json=m}}function Is(E,h){return E.useProto3Json||gn(h)?h:{value:h}}function Md(E,h){return E.useProto3Json?`${new Date(1e3*h.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+h.nanoseconds).slice(-9)}Z`:{seconds:""+h.seconds,nanos:h.nanoseconds}}function hu(E,h){return E.useProto3Json?h.toBase64():h.toUint8Array()}function Hu(E,h){return Md(E,h.toTimestamp())}function Ys(E){return zt(!!E),ei.fromTimestamp(function(m){const w=ps(m);return new fi(w.seconds,w.nanos)}(E))}function Ia(E,h){return id(E,h).canonicalString()}function id(E,h){const m=(I=E,new En(["projects",I.projectId,"databases",I.database])).child("documents");var I;return void 0===h?m:m.child(h)}function Fc(E){const h=En.fromString(E);return zt(W(h)),h}function pu(E,h){return Ia(E.databaseId,h.path)}function Ul(E,h){const m=Fc(h);if(m.get(1)!==E.databaseId.projectId)throw new Ke(mt.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+m.get(1)+" vs "+E.databaseId.projectId);if(m.get(3)!==E.databaseId.database)throw new Ke(mt.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+m.get(3)+" vs "+E.databaseId.database);return new He(fu(m))}function zl(E,h){return Ia(E.databaseId,h)}function wa(E){return new En(["projects",E.databaseId.projectId,"databases",E.databaseId.database]).canonicalString()}function fu(E){return zt(E.length>4&&"documents"===E.get(4)),E.popFirst(5)}function Ds(E,h,m){return{name:pu(E,h),fields:m.value.mapValue.fields}}function gu(E,h){return{documents:[zl(E,h.path)]}}function sh(E,h){const m={structuredQuery:{}},w=h.path;let I;null!==h.collectionGroup?(I=w,m.structuredQuery.from=[{collectionId:h.collectionGroup,allDescendants:!0}]):(I=w.popLast(),m.structuredQuery.from=[{collectionId:w.lastSegment()}]),m.parent=zl(E,I);const g=function(ce){if(0!==ce.length)return vu(ar.create(ce,"and"))}(h.filters);g&&(m.structuredQuery.where=g);const D=function(ce){if(0!==ce.length)return ce.map(xe=>{return{field:da((It=xe).field),direction:ah(It.dir)};var It})}(h.orderBy);D&&(m.structuredQuery.orderBy=D);const R=Is(E,h.limit);return null!==R&&(m.structuredQuery.limit=R),h.startAt&&(m.structuredQuery.startAt={before:(ce=h.startAt).inclusive,values:ce.position}),h.endAt&&(m.structuredQuery.endAt=function(ce){return{before:!ce.inclusive,values:ce.position}}(h.endAt)),{_t:m,parent:I};var ce}function qu(E){let h=function Er(E){const h=Fc(E);return 4===h.length?En.emptyPath():fu(h)}(E.parent);const m=E.structuredQuery,w=m.from?m.from.length:0;let I=null;if(w>0){zt(1===w);const xe=m.from[0];xe.allDescendants?I=xe.collectionId:h=h.child(xe.collectionId)}let g=[];m.where&&(g=function(Ze){const It=Gd(Ze);return It instanceof ar&&ir(It)?It.getFilters():[It]}(m.where));let D=[];m.orderBy&&(D=m.orderBy.map(It=>{return new fs(ad((Tn=It).field),function(Un){switch(Un){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(Tn.direction));var Tn}));let R=null;m.limit&&(R=function(Ze){let It;return It="object"==typeof Ze?Ze.value:Ze,gn(It)?null:It}(m.limit));let q=null;var Ze;m.startAt&&(q=new ls((Ze=m.startAt).values||[],!!Ze.before));let ce=null;return m.endAt&&(ce=function(Ze){return new ls(Ze.values||[],!Ze.before)}(m.endAt)),function ca(E,h,m,w,I,g,D,R){return new vl(E,h,m,w,I,g,D,R)}(h,I,D,g,R,"F",q,ce)}function Gd(E){return void 0!==E.unaryFilter?function(m){switch(m.unaryFilter.op){case"IS_NAN":const w=ad(m.unaryFilter.field);return er.create(w,"==",{doubleValue:NaN});case"IS_NULL":const I=ad(m.unaryFilter.field);return er.create(I,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const g=ad(m.unaryFilter.field);return er.create(g,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const D=ad(m.unaryFilter.field);return er.create(D,"!=",{nullValue:"NULL_VALUE"});default:return Ue()}}(E):void 0!==E.fieldFilter?er.create(ad((m=E).fieldFilter.field),function(I){switch(I){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return Ue()}}(m.fieldFilter.op),m.fieldFilter.value):void 0!==E.compositeFilter?function(m){return ar.create(m.compositeFilter.filters.map(w=>Gd(w)),function(I){switch(I){case"AND":return"and";case"OR":return"or";default:return Ue()}}(m.compositeFilter.op))}(E):Ue();var m}function ah(E){return Ol[E]}function lh(E){return ju[E]}function U1(E){return Jh[E]}function da(E){return{fieldPath:E.canonicalString()}}function ad(E){return lt.fromServerFormat(E.fieldPath)}function vu(E){return E instanceof er?function(m){if("=="===m.op){if(nn(m.value))return{unaryFilter:{field:da(m.field),op:"IS_NAN"}};if(wt(m.value))return{unaryFilter:{field:da(m.field),op:"IS_NULL"}}}else if("!="===m.op){if(nn(m.value))return{unaryFilter:{field:da(m.field),op:"IS_NOT_NAN"}};if(wt(m.value))return{unaryFilter:{field:da(m.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:da(m.field),op:lh(m.op),value:m.value}}}(E):E instanceof ar?function(m){const w=m.getFilters().map(I=>vu(I));return 1===w.length?w[0]:{compositeFilter:{op:U1(m.op),filters:w}}}(E):Ue()}function _u(E){const h=[];return E.fields.forEach(m=>h.push(m.canonicalString())),{fieldPaths:h}}function W(E){return E.length>=4&&"projects"===E.get(0)&&"databases"===E.get(2)}class ue{constructor(h,m,w,I,g=ei.min(),D=ei.min(),R=gr.EMPTY_BYTE_STRING,q=null){this.target=h,this.targetId=m,this.purpose=w,this.sequenceNumber=I,this.snapshotVersion=g,this.lastLimboFreeSnapshotVersion=D,this.resumeToken=R,this.expectedCount=q}withSequenceNumber(h){return new ue(this.target,this.targetId,this.purpose,h,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(h,m){return new ue(this.target,this.targetId,this.purpose,this.sequenceNumber,m,this.lastLimboFreeSnapshotVersion,h,null)}withExpectedCount(h){return new ue(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,h)}withLastLimboFreeSnapshotVersion(h){return new ue(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,h,this.resumeToken,this.expectedCount)}}class Z{constructor(h){this.ct=h}}function Uo(E){const h=qu({parent:E.parent,structuredQuery:E.structuredQuery});return"LAST"===E.limitType?os(h,h.limit,"L"):h}class ld{constructor(){}It(h,m){this.Tt(h,m),m.Et()}Tt(h,m){if("nullValue"in h)this.dt(m,5);else if("booleanValue"in h)this.dt(m,10),m.At(h.booleanValue?1:0);else if("integerValue"in h)this.dt(m,15),m.At(vr(h.integerValue));else if("doubleValue"in h){const w=vr(h.doubleValue);isNaN(w)?this.dt(m,13):(this.dt(m,15),Ut(w)?m.At(0):m.At(w))}else if("timestampValue"in h){let w=h.timestampValue;this.dt(m,20),"string"==typeof w&&(w=ps(w)),m.Rt(`${w.seconds||""}`),m.At(w.nanos||0)}else if("stringValue"in h)this.Vt(h.stringValue,m),this.ft(m);else if("bytesValue"in h)this.dt(m,30),m.gt(Ls(h.bytesValue)),this.ft(m);else if("referenceValue"in h)this.yt(h.referenceValue,m);else if("geoPointValue"in h){const w=h.geoPointValue;this.dt(m,45),m.At(w.latitude||0),m.At(w.longitude||0)}else"mapValue"in h?$o(h)?this.dt(m,Number.MAX_SAFE_INTEGER):Mi(h)?this.wt(h.mapValue,m):(this.St(h.mapValue,m),this.ft(m)):"arrayValue"in h?(this.bt(h.arrayValue,m),this.ft(m)):Ue()}Vt(h,m){this.dt(m,25),this.Dt(h,m)}Dt(h,m){m.Rt(h)}St(h,m){const w=h.fields||{};this.dt(m,55);for(const I of Object.keys(w))this.Vt(I,m),this.Tt(w[I],m)}wt(h,m){var w,I;const g=h.fields||{};this.dt(m,53);const D="value",R=(null===(I=null===(w=g[D].arrayValue)||void 0===w?void 0:w.values)||void 0===I?void 0:I.length)||0;this.dt(m,15),m.At(vr(R)),this.Vt(D,m),this.Tt(g[D],m)}bt(h,m){const w=h.values||[];this.dt(m,50);for(const I of w)this.Tt(I,m)}yt(h,m){this.dt(m,37),He.fromName(h).path.forEach(w=>{this.dt(m,60),this.Dt(w,m)})}dt(h,m){h.At(m)}ft(h){h.At(2)}}ld.vt=new ld;class rc{constructor(){this.un=new wc}addToCollectionParentIndex(h,m){return this.un.add(m),Yt.resolve()}getCollectionParents(h,m){return Yt.resolve(this.un.getEntries(m))}addFieldIndex(h,m){return Yt.resolve()}deleteFieldIndex(h,m){return Yt.resolve()}deleteAllFieldIndexes(h){return Yt.resolve()}createTargetIndexes(h,m){return Yt.resolve()}getDocumentsMatchingTarget(h,m){return Yt.resolve(null)}getIndexType(h,m){return Yt.resolve(0)}getFieldIndexes(h,m){return Yt.resolve([])}getNextCollectionGroupToUpdate(h){return Yt.resolve(null)}getMinOffset(h,m){return Yt.resolve(mi.min())}getMinOffsetFromCollectionGroup(h,m){return Yt.resolve(mi.min())}updateCollectionGroup(h,m,w){return Yt.resolve()}updateIndexEntries(h,m){return Yt.resolve()}}class wc{constructor(){this.index={}}add(h){const m=h.lastSegment(),w=h.popLast(),I=this.index[m]||new wo(En.comparator),g=!I.has(w);return this.index[m]=I.add(w),g}has(h){const m=h.lastSegment(),w=h.popLast(),I=this.index[m];return I&&I.has(w)}getEntries(h){return(this.index[h]||new wo(En.comparator)).toArray()}}new Uint8Array(0);class Js{constructor(h,m,w){this.cacheSizeCollectionThreshold=h,this.percentileToCollect=m,this.maximumSequenceNumbersToCollect=w}static withCacheSize(h){return new Js(h,Js.DEFAULT_COLLECTION_PERCENTILE,Js.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}}Js.DEFAULT_COLLECTION_PERCENTILE=10,Js.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,Js.DEFAULT=new Js(41943040,Js.DEFAULT_COLLECTION_PERCENTILE,Js.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),Js.DISABLED=new Js(-1,0,0);class vo{constructor(h){this.Ln=h}next(){return this.Ln+=2,this.Ln}static Bn(){return new vo(0)}static kn(){return new vo(-1)}}class qs{constructor(){this.changes=new nl(h=>h.toString(),(h,m)=>h.isEqual(m)),this.changesApplied=!1}addEntry(h){this.assertNotApplied(),this.changes.set(h.key,h)}removeEntry(h,m){this.assertNotApplied(),this.changes.set(h,Ar.newInvalidDocument(h).setReadTime(m))}getEntry(h,m){this.assertNotApplied();const w=this.changes.get(m);return void 0!==w?Yt.resolve(w):this.getFromCache(h,m)}getEntries(h,m){return this.getAllFromCache(h,m)}apply(h){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(h)}assertNotApplied(){}}class es{constructor(h,m){this.overlayedDocument=h,this.mutatedFields=m}}class Tc{constructor(h,m,w,I){this.remoteDocumentCache=h,this.mutationQueue=m,this.documentOverlayCache=w,this.indexManager=I}getDocument(h,m){let w=null;return this.documentOverlayCache.getOverlay(h,m).next(I=>(w=I,this.remoteDocumentCache.getEntry(h,m))).next(I=>(null!==w&&so(w.mutation,I,or.empty(),fi.now()),I))}getDocuments(h,m){return this.remoteDocumentCache.getEntries(h,m).next(w=>this.getLocalViewOfDocuments(h,w,St()).next(()=>w))}getLocalViewOfDocuments(h,m,w=St()){const I=ee();return this.populateOverlays(h,I,m).next(()=>this.computeViews(h,m,I,w).next(g=>{let D=Je();return g.forEach((R,q)=>{D=D.insert(R,q.overlayedDocument)}),D}))}getOverlayedDocuments(h,m){const w=ee();return this.populateOverlays(h,w,m).next(()=>this.computeViews(h,m,w,St()))}populateOverlays(h,m,w){const I=[];return w.forEach(g=>{m.has(g)||I.push(g)}),this.documentOverlayCache.getOverlays(h,I).next(g=>{g.forEach((D,R)=>{m.set(D,R)})})}computeViews(h,m,w,I){let g=ba();const D=Ye(),R=Ye();return m.forEach((q,ce)=>{const xe=w.get(ce.key);I.has(ce.key)&&(void 0===xe||xe.mutation instanceof hr)?g=g.insert(ce.key,ce):void 0!==xe?(D.set(ce.key,xe.mutation.getFieldMask()),so(xe.mutation,ce,xe.mutation.getFieldMask(),fi.now())):D.set(ce.key,or.empty())}),this.recalculateAndSaveOverlays(h,g).next(q=>(q.forEach((ce,xe)=>D.set(ce,xe)),m.forEach((ce,xe)=>{var Ze;return R.set(ce,new es(xe,null!==(Ze=D.get(ce))&&void 0!==Ze?Ze:null))}),R))}recalculateAndSaveOverlays(h,m){const w=Ye();let I=new Oi((D,R)=>D-R),g=St();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(h,m).next(D=>{for(const R of D)R.keys().forEach(q=>{const ce=m.get(q);if(null===ce)return;let xe=w.get(q)||or.empty();xe=R.applyToLocalView(ce,xe),w.set(q,xe);const Ze=(I.get(R.batchId)||St()).add(q);I=I.insert(R.batchId,Ze)})}).next(()=>{const D=[],R=I.getReverseIterator();for(;R.hasNext();){const q=R.getNext(),ce=q.key,xe=q.value,Ze=Ce();xe.forEach(It=>{if(!g.has(It)){const Kt=kd(m.get(It),w.get(It));null!==Kt&&Ze.set(It,Kt),g=g.add(It)}}),D.push(this.documentOverlayCache.saveOverlays(h,ce,Ze))}return Yt.waitFor(D)}).next(()=>w)}recalculateAndSaveOverlaysForDocumentKeys(h,m){return this.remoteDocumentCache.getEntries(h,m).next(w=>this.recalculateAndSaveOverlays(h,w))}getDocumentsMatchingQuery(h,m,w,I){return He.isDocumentKey((D=m).path)&&null===D.collectionGroup&&0===D.filters.length?this.getDocumentsMatchingDocumentQuery(h,m.path):Ie(m)?this.getDocumentsMatchingCollectionGroupQuery(h,m,w,I):this.getDocumentsMatchingCollectionQuery(h,m,w,I);var D}getNextDocuments(h,m,w,I){return this.remoteDocumentCache.getAllFromCollectionGroup(h,m,w,I).next(g=>{const D=I-g.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(h,m,w.largestBatchId,I-g.size):Yt.resolve(ee());let R=-1,q=g;return D.next(ce=>Yt.forEach(ce,(xe,Ze)=>(R<Ze.largestBatchId&&(R=Ze.largestBatchId),g.get(xe)?Yt.resolve():this.remoteDocumentCache.getEntry(h,xe).next(It=>{q=q.insert(xe,It)}))).next(()=>this.populateOverlays(h,ce,g)).next(()=>this.computeViews(h,q,ce,St())).next(xe=>({batchId:R,changes:J(xe)})))})}getDocumentsMatchingDocumentQuery(h,m){return this.getDocument(h,new He(m)).next(w=>{let I=Je();return w.isFoundDocument()&&(I=I.insert(w.key,w)),I})}getDocumentsMatchingCollectionGroupQuery(h,m,w,I){const g=m.collectionGroup;let D=Je();return this.indexManager.getCollectionParents(h,g).next(R=>Yt.forEach(R,q=>{const ce=(Ze=m,It=q.child(g),new vl(It,null,Ze.explicitOrderBy.slice(),Ze.filters.slice(),Ze.limit,Ze.limitType,Ze.startAt,Ze.endAt));var Ze,It;return this.getDocumentsMatchingCollectionQuery(h,ce,w,I).next(xe=>{xe.forEach((Ze,It)=>{D=D.insert(Ze,It)})})}).next(()=>D))}getDocumentsMatchingCollectionQuery(h,m,w,I){let g;return this.documentOverlayCache.getOverlaysForCollection(h,m.path,w.largestBatchId).next(D=>(g=D,this.remoteDocumentCache.getDocumentsMatchingQuery(h,m,w,g,I))).next(D=>{g.forEach((q,ce)=>{const xe=ce.getKey();null===D.get(xe)&&(D=D.insert(xe,Ar.newInvalidDocument(xe)))});let R=Je();return D.forEach((q,ce)=>{const xe=g.get(q);void 0!==xe&&so(xe.mutation,ce,or.empty(),fi.now()),Go(m,ce)&&(R=R.insert(q,ce))}),R})}}class Ho{constructor(h){this.serializer=h,this.hr=new Map,this.Pr=new Map}getBundleMetadata(h,m){return Yt.resolve(this.hr.get(m))}saveBundleMetadata(h,m){return this.hr.set(m.id,{id:(I=m).id,version:I.version,createTime:Ys(I.createTime)}),Yt.resolve();var I}getNamedQuery(h,m){return Yt.resolve(this.Pr.get(m))}saveNamedQuery(h,m){return this.Pr.set(m.name,{name:(I=m).name,query:Uo(I.bundledQuery),readTime:Ys(I.readTime)}),Yt.resolve();var I}}class Xo{constructor(){this.overlays=new Oi(He.comparator),this.Ir=new Map}getOverlay(h,m){return Yt.resolve(this.overlays.get(m))}getOverlays(h,m){const w=ee();return Yt.forEach(m,I=>this.getOverlay(h,I).next(g=>{null!==g&&w.set(I,g)})).next(()=>w)}saveOverlays(h,m,w){return w.forEach((I,g)=>{this.ht(h,m,g)}),Yt.resolve()}removeOverlaysForBatchId(h,m,w){const I=this.Ir.get(w);return void 0!==I&&(I.forEach(g=>this.overlays=this.overlays.remove(g)),this.Ir.delete(w)),Yt.resolve()}getOverlaysForCollection(h,m,w){const I=ee(),g=m.length+1,D=new He(m.child("")),R=this.overlays.getIteratorFrom(D);for(;R.hasNext();){const q=R.getNext().value,ce=q.getKey();if(!m.isPrefixOf(ce.path))break;ce.path.length===g&&q.largestBatchId>w&&I.set(q.getKey(),q)}return Yt.resolve(I)}getOverlaysForCollectionGroup(h,m,w,I){let g=new Oi((ce,xe)=>ce-xe);const D=this.overlays.getIterator();for(;D.hasNext();){const ce=D.getNext().value;if(ce.getKey().getCollectionGroup()===m&&ce.largestBatchId>w){let xe=g.get(ce.largestBatchId);null===xe&&(xe=ee(),g=g.insert(ce.largestBatchId,xe)),xe.set(ce.getKey(),ce)}}const R=ee(),q=g.getIterator();for(;q.hasNext()&&(q.getNext().value.forEach((ce,xe)=>R.set(ce,xe)),!(R.size()>=I)););return Yt.resolve(R)}ht(h,m,w){const I=this.overlays.get(w.key);if(null!==I){const D=this.Ir.get(I.largestBatchId).delete(w.key);this.Ir.set(I.largestBatchId,D)}this.overlays=this.overlays.insert(w.key,new ve(m,w));let g=this.Ir.get(m);void 0===g&&(g=St(),this.Ir.set(m,g)),this.Ir.set(m,g.add(w.key))}}class jc{constructor(){this.sessionToken=gr.EMPTY_BYTE_STRING}getSessionToken(h){return Yt.resolve(this.sessionToken)}setSessionToken(h,m){return this.sessionToken=m,Yt.resolve()}}class Sc{constructor(){this.Tr=new wo(Hi.Er),this.dr=new wo(Hi.Ar)}isEmpty(){return this.Tr.isEmpty()}addReference(h,m){const w=new Hi(h,m);this.Tr=this.Tr.add(w),this.dr=this.dr.add(w)}Rr(h,m){h.forEach(w=>this.addReference(w,m))}removeReference(h,m){this.Vr(new Hi(h,m))}mr(h,m){h.forEach(w=>this.removeReference(w,m))}gr(h){const m=new He(new En([])),w=new Hi(m,h),I=new Hi(m,h+1),g=[];return this.dr.forEachInRange([w,I],D=>{this.Vr(D),g.push(D.key)}),g}pr(){this.Tr.forEach(h=>this.Vr(h))}Vr(h){this.Tr=this.Tr.delete(h),this.dr=this.dr.delete(h)}yr(h){const m=new He(new En([])),w=new Hi(m,h),I=new Hi(m,h+1);let g=St();return this.dr.forEachInRange([w,I],D=>{g=g.add(D.key)}),g}containsKey(h){const m=new Hi(h,0),w=this.Tr.firstAfterOrEqual(m);return null!==w&&h.isEqual(w.key)}}class Hi{constructor(h,m){this.key=h,this.wr=m}static Er(h,m){return He.comparator(h.key,m.key)||Rn(h.wr,m.wr)}static Ar(h,m){return Rn(h.wr,m.wr)||He.comparator(h.key,m.key)}}class ud{constructor(h,m){this.indexManager=h,this.referenceDelegate=m,this.mutationQueue=[],this.Sr=1,this.br=new wo(Hi.Er)}checkEmpty(h){return Yt.resolve(0===this.mutationQueue.length)}addMutationBatch(h,m,w,I){const g=this.Sr;this.Sr++;const D=new te(g,m,w,I);this.mutationQueue.push(D);for(const R of I)this.br=this.br.add(new Hi(R.key,g)),this.indexManager.addToCollectionParentIndex(h,R.key.path.popLast());return Yt.resolve(D)}lookupMutationBatch(h,m){return Yt.resolve(this.Dr(m))}getNextMutationBatchAfterBatchId(h,m){const I=this.vr(m+1),g=I<0?0:I;return Yt.resolve(this.mutationQueue.length>g?this.mutationQueue[g]:null)}getHighestUnacknowledgedBatchId(){return Yt.resolve(0===this.mutationQueue.length?-1:this.Sr-1)}getAllMutationBatches(h){return Yt.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(h,m){const w=new Hi(m,0),I=new Hi(m,Number.POSITIVE_INFINITY),g=[];return this.br.forEachInRange([w,I],D=>{const R=this.Dr(D.wr);g.push(R)}),Yt.resolve(g)}getAllMutationBatchesAffectingDocumentKeys(h,m){let w=new wo(Rn);return m.forEach(I=>{const g=new Hi(I,0),D=new Hi(I,Number.POSITIVE_INFINITY);this.br.forEachInRange([g,D],R=>{w=w.add(R.wr)})}),Yt.resolve(this.Cr(w))}getAllMutationBatchesAffectingQuery(h,m){const w=m.path,I=w.length+1;let g=w;He.isDocumentKey(g)||(g=g.child(""));const D=new Hi(new He(g),0);let R=new wo(Rn);return this.br.forEachWhile(q=>{const ce=q.key.path;return!!w.isPrefixOf(ce)&&(ce.length===I&&(R=R.add(q.wr)),!0)},D),Yt.resolve(this.Cr(R))}Cr(h){const m=[];return h.forEach(w=>{const I=this.Dr(w);null!==I&&m.push(I)}),m}removeMutationBatch(h,m){zt(0===this.Fr(m.batchId,"removed")),this.mutationQueue.shift();let w=this.br;return Yt.forEach(m.mutations,I=>{const g=new Hi(I.key,m.batchId);return w=w.delete(g),this.referenceDelegate.markPotentiallyOrphaned(h,I.key)}).next(()=>{this.br=w})}On(h){}containsKey(h,m){const w=new Hi(m,0),I=this.br.firstAfterOrEqual(w);return Yt.resolve(m.isEqual(I&&I.key))}performConsistencyCheck(h){return Yt.resolve()}Fr(h,m){return this.vr(h)}vr(h){return 0===this.mutationQueue.length?0:h-this.mutationQueue[0].batchId}Dr(h){const m=this.vr(h);return m<0||m>=this.mutationQueue.length?null:this.mutationQueue[m]}}class ku{constructor(h){this.Mr=h,this.docs=new Oi(He.comparator),this.size=0}setIndexManager(h){this.indexManager=h}addEntry(h,m){const w=m.key,I=this.docs.get(w),g=I?I.size:0,D=this.Mr(m);return this.docs=this.docs.insert(w,{document:m.mutableCopy(),size:D}),this.size+=D-g,this.indexManager.addToCollectionParentIndex(h,w.path.popLast())}removeEntry(h){const m=this.docs.get(h);m&&(this.docs=this.docs.remove(h),this.size-=m.size)}getEntry(h,m){const w=this.docs.get(m);return Yt.resolve(w?w.document.mutableCopy():Ar.newInvalidDocument(m))}getEntries(h,m){let w=ba();return m.forEach(I=>{const g=this.docs.get(I);w=w.insert(I,g?g.document.mutableCopy():Ar.newInvalidDocument(I))}),Yt.resolve(w)}getDocumentsMatchingQuery(h,m,w,I){let g=ba();const D=m.path,R=new He(D.child("")),q=this.docs.getIteratorFrom(R);for(;q.hasNext();){const{key:ce,value:{document:xe}}=q.getNext();if(!D.isPrefixOf(ce.path))break;ce.path.length>D.length+1||Li(new mi((E=xe).readTime,E.key,-1),w)<=0||(I.has(xe.key)||Go(m,xe))&&(g=g.insert(xe.key,xe.mutableCopy()))}var E;return Yt.resolve(g)}getAllFromCollectionGroup(h,m,w,I){Ue()}Or(h,m){return Yt.forEach(this.docs,w=>m(w))}newChangeBuffer(h){return new qd(this)}getSize(h){return Yt.resolve(this.size)}}class qd extends qs{constructor(h){super(),this.cr=h}applyChanges(h){const m=[];return this.changes.forEach((w,I)=>{I.isValidDocument()?m.push(this.cr.addEntry(h,I)):this.cr.removeEntry(w)}),Yt.waitFor(m)}getFromCache(h,m){return this.cr.getEntry(h,m)}getAllFromCache(h,m){return this.cr.getEntries(h,m)}}class kc{constructor(h){this.persistence=h,this.Nr=new nl(m=>gl(m),bo),this.lastRemoteSnapshotVersion=ei.min(),this.highestTargetId=0,this.Lr=0,this.Br=new Sc,this.targetCount=0,this.kr=vo.Bn()}forEachTarget(h,m){return this.Nr.forEach((w,I)=>m(I)),Yt.resolve()}getLastRemoteSnapshotVersion(h){return Yt.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(h){return Yt.resolve(this.Lr)}allocateTargetId(h){return this.highestTargetId=this.kr.next(),Yt.resolve(this.highestTargetId)}setTargetsMetadata(h,m,w){return w&&(this.lastRemoteSnapshotVersion=w),m>this.Lr&&(this.Lr=m),Yt.resolve()}Kn(h){this.Nr.set(h.target,h);const m=h.targetId;m>this.highestTargetId&&(this.kr=new vo(m),this.highestTargetId=m),h.sequenceNumber>this.Lr&&(this.Lr=h.sequenceNumber)}addTargetData(h,m){return this.Kn(m),this.targetCount+=1,Yt.resolve()}updateTargetData(h,m){return this.Kn(m),Yt.resolve()}removeTargetData(h,m){return this.Nr.delete(m.target),this.Br.gr(m.targetId),this.targetCount-=1,Yt.resolve()}removeTargets(h,m,w){let I=0;const g=[];return this.Nr.forEach((D,R)=>{R.sequenceNumber<=m&&null===w.get(R.targetId)&&(this.Nr.delete(D),g.push(this.removeMatchingKeysForTargetId(h,R.targetId)),I++)}),Yt.waitFor(g).next(()=>I)}getTargetCount(h){return Yt.resolve(this.targetCount)}getTargetData(h,m){const w=this.Nr.get(m)||null;return Yt.resolve(w)}addMatchingKeys(h,m,w){return this.Br.Rr(m,w),Yt.resolve()}removeMatchingKeys(h,m,w){this.Br.mr(m,w);const I=this.persistence.referenceDelegate,g=[];return I&&m.forEach(D=>{g.push(I.markPotentiallyOrphaned(h,D))}),Yt.waitFor(g)}removeMatchingKeysForTargetId(h,m){return this.Br.gr(m),Yt.resolve()}getMatchingKeysForTargetId(h,m){const w=this.Br.yr(m);return Yt.resolve(w)}containsKey(h,m){return Yt.resolve(this.Br.containsKey(m))}}class q1{constructor(h,m){this.qr={},this.overlays={},this.Qr=new Et(0),this.Kr=!1,this.Kr=!0,this.$r=new jc,this.referenceDelegate=h(this),this.Ur=new kc(this),this.indexManager=new rc,this.remoteDocumentCache=new ku(w=>this.referenceDelegate.Wr(w)),this.serializer=new Z(m),this.Gr=new Ho(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.Kr=!1,Promise.resolve()}get started(){return this.Kr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(h){return this.indexManager}getDocumentOverlayCache(h){let m=this.overlays[h.toKey()];return m||(m=new Xo,this.overlays[h.toKey()]=m),m}getMutationQueue(h,m){let w=this.qr[h.toKey()];return w||(w=new ud(m,this.referenceDelegate),this.qr[h.toKey()]=w),w}getGlobalsCache(){return this.$r}getTargetCache(){return this.Ur}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.Gr}runTransaction(h,m,w){z("MemoryPersistence","Starting transaction:",h);const I=new hd(this.Qr.next());return this.referenceDelegate.zr(),w(I).next(g=>this.referenceDelegate.jr(I).next(()=>g)).toPromise().then(g=>(I.raiseOnCommittedEvent(),g))}Hr(h,m){return Yt.or(Object.values(this.qr).map(w=>()=>w.containsKey(h,m)))}}class hd extends Vi{constructor(h){super(),this.currentSequenceNumber=h}}class Cl{constructor(h){this.persistence=h,this.Jr=new Sc,this.Yr=null}static Zr(h){return new Cl(h)}get Xr(){if(this.Yr)return this.Yr;throw Ue()}addReference(h,m,w){return this.Jr.addReference(w,m),this.Xr.delete(w.toString()),Yt.resolve()}removeReference(h,m,w){return this.Jr.removeReference(w,m),this.Xr.add(w.toString()),Yt.resolve()}markPotentiallyOrphaned(h,m){return this.Xr.add(m.toString()),Yt.resolve()}removeTarget(h,m){this.Jr.gr(m.targetId).forEach(I=>this.Xr.add(I.toString()));const w=this.persistence.getTargetCache();return w.getMatchingKeysForTargetId(h,m.targetId).next(I=>{I.forEach(g=>this.Xr.add(g.toString()))}).next(()=>w.removeTargetData(h,m))}zr(){this.Yr=new Set}jr(h){const m=this.persistence.getRemoteDocumentCache().newChangeBuffer();return Yt.forEach(this.Xr,w=>{const I=He.fromPath(w);return this.ei(h,I).next(g=>{g||m.removeEntry(I,ei.min())})}).next(()=>(this.Yr=null,m.apply(h)))}updateLimboDocument(h,m){return this.ei(h,m).next(w=>{w?this.Xr.delete(m.toString()):this.Xr.add(m.toString())})}Wr(h){return 0}ei(h,m){return Yt.or([()=>Yt.resolve(this.Jr.containsKey(m)),()=>this.persistence.getTargetCache().containsKey(h,m),()=>this.persistence.Hr(h,m)])}}class ch{constructor(h,m,w,I){this.targetId=h,this.fromCache=m,this.$i=w,this.Ui=I}static Wi(h,m){let w=St(),I=St();for(const g of m.docChanges)switch(g.type){case 0:w=w.add(g.doc.key);break;case 1:I=I.add(g.doc.key)}return new ch(h,m.fromCache,w,I)}}class zs{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(h){this._documentReadCount+=h}}class Na{constructor(){this.Gi=!1,this.zi=!1,this.ji=100,this.Hi=(0,L.nr)()?8:function qt(E){const h=E.match(/Android ([\d.]+)/i),m=h?h[1].split(".").slice(0,2).join("."):"-1";return Number(m)}((0,L.ZQ)())>0?6:4}initialize(h,m){this.Ji=h,this.indexManager=m,this.Gi=!0}getDocumentsMatchingQuery(h,m,w,I){const g={result:null};return this.Yi(h,m).next(D=>{g.result=D}).next(()=>{if(!g.result)return this.Zi(h,m,I,w).next(D=>{g.result=D})}).next(()=>{if(g.result)return;const D=new zs;return this.Xi(h,m,D).next(R=>{if(g.result=R,this.zi)return this.es(h,m,D,R.size)})}).next(()=>g.result)}es(h,m,w,I){return w.documentReadCount<this.ji?(Pe()<=a.$b.DEBUG&&z("QueryEngine","SDK will not create cache indexes for query:",Ir(m),"since it only creates cache indexes for collection contains","more than or equal to",this.ji,"documents"),Yt.resolve()):(Pe()<=a.$b.DEBUG&&z("QueryEngine","Query:",Ir(m),"scans",w.documentReadCount,"local documents and returns",I,"documents as results."),w.documentReadCount>this.Hi*I?(Pe()<=a.$b.DEBUG&&z("QueryEngine","The SDK decides to create cache indexes for query:",Ir(m),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(h,Qe(m))):Yt.resolve())}Yi(h,m){if(Me(m))return Yt.resolve(null);let w=Qe(m);return this.indexManager.getIndexType(h,w).next(I=>0===I?null:(null!==m.limit&&1===I&&(m=os(m,null,"F"),w=Qe(m)),this.indexManager.getDocumentsMatchingTarget(h,w).next(g=>{const D=St(...g);return this.Ji.getDocuments(h,D).next(R=>this.indexManager.getMinOffset(h,w).next(q=>{const ce=this.ts(m,R);return this.ns(m,ce,D,q.readTime)?this.Yi(h,os(m,null,"F")):this.rs(h,ce,m,q)}))})))}Zi(h,m,w,I){return Me(m)||I.isEqual(ei.min())?Yt.resolve(null):this.Ji.getDocuments(h,w).next(g=>{const D=this.ts(m,g);return this.ns(m,D,w,I)?Yt.resolve(null):(Pe()<=a.$b.DEBUG&&z("QueryEngine","Re-using previous result from %s to execute query: %s",I.toString(),Ir(m)),this.rs(h,D,m,function Bi(E,h){const m=E.toTimestamp().seconds,w=E.toTimestamp().nanoseconds+1,I=ei.fromTimestamp(1e9===w?new fi(m+1,0):new fi(m,w));return new mi(I,He.empty(),h)}(I,-1)).next(R=>R))})}ts(h,m){let w=new wo(Pc(h));return m.forEach((I,g)=>{Go(h,g)&&(w=w.add(g))}),w}ns(h,m,w,I){if(null===h.limit)return!1;if(w.size!==m.size)return!0;const g="F"===h.limitType?m.last():m.first();return!!g&&(g.hasPendingWrites||g.version.compareTo(I)>0)}Xi(h,m,w){return Pe()<=a.$b.DEBUG&&z("QueryEngine","Using full collection scan to execute query:",Ir(m)),this.Ji.getDocumentsMatchingQuery(h,m,mi.min(),w)}rs(h,m,w,I){return this.Ji.getDocumentsMatchingQuery(h,w,I).next(g=>(m.forEach(D=>{g=g.insert(D.key,D)}),g))}}class Eu{constructor(h,m,w,I){this.persistence=h,this.ss=m,this.serializer=I,this.os=new Oi(Rn),this._s=new nl(g=>gl(g),bo),this.us=new Map,this.cs=h.getRemoteDocumentCache(),this.Ur=h.getTargetCache(),this.Gr=h.getBundleCache(),this.ls(w)}ls(h){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(h),this.indexManager=this.persistence.getIndexManager(h),this.mutationQueue=this.persistence.getMutationQueue(h,this.indexManager),this.localDocuments=new Tc(this.cs,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.cs.setIndexManager(this.indexManager),this.ss.initialize(this.localDocuments,this.indexManager)}collectGarbage(h){return this.persistence.runTransaction("Collect garbage","readwrite-primary",m=>h.collect(m,this.os))}}function Ku(E,h){return Nl.apply(this,arguments)}function Nl(){return(Nl=(0,y.A)(function*(E,h){const m=Mt(E);return yield m.persistence.runTransaction("Handle user change","readonly",w=>{let I;return m.mutationQueue.getAllMutationBatches(w).next(g=>(I=g,m.ls(h),m.mutationQueue.getAllMutationBatches(w))).next(g=>{const D=[],R=[];let q=St();for(const ce of I){D.push(ce.batchId);for(const xe of ce.mutations)q=q.add(xe.key)}for(const ce of g){R.push(ce.batchId);for(const xe of ce.mutations)q=q.add(xe.key)}return m.localDocuments.getDocuments(w,q).next(ce=>({hs:ce,removedBatchIds:D,addedBatchIds:R}))})})})).apply(this,arguments)}function W1(E){const h=Mt(E);return h.persistence.runTransaction("Get last remote snapshot version","readonly",m=>h.Ur.getLastRemoteSnapshotVersion(m))}function e2(E,h){const m=Mt(E);return m.persistence.runTransaction("Get next mutation batch","readonly",w=>(void 0===h&&(h=-1),m.mutationQueue.getNextMutationBatchAfterBatchId(w,h)))}function Qd(E,h,m){return t2.apply(this,arguments)}function t2(){return(t2=(0,y.A)(function*(E,h,m){const w=Mt(E),I=w.os.get(h),g=m?"readwrite":"readwrite-primary";try{m||(yield w.persistence.runTransaction("Release target",g,D=>w.persistence.referenceDelegate.removeTarget(D,I)))}catch(D){if(!xt(D))throw D;z("LocalStore",`Failed to update sequence numbers for target ${h}: ${D}`)}w.os=w.os.remove(h),w._s.delete(I.target)})).apply(this,arguments)}function s1(E,h,m){const w=Mt(E);let I=ei.min(),g=St();return w.persistence.runTransaction("Execute query","readwrite",D=>function(q,ce,xe){const Ze=Mt(q),It=Ze._s.get(xe);return void 0!==It?Yt.resolve(Ze.os.get(It)):Ze.Ur.getTargetData(ce,xe)}(w,D,Qe(h)).next(R=>{if(R)return I=R.lastLimboFreeSnapshotVersion,w.Ur.getMatchingKeysForTargetId(D,R.targetId).next(q=>{g=q})}).next(()=>w.ss.getDocumentsMatchingQuery(D,h,m?I:ei.min(),m?g:St())).next(R=>(function K4(E,h,m){let w=E.us.get(h)||ei.min();m.forEach((I,g)=>{g.readTime.compareTo(w)>0&&(w=g.readTime)}),E.us.set(h,w)}(w,function Il(E){return E.collectionGroup||(E.path.length%2==1?E.path.lastSegment():E.path.get(E.path.length-2))}(h),R),{documents:R,Ts:g})))}class s2{constructor(){this.activeTargetIds=function An(){return In}()}fs(h){this.activeTargetIds=this.activeTargetIds.add(h)}gs(h){this.activeTargetIds=this.activeTargetIds.delete(h)}Vs(){const h={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(h)}}class l2{constructor(){this.so=new s2,this.oo={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(h){}updateMutationState(h,m,w){}addLocalQueryTarget(h,m=!0){return m&&this.so.fs(h),this.oo[h]||"not-current"}updateQueryState(h,m,w){this.oo[h]=m}removeLocalQueryTarget(h){this.so.gs(h)}isLocalQueryTarget(h){return this.so.activeTargetIds.has(h)}clearQueryState(h){delete this.oo[h]}getAllActiveQueryTargets(){return this.so.activeTargetIds}isActiveQueryTarget(h){return this.so.activeTargetIds.has(h)}start(){return this.so=new s2,Promise.resolve()}handleUserChange(h,m,w){}setOnlineState(h){}shutdown(){}writeSequenceNumber(h){}notifyBundleLoaded(h){}}class Yp{_o(h){}shutdown(){}}class Z1{constructor(){this.ao=()=>this.uo(),this.co=()=>this.lo(),this.ho=[],this.Po()}_o(h){this.ho.push(h)}shutdown(){window.removeEventListener("online",this.ao),window.removeEventListener("offline",this.co)}Po(){window.addEventListener("online",this.ao),window.addEventListener("offline",this.co)}uo(){z("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const h of this.ho)h(0)}lo(){z("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const h of this.ho)h(1)}static D(){return typeof window<"u"&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let uh=null;function c1(){return null===uh?uh=268435456+Math.round(2147483648*Math.random()):uh++,"0x"+uh.toString(16)}const Sa={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};class d1{constructor(h){this.Io=h.Io,this.To=h.To}Eo(h){this.Ao=h}Ro(h){this.Vo=h}mo(h){this.fo=h}onMessage(h){this.po=h}close(){this.To()}send(h){this.Io(h)}yo(){this.Ao()}wo(){this.Vo()}So(h){this.fo(h)}bo(h){this.po(h)}}const Ua="WebChannelConnection";class c2 extends class{constructor(m){this.databaseInfo=m,this.databaseId=m.databaseId;const w=m.ssl?"https":"http",I=encodeURIComponent(this.databaseId.projectId),g=encodeURIComponent(this.databaseId.database);this.Do=w+"://"+m.host,this.vo=`projects/${I}/databases/${g}`,this.Co="(default)"===this.databaseId.database?`project_id=${I}`:`project_id=${I}&database_id=${g}`}get Fo(){return!1}Mo(m,w,I,g,D){const R=c1(),q=this.xo(m,w.toUriEncodedString());z("RestConnection",`Sending RPC '${m}' ${R}:`,q,I);const ce={"google-cloud-resource-prefix":this.vo,"x-goog-request-params":this.Co};return this.Oo(ce,g,D),this.No(m,q,ce,I).then(xe=>(z("RestConnection",`Received RPC '${m}' ${R}: `,xe),xe),xe=>{throw P("RestConnection",`RPC '${m}' ${R} failed with error: `,xe,"url: ",q,"request:",I),xe})}Lo(m,w,I,g,D,R){return this.Mo(m,w,I,g,D)}Oo(m,w,I){m["X-Goog-Api-Client"]="gl-js/ fire/"+Te,m["Content-Type"]="text/plain",this.databaseInfo.appId&&(m["X-Firebase-GMPID"]=this.databaseInfo.appId),w&&w.headers.forEach((g,D)=>m[D]=g),I&&I.headers.forEach((g,D)=>m[D]=g)}xo(m,w){return`${this.Do}/v1/${w}:${Sa[m]}`}terminate(){}}{constructor(h){super(h),this.forceLongPolling=h.forceLongPolling,this.autoDetectLongPolling=h.autoDetectLongPolling,this.useFetchStreams=h.useFetchStreams,this.longPollingOptions=h.longPollingOptions}No(h,m,w,I){const g=c1();return new Promise((D,R)=>{const q=new Ve;q.setWithCredentials(!0),q.listenOnce(Ge.COMPLETE,()=>{try{switch(q.getLastErrorCode()){case ht.NO_ERROR:const xe=q.getResponseJson();z(Ua,`XHR for RPC '${h}' ${g} received:`,JSON.stringify(xe)),D(xe);break;case ht.TIMEOUT:z(Ua,`RPC '${h}' ${g} timed out`),R(new Ke(mt.DEADLINE_EXCEEDED,"Request time out"));break;case ht.HTTP_ERROR:const Ze=q.getStatus();if(z(Ua,`RPC '${h}' ${g} failed with status:`,Ze,"response text:",q.getResponseText()),Ze>0){let It=q.getResponseJson();Array.isArray(It)&&(It=It[0]);const Kt=It?.error;if(Kt&&Kt.status&&Kt.message){const Tn=function(Un){const Ti=Un.toLowerCase().replace(/_/g,"-");return Object.values(mt).indexOf(Ti)>=0?Ti:mt.UNKNOWN}(Kt.status);R(new Ke(Tn,Kt.message))}else R(new Ke(mt.UNKNOWN,"Server responded with status "+q.getStatus()))}else R(new Ke(mt.UNAVAILABLE,"Connection failed."));break;default:Ue()}}finally{z(Ua,`RPC '${h}' ${g} completed.`)}});const ce=JSON.stringify(I);z(Ua,`RPC '${h}' ${g} sending request:`,I),q.send(m,"POST",ce,w,15)})}Bo(h,m,w){const I=c1(),g=[this.Do,"/","google.firestore.v1.Firestore","/",h,"/channel"],D=ft(),R=dt(),q={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},ce=this.longPollingOptions.timeoutSeconds;void 0!==ce&&(q.longPollingTimeout=Math.round(1e3*ce)),this.useFetchStreams&&(q.xmlHttpFactory=new Ee({})),this.Oo(q.initMessageHeaders,m,w),q.encodeInitMessageHeaders=!0;const xe=g.join("");z(Ua,`Creating RPC '${h}' stream ${I}: ${xe}`,q);const Ze=D.createWebChannel(xe,q);let It=!1,Kt=!1;const Tn=new d1({Io:Un=>{Kt?z(Ua,`Not sending because RPC '${h}' stream ${I} is closed:`,Un):(It||(z(Ua,`Opening RPC '${h}' stream ${I} transport.`),Ze.open(),It=!0),z(Ua,`RPC '${h}' stream ${I} sending:`,Un),Ze.send(Un))},To:()=>Ze.close()}),Yn=(Un,Ti,ji)=>{Un.listen(Ti,Pi=>{try{ji(Pi)}catch(Wi){setTimeout(()=>{throw Wi},0)}})};return Yn(Ze,qe.EventType.OPEN,()=>{Kt||(z(Ua,`RPC '${h}' stream ${I} transport opened.`),Tn.yo())}),Yn(Ze,qe.EventType.CLOSE,()=>{Kt||(Kt=!0,z(Ua,`RPC '${h}' stream ${I} transport closed`),Tn.So())}),Yn(Ze,qe.EventType.ERROR,Un=>{Kt||(Kt=!0,P(Ua,`RPC '${h}' stream ${I} transport errored:`,Un),Tn.So(new Ke(mt.UNAVAILABLE,"The operation could not be completed")))}),Yn(Ze,qe.EventType.MESSAGE,Un=>{var Ti;if(!Kt){const ji=Un.data[0];zt(!!ji);const Wi=ji.error||(null===(Ti=ji[0])||void 0===Ti?void 0:Ti.error);if(Wi){z(Ua,`RPC '${h}' stream ${I} received error:`,Wi);const To=Wi.status;let po=function(Wt){const cn=vn[Wt];if(void 0!==cn)return xs(cn)}(To),Jt=Wi.message;void 0===po&&(po=mt.INTERNAL,Jt="Unknown error status: "+To+" with message "+Wi.message),Kt=!0,Tn.So(new Ke(po,Jt)),Ze.close()}else z(Ua,`RPC '${h}' stream ${I} received:`,ji),Tn.bo(ji)}}),Yn(R,Tt.STAT_EVENT,Un=>{Un.stat===at.PROXY?z(Ua,`RPC '${h}' stream ${I} detected buffering proxy`):Un.stat===at.NOPROXY&&z(Ua,`RPC '${h}' stream ${I} detected no buffering proxy`)}),setTimeout(()=>{Tn.wo()},0),Tn}}function ep(){return typeof document<"u"?document:null}function Xl(E){return new yl(E,!0)}class tp{constructor(h,m,w=1e3,I=1.5,g=6e4){this.ui=h,this.timerId=m,this.ko=w,this.qo=I,this.Qo=g,this.Ko=0,this.$o=null,this.Uo=Date.now(),this.reset()}reset(){this.Ko=0}Wo(){this.Ko=this.Qo}Go(h){this.cancel();const m=Math.floor(this.Ko+this.zo()),w=Math.max(0,Date.now()-this.Uo),I=Math.max(0,m-w);I>0&&z("ExponentialBackoff",`Backing off for ${I} ms (base delay: ${this.Ko} ms, delay with jitter: ${m} ms, last attempt: ${w} ms ago)`),this.$o=this.ui.enqueueAfterDelay(this.timerId,I,()=>(this.Uo=Date.now(),h())),this.Ko*=this.qo,this.Ko<this.ko&&(this.Ko=this.ko),this.Ko>this.Qo&&(this.Ko=this.Qo)}jo(){null!==this.$o&&(this.$o.skipDelay(),this.$o=null)}cancel(){null!==this.$o&&(this.$o.cancel(),this.$o=null)}zo(){return(Math.random()-.5)*this.Ko}}class np{constructor(h,m,w,I,g,D,R,q){this.ui=h,this.Ho=w,this.Jo=I,this.connection=g,this.authCredentialsProvider=D,this.appCheckCredentialsProvider=R,this.listener=q,this.state=0,this.Yo=0,this.Zo=null,this.Xo=null,this.stream=null,this.e_=0,this.t_=new tp(h,m)}n_(){return 1===this.state||5===this.state||this.r_()}r_(){return 2===this.state||3===this.state}start(){this.e_=0,4!==this.state?this.auth():this.i_()}stop(){var h=this;return(0,y.A)(function*(){h.n_()&&(yield h.close(0))})()}s_(){this.state=0,this.t_.reset()}o_(){this.r_()&&null===this.Zo&&(this.Zo=this.ui.enqueueAfterDelay(this.Ho,6e4,()=>this.__()))}a_(h){this.u_(),this.stream.send(h)}__(){var h=this;return(0,y.A)(function*(){if(h.r_())return h.close(0)})()}u_(){this.Zo&&(this.Zo.cancel(),this.Zo=null)}c_(){this.Xo&&(this.Xo.cancel(),this.Xo=null)}close(h,m){var w=this;return(0,y.A)(function*(){w.u_(),w.c_(),w.t_.cancel(),w.Yo++,4!==h?w.t_.reset():m&&m.code===mt.RESOURCE_EXHAUSTED?(X(m.toString()),X("Using maximum backoff delay to prevent overloading the backend."),w.t_.Wo()):m&&m.code===mt.UNAUTHENTICATED&&3!==w.state&&(w.authCredentialsProvider.invalidateToken(),w.appCheckCredentialsProvider.invalidateToken()),null!==w.stream&&(w.l_(),w.stream.close(),w.stream=null),w.state=h,yield w.listener.mo(m)})()}l_(){}auth(){this.state=1;const h=this.h_(this.Yo),m=this.Yo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then(([w,I])=>{this.Yo===m&&this.P_(w,I)},w=>{h(()=>{const I=new Ke(mt.UNKNOWN,"Fetching auth token failed: "+w.message);return this.I_(I)})})}P_(h,m){const w=this.h_(this.Yo);this.stream=this.T_(h,m),this.stream.Eo(()=>{w(()=>this.listener.Eo())}),this.stream.Ro(()=>{w(()=>(this.state=2,this.Xo=this.ui.enqueueAfterDelay(this.Jo,1e4,()=>(this.r_()&&(this.state=3),Promise.resolve())),this.listener.Ro()))}),this.stream.mo(I=>{w(()=>this.I_(I))}),this.stream.onMessage(I=>{w(()=>1==++this.e_?this.E_(I):this.onNext(I))})}i_(){var h=this;this.state=5,this.t_.Go((0,y.A)(function*(){h.state=0,h.start()}))}I_(h){return z("PersistentStream",`close with error: ${h}`),this.stream=null,this.close(4,h)}h_(h){return m=>{this.ui.enqueueAndForget(()=>this.Yo===h?m():(z("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve()))}}}class Br extends np{constructor(h,m,w,I,g,D){super(h,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",m,w,I,D),this.serializer=g}T_(h,m){return this.connection.Bo("Listen",h,m)}E_(h){return this.onNext(h)}onNext(h){this.t_.reset();const m=function od(E,h){let m;if("targetChange"in h){const w="NO_CHANGE"===(ce=h.targetChange.targetChangeType||"NO_CHANGE")?0:"ADD"===ce?1:"REMOVE"===ce?2:"CURRENT"===ce?3:"RESET"===ce?4:Ue(),I=h.targetChange.targetIds||[],g=function(ce,xe){return ce.useProto3Json?(zt(void 0===xe||"string"==typeof xe),gr.fromBase64String(xe||"")):(zt(void 0===xe||xe instanceof Buffer||xe instanceof Uint8Array),gr.fromUint8Array(xe||new Uint8Array))}(E,h.targetChange.resumeToken),D=h.targetChange.cause,R=D&&function(ce){const xe=void 0===ce.code?mt.UNKNOWN:xs(ce.code);return new Ke(xe,ce.message||"")}(D);m=new $a(w,I,g,R||null)}else if("documentChange"in h){const w=h.documentChange,I=Ul(E,w.document.name),g=Ys(w.document.updateTime),D=w.document.createTime?Ys(w.document.createTime):ei.min(),R=new ur({mapValue:{fields:w.document.fields}}),q=Ar.newFoundDocument(I,g,D,R);m=new Dl(w.targetIds||[],w.removedTargetIds||[],q.key,q)}else if("documentDelete"in h){const w=h.documentDelete,I=Ul(E,w.document),g=w.readTime?Ys(w.readTime):ei.min(),D=Ar.newNoDocument(I,g);m=new Dl([],w.removedTargetIds||[],D.key,D)}else if("documentRemove"in h){const w=h.documentRemove,I=Ul(E,w.document);m=new Dl([],w.removedTargetIds||[],I,null)}else{if(!("filter"in h))return Ue();{const w=h.filter,{count:I=0,unchangedNames:g}=w,D=new Pt(I,g);m=new rl(w.targetId,D)}}var ce;return m}(this.serializer,h),w=function(g){if(!("targetChange"in g))return ei.min();const D=g.targetChange;return D.targetIds&&D.targetIds.length?ei.min():D.readTime?Ys(D.readTime):ei.min()}(h);return this.listener.d_(m,w)}A_(h){const m={};m.database=wa(this.serializer),m.addTarget=function(g,D){let R;const q=D.target;if(R=Ma(q)?{documents:gu(g,q)}:{query:sh(g,q)._t},R.targetId=D.targetId,D.resumeToken.approximateByteSize()>0){R.resumeToken=hu(g,D.resumeToken);const ce=Is(g,D.expectedCount);null!==ce&&(R.expectedCount=ce)}else if(D.snapshotVersion.compareTo(ei.min())>0){R.readTime=Md(g,D.snapshotVersion.toTimestamp());const ce=Is(g,D.expectedCount);null!==ce&&(R.expectedCount=ce)}return R}(this.serializer,h);const w=function sd(E,h){const m=function(I){switch(I){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return Ue()}}(h.purpose);return null==m?null:{"goog-listen-tags":m}}(0,h);w&&(m.labels=w),this.a_(m)}R_(h){const m={};m.database=wa(this.serializer),m.removeTarget=h,this.a_(m)}}class ip extends np{constructor(h,m,w,I,g,D){super(h,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",m,w,I,D),this.serializer=g}get V_(){return this.e_>0}start(){this.lastStreamToken=void 0,super.start()}l_(){this.V_&&this.m_([])}T_(h,m){return this.connection.Bo("Write",h,m)}E_(h){return zt(!!h.streamToken),this.lastStreamToken=h.streamToken,zt(!h.writeResults||0===h.writeResults.length),this.listener.f_()}onNext(h){zt(!!h.streamToken),this.lastStreamToken=h.streamToken,this.t_.reset();const m=function mu(E,h){return E&&E.length>0?(zt(void 0!==h),E.map(m=>function(I,g){let D=Ys(I.updateTime?I.updateTime:g);return D.isEqual(ei.min())&&(D=Ys(g)),new yr(D,I.transformResults||[])}(m,h))):[]}(h.writeResults,h.commitTime),w=Ys(h.commitTime);return this.listener.g_(w,m)}p_(){const h={};h.database=wa(this.serializer),this.a_(h)}m_(h){const m={streamToken:this.lastStreamToken,writes:h.map(w=>function Da(E,h){let m;if(h instanceof _s)m={update:Ds(E,h.key,h.value)};else if(h instanceof Qa)m={delete:pu(E,h.key)};else if(h instanceof hr)m={update:Ds(E,h.key,h.data),updateMask:_u(h.fieldMask)};else{if(!(h instanceof nd))return Ue();m={verify:pu(E,h.key)}}return h.fieldTransforms.length>0&&(m.updateTransforms=h.fieldTransforms.map(w=>function(g,D){const R=D.transform;if(R instanceof ds)return{fieldPath:D.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(R instanceof Es)return{fieldPath:D.field.canonicalString(),appendMissingElements:{values:R.elements}};if(R instanceof Fr)return{fieldPath:D.field.canonicalString(),removeAllFromArray:{values:R.elements}};if(R instanceof Gr)return{fieldPath:D.field.canonicalString(),increment:R.Pe};throw Ue()}(0,w))),h.precondition.isNone||(m.currentDocument=void 0!==(g=h.precondition).updateTime?{updateTime:Hu(E,g.updateTime)}:void 0!==g.exists?{exists:g.exists}:Ue()),m;var g}(this.serializer,w))};this.a_(m)}}class u1 extends class{}{constructor(h,m,w,I){super(),this.authCredentials=h,this.appCheckCredentials=m,this.connection=w,this.serializer=I,this.y_=!1}w_(){if(this.y_)throw new Ke(mt.FAILED_PRECONDITION,"The client has already been terminated.")}Mo(h,m,w,I){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([g,D])=>this.connection.Mo(h,id(m,w),I,g,D)).catch(g=>{throw"FirebaseError"===g.name?(g.code===mt.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),g):new Ke(mt.UNKNOWN,g.toString())})}Lo(h,m,w,I,g){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([D,R])=>this.connection.Lo(h,id(m,w),I,D,R,g)).catch(D=>{throw"FirebaseError"===D.name?(D.code===mt.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),D):new Ke(mt.UNKNOWN,D.toString())})}terminate(){this.y_=!0,this.connection.terminate()}}class Wl{constructor(h,m){this.asyncQueue=h,this.onlineStateHandler=m,this.state="Unknown",this.S_=0,this.b_=null,this.D_=!0}v_(){0===this.S_&&(this.C_("Unknown"),this.b_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,()=>(this.b_=null,this.F_("Backend didn't respond within 10 seconds."),this.C_("Offline"),Promise.resolve())))}M_(h){"Online"===this.state?this.C_("Unknown"):(this.S_++,this.S_>=1&&(this.x_(),this.F_(`Connection failed 1 times. Most recent error: ${h.toString()}`),this.C_("Offline")))}set(h){this.x_(),this.S_=0,"Online"===h&&(this.D_=!1),this.C_(h)}C_(h){h!==this.state&&(this.state=h,this.onlineStateHandler(h))}F_(h){const m=`Could not reach Cloud Firestore backend. ${h}\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.D_?(X(m),this.D_=!1):z("OnlineStateTracker",m)}x_(){null!==this.b_&&(this.b_.cancel(),this.b_=null)}}class dg{constructor(h,m,w,I,g){var D=this;this.localStore=h,this.datastore=m,this.asyncQueue=w,this.remoteSyncer={},this.O_=[],this.N_=new Map,this.L_=new Set,this.B_=[],this.k_=g,this.k_._o(R=>{w.enqueueAndForget((0,y.A)(function*(){var q;pd(D)&&(z("RemoteStore","Restarting streams for network reachability change."),yield(q=(0,y.A)(function*(xe){const Ze=Mt(xe);Ze.L_.add(4),yield ea(Ze),Ze.q_.set("Unknown"),Ze.L_.delete(4),yield Jd(Ze)}),function ce(xe){return q.apply(this,arguments)})(D))}))}),this.q_=new Wl(w,I)}}function Jd(E){return Od.apply(this,arguments)}function Od(){return(Od=(0,y.A)(function*(E){if(pd(E))for(const h of E.B_)yield h(!0)})).apply(this,arguments)}function ea(E){return qp.apply(this,arguments)}function qp(){return(qp=(0,y.A)(function*(E){for(const h of E.B_)yield h(!1)})).apply(this,arguments)}function Mu(E,h){const m=Mt(E);m.N_.has(h.targetId)||(m.N_.set(h.targetId,h),Ec(m)?Xp(m):_h(m).r_()&&Yc(m,h))}function ph(E,h){const m=Mt(E),w=_h(m);m.N_.delete(h),w.r_()&&d2(m,h),0===m.N_.size&&(w.r_()?w.o_():pd(m)&&m.q_.set("Unknown"))}function Yc(E,h){if(E.Q_.xe(h.targetId),h.resumeToken.approximateByteSize()>0||h.snapshotVersion.compareTo(ei.min())>0){const m=E.remoteSyncer.getRemoteKeysForTarget(h.targetId).size;h=h.withExpectedCount(m)}_h(E).A_(h)}function d2(E,h){E.Q_.xe(h),_h(E).R_(h)}function Xp(E){E.Q_=new Qh({getRemoteKeysForTarget:h=>E.remoteSyncer.getRemoteKeysForTarget(h),ot:h=>E.N_.get(h)||null,tt:()=>E.datastore.serializer.databaseId}),_h(E).start(),E.q_.v_()}function Ec(E){return pd(E)&&!_h(E).n_()&&E.N_.size>0}function pd(E){return 0===Mt(E).L_.size}function Wp(E){E.Q_=void 0}function Kp(E){return h1.apply(this,arguments)}function h1(){return(h1=(0,y.A)(function*(E){E.q_.set("Online")})).apply(this,arguments)}function lc(E){return zd.apply(this,arguments)}function zd(){return(zd=(0,y.A)(function*(E){E.N_.forEach((h,m)=>{Yc(E,h)})})).apply(this,arguments)}function Zo(E,h){return Zd.apply(this,arguments)}function Zd(){return(Zd=(0,y.A)(function*(E,h){Wp(E),Ec(E)?(E.q_.M_(h),Xp(E)):E.q_.set("Unknown")})).apply(this,arguments)}function fh(E,h,m){return u2.apply(this,arguments)}function u2(){return u2=(0,y.A)(function*(E,h,m){if(E.q_.set("Online"),h instanceof $a&&2===h.state&&h.cause)try{yield(w=(0,y.A)(function*(g,D){const R=D.cause;for(const q of D.targetIds)g.N_.has(q)&&(yield g.remoteSyncer.rejectListen(q,R),g.N_.delete(q),g.Q_.removeTarget(q))}),function I(g,D){return w.apply(this,arguments)})(E,h)}catch(w){z("RemoteStore","Failed to remove targets %s: %s ",h.targetIds.join(","),w),yield Qp(E,w)}else if(h instanceof Dl?E.Q_.Ke(h):h instanceof rl?E.Q_.He(h):E.Q_.We(h),!m.isEqual(ei.min()))try{const w=yield W1(E.localStore);m.compareTo(w)>=0&&(yield function(g,D){const R=g.Q_.rt(D);return R.targetChanges.forEach((q,ce)=>{if(q.resumeToken.approximateByteSize()>0){const xe=g.N_.get(ce);xe&&g.N_.set(ce,xe.withResumeToken(q.resumeToken,D))}}),R.targetMismatches.forEach((q,ce)=>{const xe=g.N_.get(q);if(!xe)return;g.N_.set(q,xe.withResumeToken(gr.EMPTY_BYTE_STRING,xe.snapshotVersion)),d2(g,q);const Ze=new ue(xe.target,q,ce,xe.sequenceNumber);Yc(g,Ze)}),g.remoteSyncer.applyRemoteEvent(R)}(E,m))}catch(w){z("RemoteStore","Failed to raise snapshot:",w),yield Qp(E,w)}var w}),u2.apply(this,arguments)}function Qp(E,h,m){return Of.apply(this,arguments)}function Of(){return(Of=(0,y.A)(function*(E,h,m){if(!xt(h))throw h;E.L_.add(1),yield ea(E),E.q_.set("Offline"),m||(m=()=>W1(E.localStore)),E.asyncQueue.enqueueRetryable((0,y.A)(function*(){z("RemoteStore","Retrying IndexedDB access"),yield m(),E.L_.delete(1),yield Jd(E)}))})).apply(this,arguments)}function zf(E,h){return h().catch(m=>Qp(E,m,h))}function p1(E){return op.apply(this,arguments)}function op(){return(op=(0,y.A)(function*(E){const h=Mt(E),m=yh(h);let w=h.O_.length>0?h.O_[h.O_.length-1].batchId:-1;for(;mh(h);)try{const I=yield e2(h.localStore,w);if(null===I){0===h.O_.length&&m.o_();break}w=I.batchId,ug(h,I)}catch(I){yield Qp(h,I)}h2(h)&&Nf(h)})).apply(this,arguments)}function mh(E){return pd(E)&&E.O_.length<10}function ug(E,h){E.O_.push(h);const m=yh(E);m.r_()&&m.V_&&m.m_(h.mutations)}function h2(E){return pd(E)&&!yh(E).n_()&&E.O_.length>0}function Nf(E){yh(E).start()}function hg(E){return Jp.apply(this,arguments)}function Jp(){return(Jp=(0,y.A)(function*(E){yh(E).p_()})).apply(this,arguments)}function $n(E){return fr.apply(this,arguments)}function fr(){return(fr=(0,y.A)(function*(E){const h=yh(E);for(const m of E.O_)h.m_(m.mutations)})).apply(this,arguments)}function gh(E,h,m){return vh.apply(this,arguments)}function vh(){return(vh=(0,y.A)(function*(E,h,m){const w=E.O_.shift(),I=je.from(w,h,m);yield zf(E,()=>E.remoteSyncer.applySuccessfulWrite(I)),yield p1(E)})).apply(this,arguments)}function ys(E,h){return Zp.apply(this,arguments)}function Zp(){return Zp=(0,y.A)(function*(E,h){var m;h&&yh(E).V_&&(yield(m=(0,y.A)(function*(I,g){if(function Xi(E){switch(E){default:return Ue();case mt.CANCELLED:case mt.UNKNOWN:case mt.DEADLINE_EXCEEDED:case mt.RESOURCE_EXHAUSTED:case mt.INTERNAL:case mt.UNAVAILABLE:case mt.UNAUTHENTICATED:return!1;case mt.INVALID_ARGUMENT:case mt.NOT_FOUND:case mt.ALREADY_EXISTS:case mt.PERMISSION_DENIED:case mt.FAILED_PRECONDITION:case mt.ABORTED:case mt.OUT_OF_RANGE:case mt.UNIMPLEMENTED:case mt.DATA_LOSS:return!0}}(R=g.code)&&R!==mt.ABORTED){const D=I.O_.shift();yh(I).s_(),yield zf(I,()=>I.remoteSyncer.rejectFailedWrite(D.batchId,g)),yield p1(I)}var R}),function w(I,g){return m.apply(this,arguments)})(E,h)),h2(E)&&Nf(E)}),Zp.apply(this,arguments)}function xu(E,h){return qc.apply(this,arguments)}function qc(){return(qc=(0,y.A)(function*(E,h){const m=Mt(E);m.asyncQueue.verifyOperationInProgress(),z("RemoteStore","RemoteStore received new credentials");const w=pd(m);m.L_.add(3),yield ea(m),w&&m.q_.set("Unknown"),yield m.remoteSyncer.handleCredentialChange(h),m.L_.delete(3),yield Jd(m)})).apply(this,arguments)}function rp(E,h){return cc.apply(this,arguments)}function cc(){return(cc=(0,y.A)(function*(E,h){const m=Mt(E);h?(m.L_.delete(2),yield Jd(m)):h||(m.L_.add(2),yield ea(m),m.q_.set("Unknown"))})).apply(this,arguments)}function _h(E){return E.K_||(E.K_=function(m,w,I){const g=Mt(m);return g.w_(),new Br(w,g.connection,g.authCredentials,g.appCheckCredentials,g.serializer,I)}(E.datastore,E.asyncQueue,{Eo:Kp.bind(null,E),Ro:lc.bind(null,E),mo:Zo.bind(null,E),d_:fh.bind(null,E)}),E.B_.push(function(){var h=(0,y.A)(function*(m){m?(E.K_.s_(),Ec(E)?Xp(E):E.q_.set("Unknown")):(yield E.K_.stop(),Wp(E))});return function(m){return h.apply(this,arguments)}}())),E.K_}function yh(E){return E.U_||(E.U_=function(m,w,I){const g=Mt(m);return g.w_(),new ip(w,g.connection,g.authCredentials,g.appCheckCredentials,g.serializer,I)}(E.datastore,E.asyncQueue,{Eo:()=>Promise.resolve(),Ro:hg.bind(null,E),mo:ys.bind(null,E),f_:$n.bind(null,E),g_:gh.bind(null,E)}),E.B_.push(function(){var h=(0,y.A)(function*(m){m?(E.U_.s_(),yield p1(E)):(yield E.U_.stop(),E.O_.length>0&&(z("RemoteStore",`Stopping write stream with ${E.O_.length} pending writes`),E.O_=[]))});return function(m){return h.apply(this,arguments)}}())),E.U_}class p2{constructor(h,m,w,I,g){this.asyncQueue=h,this.timerId=m,this.targetTimeMs=w,this.op=I,this.removalCallback=g,this.deferred=new Xe,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(D=>{})}get promise(){return this.deferred.promise}static createAndSchedule(h,m,w,I,g){const D=Date.now()+w,R=new p2(h,m,D,I,g);return R.start(w),R}start(h){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),h)}skipDelay(){return this.handleDelayElapsed()}cancel(h){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new Ke(mt.CANCELLED,"Operation cancelled"+(h?": "+h:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then(h=>this.deferred.resolve(h))):Promise.resolve())}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function bh(E,h){if(X("AsyncQueue",`${h}: ${E}`),xt(E))return new Ke(mt.UNAVAILABLE,`${h}: ${E}`);throw E}class Ch{constructor(h){this.comparator=h?(m,w)=>h(m,w)||He.comparator(m.key,w.key):(m,w)=>He.comparator(m.key,w.key),this.keyedMap=Je(),this.sortedSet=new Oi(this.comparator)}static emptySet(h){return new Ch(h.comparator)}has(h){return null!=this.keyedMap.get(h)}get(h){return this.keyedMap.get(h)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(h){const m=this.keyedMap.get(h);return m?this.sortedSet.indexOf(m):-1}get size(){return this.sortedSet.size}forEach(h){this.sortedSet.inorderTraversal((m,w)=>(h(m),!1))}add(h){const m=this.delete(h.key);return m.copy(m.keyedMap.insert(h.key,h),m.sortedSet.insert(h,null))}delete(h){const m=this.get(h);return m?this.copy(this.keyedMap.remove(h),this.sortedSet.remove(m)):this}isEqual(h){if(!(h instanceof Ch)||this.size!==h.size)return!1;const m=this.sortedSet.getIterator(),w=h.sortedSet.getIterator();for(;m.hasNext();){const I=m.getNext().key,g=w.getNext().key;if(!I.isEqual(g))return!1}return!0}toString(){const h=[];return this.forEach(m=>{h.push(m.toString())}),0===h.length?"DocumentSet ()":"DocumentSet (\n  "+h.join("  \n")+"\n)"}copy(h,m){const w=new Ch;return w.comparator=this.comparator,w.keyedMap=h,w.sortedSet=m,w}}class e0{constructor(){this.W_=new Oi(He.comparator)}track(h){const m=h.doc.key,w=this.W_.get(m);w?0!==h.type&&3===w.type?this.W_=this.W_.insert(m,h):3===h.type&&1!==w.type?this.W_=this.W_.insert(m,{type:w.type,doc:h.doc}):2===h.type&&2===w.type?this.W_=this.W_.insert(m,{type:2,doc:h.doc}):2===h.type&&0===w.type?this.W_=this.W_.insert(m,{type:0,doc:h.doc}):1===h.type&&0===w.type?this.W_=this.W_.remove(m):1===h.type&&2===w.type?this.W_=this.W_.insert(m,{type:1,doc:w.doc}):0===h.type&&1===w.type?this.W_=this.W_.insert(m,{type:2,doc:h.doc}):Ue():this.W_=this.W_.insert(m,h)}G_(){const h=[];return this.W_.inorderTraversal((m,w)=>{h.push(w)}),h}}class pa{constructor(h,m,w,I,g,D,R,q,ce){this.query=h,this.docs=m,this.oldDocs=w,this.docChanges=I,this.mutatedKeys=g,this.fromCache=D,this.syncStateChanged=R,this.excludesMetadataChanges=q,this.hasCachedResults=ce}static fromInitialDocuments(h,m,w,I,g){const D=[];return m.forEach(R=>{D.push({type:0,doc:R})}),new pa(h,m,Ch.emptySet(m),D,w,I,!0,!1,g)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(h){if(!(this.fromCache===h.fromCache&&this.hasCachedResults===h.hasCachedResults&&this.syncStateChanged===h.syncStateChanged&&this.mutatedKeys.isEqual(h.mutatedKeys)&&li(this.query,h.query)&&this.docs.isEqual(h.docs)&&this.oldDocs.isEqual(h.oldDocs)))return!1;const m=this.docChanges,w=h.docChanges;if(m.length!==w.length)return!1;for(let I=0;I<m.length;I++)if(m[I].type!==w[I].type||!m[I].doc.isEqual(w[I].doc))return!1;return!0}}class Xr{constructor(){this.z_=void 0,this.j_=[]}H_(){return this.j_.some(h=>h.J_())}}class f2{constructor(){this.queries=dc(),this.onlineState="Unknown",this.Y_=new Set}terminate(){!function(m,w){const I=Mt(m),g=I.queries;I.queries=dc(),g.forEach((D,R)=>{for(const q of R.j_)q.onError(w)})}(this,new Ke(mt.ABORTED,"Firestore shutting down"))}}function dc(){return new nl(E=>Yr(E),li)}function Xc(E,h){return m2.apply(this,arguments)}function m2(){return(m2=(0,y.A)(function*(E,h){const m=Mt(E);let w=3;const I=h.query;let g=m.queries.get(I);g?!g.H_()&&h.J_()&&(w=2):(g=new Xr,w=h.J_()?0:1);try{switch(w){case 0:g.z_=yield m.onListen(I,!0);break;case 1:g.z_=yield m.onListen(I,!1);break;case 2:yield m.onFirstRemoteStoreListen(I)}}catch(D){const R=bh(D,`Initialization of query '${Ir(h.query)}' failed`);return void h.onError(R)}m.queries.set(I,g),g.j_.push(h),h.Z_(m.onlineState),g.z_&&h.X_(g.z_)&&ne(m)})).apply(this,arguments)}function t0(E,h){return Q.apply(this,arguments)}function Q(){return(Q=(0,y.A)(function*(E,h){const m=Mt(E),w=h.query;let I=3;const g=m.queries.get(w);if(g){const D=g.j_.indexOf(h);D>=0&&(g.j_.splice(D,1),0===g.j_.length?I=h.J_()?0:1:!g.H_()&&h.J_()&&(I=2))}switch(I){case 0:return m.queries.delete(w),m.onUnlisten(w,!0);case 1:return m.queries.delete(w),m.onUnlisten(w,!1);case 2:return m.onLastRemoteStoreUnlisten(w);default:return}})).apply(this,arguments)}function N(E,h){const m=Mt(E);let w=!1;for(const I of h){const D=m.queries.get(I.query);if(D){for(const R of D.j_)R.X_(I)&&(w=!0);D.z_=I}}w&&ne(m)}function G(E,h,m){const w=Mt(E),I=w.queries.get(h);if(I)for(const g of I.j_)g.onError(m);w.queries.delete(h)}function ne(E){E.Y_.forEach(h=>{h.next()})}var Fe,st;(st=Fe||(Fe={})).ea="default",st.Cache="cache";class on{constructor(h,m,w){this.query=h,this.ta=m,this.na=!1,this.ra=null,this.onlineState="Unknown",this.options=w||{}}X_(h){if(!this.options.includeMetadataChanges){const w=[];for(const I of h.docChanges)3!==I.type&&w.push(I);h=new pa(h.query,h.docs,h.oldDocs,w,h.mutatedKeys,h.fromCache,h.syncStateChanged,!0,h.hasCachedResults)}let m=!1;return this.na?this.ia(h)&&(this.ta.next(h),m=!0):this.sa(h,this.onlineState)&&(this.oa(h),m=!0),this.ra=h,m}onError(h){this.ta.error(h)}Z_(h){this.onlineState=h;let m=!1;return this.ra&&!this.na&&this.sa(this.ra,h)&&(this.oa(this.ra),m=!0),m}sa(h,m){return!h.fromCache||!this.J_()||(!this.options._a||!("Offline"!==m))&&(!h.docs.isEmpty()||h.hasCachedResults||"Offline"===m)}ia(h){return h.docChanges.length>0||!!(h.syncStateChanged||this.ra&&this.ra.hasPendingWrites!==h.hasPendingWrites)&&!0===this.options.includeMetadataChanges}oa(h){h=pa.fromInitialDocuments(h.query,h.docs,h.mutatedKeys,h.fromCache,h.hasCachedResults),this.na=!0,this.ta.next(h)}J_(){return this.options.source!==Fe.Cache}}class Dr{constructor(h){this.key=h}}class al{constructor(h){this.key=h}}class Wc{constructor(h,m){this.query=h,this.Ta=m,this.Ea=null,this.hasCachedResults=!1,this.current=!1,this.da=St(),this.mutatedKeys=St(),this.Aa=Pc(h),this.Ra=new Ch(this.Aa)}get Va(){return this.Ta}ma(h,m){const w=m?m.fa:new e0,I=m?m.Ra:this.Ra;let g=m?m.mutatedKeys:this.mutatedKeys,D=I,R=!1;const q="F"===this.query.limitType&&I.size===this.query.limit?I.last():null,ce="L"===this.query.limitType&&I.size===this.query.limit?I.first():null;if(h.inorderTraversal((xe,Ze)=>{const It=I.get(xe),Kt=Go(this.query,Ze)?Ze:null,Tn=!!It&&this.mutatedKeys.has(It.key),Yn=!!Kt&&(Kt.hasLocalMutations||this.mutatedKeys.has(Kt.key)&&Kt.hasCommittedMutations);let Un=!1;It&&Kt?It.data.isEqual(Kt.data)?Tn!==Yn&&(w.track({type:3,doc:Kt}),Un=!0):this.ga(It,Kt)||(w.track({type:2,doc:Kt}),Un=!0,(q&&this.Aa(Kt,q)>0||ce&&this.Aa(Kt,ce)<0)&&(R=!0)):!It&&Kt?(w.track({type:0,doc:Kt}),Un=!0):It&&!Kt&&(w.track({type:1,doc:It}),Un=!0,(q||ce)&&(R=!0)),Un&&(Kt?(D=D.add(Kt),g=Yn?g.add(xe):g.delete(xe)):(D=D.delete(xe),g=g.delete(xe)))}),null!==this.query.limit)for(;D.size>this.query.limit;){const xe="F"===this.query.limitType?D.last():D.first();D=D.delete(xe.key),g=g.delete(xe.key),w.track({type:1,doc:xe})}return{Ra:D,fa:w,ns:R,mutatedKeys:g}}ga(h,m){return h.hasLocalMutations&&m.hasCommittedMutations&&!m.hasLocalMutations}applyChanges(h,m,w,I){const g=this.Ra;this.Ra=h.Ra,this.mutatedKeys=h.mutatedKeys;const D=h.fa.G_();D.sort((xe,Ze)=>function(Kt,Tn){const Yn=Un=>{switch(Un){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Ue()}};return Yn(Kt)-Yn(Tn)}(xe.type,Ze.type)||this.Aa(xe.doc,Ze.doc)),this.pa(w),I=null!=I&&I;const R=m&&!I?this.ya():[],q=0===this.da.size&&this.current&&!I?1:0,ce=q!==this.Ea;return this.Ea=q,0!==D.length||ce?{snapshot:new pa(this.query,h.Ra,g,D,h.mutatedKeys,0===q,ce,!1,!!w&&w.resumeToken.approximateByteSize()>0),wa:R}:{wa:R}}Z_(h){return this.current&&"Offline"===h?(this.current=!1,this.applyChanges({Ra:this.Ra,fa:new e0,mutatedKeys:this.mutatedKeys,ns:!1},!1)):{wa:[]}}Sa(h){return!this.Ta.has(h)&&!!this.Ra.has(h)&&!this.Ra.get(h).hasLocalMutations}pa(h){h&&(h.addedDocuments.forEach(m=>this.Ta=this.Ta.add(m)),h.modifiedDocuments.forEach(m=>{}),h.removedDocuments.forEach(m=>this.Ta=this.Ta.delete(m)),this.current=h.current)}ya(){if(!this.current)return[];const h=this.da;this.da=St(),this.Ra.forEach(w=>{this.Sa(w.key)&&(this.da=this.da.add(w.key))});const m=[];return h.forEach(w=>{this.da.has(w)||m.push(new al(w))}),this.da.forEach(w=>{h.has(w)||m.push(new Dr(w))}),m}ba(h){this.Ta=h.Ts,this.da=St();const m=this.ma(h.documents);return this.applyChanges(m,!0)}Da(){return pa.fromInitialDocuments(this.query,this.Ra,this.mutatedKeys,0===this.Ea,this.hasCachedResults)}}class wh{constructor(h,m,w){this.query=h,this.targetId=m,this.view=w}}class ll{constructor(h){this.key=h,this.va=!1}}class fd{constructor(h,m,w,I,g,D){this.localStore=h,this.remoteStore=m,this.eventManager=w,this.sharedClientState=I,this.currentUser=g,this.maxConcurrentLimboResolutions=D,this.Ca={},this.Fa=new nl(R=>Yr(R),li),this.Ma=new Map,this.xa=new Set,this.Oa=new Oi(He.comparator),this.Na=new Map,this.La=new Sc,this.Ba={},this.ka=new Map,this.qa=vo.kn(),this.onlineState="Unknown",this.Qa=void 0}get isPrimaryClient(){return!0===this.Qa}}function ta(E,h){return sp.apply(this,arguments)}function sp(){return(sp=(0,y.A)(function*(E,h,m=!0){const w=gd(E);let I;const g=w.Fa.get(h);return g?(w.sharedClientState.addLocalQueryTarget(g.targetId),I=g.view.Da()):I=yield n0(w,h,m,!0),I})).apply(this,arguments)}function g2(E,h){return Th.apply(this,arguments)}function Th(){return(Th=(0,y.A)(function*(E,h){const m=gd(E);yield n0(m,h,!0,!1)})).apply(this,arguments)}function n0(E,h,m,w){return Ga.apply(this,arguments)}function Ga(){return(Ga=(0,y.A)(function*(E,h,m,w){const I=yield function Dd(E,h){const m=Mt(E);return m.persistence.runTransaction("Allocate target","readwrite",w=>{let I;return m.Ur.getTargetData(w,h).next(g=>g?(I=g,Yt.resolve(I)):m.Ur.allocateTargetId(w).next(D=>(I=new ue(h,D,"TargetPurposeListen",w.currentSequenceNumber),m.Ur.addTargetData(w,I).next(()=>I))))}).then(w=>{const I=m.os.get(w.targetId);return(null===I||w.snapshotVersion.compareTo(I.snapshotVersion)>0)&&(m.os=m.os.insert(w.targetId,w),m._s.set(h,w.targetId)),w})}(E.localStore,Qe(h)),g=I.targetId,D=E.sharedClientState.addLocalQueryTarget(g,m);let R;return w&&(R=yield function f1(E,h,m,w,I){return Sh.apply(this,arguments)}(E,h,g,"current"===D,I.resumeToken)),E.isPrimaryClient&&m&&Mu(E.remoteStore,I),R})).apply(this,arguments)}function Sh(){return Sh=(0,y.A)(function*(E,h,m,w,I){E.Ka=(Ze,It,Kt)=>{return(Tn=(0,y.A)(function*(Un,Ti,ji,Pi){let Wi=Ti.view.ma(ji);Wi.ns&&(Wi=yield s1(Un.localStore,Ti.query,!1).then(({documents:Bt})=>Ti.view.ma(Bt,Wi)));const To=Pi&&Pi.targetChanges.get(Ti.targetId),po=Pi&&null!=Pi.targetMismatches.get(Ti.targetId),Jt=Ti.view.applyChanges(Wi,Un.isPrimaryClient,To,po);return g1(Un,Ti.targetId,Jt.wa),Jt.snapshot}),function Yn(Un,Ti,ji,Pi){return Tn.apply(this,arguments)})(E,Ze,It,Kt);var Tn};const g=yield s1(E.localStore,h,!0),D=new Wc(h,g.Ts),R=D.ma(g.documents),q=ol.createSynthesizedTargetChangeForCurrentChange(m,w&&"Offline"!==E.onlineState,I),ce=D.applyChanges(R,E.isPrimaryClient,q);g1(E,m,ce.wa);const xe=new wh(h,m,D);return E.Fa.set(h,xe),E.Ma.has(m)?E.Ma.get(m).push(h):E.Ma.set(m,[h]),ce.snapshot}),Sh.apply(this,arguments)}function md(E,h,m){return v2.apply(this,arguments)}function v2(){return(v2=(0,y.A)(function*(E,h,m){const w=Mt(E),I=w.Fa.get(h),g=w.Ma.get(I.targetId);if(g.length>1)return w.Ma.set(I.targetId,g.filter(D=>!li(D,h))),void w.Fa.delete(h);w.isPrimaryClient?(w.sharedClientState.removeLocalQueryTarget(I.targetId),w.sharedClientState.isActiveQueryTarget(I.targetId)||(yield Qd(w.localStore,I.targetId,!1).then(()=>{w.sharedClientState.clearQueryState(I.targetId),m&&ph(w.remoteStore,I.targetId),kh(w,I.targetId)}).catch(Di))):(kh(w,I.targetId),yield Qd(w.localStore,I.targetId,!0))})).apply(this,arguments)}function ap(E,h){return o0.apply(this,arguments)}function o0(){return(o0=(0,y.A)(function*(E,h){const m=Mt(E),w=m.Fa.get(h),I=m.Ma.get(w.targetId);m.isPrimaryClient&&1===I.length&&(m.sharedClientState.removeLocalQueryTarget(w.targetId),ph(m.remoteStore,w.targetId))})).apply(this,arguments)}function Rf(){return(Rf=(0,y.A)(function*(E,h,m){const w=function Dc(E){const h=Mt(E);return h.remoteStore.remoteSyncer.applySuccessfulWrite=fg.bind(null,h),h.remoteStore.remoteSyncer.rejectFailedWrite=mg.bind(null,h),h}(E);try{const I=yield function(D,R){const q=Mt(D),ce=fi.now(),xe=R.reduce((Kt,Tn)=>Kt.add(Tn.key),St());let Ze,It;return q.persistence.runTransaction("Locally write mutations","readwrite",Kt=>{let Tn=ba(),Yn=St();return q.cs.getEntries(Kt,xe).next(Un=>{Tn=Un,Tn.forEach((Ti,ji)=>{ji.isValidDocument()||(Yn=Yn.add(Ti))})}).next(()=>q.localDocuments.getOverlayedDocuments(Kt,Tn)).next(Un=>{Ze=Un;const Ti=[];for(const ji of R){const Pi=Ii(ji,Ze.get(ji.key).overlayedDocument);null!=Pi&&Ti.push(new hr(ji.key,Pi,Ks(Pi.value.mapValue),jr.exists(!0)))}return q.mutationQueue.addMutationBatch(Kt,ce,Ti,R)}).next(Un=>{It=Un;const Ti=Un.applyToLocalDocumentSet(Ze,Yn);return q.documentOverlayCache.saveOverlays(Kt,Un.batchId,Ti)})}).then(()=>({batchId:It.batchId,changes:J(Ze)}))}(w.localStore,h);w.sharedClientState.addPendingMutation(I.batchId),function(D,R,q){let ce=D.Ba[D.currentUser.toKey()];ce||(ce=new Oi(Rn)),ce=ce.insert(R,q),D.Ba[D.currentUser.toKey()]=ce}(w,I.batchId,m),yield Mc(w,I.changes),yield p1(w.remoteStore)}catch(I){const g=bh(I,"Failed to persist write");m.reject(g)}})).apply(this,arguments)}function _2(E,h){return pg.apply(this,arguments)}function pg(){return(pg=(0,y.A)(function*(E,h){const m=Mt(E);try{const w=yield function r1(E,h){const m=Mt(E),w=h.snapshotVersion;let I=m.os;return m.persistence.runTransaction("Apply remote event","readwrite-primary",g=>{const D=m.cs.newChangeBuffer({trackRemovals:!0});I=m.os;const R=[];h.targetChanges.forEach((xe,Ze)=>{const It=I.get(Ze);if(!It)return;R.push(m.Ur.removeMatchingKeys(g,xe.removedDocuments,Ze).next(()=>m.Ur.addMatchingKeys(g,xe.addedDocuments,Ze)));let Kt=It.withSequenceNumber(g.currentSequenceNumber);var Yn,Un,Ti;null!==h.targetMismatches.get(Ze)?Kt=Kt.withResumeToken(gr.EMPTY_BYTE_STRING,ei.min()).withLastLimboFreeSnapshotVersion(ei.min()):xe.resumeToken.approximateByteSize()>0&&(Kt=Kt.withResumeToken(xe.resumeToken,w)),I=I.insert(Ze,Kt),Un=Kt,Ti=xe,(0===(Yn=It).resumeToken.approximateByteSize()||Un.snapshotVersion.toMicroseconds()-Yn.snapshotVersion.toMicroseconds()>=3e8||Ti.addedDocuments.size+Ti.modifiedDocuments.size+Ti.removedDocuments.size>0)&&R.push(m.Ur.updateTargetData(g,Kt))});let q=ba(),ce=St();if(h.documentUpdates.forEach(xe=>{h.resolvedLimboDocuments.has(xe)&&R.push(m.persistence.referenceDelegate.updateLimboDocument(g,xe))}),R.push(function Kd(E,h,m){let w=St(),I=St();return m.forEach(g=>w=w.add(g)),h.getEntries(E,w).next(g=>{let D=ba();return m.forEach((R,q)=>{const ce=g.get(R);q.isFoundDocument()!==ce.isFoundDocument()&&(I=I.add(R)),q.isNoDocument()&&q.version.isEqual(ei.min())?(h.removeEntry(R,q.readTime),D=D.insert(R,q)):!ce.isValidDocument()||q.version.compareTo(ce.version)>0||0===q.version.compareTo(ce.version)&&ce.hasPendingWrites?(h.addEntry(q),D=D.insert(R,q)):z("LocalStore","Ignoring outdated watch update for ",R,". Current version:",ce.version," Watch version:",q.version)}),{Ps:D,Is:I}})}(g,D,h.documentUpdates).next(xe=>{q=xe.Ps,ce=xe.Is})),!w.isEqual(ei.min())){const xe=m.Ur.getLastRemoteSnapshotVersion(g).next(Ze=>m.Ur.setTargetsMetadata(g,g.currentSequenceNumber,w));R.push(xe)}return Yt.waitFor(R).next(()=>D.apply(g)).next(()=>m.localDocuments.getLocalViewOfDocuments(g,q,ce)).next(()=>q)}).then(g=>(m.os=I,g))}(m.localStore,h);h.targetChanges.forEach((I,g)=>{const D=m.Na.get(g);D&&(zt(I.addedDocuments.size+I.modifiedDocuments.size+I.removedDocuments.size<=1),I.addedDocuments.size>0?D.va=!0:I.modifiedDocuments.size>0?zt(D.va):I.removedDocuments.size>0&&(zt(D.va),D.va=!1))}),yield Mc(m,w,h)}catch(w){yield Di(w)}})).apply(this,arguments)}function Pf(E,h,m){const w=Mt(E);if(w.isPrimaryClient&&0===m||!w.isPrimaryClient&&1===m){const I=[];w.Fa.forEach((g,D)=>{const R=D.view.Z_(h);R.snapshot&&I.push(R.snapshot)}),function(D,R){const q=Mt(D);q.onlineState=R;let ce=!1;q.queries.forEach((xe,Ze)=>{for(const It of Ze.j_)It.Z_(R)&&(ce=!0)}),ce&&ne(q)}(w.eventManager,h),I.length&&w.Ca.d_(I),w.onlineState=h,w.isPrimaryClient&&w.sharedClientState.setOnlineState(h)}}function r0(E,h,m){return eu.apply(this,arguments)}function eu(){return(eu=(0,y.A)(function*(E,h,m){const w=Mt(E);w.sharedClientState.updateQueryState(h,"rejected",m);const I=w.Na.get(h),g=I&&I.key;if(g){let D=new Oi(He.comparator);D=D.insert(g,Ar.newNoDocument(g,ei.min()));const R=St().add(g),q=new il(ei.min(),new Map,new Oi(Rn),D,R);yield _2(w,q),w.Oa=w.Oa.remove(g),w.Na.delete(h),b2(w)}else yield Qd(w.localStore,h,!1).then(()=>kh(w,h,m)).catch(Di)})).apply(this,arguments)}function fg(E,h){return y2.apply(this,arguments)}function y2(){return(y2=(0,y.A)(function*(E,h){const m=Mt(E),w=h.batch.batchId;try{const I=yield function o1(E,h){const m=Mt(E);return m.persistence.runTransaction("Acknowledge batch","readwrite-primary",w=>{const I=h.batch.keys(),g=m.cs.newChangeBuffer({trackRemovals:!0});return function(R,q,ce,xe){const Ze=ce.batch,It=Ze.keys();let Kt=Yt.resolve();return It.forEach(Tn=>{Kt=Kt.next(()=>xe.getEntry(q,Tn)).next(Yn=>{const Un=ce.docVersions.get(Tn);zt(null!==Un),Yn.version.compareTo(Un)<0&&(Ze.applyToRemoteDocument(Yn,ce),Yn.isValidDocument()&&(Yn.setReadTime(ce.commitVersion),xe.addEntry(Yn)))})}),Kt.next(()=>R.mutationQueue.removeMutationBatch(q,Ze))}(m,w,h,g).next(()=>g.apply(w)).next(()=>m.mutationQueue.performConsistencyCheck(w)).next(()=>m.documentOverlayCache.removeOverlaysForBatchId(w,I,h.batch.batchId)).next(()=>m.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(w,function(R){let q=St();for(let ce=0;ce<R.mutationResults.length;++ce)R.mutationResults[ce].transformResults.length>0&&(q=q.add(R.batch.mutations[ce].key));return q}(h))).next(()=>m.localDocuments.getDocuments(w,I))})}(m.localStore,h);Q4(m,w,null),lp(m,w),m.sharedClientState.updateMutationState(w,"acknowledged"),yield Mc(m,I)}catch(I){yield Di(I)}})).apply(this,arguments)}function mg(E,h,m){return gg.apply(this,arguments)}function gg(){return(gg=(0,y.A)(function*(E,h,m){const w=Mt(E);try{const I=yield function(D,R){const q=Mt(D);return q.persistence.runTransaction("Reject batch","readwrite-primary",ce=>{let xe;return q.mutationQueue.lookupMutationBatch(ce,R).next(Ze=>(zt(null!==Ze),xe=Ze.keys(),q.mutationQueue.removeMutationBatch(ce,Ze))).next(()=>q.mutationQueue.performConsistencyCheck(ce)).next(()=>q.documentOverlayCache.removeOverlaysForBatchId(ce,xe,R)).next(()=>q.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(ce,xe)).next(()=>q.localDocuments.getDocuments(ce,xe))})}(w.localStore,h);Q4(w,h,m),lp(w,h),w.sharedClientState.updateMutationState(h,"rejected",m),yield Mc(w,I)}catch(I){yield Di(I)}})).apply(this,arguments)}function lp(E,h){(E.ka.get(h)||[]).forEach(m=>{m.resolve()}),E.ka.delete(h)}function Q4(E,h,m){const w=Mt(E);let I=w.Ba[w.currentUser.toKey()];if(I){const g=I.get(h);g&&(m?g.reject(m):g.resolve(),I=I.remove(h)),w.Ba[w.currentUser.toKey()]=I}}function kh(E,h,m=null){E.sharedClientState.removeLocalQueryTarget(h);for(const w of E.Ma.get(h))E.Fa.delete(w),m&&E.Ca.$a(w,m);E.Ma.delete(h),E.isPrimaryClient&&E.La.gr(h).forEach(w=>{E.La.containsKey(w)||m1(E,w)})}function m1(E,h){E.xa.delete(h.path.canonicalString());const m=E.Oa.get(h);null!==m&&(ph(E.remoteStore,m),E.Oa=E.Oa.remove(h),E.Na.delete(m),b2(E))}function g1(E,h,m){for(const w of m)w instanceof Dr?(E.La.addReference(w.key,h),s0(E,w)):w instanceof al?(z("SyncEngine","Document no longer in limbo: "+w.key),E.La.removeReference(w.key,h),E.La.containsKey(w.key)||m1(E,w.key)):Ue()}function s0(E,h){const m=h.key,w=m.path.canonicalString();E.Oa.get(m)||E.xa.has(w)||(z("SyncEngine","New document in limbo: "+m),E.xa.add(w),b2(E))}function b2(E){for(;E.xa.size>0&&E.Oa.size<E.maxConcurrentLimboResolutions;){const h=E.xa.values().next().value;E.xa.delete(h);const m=new He(En.fromString(h)),w=E.qa.next();E.Na.set(w,new ll(m)),E.Oa=E.Oa.insert(m,w),Mu(E.remoteStore,new ue(Qe(Ka(m.path)),w,"TargetPurposeLimboResolution",Et.oe))}}function Mc(E,h,m){return Ff.apply(this,arguments)}function Ff(){return Ff=(0,y.A)(function*(E,h,m){const w=Mt(E),I=[],g=[],D=[];var R;w.Fa.isEmpty()||(w.Fa.forEach((R,q)=>{D.push(w.Ka(q,h,m).then(ce=>{var xe;if((ce||m)&&w.isPrimaryClient){const Ze=ce?!ce.fromCache:null===(xe=m?.targetChanges.get(q.targetId))||void 0===xe?void 0:xe.current;w.sharedClientState.updateQueryState(q.targetId,Ze?"current":"not-current")}if(ce){I.push(ce);const Ze=ch.Wi(q.targetId,ce);g.push(Ze)}}))}),yield Promise.all(D),w.Ca.d_(I),yield(R=(0,y.A)(function*(ce,xe){const Ze=Mt(ce);try{yield Ze.persistence.runTransaction("notifyLocalViewChanges","readwrite",It=>Yt.forEach(xe,Kt=>Yt.forEach(Kt.$i,Tn=>Ze.persistence.referenceDelegate.addReference(It,Kt.targetId,Tn)).next(()=>Yt.forEach(Kt.Ui,Tn=>Ze.persistence.referenceDelegate.removeReference(It,Kt.targetId,Tn)))))}catch(It){if(!xt(It))throw It;z("LocalStore","Failed to update sequence numbers: "+It)}for(const It of xe){const Kt=It.targetId;if(!It.fromCache){const Tn=Ze.os.get(Kt),Un=Tn.withLastLimboFreeSnapshotVersion(Tn.snapshotVersion);Ze.os=Ze.os.insert(Kt,Un)}}}),function q(ce,xe){return R.apply(this,arguments)})(w.localStore,g))}),Ff.apply(this,arguments)}function Lf(E,h){return a0.apply(this,arguments)}function a0(){return(a0=(0,y.A)(function*(E,h){const m=Mt(E);if(!m.currentUser.isEqual(h)){z("SyncEngine","User change. New user:",h.toKey());const w=yield Ku(m.localStore,h);m.currentUser=h,(g=m).ka.forEach(R=>{R.forEach(q=>{q.reject(new Ke(mt.CANCELLED,"'waitForPendingWrites' promise is rejected due to a user change."))})}),g.ka.clear(),m.sharedClientState.handleUserChange(h,w.removedBatchIds,w.addedBatchIds),yield Mc(m,w.hs)}var g})).apply(this,arguments)}function Sv(E,h){const m=Mt(E),w=m.Na.get(h);if(w&&w.va)return St().add(w.key);{let I=St();const g=m.Ma.get(h);if(!g)return I;for(const D of g){const R=m.Fa.get(D);I=I.unionWith(R.view.Va)}return I}}function gd(E){const h=Mt(E);return h.remoteStore.remoteSyncer.applyRemoteEvent=_2.bind(null,h),h.remoteStore.remoteSyncer.getRemoteKeysForTarget=Sv.bind(null,h),h.remoteStore.remoteSyncer.rejectListen=r0.bind(null,h),h.Ca.d_=N.bind(null,h.eventManager),h.Ca.$a=G.bind(null,h.eventManager),h}class nu{constructor(){this.synchronizeTabs=!1}initialize(h){var m=this;return(0,y.A)(function*(){m.serializer=Xl(h.databaseInfo.databaseId),m.sharedClientState=m.createSharedClientState(h),m.persistence=m.createPersistence(h),yield m.persistence.start(),m.localStore=m.createLocalStore(h),m.gcScheduler=m.createGarbageCollectionScheduler(h,m.localStore),m.indexBackfillerScheduler=m.createIndexBackfillerScheduler(h,m.localStore)})()}createGarbageCollectionScheduler(h,m){return null}createIndexBackfillerScheduler(h,m){return null}createLocalStore(h){return function Wd(E,h,m,w){return new Eu(E,h,m,w)}(this.persistence,new Na,h.initialUser,this.serializer)}createPersistence(h){return new q1(Cl.Zr,this.serializer)}createSharedClientState(h){return new l2}terminate(){var h=this;return(0,y.A)(function*(){var m,w;null===(m=h.gcScheduler)||void 0===m||m.stop(),null===(w=h.indexBackfillerScheduler)||void 0===w||w.stop(),h.sharedClientState.shutdown(),yield h.persistence.shutdown()})()}}class Aa{initialize(h,m){var w=this;return(0,y.A)(function*(){w.localStore||(w.localStore=h.localStore,w.sharedClientState=h.sharedClientState,w.datastore=w.createDatastore(m),w.remoteStore=w.createRemoteStore(m),w.eventManager=w.createEventManager(m),w.syncEngine=w.createSyncEngine(m,!h.synchronizeTabs),w.sharedClientState.onlineStateHandler=I=>Pf(w.syncEngine,I,1),w.remoteStore.remoteSyncer.handleCredentialChange=Lf.bind(null,w.syncEngine),yield rp(w.remoteStore,w.syncEngine.isPrimaryClient))})()}createEventManager(h){return new f2}createDatastore(h){const m=Xl(h.databaseInfo.databaseId),w=new c2(h.databaseInfo);return new u1(h.authCredentials,h.appCheckCredentials,w,m)}createRemoteStore(h){return w=this.localStore,I=this.datastore,g=h.asyncQueue,D=m=>Pf(this.syncEngine,m,0),R=Z1.D()?new Z1:new Yp,new dg(w,I,g,D,R);var w,I,g,D,R}createSyncEngine(h,m){return function(I,g,D,R,q,ce,xe){const Ze=new fd(I,g,D,R,q,ce);return xe&&(Ze.Qa=!0),Ze}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,h.initialUser,h.maxConcurrentLimboResolutions,m)}terminate(){var h=this;return(0,y.A)(function*(){var m,w,I;yield(I=(0,y.A)(function*(D){const R=Mt(D);z("RemoteStore","RemoteStore shutting down."),R.L_.add(5),yield ea(R),R.k_.shutdown(),R.q_.set("Unknown")}),function g(D){return I.apply(this,arguments)})(h.remoteStore),null===(m=h.datastore)||void 0===m||m.terminate(),null===(w=h.eventManager)||void 0===w||w.terminate()})()}}class u0{constructor(h){this.observer=h,this.muted=!1}next(h){this.observer.next&&this.Ga(this.observer.next,h)}error(h){this.observer.error?this.Ga(this.observer.error,h):X("Uncaught Error in snapshot listener:",h.toString())}za(){this.muted=!0}Ga(h,m){this.muted||setTimeout(()=>{this.muted||h(m)},0)}}class Bf{constructor(h,m,w,I){var g=this;this.authCredentials=h,this.appCheckCredentials=m,this.asyncQueue=w,this.databaseInfo=I,this.user=B.UNAUTHENTICATED,this.clientId=oo.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this.authCredentials.start(w,function(){var D=(0,y.A)(function*(R){z("FirestoreClient","Received user=",R.uid),yield g.authCredentialListener(R),g.user=R});return function(R){return D.apply(this,arguments)}}()),this.appCheckCredentials.start(w,D=>(z("FirestoreClient","Received new app check token=",D),this.appCheckCredentialListener(D,this.user)))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(h){this.authCredentialListener=h}setAppCheckTokenChangeListener(h){this.appCheckCredentialListener=h}verifyNotTerminated(){if(this.asyncQueue.isShuttingDown)throw new Ke(mt.FAILED_PRECONDITION,"The client has already been terminated.")}terminate(){var h=this;this.asyncQueue.enterRestrictedMode();const m=new Xe;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((0,y.A)(function*(){try{h._onlineComponents&&(yield h._onlineComponents.terminate()),h._offlineComponents&&(yield h._offlineComponents.terminate()),h.authCredentials.shutdown(),h.appCheckCredentials.shutdown(),m.resolve()}catch(w){const I=bh(w,"Failed to shutdown persistence");m.reject(I)}})),m.promise}}function $f(E,h){return C2.apply(this,arguments)}function C2(){return C2=(0,y.A)(function*(E,h){E.asyncQueue.verifyOperationInProgress(),z("FirestoreClient","Initializing OfflineComponentProvider");const m=E.configuration;yield h.initialize(m);let w=m.initialUser;E.setCredentialChangeListener(function(){var I=(0,y.A)(function*(g){w.isEqual(g)||(yield Ku(h.localStore,g),w=g)});return function(g){return I.apply(this,arguments)}}()),h.persistence.setDatabaseDeletedListener(()=>E.terminate()),E._offlineComponents=h}),C2.apply(this,arguments)}function h0(E,h){return w2.apply(this,arguments)}function w2(){return(w2=(0,y.A)(function*(E,h){E.asyncQueue.verifyOperationInProgress();const m=yield function S2(E){return k2.apply(this,arguments)}(E);z("FirestoreClient","Initializing OnlineComponentProvider"),yield h.initialize(m,E.configuration),E.setCredentialChangeListener(w=>xu(h.remoteStore,w)),E.setAppCheckTokenChangeListener((w,I)=>xu(h.remoteStore,I)),E._onlineComponents=h})).apply(this,arguments)}function k2(){return(k2=(0,y.A)(function*(E){if(!E._offlineComponents)if(E._uninitializedComponentsProvider){z("FirestoreClient","Using user provided OfflineComponentProvider");try{yield $f(E,E._uninitializedComponentsProvider._offline)}catch(h){const m=h;if(!function T2(E){return"FirebaseError"===E.name?E.code===mt.FAILED_PRECONDITION||E.code===mt.UNIMPLEMENTED:!(typeof DOMException<"u"&&E instanceof DOMException)||22===E.code||20===E.code||11===E.code}(m))throw m;P("Error using user provided cache. Falling back to memory cache: "+m),yield $f(E,new nu)}}else z("FirestoreClient","Using default OfflineComponentProvider"),yield $f(E,new nu);return E._offlineComponents})).apply(this,arguments)}function E2(E){return M2.apply(this,arguments)}function M2(){return(M2=(0,y.A)(function*(E){return E._onlineComponents||(E._uninitializedComponentsProvider?(z("FirestoreClient","Using user provided OnlineComponentProvider"),yield h0(E,E._uninitializedComponentsProvider._online)):(z("FirestoreClient","Using default OnlineComponentProvider"),yield h0(E,new Aa))),E._onlineComponents})).apply(this,arguments)}function C1(E){return up.apply(this,arguments)}function up(){return(up=(0,y.A)(function*(E){const h=yield E2(E),m=h.eventManager;return m.onListen=ta.bind(null,h.syncEngine),m.onUnlisten=md.bind(null,h.syncEngine),m.onFirstRemoteStoreListen=g2.bind(null,h.syncEngine),m.onLastRemoteStoreUnlisten=ap.bind(null,h.syncEngine),m})).apply(this,arguments)}function t3(E){const h={};return void 0!==E.timeoutSeconds&&(h.timeoutSeconds=E.timeoutSeconds),h}const Ad=new Map;function m0(E,h,m){if(!m)throw new Ke(mt.INVALID_ARGUMENT,`Function ${E}() cannot be called with an empty ${h}.`)}function Sg(E){if(!He.isDocumentKey(E))throw new Ke(mt.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${E} has ${E.length}.`)}function B8(E){if(He.isDocumentKey(E))throw new Ke(mt.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${E} has ${E.length}.`)}function g0(E){if(void 0===E)return"undefined";if(null===E)return"null";if("string"==typeof E)return E.length>20&&(E=`${E.substring(0,20)}...`),JSON.stringify(E);if("number"==typeof E||"boolean"==typeof E)return""+E;if("object"==typeof E){if(E instanceof Array)return"an array";{const h=(w=E).constructor?w.constructor.name:null;return h?`a custom ${h} object`:"an object"}}var w;return"function"==typeof E?"a function":Ue()}function Or(E,h){if("_delegate"in E&&(E=E._delegate),!(E instanceof h)){if(h.name===E.constructor.name)throw new Ke(mt.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const m=g0(E);throw new Ke(mt.INVALID_ARGUMENT,`Expected type '${h.name}', but it was: ${m}`)}}return E}class fa{constructor(h){var m,w;if(void 0===h.host){if(void 0!==h.ssl)throw new Ke(mt.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=h.host,this.ssl=null===(m=h.ssl)||void 0===m||m;if(this.credentials=h.credentials,this.ignoreUndefinedProperties=!!h.ignoreUndefinedProperties,this.localCache=h.localCache,void 0===h.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==h.cacheSizeBytes&&h.cacheSizeBytes<1048576)throw new Ke(mt.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=h.cacheSizeBytes}(function n3(E,h,m,w){if(!0===h&&!0===w)throw new Ke(mt.INVALID_ARGUMENT,`${E} and ${m} cannot be used together.`)})("experimentalForceLongPolling",h.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",h.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!h.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!(this.experimentalForceLongPolling||void 0!==h.experimentalAutoDetectLongPolling&&!h.experimentalAutoDetectLongPolling),this.experimentalLongPollingOptions=t3(null!==(w=h.experimentalLongPollingOptions)&&void 0!==w?w:{}),function(g){if(void 0!==g.timeoutSeconds){if(isNaN(g.timeoutSeconds))throw new Ke(mt.INVALID_ARGUMENT,`invalid long polling timeout: ${g.timeoutSeconds} (must not be NaN)`);if(g.timeoutSeconds<5)throw new Ke(mt.INVALID_ARGUMENT,`invalid long polling timeout: ${g.timeoutSeconds} (minimum allowed value is 5)`);if(g.timeoutSeconds>30)throw new Ke(mt.INVALID_ARGUMENT,`invalid long polling timeout: ${g.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!h.useFetchStreams}isEqual(h){return this.host===h.host&&this.ssl===h.ssl&&this.credentials===h.credentials&&this.cacheSizeBytes===h.cacheSizeBytes&&this.experimentalForceLongPolling===h.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===h.experimentalAutoDetectLongPolling&&this.experimentalLongPollingOptions.timeoutSeconds===h.experimentalLongPollingOptions.timeoutSeconds&&this.ignoreUndefinedProperties===h.ignoreUndefinedProperties&&this.useFetchStreams===h.useFetchStreams}}class D2{constructor(h,m,w,I){this._authCredentials=h,this._appCheckCredentials=m,this._databaseId=w,this._app=I,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new fa({}),this._settingsFrozen=!1}get app(){if(!this._app)throw new Ke(mt.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return void 0!==this._terminateTask}_setSettings(h){if(this._settingsFrozen)throw new Ke(mt.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new fa(h),void 0!==h.credentials&&(this._authCredentials=function(w){if(!w)return new Rt;switch(w.type){case"firstParty":return new Vn(w.sessionIndex||"0",w.iamToken||null,w.authTokenFactory||null);case"provider":return w.client;default:throw new Ke(mt.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(h.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask||(this._terminateTask=this._terminate()),this._terminateTask}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(m){const w=Ad.get(m);w&&(z("ComponentProvider","Removing Datastore"),Ad.delete(m),w.terminate())}(this),Promise.resolve()}}class wl{constructor(h,m,w){this.converter=m,this._query=w,this.type="query",this.firestore=h}withConverter(h){return new wl(this.firestore,h,this._query)}}class cl{constructor(h,m,w){this.converter=m,this._key=w,this.type="document",this.firestore=h}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new Rd(this.firestore,this.converter,this._key.path.popLast())}withConverter(h){return new cl(this.firestore,h,this._key)}}class Rd extends wl{constructor(h,m,w){super(h,m,Ka(w)),this._path=w,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const h=this._path.popLast();return h.isEmpty()?null:new cl(this.firestore,null,new He(h))}withConverter(h){return new Rd(this.firestore,h,this._path)}}function i3(E,h,...m){if(E=(0,L.Ku)(E),m0("collection","path",h),E instanceof D2){const w=En.fromString(h,...m);return B8(w),new Rd(E,null,w)}{if(!(E instanceof cl||E instanceof Rd))throw new Ke(mt.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const w=E._path.child(En.fromString(h,...m));return B8(w),new Rd(E.firestore,null,w)}}function v0(E,h,...m){if(E=(0,L.Ku)(E),1===arguments.length&&(h=oo.newId()),m0("doc","path",h),E instanceof D2){const w=En.fromString(h,...m);return Sg(w),new cl(E,null,new He(w))}{if(!(E instanceof cl||E instanceof Rd))throw new Ke(mt.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const w=E._path.child(En.fromString(h,...m));return Sg(w),new cl(E.firestore,E instanceof Rd?E.converter:null,new He(w))}}class Mg{constructor(){this.au=Promise.resolve(),this.uu=[],this.cu=!1,this.lu=[],this.hu=null,this.Pu=!1,this.Iu=!1,this.Tu=[],this.t_=new tp(this,"async_queue_retry"),this.Eu=()=>{const m=ep();m&&z("AsyncQueue","Visibility state changed to "+m.visibilityState),this.t_.jo()};const h=ep();h&&"function"==typeof h.addEventListener&&h.addEventListener("visibilitychange",this.Eu)}get isShuttingDown(){return this.cu}enqueueAndForget(h){this.enqueue(h)}enqueueAndForgetEvenWhileRestricted(h){this.du(),this.Au(h)}enterRestrictedMode(h){if(!this.cu){this.cu=!0,this.Iu=h||!1;const m=ep();m&&"function"==typeof m.removeEventListener&&m.removeEventListener("visibilitychange",this.Eu)}}enqueue(h){if(this.du(),this.cu)return new Promise(()=>{});const m=new Xe;return this.Au(()=>this.cu&&this.Iu?Promise.resolve():(h().then(m.resolve,m.reject),m.promise)).then(()=>m.promise)}enqueueRetryable(h){this.enqueueAndForget(()=>(this.uu.push(h),this.Ru()))}Ru(){var h=this;return(0,y.A)(function*(){if(0!==h.uu.length){try{yield h.uu[0](),h.uu.shift(),h.t_.reset()}catch(m){if(!xt(m))throw m;z("AsyncQueue","Operation failed with retryable error: "+m)}h.uu.length>0&&h.t_.Go(()=>h.Ru())}})()}Au(h){const m=this.au.then(()=>(this.Pu=!0,h().catch(w=>{throw this.hu=w,this.Pu=!1,X("INTERNAL UNHANDLED ERROR: ",function(D){let R=D.message||"";return D.stack&&(R=D.stack.includes(D.message)?D.stack:D.message+"\n"+D.stack),R}(w)),w}).then(w=>(this.Pu=!1,w))));return this.au=m,m}enqueueAfterDelay(h,m,w){this.du(),this.Tu.indexOf(h)>-1&&(m=0);const I=p2.createAndSchedule(this,h,m,w,g=>this.Vu(g));return this.lu.push(I),I}du(){this.hu&&Ue()}verifyOperationInProgress(){}mu(){var h=this;return(0,y.A)(function*(){let m;do{m=h.au,yield m}while(m!==h.au)})()}fu(h){for(const m of this.lu)if(m.timerId===h)return!0;return!1}gu(h){return this.mu().then(()=>{this.lu.sort((m,w)=>m.targetTimeMs-w.targetTimeMs);for(const m of this.lu)if(m.skipDelay(),"all"!==h&&m.timerId===h)break;return this.mu()})}pu(h){this.Tu.push(h)}Vu(h){const m=this.lu.indexOf(h);this.lu.splice(m,1)}}function xg(E){return function(m){if("object"!=typeof m||null===m)return!1;const I=m;for(const g of["next","error","complete"])if(g in I&&"function"==typeof I[g])return!0;return!1}(E)}class bs extends D2{constructor(h,m,w,I){super(h,m,w,I),this.type="firestore",this._queue=new Mg,this._persistenceKey=I?.name||"[DEFAULT]"}_terminate(){return this._firestoreClient||o3(this),this._firestoreClient.terminate()}}function Ig(E,h){const m="object"==typeof E?E:(0,$.Sx)(),w="string"==typeof E?E:h||"(default)",I=(0,$.j6)(m,"firestore").getImmediate({identifier:w});if(!I._initialized){const g=(0,L.yU)("firestore");g&&function kg(E,h,m,w={}){var I;const g=(E=Or(E,D2))._getSettings(),D=`${h}:${m}`;if("firestore.googleapis.com"!==g.host&&g.host!==D&&P("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),E._setSettings(Object.assign(Object.assign({},g),{host:D,ssl:!1})),w.mockUserToken){let R,q;if("string"==typeof w.mockUserToken)R=w.mockUserToken,q=B.MOCK_USER;else{R=(0,L.Fy)(w.mockUserToken,null===(I=E._app)||void 0===I?void 0:I.options.projectId);const ce=w.mockUserToken.sub||w.mockUserToken.user_id;if(!ce)throw new Ke(mt.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");q=new B(ce)}E._authCredentials=new Vt(new yt(R,q))}}(I,...g)}return I}function Ra(E){return E._firestoreClient||o3(E),E._firestoreClient.verifyNotTerminated(),E._firestoreClient}function o3(E){var h,m,w;const I=E._freezeSettings(),g=(q=(null===(h=E._app)||void 0===h?void 0:h.options.appId)||"",new bc(E._databaseId,q,E._persistenceKey,(xe=I).host,xe.ssl,xe.experimentalForceLongPolling,xe.experimentalAutoDetectLongPolling,t3(xe.experimentalLongPollingOptions),xe.useFetchStreams));var q,xe;E._firestoreClient=new Bf(E._authCredentials,E._appCheckCredentials,E._queue,g),null!==(m=I.localCache)&&void 0!==m&&m._offlineComponentProvider&&null!==(w=I.localCache)&&void 0!==w&&w._onlineComponentProvider&&(E._firestoreClient._uninitializedComponentsProvider={_offlineKind:I.localCache.kind,_offline:I.localCache._offlineComponentProvider,_online:I.localCache._onlineComponentProvider})}class Ju{constructor(h){this._byteString=h}static fromBase64String(h){try{return new Ju(gr.fromBase64String(h))}catch(m){throw new Ke(mt.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+m)}}static fromUint8Array(h){return new Ju(gr.fromUint8Array(h))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(h){return this._byteString.isEqual(h._byteString)}}class xh{constructor(...h){for(let m=0;m<h.length;++m)if(0===h[m].length)throw new Ke(mt.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new lt(h)}isEqual(h){return this._internalPath.isEqual(h._internalPath)}}class fp{constructor(h){this._methodName=h}}class Qf{constructor(h,m){if(!isFinite(h)||h<-90||h>90)throw new Ke(mt.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+h);if(!isFinite(m)||m<-180||m>180)throw new Ke(mt.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+m);this._lat=h,this._long=m}get latitude(){return this._lat}get longitude(){return this._long}isEqual(h){return this._lat===h._lat&&this._long===h._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(h){return Rn(this._lat,h._lat)||Rn(this._long,h._long)}}class w1{constructor(h){this._values=(h||[]).map(m=>m)}toArray(){return this._values.map(h=>h)}isEqual(h){return function(w,I){if(w.length!==I.length)return!1;for(let g=0;g<w.length;++g)if(w[g]!==I[g])return!1;return!0}(this._values,h._values)}}const Jf=/^__.*__$/;class G8{constructor(h,m,w){this.data=h,this.fieldMask=m,this.fieldTransforms=w}toMutation(h,m){return null!==this.fieldMask?new hr(h,this.data,this.fieldMask,m,this.fieldTransforms):new _s(h,this.data,m,this.fieldTransforms)}}function Zf(E){switch(E){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Ue()}}class O2{constructor(h,m,w,I,g,D){this.settings=h,this.databaseId=m,this.serializer=w,this.ignoreUndefinedProperties=I,void 0===g&&this.yu(),this.fieldTransforms=g||[],this.fieldMask=D||[]}get path(){return this.settings.path}get wu(){return this.settings.wu}Su(h){return new O2(Object.assign(Object.assign({},this.settings),h),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}bu(h){var m;const w=null===(m=this.path)||void 0===m?void 0:m.child(h),I=this.Su({path:w,Du:!1});return I.vu(h),I}Cu(h){var m;const w=null===(m=this.path)||void 0===m?void 0:m.child(h),I=this.Su({path:w,Du:!1});return I.yu(),I}Fu(h){return this.Su({path:void 0,Du:!0})}Mu(h){return R2(h,this.settings.methodName,this.settings.xu||!1,this.path,this.settings.Ou)}contains(h){return void 0!==this.fieldMask.find(m=>h.isPrefixOf(m))||void 0!==this.fieldTransforms.find(m=>h.isPrefixOf(m.field))}yu(){if(this.path)for(let h=0;h<this.path.length;h++)this.vu(this.path.get(h))}vu(h){if(0===h.length)throw this.Mu("Document fields must not be empty");if(Zf(this.wu)&&Jf.test(h))throw this.Mu('Document fields cannot begin and end with "__"')}}class em{constructor(h,m,w){this.databaseId=h,this.ignoreUndefinedProperties=m,this.serializer=w||Xl(h)}Nu(h,m,w,I=!1){return new O2({wu:h,methodName:m,Ou:w,path:lt.emptyPath(),Du:!1,xu:I},this.databaseId,this.serializer,this.ignoreUndefinedProperties)}}function Du(E){const h=E._freezeSettings(),m=Xl(E._databaseId);return new em(E._databaseId,!!h.ignoreUndefinedProperties,m)}function Og(E,h,m,w,I,g={}){const D=E.Nu(g.merge||g.mergeFields?2:0,h,m,I);a3("Data must be an object, but it was:",D,w);const R=s3(w,D);let q,ce;if(g.merge)q=new or(D.fieldMask),ce=D.fieldTransforms;else if(g.mergeFields){const xe=[];for(const Ze of g.mergeFields){const It=N2(h,Ze,m);if(!D.contains(It))throw new Ke(mt.INVALID_ARGUMENT,`Field '${It}' is specified in your field mask but missing from your input data.`);b0(xe,It)||xe.push(It)}q=new or(xe),ce=D.fieldTransforms.filter(Ze=>q.covers(Ze.field))}else q=null,ce=D.fieldTransforms;return new G8(new ur(R),q,ce)}function mp(E,h,m,w=!1){return gp(m,E.Nu(w?4:3,h))}function gp(E,h){if(j8(E=(0,L.Ku)(E)))return a3("Unsupported field value:",h,E),s3(E,h);if(E instanceof fp)return function(w,I){if(!Zf(I.wu))throw I.Mu(`${w._methodName}() can only be used with update() and set()`);if(!I.path)throw I.Mu(`${w._methodName}() is not currently supported inside arrays`);const g=w._toFieldTransform(I);g&&I.fieldTransforms.push(g)}(E,h),null;if(void 0===E&&h.ignoreUndefinedProperties)return null;if(h.path&&h.fieldMask.push(h.path),E instanceof Array){if(h.settings.Du&&4!==h.wu)throw h.Mu("Nested arrays are not supported");return function(w,I){const g=[];let D=0;for(const R of w){let q=gp(R,I.Fu(D));null==q&&(q={nullValue:"NULL_VALUE"}),g.push(q),D++}return{arrayValue:{values:g}}}(E,h)}return function(w,I){if(null===(w=(0,L.Ku)(w)))return{nullValue:"NULL_VALUE"};if("number"==typeof w)return _r(I.serializer,w);if("boolean"==typeof w)return{booleanValue:w};if("string"==typeof w)return{stringValue:w};if(w instanceof Date){const g=fi.fromDate(w);return{timestampValue:Md(I.serializer,g)}}if(w instanceof fi){const g=new fi(w.seconds,1e3*Math.floor(w.nanoseconds/1e3));return{timestampValue:Md(I.serializer,g)}}if(w instanceof Qf)return{geoPointValue:{latitude:w.latitude,longitude:w.longitude}};if(w instanceof Ju)return{bytesValue:hu(I.serializer,w._byteString)};if(w instanceof cl){const g=I.databaseId,D=w.firestore._databaseId;if(!D.isEqual(g))throw I.Mu(`Document reference is for database ${D.projectId}/${D.database} but should be for database ${g.projectId}/${g.database}`);return{referenceValue:Ia(w.firestore._databaseId||I.databaseId,w._key.path)}}if(w instanceof w1)return R=I,{mapValue:{fields:{__type__:{stringValue:"__vector__"},value:{arrayValue:{values:w.toArray().map(q=>{if("number"!=typeof q)throw R.Mu("VectorValues must only contain numeric values.");return Ui(R.serializer,q)})}}}}};var R;throw I.Mu(`Unsupported field value: ${g0(w)}`)}(E,h)}function s3(E,h){const m={};return Po(E)?h.path&&h.path.length>0&&h.fieldMask.push(h.path):Ln(E,(w,I)=>{const g=gp(I,h.bu(w));null!=g&&(m[w]=g)}),{mapValue:{fields:m}}}function j8(E){return!("object"!=typeof E||null===E||E instanceof Array||E instanceof Date||E instanceof fi||E instanceof Qf||E instanceof Ju||E instanceof cl||E instanceof fp||E instanceof w1)}function a3(E,h,m){if(!j8(m)||"object"!=typeof(I=m)||null===I||Object.getPrototypeOf(I)!==Object.prototype&&null!==Object.getPrototypeOf(I)){const w=g0(m);throw h.Mu("an object"===w?E+" a custom object":E+" "+w)}var I}function N2(E,h,m){if((h=(0,L.Ku)(h))instanceof xh)return h._internalPath;if("string"==typeof h)return A2(E,h);throw R2("Field path arguments must be of type string or ",E,!1,void 0,m)}const l3=new RegExp("[~\\*/\\[\\]]");function A2(E,h,m){if(h.search(l3)>=0)throw R2(`Invalid field path (${h}). Paths must not contain '~', '*', '/', '[', or ']'`,E,!1,void 0,m);try{return new xh(...h.split("."))._internalPath}catch{throw R2(`Invalid field path (${h}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,E,!1,void 0,m)}}function R2(E,h,m,w,I){const g=w&&!w.isEmpty(),D=void 0!==I;let R=`Function ${h}() called with invalid data`;m&&(R+=" (via `toFirestore()`)"),R+=". ";let q="";return(g||D)&&(q+=" (found",g&&(q+=` in field ${w}`),D&&(q+=` in document ${I}`),q+=")"),new Ke(mt.INVALID_ARGUMENT,R+E+q)}function b0(E,h){return E.some(m=>m.isEqual(h))}class vp{constructor(h,m,w,I,g){this._firestore=h,this._userDataWriter=m,this._key=w,this._document=I,this._converter=g}get id(){return this._key.path.lastSegment()}get ref(){return new cl(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const h=new Ng(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(h)}return this._userDataWriter.convertValue(this._document.data.value)}}get(h){if(this._document){const m=this._document.data.field(P2("DocumentSnapshot.get",h));if(null!==m)return this._userDataWriter.convertValue(m)}}}class Ng extends vp{data(){return super.data()}}function P2(E,h){return"string"==typeof h?A2(E,h):h instanceof xh?h._internalPath:h._delegate._internalPath}function c3(E){if("L"===E.limitType&&0===E.explicitOrderBy.length)throw new Ke(mt.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class im{}class om extends im{}function vd(E,h,...m){let w=[];h instanceof im&&w.push(h),w=w.concat(m),function(g){const D=g.filter(q=>q instanceof F2).length,R=g.filter(q=>q instanceof Dh).length;if(D>1||D>0&&R>0)throw new Ke(mt.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(w);for(const I of w)E=I._apply(E);return E}class Dh extends om{constructor(h,m,w){super(),this._field=h,this._op=m,this._value=w,this.type="where"}static _create(h,m,w){return new Dh(h,m,w)}_apply(h){const m=this._parse(h);return p3(h._query,m),new wl(h.firestore,h.converter,Do(h._query,m))}_parse(h){const m=Du(h.firestore);return function(g,D,R,q,ce,xe,Ze){let It;if(ce.isKeyField()){if("array-contains"===xe||"array-contains-any"===xe)throw new Ke(mt.INVALID_ARGUMENT,`Invalid Query. You can't perform '${xe}' queries on documentId().`);if("in"===xe||"not-in"===xe){h3(Ze,xe);const Kt=[];for(const Tn of Ze)Kt.push(u3(q,g,Tn));It={arrayValue:{values:Kt}}}else It=u3(q,g,Ze)}else"in"!==xe&&"not-in"!==xe&&"array-contains-any"!==xe||h3(Ze,xe),It=mp(R,"where",Ze,"in"===xe||"not-in"===xe);return er.create(ce,xe,It)}(h._query,0,m,h.firestore._databaseId,this._field,this._op,this._value)}}function S1(E,h,m){const w=h,I=P2("where",E);return Dh._create(I,w,m)}class F2 extends im{constructor(h,m){super(),this.type=h,this._queryConstraints=m}static _create(h,m){return new F2(h,m)}_parse(h){const m=this._queryConstraints.map(w=>w._parse(h)).filter(w=>w.getFilters().length>0);return 1===m.length?m[0]:ar.create(m,this._getOperator())}_apply(h){const m=this._parse(h);return 0===m.getFilters().length?h:(function(I,g){let D=I;const R=g.getFlattenedFilters();for(const q of R)p3(D,q),D=Do(D,q)}(h._query,m),new wl(h.firestore,h.converter,Do(h._query,m)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}class L2 extends om{constructor(h,m){super(),this._field=h,this._direction=m,this.type="orderBy"}static _create(h,m){return new L2(h,m)}_apply(h){const m=function(I,g,D){if(null!==I.startAt)throw new Ke(mt.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==I.endAt)throw new Ke(mt.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new fs(g,D)}(h._query,this._field,this._direction);return new wl(h.firestore,h.converter,function(I,g){const D=I.explicitOrderBy.concat([g]);return new vl(I.path,I.collectionGroup,D,I.filters.slice(),I.limit,I.limitType,I.startAt,I.endAt)}(h._query,m))}}function Dv(E,h="asc"){const m=h,w=P2("orderBy",E);return L2._create(w,m)}class rm extends om{constructor(h,m,w){super(),this.type=h,this._limit=m,this._limitType=w}static _create(h,m,w){return new rm(h,m,w)}_apply(h){return new wl(h.firestore,h.converter,os(h._query,this._limit,this._limitType))}}function V2(E){return function Hf(E,h){if(h<=0)throw new Ke(mt.INVALID_ARGUMENT,`Function ${E}() requires a positive number, but it was: ${h}.`)}("limit",E),rm._create("limit",E,"F")}class k1 extends om{constructor(h,m,w){super(),this.type=h,this._docOrFields=m,this._inclusive=w}static _create(h,m,w){return new k1(h,m,w)}_apply(h){const m=function Y8(E,h,m,w){if(m[0]=(0,L.Ku)(m[0]),m[0]instanceof vp)return function(g,D,R,q,ce){if(!q)throw new Ke(mt.NOT_FOUND,`Can't use a DocumentSnapshot that doesn't exist for ${R}().`);const xe=[];for(const Ze of he(g))if(Ze.field.isKeyField())xe.push(Ur(D,q.key));else{const It=q.data.field(Ze.field);if(Pl(It))throw new Ke(mt.INVALID_ARGUMENT,'Invalid query. You are trying to start or end a query using a document for which the field "'+Ze.field+'" is an uncommitted server timestamp. (Since the value of this field is unknown, you cannot start/end a query with it.)');if(null===It){const Kt=Ze.field.canonicalString();throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. You are trying to start or end a query using a document for which the field '${Kt}' (used as the orderBy) does not exist.`)}xe.push(It)}return new ls(xe,ce)}(E._query,E.firestore._databaseId,h,m[0]._document,w);{const I=Du(E.firestore);return function(D,R,q,ce,xe,Ze){const It=D.explicitOrderBy;if(xe.length>It.length)throw new Ke(mt.INVALID_ARGUMENT,`Too many arguments provided to ${ce}(). The number of arguments must be less than or equal to the number of orderBy() clauses`);const Kt=[];for(let Tn=0;Tn<xe.length;Tn++){const Yn=xe[Tn];if(It[Tn].field.isKeyField()){if("string"!=typeof Yn)throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. Expected a string for document ID in ${ce}(), but got a ${typeof Yn}`);if(!Ie(D)&&-1!==Yn.indexOf("/"))throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. When querying a collection and ordering by documentId(), the value passed to ${ce}() must be a plain document ID, but '${Yn}' contains a slash.`);const Un=D.path.child(En.fromString(Yn));if(!He.isDocumentKey(Un))throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. When querying a collection group and ordering by documentId(), the value passed to ${ce}() must result in a valid document path, but '${Un}' is not because it contains an odd number of segments.`);const Ti=new He(Un);Kt.push(Ur(R,Ti))}else{const Un=mp(q,ce,Yn);Kt.push(Un)}}return new ls(Kt,Ze)}(E._query,E.firestore._databaseId,I,h,m,w)}}(h,this.type,this._docOrFields,this._inclusive);return new wl(h.firestore,h.converter,(g=m,new vl((I=h._query).path,I.collectionGroup,I.explicitOrderBy.slice(),I.filters.slice(),I.limit,I.limitType,g,I.endAt)));var I,g}}function sm(...E){return k1._create("startAfter",E,!1)}function u3(E,h,m){if("string"==typeof(m=(0,L.Ku)(m))){if(""===m)throw new Ke(mt.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!Ie(h)&&-1!==m.indexOf("/"))throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${m}' contains a '/' character.`);const w=h.path.child(En.fromString(m));if(!He.isDocumentKey(w))throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${w}' is not because it has an odd number of segments (${w.length}).`);return Ur(E,new He(w))}if(m instanceof cl)return Ur(E,m._key);throw new Ke(mt.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${g0(m)}.`)}function h3(E,h){if(!Array.isArray(E)||0===E.length)throw new Ke(mt.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${h.toString()}' filters.`)}function p3(E,h){const m=function(I,g){for(const D of I)for(const R of D.getFlattenedFilters())if(g.indexOf(R.op)>=0)return R.op;return null}(E.filters,function(I){switch(I){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(h.op));if(null!==m)throw new Ke(mt.INVALID_ARGUMENT,m===h.op?`Invalid query. You cannot use more than one '${h.op.toString()}' filter.`:`Invalid query. You cannot use '${h.op.toString()}' filters with '${m.toString()}' filters.`)}class m3{convertValue(h,m="none"){switch(as(h)){case 0:return null;case 1:return h.booleanValue;case 2:return vr(h.integerValue||h.doubleValue);case 3:return this.convertTimestamp(h.timestampValue);case 4:return this.convertServerTimestamp(h,m);case 5:return h.stringValue;case 6:return this.convertBytes(Ls(h.bytesValue));case 7:return this.convertReference(h.referenceValue);case 8:return this.convertGeoPoint(h.geoPointValue);case 9:return this.convertArray(h.arrayValue,m);case 11:return this.convertObject(h.mapValue,m);case 10:return this.convertVectorValue(h.mapValue);default:throw Ue()}}convertObject(h,m){return this.convertObjectMap(h.fields,m)}convertObjectMap(h,m="none"){const w={};return Ln(h,(I,g)=>{w[I]=this.convertValue(g,m)}),w}convertVectorValue(h){var m,w,I;const g=null===(I=null===(w=null===(m=h.fields)||void 0===m?void 0:m.value.arrayValue)||void 0===w?void 0:w.values)||void 0===I?void 0:I.map(D=>vr(D.doubleValue));return new w1(g)}convertGeoPoint(h){return new Qf(vr(h.latitude),vr(h.longitude))}convertArray(h,m){return(h.values||[]).map(w=>this.convertValue(w,m))}convertServerTimestamp(h,m){switch(m){case"previous":const w=sa(h);return null==w?null:this.convertValue(w,m);case"estimate":return this.convertTimestamp(Ea(h));default:return null}}convertTimestamp(h){const m=ps(h);return new fi(m.seconds,m.nanos)}convertDocumentKey(h,m){const w=En.fromString(h);zt(W(w));const I=new aa(w.get(1),w.get(3)),g=new He(w.popFirst(5));return I.isEqual(m)||X(`Document ${g} contains a document reference within a different database (${I.projectId}/${I.database}) which is not supported. It will be treated as a reference in the current database (${m.projectId}/${m.database}) instead.`),g}}class Ou{constructor(h,m){this.hasPendingWrites=h,this.fromCache=m}isEqual(h){return this.hasPendingWrites===h.hasPendingWrites&&this.fromCache===h.fromCache}}class zu extends vp{constructor(h,m,w,I,g,D){super(h,m,w,I,D),this._firestore=h,this._firestoreImpl=h,this.metadata=g}exists(){return super.exists()}data(h={}){if(this._document){if(this._converter){const m=new _d(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(m,h)}return this._userDataWriter.convertValue(this._document.data.value,h.serverTimestamps)}}get(h,m={}){if(this._document){const w=this._document.data.field(P2("DocumentSnapshot.get",h));if(null!==w)return this._userDataWriter.convertValue(w,m.serverTimestamps)}}}class _d extends zu{data(h={}){return super.data(h)}}class ru{constructor(h,m,w,I){this._firestore=h,this._userDataWriter=m,this._snapshot=I,this.metadata=new Ou(I.hasPendingWrites,I.fromCache),this.query=w}get docs(){const h=[];return this.forEach(m=>h.push(m)),h}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(h,m){this._snapshot.docs.forEach(w=>{h.call(m,new _d(this._firestore,this._userDataWriter,w.key,w,new Ou(this._snapshot.mutatedKeys.has(w.key),this._snapshot.fromCache),this.query.converter))})}docChanges(h={}){const m=!!h.includeMetadataChanges;if(m&&this._snapshot.excludesMetadataChanges)throw new Ke(mt.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===m||(this._cachedChanges=function(I,g){if(I._snapshot.oldDocs.isEmpty()){let D=0;return I._snapshot.docChanges.map(R=>({type:"added",doc:new _d(I._firestore,I._userDataWriter,R.doc.key,R.doc,new Ou(I._snapshot.mutatedKeys.has(R.doc.key),I._snapshot.fromCache),I.query.converter),oldIndex:-1,newIndex:D++}))}{let D=I._snapshot.oldDocs;return I._snapshot.docChanges.filter(R=>g||3!==R.type).map(R=>{const q=new _d(I._firestore,I._userDataWriter,R.doc.key,R.doc,new Ou(I._snapshot.mutatedKeys.has(R.doc.key),I._snapshot.fromCache),I.query.converter);let ce=-1,xe=-1;return 0!==R.type&&(ce=D.indexOf(R.doc.key),D=D.delete(R.doc.key)),1!==R.type&&(D=D.add(R.doc),xe=D.indexOf(R.doc.key)),{type:U2(R.type),doc:q,oldIndex:ce,newIndex:xe}})}}(this,m),this._cachedChangesIncludeMetadataChanges=m),this._cachedChanges}}function U2(E){switch(E){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Ue()}}function w0(E){E=Or(E,cl);const h=Or(E.firestore,bs);return function Z4(E,h,m={}){const w=new Xe;return E.asyncQueue.enqueueAndForget((0,y.A)(function*(){return function(g,D,R,q,ce){const xe=new u0({next:It=>{D.enqueueAndForget(()=>t0(g,Ze));const Kt=It.docs.has(R);!Kt&&It.fromCache?ce.reject(new Ke(mt.UNAVAILABLE,"Failed to get document because the client is offline.")):Kt&&It.fromCache&&q&&"server"===q.source?ce.reject(new Ke(mt.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):ce.resolve(It)},error:It=>ce.reject(It)}),Ze=new on(Ka(R.path),xe,{includeMetadataChanges:!0,_a:!0});return Xc(g,Ze)}(yield C1(E),E.asyncQueue,h,m,w)})),w.promise}(Ra(h),E._key).then(m=>um(h,E,m))}class Nu extends m3{constructor(h){super(),this.firestore=h}convertBytes(h){return new Ju(h)}convertReference(h){const m=this.convertDocumentKey(h,this.firestore._databaseId);return new cl(this.firestore,null,m)}}function Zu(E){E=Or(E,wl);const h=Or(E.firestore,bs),m=Ra(h),w=new Nu(h);return c3(E._query),function Tg(E,h,m={}){const w=new Xe;return E.asyncQueue.enqueueAndForget((0,y.A)(function*(){return function(g,D,R,q,ce){const xe=new u0({next:It=>{D.enqueueAndForget(()=>t0(g,Ze)),It.fromCache&&"server"===q.source?ce.reject(new Ke(mt.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):ce.resolve(It)},error:It=>ce.reject(It)}),Ze=new on(R,xe,{includeMetadataChanges:!0,_a:!0});return Xc(g,Ze)}(yield C1(E),E.asyncQueue,h,m,w)})),w.promise}(m,E._query).then(I=>new ru(h,w,E,I))}function X8(E,h,m){E=Or(E,cl);const w=Or(E.firestore,bs),I=function lm(E,h,m){let w;return w=E?m&&(m.merge||m.mergeFields)?E.toFirestore(h,m):E.toFirestore(h):h,w}(E.converter,h,m);return function su(E,h){return function(w,I){const g=new Xe;return w.asyncQueue.enqueueAndForget((0,y.A)(function*(){return function Af(E,h,m){return Rf.apply(this,arguments)}(yield function p0(E){return E2(E).then(h=>h.syncEngine)}(w),I,g)})),g.promise}(Ra(E),h)}(w,[Og(Du(w),"setDoc",E._key,I,null!==E.converter,m).toMutation(E._key,jr.none())])}function W8(E,...h){var m,w,I;E=(0,L.Ku)(E);let g={includeMetadataChanges:!1,source:"default"},D=0;"object"!=typeof h[D]||xg(h[D])||(g=h[D],D++);const R={includeMetadataChanges:g.includeMetadataChanges,source:g.source};if(xg(h[D])){const Ze=h[D];h[D]=null===(m=Ze.next)||void 0===m?void 0:m.bind(Ze),h[D+1]=null===(w=Ze.error)||void 0===w?void 0:w.bind(Ze),h[D+2]=null===(I=Ze.complete)||void 0===I?void 0:I.bind(Ze)}let q,ce,xe;if(E instanceof cl)ce=Or(E.firestore,bs),xe=Ka(E._key.path),q={next:Ze=>{h[D]&&h[D](um(ce,E,Ze))},error:h[D+1],complete:h[D+2]};else{const Ze=Or(E,wl);ce=Or(Ze.firestore,bs),xe=Ze._query;const It=new Nu(ce);q={next:Kt=>{h[D]&&h[D](new ru(ce,It,Ze,Kt))},error:h[D+1],complete:h[D+2]},c3(E._query)}return function(It,Kt,Tn,Yn){const Un=new u0(Yn),Ti=new on(Kt,Un,Tn);return It.asyncQueue.enqueueAndForget((0,y.A)(function*(){return Xc(yield C1(It),Ti)})),()=>{Un.za(),It.asyncQueue.enqueueAndForget((0,y.A)(function*(){return t0(yield C1(It),Ti)}))}}(Ra(ce),xe,R,q)}function um(E,h,m){const w=m.docs.get(h._key),I=new Nu(E);return new zu(E,I,h._key,w,new Ou(m.hasPendingWrites,m.fromCache),h.converter)}!function(h,m=!0){Te=$.MF,(0,$.om)(new n.uA("firestore",(w,{instanceIdentifier:I,options:g})=>{const D=w.getProvider("app").getImmediate(),R=new bs(new _n(w.getProvider("auth-internal")),new qn(w.getProvider("app-check-internal")),function(ce,xe){if(!Object.prototype.hasOwnProperty.apply(ce.options,["projectId"]))throw new Ke(mt.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new aa(ce.options.projectId,xe)}(D,I),D);return g=Object.assign({useFetchStreams:m},g),R._setSettings(g),R},"PUBLIC").setMultipleInstances(!0)),(0,$.KO)(ze,"4.7.2",h),(0,$.KO)(ze,"4.7.2","esm2017")}()},27530:(De,A,C)=>{"use strict";C.d(A,{d_:()=>n});let y=L=>crypto.getRandomValues(new Uint8Array(L)),n=(L,ae=21)=>((L,ae,K)=>{let se=(2<<Math.log(L.length-1)/Math.LN2)-1,fe=-~(1.6*se*ae/L.length);return(le=ae)=>{let de="";for(;;){let Ve=K(fe),Ee=fe;for(;Ee--;)if(de+=L[Ve[Ee]&se]||"",de.length===le)return de}}})(L,ae,y)},90450:(De,A,C)=>{"use strict";C.d(A,{CJ:()=>fe,J:()=>Tt,cm:()=>ft});var y=C(93953),$=C(60177),n=C(7673),a=C(84412),L=C(5964);const ae=new y.nKC("recaptcha-language"),K=new y.nKC("recaptcha-base-url"),se=new y.nKC("recaptcha-nonce-tag"),fe=new y.nKC("recaptcha-settings"),le=new y.nKC("recaptcha-v3-site-key"),de=new y.nKC("recaptcha-loader-options"),qe={loadScript:function Ve(Pe,et,z,{url:X,lang:P,nonce:rt}={}){window.ng2recaptchaloaded=()=>{z(grecaptcha)};const Ue=document.createElement("script");Ue.innerHTML="";const{url:zt,nonce:sn}=et(new URL(X||"https://www.google.com/recaptcha/api.js"));zt.searchParams.set("render","explicit"===Pe?Pe:Pe.key),zt.searchParams.set("onload","ng2recaptchaloaded"),zt.searchParams.set("trustedtypes","true"),P&&zt.searchParams.set("hl",P),Ue.src=zt.href;const Mt=sn||rt;Mt&&Ue.setAttribute("nonce",Mt),Ue.async=!0,Ue.defer=!0,document.head.appendChild(Ue)},newLoadScript:function Ee({v3SiteKey:Pe,onBeforeLoad:et,onLoaded:z}){qe.loadScript(Pe?{key:Pe}:"explicit",et,z)}};let ht=(()=>{class Pe{static#e=this.ready=null;constructor(z,X,P,rt,Ue,zt){this.platformId=z,this.language=X,this.baseUrl=P,this.nonce=rt,this.v3SiteKey=Ue,this.options=zt;const sn=this.init();this.ready=sn?function Ge(Pe){return Pe.asObservable().pipe((0,L.p)(et=>null!==et))}(sn):(0,n.of)()}init(){if(Pe.ready)return Pe.ready;if(!(0,$.UE)(this.platformId))return;const z=new a.t(null);return Pe.ready=z,qe.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:X=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(X);const P=new URL(this.baseUrl??X);return this.language&&P.searchParams.set("hl",this.language),{url:P,nonce:this.nonce}},onLoaded:X=>{let P=X;this.options?.onLoaded&&(P=this.options.onLoaded(X)),z.next(P)}}),z}static#t=this.\u0275fac=function(X){return new(X||Pe)(y.KVO(y.Agw),y.KVO(ae,8),y.KVO(K,8),y.KVO(se,8),y.KVO(le,8),y.KVO(de,8))};static#n=this.\u0275prov=y.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})(),at=0,Tt=(()=>{class Pe{constructor(z,X,P,rt){this.elementRef=z,this.loader=X,this.zone=P,this.id="ngrecaptcha-"+at++,this.errorMode="default",this.resolved=new y.bkB,this.error=new y.bkB,this.errored=new y.bkB,rt&&(this.siteKey=rt.siteKey,this.theme=rt.theme,this.type=rt.type,this.size=rt.size,this.badge=rt.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(z=>{null!=z&&z.render instanceof Function&&(this.grecaptcha=z,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(z){this.error.emit(z),this.errored.emit(z)}captchaResponseCallback(z){this.resolved.emit(z)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const z={badge:this.badge,callback:X=>{this.zone.run(()=>this.captchaResponseCallback(X))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(z["error-callback"]=(...X)=>{this.zone.run(()=>this.onError(X))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,z),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static#e=this.\u0275fac=function(X){return new(X||Pe)(y.rXU(y.aKT),y.rXU(ht),y.rXU(y.SKi),y.rXU(fe,8))};static#t=this.\u0275cmp=y.VBU({type:Pe,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(X,P){2&X&&y.BMQ("id",P.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(X,P){},encapsulation:2})}return Pe})(),dt=(()=>{class Pe{static#e=this.\u0275fac=function(X){return new(X||Pe)};static#t=this.\u0275mod=y.$C({type:Pe});static#n=this.\u0275inj=y.G2t({})}return Pe})(),ft=(()=>{class Pe{static#e=this.\u0275fac=function(X){return new(X||Pe)};static#t=this.\u0275mod=y.$C({type:Pe});static#n=this.\u0275inj=y.G2t({providers:[ht],imports:[dt]})}return Pe})()},50513:(De,A,C)=>{"use strict";C.d(A,{Zw:()=>dt,aO:()=>at,dn:()=>Tt});var y=C(31635),$=C(93953),n=C(21413),a=C(33726),L=C(56977),ae=C(99172),K=C(5964),se=C(26035),fe=C(39397),le=C(28203),de=C(16389),Ve=C(25930);const Ee=["nz-button",""],qe=["*"];function Ge(ft,ze){1&ft&&$.nrm(0,"span",0)}let at=(()=>{class ft{insertSpan(B,Te){B.forEach(be=>{if("#text"===be.nodeName){const Pe=Te.createElement("span"),et=Te.parentNode(be);Te.insertBefore(et,Pe,be),Te.appendChild(Pe,be)}})}get iconOnly(){const B=Array.from(this.elementRef?.nativeElement?.childNodes||[]),Te=B.every(Pe=>"#text"!==Pe.nodeName),be=0==B.filter(Pe=>!("#comment"===Pe.nodeName||Pe?.attributes?.getNamedItem("nz-icon"))).length;return!!this.nzIconDirectiveElement&&be&&Te}constructor(B,Te,be,Pe,et,z){this.ngZone=B,this.elementRef=Te,this.cdr=be,this.renderer=Pe,this.nzConfigService=et,this.directionality=z,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new n.B,this.loading$=new n.B,this.nzConfigService.getConfigChangeEventForComponent("button").pipe((0,L.Q)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,L.Q)(this.destroy$)).subscribe(B=>{this.dir=B,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,a.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,L.Q)(this.destroy$)).subscribe(B=>{(this.disabled&&"A"===B.target?.tagName||this.nzLoading)&&(B.preventDefault(),B.stopImmediatePropagation())})})}ngOnChanges(B){const{nzLoading:Te}=B;Te&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,ae.Z)(this.nzLoading),(0,K.p)(()=>!!this.nzIconDirectiveElement),(0,L.Q)(this.destroy$)).subscribe(B=>{const Te=this.nzIconDirectiveElement.nativeElement;B?this.renderer.setStyle(Te,"display","none"):this.renderer.removeStyle(Te,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(Te){return new(Te||ft)($.rXU($.SKi),$.rXU($.aKT),$.rXU($.gRc),$.rXU($.sFG),$.rXU(se.yx),$.rXU(le.dS))};static#t=this.\u0275cmp=$.VBU({type:ft,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(Te,be,Pe){if(1&Te&&$.wni(Pe,fe.Dn,5,$.aKT),2&Te){let et;$.mGM(et=$.lsd())&&(be.nzIconDirectiveElement=et.first)}},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(Te,be){2&Te&&($.BMQ("tabindex",be.disabled?-1:null===be.tabIndex?null:be.tabIndex)("disabled",be.disabled||null),$.AVh("ant-btn-default","default"===be.nzType)("ant-btn-primary","primary"===be.nzType)("ant-btn-dashed","dashed"===be.nzType)("ant-btn-link","link"===be.nzType)("ant-btn-text","text"===be.nzType)("ant-btn-circle","circle"===be.nzShape)("ant-btn-round","round"===be.nzShape)("ant-btn-lg","large"===be.nzSize)("ant-btn-sm","small"===be.nzSize)("ant-btn-dangerous",be.nzDanger)("ant-btn-loading",be.nzLoading)("ant-btn-background-ghost",be.nzGhost)("ant-btn-block",be.nzBlock)("ant-input-search-button",be.nzSearch)("ant-btn-rtl","rtl"===be.dir)("ant-btn-icon-only",be.iconOnly))},inputs:{nzBlock:[2,"nzBlock","nzBlock",$.L39],nzGhost:[2,"nzGhost","nzGhost",$.L39],nzSearch:[2,"nzSearch","nzSearch",$.L39],nzLoading:[2,"nzLoading","nzLoading",$.L39],nzDanger:[2,"nzDanger","nzDanger",$.L39],disabled:[2,"disabled","disabled",$.L39],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],standalone:!0,features:[$.GFd,$.OA$,$.aNF],attrs:Ee,ngContentSelectors:qe,decls:2,vars:1,consts:[["nz-icon","","nzType","loading"]],template:function(Te,be){1&Te&&($.NAR(),$.DNE(0,Ge,1,0,"span",0),$.SdG(1)),2&Te&&$.vxM(be.nzLoading?0:-1)},dependencies:[fe.Y3,fe.Dn],encapsulation:2,changeDetection:0})}return(0,y.Cg)([(0,se.H4)()],ft.prototype,"nzSize",void 0),ft})(),Tt=(()=>{class ft{constructor(B){this.directionality=B,this.nzSize="default",this.dir="ltr",this.destroy$=new n.B}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,L.Q)(this.destroy$)).subscribe(B=>{this.dir=B})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(Te){return new(Te||ft)($.rXU(le.dS))};static#t=this.\u0275cmp=$.VBU({type:ft,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(Te,be){2&Te&&$.AVh("ant-btn-group-lg","large"===be.nzSize)("ant-btn-group-sm","small"===be.nzSize)("ant-btn-group-rtl","rtl"===be.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],standalone:!0,features:[$.aNF],ngContentSelectors:qe,decls:1,vars:0,template:function(Te,be){1&Te&&($.NAR(),$.SdG(0))},encapsulation:2,changeDetection:0})}return ft})(),dt=(()=>{class ft{static#e=this.\u0275fac=function(Te){return new(Te||ft)};static#t=this.\u0275mod=$.$C({type:ft});static#n=this.\u0275inj=$.G2t({imports:[at,de.p,Ve.o7]})}return ft})()},40713:(De,A,C)=>{"use strict";C.d(A,{GE:()=>a,Sn:()=>qe,U1:()=>Ee,W4:()=>se,_F:()=>ae,uX:()=>at});var y=C(49969);let $=(()=>{class dt{static#e=this.SLOW="0.3s";static#t=this.BASE="0.2s";static#n=this.FAST="0.1s"}return dt})(),n=(()=>{class dt{static#e=this.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static#t=this.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static#n=this.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static#i=this.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static#o=this.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static#r=this.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static#s=this.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static#a=this.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static#l=this.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static#c=this.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static#d=this.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static#u=this.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static#h=this.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static#p=this.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return dt})();const a=(0,y.hZ)("collapseMotion",[(0,y.wk)("expanded",(0,y.iF)({height:"*"})),(0,y.wk)("collapsed",(0,y.iF)({height:0,overflow:"hidden"})),(0,y.wk)("hidden",(0,y.iF)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,y.kY)("expanded => collapsed",(0,y.i0)(`150ms ${n.EASE_IN_OUT}`)),(0,y.kY)("expanded => hidden",(0,y.i0)(`150ms ${n.EASE_IN_OUT}`)),(0,y.kY)("collapsed => expanded",(0,y.i0)(`150ms ${n.EASE_IN_OUT}`)),(0,y.kY)("hidden => expanded",(0,y.i0)(`150ms ${n.EASE_IN_OUT}`))]),ae=((0,y.hZ)("treeCollapseMotion",[(0,y.kY)("* => *",[(0,y.P)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,y.iF)({overflow:"hidden"}),(0,y.yc)(0,[(0,y.i0)(`150ms ${n.EASE_IN_OUT}`,(0,y.iF)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,y.P)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,y.iF)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,y.yc)(0,[(0,y.i0)(`150ms ${n.EASE_IN_OUT}`,(0,y.iF)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),(0,y.hZ)("drawerMaskMotion",[(0,y.kY)(":enter",[(0,y.iF)({opacity:0}),(0,y.i0)(`${$.SLOW}`,(0,y.iF)({opacity:1}))]),(0,y.kY)(":leave",[(0,y.iF)({opacity:1}),(0,y.i0)(`${$.SLOW}`,(0,y.iF)({opacity:0}))])])),se=((0,y.hZ)("fadeMotion",[(0,y.kY)("* => enter",[(0,y.iF)({opacity:0}),(0,y.i0)(`${$.BASE}`,(0,y.iF)({opacity:1}))]),(0,y.kY)("* => leave, :leave",[(0,y.iF)({opacity:1}),(0,y.i0)(`${$.BASE}`,(0,y.iF)({opacity:0}))])]),(0,y.hZ)("helpMotion",[(0,y.kY)(":enter",[(0,y.iF)({opacity:0,transform:"translateY(-5px)"}),(0,y.i0)(`${$.SLOW} ${n.EASE_IN_OUT}`,(0,y.iF)({opacity:1,transform:"translateY(0)"}))]),(0,y.kY)(":leave",[(0,y.iF)({opacity:1,transform:"translateY(0)"}),(0,y.i0)(`${$.SLOW} ${n.EASE_IN_OUT}`,(0,y.iF)({opacity:0,transform:"translateY(-5px)"}))])])),de=((0,y.hZ)("moveUpMotion",[(0,y.kY)("* => enter",[(0,y.iF)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,y.i0)(`${$.BASE}`,(0,y.iF)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,y.kY)("* => leave",[(0,y.iF)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,y.i0)(`${$.BASE}`,(0,y.iF)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),(0,y.hZ)("notificationMotion",[(0,y.wk)("enterRight",(0,y.iF)({opacity:1,transform:"translateX(0)"})),(0,y.kY)("* => enterRight",[(0,y.iF)({opacity:0,transform:"translateX(5%)"}),(0,y.i0)("100ms linear")]),(0,y.wk)("enterLeft",(0,y.iF)({opacity:1,transform:"translateX(0)"})),(0,y.kY)("* => enterLeft",[(0,y.iF)({opacity:0,transform:"translateX(-5%)"}),(0,y.i0)("100ms linear")]),(0,y.wk)("enterTop",(0,y.iF)({opacity:1,transform:"translateY(0)"})),(0,y.kY)("* => enterTop",[(0,y.iF)({opacity:0,transform:"translateY(-5%)"}),(0,y.i0)("100ms linear")]),(0,y.wk)("enterBottom",(0,y.iF)({opacity:1,transform:"translateY(0)"})),(0,y.kY)("* => enterBottom",[(0,y.iF)({opacity:0,transform:"translateY(5%)"}),(0,y.i0)("100ms linear")]),(0,y.wk)("leave",(0,y.iF)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,y.kY)("* => leave",[(0,y.iF)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,y.i0)("100ms linear")])]),`${$.BASE} ${n.EASE_OUT_QUINT}`),Ve=`${$.BASE} ${n.EASE_IN_QUINT}`,Ee=(0,y.hZ)("slideMotion",[(0,y.wk)("void",(0,y.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,y.wk)("enter",(0,y.iF)({opacity:1,transform:"scaleY(1)"})),(0,y.kY)("void => *",[(0,y.i0)(de)]),(0,y.kY)("* => void",[(0,y.i0)(Ve)])]),qe=(0,y.hZ)("slideAlertMotion",[(0,y.kY)(":leave",[(0,y.iF)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,y.i0)(`${$.SLOW} ${n.EASE_IN_OUT_CIRC}`,(0,y.iF)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),at=((0,y.hZ)("tabSwitchMotion",[(0,y.wk)("leave",(0,y.iF)({display:"none"})),(0,y.kY)("* => enter",[(0,y.iF)({display:"block",opacity:0}),(0,y.i0)($.SLOW)]),(0,y.kY)("* => leave, :leave",[(0,y.iF)({position:"absolute",top:0,left:0,width:"100%"}),(0,y.i0)($.SLOW,(0,y.iF)({opacity:0})),(0,y.iF)({display:"none"})])]),(0,y.hZ)("thumbMotion",[(0,y.wk)("from",(0,y.iF)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,y.wk)("to",(0,y.iF)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,y.kY)("from => to",(0,y.i0)(`300ms ${n.EASE_IN_OUT}`))]),(0,y.hZ)("zoomBigMotion",[(0,y.kY)("void => active",[(0,y.iF)({opacity:0,transform:"scale(0.8)"}),(0,y.i0)(`${$.BASE} ${n.EASE_OUT_CIRC}`,(0,y.iF)({opacity:1,transform:"scale(1)"}))]),(0,y.kY)("active => void",[(0,y.iF)({opacity:1,transform:"scale(1)"}),(0,y.i0)(`${$.BASE} ${n.EASE_IN_OUT_CIRC}`,(0,y.iF)({opacity:0,transform:"scale(0.8)"}))])]));(0,y.hZ)("zoomBadgeMotion",[(0,y.kY)(":enter",[(0,y.iF)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,y.i0)(`${$.SLOW} ${n.EASE_OUT_BACK}`,(0,y.iF)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,y.kY)(":leave",[(0,y.iF)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,y.i0)(`${$.SLOW} ${n.EASE_IN_BACK}`,(0,y.iF)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])])},26006:(De,A,C)=>{"use strict";C.d(A,{PA:()=>n,cM:()=>ze,nP:()=>L,uP:()=>ae,un:()=>a});var y=C(34709),$=C(54215);const n=["success","processing","error","default","warning"],a=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function L(B){return-1!==a.indexOf(B)}function ae(B){return-1!==n.indexOf(B)}const K=2,se=.16,fe=.05,le=.05,de=.15,Ve=5,Ee=4,qe=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Ge({r:B,g:Te,b:be}){const Pe=(0,y.wE)(B,Te,be);return{h:360*Pe.h,s:Pe.s,v:Pe.v}}function ht({r:B,g:Te,b:be}){return`#${(0,y.Ob)(B,Te,be,!1)}`}function Tt(B,Te,be){let Pe;return Pe=Math.round(B.h)>=60&&Math.round(B.h)<=240?be?Math.round(B.h)-K*Te:Math.round(B.h)+K*Te:be?Math.round(B.h)+K*Te:Math.round(B.h)-K*Te,Pe<0?Pe+=360:Pe>=360&&(Pe-=360),Pe}function dt(B,Te,be){if(0===B.h&&0===B.s)return B.s;let Pe;return Pe=be?B.s-se*Te:Te===Ee?B.s+se:B.s+fe*Te,Pe>1&&(Pe=1),be&&Te===Ve&&Pe>.1&&(Pe=.1),Pe<.06&&(Pe=.06),Number(Pe.toFixed(2))}function ft(B,Te,be){let Pe;return Pe=be?B.v+le*Te:B.v-de*Te,Pe>1&&(Pe=1),Number(Pe.toFixed(2))}function ze(B,Te={}){const be=[],Pe=(0,$.RO)(B);for(let et=Ve;et>0;et-=1){const z=Ge(Pe),X=ht((0,$.RO)({h:Tt(z,et,!0),s:dt(z,et,!0),v:ft(z,et,!0)}));be.push(X)}be.push(ht(Pe));for(let et=1;et<=Ee;et+=1){const z=Ge(Pe),X=ht((0,$.RO)({h:Tt(z,et),s:dt(z,et),v:ft(z,et)}));be.push(X)}return"dark"===Te.theme?qe.map(({index:et,opacity:z})=>ht(function at(B,Te,be){const Pe=be/100;return{r:(Te.r-B.r)*Pe+B.r,g:(Te.g-B.g)*Pe+B.g,b:(Te.b-B.b)*Pe+B.b}}((0,$.RO)(Te.backgroundColor||"#141414"),(0,$.RO)(be[et]),100*z))):be}},26035:(De,A,C)=>{"use strict";C.d(A,{H4:()=>at,yx:()=>ht});var y=C(93953),$=C(21413),n=C(5964),a=C(73703),L=C(94369),ae=C(26006),K=C(3451),se=C(70317);const fe=new y.nKC("nz-config"),de=`-ant-${Date.now()}-${Math.random()}`;function Ee(Tt,dt,ft){const ze=function Ve(Tt,dt){const ft={},ze=(be,Pe)=>{let et=be.clone();return et=Pe?.(et)||et,et.toRgbString()},B=(be,Pe)=>{const et=new L.q(be),z=(0,ae.cM)(et.toRgbString());ft[`${Pe}-color`]=ze(et),ft[`${Pe}-color-disabled`]=z[1],ft[`${Pe}-color-hover`]=z[4],ft[`${Pe}-color-active`]=z[7],ft[`${Pe}-color-outline`]=et.clone().setAlpha(.2).toRgbString(),ft[`${Pe}-color-deprecated-bg`]=z[1],ft[`${Pe}-color-deprecated-border`]=z[3]};if(dt.primaryColor){B(dt.primaryColor,"primary");const be=new L.q(dt.primaryColor),Pe=(0,ae.cM)(be.toRgbString());Pe.forEach((z,X)=>{ft[`primary-${X+1}`]=z}),ft["primary-color-deprecated-l-35"]=ze(be,z=>z.lighten(35)),ft["primary-color-deprecated-l-20"]=ze(be,z=>z.lighten(20)),ft["primary-color-deprecated-t-20"]=ze(be,z=>z.tint(20)),ft["primary-color-deprecated-t-50"]=ze(be,z=>z.tint(50)),ft["primary-color-deprecated-f-12"]=ze(be,z=>z.setAlpha(.12*z.getAlpha()));const et=new L.q(Pe[0]);ft["primary-color-active-deprecated-f-30"]=ze(et,z=>z.setAlpha(.3*z.getAlpha())),ft["primary-color-active-deprecated-d-02"]=ze(et,z=>z.darken(2))}return dt.successColor&&B(dt.successColor,"success"),dt.warningColor&&B(dt.warningColor,"warning"),dt.errorColor&&B(dt.errorColor,"error"),dt.infoColor&&B(dt.infoColor,"info"),`\n  :root {\n    ${Object.keys(ft).map(be=>`--${Tt}-${be}: ${ft[be]};`).join("\n")}\n  }\n  `.trim()}(Tt,dt);(0,se.OC)()?(0,se.BD)(ze,`${de}-dynamic-theme`,{cspNonce:ft}):(0,K.R8)("NzConfigService: SSR do not support dynamic theme with css variables.")}const qe=function(Tt){return void 0!==Tt};let ht=(()=>{class Tt{constructor(){this.configUpdated$=new $.B,this.config=(0,y.WQX)(fe,{optional:!0})||{},this.cspNonce=(0,y.WQX)(y.BIS,{optional:!0}),this.config.theme&&Ee(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce)}getConfig(){return this.config}getConfigForComponent(ft){return this.config[ft]}getConfigChangeEventForComponent(ft){return this.configUpdated$.pipe((0,n.p)(ze=>ze===ft),(0,a.u)(void 0))}set(ft,ze){this.config[ft]={...this.config[ft],...ze},"theme"===ft&&this.config.theme&&Ee(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(ft)}static#e=this.\u0275fac=function(ze){return new(ze||Tt)};static#t=this.\u0275prov=y.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}return Tt})();function at(){return function(dt,ft,ze){const B=`$$__zorroConfigDecorator__${ft}`;return Object.defineProperty(dt,B,{configurable:!0,writable:!0,enumerable:!1}),{get(){const Te=ze?.get?ze.get.bind(this)():this[B],be=(this.propertyAssignCounter?.[ft]||0)>1,Pe=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[ft];return be&&qe(Te)?Te:qe(Pe)?Pe:Te},set(Te){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[ft]=(this.propertyAssignCounter[ft]||0)+1,ze?.set?ze.set.bind(this)(Te):this[B]=Te},configurable:!0,enumerable:!0}}}},3451:(De,A,C)=>{"use strict";C.d(A,{R8:()=>K});var y=C(93953);const n={};const K=(...le)=>function ae(le,...de){(0,y.naY)()&&function L(...le){const de=le.reduce((Ve,Ee)=>Ve+Ee.toString(),"");return!n[de]&&(n[de]=!0,!0)}(...de)&&le(...de)}((...de)=>console.warn("[NG-ZORRO]:",...de),...le)},26841:(De,A,C)=>{"use strict";C.d(A,{z:()=>$});var y=C(93953);let $=(()=>{class a{constructor(){this.animationType=(0,y.WQX)(y.bc$,{optional:!0}),this.nzNoAnimation=!1}static#e=this.\u0275fac=function(K){return new(K||a)};static#t=this.\u0275dir=y.FsC({type:a,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(K,se){2&K&&y.AVh("nz-animate-disabled",se.nzNoAnimation||"NoopAnimations"===se.animationType)},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",y.L39]},exportAs:["nzNoAnimation"],standalone:!0,features:[y.GFd]})}return a})()},57806:(De,A,C)=>{"use strict";C.d(A,{C:()=>a,m:()=>$});var y=C(93953);let $=(()=>{class L{static ngTemplateContextGuard(K,se){return!0}recreateView(){this.viewContainer.clear();const K=this.nzStringTemplateOutlet instanceof y.C4Q;this.embeddedViewRef=this.viewContainer.createEmbeddedView(K?this.nzStringTemplateOutlet:this.templateRef,K?this.nzStringTemplateOutletContext:this.context)}updateContext(){const se=this.nzStringTemplateOutlet instanceof y.C4Q?this.nzStringTemplateOutletContext:this.context,fe=this.embeddedViewRef.context;if(se)for(const le of Object.keys(se))fe[le]=se[le]}constructor(K,se){this.viewContainer=K,this.templateRef=se,this.embeddedViewRef=null,this.context=new n,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(K){const{nzStringTemplateOutletContext:se,nzStringTemplateOutlet:fe}=K;fe&&(this.context.$implicit=fe.currentValue),(()=>{let Ve=!1;return fe&&(Ve=!!fe.firstChange||(fe.previousValue instanceof y.C4Q||fe.currentValue instanceof y.C4Q)),se&&(Ge=>{const ht=Object.keys(Ge.previousValue||{}),at=Object.keys(Ge.currentValue||{});if(ht.length===at.length){for(const Tt of at)if(-1===ht.indexOf(Tt))return!0;return!1}return!0})(se)||Ve})()?this.recreateView():this.updateContext()}static#e=this.\u0275fac=function(se){return new(se||L)(y.rXU(y.c1b),y.rXU(y.C4Q))};static#t=this.\u0275dir=y.FsC({type:L,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],standalone:!0,features:[y.OA$]})}return L})();class n{}let a=(()=>{class L{static#e=this.\u0275fac=function(se){return new(se||L)};static#t=this.\u0275mod=y.$C({type:L});static#n=this.\u0275inj=y.G2t({})}return L})()},65463:(De,A,C)=>{"use strict";C.d(A,{$_:()=>qe,G5:()=>Ge,Js:()=>ae,jj:()=>le,pn:()=>L,vT:()=>Ee});var y=C(47987),$=C(93953),n=C(56977),a=C(21025);const L={top:new y.uH({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new y.uH({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new y.uH({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new y.uH({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new y.uH({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new y.uH({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new y.uH({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new y.uH({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new y.uH({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new y.uH({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new y.uH({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new y.uH({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new y.uH({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new y.uH({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},ae=[L.top,L.right,L.bottom,L.left];function le(ht){for(const at in L)if(ht.connectionPair.originX===L[at].originX&&ht.connectionPair.originY===L[at].originY&&ht.connectionPair.overlayX===L[at].overlayX&&ht.connectionPair.overlayY===L[at].overlayY)return at}new y.uH({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new y.uH({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new y.uH({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new y.uH({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new y.uH({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new y.uH({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new y.uH({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let Ee=(()=>{class ht{constructor(Tt,dt){this.cdkConnectedOverlay=Tt,this.nzDestroyService=dt,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,n.Q)(this.nzDestroyService)).subscribe(ft=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(ft)})}updateArrowPosition(Tt){const dt=this.getOriginRect(),ft=le(Tt);let ze=0,B=0;"topLeft"===ft||"bottomLeft"===ft?ze=dt.width/2-14:"topRight"===ft||"bottomRight"===ft?ze=-(dt.width/2-14):"leftTop"===ft||"rightTop"===ft?B=dt.height/2-10:("leftBottom"===ft||"rightBottom"===ft)&&(B=-(dt.height/2-10)),(this.cdkConnectedOverlay.offsetX!==ze||this.cdkConnectedOverlay.offsetY!==B)&&(this.cdkConnectedOverlay.offsetY=B,this.cdkConnectedOverlay.offsetX=ze,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof y.$Q?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const Tt=this.getFlexibleConnectedPositionStrategyOrigin();if(Tt instanceof $.aKT)return Tt.nativeElement.getBoundingClientRect();if(Tt instanceof Element)return Tt.getBoundingClientRect();const dt=Tt.width||0,ft=Tt.height||0;return{top:Tt.y,bottom:Tt.y+ft,left:Tt.x,right:Tt.x+dt,height:ft,width:dt}}static#e=this.\u0275fac=function(dt){return new(dt||ht)($.rXU(y.WB),$.rXU(a.y4))};static#t=this.\u0275dir=$.FsC({type:ht,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",$.L39]},exportAs:["nzConnectedOverlay"],features:[$.Jv_([a.y4]),$.GFd]})}return ht})(),qe=(()=>{class ht{static#e=this.\u0275fac=function(dt){return new(dt||ht)};static#t=this.\u0275mod=$.$C({type:ht});static#n=this.\u0275inj=$.G2t({})}return ht})();function Ge(ht,at){at&&(ht._host.style.zIndex=`${at}`)}},94500:(De,A,C)=>{"use strict";C.d(A,{F:()=>a,j:()=>L});const y=["moz","ms","webkit"];function a(ae){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(ae);const K=y.filter(se=>`${se}CancelAnimationFrame`in window||`${se}CancelRequestAnimationFrame`in window)[0];return K?(window[`${K}CancelAnimationFrame`]||window[`${K}CancelRequestAnimationFrame`]).call(this,ae):clearTimeout(ae)}const L=function n(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const ae=y.filter(K=>`${K}RequestAnimationFrame`in window)[0];return ae?window[`${ae}RequestAnimationFrame`]:function $(){let ae=0;return function(K){const se=(new Date).getTime(),fe=Math.max(0,16-(se-ae)),le=window.setTimeout(()=>{K(se+fe)},fe);return ae=se+fe,le}}()}()},21025:(De,A,C)=>{"use strict";C.d(A,{cB:()=>de,fe:()=>dt,jp:()=>ze,pt:()=>Tt,y4:()=>B,yY:()=>ft});var y=C(93953),$=C(21413),n=C(13798),a=C(70980),L=C(56977),ae=C(96354),K=C(99172),se=C(23294),fe=C(99327);const le=()=>{};let de=(()=>{class be{constructor(et,z){this.ngZone=et,this.rendererFactory2=z,this.resizeSource$=new $.B,this.listeners=0,this.disposeHandle=le,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=le}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,n.Z)(16),(0,a.j)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=le)}static#e=this.\u0275fac=function(z){return new(z||be)(y.KVO(y.SKi),y.KVO(y._9s))};static#t=this.\u0275prov=y.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})();var Tt=function(be){return be.xxl="xxl",be.xl="xl",be.lg="lg",be.md="md",be.sm="sm",be.xs="xs",be}(Tt||{});const dt={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},ft={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};let ze=(()=>{class be{constructor(et,z){this.resizeService=et,this.mediaMatcher=z,this.destroy$=new $.B,this.resizeService.subscribe().pipe((0,L.Q)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(et,z){if(z){const X=()=>this.matchMedia(et,!0);return this.resizeService.subscribe().pipe((0,ae.T)(X),(0,K.Z)(X()),(0,se.F)((P,rt)=>P[0]===rt[0]),(0,ae.T)(P=>P[1]))}{const X=()=>this.matchMedia(et);return this.resizeService.subscribe().pipe((0,ae.T)(X),(0,K.Z)(X()),(0,se.F)())}}matchMedia(et,z){let X=Tt.md;const P={};return Object.keys(et).map(rt=>{const Ue=rt,zt=this.mediaMatcher.matchMedia(dt[Ue]).matches;P[rt]=zt,zt&&(X=Ue)}),z?[X,P]:X}static#e=this.\u0275fac=function(z){return new(z||be)(y.KVO(de),y.KVO(fe.DY))};static#t=this.\u0275prov=y.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),B=(()=>{class be extends $.B{ngOnDestroy(){this.next(),this.complete()}static#e=this.\u0275fac=(()=>{let et;return function(X){return(et||(et=y.xGo(be)))(X||be)}})();static#t=this.\u0275prov=y.jDH({token:be,factory:be.\u0275fac})}return be})()},16389:(De,A,C)=>{"use strict";C.d(A,{c:()=>$,p:()=>n});var y=C(93953);let $=(()=>{class a{setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(ae,K){this.elementRef=ae,this.renderer=K,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static#e=this.\u0275fac=function(K){return new(K||a)(y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:a,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},standalone:!0,features:[y.OA$]})}return a})(),n=(()=>{class a{static#e=this.\u0275fac=function(K){return new(K||a)};static#t=this.\u0275mod=y.$C({type:a});static#n=this.\u0275inj=y.G2t({})}return a})()},70317:(De,A,C)=>{"use strict";C.d(A,{BD:()=>Hn,BV:()=>Rt,G4:()=>ht,LP:()=>Ri,Mk:()=>z,OC:()=>wi,Ro:()=>dt,cG:()=>Bi,cj:()=>at,cz:()=>_n,gD:()=>Ve,ij:()=>ri,j3:()=>ft,my:()=>Ge,n9:()=>de,nI:()=>Vt,nS:()=>rn,r1:()=>fe,uI:()=>qe,yL:()=>mt});var y=C(93953),$=C(14085),n=C(21413),a=C(74402),L=C(48455),ae=C(7673),K=C(96697);function fe(qt,Cn){if(!qt||!Cn||qt.length!==Cn.length)return!1;const Bn=qt.length;for(let xt=0;xt<Bn;xt++)if(qt[xt]!==Cn[xt])return!1;return!0}function de(qt){return typeof qt<"u"&&null!==qt}function Ve(qt){return typeof qt>"u"||null===qt}function qe(qt){return"string"==typeof qt&&""!==qt}function Ge(qt){return qt instanceof y.C4Q}function ht(qt){return(0,$.he)(qt)}function at(qt){return(0,y.Udg)(qt,0)}function dt(qt,Cn=0){return(0,$.OE)(qt,Cn)}function ft(qt){return(0,$.a1)(qt)}function z(qt){if(!qt.getClientRects().length)return{top:0,left:0};const Cn=qt.getBoundingClientRect(),Bn=qt.ownerDocument.defaultView;return{top:Cn.top+Bn.pageYOffset,left:Cn.left+Bn.pageXOffset}}function mt(qt){return!!qt&&"function"==typeof qt.then&&"function"==typeof qt.catch}function Rt(qt){return"number"==typeof qt&&isFinite(qt)}function Vt(qt,Cn){return Math.round(qt*Math.pow(10,Cn))/Math.pow(10,Cn)}function _n(qt,Cn=0){return qt.reduce((Bn,xt)=>Bn+xt,Cn)}let nt,gt;typeof window<"u"&&window;const Dt={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function rn(qt="vertical",Cn="ant"){if(typeof document>"u"||typeof window>"u")return 0;const Bn="vertical"===qt;if(Bn&&nt)return nt;if(!Bn&&gt)return gt;const xt=document.createElement("div");Object.keys(Dt).forEach(ot=>{xt.style[ot]=Dt[ot]}),xt.className=`${Cn}-hide-scrollbar scroll-div-append-to-body`,Bn?xt.style.overflowY="scroll":xt.style.overflowX="scroll",document.body.appendChild(xt);let en=0;return Bn?(en=xt.offsetWidth-xt.clientWidth,nt=en):(en=xt.offsetHeight-xt.clientHeight,gt=en),document.body.removeChild(xt),en}function ri(){const qt=new n.B;return Promise.resolve().then(()=>qt.next()),qt.pipe((0,K.s)(1))}function Bi(qt){return(0,a.A)(qt)?qt:mt(qt)?(0,L.H)(Promise.resolve(qt)):(0,ae.of)(qt)}function wi(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const mi="rc-util-key";function Li({mark:qt}={}){return qt?qt.startsWith("data-")?qt:`data-${qt}`:mi}function _o(qt){return qt.attachTo?qt.attachTo:document.querySelector("head")||document.body}function Vi(qt,Cn={}){if(!wi())return null;const Bn=document.createElement("style");Cn.cspNonce&&(Bn.nonce=Cn.cspNonce),Bn.innerHTML=qt;const xt=_o(Cn),{firstChild:en}=xt;return Cn.prepend&&xt.prepend?xt.prepend(Bn):Cn.prepend&&en?xt.insertBefore(Bn,en):xt.appendChild(Bn),Bn}const Di=new Map;function Hn(qt,Cn,Bn={}){const xt=_o(Bn);if(!Di.has(xt)){const Ct=Vi("",Bn),{parentNode:tn}=Ct;Di.set(xt,tn),tn.removeChild(Ct)}const en=function Mo(qt,Cn={}){const Bn=_o(Cn);return Array.from(Di.get(Bn)?.children||[]).find(xt=>"STYLE"===xt.tagName&&xt.getAttribute(Li(Cn))===qt)}(Cn,Bn);if(en)return Bn.cspNonce&&en.nonce!==Bn.cspNonce&&(en.nonce=Bn.cspNonce),en.innerHTML!==qt&&(en.innerHTML=qt),en;const ot=Vi(qt,Bn);return ot?.setAttribute(Li(Bn),Cn),ot}function Ri(qt,Cn,Bn){return{[`${qt}-status-success`]:"success"===Cn,[`${qt}-status-warning`]:"warning"===Cn,[`${qt}-status-error`]:"error"===Cn,[`${qt}-status-validating`]:"validating"===Cn,[`${qt}-has-feedback`]:Bn}}},25930:(De,A,C)=>{"use strict";C.d(A,{o7:()=>se,p:()=>K});var y=C(36860),$=C(93953);class n{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(le,de,Ve,Ee,qe){this.triggerElement=le,this.ngZone=de,this.insertExtraNode=Ve,this.platformId=Ee,this.cspNonce=qe,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=Ge=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===Ge.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new y.OD(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const le=this.triggerElement,de=this.getWaveColor(le);le.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(de)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`\n      [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n        --antd-wave-shadow-color: ${de};\n      }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",le.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{le.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(le){return!!le&&"#ffffff"!==le&&"rgb(255, 255, 255)"!==le&&this.isNotGrey(le)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(le)&&"transparent"!==le}isNotGrey(le){const de=le.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(de&&de[1]&&de[2]&&de[3]&&de[1]===de[2]&&de[2]===de[3])}getWaveColor(le){const de=getComputedStyle(le);return de.getPropertyValue("border-top-color")||de.getPropertyValue("border-color")||de.getPropertyValue("background-color")}runTimeoutOutsideZone(le,de){this.ngZone.runOutsideAngular(()=>setTimeout(le,de))}}const a={disabled:!1},L=new $.nKC("nz-wave-global-options");function ae(fe){return(0,$.EmA)([{provide:L,useValue:fe}])}let K=(()=>{class fe{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(de,Ve){this.ngZone=de,this.elementRef=Ve,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.cspNonce=(0,$.WQX)($.BIS,{optional:!0}),this.platformId=(0,$.WQX)($.Agw),this.config=(0,$.WQX)(L,{optional:!0}),this.animationType=(0,$.WQX)($.bc$,{optional:!0}),this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let de=!1;return this.config&&"boolean"==typeof this.config.disabled&&(de=this.config.disabled),"NoopAnimations"===this.animationType&&(de=!0),de}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new n(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)($.rXU($.SKi),$.rXU($.aKT))};static#t=this.\u0275dir=$.FsC({type:fe,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"],standalone:!0})}return fe})(),se=(()=>{class fe{static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275mod=$.$C({type:fe});static#n=this.\u0275inj=$.G2t({providers:[ae(a)]})}return fe})()},21377:(De,A,C)=>{"use strict";C.d(A,{Og:()=>fe,Vc:()=>le,bP:()=>de});var y=C(93953),$=C(84412),n=C(3451),a={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},L={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeQuarterPlaceholder:["\u5f00\u59cb\u5b63\u5ea6","\u7ed3\u675f\u5b63\u5ea6"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0",scanned:"\u5df2\u626b\u63cf"}};const ae=new y.nKC("nz-i18n"),se=new y.nKC("nz-date-locale");let fe=(()=>{class Ct{get localeChange(){return this._change.asObservable()}constructor(){this._change=new $.t(this._locale),this.setLocale((0,y.WQX)(ae,{optional:!0})||L),this.setDateLocale((0,y.WQX)(se,{optional:!0}))}translate(tt,ut){let Et=this._getObjectPath(this._locale,tt);return"string"==typeof Et?(ut&&Object.keys(ut).forEach(gn=>Et=Et.replace(new RegExp(`%${gn}%`,"g"),ut[gn])),Et):tt}setLocale(tt){this._locale&&this._locale.locale===tt.locale||(this._locale=tt,this._change.next(tt))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(tt){this.dateLocale=tt}getDateLocale(){return this.dateLocale}getLocaleData(tt,ut){const Et=tt?this._getObjectPath(this._locale,tt):this._locale;return!Et&&!ut&&(0,n.R8)(`Missing translations for "${tt}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),Et||ut||this._getObjectPath(a,tt)||{}}_getObjectPath(tt,ut){let Et=tt;const gn=ut.split("."),Ut=gn.length;let Qn=0;for(;Et&&Qn<Ut;)Et=Et[gn[Qn++]];return Qn===Ut?Et:null}static#e=this.\u0275fac=function(ut){return new(ut||Ct)};static#t=this.\u0275prov=y.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})(),le=(()=>{class Ct{constructor(tt){this._locale=tt}transform(tt,ut){return this._locale.translate(tt,ut)}static#e=this.\u0275fac=function(ut){return new(ut||Ct)(y.rXU(fe,16))};static#t=this.\u0275pipe=y.EJ8({name:"nzI18n",type:Ct,pure:!0,standalone:!0})}return Ct})(),de=(()=>{class Ct{static#e=this.\u0275fac=function(ut){return new(ut||Ct)};static#t=this.\u0275mod=y.$C({type:Ct});static#n=this.\u0275inj=y.G2t({})}return Ct})();new y.nKC("date-config")},39397:(De,A,C)=>{"use strict";C.d(A,{Dn:()=>Rh,Y3:()=>Tp});var y=C(93953),$=C(21413),n=C(48455),a=C(56977),L=C(34709),ae=C(54215),K=2,se=.16,fe=.05,le=.05,de=.15,Ve=5,Ee=4,qe=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Ge(Kn){var mo=(0,L.wE)(Kn.r,Kn.g,Kn.b);return{h:360*mo.h,s:mo.s,v:mo.v}}function ht(Kn){return"#".concat((0,L.Ob)(Kn.r,Kn.g,Kn.b,!1))}function Tt(Kn,dr,Mn){var ci;return(ci=Math.round(Kn.h)>=60&&Math.round(Kn.h)<=240?Mn?Math.round(Kn.h)-K*dr:Math.round(Kn.h)+K*dr:Mn?Math.round(Kn.h)+K*dr:Math.round(Kn.h)-K*dr)<0?ci+=360:ci>=360&&(ci-=360),ci}function dt(Kn,dr,Mn){return 0===Kn.h&&0===Kn.s?Kn.s:((ci=Mn?Kn.s-se*dr:dr===Ee?Kn.s+se:Kn.s+fe*dr)>1&&(ci=1),Mn&&dr===Ve&&ci>.1&&(ci=.1),ci<.06&&(ci=.06),Number(ci.toFixed(2)));var ci}function ft(Kn,dr,Mn){var ci;return(ci=Mn?Kn.v+le*dr:Kn.v-de*dr)>1&&(ci=1),Number(ci.toFixed(2))}var Te=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Te.primary=Te[5];var be=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];be.primary=be[5];var Pe=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Pe.primary=Pe[5];var et=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];et.primary=et[5];var z=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];z.primary=z[5];var X=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];X.primary=X[5];var P=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];P.primary=P[5];var rt=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];rt.primary=rt[5];var Ue=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Ue.primary=Ue[5];var zt=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];zt.primary=zt[5];var sn=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];sn.primary=sn[5];var Mt=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Mt.primary=Mt[5];var mt=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];mt.primary=mt[5];var yt=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];yt.primary=yt[5];var Rt=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Rt.primary=Rt[5];var Vt=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Vt.primary=Vt[5];var _n=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];_n.primary=_n[5];var oi=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];oi.primary=oi[5];var Vn=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Vn.primary=Vn[5];var Wn=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Wn.primary=Wn[5];var qn=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];qn.primary=qn[5];var Ni=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Ni.primary=Ni[5];var Ci=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ci.primary=Ci[5];var oo=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];oo.primary=oo[5];var Rn=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Rn.primary=Rn[5];var vi=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];vi.primary=vi[5];var fi=C(60177),ei=C(21626),Yi=C(7673),En=C(71985),Xn=C(96354),lt=C(88141),He=C(70980),Le=C(99437),nt=C(97647),gt=C(5964),Dt=C(96697),rn=C(345);const mn="[@ant-design/icons-angular]:";function Bi(Kn){(0,y.naY)()&&console.warn(`${mn} ${Kn}.`)}function wi(Kn){return function ze(Kn){for(var dr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Mn=[],ci=(0,ae.RO)(Kn),mo=Ve;mo>0;mo-=1){var zr=Ge(ci),Cs=ht((0,ae.RO)({h:Tt(zr,mo,!0),s:dt(zr,mo,!0),v:ft(zr,mo,!0)}));Mn.push(Cs)}Mn.push(ht(ci));for(var Ha=1;Ha<=Ee;Ha+=1){var ul=Ge(ci),cu=ht((0,ae.RO)({h:Tt(ul,Ha),s:dt(ul,Ha),v:ft(ul,Ha)}));Mn.push(cu)}return"dark"===dr.theme?qe.map(function(rf){var O1=rf.index,Nm=rf.opacity,sf=ht(function at(Kn,dr,Mn){var ci=Mn/100;return{r:(dr.r-Kn.r)*ci+Kn.r,g:(dr.g-Kn.g)*ci+Kn.g,b:(dr.b-Kn.b)*ci+Kn.b}}((0,ae.RO)(dr.backgroundColor||"#141414"),(0,ae.RO)(Mn[O1]),100*Nm));return sf}):Mn}(Kn)[0]}function mi(Kn,dr){switch(dr){case"fill":return`${Kn}-fill`;case"outline":return`${Kn}-o`;case"twotone":return`${Kn}-twotone`;case void 0:return Kn;default:throw new Error(`${mn}Theme "${dr}" is not a recognized theme!`)}}function Di(Kn){return"object"==typeof Kn&&"string"==typeof Kn.name&&("string"==typeof Kn.theme||void 0===Kn.theme)&&"string"==typeof Kn.icon}function Ri(Kn){const dr=Kn.split(":");switch(dr.length){case 1:return[Kn,""];case 2:return[dr[1],dr[0]];default:throw new Error(`${mn}The icon type ${Kn} is not valid!`)}}function Bn(Kn){return new Error(`${mn}the icon ${Kn} does not exist or is not registered.`)}function ot(){return new Error(`${mn}<svg> tag not found.`)}const tt=new y.nKC("ant_icons");let ut=(()=>{class Kn{set twoToneColor({primaryColor:Mn,secondaryColor:ci}){this._twoToneColorPalette.primaryColor=Mn,this._twoToneColorPalette.secondaryColor=ci||wi(Mn)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(Mn,ci,mo,zr,Cs){this._rendererFactory=Mn,this._handler=ci,this._document=mo,this.sanitizer=zr,this._antIcons=Cs,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new $.B,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new ei.Qq(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?Bi("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=Mn=>{this._jsonpIconLoad$.next(Mn)})}changeAssetsSource(Mn){this._assetsUrlRoot=Mn.endsWith("/")?Mn:Mn+"/"}addIcon(...Mn){Mn.forEach(ci=>{this._svgDefinitions.set(mi(ci.name,ci.theme),ci)})}addIconLiteral(Mn,ci){const[mo,zr]=Ri(Mn);if(!zr)throw function Cn(){return new Error(`${mn}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:Mn,icon:ci})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(Mn,ci){const mo=Di(Mn)?Mn:this._svgDefinitions.get(Mn)||null;if(!mo&&this._disableDynamicLoading)throw Bn(Mn);return(mo?(0,Yi.of)(mo):this._loadIconDynamically(Mn)).pipe((0,Xn.T)(Cs=>{if(!Cs)throw Bn(Mn);return this._loadSVGFromCacheOrCreateNew(Cs,ci)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(Mn){if(!this._http&&!this._enableJsonpLoading)return(0,Yi.of)(function xt(){return function ri(Kn){console.error(`${mn} ${Kn}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let ci=this._inProgressFetches.get(Mn);if(!ci){const[mo,zr]=Ri(Mn),Cs=zr?{name:Mn,icon:""}:function Mo(Kn){const dr=Kn.split("-"),Mn=function _o(Kn){return"o"===Kn?"outline":Kn}(dr.splice(dr.length-1,1)[0]);return{name:dr.join("-"),theme:Mn,icon:""}}(mo),ul=(zr?`${this._assetsUrlRoot}assets/${zr}/${mo}`:`${this._assetsUrlRoot}assets/${Cs.theme}/${Cs.name}`)+(this._enableJsonpLoading?".js":".svg"),cu=this.sanitizer.sanitize(y.WPN.URL,ul);if(!cu)throw function en(Kn){return new Error(`${mn}The url "${Kn}" is unsafe.`)}(ul);ci=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(Cs,cu):this._http.get(cu,{responseType:"text"}).pipe((0,Xn.T)(O1=>({...Cs,icon:O1})))).pipe((0,lt.M)(O1=>this.addIcon(O1)),(0,He.j)(()=>this._inProgressFetches.delete(Mn)),(0,Le.W)(()=>(0,Yi.of)(null)),(0,nt.u)()),this._inProgressFetches.set(Mn,ci)}return ci}_loadIconDynamicallyWithJsonp(Mn,ci){return new En.c(mo=>{const zr=this._document.createElement("script"),Cs=setTimeout(()=>{Ha(),mo.error(function Ct(){return new Error(`${mn}Importing timeout error.`)}())},6e3);function Ha(){zr.parentNode.removeChild(zr),clearTimeout(Cs)}zr.src=ci,this._document.body.appendChild(zr),this._jsonpIconLoad$.pipe((0,gt.p)(ul=>ul.name===Mn.name&&ul.theme===Mn.theme),(0,Dt.s)(1)).subscribe(ul=>{mo.next(ul),Ha()})})}_loadSVGFromCacheOrCreateNew(Mn,ci){let mo;const zr=ci||this._twoToneColorPalette.primaryColor,Cs=wi(zr)||this._twoToneColorPalette.secondaryColor,Ha="twotone"===Mn.theme?function Li(Kn,dr,Mn,ci){return`${mi(Kn,dr)}-${Mn}-${ci}`}(Mn.name,Mn.theme,zr,Cs):void 0===Mn.theme?Mn.name:mi(Mn.name,Mn.theme),ul=this._svgRenderedDefinitions.get(Ha);return ul?mo=ul.icon:(mo=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function qt(Kn){return""!==Ri(Kn)[1]}(Mn.name)?Mn.icon:function Hn(Kn){return Kn.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(Mn.icon)),"twotone"===Mn.theme,zr,Cs)),this._svgRenderedDefinitions.set(Ha,{...Mn,icon:mo})),function Yt(Kn){return Kn.cloneNode(!0)}(mo)}_createSVGElementFromString(Mn){const ci=this._document.createElement("div");ci.innerHTML=Mn;const mo=ci.querySelector("svg");if(!mo)throw ot;return mo}_setSVGAttribute(Mn){return this._renderer.setAttribute(Mn,"width","1em"),this._renderer.setAttribute(Mn,"height","1em"),Mn}_colorizeSVGIcon(Mn,ci,mo,zr){if(ci){const Cs=Mn.childNodes,Ha=Cs.length;for(let ul=0;ul<Ha;ul++){const cu=Cs[ul];"secondaryColor"===cu.getAttribute("fill")?this._renderer.setAttribute(cu,"fill",zr):this._renderer.setAttribute(cu,"fill",mo)}}return this._renderer.setAttribute(Mn,"fill","currentColor"),Mn}static#e=this.\u0275fac=function(ci){return new(ci||Kn)(y.KVO(y._9s),y.KVO(ei.JV,8),y.KVO(fi.qQ,8),y.KVO(rn.up),y.KVO(tt,8))};static#t=this.\u0275prov=y.jDH({token:Kn,factory:Kn.\u0275fac})}return Kn})(),gn=(()=>{class Kn{constructor(Mn,ci,mo){this._iconService=Mn,this._elementRef=ci,this._renderer=mo}ngOnChanges(Mn){(Mn.type||Mn.theme||Mn.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(Mn=>{if(!this.type)return this._clearSVGElement(),void Mn(null);const ci=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(mo=>{const zr=this._getSelfRenderMeta();!function Et(Kn,dr){return Kn.type===dr.type&&Kn.theme===dr.theme&&Kn.twoToneColor===dr.twoToneColor}(ci,zr)?Mn(null):(this._setSVGElement(mo),Mn(mo))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(Mn,ci){if(Di(Mn))return Mn;{const[mo,zr]=Ri(Mn);return zr?Mn:function Vi(Kn){return Kn.endsWith("-fill")||Kn.endsWith("-o")||Kn.endsWith("-twotone")}(mo)?(ci&&Bi(`'type' ${mo} already gets a theme inside so 'theme' ${ci} would be ignored`),mo):mi(mo,ci||this._iconService.defaultTheme)}}_setSVGElement(Mn){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,Mn)}_clearSVGElement(){const Mn=this._elementRef.nativeElement,ci=Mn.childNodes;for(let zr=ci.length-1;zr>=0;zr--){const Cs=ci[zr];"svg"===Cs.tagName?.toLowerCase()&&this._renderer.removeChild(Mn,Cs)}}static#e=this.\u0275fac=function(ci){return new(ci||Kn)(y.rXU(ut),y.rXU(y.aKT),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:Kn,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[y.OA$]})}return Kn})();var Nt=C(3451);const su={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var bp=C(26035),lu=C(36860);const Qg=[{name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},{name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},{name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},{name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'},{name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'},{name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'},{name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},{name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},{name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'},{name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'},{name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'},{name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},{name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'},{name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},{name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'},{name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},{name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},{name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},{name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'},{name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'},{name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'},{name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'},{name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'},{name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},{name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'},{name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'},{name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},su,{name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'},su,{name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},{name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'},{name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'},{name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},{name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'},{name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},{name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'}],Om=new y.nKC("nz_icons"),ef=(new y.nKC("nz_icon_default_twotone_color"),"#1890ff");let Cp=(()=>{class Kn extends ut{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(Mn){Mn.getAttribute("viewBox")||this._renderer.setAttribute(Mn,"viewBox","0 0 1024 1024"),(!Mn.getAttribute("width")||!Mn.getAttribute("height"))&&(this._renderer.setAttribute(Mn,"width","1em"),this._renderer.setAttribute(Mn,"height","1em")),Mn.getAttribute("fill")||this._renderer.setAttribute(Mn,"fill","currentColor")}fetchFromIconfont(Mn){const{scriptUrl:ci}=Mn;if(this._document&&!this.iconfontCache.has(ci)){const mo=this._renderer.createElement("script");this._renderer.setAttribute(mo,"src",ci),this._renderer.setAttribute(mo,"data-namespace",ci.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,mo),this.iconfontCache.add(ci)}}createIconfontIcon(Mn){return this._createSVGElementFromString(`<svg><use xlink:href="${Mn}"></svg>`)}constructor(Mn,ci,mo,zr){super(Mn,(0,y.WQX)(ei.JV,{optional:!0}),(0,y.WQX)(fi.qQ),ci,[...Qg,...(0,y.WQX)(Om,{optional:!0})||[]]),this.nzConfigService=mo,this.platform=zr,this.configUpdated$=new $.B,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const Mn=this.getConfig();this.defaultTheme=Mn.nzTheme||"outline"}configDefaultTwotoneColor(){const ci=this.getConfig().nzTwotoneColor||ef;let mo=ef;ci&&(ci.startsWith("#")?mo=ci:(0,Nt.R8)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:mo}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static#e=this.\u0275fac=function(ci){return new(ci||Kn)(y.KVO(y._9s),y.KVO(rn.up),y.KVO(bp.yx),y.KVO(lu.OD))};static#t=this.\u0275prov=y.jDH({token:Kn,factory:Kn.\u0275fac,providedIn:"root"})}return Kn})();const tf=new y.nKC("nz_icons_patch");let nf=(()=>{class Kn{constructor(Mn){this.rootIconService=Mn,this.patched=!1,this.extraIcons=(0,y.WQX)(tf,{self:!0})}doPatch(){this.patched||(this.extraIcons.forEach(Mn=>this.rootIconService.addIcon(Mn)),this.patched=!0)}static#e=this.\u0275fac=function(ci){return new(ci||Kn)(y.KVO(Cp))};static#t=this.\u0275prov=y.jDH({token:Kn,factory:Kn.\u0275fac})}return Kn})(),Rh=(()=>{class Kn extends gn{set nzSpin(Mn){this.spin=Mn}set nzType(Mn){this.type=Mn}set nzTheme(Mn){this.theme=Mn}set nzTwotoneColor(Mn){this.twoToneColor=Mn}set nzIconfont(Mn){this.iconfont=Mn}constructor(Mn,ci,mo,zr,Cs){super(zr,mo,Cs),this.ngZone=Mn,this.changeDetectorRef=ci,this.iconService=zr,this.renderer=Cs,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new $.B;const Ha=(0,y.WQX)(nf,{optional:!0});Ha&&Ha.doPatch(),this.el=mo.nativeElement}ngOnChanges(Mn){const{nzType:ci,nzTwotoneColor:mo,nzSpin:zr,nzTheme:Cs,nzRotate:Ha}=Mn;ci||mo||zr||Cs?this.changeIcon2():Ha?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const Mn=this.el.children;let ci=Mn.length;if(!this.type&&Mn.length)for(;ci--;){const mo=Mn[ci];"svg"===mo.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(mo)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,n.H)(this._changeIcon()).pipe((0,a.Q)(this.destroy$)).subscribe({next:Mn=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),Mn&&(this.setSVGData(Mn),this.handleSpin(Mn),this.handleRotate(Mn))})},error:Nt.R8})})}handleSpin(Mn){this.spin||"loading"===this.type?this.renderer.addClass(Mn,"anticon-spin"):this.renderer.removeClass(Mn,"anticon-spin")}handleRotate(Mn){this.nzRotate?this.renderer.setAttribute(Mn,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(Mn,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(Mn){this.renderer.setAttribute(Mn,"data-icon",this.type),this.renderer.setAttribute(Mn,"aria-hidden","true")}static#e=this.\u0275fac=function(ci){return new(ci||Kn)(y.rXU(y.SKi),y.rXU(y.gRc),y.rXU(y.aKT),y.rXU(Cp),y.rXU(y.sFG))};static#t=this.\u0275dir=y.FsC({type:Kn,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(ci,mo){2&ci&&y.AVh("anticon",!0)},inputs:{nzSpin:[2,"nzSpin","nzSpin",y.L39],nzRotate:[2,"nzRotate","nzRotate",y.Udg],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],standalone:!0,features:[y.GFd,y.Vt3,y.OA$]})}return Kn})();const wp=Kn=>(0,y.EmA)([{provide:Om,useValue:Kn}]),z0=Kn=>[nf,{provide:tf,useValue:Kn}];let Tp=(()=>{class Kn{static forRoot(Mn){return{ngModule:Kn,providers:[wp(Mn)]}}static forChild(Mn){return{ngModule:Kn,providers:[z0(Mn)]}}static#e=this.\u0275fac=function(ci){return new(ci||Kn)};static#t=this.\u0275mod=y.$C({type:Kn});static#n=this.\u0275inj=y.G2t({})}return Kn})()},43053:(De,A,C)=>{"use strict";C.d(A,{or:()=>Vi,U6:()=>Qn,J9:()=>tn,N_:()=>tt});var y=C(10467),$=C(47987),n=C(76939),a=C(93953),L=C(21413),ae=C(33726),K=C(59030),se=C(56977),fe=C(5964),le=C(96697),de=C(99172),Ve=C(3451),Ee=C(65463),qe=C(70317),Ge=C(60177),ht=C(50513),at=C(57806),Tt=C(21377),dt=C(39397);C(345);class B{static#e=this.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};transform(we,H=0,re="B",ge){if(!((0,qe.BV)(we)&&(0,qe.BV)(H)&&H%1==0&&H>=0))return we;let We=we,Ft=re;for(;"B"!==Ft;)We*=1024,Ft=B.formats[Ft].prev;if(ge){const yn=(0,qe.nI)(B.calculateResult(B.formats[ge],We),H);return B.formatResult(yn,ge)}for(const an in B.formats)if(B.formats.hasOwnProperty(an)){const yn=B.formats[an];if(We<yn.max){const di=(0,qe.nI)(B.calculateResult(yn,We),H);return B.formatResult(di,an)}}}static formatResult(we,H){return`${we} ${H}`}static calculateResult(we,H){const re=we.prev?B.formats[we.prev]:void 0;return re?H/re.max:H}static#t=this.\u0275fac=function(H){return new(H||B)};static#n=this.\u0275pipe=a.EJ8({name:"nzBytes",type:B,pure:!0,standalone:!0})}let Te=(()=>{class Be{transform(H,re="px"){return"number"==typeof H?`${H}${re}`:H}static#e=this.\u0275fac=function(re){return new(re||Be)};static#t=this.\u0275pipe=a.EJ8({name:"nzToCssUnit",type:Be,pure:!0,standalone:!0})}return Be})(),P=(()=>{class Be{static#e=this.\u0275fac=function(re){return new(re||Be)};static#t=this.\u0275mod=a.$C({type:Be});static#n=this.\u0275inj=a.G2t({})}return Be})();var rt=C(49969),Ue=C(89888),zt=C(26035),sn=C(94500),Mt=C(16389),mt=C(25930),Ke=C(1875),Xe=C(67336),yt=C(28203);const Rt=["nz-modal-close",""];function Vt(Be,we){if(1&Be&&(a.qex(0),a.nrm(1,"span",2),a.bVm()),2&Be){const H=we.$implicit;a.R7$(),a.Y8G("nzType",H)}}const _n=["modalElement"];function oi(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",16),a.bIt("click",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onCloseClick())}),a.k0s()}}function Vn(Be,we){if(1&Be&&(a.qex(0),a.nrm(1,"span",12),a.bVm()),2&Be){const H=a.XpG();a.R7$(),a.Y8G("innerHTML",H.config.nzTitle,a.npT)}}function Wn(Be,we){}function qn(Be,we){if(1&Be&&a.nrm(0,"div",12),2&Be){const H=a.XpG();a.Y8G("innerHTML",H.config.nzContent,a.npT)}}function Ni(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",17),a.bIt("click",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onCancel())}),a.EFF(1),a.k0s()}if(2&Be){const H=a.XpG();a.Y8G("nzLoading",H.config.nzCancelLoading)("disabled",H.config.nzCancelDisabled),a.BMQ("cdkFocusInitial","cancel"===H.config.nzAutofocus||null),a.R7$(),a.SpI(" ",H.config.nzCancelText||H.locale.cancelText," ")}}function Ci(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",18),a.bIt("click",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onOk())}),a.EFF(1),a.k0s()}if(2&Be){const H=a.XpG();a.Y8G("nzType",H.config.nzOkType)("nzLoading",H.config.nzOkLoading)("disabled",H.config.nzOkDisabled)("nzDanger",H.config.nzOkDanger),a.BMQ("cdkFocusInitial","ok"===H.config.nzAutofocus||null),a.R7$(),a.SpI(" ",H.config.nzOkText||H.locale.okText," ")}}const oo=["nz-modal-footer",""],Rn=(Be,we)=>({$implicit:Be,modalRef:we});function vi(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",3),a.bIt("click",function(){const ge=a.eBV(H).$implicit,We=a.XpG(4);return a.Njj(We.onButtonClick(ge))}),a.EFF(1),a.k0s()}if(2&Be){const H=we.$implicit,re=a.XpG(4);a.Y8G("hidden",!re.getButtonCallableProp(H,"show"))("nzLoading",re.getButtonCallableProp(H,"loading"))("disabled",re.getButtonCallableProp(H,"disabled"))("nzType",H.type)("nzDanger",H.danger)("nzShape",H.shape)("nzSize",H.size)("nzGhost",H.ghost),a.R7$(),a.SpI(" ",H.label," ")}}function So(Be,we){if(1&Be&&a.Z7z(0,vi,2,9,"button",2,a.fX1),2&Be){const H=a.XpG(3);a.Dyx(H.buttons)}}function fi(Be,we){if(1&Be&&a.nrm(0,"div",1),2&Be){const H=a.XpG(3);a.Y8G("innerHTML",H.config.nzFooter,a.npT)}}function ei(Be,we){if(1&Be&&(a.qex(0),a.DNE(1,So,2,0)(2,fi,1,1,"div",1),a.bVm()),2&Be){const H=a.XpG(2);a.R7$(),a.vxM(H.buttonsFooter?1:2)}}function Yi(Be,we){if(1&Be&&a.DNE(0,ei,3,1,"ng-container",0),2&Be){const H=a.XpG();a.Y8G("nzStringTemplateOutlet",H.config.nzFooter)("nzStringTemplateOutletContext",a.l_i(2,Rn,H.config.nzData,H.modalRef))}}function En(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",6),a.bIt("click",function(){a.eBV(H);const ge=a.XpG(2);return a.Njj(ge.onCancel())}),a.EFF(1),a.k0s()}if(2&Be){const H=a.XpG(2);a.Y8G("nzLoading",H.config.nzCancelLoading)("disabled",H.config.nzCancelDisabled),a.BMQ("cdkFocusInitial","cancel"===H.config.nzAutofocus||null),a.R7$(),a.SpI(" ",H.config.nzCancelText||H.locale.cancelText," ")}}function Xn(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",7),a.bIt("click",function(){a.eBV(H);const ge=a.XpG(2);return a.Njj(ge.onOk())}),a.EFF(1),a.k0s()}if(2&Be){const H=a.XpG(2);a.Y8G("nzType",H.config.nzOkType)("nzDanger",H.config.nzOkDanger)("nzLoading",H.config.nzOkLoading)("disabled",H.config.nzOkDisabled),a.BMQ("cdkFocusInitial","ok"===H.config.nzAutofocus||null),a.R7$(),a.SpI(" ",H.config.nzOkText||H.locale.okText," ")}}function lt(Be,we){if(1&Be&&a.DNE(0,En,2,4,"button",4)(1,Xn,2,6,"button",5),2&Be){const H=a.XpG();a.vxM(null!==H.config.nzCancelText?0:-1),a.R7$(),a.vxM(null!==H.config.nzOkText?1:-1)}}const He=["nz-modal-title",""];function Le(Be,we){if(1&Be&&(a.qex(0),a.nrm(1,"div",2),a.bVm()),2&Be){const H=a.XpG();a.R7$(),a.Y8G("innerHTML",H.config.nzTitle,a.npT)}}function nt(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"button",9),a.bIt("click",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onCloseClick())}),a.k0s()}}function gt(Be,we){if(1&Be&&a.nrm(0,"div",10),2&Be){const H=a.XpG();a.xc7("cursor",H.config.nzDraggable?"move":"auto")}}function Dt(Be,we){}function rn(Be,we){if(1&Be&&a.nrm(0,"div",7),2&Be){const H=a.XpG();a.Y8G("innerHTML",H.config.nzContent,a.npT)}}function mn(Be,we){if(1&Be){const H=a.RV6();a.j41(0,"div",11),a.bIt("cancelTriggered",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onCloseClick())})("okTriggered",function(){a.eBV(H);const ge=a.XpG();return a.Njj(ge.onOkClick())}),a.k0s()}if(2&Be){const H=a.XpG();a.Y8G("modalRef",H.modalRef)}}const ri=()=>{};class Bi{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzDraggable=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=ri,this.nzOnOk=ri,this.nzIconType="question-circle"}}const Li="ant-modal-mask",_o="modal",Vi=new a.nKC("NZ_MODAL_DATA"),Di={modalContainer:(0,rt.hZ)("modalContainer",[(0,rt.wk)("void, exit",(0,rt.iF)({})),(0,rt.wk)("enter",(0,rt.iF)({})),(0,rt.kY)("* => enter",(0,rt.i0)(".24s",(0,rt.iF)({}))),(0,rt.kY)("* => void, * => exit",(0,rt.i0)(".2s",(0,rt.iF)({})))])};let Mo=(()=>{class Be{constructor(H){this.config=H}static#e=this.\u0275fac=function(re){return new(re||Be)(a.rXU(Bi))};static#t=this.\u0275cmp=a.VBU({type:Be,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],standalone:!0,features:[a.aNF],attrs:Rt,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(re,ge){1&re&&(a.j41(0,"span",0),a.DNE(1,Vt,2,1,"ng-container",1),a.k0s()),2&re&&(a.R7$(),a.Y8G("nzStringTemplateOutlet",ge.config.nzCloseIcon))},dependencies:[dt.Y3,dt.Dn,at.C,at.m],encapsulation:2,changeDetection:0})}return Be})();function Hn(Be,we,H){return typeof Be>"u"?typeof we>"u"?H:we:Be}function qt(){throw Error("Attempting to attach modal content after content is already attached")}let Cn=(()=>{class Be extends n.lb{get showMask(){const H=this.nzConfigService.getConfigForComponent(_o)||{};return!!Hn(this.config.nzMask,H.nzMask,!0)}get maskClosable(){const H=this.nzConfigService.getConfigForComponent(_o)||{};return!!Hn(this.config.nzMaskClosable,H.nzMaskClosable,!0)}constructor(){super(),this.animationStateChanged=new a.bkB,this.containerClick=new a.bkB,this.cancelTriggered=new a.bkB,this.okTriggered=new a.bkB,this.state="enter",this.document=(0,a.WQX)(Ge.qQ),this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.cdr=(0,a.WQX)(a.gRc),this.config=(0,a.WQX)(Bi),this.destroy$=new L.B,this.ngZone=(0,a.WQX)(a.SKi),this.host=(0,a.WQX)(a.aKT),this.focusTrapFactory=(0,a.WQX)(Ue.GX),this.render=(0,a.WQX)(a.sFG),this.overlayRef=(0,a.WQX)($.yY),this.nzConfigService=(0,a.WQX)(zt.yx),this.animationType=(0,a.WQX)(a.bc$,{optional:!0}),this.dir=this.overlayRef.getDirection(),this.isStringContent="string"==typeof this.config.nzContent,this.nzConfigService.getConfigChangeEventForComponent(_o).pipe((0,se.Q)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(H){H.target===H.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(H){return this.portalOutlet.hasAttached()&&qt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(H)}attachTemplatePortal(H){return this.portalOutlet.hasAttached()&&qt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(H)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const H=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const re=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),ge=(0,qe.Mk)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(H,"transform-origin",`${ge.left+re.width/2-H.offsetLeft}px ${ge.top+re.height/2-H.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,sn.j)(()=>this.host.nativeElement.focus())))}trapFocus(){const H=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const re=this.document.activeElement;re!==H&&!H.contains(re)&&H.focus()}}restoreFocus(){const H=this.elementFocusedBeforeModalWasOpened;if(H&&"function"==typeof H.focus){const re=this.document.activeElement,ge=this.host.nativeElement;(!re||re===this.document.body||re===ge||ge.contains(re))&&H.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const H=this.modalElementRef.nativeElement,re=this.overlayRef.backdropElement;H.classList.add("ant-zoom-enter"),H.classList.add("ant-zoom-enter-active"),re&&(re.classList.add("ant-fade-enter"),re.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const H=this.modalElementRef.nativeElement;H.classList.add("ant-zoom-leave"),H.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(H=!1){const re=this.overlayRef.backdropElement;if(re){if(this.animationDisabled()||H)return void re.classList.remove(Li);re.classList.add("ant-fade-leave"),re.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const H=this.overlayRef.backdropElement,re=this.modalElementRef.nativeElement;H&&(H.classList.remove("ant-fade-enter"),H.classList.remove("ant-fade-enter-active")),re.classList.remove("ant-zoom-enter"),re.classList.remove("ant-zoom-enter-active"),re.classList.remove("ant-zoom-leave"),re.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const H=this.overlayRef.backdropElement;H&&(0,qe.n9)(this.config.nzZIndex)&&this.render.setStyle(H,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const H=this.overlayRef.backdropElement;if(H&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(ge=>{this.render.removeStyle(H,ge)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const re={...this.config.nzMaskStyle};Object.keys(re).forEach(ge=>{this.render.setStyle(H,ge,re[ge])}),this.oldMaskStyle=re}}updateMaskClassname(){const H=this.overlayRef.backdropElement;H&&(this.showMask?H.classList.add(Li):H.classList.remove(Li))}onAnimationDone(H){"enter"===H.toState?this.trapFocus():"exit"===H.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(H)}onAnimationStart(H){"enter"===H.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===H.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(H)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(H){this.ngZone.runOutsideAngular(()=>{(0,ae.R)(this.host.nativeElement,"mouseup").pipe((0,se.Q)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,ae.R)(H.nativeElement,"mousedown").pipe((0,se.Q)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}static#e=this.\u0275fac=function(re){return new(re||Be)};static#t=this.\u0275dir=a.FsC({type:Be,features:[a.Vt3]})}return Be})(),Bn=(()=>{class Be extends Cn{constructor(){super(),this.cancelTriggered=new a.bkB,this.okTriggered=new a.bkB,this.i18n=(0,a.WQX)(Tt.Og),this.i18n.localeChange.pipe((0,se.Q)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}static#e=this.\u0275fac=function(re){return new(re||Be)};static#t=this.\u0275cmp=a.VBU({type:Be,selectors:[["nz-modal-confirm-container"]],viewQuery:function(re,ge){if(1&re&&(a.GBs(n.I3,7),a.GBs(_n,7)),2&re){let We;a.mGM(We=a.lsd())&&(ge.portalOutlet=We.first),a.mGM(We=a.lsd())&&(ge.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(re,ge){1&re&&(a.Kam("@modalContainer.start",function(Ft){return ge.onAnimationStart(Ft)})("@modalContainer.done",function(Ft){return ge.onAnimationDone(Ft)}),a.bIt("click",function(Ft){return ge.onContainerClick(Ft)})),2&re&&(a.zvX("@.disabled",ge.config.nzNoAnimation)("@modalContainer",ge.state),a.HbH(ge.config.nzWrapClassName?"ant-modal-wrap "+ge.config.nzWrapClassName:"ant-modal-wrap"),a.xc7("z-index",ge.config.nzZIndex),a.AVh("ant-modal-wrap-rtl","rtl"===ge.dir)("ant-modal-centered",ge.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],standalone:!0,features:[a.Vt3,a.aNF],decls:17,vars:13,consts:[["modalElement",""],["role","document",1,"ant-modal",3,"ngClass","ngStyle"],[1,"ant-modal-content"],["nz-modal-close",""],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger"],["nz-modal-close","",3,"click"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzLoading","disabled","nzDanger"]],template:function(re,ge){1&re&&(a.j41(0,"div",1,0),a.nI1(2,"nzToCssUnit"),a.j41(3,"div",2),a.DNE(4,oi,1,0,"button",3),a.j41(5,"div",4)(6,"div",5)(7,"div",6),a.nrm(8,"span",7),a.j41(9,"span",8),a.DNE(10,Vn,2,1,"ng-container",9),a.k0s(),a.j41(11,"div",10),a.DNE(12,Wn,0,0,"ng-template",11)(13,qn,1,1,"div",12),a.k0s()(),a.j41(14,"div",13),a.DNE(15,Ni,2,4,"button",14)(16,Ci,2,6,"button",15),a.k0s()()()()()),2&re&&(a.xc7("width",a.bMT(2,11,null==ge.config?null:ge.config.nzWidth)),a.Y8G("ngClass",ge.config.nzClassName)("ngStyle",ge.config.nzStyle),a.R7$(4),a.vxM(ge.config.nzClosable?4:-1),a.R7$(),a.Y8G("ngStyle",ge.config.nzBodyStyle),a.R7$(3),a.Y8G("nzType",ge.config.nzIconType),a.R7$(2),a.Y8G("nzStringTemplateOutlet",ge.config.nzTitle),a.R7$(3),a.vxM(ge.isStringContent?13:-1),a.R7$(2),a.vxM(null!==ge.config.nzCancelText?15:-1),a.R7$(),a.vxM(null!==ge.config.nzOkText?16:-1))},dependencies:[Ge.YU,Ge.B3,P,Te,dt.Y3,dt.Dn,Mo,at.C,at.m,n.jc,n.I3,ht.Zw,ht.aO,Mt.c,mt.p],encapsulation:2,data:{animation:[Di.modalContainer]}})}return Be})(),xt=(()=>{class Be{constructor(H,re){this.i18n=H,this.config=re,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new a.bkB,this.okTriggered=new a.bkB,this.destroy$=new L.B,Array.isArray(re.nzFooter)&&(this.buttonsFooter=!0,this.buttons=re.nzFooter.map(en)),this.i18n.localeChange.pipe((0,se.Q)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(H,re){const ge=H[re],We=this.modalRef.getContentComponent();return"function"==typeof ge?ge.apply(H,We&&[We]):ge}onButtonClick(H){if(!this.getButtonCallableProp(H,"loading")){const ge=this.getButtonCallableProp(H,"onClick");H.autoLoading&&(0,qe.yL)(ge)&&(H.loading=!0,ge.then(()=>H.loading=!1).catch(We=>{throw H.loading=!1,We}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(re){return new(re||Be)(a.rXU(Tt.Og),a.rXU(Bi))};static#t=this.\u0275cmp=a.VBU({type:Be,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],standalone:!0,features:[a.aNF],attrs:oo,decls:2,vars:1,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],["nz-button","",3,"click","hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost"],["nz-button","",3,"nzLoading","disabled"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled"],["nz-button","",3,"click","nzLoading","disabled"],["nz-button","",3,"click","nzType","nzDanger","nzLoading","disabled"]],template:function(re,ge){1&re&&a.DNE(0,Yi,1,5,"ng-container")(1,lt,2,2),2&re&&a.vxM(ge.config.nzFooter?0:1)},dependencies:[at.C,at.m,ht.Zw,ht.aO,Mt.c,mt.p],encapsulation:2})}return Be})();function en(Be){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...Be}}let ot=(()=>{class Be{constructor(H){this.config=H}static#e=this.\u0275fac=function(re){return new(re||Be)(a.rXU(Bi))};static#t=this.\u0275cmp=a.VBU({type:Be,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],standalone:!0,features:[a.aNF],attrs:He,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(re,ge){1&re&&(a.j41(0,"div",0),a.DNE(1,Le,2,1,"ng-container",1),a.k0s()),2&re&&(a.R7$(),a.Y8G("nzStringTemplateOutlet",ge.config.nzTitle))},dependencies:[at.C,at.m],encapsulation:2,changeDetection:0})}return Be})(),Ct=(()=>{class Be extends Cn{ngOnInit(){this.setupMouseListeners(this.modalElementRef)}static#e=this.\u0275fac=(()=>{let H;return function(ge){return(H||(H=a.xGo(Be)))(ge||Be)}})();static#t=this.\u0275cmp=a.VBU({type:Be,selectors:[["nz-modal-container"]],viewQuery:function(re,ge){if(1&re&&(a.GBs(n.I3,7),a.GBs(_n,7)),2&re){let We;a.mGM(We=a.lsd())&&(ge.portalOutlet=We.first),a.mGM(We=a.lsd())&&(ge.modalElementRef=We.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(re,ge){1&re&&(a.Kam("@modalContainer.start",function(Ft){return ge.onAnimationStart(Ft)})("@modalContainer.done",function(Ft){return ge.onAnimationDone(Ft)}),a.bIt("click",function(Ft){return ge.onContainerClick(Ft)})),2&re&&(a.zvX("@.disabled",ge.config.nzNoAnimation)("@modalContainer",ge.state),a.HbH(ge.config.nzWrapClassName?"ant-modal-wrap "+ge.config.nzWrapClassName:"ant-modal-wrap"),a.xc7("z-index",ge.config.nzZIndex),a.AVh("ant-modal-wrap-rtl","rtl"===ge.dir)("ant-modal-centered",ge.config.nzCentered))},exportAs:["nzModalContainer"],standalone:!0,features:[a.Vt3,a.aNF],decls:10,vars:12,consts:[["modalElement",""],["cdkDrag","","cdkDragBoundary",".cdk-overlay-container","role","document",1,"ant-modal",3,"cdkDragDisabled","ngClass","ngStyle"],[1,"ant-modal-content"],["nz-modal-close",""],["nz-modal-title","","cdkDragHandle","",3,"cursor"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef"],["nz-modal-close","",3,"click"],["nz-modal-title","","cdkDragHandle",""],["nz-modal-footer","",3,"cancelTriggered","okTriggered","modalRef"]],template:function(re,ge){1&re&&(a.j41(0,"div",1,0),a.nI1(2,"nzToCssUnit"),a.j41(3,"div",2),a.DNE(4,nt,1,0,"button",3)(5,gt,1,2,"div",4),a.j41(6,"div",5),a.DNE(7,Dt,0,0,"ng-template",6)(8,rn,1,1,"div",7),a.k0s(),a.DNE(9,mn,1,1,"div",8),a.k0s()()),2&re&&(a.xc7("width",a.bMT(2,10,null==ge.config?null:ge.config.nzWidth)),a.Y8G("cdkDragDisabled",!ge.config.nzDraggable)("ngClass",ge.config.nzClassName)("ngStyle",ge.config.nzStyle),a.R7$(4),a.vxM(ge.config.nzClosable?4:-1),a.R7$(),a.vxM(ge.config.nzTitle?5:-1),a.R7$(),a.Y8G("ngStyle",ge.config.nzBodyStyle),a.R7$(2),a.vxM(ge.isStringContent?8:-1),a.R7$(),a.vxM(null!==ge.config.nzFooter?9:-1))},dependencies:[Ge.YU,Ge.B3,Mo,ot,n.jc,n.I3,xt,P,Te,Ke.T1,Ke.Fb],encapsulation:2,data:{animation:[Di.modalContainer]}})}return Be})();class tn{constructor(we,H,re){this.overlayRef=we,this.config=H,this.containerInstance=re,this.componentInstance=null,this.componentRef=null,this.state=0,this.afterClose=new L.B,this.afterOpen=new L.B,this.destroy$=new L.B,re.animationStateChanged.pipe((0,fe.p)(ge=>"done"===ge.phaseName&&"enter"===ge.toState),(0,le.s)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),H.nzAfterOpen instanceof a.bkB&&H.nzAfterOpen.emit()}),re.animationStateChanged.pipe((0,fe.p)(ge=>"done"===ge.phaseName&&"exit"===ge.toState),(0,le.s)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),re.containerClick.pipe((0,se.Q)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),we.keydownEvents().pipe((0,fe.p)(ge=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&ge.keyCode===Xe._f&&!(0,Xe.rp)(ge))).subscribe(ge=>{ge.preventDefault(),this.trigger("cancel")}),re.cancelTriggered.pipe((0,se.Q)(this.destroy$)).subscribe(()=>this.trigger("cancel")),re.okTriggered.pipe((0,se.Q)(this.destroy$)).subscribe(()=>this.trigger("ok")),we.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),H.nzAfterClose instanceof a.bkB&&H.nzAfterClose.emit(this.result),this.componentInstance=null,this.componentRef=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getContentComponentRef(){return this.componentRef}getElement(){return this.containerInstance.getNativeElement()}destroy(we){this.close(we)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(we){0===this.state&&(this.result=we,this.containerInstance.animationStateChanged.pipe((0,fe.p)(H=>"start"===H.phaseName),(0,le.s)(1)).subscribe(H=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},H.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(we){Object.assign(this.config,we),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(we){var H=this;return(0,y.A)(function*(){if(1===H.state)return;const re={ok:H.config.nzOnOk,cancel:H.config.nzOnCancel}[we],ge={ok:"nzOkLoading",cancel:"nzCancelLoading"}[we];if(!H.config[ge])if(re instanceof a.bkB)re.emit(H.getContentComponent());else if("function"==typeof re){const Ft=re(H.getContentComponent());if((0,qe.yL)(Ft)){H.config[ge]=!0;let an=!1;try{an=yield Ft}finally{H.config[ge]=!1,H.closeWhitResult(an)}}else H.closeWhitResult(Ft)}})()}closeWhitResult(we){!1!==we&&this.close(we)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let tt=(()=>{class Be{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const H=this.parentModal;return H?H._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(H,re,ge,We){this.overlay=H,this.injector=re,this.nzConfigService=ge,this.directionality=We,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new L.B,this.afterAllClose=(0,K.v)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,de.Z)(void 0))),this.parentModal=(0,a.WQX)(Be,{skipSelf:!0,optional:!0})}create(H){return this.open(H.nzContent,H)}closeAll(){this.closeModals(this.openModals)}confirm(H={},re="confirm"){return"nzFooter"in H&&(0,Ve.R8)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in H||(H.nzWidth=416),"nzMaskClosable"in H||(H.nzMaskClosable=!1),H.nzModalType="confirm",H.nzClassName=`ant-modal-confirm ant-modal-confirm-${re} ${H.nzClassName||""}`,this.create(H)}info(H={}){return this.confirmFactory(H,"info")}success(H={}){return this.confirmFactory(H,"success")}error(H={}){return this.confirmFactory(H,"error")}warning(H={}){return this.confirmFactory(H,"warning")}open(H,re){const ge=function Yt(Be,we){return{...we,...Be}}(re||{},new Bi),We=this.createOverlay(ge),Ft=this.attachModalContainer(We,ge),an=this.attachModalContent(H,Ft,We,ge);return Ft.modalRef=an,(0,Ee.G5)(We,re?.nzZIndex),this.openModals.push(an),an.afterClose.subscribe(()=>this.removeOpenModal(an)),an}removeOpenModal(H){const re=this.openModals.indexOf(H);re>-1&&(this.openModals.splice(re,1),this.openModals.length||this._afterAllClosed.next())}closeModals(H){let re=H.length;for(;re--;)H[re].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(H){const re=this.nzConfigService.getConfigForComponent(_o)||{},ge=new $.rR({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:Hn(H.nzCloseOnNavigation,re.nzCloseOnNavigation,!0),direction:Hn(H.nzDirection,re.nzDirection,this.directionality.value)});return Hn(H.nzMask,re.nzMask,!0)&&(ge.backdropClass=Li),this.overlay.create(ge)}attachModalContainer(H,re){const We=a.zZn.create({parent:re&&re.nzViewContainerRef&&re.nzViewContainerRef.injector||this.injector,providers:[{provide:$.yY,useValue:H},{provide:Bi,useValue:re}]}),an=new n.A8("confirm"===re.nzModalType?Bn:Ct,re.nzViewContainerRef,We);return H.attach(an).instance}attachModalContent(H,re,ge,We){const Ft=new tn(ge,We,re);if(H instanceof a.C4Q)re.attachTemplatePortal(new n.VA(H,null,{$implicit:We.nzData,modalRef:Ft}));else if((0,qe.n9)(H)&&"string"!=typeof H){const an=this.createInjector(Ft,We),yn=re.attachComponentPortal(new n.A8(H,We.nzViewContainerRef,an));Ft.componentRef=yn,Ft.componentInstance=yn.instance}else re.attachStringContent();return Ft}createInjector(H,re){return a.zZn.create({parent:re&&re.nzViewContainerRef&&re.nzViewContainerRef.injector||this.injector,providers:[{provide:tn,useValue:H},{provide:Vi,useValue:re.nzData}]})}confirmFactory(H={},re){return"nzIconType"in H||(H.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[re]),"nzCancelText"in H||(H.nzCancelText=null),this.confirm(H,re)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}static#e=this.\u0275fac=function(re){return new(re||Be)(a.KVO($.hJ),a.KVO(a.zZn),a.KVO(zt.yx),a.KVO(yt.dS))};static#t=this.\u0275prov=a.jDH({token:Be,factory:Be.\u0275fac})}return Be})(),Qn=(()=>{class Be{static#e=this.\u0275fac=function(re){return new(re||Be)};static#t=this.\u0275mod=a.$C({type:Be});static#n=this.\u0275inj=a.G2t({providers:[tt],imports:[Mo,xt,ot,Ct,Bn]})}return Be})()},72874:(De,A,C)=>{"use strict";C.d(A,{PV:()=>sn,g9:()=>mt});var y=C(31635),$=C(89888),n=C(47987),a=C(60177),L=C(93953),ae=C(21413),K=C(56977),se=C(61594),fe=C(70980),le=C(50513),de=C(40713),Ve=C(26035),Ee=C(26841),qe=C(57806),Ge=C(65463),ht=C(70317),at=C(21377),Tt=C(39397),dt=C(35154),ft=C(16389),ze=C(25930);const B=["okBtn"],Te=["cancelBtn"];function be(Ke,Xe){1&Ke&&(L.j41(0,"div",6),L.nrm(1,"span",14),L.k0s())}function Pe(Ke,Xe){if(1&Ke&&(L.qex(0),L.j41(1,"span",17),L.nrm(2,"span",18),L.k0s(),L.bVm()),2&Ke){const yt=Xe.$implicit;L.R7$(2),L.Y8G("nzType",yt||"exclamation-circle")}}function et(Ke,Xe){if(1&Ke&&(L.qex(0),L.DNE(1,Pe,3,1,"ng-container",15),L.j41(2,"div",16),L.EFF(3),L.k0s(),L.bVm()),2&Ke){const yt=L.XpG(2);L.R7$(),L.Y8G("nzStringTemplateOutlet",yt.nzIcon),L.R7$(2),L.JRh(yt.nzTitle)}}function z(Ke,Xe){if(1&Ke&&L.EFF(0),2&Ke){const yt=L.XpG(2);L.SpI(" ",yt.nzCancelText," ")}}function X(Ke,Xe){1&Ke&&(L.EFF(0),L.nI1(1,"nzI18n")),2&Ke&&L.SpI(" ",L.bMT(1,1,"Modal.cancelText")," ")}function P(Ke,Xe){if(1&Ke&&L.EFF(0),2&Ke){const yt=L.XpG(2);L.SpI(" ",yt.nzOkText," ")}}function rt(Ke,Xe){1&Ke&&(L.EFF(0),L.nI1(1,"nzI18n")),2&Ke&&L.SpI(" ",L.bMT(1,1,"Modal.okText")," ")}function Ue(Ke,Xe){if(1&Ke){const yt=L.RV6();L.j41(0,"div",4)(1,"div",5),L.DNE(2,be,2,0,"div",6),L.j41(3,"div",7)(4,"div")(5,"div",8)(6,"div",9),L.DNE(7,et,4,2,"ng-container",10),L.k0s(),L.j41(8,"div",11)(9,"button",12,1),L.bIt("click",function(){L.eBV(yt);const Vt=L.XpG();return L.Njj(Vt.onCancel())}),L.DNE(11,z,1,1)(12,X,2,3),L.k0s(),L.j41(13,"button",13,2),L.bIt("click",function(){L.eBV(yt);const Vt=L.XpG();return L.Njj(Vt.onConfirm())}),L.DNE(15,P,1,1)(16,rt,2,3),L.k0s()()()()()()()}if(2&Ke){const yt=L.XpG();L.AVh("ant-popover-rtl","rtl"===yt.dir),L.Y8G("cdkTrapFocusAutoCapture",null!==yt.nzAutoFocus)("ngClass",yt._classMap)("ngStyle",yt.nzOverlayStyle)("@.disabled",!(null==yt.noAnimation||!yt.noAnimation.nzNoAnimation))("nzNoAnimation",null==yt.noAnimation?null:yt.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),L.R7$(2),L.vxM(yt.nzPopconfirmShowArrow?2:-1),L.R7$(5),L.Y8G("nzStringTemplateOutlet",yt.nzTitle)("nzStringTemplateOutletContext",yt.nzTitleContext),L.R7$(2),L.Y8G("nzSize","small"),L.BMQ("cdkFocusInitial","cancel"===yt.nzAutoFocus||null),L.R7$(2),L.vxM(yt.nzCancelText?11:12),L.R7$(2),L.Y8G("nzSize","small")("nzType","danger"!==yt.nzOkType?yt.nzOkType:"primary")("nzDanger",yt.nzOkDanger||"danger"===yt.nzOkType)("nzLoading",yt.confirmLoading)("disabled",yt.nzOkDisabled),L.BMQ("cdkFocusInitial","ok"===yt.nzAutoFocus||null),L.R7$(2),L.vxM(yt.nzOkText?15:16)}}let sn=(()=>{class Ke extends dt.ME{getProxyPropertyMap(){return{nzOkText:["nzOkText",()=>this.nzOkText],nzOkType:["nzOkType",()=>this.nzOkType],nzOkDanger:["nzOkDanger",()=>this.nzOkDanger],nzOkDisabled:["nzOkDisabled",()=>this.nzOkDisabled],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzBeforeConfirm:["nzBeforeConfirm",()=>this.nzBeforeConfirm],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop],nzPopconfirmContext:["nzTitleContext",()=>this.titleContext],nzAutoFocus:["nzAutoFocus",()=>this.nzAutofocus],...super.getProxyPropertyMap()}}constructor(){super(Mt),this._nzModuleName="popconfirm",this.titleContext=null,this.trigger="click",this.placement="top",this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzPopconfirmBackdrop=!1,this.nzAutofocus=null,this.visibleChange=new L.bkB,this.nzOnCancel=new L.bkB,this.nzOnConfirm=new L.bkB}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe((0,K.Q)(this.destroy$)).subscribe(()=>{this.nzOnCancel.emit()}),this.component.nzOnConfirm.pipe((0,K.Q)(this.destroy$)).subscribe(()=>{this.nzOnConfirm.emit()})}static#e=this.\u0275fac=function(Rt){return new(Rt||Ke)};static#t=this.\u0275dir=L.FsC({type:Ke,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(Rt,Vt){2&Rt&&L.AVh("ant-popover-open",Vt.visible)},inputs:{arrowPointAtCenter:[2,"nzPopconfirmArrowPointAtCenter","arrowPointAtCenter",L.L39],title:[0,"nzPopconfirmTitle","title"],titleContext:[0,"nzPopconfirmTitleContext","titleContext"],directiveTitle:[0,"nz-popconfirm","directiveTitle"],trigger:[0,"nzPopconfirmTrigger","trigger"],placement:[0,"nzPopconfirmPlacement","placement"],origin:[0,"nzPopconfirmOrigin","origin"],mouseEnterDelay:[0,"nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopconfirmOverlayStyle","overlayStyle"],visible:[0,"nzPopconfirmVisible","visible"],nzOkText:"nzOkText",nzOkType:"nzOkType",nzOkDisabled:[2,"nzOkDisabled","nzOkDisabled",L.L39],nzOkDanger:[2,"nzOkDanger","nzOkDanger",L.L39],nzCancelText:"nzCancelText",nzBeforeConfirm:"nzBeforeConfirm",nzIcon:"nzIcon",nzCondition:[2,"nzCondition","nzCondition",L.L39],nzPopconfirmShowArrow:[2,"nzPopconfirmShowArrow","nzPopconfirmShowArrow",L.L39],nzPopconfirmBackdrop:"nzPopconfirmBackdrop",nzAutofocus:"nzAutofocus"},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],standalone:!0,features:[L.GFd,L.Vt3]})}return(0,y.Cg)([(0,Ve.H4)()],Ke.prototype,"nzPopconfirmBackdrop",void 0),(0,y.Cg)([(0,Ve.H4)()],Ke.prototype,"nzAutofocus",void 0),Ke})(),Mt=(()=>{class Ke extends dt.VJ{constructor(yt){super(),this.elementRef=yt,this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzOkType="primary",this.nzOkDanger=!1,this.nzOkDisabled=!1,this.nzAutoFocus=null,this.nzBeforeConfirm=null,this.nzOnCancel=new ae.B,this.nzOnConfirm=new ae.B,this._trigger="click",this.elementFocusedBeforeModalWasOpened=null,this.document=(0,L.WQX)(a.qQ),this._prefix="ant-popover",this.confirmLoading=!1}ngOnDestroy(){super.ngOnDestroy(),this.nzOnCancel.complete(),this.nzOnConfirm.complete()}show(){this.nzCondition?this.onConfirm():(this.capturePreviouslyFocusedElement(),super.show())}hide(){super.hide(),this.restoreFocus()}handleConfirm(){this.nzOnConfirm.next(),super.hide()}onCancel(){this.nzOnCancel.next(),super.hide()}onConfirm(){if(this.nzBeforeConfirm){const yt=(0,ht.cG)(this.nzBeforeConfirm()).pipe((0,se.$)());this.confirmLoading=!0,yt.pipe((0,fe.j)(()=>{this.confirmLoading=!1,this.cdr.markForCheck()}),(0,K.Q)(this.nzVisibleChange),(0,K.Q)(this.destroy$)).subscribe(Rt=>{Rt&&this.handleConfirm()})}else this.handleConfirm()}capturePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement)}restoreFocus(){const yt=this.elementFocusedBeforeModalWasOpened;if(yt&&"function"==typeof yt.focus){const Rt=this.document.activeElement,Vt=this.elementRef.nativeElement;(!Rt||Rt===this.document.body||Rt===Vt||Vt.contains(Rt))&&yt.focus()}}static#e=this.\u0275fac=function(Rt){return new(Rt||Ke)(L.rXU(L.aKT))};static#t=this.\u0275cmp=L.VBU({type:Ke,selectors:[["nz-popconfirm"]],viewQuery:function(Rt,Vt){if(1&Rt&&(L.GBs(B,5,L.aKT),L.GBs(Te,5,L.aKT)),2&Rt){let _n;L.mGM(_n=L.lsd())&&(Vt.okBtn=_n),L.mGM(_n=L.lsd())&&(Vt.cancelBtn=_n)}},exportAs:["nzPopconfirmComponent"],standalone:!0,features:[L.Vt3,L.aNF],decls:2,vars:6,consts:[["overlay","cdkConnectedOverlay"],["cancelBtn",""],["okBtn",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter"],["cdkTrapFocus","",1,"ant-popover",3,"cdkTrapFocusAutoCapture","ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-popover-buttons"],["nz-button","",3,"click","nzSize"],["nz-button","",3,"click","nzSize","nzType","nzDanger","nzLoading","disabled"],[1,"ant-popover-arrow-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-message-title"],[1,"ant-popover-message-icon"],["nz-icon","","nzTheme","fill",3,"nzType"]],template:function(Rt,Vt){if(1&Rt){const _n=L.RV6();L.DNE(0,Ue,17,21,"ng-template",3,0,L.C5r),L.bIt("overlayOutsideClick",function(Vn){return L.eBV(_n),L.Njj(Vt.onClickOutside(Vn))})("detach",function(){return L.eBV(_n),L.Njj(Vt.hide())})("positionChange",function(Vn){return L.eBV(_n),L.Njj(Vt.onPositionChange(Vn))})}2&Rt&&L.Y8G("cdkConnectedOverlayHasBackdrop",Vt.nzBackdrop)("cdkConnectedOverlayOrigin",Vt.origin)("cdkConnectedOverlayPositions",Vt._positions)("cdkConnectedOverlayOpen",Vt._visible)("cdkConnectedOverlayPush",Vt.cdkConnectedOverlayPush)("nzArrowPointAtCenter",Vt.nzArrowPointAtCenter)},dependencies:[n.z_,n.WB,Ge.$_,Ge.vT,$.Pd,$.kB,a.YU,a.B3,Ee.z,qe.C,qe.m,Tt.Y3,Tt.Dn,le.Zw,le.aO,ft.c,ze.p,at.bP,at.Vc],encapsulation:2,data:{animation:[de.uX]},changeDetection:0})}return Ke})(),mt=(()=>{class Ke{static#e=this.\u0275fac=function(Rt){return new(Rt||Ke)};static#t=this.\u0275mod=L.$C({type:Ke});static#n=this.\u0275inj=L.G2t({imports:[Mt]})}return Ke})()},1236:(De,A,C)=>{"use strict";C.d(A,{L_:()=>ht,MC:()=>Tt});var y=C(31635),$=C(47987),n=C(60177),a=C(93953),L=C(40713),ae=C(26035),K=C(26841),se=C(57806),fe=C(65463),le=C(35154);function de(dt,ft){if(1&dt&&(a.qex(0),a.EFF(1),a.bVm()),2&dt){const ze=a.XpG(3);a.R7$(),a.JRh(ze.nzTitle)}}function Ve(dt,ft){if(1&dt&&(a.j41(0,"div",7),a.DNE(1,de,2,1,"ng-container",9),a.k0s()),2&dt){const ze=a.XpG(2);a.R7$(),a.Y8G("nzStringTemplateOutlet",ze.nzTitle)}}function Ee(dt,ft){if(1&dt&&(a.qex(0),a.EFF(1),a.bVm()),2&dt){const ze=a.XpG(2);a.R7$(),a.JRh(ze.nzContent)}}function qe(dt,ft){if(1&dt&&(a.j41(0,"div",2)(1,"div",3)(2,"div",4),a.nrm(3,"span",5),a.k0s(),a.j41(4,"div",6)(5,"div"),a.DNE(6,Ve,2,1,"div",7),a.j41(7,"div",8),a.DNE(8,Ee,2,1,"ng-container",9),a.k0s()()()()()),2&dt){const ze=a.XpG();a.AVh("ant-popover-rtl","rtl"===ze.dir),a.Y8G("ngClass",ze._classMap)("ngStyle",ze.nzOverlayStyle)("@.disabled",!(null==ze.noAnimation||!ze.noAnimation.nzNoAnimation))("nzNoAnimation",null==ze.noAnimation?null:ze.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),a.R7$(6),a.vxM(ze.nzTitle?6:-1),a.R7$(2),a.Y8G("nzStringTemplateOutlet",ze.nzContent)}}let ht=(()=>{class dt extends le.ME{getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}constructor(){super(at),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new a.bkB}static#e=this.\u0275fac=function(B){return new(B||dt)};static#t=this.\u0275dir=a.FsC({type:dt,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(B,Te){2&B&&a.AVh("ant-popover-open",Te.visible)},inputs:{arrowPointAtCenter:[2,"nzPopoverArrowPointAtCenter","arrowPointAtCenter",a.L39],title:[0,"nzPopoverTitle","title"],content:[0,"nzPopoverContent","content"],directiveTitle:[0,"nz-popover","directiveTitle"],trigger:[0,"nzPopoverTrigger","trigger"],placement:[0,"nzPopoverPlacement","placement"],origin:[0,"nzPopoverOrigin","origin"],visible:[0,"nzPopoverVisible","visible"],mouseEnterDelay:[0,"nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopoverOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],standalone:!0,features:[a.GFd,a.Vt3]})}return(0,y.Cg)([(0,ae.H4)()],dt.prototype,"nzPopoverBackdrop",void 0),dt})(),at=(()=>{class dt extends le.VJ{constructor(){super(...arguments),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,le.t)(this.nzTitle)&&(0,le.t)(this.nzContent)}static#e=this.\u0275fac=(()=>{let ze;return function(Te){return(ze||(ze=a.xGo(dt)))(Te||dt)}})();static#t=this.\u0275cmp=a.VBU({type:dt,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],standalone:!0,features:[a.Vt3,a.aNF],decls:2,vars:6,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],[1,"ant-popover-title"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"]],template:function(B,Te){if(1&B){const be=a.RV6();a.DNE(0,qe,9,9,"ng-template",1,0,a.C5r),a.bIt("overlayOutsideClick",function(et){return a.eBV(be),a.Njj(Te.onClickOutside(et))})("detach",function(){return a.eBV(be),a.Njj(Te.hide())})("positionChange",function(et){return a.eBV(be),a.Njj(Te.onPositionChange(et))})}2&B&&a.Y8G("cdkConnectedOverlayHasBackdrop",Te.hasBackdrop)("cdkConnectedOverlayOrigin",Te.origin)("cdkConnectedOverlayPositions",Te._positions)("cdkConnectedOverlayOpen",Te._visible)("cdkConnectedOverlayPush",Te.cdkConnectedOverlayPush)("nzArrowPointAtCenter",Te.nzArrowPointAtCenter)},dependencies:[$.z_,$.WB,fe.$_,fe.vT,n.YU,n.B3,K.z,se.C,se.m],encapsulation:2,data:{animation:[L.uX]},changeDetection:0})}return dt})(),Tt=(()=>{class dt{static#e=this.\u0275fac=function(B){return new(B||dt)};static#t=this.\u0275mod=a.$C({type:dt});static#n=this.\u0275inj=a.G2t({imports:[at]})}return dt})()},35154:(De,A,C)=>{"use strict";C.d(A,{LH:()=>Pe,ME:()=>B,Qt:()=>z,VJ:()=>et,t:()=>be});var y=C(47987),$=C(60177),n=C(93953),a=C(40713),L=C(26006),ae=C(26841),K=C(57806),se=C(65463),fe=C(28203),le=C(36860),de=C(21413),Ve=C(25007),Ee=C(23294),qe=C(56977),Ge=C(5964),ht=C(91986),at=C(26035),Tt=C(70317);const dt=["overlay"];function ft(X,P){if(1&X&&(n.qex(0),n.EFF(1),n.bVm()),2&X){const rt=n.XpG(2);n.R7$(),n.JRh(rt.nzTitle)}}function ze(X,P){if(1&X&&(n.j41(0,"div",2)(1,"div",3)(2,"div",4),n.nrm(3,"span",5),n.k0s(),n.j41(4,"div",6),n.DNE(5,ft,2,1,"ng-container",7),n.k0s()()()),2&X){const rt=n.XpG();n.AVh("ant-tooltip-rtl","rtl"===rt.dir),n.Y8G("ngClass",rt._classMap)("ngStyle",rt.nzOverlayStyle)("@.disabled",!(null==rt.noAnimation||!rt.noAnimation.nzNoAnimation))("nzNoAnimation",null==rt.noAnimation?null:rt.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),n.R7$(3),n.Y8G("ngStyle",rt._contentStyleMap),n.R7$(),n.Y8G("ngStyle",rt._contentStyleMap),n.R7$(),n.Y8G("nzStringTemplateOutlet",rt.nzTitle)("nzStringTemplateOutletContext",rt.nzTitleContext)}}let B=(()=>{class X{get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const rt=this.placement;return Array.isArray(rt)&&rt.length>0?rt:"string"==typeof rt&&rt?[rt]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}constructor(rt){this.componentType=rt,this.visibleChange=new n.bkB,this.internalVisible=!1,this.destroy$=new de.B,this.triggerDisposables=[],this.elementRef=(0,n.WQX)(n.aKT),this.hostView=(0,n.WQX)(n.c1b),this.renderer=(0,n.WQX)(n.sFG),this.noAnimation=(0,n.WQX)(ae.z,{host:!0,optional:!0}),this.nzConfigService=(0,n.WQX)(at.yx),this.platformId=(0,n.WQX)(n.Agw)}ngAfterViewInit(){(0,$.UE)(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(rt){const{trigger:Ue}=rt;Ue&&!Ue.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(rt)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const rt=this.hostView.createComponent(this.componentType);this.component=rt.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),rt.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const Ue=this.component.nzVisibleChange.pipe((0,Ee.F)());Ue.pipe((0,qe.Q)(this.destroy$)).subscribe(zt=>{this.internalVisible=zt,this.visibleChange.emit(zt)}),Ue.pipe((0,Ge.p)(zt=>zt),(0,ht.c)(0,Ve.$),(0,Ge.p)(()=>!!this.component?.overlay?.overlayRef),(0,qe.Q)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const rt=this.elementRef.nativeElement,Ue=this.trigger;if(this.removeTriggerListeners(),"hover"===Ue){let zt;this.triggerDisposables.push(this.renderer.listen(rt,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(rt,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!zt&&(zt=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(zt,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(zt,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===Ue?(this.triggerDisposables.push(this.renderer.listen(rt,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(rt,"focusout",()=>this.hide()))):"click"===Ue&&this.triggerDisposables.push(this.renderer.listen(rt,"click",zt=>{zt.preventDefault(),this.show()}))}updatePropertiesByChanges(rt){this.updatePropertiesByKeys(Object.keys(rt))}updatePropertiesByKeys(rt){const Ue={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush],...this.getProxyPropertyMap()};(rt||Object.keys(Ue).filter(zt=>!zt.startsWith("directive"))).forEach(zt=>{if(Ue[zt]){const[sn,Mt]=Ue[zt];this.updateComponentValue(sn,Mt())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(rt,Ue){typeof Ue<"u"&&(this.component[rt]=Ue)}delayEnterLeave(rt,Ue,zt=-1){this.delayTimer?this.clearTogglingTimer():zt>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,Ue?this.show():this.hide()},1e3*zt):Ue&&rt?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(rt=>rt()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static#e=this.\u0275fac=function(Ue){return new(Ue||X)(n.rXU(n.ZUJ))};static#t=this.\u0275dir=n.FsC({type:X,features:[n.OA$]})}return X})(),Te=(()=>{class X{constructor(){this.noAnimation=(0,n.WQX)(ae.z,{host:!0,optional:!0}),this.cdr=(0,n.WQX)(n.gRc),this.directionality=(0,n.WQX)(fe.dS),this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.cdkConnectedOverlayPush=!0,this.nzVisibleChange=new de.B,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...se.Js],this.destroy$=new de.B}set nzVisible(rt){const Ue=(0,Tt.G4)(rt);this._visible!==Ue&&(this._visible=Ue,this.nzVisibleChange.next(Ue))}get nzVisible(){return this._visible}set nzTrigger(rt){this._trigger=rt}get nzTrigger(){return this._trigger}set nzPlacement(rt){const Ue=rt.map(zt=>se.pn[zt]);this._positions=[...Ue,...se.Js]}ngOnInit(){this.directionality.change?.pipe((0,qe.Q)(this.destroy$)).subscribe(rt=>{this.dir=rt,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(rt){this.preferredPlacement=(0,se.jj)(rt),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(rt){this.origin=rt,this.cdr.markForCheck()}onClickOutside(rt){const Ue=(0,le.Fb)(rt);!this.origin.nativeElement.contains(Ue)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}static#e=this.\u0275fac=function(Ue){return new(Ue||X)};static#t=this.\u0275dir=n.FsC({type:X,viewQuery:function(Ue,zt){if(1&Ue&&n.GBs(dt,5),2&Ue){let sn;n.mGM(sn=n.lsd())&&(zt.overlay=sn.first)}}})}return X})();function be(X){return!(X instanceof n.C4Q||""!==X&&(0,Tt.n9)(X))}let Pe=(()=>{class X extends B{constructor(){super(et),this.titleContext=null,this.trigger="hover",this.placement="top",this.cdkConnectedOverlayPush=!0,this.visibleChange=new n.bkB}getProxyPropertyMap(){return{...super.getProxyPropertyMap(),nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]}}static#e=this.\u0275fac=function(Ue){return new(Ue||X)};static#t=this.\u0275dir=n.FsC({type:X,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(Ue,zt){2&Ue&&n.AVh("ant-tooltip-open",zt.visible)},inputs:{title:[0,"nzTooltipTitle","title"],titleContext:[0,"nzTooltipTitleContext","titleContext"],directiveTitle:[0,"nz-tooltip","directiveTitle"],trigger:[0,"nzTooltipTrigger","trigger"],placement:[0,"nzTooltipPlacement","placement"],origin:[0,"nzTooltipOrigin","origin"],visible:[0,"nzTooltipVisible","visible"],mouseEnterDelay:[0,"nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzTooltipOverlayClassName","overlayClassName"],overlayStyle:[0,"nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:[2,"nzTooltipArrowPointAtCenter","arrowPointAtCenter",n.L39],cdkConnectedOverlayPush:[2,"cdkConnectedOverlayPush","cdkConnectedOverlayPush",n.L39],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],standalone:!0,features:[n.GFd,n.Vt3]})}return X})(),et=(()=>{class X extends Te{constructor(){super(...arguments),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return be(this.nzTitle)}updateStyles(){const rt=this.nzColor&&(0,L.nP)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:rt},this._contentStyleMap={backgroundColor:this.nzColor&&!rt?this.nzColor:null,"--antd-arrow-background-color":this.nzColor}}static#e=this.\u0275fac=(()=>{let rt;return function(zt){return(rt||(rt=n.xGo(X)))(zt||X)}})();static#t=this.\u0275cmp=n.VBU({type:X,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],standalone:!0,features:[n.Vt3,n.aNF],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(Ue,zt){if(1&Ue){const sn=n.RV6();n.DNE(0,ze,6,11,"ng-template",1,0,n.C5r),n.bIt("overlayOutsideClick",function(mt){return n.eBV(sn),n.Njj(zt.onClickOutside(mt))})("detach",function(){return n.eBV(sn),n.Njj(zt.hide())})("positionChange",function(mt){return n.eBV(sn),n.Njj(zt.onPositionChange(mt))})}2&Ue&&n.Y8G("cdkConnectedOverlayOrigin",zt.origin)("cdkConnectedOverlayOpen",zt._visible)("cdkConnectedOverlayPositions",zt._positions)("cdkConnectedOverlayPush",zt.cdkConnectedOverlayPush)("nzArrowPointAtCenter",zt.nzArrowPointAtCenter)},dependencies:[y.z_,y.WB,$.YU,$.B3,ae.z,K.C,K.m,se.$_,se.vT],encapsulation:2,data:{animation:[a.uX]},changeDetection:0})}return X})(),z=(()=>{class X{static#e=this.\u0275fac=function(Ue){return new(Ue||X)};static#t=this.\u0275mod=n.$C({type:X});static#n=this.\u0275inj=n.G2t({imports:[et]})}return X})()},10467:(De,A,C)=>{"use strict";function y(n,a,L,ae,K,se,fe){try{var le=n[se](fe),de=le.value}catch(Ve){return void L(Ve)}le.done?a(de):Promise.resolve(de).then(ae,K)}function $(n){return function(){var a=this,L=arguments;return new Promise(function(ae,K){var se=n.apply(a,L);function fe(de){y(se,ae,K,fe,le,"next",de)}function le(de){y(se,ae,K,fe,le,"throw",de)}fe(void 0)})}}C.d(A,{A:()=>$})},31635:(De,A,C)=>{"use strict";function a(Ke,Xe){var yt={};for(var Rt in Ke)Object.prototype.hasOwnProperty.call(Ke,Rt)&&Xe.indexOf(Rt)<0&&(yt[Rt]=Ke[Rt]);if(null!=Ke&&"function"==typeof Object.getOwnPropertySymbols){var Vt=0;for(Rt=Object.getOwnPropertySymbols(Ke);Vt<Rt.length;Vt++)Xe.indexOf(Rt[Vt])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Rt[Vt])&&(yt[Rt[Vt]]=Ke[Rt[Vt]])}return yt}function L(Ke,Xe,yt,Rt){var oi,Vt=arguments.length,_n=Vt<3?Xe:null===Rt?Rt=Object.getOwnPropertyDescriptor(Xe,yt):Rt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_n=Reflect.decorate(Ke,Xe,yt,Rt);else for(var Vn=Ke.length-1;Vn>=0;Vn--)(oi=Ke[Vn])&&(_n=(Vt<3?oi(_n):Vt>3?oi(Xe,yt,_n):oi(Xe,yt))||_n);return Vt>3&&_n&&Object.defineProperty(Xe,yt,_n),_n}function Ve(Ke,Xe,yt,Rt){return new(yt||(yt=Promise))(function(_n,oi){function Vn(Ni){try{qn(Rt.next(Ni))}catch(Ci){oi(Ci)}}function Wn(Ni){try{qn(Rt.throw(Ni))}catch(Ci){oi(Ci)}}function qn(Ni){Ni.done?_n(Ni.value):function Vt(_n){return _n instanceof yt?_n:new yt(function(oi){oi(_n)})}(Ni.value).then(Vn,Wn)}qn((Rt=Rt.apply(Ke,Xe||[])).next())})}function ze(Ke){return this instanceof ze?(this.v=Ke,this):new ze(Ke)}function B(Ke,Xe,yt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Vt,Rt=yt.apply(Ke,Xe||[]),_n=[];return Vt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Vn("next"),Vn("throw"),Vn("return",function oi(Rn){return function(vi){return Promise.resolve(vi).then(Rn,Ci)}}),Vt[Symbol.asyncIterator]=function(){return this},Vt;function Vn(Rn,vi){Rt[Rn]&&(Vt[Rn]=function(So){return new Promise(function(fi,ei){_n.push([Rn,So,fi,ei])>1||Wn(Rn,So)})},vi&&(Vt[Rn]=vi(Vt[Rn])))}function Wn(Rn,vi){try{!function qn(Rn){Rn.value instanceof ze?Promise.resolve(Rn.value.v).then(Ni,Ci):oo(_n[0][2],Rn)}(Rt[Rn](vi))}catch(So){oo(_n[0][3],So)}}function Ni(Rn){Wn("next",Rn)}function Ci(Rn){Wn("throw",Rn)}function oo(Rn,vi){Rn(vi),_n.shift(),_n.length&&Wn(_n[0][0],_n[0][1])}}function be(Ke){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var yt,Xe=Ke[Symbol.asyncIterator];return Xe?Xe.call(Ke):(Ke=function ht(Ke){var Xe="function"==typeof Symbol&&Symbol.iterator,yt=Xe&&Ke[Xe],Rt=0;if(yt)return yt.call(Ke);if(Ke&&"number"==typeof Ke.length)return{next:function(){return Ke&&Rt>=Ke.length&&(Ke=void 0),{value:Ke&&Ke[Rt++],done:!Ke}}};throw new TypeError(Xe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ke),yt={},Rt("next"),Rt("throw"),Rt("return"),yt[Symbol.asyncIterator]=function(){return this},yt);function Rt(_n){yt[_n]=Ke[_n]&&function(oi){return new Promise(function(Vn,Wn){!function Vt(_n,oi,Vn,Wn){Promise.resolve(Wn).then(function(qn){_n({value:qn,done:Vn})},oi)}(Vn,Wn,(oi=Ke[_n](oi)).done,oi.value)})}}}C.d(A,{AQ:()=>B,Cg:()=>L,N3:()=>ze,Tt:()=>a,sH:()=>Ve,xN:()=>be}),"function"==typeof SuppressedError&&SuppressedError}},De=>{De(De.s=77798)}]);