vendor: 4,283 bytes, line 1
1import{$ as B,$a as Q2,$b as W6,$c as RC,A as Ih,Ab as q1,B as Wr,Ba as k,Bb as Y1,C as pC,Ca as N9,Cb as v0,D as U3,Da as L0,Db as Xt,E as gC,Ea as f0,Eb as M1,Ec as Jt,F as Ph,Fc as Ye,G as zC,Ga as C8,Gb as v3,Ha as h6,Hb as F,Ia as $,Ib as _2,Ja as Z5,Jb as I1,Ka as Rh,Kb as AC,Kc as O9,L as Gr,La as y1,Lc as EC,Ma as D1,Mb as g6,Mc as IC,N as b9,Na as v1,Nb as z6,O as x9,Oa as i3,Ob as L6,Oc as ei,Pa as Fh,Q as s4,Qa as i4,R as w9,Ra as Y4,Rb as H2,S as qr,Sa as wC,Tb as Vh,Tc as PC,Ua as y8,Ub as _3,V as S9,Va as T2,Vb as K5,W as H4,Wa as SC,Wb as Jr,Wc as E9,X as K,Xa as Y,Xc as I9,Y as T1,Yc as ee,Z as b4,Za as Z,Zb as TC,_ as p1,_a as k9,_b as O0,_c as ce,a as y9,aa as Ge,ab as a2,ac as eo,b as j6,ba as a1,bb as s2,bc as A9,c as E1,ca as s1,cb as t1,d as q5,da as LC,db as T,dc as C3,e as Oh,ea as MC,eb as D,ec as co,fa as S2,fb as O1,fc as J8,ga as p2,gb as r2,gc as b8,h as Br,ha as d7,hb as x2,hc as to,ia as N1,ib as p6,ic as y3,ja as n2,jb as NC,k as oC,kb as kC,l as We,la as t3,lc as _0,m as Ur,ma as vC,mb as Zr,mc as qe,n as P2,na as Yr,nb as Kr,nc as X5,o as m4,ob as z1,oc as Hh,p as $r,pa as R2,pb as J2,pc as DC,q as lC,qa as _4,qb as M3,r as fC,ra as Q1,rb as Xr,rc as io,s as dC,sa as _C,sb as Qr,sc as T9,t as mC,ta as Y5,tb as e1,tc as Qt,u as z0,ua as CC,ub as M0,v as uC,va as yC,vb as O,w as hC,wa as bC,wb as B0,x as q4,xa as Kt,xb as D0,xc as D9,y as Eh,yb as $3,z as jr,za as xC,zb as k4,zc as OC}from"./chunk-TFX7DC4S.js";import{a as E,b as m1,c as rC,d as je,e as VR,f as T0,g as Hr,h as o2,i as HR,k as A,l as f7}from"./chunk-NMTCC4WE.js";var Ly=T0((c61,zy)=>{var ri=1e3,oi=ri*60,li=oi*60,u7=li*24,RF=u7*7,FF=u7*365.25;zy.exports=function(t,c){c=c||{};var e=typeof t;if(e==="string"&&t.length>0)return VF(t);if(e==="number"&&isFinite(t))return c.long?BF(t):HF(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function VF(t){if(t=String(t),!(t.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(c){var e=parseFloat(c[1]),i=(c[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return e*FF;case"weeks":case"week":case"w":return e*RF;case"days":case"day":case"d":return e*u7;case"hours":case"hour":case"hrs":case"hr":case"h":return e*li;case"minutes":case"minute":case"mins":case"min":case"m":return e*oi;case"seconds":case"second":case"secs":case"sec":case"s":return e*ri;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}}}function HF(t){var c=Math.abs(t);return c>=u7?Math.round(t/u7)+"d":c>=li?Math.round(t/li)+"h":c>=oi?Math.round(t/oi)+"m":c>=ri?Math.round(t/ri)+"s":t+"ms"}function BF(t){var c=Math.abs(t);return c>=u7?Mo(t,c,u7,"day"):c>=li?Mo(t,c,li,"hour"):c>=oi?Mo(t,c,oi,"minute"):c>=ri?Mo(t,c,ri,"second"):t+" ms"}function Mo(t,c,e,i){var n=c>=e*1.5;return Math.round(t/e)+" "+i+(n?"s":"")}});var vy=T0((t61,My)=>{function UF(t){e.debug=e,e.default=e,e.coerce=f,e.disable=r,e.enable=n,e.enabled=l,e.humanize=Ly(),e.destroy=m,Object.keys(t).forEach(h=>{e[h]=t[h]}),e.names=[],e.skips=[],e.formatters={};function c(h){let g=0;for(let v=0;v<h.length;v++)g=(g<<5)-g+h.charCodeAt(v),g|=0;return e.colors[Math.abs(g)%e.colors.length]}e.selectColor=c;function e(h){let g,v=null,M,b;function C(...S){if(!C.enabled)return;let P=C,V=Number(new Date),q=V-(g||V);P.diff=q,P.prev=g,P.curr=V,g=V,S[0]=e.coerce(S[0]),typeof S[0]!="string"&&S.unshift("%O");let W=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(Q,l1)=>{if(Q==="%%")return"%";W++;let c1=e.formatters[l1];if(typeof c1=="function"){let n1=S[W];Q=c1.call(P,n1),S.splice(W,1),W--}return Q}),e.formatArgs.call(P,S),(P.log||e.log).apply(P,S)}return C.namespace=h,C.useColors=e.useColors(),C.color=e.selectColor(h),C.extend=i,C.destroy=e.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>v!==null?v:(M!==e.namespaces&&(M=e.namespaces,b=e.enabled(h)),b),set:S=>{v=S}}),typeof e.init=="function"&&e.init(C),C}function i(h,g){let v=e(this.namespace+(typeof g>"u"?":":g)+h);return v.log=this.log,v}function n(h){e.save(h),e.namespaces=h,e.names=[],e.skips=[];let g=(typeof h=="string"?h:"").trim().replace(/\s+/g,",").split(",").filter(
vendor: 3,539 bytes, line 1
1Boolean);for(let v of g)v[0]==="-"?e.skips.push(v.slice(1)):e.names.push(v)}function a(h,g){let v=0,M=0,b=-1,C=0;for(;v<h.length;)if(M<g.length&&(g[M]===h[v]||g[M]==="*"))g[M]==="*"?(b=M,C=v,M++):(v++,M++);else if(b!==-1)M=b+1,C++,v=C;else return!1;for(;M<g.length&&g[M]==="*";)M++;return M===g.length}function r(){let h=[...e.names,...e.skips.map(g=>"-"+g)].join(",");return e.enable(""),h}function l(h){for(let g of e.skips)if(a(h,g))return!1;for(let g of e.names)if(a(h,g))return!0;return!1}function f(h){return h instanceof Error?h.stack||h.message:h}function m(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return e.enable(e.load()),e}My.exports=UF});var x8=T0((j3,vo)=>{j3.formatArgs=jF;j3.save=WF;j3.load=GF;j3.useColors=$F;j3.storage=qF();j3.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();j3.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function $F(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function jF(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+vo.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;t.splice(1,0,c,"color: inherit");let e=0,i=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(e++,n==="%c"&&(i=e))}),t.splice(i,0,c)}j3.log=console.debug||console.log||(()=>{});function WF(t){try{t?j3.storage.setItem("debug",t):j3.storage.removeItem("debug")}catch(c){}}function GF(){let t;try{t=j3.storage.getItem("debug")||j3.storage.getItem("DEBUG")}catch(c){}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function qF(){try{return localStorage}catch(t){}}vo.exports=vy()(j3);var{formatters:YF}=vo.exports;YF.j=function(t){try{return JSON.stringify(t)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}});var Cy=T0((i61,_y)=>{var ZF=["GOOGLE_API_KEY","STRIPE_API_KEY","FIREBASE_API_KEY"];_y.exports=ZF});var yy={};Hr(yy,{SECRETS:()=>KF});var KF,by=VR(()=>
1{KF={GOOGLE_API_KEY:"AIzaSyDDLgz02kcWq01ti1jv1BC_DTjfONKSwk0",STRIPE_API_KEY:"pk_live_ssjpUZtdv9SPpmydHkQLOtxm",FIREBASE_API_KEY:"AIzaSyAcBDvNQWiDogLtq-L9pEkG7M9snK97rKo",RECAPTCHA_API_KEY:"6LeX67UiAAAAABag18RvRiAfDlez2p7ye05kUphe",FUSIONAUTH_HOST:"https://auth.permanent.org",STELA_DOMAIN:"https://api.permanent.org/api",MIXPANEL_TOKEN:"fe3f3a5ca3a4983d4c08219e393d857e"}});var u4=T0((gi,Q9)=>{(function(){var t,c="4.18.1",e=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",a="Invalid `variable` option passed into `_.template`",r="Invalid `imports` option passed into `_.template`",l="__lodash_hash_undefined__",f=500,m="__lodash_placeholder__",h=1,g=2,v=4,M=1,b=2,C=1,S=2,P=4,V=8,q=16,W=32,G=64,Q=128,l1=256,c1=512,n1=30,_1="...",P1=800,X1=16,F1=1,j2=2,c2=3,W1=1/0,t2=9007199254740991,a4=17976931348623157e292,Q4=NaN,M4=4294967295,l3=M4-1,W4=M4>>>1,S1=[["ary",Q],["bind",C],["bindKey",S],["curry",V],["curryRight",q],["flip",c1],["partial",W],["partialRight",G],["rearg",l1]],y4="[object Arguments]",I4="[object Array]",T6="[object AsyncFunction]",s6="[object Boolean]",f3="[object Date]",Dc="[object DOMException]",x5="[object Error]",U8="[object Function]",st="[object GeneratorFunction]",Q0="[object Map]",Se="[object Number]",Hn="[object Null]",O3="[object Object]",Oc="[object Promise]",rt="[object Proxy]",r0="[object RegExp]",P4="[object Set]",D6="[object String]",Ne="[object Symbol]",Ec="[object Undefined]",R4="[object WeakMap]",Ic="[object WeakSet]",O6="[object ArrayBuffer]",E3="[object DataView]",W2="[object Float32Array]",ot="[object Float64Array]",lt="[object Int8Array]",w5="[object Int16Array]",Pc="[object Int32Array]",S5="[object Uint8Array]",$8="[object Uint8ClampedArray]",N5="[object Uint16Array]",Bn="[object Uint32Array]",ft=/\b__p \+= '';/g,Lm=/\b(__p \+=) '' \+/g,Rc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,dt=/[&<>"']/g,mt=RegExp(ke.source),x1=RegExp(dt.source),Mm=/<%-([\s\S]+?)%>/g,vm=/<%([\s\S]+?)%>/g,E6=/<%=([\s\S]+?)%>/g,I3=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L2=/^\w*$/,Un=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G2=/[\\^$.*+?()[\]{}|]/g,Fc=RegExp(G2.source),$n=/^\s+/,ut=/\s/,k0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,f8=/\{\n\/\* \[wrapped with (.+)\] \*/,I6=/,? & /,J4=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,P3=/[()=,{}\[\]\/\s]/,d8=/\\(\\)?/g,Ae=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ks=/\w*$/,_m=/^[-+]0x[0-9a-f]+$/i,Vc=/^0b[01]+$/i,As=/^\[object .+?Constructor\]$/,Cm=/^0o[0-7]+$/i,k5=/^(?:0|[1-9]\d*)$/,Hc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 4,957 bytes, line 1
17f]/g,Bc=/($^)/,ym=/['\n\r\u2028\u2029\\]/g,ht="\\ud800-\\udfff",bm="\\u0300-\\u036f",F4="\\ufe20-\\ufe2f",jn="\\u20d0-\\u20ff",Ts=bm+F4+jn,Wn="\\u2700-\\u27bf",Gn="a-z\\xdf-\\xf6\\xf8-\\xff",xm="\\xac\\xb1\\xd7\\xf7",wm="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Sm="\\u2000-\\u206f",Nm=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ds="A-Z\\xc0-\\xd6\\xd8-\\xde",Os="\\ufe0e\\ufe0f",qn=xm+wm+Sm+Nm,pt="['\u2019]",km="["+ht+"]",Es="["+qn+"]",gt="["+Ts+"]",Yn="\\d+",Am="["+Wn+"]",A5="["+Gn+"]",Uc="[^"+ht+qn+Yn+Wn+Gn+Ds+"]",zt="\\ud83c[\\udffb-\\udfff]",$c="(?:"+gt+"|"+zt+")",P6="[^"+ht+"]",Zn="(?:\\ud83c[\\udde6-\\uddff]){2}",Kn="[\\ud800-\\udbff][\\udc00-\\udfff]",T5="["+Ds+"]",Is="\\u200d",Ps="(?:"+A5+"|"+Uc+")",Tm="(?:"+T5+"|"+Uc+")",Rs="(?:"+pt+"(?:d|ll|m|re|s|t|ve))?",Fs="(?:"+pt+"(?:D|LL|M|RE|S|T|VE))?",Lt=$c+"?",Vs="["+Os+"]?",Hs="(?:"+Is+"(?:"+[P6,Zn,Kn].join("|")+")"+Vs+Lt+")*",Dm="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Om="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bs=Vs+Lt+Hs,Em="(?:"+[Am,Zn,Kn].join("|")+")"+Bs,Im="(?:"+[P6+gt+"?",gt,Zn,Kn,km].join("|")+")",Pm=RegExp(pt,"g"),Rm=RegExp(gt,"g"),Xn=RegExp(zt+"(?="+zt+")|"+Im+Bs,"g"),Fm=RegExp([T5+"?"+A5+"+"+Rs+"(?="+[Es,T5,"$"].join("|")+")",Tm+"+"+Fs+"(?="+[Es,T5+Ps,"$"].join("|")+")",T5+"?"+Ps+"+"+Rs,T5+"+"+Fs,Om,Dm,Yn,Em].join("|"),"g"),Vm=RegExp("["+Is+ht+Ts+Os+"]"),Hm=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bm=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Um=-1,p4={};p4[W2]=p4[ot]=p4[lt]=p4[w5]=p4[Pc]=p4[S5]=p4[$8]=p4[N5]=p4[Bn]=!0,p4[y4]=p4[I4]=p4[O6]=p4[s6]=p4[E3]=p4[f3]=p4[x5]=p4[U8]=p4[Q0]=p4[Se]=p4[O3]=p4[r0]=p4[P4]=p4[D6]=p4[R4]=!1;var f4={};f4[y4]=f4[I4]=f4[O6]=f4[E3]=f4[s6]=f4[f3]=f4[W2]=f4[ot]=f4[lt]=f4[w5]=f4[Pc]=f4[Q0]=f4[Se]=f4[O3]=f4[r0]=f4[P4]=f4[D6]=f4[Ne]=f4[S5]=f4[$8]=f4[N5]=f4[Bn]=!0,f4[x5]=f4[U8]=f4[R4]=!1;var Qn={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Jn={"&":"&","<":"<",">":">",'"':""","'":"'"},$m={"&":"&","<":"<",">":">",""":'"',"'":"'"},Us={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$s=parseFloat,jm=parseInt,js=typeof global=="object"&&global&&global.Object===Object&&global,Wm=typeof self=="object"&&self&&self.Object===Object&&self,o0=js||Wm||Function("return this")(),Mt=typeof gi=="object"&&gi&&!gi.nodeType&&gi,q2=Mt&&typeof Q9=="object"&&Q9&&!Q9.nodeType&&Q9,D5=q2&&q2.exports===Mt,Te=D5&&js.process,R3=(function(){try{var U=q2&&q2.require&&q2.require("util").t
vendor: 4,587 bytes, line 1
1ypes;return U||Te&&Te.binding&&Te.binding("util")}catch(i1){}})(),e9=R3&&R3.isArrayBuffer,Ws=R3&&R3.isDate,Gs=R3&&R3.isMap,jc=R3&&R3.isRegExp,m8=R3&&R3.isSet,vt=R3&&R3.isTypedArray;function d3(U,i1,X){switch(X.length){case 0:return U.call(i1);case 1:return U.call(i1,X[0]);case 2:return U.call(i1,X[0],X[1]);case 3:return U.call(i1,X[0],X[1],X[2])}return U.apply(i1,X)}function u8(U,i1,X,b1){for(var K1=-1,V2=U==null?0:U.length;++K1<V2;){var X2=U[K1];i1(b1,X2,X(X2),U)}return b1}function m3(U,i1){for(var X=-1,b1=U==null?0:U.length;++X<b1&&i1(U[X],X,U)!==!1;);return U}function c9(U,i1){for(var X=U==null?0:U.length;X--&&i1(U[X],X,U)!==!1;);return U}function qs(U,i1){for(var X=-1,b1=U==null?0:U.length;++X<b1;)if(!i1(U[X],X,U))return!1;return!0}function j8(U,i1){for(var X=-1,b1=U==null?0:U.length,K1=0,V2=[];++X<b1;){var X2=U[X];i1(X2,X,U)&&(V2[K1++]=X2)}return V2}function _t(U,i1){var X=U==null?0:U.length;return!!X&&De(U,i1,0)>-1}function O5(U,i1,X){for(var b1=-1,K1=U==null?0:U.length;++b1<K1;)if(X(i1,U[b1]))return!0;return!1}function d4(U,i1){for(var X=-1,b1=U==null?0:U.length,K1=Array(b1);++X<b1;)K1[X]=i1(U[X],X,U);return K1}function W8(U,i1){for(var X=-1,b1=i1.length,K1=U.length;++X<b1;)U[K1+X]=i1[X];return U}function t9(U,i1,X,b1){var K1=-1,V2=U==null?0:U.length;for(b1&&V2&&(X=U[++K1]);++K1<V2;)X=i1(X,U[K1],K1,U);return X}function Gm(U,i1,X,b1){var K1=U==null?0:U.length;for(b1&&K1&&(X=U[--K1]);K1--;)X=i1(X,U[K1],K1,U);return X}function Ct(U,i1){for(var X=-1,b1=U==null?0:U.length;++X<b1;)if(i1(U[X],X,U))return!0;return!1}var qm=Wc("length");function Ym(U){return U.split("")}function Zm(U){return U.match(J4)||[]}function Ys(U,i1,X){var b1;return X(U,function(K1,V2,X2){if(i1(K1,V2,X2))return b1=V2,!1}),b1}function yt(U,i1,X,b1){for(var K1=U.length,V2=X+(b1?1:-1);b1?V2--:++V2<K1;)if(i1(U[V2],V2,U))return V2;return-1}function De(U,i1,X){return i1===i1?nu(U,i1,X):yt(U,Oe,X)}function Km(U,i1,X,b1){for(var K1=X-1,V2=U.length;++K1<V2;)if(b1(U[K1],i1))return K1;return-1}function Oe(U){return U!==U}function Zs(U,i1){var X=U==null?0:U.length;return X?n9(U,i1)/X:Q4}function Wc(U){return function(i1){return i1==null?t:i1[U]}}function i9(U){return function(i1){return U==null?t:U[i1]}}function bt(U,i1,X,b1,K1){return K1(U,function(V2,X2,k2){X=b1?(b1=!1,V2):i1(X,V2,X2,k2)}),X}function Xm(U,i1){var X=U.length;for(U.sort(i1);X--;)U[X]=U[X].value;return U}function n9(U,i1){for(var X,b1=-1,K1=U.length;++b1<K1;){var V2=i1(U[b1]);V2!==t&&(X=X===t?V2:X+V2)}return X}function a9(U,i1){for(var X=-1,b1=Array(U);++X<U;)b1[X]=i1(X);return b1}function Qm(U,i1){return d4(i1,function(X){return[X,U[X]]})}function s9(U){return U&&U.slice(0,er(U)+1).replace($n,"")}function u3(U){return function(i1){return U(i1)}}function xt(U,i1){return d4(i1,function(X){return U[X]})}function K2(U,i1){return U.has(i1)}function Ks(U,i1){for(var X=-1,b1=U.length;++X<b1&&De(i1,U[X],0)>-1;);return X}function Xs(U,i1){for(var X=U.length;X--&&De(i1,U[X],0)>-1;);return X}function Qs(U,i1){for(var X=U.length,b1=0;X--;)U[X]===i1&&++b1;return b1}var Jm=i9(Qn),eu=i9(Jn);function cu(U){return"\\"+Us[U]}function Gc(U,i1){return U==null?t:U[i1]}function E5(U){return Vm.test(U)}function tu(U){return Hm.test(U)}function iu(U){for(var i1,X=[];!(i1=U.next()).done;)X.push(i1.value);return X}function I5(U){var i1=-1,X=Array(U.size);return U.forEach(function(b1,K1){X[++i1]=[K1,b1]}),X}function qc(U,i1){return function(X){return U(i1(X))}}function R6(U,i1){for(var X=-1,b1=U.length,K1=0,V2=[];++X<b1;){var X2=U[X];(X2===i1||X2===m)&&(U[X]=m,V2[K1++]=X)}return V2}function wt(U){var i1=-1,X=Array(U.size);return U.forEach(function(b1){X[++i1]=b1}),X}function Js(U){var i1=-1,X=Array(U.size);return U.forEach(function(b1){X[++i1]=[b1,b1]}),X}function nu(U,i1,X){for(var b1=X-1,K1=U.length;++b1<K1;)if(U[b1]===i1)return b1;return-1}function r9(U,i1,X){for(var b1=X+1;b1--;)if(U[b1]===i1)return b1;return b1}function G8(U){return E5(U)?su(U):qm(U)}function h3(U){return E5(U)?ru(U):Ym(U)}function er(U){for(var i1=U.length;i1--&&ut.test(U.charAt(i1)););return i1}var au=i9($m);function su(U){for(var i1=Xn.lastIndex=0;Xn.test(U);)++i1;return i1}function ru(U){return U.match(Xn)||[]}function ou(U){return U.match(Fm)||[]}var lu=function U(i1){i1=i1==null?o0:q8.defaults(o0.Object(),i1,q8.pick(o0,Bm));var X=i1.Array,b1=i1.Date,K1=i1.Error,V2=i1.Function,X2=i1.Math,k2=i1.Object,St=i1.RegExp,fu=i1.String,p3=i1.TypeError,Yc=X.prototype,du=V2.prototype,P5=k2.prototype,Zc=i1["__core-js_shared__"],Nt=du.toString,Y2=P5.hasOwnProperty,mu=0,cr=(function(){var s=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");
1return s?"Symbol(src)_1."+s:""})(),kt=P5.toString,uu=Nt.call(k2),hu=o0._,pu=St("^"+Nt.call(Y2).replace(G2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),At=D5?i1.Buffer:t,Y8=i1.Symbol,Tt=i1.Uint8Array,tr=At?At.allocUnsafe:t,Dt=qc(k2.getPrototypeOf,k2),ir=k2.create,Kc=P5.propertyIsEnumerable,Ot=Yc.splice,nr=Y8?Y8.isConcatSpreadable:t,Xc=Y8?Y8.iterator:t,Ee=Y8?Y8.toStringTag:t,Et=(function(){try{var s=r7(k2,"defineProperty");return s({},"",{}),s}catch(o){}})(),gu=i1.clearTimeout!==o0.clearTimeout&&i1.clearTimeout,zu=b1&&b1.now!==o0.Date.now&&b1.now,Lu=i1.setTimeout!==o0.setTimeout&&i1.setTimeout,Qc=X2.ceil,Jc=X2.floor,It=k2.getOwnPropertySymbols,Pt=At?At.isBuffer:t,Ie=i1.isFinite,Rt=Yc.join,ar=qc(k2.keys,k2),v4=X2.max,p0=X2.min,sr=b1.now,Mu=i1.parseInt,rr=X2.random,vu=Yc.reverse,o9=r7(i1,"DataView"),e7=r7(i1,"Map"),l9=r7(i1,"Promise"),R5=r7(i1,"Set"),c7=r7(i1,"WeakMap"),t7=r7(k2,"create"),Ft=c7&&new c7,F5={},_u=o7(o9),Cu=o7(e7),yu=o7(l9),bu=o7(R5),xu=o7(c7),Vt=Y8?Y8.prototype:t,i7=Vt?Vt.valueOf:t,or=Vt?Vt.toString:t;
vendor: 3,971 bytes, line 1
1function w(s){if(G4(s)&&!i2(s)&&!(s instanceof M2)){if(s instanceof J0)return s;if(Y2.call(s,"__wrapped__"))return x_(s)}return new J0(s)}var V5=(function(){function s(){}return function(o){if(!V4(o))return{};if(ir)return ir(o);s.prototype=o;var u=new s;return s.prototype=t,u}})();function Ht(){}function J0(s,o){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=t}w.templateSettings={escape:Mm,evaluate:vm,interpolate:E6,variable:"",imports:{_:w}},w.prototype=Ht.prototype,w.prototype.constructor=w,J0.prototype=V5(Ht.prototype),J0.prototype.constructor=J0;function M2(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M4,this.__views__=[]}function wu(){var s=new M2(this.__wrapped__);return s.__actions__=F3(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=F3(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=F3(this.__views__),s}function Su(){if(this.__filtered__){var s=new M2(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function f9(){var s=this.__wrapped__.value(),o=this.__dir__,u=i2(s),z=o<0,y=u?s.length:0,N=uO(0,y,this.__views__),I=N.start,H=N.end,j=H-I,r1=z?H:I-1,o1=this.__iteratees__,d1=o1.length,L1=0,R1=p0(j,this.__takeCount__);if(!u||!z&&y==j&&R1==j)return Yv(s,this.__actions__);var j1=[];e:for(;j--&&L1<R1;){r1+=o;for(var h2=-1,B1=s[r1];++h2<d1;){var b2=o1[h2],A2=b2.iteratee,m6=b2.type,L3=A2(B1);if(m6==j2)B1=L3;else if(!L3){if(m6==F1)continue e;break e}}j1[L1++]=B1}return j1}M2.prototype=V5(Ht.prototype),M2.prototype.constructor=M2;function F6(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var z=s[o];this.set(z[0],z[1])}}function Nu(){this.__data__=t7?t7(null):{},this.size=0}function ku(s){var o=this.has(s)&&delete this.__data__[s];return this.size-=o?1:0,o}function Au(s){var o=this.__data__;if(t7){var u=o[s];return u===l?t:u}return Y2.call(o,s)?o[s]:t}function Tu(s){var o=this.__data__;return t7?o[s]!==t:Y2.call(o,s)}function Du(s,o){var u=this.__data__;return this.size+=this.has(s)?0:1,u[s]=t7&&o===t?l:o,this}F6.prototype.clear=Nu,F6.prototype.delete=ku,F6.prototype.get=Au,F6.prototype.has=Tu,F6.prototype.set=Du;function h8(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var z=s[o];this.set(z[0],z[1])}}function lr(){this.__data__=[],this.size=0}function Ou(s){var o=this.__data__,u=Ut(o,s);if(u<0)return!1;var z=o.length-1;return u==z?o.pop():Ot.call(o,u,1),--this.size,!0}function Eu(s){var o=this.__data__,u=Ut(o,s);return u<0?t:o[u][1]}function fr(s){return Ut(this.__data__,s)>-1}function Iu(s,o){var u=this.__data__,z=Ut(u,s);return z<0?(++this.size,u.push([s,o])):u[z][1]=o,this}h8.prototype.clear=lr,h8.prototype.delete=Ou,h8.prototype.get=Eu,h8.prototype.has=fr,h8.prototype.set=Iu;function p8(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var z=s[o];this.set(z[0],z[1])}}function Pu(){this.size=0,this.__data__={hash:new F6,map:new(e7||h8),string:new F6}}function Z8(s){var o=Tr(this,s).delete(s);return this.size-=o?1:0,o}function dr(s){return Tr(this,s).get(s)}function Ru(s){return Tr(this,s).has(s)}function Fu(s,o){var u=Tr(this,s),z=u.size;return u.set(s,o),this.size+=u.size==z?0:1,this}p8.prototype.clear=Pu,p8.prototype.delete=Z8,p8.prototype.get=dr,p8.prototype.has=Ru,p8.prototype.set=Fu;function Pe(s){var o=-1,u=s==null?0:s.length;for(this.__data__=new p8;++o<u;)this.add(s[o])}function h1(s){return this.__data__.set(s,l),this}function Vu(s){return this.__data__.has(s)}Pe.prototype.add=Pe.prototype.push=h1,Pe.prototype.has=Vu;function r6(s){var o=this.__data__=new h8(s);this.size=o.size}function mr(){this.__data__=new h8,this.size=0}function I2(s){var o=this.__data__,u=o.delete(s);return this.size=o.size,u}function Bt(s){return this.__data__.get(s)}function ur(s){return this.__data__.has(s)}function d9(s,o){var u=this.__data__;if(u instanceof h8){var z=u.__data__;
vendor: 8,740 bytes, line 1
1if(!e7||z.length<e-1)return z.push([s,o]),this.size=++u.size,this;u=this.__data__=new p8(z)}return u.set(s,o),this.size=u.size,this}r6.prototype.clear=mr,r6.prototype.delete=I2,r6.prototype.get=Bt,r6.prototype.has=ur,r6.prototype.set=d9;function hr(s,o){var u=i2(s),z=!u&&l7(s),y=!u&&!z&&G5(s),N=!u&&!z&&!y&&Yt(s),I=u||z||y||N,H=I?a9(s.length,fu):[],j=H.length;for(var r1 in s)(o||Y2.call(s,r1))&&!(I&&(r1=="length"||y&&(r1=="offset"||r1=="parent")||N&&(r1=="buffer"||r1=="byteLength"||r1=="byteOffset")||He(r1,j)))&&H.push(r1);return H}function pr(s){var o=s.length;return o?s[Qu(0,o-1)]:t}function Hu(s,o){return Dr(F3(s),K8(o,0,s.length))}function Bu(s){return Dr(F3(s))}function m9(s,o,u){(u!==t&&!v8(s[o],u)||u===t&&!(o in s))&&o6(s,o,u)}function g3(s,o,u){var z=s[o];(!(Y2.call(s,o)&&v8(z,u))||u===t&&!(o in s))&&o6(s,o,u)}function Ut(s,o){for(var u=s.length;u--;)if(v8(s[u][0],o))return u;return-1}function gr(s,o,u,z){return X8(s,function(y,N,I){o(z,y,u(y),I)}),z}function zr(s,o){return s&&Q8(o,A0(o),s)}function Uu(s,o){return s&&Q8(o,H3(o),s)}function o6(s,o,u){o=="__proto__"&&Et?Et(s,o,{configurable:!0,enumerable:!0,value:u,writable:!0}):s[o]=u}function u9(s,o){for(var u=-1,z=o.length,y=X(z),N=s==null;++u<z;)y[u]=N?t:bh(s,o[u]);return y}function K8(s,o,u){return s===s&&(u!==t&&(s=s<=u?s:u),o!==t&&(s=s>=o?s:o)),s}function e3(s,o,u,z,y,N){var I,H=o&h,j=o&g,r1=o&v;if(u&&(I=y?u(s,z,y,N):u(s)),I!==t)return I;if(!V4(s))return s;var o1=i2(s);if(o1){if(I=pO(s),!H)return F3(s,I)}else{var d1=c3(s),L1=d1==U8||d1==st;if(G5(s))return Xv(s,H);if(d1==O3||d1==y4||L1&&!y){if(I=j||L1?{}:g_(s),!H)return j?nO(s,Uu(I,s)):iO(s,zr(I,s))}else{if(!f4[d1])return y?s:{};I=gO(s,d1,H)}}N||(N=new r6);var R1=N.get(s);if(R1)return R1;N.set(s,I),W_(s)?s.forEach(function(B1){I.add(e3(B1,o,u,B1,s,N))}):$_(s)&&s.forEach(function(B1,b2){I.set(b2,e3(B1,o,u,b2,s,N))});var j1=r1?j?lh:oh:j?H3:A0,h2=o1?t:j1(s);return m3(h2||s,function(B1,b2){h2&&(b2=B1,B1=s[b2]),g3(I,b2,e3(B1,o,u,b2,s,N))}),I}function $u(s){var o=A0(s);return function(u){return V6(u,s,o)}}function V6(s,o,u){var z=u.length;if(s==null)return!z;for(s=k2(s);z--;){var y=u[z],N=o[y],I=s[y];if(I===t&&!(y in s)||!N(I))return!1}return!0}function h9(s,o,u){if(typeof s!="function")throw new p3(n);return _9(function(){s.apply(t,u)},o)}function n7(s,o,u,z){var y=-1,N=_t,I=!0,H=s.length,j=[],r1=o.length;if(!H)return j;u&&(o=d4(o,u3(u))),z?(N=O5,I=!1):o.length>=e&&(N=K2,I=!1,o=new Pe(o));e:for(;++y<H;){var o1=s[y],d1=u==null?o1:u(o1);if(o1=z||o1!==0?o1:0,I&&d1===d1){for(var L1=r1;L1--;)if(o[L1]===d1)continue e;j.push(o1)}else N(o,d1,z)||j.push(o1)}return j}var X8=t_(H6),Lr=t_(g8,!0);function ju(s,o){var u=!0;return X8(s,function(z,y,N){return u=!!o(z,y,N),u}),u}function $t(s,o,u){for(var z=-1,y=s.length;++z<y;){var N=s[z],I=o(N);if(I!=null&&(H===t?I===I&&!d6(I):u(I,H)))var H=I,j=N}return j}function Wu(s,o,u,z){var y=s.length;for(u=m2(u),u<0&&(u=-u>y?0:y+u),z=z===t||z>y?y:m2(z),z<0&&(z+=y),z=u>z?0:q_(z);u<z;)s[u++]=o;return s}function Mr(s,o){var u=[];return X8(s,function(z,y,N){o(z,y,N)&&u.push(z)}),u}function g0(s,o,u,z,y){var N=-1,I=s.length;for(u||(u=LO),y||(y=[]);++N<I;){var H=s[N];o>0&&u(H)?o>1?g0(H,o-1,u,z,y):W8(y,H):z||(y[y.length]=H)}return y}var p9=i_(),vr=i_(!0);function H6(s,o){return s&&p9(s,o,A0)}function g8(s,o){return s&&vr(s,o,A0)}function jt(s,o){return j8(o,function(u){return Be(s[u])})}function Re(s,o){o=j5(o,s);for(var u=0,z=o.length;s!=null&&u<z;)s=s[M8(o[u++])];return u&&u==z?s:t}function _r(s,o,u){var z=o(s);return i2(s)?z:W8(z,u(s))}function H0(s){return s==null?s===t?Ec:Hn:Ee&&Ee in k2(s)?mO(s):xO(s)}function g9(s,o){return s>o}function Gu(s,o){return s!=null&&Y2.call(s,o)}function qu(s,o){return s!=null&&o in k2(s)}function Yu(s,o,u){return s>=p0(o,u)&&s<v4(o,u)}function l6(s,o,u){for(var z=u?O5:_t,y=s[0].length,N=s.length,I=N,H=X(N),j=1/0,r1=[];I--;){var o1=s[I];I&&o&&(o1=d4(o1,u3(o))),j=p0(o1.length,j),H[I]=!u&&(o||y>=120&&o1.length>=120)?new Pe(I&&o1):t}o1=s[0];var d1=-1,L1=H[0];e:for(;++d1<y&&r1.length<j;){var R1=o1[d1],j1=o?o(R1):R1;if(R1=u||R1!==0?R1:0,!(L1?K2(L1,j1):z(r1,j1,u))){for(I=N;--I;){var h2=H[I];if(!(h2?K2(h2,j1):z(s[I],j1,u)))continue e}L1&&L1.push(j1),r1.push(R1)}}return r1}function H5(s,o,u,z){return H6(s,function(y,N,I){o(z,u(y),N,I)}),z}function a7(s,o,u){o=j5(o,s),s=v_(s,o);var z=s==null?s:s[M8(U6(o))];return z==null?t:d3(z,s,u)}function Cr(s){return G4(s)&&H0(s)==y4}function Zu(s){return G4(s)&&H0(s)==O6}function Ku(s){return G4(s)&&H0(s)==f3}function s7(s,o,u,z,y){return s===o?!0:s==null||o==null||!G4(s)&&!G4(o)?s!==s&&o!==o:z9(s,o,u,z,s7,y)}function z9(s,o,u,z,y,N){var I=i2(s),H=i2(o),j=I?I4:c3(s),r1=H?I4:c3(o);j=j==y4?O3:j,r1=r1==y4?O3:r1;var o1=j==O3,d1=r1==O3,L1=j==r1;if(L1&&G5(s)){if(!G5(o))return!1;I=!0,o1=!1}if(L1&&!o1)return N||(N=new r6),I||Yt(s)?u_(s,o,u,z,y,N):fO(s,o,j,u,z,y,N);if(!(u&M)){var R1=o1&&Y2.call(s,"__wrapped__"),j1=d1&&Y2.call(o,"__wrapped__");if(R1||j1){var h2=R1?s.value():s,B1=j1?o.value():o;return N||(N=new r6),y(h2,B1,u,z,N)}}return L1?(N||(N=new r6),dO(s,o,u,z,y,N)):!1}function B5(s){return G4(s)&&c3(s)==Q0}function U5(s,o,u,z){var y=u.length,N=y,I=!z;if(s==null)return!N;for(s=k2(s);y--;){var H=u[y];if(I&&H[2]?H[1]!==s[H[0]]:!(H[0]in s))return!1}for(;++y<N;){H=u[y];var j=H[0],r1=s[j],o1=H[1];if(I&&H[2]){if(r1===t&&!(j in s))return!1}else{var d1=new r6;if(z)var L1=z(r1,o1,j,s,o,d1);if(!(L1===t?s7(o1,r1,M|b,z,d1):L1))return!1}}return!0}function y2(s){if(!V4(s)||vO(s))return!1;var o=Be(s)?pu:As;return o.test(o7(s))}function d(s){return G4(s)&&H0(s)==r0}function p(s){return G4(s)&&c3(s)==P4}function L(s){return G4(s)&&Fr(s.length)&&!!p4[H0(s)]}function _(s){return typeof s=="function"?s:s==null?B3:typeof s=="object"?i2(s)?v2(s[0],s[1]):G1(s):aC(s)}function x(s){if(!v9(s))return ar(s);var o=[];for(var u in k2(s))Y2.call(s,u)&&u!="constructor"&&o.push(u);return o}function R(s){if(!V4(s))return bO(s);var o=v9(s),u=[];for(var z in s)z=="constructor"&&(o||!Y2.call(s,z))||u.push(z);return u}function J(s,o){return s<o}function C1(s,o){var u=-1,z=V3(s)?X(s.length):[];return X8(s,function(y,N,I){z[++u]=o(y,N,I)}),z}function G1(s){var o=dh(s);return o.length==1&&o[0][2]?L_(o[0][0],o[0][1]):function(u){return u===s||U5(u,s,o)}}function v2(s,o){return uh(s)&&z_(o)?L_(M8(s),o):function(u){var z=bh(u,s);return z===t&&z===o?xh(u,s):s7(o,z,M|b)}}function l0(s,o,u,z,y){s!==o&&p9(o,function(N,I){if(y||(y=new r6),V4(N))z8(s,o,I,u,l0,z,y);else{var H=z?z(ph(s,I),N,I+"",s,o,y):t;H===t&&(H=N),m9(s,I,H)}},H3)}function z8(s,o,u,z,y,N,I){var H=ph(s,u),j=ph(o,u),r1=I.get(j);if(r1){m9(s,u,r1);return}var o1=N?N(H,j,u+"",s,o,I):t,d1=o1===t;if(d1){var L1=i2(j),R1=!L1&&G5(j),j1=!L1&&!R1&&Yt(j);o1=j,L1||R1||j1?i2(H)?o1=H:e0(H)?o1=F3(H):R1?(d1=!1,o1=Xv(j,!0)):j1?(d1=!1,o1=Qv(j,!0)):o1=[]:C9(j)||l7(j)?(o1=H,l7(H)?o1=Y_(H):(!V4(H)||Be(H))&&(o1=g_(j))):d1=!1}d1&&(I.set(j,o1),y(o1,j,z,N,I),I.delete(j)),m9(s,u,o1)}function L8(s,o){var u=s.length;if(u)return o+=o<0?u:0,He(o,u)?s[o]:t}function Bv(s,o,u){o.length?o=d4(o,function(N){return i2(N)?function(I){return Re(I,N.length===1?N[0]:N)}:N}):o=[B3];var z=-1;o=d4(o,u3($1()));var y=C1(s,function(N,I,H){var j=d4(o,function(r1){return r1(N)});return{criteria:j,index:++z,value:N}});return Xm(y,function(N,I){return tO(N,I,u)})}function jD(s,o){return Uv(s,o,function(u,z){return xh(s,z)})}function Uv(s,o,u){for(var z=-1,y=o.length,N={};++z<y;){var I=o[z],H=Re(s,I);u(H,I)&&L9(N,j5(I,s),H)}return N}function WD(s){return function(o){return Re(o,s)}}function Xu(s,o,u,z){var y=z?Km:De,N=-1,I=o.length,H=s;for(s===o&&(o=F3(o)),u&&(H=d4(s,u3(u)));++N<I;)for(var j=0,r1=o[N],o1=u?u(r1):r1;(j=y(H,o1,j,z))>-1;)H!==s&&Ot.call(H,j,1),Ot.call(s,j,1);return s}function $v(s,o){for(var u=s?o.length:0,z=u-1;u--;){var y=o[u];if(u==z||y!==N){var N=y;He(y)?Ot.call(s,y,1):ch(s,y)}}return s}function Qu(s,o){return s+Jc(rr()*(o-s+1))}function GD(s,o,u,z){for(var y=-1,N=v4(Qc((o-s)/(u||1)),0),I=X(N);N--;)I[z?N:++y]=s,s+=u;return I}function Ju(s,o){var u="";if(!s||o<1||o>t2)return u;do o%2&&(u+=s),o=Jc(o/2),o&&(s+=s);while(o);return u}function z2(s,o){return gh(M_(s,o,B3),s+"")}function qD(s){return pr(Zt(s))}function YD(s,o){var u=Zt(s);return Dr(u,K8(o,0,u.length))}function L9(s,o,u,z){if(!V4(s))return s;o=j5(o,s);for(var y=-1,N=o.length,I=N-1,H=s;H!=null&&++y<N;){var j=M8(o[y]),r1=u;if(j==="__proto__"||j==="constructor"||j==="prototype")return s;if(y!=I){var o1=H[j];r1=z?z(o1,j,H):t,r1===t&&(r1=V4(o1)?o1:He(o[y+1])?[]:{})}g3(H,j,r1),H=H[j]}return s}var jv=Ft?function(s,o){return Ft.set(s,o),s}:B3,ZD=Et?function(s,o){return Et(s,"toString",{configurable:!0,enumerable:!1,value:Sh(o),writable:!0})}:B3;function KD(s){return Dr(Zt(s))}function B6(s,o,u){var z=-1,y=s.length;o<0&&(o=-o>y?0:y+o),u=u>y?y:u,u<0&&(u+=y),y=o>
vendor: 4,473 bytes, line 1
1u?0:u-o>>>0,o>>>=0;for(var N=X(y);++z<y;)N[z]=s[z+o];return N}function XD(s,o){var u;return X8(s,function(z,y,N){return u=o(z,y,N),!u}),!!u}function yr(s,o,u){var z=0,y=s==null?z:s.length;if(typeof o=="number"&&o===o&&y<=W4){for(;z<y;){var N=z+y>>>1,I=s[N];I!==null&&!d6(I)&&(u?I<=o:I<o)?z=N+1:y=N}return y}return eh(s,o,B3,u)}function eh(s,o,u,z){var y=0,N=s==null?0:s.length;if(N===0)return 0;o=u(o);for(var I=o!==o,H=o===null,j=d6(o),r1=o===t;y<N;){var o1=Jc((y+N)/2),d1=u(s[o1]),L1=d1!==t,R1=d1===null,j1=d1===d1,h2=d6(d1);if(I)var B1=z||j1;else r1?B1=j1&&(z||L1):H?B1=j1&&L1&&(z||!R1):j?B1=j1&&L1&&!R1&&(z||!h2):R1||h2?B1=!1:B1=z?d1<=o:d1<o;B1?y=o1+1:N=o1}return p0(N,l3)}function Wv(s,o){for(var u=-1,z=s.length,y=0,N=[];++u<z;){var I=s[u],H=o?o(I):I;if(!u||!v8(H,j)){var j=H;N[y++]=I===0?0:I}}return N}function Gv(s){return typeof s=="number"?s:d6(s)?Q4:+s}function f6(s){if(typeof s=="string")return s;if(i2(s))return d4(s,f6)+"";if(d6(s))return or?or.call(s):"";var o=s+"";return o=="0"&&1/s==-W1?"-0":o}function $5(s,o,u){var z=-1,y=_t,N=s.length,I=!0,H=[],j=H;if(u)I=!1,y=O5;else if(N>=e){var r1=o?null:oO(s);if(r1)return wt(r1);I=!1,y=K2,j=new Pe}else j=o?[]:H;e:for(;++z<N;){var o1=s[z],d1=o?o(o1):o1;if(o1=u||o1!==0?o1:0,I&&d1===d1){for(var L1=j.length;L1--;)if(j[L1]===d1)continue e;o&&j.push(d1),H.push(o1)}else y(j,d1,u)||(j!==H&&j.push(d1),H.push(o1))}return H}function ch(s,o){o=j5(o,s);var u=-1,z=o.length;if(!z)return!0;for(;++u<z;){var y=M8(o[u]);if(y==="__proto__"&&!Y2.call(s,"__proto__")||(y==="constructor"||y==="prototype")&&u<z-1)return!1}var N=v_(s,o);return N==null||delete N[M8(U6(o))]}function qv(s,o,u,z){return L9(s,o,u(Re(s,o)),z)}function br(s,o,u,z){for(var y=s.length,N=z?y:-1;(z?N--:++N<y)&&o(s[N],N,s););return u?B6(s,z?0:N,z?N+1:y):B6(s,z?N+1:0,z?y:N)}function Yv(s,o){var u=s;return u instanceof M2&&(u=u.value()),t9(o,function(z,y){return y.func.apply(y.thisArg,W8([z],y.args))},u)}function th(s,o,u){var z=s.length;if(z<2)return z?$5(s[0]):[];for(var y=-1,N=X(z);++y<z;)for(var I=s[y],H=-1;++H<z;)H!=y&&(N[y]=n7(N[y]||I,s[H],o,u));return $5(g0(N,1),o,u)}function Zv(s,o,u){for(var z=-1,y=s.length,N=o.length,I={};++z<y;){var H=z<N?o[z]:t;u(I,s[z],H)}return I}function ih(s){return e0(s)?s:[]}function nh(s){return typeof s=="function"?s:B3}function j5(s,o){return i2(s)?s:uh(s,o)?[s]:b_(t4(s))}var QD=z2;function W5(s,o,u){var z=s.length;return u=u===t?z:u,!o&&u>=z?s:B6(s,o,u)}var Kv=gu||function(s){return o0.clearTimeout(s)};function Xv(s,o){if(o)return s.slice();var u=s.length,z=tr?tr(u):new s.constructor(u);return s.copy(z),z}function ah(s){var o=new s.constructor(s.byteLength);return new Tt(o).set(new Tt(s)),o}function JD(s,o){var u=o?ah(s.buffer):s.buffer;return new s.constructor(u,s.byteOffset,s.byteLength)}function eO(s){var o=new s.constructor(s.source,ks.exec(s));return o.lastIndex=s.lastIndex,o}function cO(s){return i7?k2(i7.call(s)):{}}function Qv(s,o){var u=o?ah(s.buffer):s.buffer;return new s.constructor(u,s.byteOffset,s.length)}function Jv(s,o){if(s!==o){var u=s!==t,z=s===null,y=s===s,N=d6(s),I=o!==t,H=o===null,j=o===o,r1=d6(o);if(!H&&!r1&&!N&&s>o||N&&I&&j&&!H&&!r1||z&&I&&j||!u&&j||!y)return 1;if(!z&&!N&&!r1&&s<o||r1&&u&&y&&!z&&!N||H&&u&&y||!I&&y||!j)return-1}return 0}function tO(s,o,u){for(var z=-1,y=s.criteria,N=o.criteria,I=y.length,H=u.length;++z<I;){var j=Jv(y[z],N[z]);if(j){if(z>=H)return j;var r1=u[z];return j*(r1=="desc"?-1:1)}}return s.index-o.index}function e_(s,o,u,z){for(var y=-1,N=s.length,I=u.length,H=-1,j=o.length,r1=v4(N-I,0),o1=X(j+r1),d1=!z;++H<j;)o1[H]=o[H];for(;++y<I;)(d1||y<N)&&(o1[u[y]]=s[y]);for(;r1--;)o1[H++]=s[y++];return o1}function c_(s,o,u,z){for(var y=-1,N=s.length,I=-1,H=u.length,j=-1,r1=o.length,o1=v4(N-H,0),d1=X(o1+r1),L1=!z;++y<o1;)d1[y]=s[y];for(var R1=y;++j<r1;)d1[R1+j]=o[j];for(;++I<H;)(L1||y<N)&&(d1[R1+u[I]]=s[y++]);return d1}function F3(s,o){var u=-1,z=s.length;for(o||(o=X(z));++u<z;)o[u]=s[u];return o}function Q8(s,o,u,z){var y=!u;u||(u={});for(var N=-1,I=o.length;++N<I;){var H=o[N],j=z?z(u[H],s[H],H,u,s):t;j===t&&(j=s[H]),y?o6(u,H,j):g3(u,H,j)}return u}function iO(s,o){return Q8(s,mh(s),o)}function nO(s,o){return Q8(s,h_(s),o)}function xr(s,o){return function(u,z){var y=i2(u)?u8:gr,N=o?o():{};return y(u,s,$1(z,2),N)}}function Wt(s){return z2(function(o,u){var z=-1,y=u.length,N=y>1?u[y-1]:t,I=y>2?u[2]:t;for(N=s.length>3&&typeof N=="function"?(y--,N):t,I&&z3(u[0],u[1],I)&&(N=y<3?t:N,y=1),o=k2(o);++z<y;){var H=u[z];H&&s(o,H,z,N)}return o}
vendor: 8,653 bytes, line 1
1)}function t_(s,o){return function(u,z){if(u==null)return u;if(!V3(u))return s(u,z);for(var y=u.length,N=o?y:-1,I=k2(u);(o?N--:++N<y)&&z(I[N],N,I)!==!1;);return u}}function i_(s){return function(o,u,z){for(var y=-1,N=k2(o),I=z(o),H=I.length;H--;){var j=I[s?H:++y];if(u(N[j],j,N)===!1)break}return o}}function aO(s,o,u){var z=o&C,y=M9(s);function N(){var I=this&&this!==o0&&this instanceof N?y:s;return I.apply(z?u:this,arguments)}return N}function n_(s){return function(o){o=t4(o);var u=E5(o)?h3(o):t,z=u?u[0]:o.charAt(0),y=u?W5(u,1).join(""):o.slice(1);return z[s]()+y}}function Gt(s){return function(o){return t9(iC(tC(o).replace(Pm,"")),s,"")}}function M9(s){return function(){var o=arguments;switch(o.length){case 0:return new s;case 1:return new s(o[0]);case 2:return new s(o[0],o[1]);case 3:return new s(o[0],o[1],o[2]);case 4:return new s(o[0],o[1],o[2],o[3]);case 5:return new s(o[0],o[1],o[2],o[3],o[4]);case 6:return new s(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new s(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var u=V5(s.prototype),z=s.apply(u,o);return V4(z)?z:u}}function sO(s,o,u){var z=M9(s);function y(){for(var N=arguments.length,I=X(N),H=N,j=qt(y);H--;)I[H]=arguments[H];var r1=N<3&&I[0]!==j&&I[N-1]!==j?[]:R6(I,j);if(N-=r1.length,N<u)return l_(s,o,wr,y.placeholder,t,I,r1,t,t,u-N);var o1=this&&this!==o0&&this instanceof y?z:s;return d3(o1,this,I)}return y}function a_(s){return function(o,u,z){var y=k2(o);if(!V3(o)){var N=$1(u,3);o=A0(o),u=function(H){return N(y[H],H,y)}}var I=s(o,u,z);return I>-1?y[N?o[I]:I]:t}}function s_(s){return Ve(function(o){var u=o.length,z=u,y=J0.prototype.thru;for(s&&o.reverse();z--;){var N=o[z];if(typeof N!="function")throw new p3(n);if(y&&!I&&Ar(N)=="wrapper")var I=new J0([],!0)}for(z=I?z:u;++z<u;){N=o[z];var H=Ar(N),j=H=="wrapper"?fh(N):t;j&&hh(j[0])&&j[1]==(Q|V|W|l1)&&!j[4].length&&j[9]==1?I=I[Ar(j[0])].apply(I,j[3]):I=N.length==1&&hh(N)?I[H]():I.thru(N)}return function(){var r1=arguments,o1=r1[0];if(I&&r1.length==1&&i2(o1))return I.plant(o1).value();for(var d1=0,L1=u?o[d1].apply(this,r1):o1;++d1<u;)L1=o[d1].call(this,L1);return L1}})}function wr(s,o,u,z,y,N,I,H,j,r1){var o1=o&Q,d1=o&C,L1=o&S,R1=o&(V|q),j1=o&c1,h2=L1?t:M9(s);function B1(){for(var b2=arguments.length,A2=X(b2),m6=b2;m6--;)A2[m6]=arguments[m6];if(R1)var L3=qt(B1),u6=Qs(A2,L3);if(z&&(A2=e_(A2,z,y,R1)),N&&(A2=c_(A2,N,I,R1)),b2-=u6,R1&&b2<r1){var c0=R6(A2,L3);return l_(s,o,wr,B1.placeholder,u,A2,c0,H,j,r1-b2)}var _8=d1?u:this,$e=L1?_8[s]:s;return b2=A2.length,H?A2=wO(A2,H):j1&&b2>1&&A2.reverse(),o1&&j<b2&&(A2.length=j),this&&this!==o0&&this instanceof B1&&($e=h2||M9($e)),$e.apply(_8,A2)}return B1}function r_(s,o){return function(u,z){return H5(u,s,o(z),{})}}function Sr(s,o){return function(u,z){var y;if(u===t&&z===t)return o;if(u!==t&&(y=u),z!==t){if(y===t)return z;typeof u=="string"||typeof z=="string"?(u=f6(u),z=f6(z)):(u=Gv(u),z=Gv(z)),y=s(u,z)}return y}}function sh(s){return Ve(function(o){return o=d4(o,u3($1())),z2(function(u){var z=this;return s(o,function(y){return d3(y,z,u)})})})}function Nr(s,o){o=o===t?" ":f6(o);var u=o.length;if(u<2)return u?Ju(o,s):o;var z=Ju(o,Qc(s/G8(o)));return E5(o)?W5(h3(z),0,s).join(""):z.slice(0,s)}function rO(s,o,u,z){var y=o&C,N=M9(s);function I(){for(var H=-1,j=arguments.length,r1=-1,o1=z.length,d1=X(o1+j),L1=this&&this!==o0&&this instanceof I?N:s;++r1<o1;)d1[r1]=z[r1];for(;j--;)d1[r1++]=arguments[++H];return d3(L1,y?u:this,d1)}return I}function o_(s){return function(o,u,z){return z&&typeof z!="number"&&z3(o,u,z)&&(u=z=t),o=Ue(o),u===t?(u=o,o=0):u=Ue(u),z=z===t?o<u?1:-1:Ue(z),GD(o,u,z,s)}}function kr(s){return function(o,u){return typeof o=="string"&&typeof u=="string"||(o=$6(o),u=$6(u)),s(o,u)}}function l_(s,o,u,z,y,N,I,H,j,r1){var o1=o&V,d1=o1?I:t,L1=o1?t:I,R1=o1?N:t,j1=o1?t:N;o|=o1?W:G,o&=~(o1?G:W),o&P||(o&=~(C|S));var h2=[s,o,y,R1,d1,j1,L1,H,j,r1],B1=u.apply(t,h2);return hh(s)&&__(B1,h2),B1.placeholder=z,C_(B1,s,o)}function rh(s){var o=X2[s];return function(u,z){if(u=$6(u),z=z==null?0:p0(m2(z),292),z&&Ie(u)){var y=(t4(u)+"e").split("e"),N=o(y[0]+"e"+(+y[1]+z));return y=(t4(N)+"e").split("e"),+(y[0]+"e"+(+y[1]-z))}return o(u)}}var oO=R5&&1/wt(new R5([,-0]))[1]==W1?function(s){return new R5(s)}:Ah;function f_(s){return function(o){var u=c3(o);return u==Q0?I5(o):u==P4?Js(o):Qm(o,s(o))}}function Fe(s,o,u,z,y,N,I,H){var j=o&S;if(!j&&typeof s!="function")throw new p3(n);var r1=z?z.length:0;if(r1||(o&=~(W|G),z=y=t),I=I===t?I:v4(m2(I),0),H=H===t?H:m2(H),r1-=y?y.length:0,o&G){var o1=z,d1=y;z=y=t}var L1=j?t:fh(s),R1=[s,o,u,z,y,o1,d1,N,I,H];if(L1&&yO(R1,L1),s=R1[0],o=R1[1],u=R1[2],z=R1[3],y=R1[4],H=R1[9]=R1[9]===t?j?0:s.length:v4(R1[9]-r1,0),!H&&o&(V|q)&&(o&=~(V|q)),!o||o==C)var j1=aO(s,o,u);else o==V||o==q?j1=sO(s,o,H):(o==W||o==(C|W))&&!y.length?j1=rO(s,o,u,z):j1=wr.apply(t,R1);var h2=L1?jv:__;return C_(h2(j1,R1),s,o)}function d_(s,o,u,z){return s===t||v8(s,P5[u])&&!Y2.call(z,u)?o:s}function m_(s,o,u,z,y,N){return V4(s)&&V4(o)&&(N.set(o,s),l0(s,o,t,m_,N),N.delete(o)),s}function lO(s){return C9(s)?t:s}function u_(s,o,u,z,y,N){var I=u&M,H=s.length,j=o.length;if(H!=j&&!(I&&j>H))return!1;var r1=N.get(s),o1=N.get(o);if(r1&&o1)return r1==o&&o1==s;var d1=-1,L1=!0,R1=u&b?new Pe:t;for(N.set(s,o),N.set(o,s);++d1<H;){var j1=s[d1],h2=o[d1];if(z)var B1=I?z(h2,j1,d1,o,s,N):z(j1,h2,d1,s,o,N);if(B1!==t){if(B1)continue;L1=!1;break}if(R1){if(!Ct(o,function(b2,A2){if(!K2(R1,A2)&&(j1===b2||y(j1,b2,u,z,N)))return R1.push(A2)})){L1=!1;break}}else if(!(j1===h2||y(j1,h2,u,z,N))){L1=!1;break}}return N.delete(s),N.delete(o),L1}function fO(s,o,u,z,y,N,I){switch(u){case E3:if(s.byteLength!=o.byteLength||s.byteOffset!=o.byteOffset)return!1;s=s.buffer,o=o.buffer;case O6:return!(s.byteLength!=o.byteLength||!N(new Tt(s),new Tt(o)));case s6:case f3:case Se:return v8(+s,+o);case x5:return s.name==o.name&&s.message==o.message;case r0:case D6:return s==o+"";case Q0:var H=I5;case P4:var j=z&M;if(H||(H=wt),s.size!=o.size&&!j)return!1;var r1=I.get(s);if(r1)return r1==o;z|=b,I.set(s,o);var o1=u_(H(s),H(o),z,y,N,I);return I.delete(s),o1;case Ne:if(i7)return i7.call(s)==i7.call(o)}return!1}function dO(s,o,u,z,y,N){var I=u&M,H=oh(s),j=H.length,r1=oh(o),o1=r1.length;if(j!=o1&&!I)return!1;for(var d1=j;d1--;){var L1=H[d1];if(!(I?L1 in o:Y2.call(o,L1)))return!1}var R1=N.get(s),j1=N.get(o);if(R1&&j1)return R1==o&&j1==s;var h2=!0;N.set(s,o),N.set(o,s);for(var B1=I;++d1<j;){L1=H[d1];var b2=s[L1],A2=o[L1];if(z)var m6=I?z(A2,b2,L1,o,s,N):z(b2,A2,L1,s,o,N);if(!(m6===t?b2===A2||y(b2,A2,u,z,N):m6)){h2=!1;break}B1||(B1=L1=="constructor")}if(h2&&!B1){var L3=s.constructor,u6=o.constructor;L3!=u6&&"constructor"in s&&"constructor"in o&&!(typeof L3=="function"&&L3 instanceof L3&&typeof u6=="function"&&u6 instanceof u6)&&(h2=!1)}return N.delete(s),N.delete(o),h2}function Ve(s){return gh(M_(s,t,N_),s+"")}function oh(s){return _r(s,A0,mh)}function lh(s){return _r(s,H3,h_)}var fh=Ft?function(s){return Ft.get(s)}:Ah;function Ar(s){for(var o=s.name+"",u=F5[o],z=Y2.call(F5,o)?u.length:0;z--;){var y=u[z],N=y.func;if(N==null||N==s)return y.name}return o}function qt(s){var o=Y2.call(w,"placeholder")?w:s;return o.placeholder}function $1(){var s=w.iteratee||Nh;return s=s===Nh?_:s,arguments.length?s(arguments[0],arguments[1]):s}function Tr(s,o){var u=s.__data__;return MO(o)?u[typeof o=="string"?"string":"hash"]:u.map}function dh(s){for(var o=A0(s),u=o.length;u--;){var z=o[u],y=s[z];o[u]=[z,y,z_(y)]}return o}function r7(s,o){var u=Gc(s,o);return y2(u)?u:t}function mO(s){var o=Y2.call(s,Ee),u=s[Ee];try{s[Ee]=t;var z=!0}catch(N){}var y=kt.call(s);return z&&(o?s[Ee]=u:delete s[Ee]),y}var mh=It?function(s){return s==null?[]:(s=k2(s),j8(It(s),function(o){return Kc.call(s,o)}))}:Th,h_=It?function(s){for(var o=[];s;)W8(o,mh(s)),s=Dt(s);return o}:Th,c3=H0;(o9&&c3(new o9(new ArrayBuffer(1)))!=E3||e7&&c3(new e7)!=Q0||l9&&c3(l9.resolve())!=Oc||R5&&c3(new R5)!=P4||c7&&c3(new c7)!=R4)&&(c3=function(s){var o=H0(s),u=o==O3?s.constructor:t,z=u?o7(u):"";if(z)switch(z){case _u:return E3;case Cu:return Q0;case yu:return Oc;case bu:return P4;case xu:return R4}return o});function uO(s,o,u){for(var z=-1,y=u.length;++z<y;){var N=u[z],I=N.size;switch(N.type){case"drop":s+=I;break;case"dropRight":o-=I;break;case"take":o=p0(o,s+I);break;case"takeRight":s=v4(s,o-I);break}}return{start:s,end:o}}function hO(s){var o=s.match(f8);return o?o[1].split(I6):[]}function p_(s,o,u){o=j5(o,s);for(var z=-1,y=o.length,N=!1;++z<y;){var I=M8(o[z]);if(!(N=s!=null&&u(s,I)))break;s=s[I]}return N||++z!=y?N:(y=s==null?0:s.length,!!y&&Fr(y)&&He(I,y)&&(i2(s)||l7(s)))}function pO(s){var o=s.length,u=new s.constructor(o);return o&&typeof s[0]=="string"&&Y2.call(s,"index")&&(u.index=s.index,u.
vendor: 4,347 bytes, lines 1-3
1input=s.input),u}function g_(s){return typeof s.constructor=="function"&&!v9(s)?V5(Dt(s)):{}}function gO(s,o,u){var z=s.constructor;switch(o){case O6:return ah(s);case s6:case f3:return new z(+s);case E3:return JD(s,u);case W2:case ot:case lt:case w5:case Pc:case S5:case $8:case N5:case Bn:return Qv(s,u);case Q0:return new z;case Se:case D6:return new z(s);case r0:return eO(s);case P4:return new z;case Ne:return cO(s)}}function zO(s,o){var u=o.length;if(!u)return s;var z=u-1;return o[z]=(u>1?"& ":"")+o[z],o=o.join(u>2?", ":" "),s.replace(k0,`{ 2/* [wrapped with `+o+`] */ 3`)}function LO(s){return i2(s)||l7(s)||!!(nr&&s&&s[nr])}function He(s,o){var u=typeof s;return o=o??t2,!!o&&(u=="number"||u!="symbol"&&k5.test(s))&&s>-1&&s%1==0&&s<o}function z3(s,o,u){if(!V4(u))return!1;var z=typeof o;return(z=="number"?V3(u)&&He(o,u.length):z=="string"&&o in u)?v8(u[o],s):!1}function uh(s,o){if(i2(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||d6(s)?!0:L2.test(s)||!I3.test(s)||o!=null&&s in k2(o)}function MO(s){var o=typeof s;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?s!=="__proto__":s===null}function hh(s){var o=Ar(s),u=w[o];if(typeof u!="function"||!(o in M2.prototype))return!1;if(s===u)return!0;var z=fh(u);return!!z&&s===z[0]}function vO(s){return!!cr&&cr in s}var _O=Zc?Be:Dh;function v9(s){var o=s&&s.constructor,u=typeof o=="function"&&o.prototype||P5;return s===u}function z_(s){return s===s&&!V4(s)}function L_(s,o){return function(u){return u==null?!1:u[s]===o&&(o!==t||s in k2(u))}}function CO(s){var o=Pr(s,function(z){return u.size===f&&u.clear(),z}),u=o.cache;return o}function yO(s,o){var u=s[1],z=o[1],y=u|z,N=y<(C|S|Q),I=z==Q&&u==V||z==Q&&u==l1&&s[7].length<=o[8]||z==(Q|l1)&&o[7].length<=o[8]&&u==V;if(!(N||I))return s;z&C&&(s[2]=o[2],y|=u&C?0:P);var H=o[3];if(H){var j=s[3];s[3]=j?e_(j,H,o[4]):H,s[4]=j?R6(s[3],m):o[4]}return H=o[5],H&&(j=s[5],s[5]=j?c_(j,H,o[6]):H,s[6]=j?R6(s[5],m):o[6]),H=o[7],H&&(s[7]=H),z&Q&&(s[8]=s[8]==null?o[8]:p0(s[8],o[8])),s[9]==null&&(s[9]=o[9]),s[0]=o[0],s[1]=y,s}function bO(s){var o=[];if(s!=null)for(var u in k2(s))o.push(u);return o}function xO(s){return kt.call(s)}function M_(s,o,u){return o=v4(o===t?s.length-1:o,0),function(){for(var z=arguments,y=-1,N=v4(z.length-o,0),I=X(N);++y<N;)I[y]=z[o+y];y=-1;for(var H=X(o+1);++y<o;)H[y]=z[y];return H[o]=u(I),d3(s,this,H)}}function v_(s,o){return o.length<2?s:Re(s,B6(o,0,-1))}function wO(s,o){for(var u=s.length,z=p0(o.length,u),y=F3(s);z--;){var N=o[z];s[z]=He(N,u)?y[N]:t}return s}function ph(s,o){if(!(o==="constructor"&&typeof s[o]=="function")&&o!="__proto__")return s[o]}var __=y_(jv),_9=Lu||function(s,o){return o0.setTimeout(s,o)},gh=y_(ZD);function C_(s,o,u){var z=o+"";return gh(s,zO(z,SO(hO(z),u)))}function y_(s){var o=0,u=0;return function(){var z=sr(),y=X1-(z-u);if(u=z,y>0){if(++o>=P1)return arguments[0]}else o=0;return s.apply(t,arguments)}}function Dr(s,o){var u=-1,z=s.length,y=z-1;for(o=o===t?z:o;++u<o;){var N=Qu(u,y),I=s[N];s[N]=s[u],s[u]=I}return s.length=o,s}var b_=CO(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(Un,function(u,z,y,N){o.push(y?N.replace(d8,"$1"):z||u)}),o});function M8(s){if(typeof s=="string"||d6(s))return s;var o=s+"";return o=="0"&&1/s==-W1?"-0":o}function o7(s){if(s!=null){try{return Nt.call(s)}catch(o){}try{return s+""}catch(o){}}return""}function SO(s,o){return m3(S1,function(u){var z="_."+u[0];o&u[1]&&!_t(s,z)&&s.push(z)}),s.sort()}function x_(s){if(s instanceof M2)return s.clone();var o=new J0(s.__wrapped__,s.__chain__);return o.__actions__=F3(s.__actions__),o.__index__=s.__index__,o.__values__=s.__values__,o}function NO(s,o,u){(u?z3(s,o,u):o===t)?o=1:o=v4(m2(o),0);var z=s==null?0:s.length;if(!z||o<1)return[];for(var y=0,N=0,I=X(Qc(z/o));y<z;)I[N++]=B6(s,y,y+=o);return I}function kO(s){for(var o=-1,u=s==null?0:s.length,z=0,y=[];++o<u;){var N=s[o];N&&(y[z++]=N)}return y}function AO(){var s=arguments.length;if(!s)return[];for(var o=X(s-1),u=arguments[0],z=s;z--;)o[z-1]=arguments[z];return W8(i2(u)?F3(u):[u],g0(o,1))}var TO=z2(function(s,o){return e0(s)?n7(s,g0(o,1,e0,!0)):[]}),DO=z2(function(s,o){var u=U6(o);return e0(u)&&(u=t),e0(s)?n7(s,g0(o,1,e0,!0),$1(u,2)):[]}),OO=z2(function(s,o){var u=U6(o);return e0(u)&&(u=t),e0(s)?n7(s,g0(o,1,e0,!0),t,u):[]});function EO(s,o,u){var z=s==null?0:s.length;
vendor: 2,965 bytes, line 3
3return z?(o=u||o===t?1:m2(o),B6(s,o<0?0:o,z)):[]}function IO(s,o,u){var z=s==null?0:s.length;return z?(o=u||o===t?1:m2(o),o=z-o,B6(s,0,o<0?0:o)):[]}function PO(s,o){return s&&s.length?br(s,$1(o,3),!0,!0):[]}function RO(s,o){return s&&s.length?br(s,$1(o,3),!0):[]}function FO(s,o,u,z){var y=s==null?0:s.length;return y?(u&&typeof u!="number"&&z3(s,o,u)&&(u=0,z=y),Wu(s,o,u,z)):[]}function w_(s,o,u){var z=s==null?0:s.length;if(!z)return-1;var y=u==null?0:m2(u);return y<0&&(y=v4(z+y,0)),yt(s,$1(o,3),y)}function S_(s,o,u){var z=s==null?0:s.length;if(!z)return-1;var y=z-1;return u!==t&&(y=m2(u),y=u<0?v4(z+y,0):p0(y,z-1)),yt(s,$1(o,3),y,!0)}function N_(s){var o=s==null?0:s.length;return o?g0(s,1):[]}function VO(s){var o=s==null?0:s.length;return o?g0(s,W1):[]}function HO(s,o){var u=s==null?0:s.length;return u?(o=o===t?1:m2(o),g0(s,o)):[]}function BO(s){for(var o=-1,u=s==null?0:s.length,z={};++o<u;){var y=s[o];o6(z,y[0],y[1])}return z}function k_(s){return s&&s.length?s[0]:t}function UO(s,o,u){var z=s==null?0:s.length;if(!z)return-1;var y=u==null?0:m2(u);return y<0&&(y=v4(z+y,0)),De(s,o,y)}function $O(s){var o=s==null?0:s.length;return o?B6(s,0,-1):[]}var jO=z2(function(s){var o=d4(s,ih);return o.length&&o[0]===s[0]?l6(o):[]}),WO=z2(function(s){var o=U6(s),u=d4(s,ih);return o===U6(u)?o=t:u.pop(),u.length&&u[0]===s[0]?l6(u,$1(o,2)):[]}),GO=z2(function(s){var o=U6(s),u=d4(s,ih);return o=typeof o=="function"?o:t,o&&u.pop(),u.length&&u[0]===s[0]?l6(u,t,o):[]});function qO(s,o){return s==null?"":Rt.call(s,o)}function U6(s){var o=s==null?0:s.length;return o?s[o-1]:t}function YO(s,o,u){var z=s==null?0:s.length;if(!z)return-1;var y=z;return u!==t&&(y=m2(u),y=y<0?v4(z+y,0):p0(y,z-1)),o===o?r9(s,o,y):yt(s,Oe,y,!0)}function ZO(s,o){return s&&s.length?L8(s,m2(o)):t}var KO=z2(A_);function A_(s,o){return s&&s.length&&o&&o.length?Xu(s,o):s}function XO(s,o,u){return s&&s.length&&o&&o.length?Xu(s,o,$1(u,2)):s}function QO(s,o,u){return s&&s.length&&o&&o.length?Xu(s,o,t,u):s}var JO=Ve(function(s,o){var u=s==null?0:s.length,z=u9(s,o);return $v(s,d4(o,function(y){return He(y,u)?+y:y}).sort(Jv)),z});function eE(s,o){var u=[];if(!(s&&s.length))return u;var z=-1,y=[],N=s.length;for(o=$1(o,3);++z<N;){var I=s[z];o(I,z,s)&&(u.push(I),y.push(z))}return $v(s,y),u}function zh(s){return s==null?s:vu.call(s)}function cE(s,o,u){var z=s==null?0:s.length;return z?(u&&typeof u!="number"&&z3(s,o,u)?(o=0,u=z):(o=o==null?0:m2(o),u=u===t?z:m2(u)),B6(s,o,u)):[]}function tE(s,o){return yr(s,o)}function iE(s,o,u){return eh(s,o,$1(u,2))}function nE(s,o){var u=s==null?0:s.length;if(u){var z=yr(s,o);if(z<u&&v8(s[z],o))return z}return-1}function aE(s,o){return yr(s,o,!0)}function sE(s,o,u){return eh(s,o,$1(u,2),!0)}function rE(s,o){var u=s==null?0:s.length;if(u){var z=yr(s,o,!0)-1;if(v8(s[z],o))return z}return-1}function oE(s){return s&&s.length?Wv(s):[]}function lE(s,o){return s&&s.length?Wv(s,$1(o,2)):[]}function fE(s){var o=s==null?0:s.length;return o?B6(s,1,o):[]}
vendor: 5,773 bytes, line 3
3function dE(s,o,u){return s&&s.length?(o=u||o===t?1:m2(o),B6(s,0,o<0?0:o)):[]}function mE(s,o,u){var z=s==null?0:s.length;return z?(o=u||o===t?1:m2(o),o=z-o,B6(s,o<0?0:o,z)):[]}function uE(s,o){return s&&s.length?br(s,$1(o,3),!1,!0):[]}function hE(s,o){return s&&s.length?br(s,$1(o,3)):[]}var pE=z2(function(s){return $5(g0(s,1,e0,!0))}),gE=z2(function(s){var o=U6(s);return e0(o)&&(o=t),$5(g0(s,1,e0,!0),$1(o,2))}),zE=z2(function(s){var o=U6(s);return o=typeof o=="function"?o:t,$5(g0(s,1,e0,!0),t,o)});function LE(s){return s&&s.length?$5(s):[]}function ME(s,o){return s&&s.length?$5(s,$1(o,2)):[]}function vE(s,o){return o=typeof o=="function"?o:t,s&&s.length?$5(s,t,o):[]}function Lh(s){if(!(s&&s.length))return[];var o=0;return s=j8(s,function(u){if(e0(u))return o=v4(u.length,o),!0}),a9(o,function(u){return d4(s,Wc(u))})}function T_(s,o){if(!(s&&s.length))return[];var u=Lh(s);return o==null?u:d4(u,function(z){return d3(o,t,z)})}var _E=z2(function(s,o){return e0(s)?n7(s,o):[]}),CE=z2(function(s){return th(j8(s,e0))}),yE=z2(function(s){var o=U6(s);return e0(o)&&(o=t),th(j8(s,e0),$1(o,2))}),bE=z2(function(s){var o=U6(s);return o=typeof o=="function"?o:t,th(j8(s,e0),t,o)}),xE=z2(Lh);function wE(s,o){return Zv(s||[],o||[],g3)}function SE(s,o){return Zv(s||[],o||[],L9)}var NE=z2(function(s){var o=s.length,u=o>1?s[o-1]:t;return u=typeof u=="function"?(s.pop(),u):t,T_(s,u)});function D_(s){var o=w(s);return o.__chain__=!0,o}function kE(s,o){return o(s),s}function Or(s,o){return o(s)}var AE=Ve(function(s){var o=s.length,u=o?s[0]:0,z=this.__wrapped__,y=function(N){return u9(N,s)};return o>1||this.__actions__.length||!(z instanceof M2)||!He(u)?this.thru(y):(z=z.slice(u,+u+(o?1:0)),z.__actions__.push({func:Or,args:[y],thisArg:t}),new J0(z,this.__chain__).thru(function(N){return o&&!N.length&&N.push(t),N}))});function TE(){return D_(this)}function DE(){return new J0(this.value(),this.__chain__)}function OE(){this.__values__===t&&(this.__values__=G_(this.value()));var s=this.__index__>=this.__values__.length,o=s?t:this.__values__[this.__index__++];return{done:s,value:o}}function EE(){return this}function IE(s){for(var o,u=this;u instanceof Ht;){var z=x_(u);z.__index__=0,z.__values__=t,o?y.__wrapped__=z:o=z;var y=z;u=u.__wrapped__}return y.__wrapped__=s,o}function PE(){var s=this.__wrapped__;if(s instanceof M2){var o=s;return this.__actions__.length&&(o=new M2(this)),o=o.reverse(),o.__actions__.push({func:Or,args:[zh],thisArg:t}),new J0(o,this.__chain__)}return this.thru(zh)}function RE(){return Yv(this.__wrapped__,this.__actions__)}var FE=xr(function(s,o,u){Y2.call(s,u)?++s[u]:o6(s,u,1)});function VE(s,o,u){var z=i2(s)?qs:ju;return u&&z3(s,o,u)&&(o=t),z(s,$1(o,3))}function HE(s,o){var u=i2(s)?j8:Mr;return u(s,$1(o,3))}var BE=a_(w_),UE=a_(S_);function $E(s,o){return g0(Er(s,o),1)}function jE(s,o){return g0(Er(s,o),W1)}function WE(s,o,u){return u=u===t?1:m2(u),g0(Er(s,o),u)}function O_(s,o){var u=i2(s)?m3:X8;return u(s,$1(o,3))}function E_(s,o){var u=i2(s)?c9:Lr;return u(s,$1(o,3))}var GE=xr(function(s,o,u){Y2.call(s,u)?s[u].push(o):o6(s,u,[o])});function qE(s,o,u,z){s=V3(s)?s:Zt(s),u=u&&!z?m2(u):0;var y=s.length;return u<0&&(u=v4(y+u,0)),Vr(s)?u<=y&&s.indexOf(o,u)>-1:!!y&&De(s,o,u)>-1}var YE=z2(function(s,o,u){var z=-1,y=typeof o=="function",N=V3(s)?X(s.length):[];return X8(s,function(I){N[++z]=y?d3(o,I,u):a7(I,o,u)}),N}),ZE=xr(function(s,o,u){o6(s,u,o)});function Er(s,o){var u=i2(s)?d4:C1;return u(s,$1(o,3))}function KE(s,o,u,z){return s==null?[]:(i2(o)||(o=o==null?[]:[o]),u=z?t:u,i2(u)||(u=u==null?[]:[u]),Bv(s,o,u))}var XE=xr(function(s,o,u){s[u?0:1].push(o)},function(){return[[],[]]});function QE(s,o,u){var z=i2(s)?t9:bt,y=arguments.length<3;return z(s,$1(o,4),u,y,X8)}function JE(s,o,u){var z=i2(s)?Gm:bt,y=arguments.length<3;return z(s,$1(o,4),u,y,Lr)}function eI(s,o){var u=i2(s)?j8:Mr;return u(s,Rr($1(o,3)))}function cI(s){var o=i2(s)?pr:qD;return o(s)}function tI(s,o,u){(u?z3(s,o,u):o===t)?o=1:o=m2(o);var z=i2(s)?Hu:YD;return z(s,o)}function iI(s){var o=i2(s)?Bu:KD;return o(s)}function nI(s){if(s==null)return 0;if(V3(s))return Vr(s)?G8(s):s.length;var o=c3(s);return o==Q0||o==P4?s.size:x(s).length}function aI(s,o,u){var z=i2(s)?Ct:XD;return u&&z3(s,o,u)&&(o=t),z(s,$1(o,3))}var sI=z2(function(s,o){if(s==null)return[];var u=o.length;return u>1&&z3(s,o[0],o[1])?o=[]:u>2&&z3(o[0],o[1],o[2])&&(o=[o[0]]),Bv(s,g0(o,1),[])}),Ir=zu||function(){return o0.Date.now()};function rI(s,o){if(typeof o!="function")throw new p3(n);return s=m2(s),function(){if(--s<1)return o.apply(this,arguments)}}function I_(s,o,u){return o=u?t:o,o=s&&o==null?s.length:o,Fe(s,Q,t,t,t,t,o)}function P_(s,o){var u;if(typeof o!="function")throw new p3(n);return s=m2(s),function(){return--s>0&&(u=o.apply(this,arguments)),s<=1&&(o=t),u}}var Mh=z2(function(s,o,u){var z=C;if(u.length){var y=R6(u,qt(Mh));z|=W}return Fe(s,z,o,u,y)}),R_=z2(function(s,o,u){var z=C|S;if(u.length){var y=R6(u,qt(R_));z|=W}return Fe(o,z,s,u,y)});function F_(s,o,u){o=u?t:o;var z=Fe(s,V,t,t,t,t,t,o);return z.placeholder=F_.placeholder,z}function V_(s,o,u){o=u?t:o;var z=Fe(s,q,t,t,t,t,t,o);return z.placeholder=V_.placeholder,z}function H_(s,o,u){var z,y,N,I,H,j,r1=0,o1=!1,d1=!1,L1=!0;if(typeof s!="function")throw new p3(n);o=$6(o)||0,V4(u)&&(o1=!!u.leading,d1="maxWait"in u,N=d1?v4($6(u.maxWait)||0,o):N,L1="trailing"in u?!!u.trailing:L1);function R1(c0){var _8=z,$e=y;return z=y=t,r1=c0,I=s.apply($e,_8),I}function j1(c0){return r1=c0,H=_9(b2,o),o1?R1(c0):I}function h2(c0){var _8=c0-j,$e=c0-r1,sC=o-_8;return d1?p0(sC,N-$e):sC}function B1(c0){var _8=c0-j,$e=c0-r1;return j===t||_8>=o||_8<0||d1&&$e>=N}function b2(){var c0=Ir();if(B1(c0))return A2(c0);H=_9(b2,h2(c0))}function A2(c0){return H=t,L1&&z?R1(c0):(z=y=t,I)}function m6(){H!==t&&Kv(H),r1=0,z=j=y=H=t}
vendor: 4,859 bytes, line 3
3function L3(){return H===t?I:A2(Ir())}function u6(){var c0=Ir(),_8=B1(c0);if(z=arguments,y=this,j=c0,_8){if(H===t)return j1(j);if(d1)return Kv(H),H=_9(b2,o),R1(j)}return H===t&&(H=_9(b2,o)),I}return u6.cancel=m6,u6.flush=L3,u6}var oI=z2(function(s,o){return h9(s,1,o)}),lI=z2(function(s,o,u){return h9(s,$6(o)||0,u)});function fI(s){return Fe(s,c1)}function Pr(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new p3(n);var u=function(){var z=arguments,y=o?o.apply(this,z):z[0],N=u.cache;if(N.has(y))return N.get(y);var I=s.apply(this,z);return u.cache=N.set(y,I)||N,I};return u.cache=new(Pr.Cache||p8),u}Pr.Cache=p8;function Rr(s){if(typeof s!="function")throw new p3(n);return function(){var o=arguments;switch(o.length){case 0:return!s.call(this);case 1:return!s.call(this,o[0]);case 2:return!s.call(this,o[0],o[1]);case 3:return!s.call(this,o[0],o[1],o[2])}return!s.apply(this,o)}}function dI(s){return P_(2,s)}var mI=QD(function(s,o){o=o.length==1&&i2(o[0])?d4(o[0],u3($1())):d4(g0(o,1),u3($1()));var u=o.length;return z2(function(z){for(var y=-1,N=p0(z.length,u);++y<N;)z[y]=o[y].call(this,z[y]);return d3(s,this,z)})}),vh=z2(function(s,o){var u=R6(o,qt(vh));return Fe(s,W,t,o,u)}),B_=z2(function(s,o){var u=R6(o,qt(B_));return Fe(s,G,t,o,u)}),uI=Ve(function(s,o){return Fe(s,l1,t,t,t,o)});function hI(s,o){if(typeof s!="function")throw new p3(n);return o=o===t?o:m2(o),z2(s,o)}function pI(s,o){if(typeof s!="function")throw new p3(n);return o=o==null?0:v4(m2(o),0),z2(function(u){var z=u[o],y=W5(u,0,o);return z&&W8(y,z),d3(s,this,y)})}function gI(s,o,u){var z=!0,y=!0;if(typeof s!="function")throw new p3(n);return V4(u)&&(z="leading"in u?!!u.leading:z,y="trailing"in u?!!u.trailing:y),H_(s,o,{leading:z,maxWait:o,trailing:y})}function zI(s){return I_(s,1)}function LI(s,o){return vh(nh(o),s)}function MI(){if(!arguments.length)return[];var s=arguments[0];return i2(s)?s:[s]}function vI(s){return e3(s,v)}function _I(s,o){return o=typeof o=="function"?o:t,e3(s,v,o)}function CI(s){return e3(s,h|v)}function yI(s,o){return o=typeof o=="function"?o:t,e3(s,h|v,o)}function bI(s,o){return o==null||V6(s,o,A0(o))}function v8(s,o){return s===o||s!==s&&o!==o}var xI=kr(g9),wI=kr(function(s,o){return s>=o}),l7=Cr((function(){return arguments})())?Cr:function(s){return G4(s)&&Y2.call(s,"callee")&&!Kc.call(s,"callee")},i2=X.isArray,SI=e9?u3(e9):Zu;function V3(s){return s!=null&&Fr(s.length)&&!Be(s)}function e0(s){return G4(s)&&V3(s)}function NI(s){return s===!0||s===!1||G4(s)&&H0(s)==s6}var G5=Pt||Dh,kI=Ws?u3(Ws):Ku;function AI(s){return G4(s)&&s.nodeType===1&&!C9(s)}function TI(s){if(s==null)return!0;if(V3(s)&&(i2(s)||typeof s=="string"||typeof s.splice=="function"||G5(s)||Yt(s)||l7(s)))return!s.length;var o=c3(s);if(o==Q0||o==P4)return!s.size;if(v9(s))return!x(s).length;for(var u in s)if(Y2.call(s,u))return!1;return!0}function DI(s,o){return s7(s,o)}function OI(s,o,u){u=typeof u=="function"?u:t;var z=u?u(s,o):t;return z===t?s7(s,o,t,u):!!z}function _h(s){if(!G4(s))return!1;var o=H0(s);return o==x5||o==Dc||typeof s.message=="string"&&typeof s.name=="string"&&!C9(s)}function EI(s){return typeof s=="number"&&Ie(s)}function Be(s){if(!V4(s))return!1;var o=H0(s);return o==U8||o==st||o==T6||o==rt}function U_(s){return typeof s=="number"&&s==m2(s)}function Fr(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=t2}function V4(s){var o=typeof s;return s!=null&&(o=="object"||o=="function")}function G4(s){return s!=null&&typeof s=="object"}var $_=Gs?u3(Gs):B5;function II(s,o){return s===o||U5(s,o,dh(o))}function PI(s,o,u){return u=typeof u=="function"?u:t,U5(s,o,dh(o),u)}function RI(s){return j_(s)&&s!=+s}function FI(s){if(_O(s))throw new K1(i);return y2(s)}function VI(s){return s===null}function HI(s){return s==null}function j_(s){return typeof s=="number"||G4(s)&&H0(s)==Se}function C9(s){if(!G4(s)||H0(s)!=O3)return!1;var o=Dt(s);if(o===null)return!0;var u=Y2.call(o,"constructor")&&o.constructor;return typeof u=="function"&&u instanceof u&&Nt.call(u)==uu}var Ch=jc?u3(jc):d;function BI(s){return U_(s)&&s>=-t2&&s<=t2}var W_=m8?u3(m8):p;function Vr(s){return typeof s=="string"||!i2(s)&&G4(s)&&H0(s)==D6}function d6(s){return typeof s=="symbol"||G4(s)&&H0(s)==Ne}var Yt=vt?u3(vt):L;function UI(s){return s===t}function $I(s){return G4(s)&&c3(s)==R4}function jI(s){return G4(s)&&H0(s)==Ic}var WI=kr(J),GI=kr(function(s,o){return s<=o});function G_(s){if(!s)return[];if(V3(s))return Vr(s)?h3(s):F3(s);if(Xc&&s[Xc])return iu(s[Xc]());var o=c3(s),u=o==Q0?I5:o==P4?wt:Zt;return u(s)}function Ue(s){if(!s)return s===0?s:0;if(s=$6(s),s===W1||s===-W1){var o=s<0?-1:1;return o*a4}return s===s?s:0}function m2(s){var o=Ue(s),u=o%1;return o===o?u?o-u:o:0}function q_(s){return s?K8(m2(s),0,M4):0}function $6(s){if(typeof s=="number")return s;if(d6(s))return Q4;if(V4(s)){var o=typeof s.valueOf=="function"?s.valueOf():s;s=V4(o)?o+"":o}
vendor: 4,786 bytes, line 3
3if(typeof s!="string")return s===0?s:+s;s=s9(s);var u=Vc.test(s);return u||Cm.test(s)?jm(s.slice(2),u?2:8):_m.test(s)?Q4:+s}function Y_(s){return Q8(s,H3(s))}function qI(s){return s?K8(m2(s),-t2,t2):s===0?s:0}function t4(s){return s==null?"":f6(s)}var YI=Wt(function(s,o){if(v9(o)||V3(o)){Q8(o,A0(o),s);return}for(var u in o)Y2.call(o,u)&&g3(s,u,o[u])}),Z_=Wt(function(s,o){Q8(o,H3(o),s)}),K_=Wt(function(s,o,u,z){Q8(o,H3(o),s,z)}),yh=Wt(function(s,o,u,z){Q8(o,A0(o),s,z)}),ZI=Ve(u9);function KI(s,o){var u=V5(s);return o==null?u:zr(u,o)}var XI=z2(function(s,o){s=k2(s);var u=-1,z=o.length,y=z>2?o[2]:t;for(y&&z3(o[0],o[1],y)&&(z=1);++u<z;)for(var N=o[u],I=H3(N),H=-1,j=I.length;++H<j;){var r1=I[H],o1=s[r1];(o1===t||v8(o1,P5[r1])&&!Y2.call(s,r1))&&(s[r1]=N[r1])}return s}),QI=z2(function(s){return s.push(t,m_),d3(X_,t,s)});function JI(s,o){return Ys(s,$1(o,3),H6)}function eP(s,o){return Ys(s,$1(o,3),g8)}function cP(s,o){return s==null?s:p9(s,$1(o,3),H3)}function tP(s,o){return s==null?s:vr(s,$1(o,3),H3)}function iP(s,o){return s&&H6(s,$1(o,3))}function nP(s,o){return s&&g8(s,$1(o,3))}function aP(s){return s==null?[]:jt(s,A0(s))}function sP(s){return s==null?[]:jt(s,H3(s))}function bh(s,o,u){var z=s==null?t:Re(s,o);return z===t?u:z}function rP(s,o){return s!=null&&p_(s,o,Gu)}function xh(s,o){return s!=null&&p_(s,o,qu)}var oP=r_(function(s,o,u){o!=null&&typeof o.toString!="function"&&(o=kt.call(o)),s[o]=u},Sh(B3)),lP=r_(function(s,o,u){o!=null&&typeof o.toString!="function"&&(o=kt.call(o)),Y2.call(s,o)?s[o].push(u):s[o]=[u]},$1),fP=z2(a7);function A0(s){return V3(s)?hr(s):x(s)}function H3(s){return V3(s)?hr(s,!0):R(s)}function dP(s,o){var u={};return o=$1(o,3),H6(s,function(z,y,N){o6(u,o(z,y,N),z)}),u}function mP(s,o){var u={};return o=$1(o,3),H6(s,function(z,y,N){o6(u,y,o(z,y,N))}),u}var uP=Wt(function(s,o,u){l0(s,o,u)}),X_=Wt(function(s,o,u,z){l0(s,o,u,z)}),hP=Ve(function(s,o){var u={};if(s==null)return u;var z=!1;o=d4(o,function(N){return N=j5(N,s),z||(z=N.length>1),N}),Q8(s,lh(s),u),z&&(u=e3(u,h|g|v,lO));for(var y=o.length;y--;)ch(u,o[y]);return u});function pP(s,o){return Q_(s,Rr($1(o)))}var gP=Ve(function(s,o){return s==null?{}:jD(s,o)});function Q_(s,o){if(s==null)return{};var u=d4(lh(s),function(z){return[z]});return o=$1(o),Uv(s,u,function(z,y){return o(z,y[0])})}function zP(s,o,u){o=j5(o,s);var z=-1,y=o.length;for(y||(y=1,s=t);++z<y;){var N=s==null?t:s[M8(o[z])];N===t&&(z=y,N=u),s=Be(N)?N.call(s):N}return s}function LP(s,o,u){return s==null?s:L9(s,o,u)}function MP(s,o,u,z){return z=typeof z=="function"?z:t,s==null?s:L9(s,o,u,z)}var J_=f_(A0),eC=f_(H3);function vP(s,o,u){var z=i2(s),y=z||G5(s)||Yt(s);if(o=$1(o,4),u==null){var N=s&&s.constructor;y?u=z?new N:[]:V4(s)?u=Be(N)?V5(Dt(s)):{}:u={}}return(y?m3:H6)(s,function(I,H,j){return o(u,I,H,j)}),u}function _P(s,o){return s==null?!0:ch(s,o)}function CP(s,o,u){return s==null?s:qv(s,o,nh(u))}function yP(s,o,u,z){return z=typeof z=="function"?z:t,s==null?s:qv(s,o,nh(u),z)}function Zt(s){return s==null?[]:xt(s,A0(s))}function bP(s){return s==null?[]:xt(s,H3(s))}function xP(s,o,u){return u===t&&(u=o,o=t),u!==t&&(u=$6(u),u=u===u?u:0),o!==t&&(o=$6(o),o=o===o?o:0),K8($6(s),o,u)}function wP(s,o,u){return o=Ue(o),u===t?(u=o,o=0):u=Ue(u),s=$6(s),Yu(s,o,u)}function SP(s,o,u){if(u&&typeof u!="boolean"&&z3(s,o,u)&&(o=u=t),u===t&&(typeof o=="boolean"?(u=o,o=t):typeof s=="boolean"&&(u=s,s=t)),s===t&&o===t?(s=0,o=1):(s=Ue(s),o===t?(o=s,s=0):o=Ue(o)),s>o){var z=s;s=o,o=z}if(u||s%1||o%1){var y=rr();return p0(s+y*(o-s+$s("1e-"+((y+"").length-1))),o)}return Qu(s,o)}var NP=Gt(function(s,o,u){return o=o.toLowerCase(),s+(u?cC(o):o)});function cC(s){return wh(t4(s).toLowerCase())}function tC(s){return s=t4(s),s&&s.replace(Hc,Jm).replace(Rm,"")}function kP(s,o,u){s=t4(s),o=f6(o);var z=s.length;u=u===t?z:K8(m2(u),0,z);var y=u;return u-=o.length,u>=0&&s.slice(u,y)==o}function AP(s){return s=t4(s),s&&x1.test(s)?s.replace(dt,eu):s}function TP(s){return s=t4(s),s&&Fc.test(s)?s.replace(G2,"\\$&"):s}var DP=Gt(function(s,o,u){return s+(u?"-":"")+o.toLowerCase()}),OP=Gt(function(s,o,u){return s+(u?" ":"")+o.toLowerCase()}),EP=n_("toLowerCase");function IP(s,o,u){s=t4(s),o=m2(o);var z=o?G8(s):0;if(!o||z>=o)return s;var y=(o-z)/2;return Nr(Jc(y),u)+s+Nr(Qc(y),u)}function PP(s,o,u){s=t4(s),o=m2(o);var z=o?G8(s):0;return o&&z<o?s+Nr(o-z,u):s}function RP(s,o,u){s=t4(s),o=m2(o);var z=o?G8(s):0;return o&&z<o?Nr(o-z,u)+s:s}function FP(s,o,u){return u||o==null?o=0:o&&(o=+o),Mu(t4(s).replace($n,""),o||0)}function VP(s,o,u){return(u?z3(s,o,u):o===t)?o=1:o=m2(o),Ju(t4(s),o)}function HP(){var s=arguments,o=t4(s[0]);return s.length<3?o:o.replace(s[1],s[2])}var BP=Gt(function(s,o,u){return s+(u?"_":"")+o.toLowerCase()});function UP(s,o,u){return u&&typeof u!="number"&&z3(s,o,u)&&(o=u=t),u=u===t?M4:u>>>
vendor: 7,094 bytes, lines 3-20
30,u?(s=t4(s),s&&(typeof o=="string"||o!=null&&!Ch(o))&&(o=f6(o),!o&&E5(s))?W5(h3(s),0,u):s.split(o,u)):[]}var $P=Gt(function(s,o,u){return s+(u?" ":"")+wh(o)});function jP(s,o,u){return s=t4(s),u=u==null?0:K8(m2(u),0,s.length),o=f6(o),s.slice(u,u+o.length)==o}function WP(s,o,u){var z=w.templateSettings;u&&z3(s,o,u)&&(o=t),s=t4(s),o=yh({},o,z,d_);var y=yh({},o.imports,z.imports,d_),N=A0(y),I=xt(y,N);m3(N,function(B1){if(P3.test(B1))throw new K1(r)});var H,j,r1=0,o1=o.interpolate||Bc,d1="__p += '",L1=St((o.escape||Bc).source+"|"+o1.source+"|"+(o1===E6?Ae:Bc).source+"|"+(o.evaluate||Bc).source+"|$","g"),R1="//# sourceURL="+(Y2.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Um+"]")+` 4`;s.replace(L1,function(B1,b2,A2,m6,L3,u6){return A2||(A2=m6),d1+=s.slice(r1,u6).replace(ym,cu),b2&&(H=!0,d1+=`' + 5__e(`+b2+`) + 6'`),L3&&(j=!0,d1+=`'; 7`+L3+`; 8__p += '`),A2&&(d1+=`' + 9((__t = (`+A2+`)) == null ? '' : __t) + 10'`),r1=u6+B1.length,B1}),d1+=`'; 11`;var j1=Y2.call(o,"variable")&&o.variable;if(!j1)d1=`with (obj) { 12`+d1+` 13} 14`;else if(P3.test(j1))throw new K1(a);d1=(j?d1.replace(ft,""):d1).replace(Lm,"$1").replace(Rc,"$1;"),d1="function("+(j1||"obj")+`) { 15`+(j1?"":`obj || (obj = {}); 16`)+"var __t, __p = ''"+(H?", __e = _.escape":"")+(j?`, __j = Array.prototype.join; 17function print() { __p += __j.call(arguments, '') } 18`:`; 19`)+d1+`return __p 20}`;var h2=nC(function(){return V2(N,R1+"return "+d1).apply(t,I)});if(h2.source=d1,_h(h2))throw h2;return h2}function GP(s){return t4(s).toLowerCase()}function qP(s){return t4(s).toUpperCase()}function YP(s,o,u){if(s=t4(s),s&&(u||o===t))return s9(s);if(!s||!(o=f6(o)))return s;var z=h3(s),y=h3(o),N=Ks(z,y),I=Xs(z,y)+1;return W5(z,N,I).join("")}function ZP(s,o,u){if(s=t4(s),s&&(u||o===t))return s.slice(0,er(s)+1);if(!s||!(o=f6(o)))return s;var z=h3(s),y=Xs(z,h3(o))+1;return W5(z,0,y).join("")}function KP(s,o,u){if(s=t4(s),s&&(u||o===t))return s.replace($n,"");if(!s||!(o=f6(o)))return s;var z=h3(s),y=Ks(z,h3(o));return W5(z,y).join("")}function XP(s,o){var u=n1,z=_1;if(V4(o)){var y="separator"in o?o.separator:y;u="length"in o?m2(o.length):u,z="omission"in o?f6(o.omission):z}s=t4(s);var N=s.length;if(E5(s)){var I=h3(s);N=I.length}if(u>=N)return s;var H=u-G8(z);if(H<1)return z;var j=I?W5(I,0,H).join(""):s.slice(0,H);if(y===t)return j+z;if(I&&(H+=j.length-H),Ch(y)){if(s.slice(H).search(y)){var r1,o1=j;for(y.global||(y=St(y.source,t4(ks.exec(y))+"g")),y.lastIndex=0;r1=y.exec(o1);)var d1=r1.index;j=j.slice(0,d1===t?H:d1)}}else if(s.indexOf(f6(y),H)!=H){var L1=j.lastIndexOf(y);L1>-1&&(j=j.slice(0,L1))}return j+z}function QP(s){return s=t4(s),s&&mt.test(s)?s.replace(ke,au):s}var JP=Gt(function(s,o,u){return s+(u?" ":"")+o.toUpperCase()}),wh=n_("toUpperCase");function iC(s,o,u){return s=t4(s),o=u?t:o,o===t?tu(s)?ou(s):Zm(s):s.match(o)||[]}var nC=z2(function(s,o){try{return d3(s,t,o)}catch(u){return _h(u)?u:new K1(u)}}),eR=Ve(function(s,o){return m3(o,function(u){u=M8(u),o6(s,u,Mh(s[u],s))}),s});function cR(s){var o=s==null?0:s.length,u=$1();return s=o?d4(s,function(z){if(typeof z[1]!="function")throw new p3(n);return[u(z[0]),z[1]]}):[],z2(function(z){for(var y=-1;++y<o;){var N=s[y];if(d3(N[0],this,z))return d3(N[1],this,z)}})}function tR(s){return $u(e3(s,h))}function Sh(s){return function(){return s}}function iR(s,o){return s==null||s!==s?o:s}var nR=s_(),aR=s_(!0);function B3(s){return s}function Nh(s){return _(typeof s=="function"?s:e3(s,h))}function sR(s){return G1(e3(s,h))}function rR(s,o){return v2(s,e3(o,h))}var oR=z2(function(s,o){return function(u){return a7(u,s,o)}}),lR=z2(function(s,o){return function(u){return a7(s,u,o)}});function kh(s,o,u){var z=A0(o),y=jt(o,z);u==null&&!(V4(o)&&(y.length||!z.length))&&(u=o,o=s,s=this,y=jt(o,A0(o)));var N=!(V4(u)&&"chain"in u)||!!u.chain,I=Be(s);return m3(y,function(H){var j=o[H];s[H]=j,I&&(s.prototype[H]=function(){var r1=this.__chain__;if(N||r1){var o1=s(this.__wrapped__),d1=o1.__actions__=F3(this.__actions__);return d1.push({func:j,args:arguments,thisArg:s}),o1.__chain__=r1,o1}return j.apply(s,W8([this.value()],arguments))})}),s}function fR(){return o0._===this&&(o0._=hu),this}function Ah(){}function dR(s){return s=m2(s),z2(function(o){return L8(o,s)})}var mR=sh(d4),uR=sh(qs),hR=sh(Ct);function aC(s){return uh(s)?Wc(M8(s)):WD(s)}function pR(s){return function(o){return s==null?t:Re(s,o)}}var gR=o_(),zR=o_(!0);function Th(){return[]}function Dh(){return!1}function LR(){return{}}function MR(){return""}function vR(){return!0}function _R(s,o){if(s=m2(s),s<1||s>t2)return[];var u=M4,z=p0(s,M4);o=$1(o),s-=M4;for(var y=a9(z,o);++u<s;)o(u);return y}function CR(s){return i2(s)?d4(s,M8):d6(s)?[s]:F3(b_(t4(s)))}function yR(s){var o=++mu;return t4(s)+o}var bR=Sr(function(s,o){return s+o},0),xR=rh("ceil"),wR=Sr(function(s,o){return s/o},1),SR=rh("floor");function NR(s){return s&&s.length?$t(s,B3,g9):t}function kR(s,o){return s&&s.length?$t(s,$1(o,2),g9):t}function AR(s){return Zs(s,B3)}function TR(s,o){return Zs(s,$1(o,2))}function DR(s){return s&&s.length?$t(s,B3,J):t}function OR(s,o){return s&&s.length?$t(s,$1(o,2),J):t}var ER=Sr(function(s,o){return s*o},1),IR=rh("round"),PR=Sr(function(s,o){return s-o},0);function RR(s){return s&&s.length?n9(s,B3):0}function FR(s,o){return s&&s.length?n9(s,$1(o,2)):0}return w.after=rI,w.ary=I_,w.assign=YI,w.assignIn=Z_,w.assignInWith=K_,w.assignWith=yh,w.at=ZI,w.before=P_,w.bind=Mh,w.bindAll=eR,w.bindKey=R_,w.castArray=MI,w.chain=D_,w.chunk=NO,w.compact=kO,w.concat=AO,w.cond=cR,w.conforms=tR,w.constant=Sh,w.countBy=FE,w.create=KI,w.curry=F_,w.curryRight=V_,w.debounce=H_,w.defaults=XI,w.defaultsDeep=QI,w.defer=oI,w.delay=lI,w.difference=TO,w.differenceBy=DO,w.differenceWith=OO,w.drop=EO,w.dropRight=IO,w.dropRightWhile=PO,w.dropWhile=RO,w.fill=FO,w.filter=HE,w.flatMap=$E,w.flatMapDeep=jE,w.flatMapDepth=WE,w.flatten=N_,w.flattenDeep=VO,w.flattenDepth=HO,w.flip=fI,w.flow=nR,w.flowRight=aR,w.fromPairs=BO,w.functions=aP,w.functionsIn=sP,w.groupBy=GE,w.initial=$O,w.intersection=jO,w.intersectionBy=WO,w.intersectionWith=GO,w.invert=oP,w.invertBy=lP,w.invokeMap=YE,w.iteratee=Nh,w.keyBy=ZE,w.keys=A0,w.keysIn=H3,w.map=Er,w.mapKeys=dP,w.mapValues=mP,w.matches=sR,w.matchesProperty=rR,w.memoize=Pr,w.merge=uP,w.mergeWith=X_,w.method=oR,w.methodOf=lR,w.mixin=kh,w.negate=Rr,w.nthArg=dR,w.omit=hP,w.omitBy=pP,w.once=dI,w.orderBy=KE,w.over=mR,w.overArgs=mI,w.overEvery=uR,w.overSome=hR,w.partial=vh,w.partialRight=B_,w.partition=XE,w.pick=gP,w.pickBy=Q_,w.property=aC,w.propertyOf=pR,w.pull=KO,w.pullAll=A_,w.pullAllBy=XO,w.pullAllWith=QO,w.pullAt=JO,w.range=gR,w.rangeRight=zR,w.rearg=uI,w.reject=eI,w.remove=eE,w.rest=hI,w.reverse=zh,w.sampleSize=tI,w.set=LP,w.setWith=MP,w.shuffle=iI,w.slice=cE,w.sortBy=sI,w.sortedUniq=oE,w.sortedUniqBy=lE,w.split=UP,w.spread=pI,w.tail=fE,w.take=dE,w.takeRight=mE,w.takeRightWhile=uE,w.takeWhile=hE,w.tap=kE,w.throttle=gI,w.thru=Or,w.toArray=G_,w.toPairs=J_,w.toPairsIn=eC,w.toPath=CR,w.toPlainObject=Y_,w.transform=vP,w.unary=zI,w.union=pE,w.unionBy=gE,w.unionWith=zE,w.uniq=LE,w.uniqBy=ME,w.uniqWith=vE,w.unset=_P,w.unzip=Lh,w.unzipWith=T_,
20w.update=CP,w.updateWith=yP,w.values=Zt,w.valuesIn=bP,w.without=_E,w.words=iC,w.wrap=LI,w.xor=CE,w.xorBy=yE,w.xorWith=bE,w.zip=xE,w.zipObject=wE,w.zipObjectDeep=SE,w.zipWith=NE,w.entries=J_,w.entriesIn=eC,w.extend=Z_,w.extendWith=K_,kh(w,w),w.add=bR,w.attempt=nC,w.camelCase=NP,w.capitalize=cC,w.ceil=xR,w.clamp=xP,w.clone=vI,w.cloneDeep=CI,w.cloneDeepWith=yI,w.cloneWith=_I,w.conformsTo=bI,w.deburr=tC,w.defaultTo=iR,w.divide=wR,w.endsWith=kP,w.eq=v8,w.escape=AP,w.escapeRegExp=TP,w.every=VE,w.find=BE,w.findIndex=w_,w.findKey=JI,w.findLast=UE,w.findLastIndex=S_,w.findLastKey=eP,w.floor=SR,w.forEach=O_,w.forEachRight=E_,w.forIn=cP,w.forInRight=tP,w.forOwn=iP,w.forOwnRight=nP,w.get=bh,w.gt=xI,w.gte=wI,w.has=rP,w.hasIn=xh,w.head=k_,w.identity=B3,w.includes=qE,w.indexOf=UO,w.inRange=wP,w.invoke=fP,w.isArguments=l7,w.isArray=i2,w.isArrayBuffer=SI,w.isArrayLike=V3,w.isArrayLikeObject=e0,w.isBoolean=NI,w.isBuffer=G5,w.isDate=kI,w.isElement=AI,w.isEmpty=TI,w.isEqual=DI,w.isEqualWith=OI,w.isError=_h,w.isFinite=EI,w.isFunction=Be,w.isInteger=U_,w.isLength=Fr,w.isMap=$_,w.isMatch=II,w.isMatchWith=PI,w.isNaN=RI,w.isNative=FI,w.isNil=HI,w.isNull=VI,w.isNumber=j_,w.isObject=V4,w.isObjectLike=G4,w.isPlainObject=C9,w.isRegExp=Ch,w.isSafeInteger=BI,w.isSet=W_,w.isString=Vr,w.isSymbol=d6,w.isTypedArray=Yt,w.isUndefined=UI,w.isWeakMap=$I,w.isWeakSet=jI,w.join=qO,w.kebabCase=DP,w.last=U6,w.lastIndexOf=YO,w.lowerCase=OP,w.lowerFirst=EP,w.lt=WI,w.lte=GI,w.max=NR,w.maxBy=kR,w.mean=AR,w.meanBy=TR,w.min=DR,w.minBy=OR,w.stubArray=Th,w.stubFalse=Dh,w.stubObject=LR,w.stubString=MR,w.stubTrue=vR,w.multiply=ER,w.nth=ZO,w.noConflict=fR,w.noop=Ah,w.now=Ir,w.pad=IP,w.padEnd=PP,w.padStart=RP,w.parseInt=FP,w.random=SP,w.reduce=QE,w.reduceRight=JE,w.repeat=VP,w.replace=HP,w.result=zP,w.round=IR,w.runInContext=U,w.sample=cI,w.size=nI,w.snakeCase=BP,w.some=aI,w.sortedIndex=tE,w.sortedIndexBy=iE,w.sortedIndexOf=nE,w.sortedLastIndex=aE,w.sortedLastIndexBy=sE,w.sortedLastIndexOf=rE,w.startCase=$P,w.startsWith=jP,w.subtract=PR,w.sum=RR,w.sumBy=FR,w.template=WP,w.times=_R,w.toFinite=Ue,w.toInteger=m2,w.toLength=q_,w.toLower=GP,w.toNumber=$6,w.toSafeInteger=qI,w.toString=t4,w.toUpper=qP,w.trim=YP,w.trimEnd=ZP,w.trimStart=KP,w.truncate=XP,w.unescape=QP,w.uniqueId=yR,w.upperCase=JP,w.upperFirst=wh,w.each=O_,w.eachRight=E_,w.first=k_,kh(w,(function(){var s={};return H6(w,function(o,u){Y2.call(w.prototype,u)||(s[u]=o)}),s})(),{chain:!1}),w.VERSION=c,m3(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){w[s].placeholder=w}),m3(["drop","take"],function(s,o){M2.prototype[s]=function(u){u=u===t?1:v4(m2(u),0);var z=this.__filtered__&&!o?new M2(this):this.clone();return z.__filtered__?z.__takeCount__=p0(u,z.__takeCount__):z.__views__.push({size:p0(u,M4),type:s+(z.__dir__<0?"Right":"")}),z},M2.prototype[s+"Right"]=function(u){return this.reverse()[s](u).reverse()}}),m3(["filter","map","takeWhile"],function(s,o){var u=o+1,z=u==F1||u==c2;M2.prototype[s]=function(y){var N=this.clone();return N.__iteratees__.push({iteratee:$1(y,3),type:u}),N.__filtered__=N.__filtered__||z,N}}),m3(["head","last"],function(s,o){var u="take"+(o?"Right":"");M2.prototype[s]=function(){return this[u](1).value()[0]}}),m3(["initial","tail"],function(s,o){var u="drop"+(o?"":"Right");M2.prototype[s]=function(){return this.__filtered__?new M2(this):this[u](1)}}),M2.prototype.compact=function(){return this.filter(B3)},M2.prototype.find=function(s){return this.filter(s).head()},M2.prototype.findLast=function(s){return this.reverse().find(s)},M2.prototype.invokeMap=z2(function(s,o){return typeof s=="function"?new M2(this):this.map(function(u){return a7(u,s,o)})}),M2.prototype.reject=function(s){return this.filter(Rr($1(s)))},M2.prototype.slice=function(s,o){s=m2(s);var u=this;return u.__filtered__&&(s>0||o<0)?new M2(u):(s<0?u=u.takeRight(-s):s&&(u=u.drop(s)),o!==t&&(o=m2(o),u=o<0?u.dropRight(-o):u.take(o-s)),u)},M2.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},M2.prototype.toArray=function(){return this.take(M4)},H6(M2.prototype,function(s,o){var u=/^(?:filter|find|map|reject)|While$/.test(o),z=/^(?:head|last)$/.test(o),y=w[z?"take"+(o=="last"?"Right":""):o],N=z||/^find/.test(o);y&&(w.prototype[o]=function(){var I=this.__wrapped__,H=z?[1]:arguments,j=I instanceof M2,r1=H[0],o1=j||i2(I),d1=function(b2){var A2=y.apply(w,W8([b2],H));return z&&L1?A2[0]:A2};o1&&u&&typeof r1=="function"&&r1.length!=1&&(j=o1=!1);var L1=this.__chain__,R1=!!this.__actions__.length,j1=N&&!L1,h2=j&&!R1;if(!N&&o1){I=h2?I:new M2(this);var B1=s.apply(I,H);return B1.__actions__.push({func:Or,args:[d1],thisArg:t}),new J0(B1,L1)}return j1&&h2?s.apply(this,H):(B1=this.thru(d1),j1?z?B1.value()[0]:B1.value():B1)})}),m3(["pop","push","shift","sort","splice","unshift"],function(s){var o=Yc[s],u=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",z=/^(?:pop|shift)$/.test(s);w.prototype[s]=function(){var y=arguments;if(z&&!this.__chain__){var N=this.value();return o.apply(i2(N)?N:[],y)}return this[u](function(I){return o.apply(i2(I)?I:[],y)})}}),H6(M2.prototype,function(s,o){var u=w[o];if(u){var z=u.name+"";Y2.call(F5,z)||(F5[z]=[]),F5[z].push({name:o,func:u})}}),F5[wr(t,S).name]=[{name:"wrapper",func:t}],M2.prototype.clone=wu,M2.prototype.reverse=Su,M2.prototype.value=f9,w.prototype.at=AE,w.prototype.chain=TE,w.prototype.commit=DE,w.prototype.next=OE,w.prototype.plant=IE,w.prototype.reverse=PE,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=RE,w.prototype.first=w.prototype.head,Xc&&(w.prototype[Xc]=EE),w},q8=lu();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(o0._=q8,define(function(){return q8})):q2?((q2.exports=q8)._=q8,Mt._=q8):o0._=q8}).call(gi)});var Bp=T0((Hp,zi)=>{(function(t,c){typeof Hp=="object"&&typeof zi<"u"?zi.exports=c():typeof define=="function"&&define.amd?define(c):t.moment=c()})(Hp,function(){"use strict";var t;function c(){return t.apply(null,arguments)}function e(d){t=d}function i(d){return d instanceof Array||Object.prototype.toString.call(d)==="[object Array]"}function n(d){return d!=null&&Object.prototype.toString.call(d)==="[object Object]"}function a(d,p){return Object.prototype.hasOwnProperty.call(d,p)}function r(d){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(d).length===0;var p;for(p in d)if(a(d,p))return!1;return!0}function l(d){return d===void 0}function f(d){return typeof d=="number"||Object.prototype.toString.call(d)==="[object Number]"}function m(d){return d instanceof Date||Object.prototype.toString.call(d)==="[object Date]"}function h(d,p){var L=[],_,x=d.length;for(_=0;_<x;++_)L.push(p(d[_],_));return L}function g(d,p){for(var L in p)a(p,L)&&(d[L]=p[L]);return a(p,"toString")&&(d.toString=p.toString),a(p,"valueOf")&&(d.valueOf=p.valueOf),d}function v(d,p,L,_){return xt(d,p,L,_,!0).utc()}function M(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 63,014 bytes, lines 20-23
20dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function b(d){return d._pf==null&&(d._pf=M()),d._pf}var C;Array.prototype.some?C=Array.prototype.some:C=function(d){var p=Object(this),L=p.length>>>0,_;for(_=0;_<L;_++)if(_ in p&&d.call(this,p[_],_,p))return!0;return!1};function S(d){var p=null,L=!1,_=d._d&&!isNaN(d._d.getTime());if(_&&(p=b(d),L=C.call(p.parsedDateParts,function(x){return x!=null}),_=p.overflow<0&&!p.empty&&!p.invalidEra&&!p.invalidMonth&&!p.invalidWeekday&&!p.weekdayMismatch&&!p.nullInput&&!p.invalidFormat&&!p.userInvalidated&&(!p.meridiem||p.meridiem&&L),d._strict&&(_=_&&p.charsLeftOver===0&&p.unusedTokens.length===0&&p.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(d))d._isValid=_;else return _;return d._isValid}function P(d){var p=v(NaN);return d!=null?g(b(p),d):b(p).userInvalidated=!0,p}var V=c.momentProperties=[],q=!1;function W(d,p){var L,_,x,R=V.length;if(l(p._isAMomentObject)||(d._isAMomentObject=p._isAMomentObject),l(p._i)||(d._i=p._i),l(p._f)||(d._f=p._f),l(p._l)||(d._l=p._l),l(p._strict)||(d._strict=p._strict),l(p._tzm)||(d._tzm=p._tzm),l(p._isUTC)||(d._isUTC=p._isUTC),l(p._offset)||(d._offset=p._offset),l(p._pf)||(d._pf=b(p)),l(p._locale)||(d._locale=p._locale),R>0)for(L=0;L<R;L++)_=V[L],x=p[_],l(x)||(d[_]=x);return d}function G(d){W(this,d),this._d=new Date(d._d!=null?d._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),q===!1&&(q=!0,c.updateOffset(this),q=!1)}function Q(d){return d instanceof G||d!=null&&d._isAMomentObject!=null}function l1(d){c.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+d)}function c1(d,p){var L=!0;return g(function(){if(c.deprecationHandler!=null&&c.deprecationHandler(null,d),L){var _=[],x,R,J,C1=arguments.length;for(R=0;R<C1;R++){if(x="",typeof arguments[R]=="object"){x+=` 21[`+R+"] ";for(J in arguments[0])a(arguments[0],J)&&(x+=J+": "+arguments[0][J]+", ");x=x.slice(0,-2)}else x=arguments[R];_.push(x)}l1(d+` 22Arguments: `+Array.prototype.slice.call(_).join("")+` 23`+new Error().stack),L=!1}return p.apply(this,arguments)},p)}var n1={};function _1(d,p){c.deprecationHandler!=null&&c.deprecationHandler(d,p),n1[d]||(l1(p),n1[d]=!0)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null;function P1(d){return typeof Function<"u"&&d instanceof Function||Object.prototype.toString.call(d)==="[object Function]"}function X1(d){var p,L;for(L in d)a(d,L)&&(p=d[L],P1(p)?this[L]=p:this["_"+L]=p);this._config=d,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function F1(d,p){var L=g({},d),_;for(_ in p)a(p,_)&&(n(d[_])&&n(p[_])?(L[_]={},g(L[_],d[_]),g(L[_],p[_])):p[_]!=null?L[_]=p[_]:delete L[_]);for(_ in d)a(d,_)&&!a(p,_)&&n(d[_])&&(L[_]=g({},L[_]));return L}function j2(d){d!=null&&this.set(d)}var c2;Object.keys?c2=Object.keys:c2=function(d){var p,L=[];for(p in d)a(d,p)&&L.push(p);return L};var W1={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function t2(d,p,L){var _=this._calendar[d]||this._calendar.sameElse;return P1(_)?_.call(p,L):_}function a4(d,p,L){var _=""+Math.abs(d),x=p-_.length,R=d>=0;return(R?L?"+":"":"-")+Math.pow(10,Math.max(0,x)).toString().substr(1)+_}var Q4=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M4=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,l3={},W4={};function S1(d,p,L,_){var x=_;typeof _=="string"&&(x=function(){return this[_]()}),d&&(W4[d]=x),p&&(W4[p[0]]=function(){return a4(x.apply(this,arguments),p[1],p[2])}),L&&(W4[L]=function(){return this.localeData().ordinal(x.apply(this,arguments),d)})}function y4(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}function I4(d){var p=d.match(Q4),L,_;for(L=0,_=p.length;L<_;L++)W4[p[L]]?p[L]=W4[p[L]]:p[L]=y4(p[L]);return function(x){var R="",J;for(J=0;J<_;J++)R+=P1(p[J])?p[J].call(x,d):p[J];return R}}function T6(d,p){return d.isValid()?(p=s6(p,d.localeData()),l3[p]=l3[p]||I4(p),l3[p](d)):d.localeData().invalidDate()}function s6(d,p){var L=5;function _(x){return p.longDateFormat(x)||x}for(M4.lastIndex=0;L>=0&&M4.test(d);)d=d.replace(M4,_),M4.lastIndex=0,L-=1;return d}var f3={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"};function Dc(d){var p=this._longDateFormat[d],L=this._longDateFormat[d.toUpperCase()];return p||!L?p:(this._longDateFormat[d]=L.match(Q4).map(function(_){return _==="MMMM"||_==="MM"||_==="DD"||_==="dddd"?_.slice(1):_}).join(""),this._longDateFormat[d])}var x5="Invalid date";function U8(){return this._invalidDate}var st="%d",Q0=/\d{1,2}/;function Se(d){return this._ordinal.replace("%d",d)}var Hn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function O3(d,p,L,_){var x=this._relativeTime[L];return P1(x)?x(d,p,L,_):x.replace(/%d/i,d)}function Oc(d,p){var L=this._relativeTime[d>0?"future":"past"];return P1(L)?L(p):L.replace(/%s/i,p)}var rt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function r0(d){return typeof d=="string"?rt[d]||rt[d.toLowerCase()]:void 0}function P4(d){var p={},L,_;for(_ in d)a(d,_)&&(L=r0(_),L&&(p[L]=d[_]));return p}var D6={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ne(d){var p=[],L;for(L in d)a(d,L)&&p.push({unit:L,priority:D6[L]});return p.sort(function(_,x){return _.priority-x.priority}),p}var Ec=/\d/,R4=/\d\d/,Ic=/\d{3}/,O6=/\d{4}/,E3=/[+-]?\d{6}/,W2=/\d\d?/,ot=/\d\d\d\d?/,lt=/\d\d\d\d\d\d?/,w5=/\d{1,3}/,Pc=/\d{1,4}/,S5=/[+-]?\d{1,6}/,$8=/\d+/,N5=/[+-]?\d+/,Bn=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,Lm=/[+-]?\d+(\.\d{1,3})?/,Rc=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ke=/^[1-9]\d?/,dt=/^([1-9]\d|\d)/,mt;mt={};function x1(d,p,L){mt[d]=P1(p)?p:function(_,x){return _&&L?L:p}}function Mm(d,p){return a(mt,d)?mt[d](p._strict,p._locale):new RegExp(vm(d))}function vm(d){return E6(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(p,L,_,x,R){return L||_||x||R}))}function E6(d){return d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I3(d){return d<0?Math.ceil(d)||0:Math.floor(d)}function L2(d){var p=+d,L=0;return p!==0&&isFinite(p)&&(L=I3(p)),L}var Un={};function G2(d,p){var L,_=p,x;for(typeof d=="string"&&(d=[d]),f(p)&&(_=function(R,J){J[p]=L2(R)}),x=d.length,L=0;L<x;L++)Un[d[L]]=_}function Fc(d,p){G2(d,function(L,_,x,R){x._w=x._w||{},p(L,x._w,x,R)})}function $n(d,p,L){p!=null&&a(Un,d)&&Un[d](p,L._a,L,d)}function ut(d){return d%4===0&&d%100!==0||d%400===0}var k0=0,f8=1,I6=2,J4=3,P3=4,d8=5,Ae=6,ks=7,_m=8;S1("Y",0,0,function(){var d=this.year();return d<=9999?a4(d,4):"+"+d}),S1(0,["YY",2],0,function(){return this.year()%100}),S1(0,["YYYY",4],0,"year"),S1(0,["YYYYY",5],0,"year"),S1(0,["YYYYYY",6,!0],0,"year"),x1("Y",N5),x1("YY",W2,R4),x1("YYYY",Pc,O6),x1("YYYYY",S5,E3),x1("YYYYYY",S5,E3),G2(["YYYYY","YYYYYY"],k0),G2("YYYY",function(d,p){p[k0]=d.length===2?c.parseTwoDigitYear(d):L2(d)}),G2("YY",function(d,p){p[k0]=c.parseTwoDigitYear(d)}),G2("Y",function(d,p){p[k0]=parseInt(d,10)});function Vc(d){return ut(d)?366:365}c.parseTwoDigitYear=function(d){return L2(d)+(L2(d)>68?1900:2e3)};var As=k5("FullYear",!0);function Cm(){return ut(this.year())}function k5(d,p){return function(L){return L!=null?(Bc(this,d,L),c.updateOffset(this,p),this):Hc(this,d)}}function Hc(d,p){if(!d.isValid())return NaN;var L=d._d,_=d._isUTC;switch(p){case"Milliseconds":return _?L.getUTCMilliseconds():L.getMilliseconds();case"Seconds":return _?L.getUTCSeconds():L.getSeconds();case"Minutes":return _?L.getUTCMinutes():L.getMinutes();case"Hours":return _?L.getUTCHours():L.getHours();case"Date":return _?L.getUTCDate():L.getDate();case"Day":return _?L.getUTCDay():L.getDay();case"Month":return _?L.getUTCMonth():L.getMonth();case"FullYear":return _?L.getUTCFullYear():L.getFullYear();default:return NaN}}function Bc(d,p,L){var _,x,R,J,C1;if(!(!d.isValid()||isNaN(L))){switch(_=d._d,x=d._isUTC,p){case"Milliseconds":return void(x?_.setUTCMilliseconds(L):_.setMilliseconds(L));case"Seconds":return void(x?_.setUTCSeconds(L):_.setSeconds(L));case"Minutes":return void(x?_.setUTCMinutes(L):_.setMinutes(L));case"Hours":return void(x?_.setUTCHours(L):_.setHours(L));case"Date":return void(x?_.setUTCDate(L):_.setDate(L));case"FullYear":break;default:return}R=L,J=d.month(),C1=d.date(),C1=C1===29&&J===1&&!ut(R)?28:C1,x?_.setUTCFullYear(R,J,C1):_.setFullYear(R,J,C1)}}function ym(d){return d=r0(d),P1(this[d])?this[d]():this}function ht(d,p){if(typeof d=="object"){d=P4(d);var L=Ne(d),_,x=L.length;for(_=0;_<x;_++)this[L[_].unit](d[L[_].unit])}else if(d=r0(d),P1(this[d]))return this[d](p);return this}function bm(d,p){return(d%p+p)%p}var F4;Array.prototype.indexOf?F4=Array.prototype.indexOf:F4=function(d){var p;for(p=0;p<this.length;++p)if(this[p]===d)return p;return-1};function jn(d,p){if(isNaN(d)||isNaN(p))return NaN;var L=bm(p,12);return d+=(p-L)/12,L===1?ut(d)?29:28:31-L%7%2}S1("M",["MM",2],"Mo",function(){return this.month()+1}),S1("MMM",0,0,function(d){return this.localeData().monthsShort(this,d)}),S1("MMMM",0,0,function(d){return this.localeData().months(this,d)}),x1("M",W2,ke),x1("MM",W2,R4),x1("MMM",function(d,p){return p.monthsShortRegex(d)}),x1("MMMM",function(d,p){return p.monthsRegex(d)}),G2(["M","MM"],function(d,p){p[f8]=L2(d)-1}),G2(["MMM","MMMM"],function(d,p,L,_){var x=L._locale.monthsParse(d,_,L._strict);x!=null?p[f8]=x:b(L).invalidMonth=d});var Ts="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Wn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Gn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xm=Rc,wm=Rc;function Sm(d,p){return d?i(this._months)?this._months[d.month()]:this._months[(this._months.isFormat||Gn).test(p)?"format":"standalone"][d.month()]:i(this._months)?this._months:this._months.standalone}function Nm(d,p){return d?i(this._monthsShort)?this._monthsShort[d.month()]:this._monthsShort[Gn.test(p)?"format":"standalone"][d.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ds(d,p,L){var _,x,R,J=d.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],_=0;_<12;++_)R=v([2e3,_]),this._shortMonthsParse[_]=this.monthsShort(R,"").toLocaleLowerCase(),this._longMonthsParse[_]=this.months(R,"").toLocaleLowerCase();return L?p==="MMM"?(x=F4.call(this._shortMonthsParse,J),x!==-1?x:null):(x=F4.call(this._longMonthsParse,J),x!==-1?x:null):p==="MMM"?(x=F4.call(this._shortMonthsParse,J),x!==-1?x:(x=F4.call(this._longMonthsParse,J),x!==-1?x:null)):(x=F4.call(this._longMonthsParse,J),x!==-1?x:(x=F4.call(this._shortMonthsParse,J),x!==-1?x:null))}function Os(d,p,L){var _,x,R;if(this._monthsParseExact)return Ds.call(this,d,p,L);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),_=0;_<12;_++){if(x=v([2e3,_]),L&&!this._longMonthsParse[_]&&(this._longMonthsParse[_]=new RegExp("^"+this.months(x,"").replace(".","")+"$","i"),this._shortMonthsParse[_]=new RegExp("^"+this.monthsShort(x,"").replace(".","")+"$","i")),!L&&!this._monthsParse[_]&&(R="^"+this.months(x,"")+"|^"+this.monthsShort(x,""),this._monthsParse[_]=new RegExp(R.replace(".",""),"i")),L&&p==="MMMM"&&this._longMonthsParse[_].test(d))return _;if(L&&p==="MMM"&&this._shortMonthsParse[_].test(d))return _;if(!L&&this._monthsParse[_].test(d))return _}}function qn(d,p){if(!d.isValid())return d;if(typeof p=="string"){if(/^\d+$/.test(p))p=L2(p);else if(p=d.localeData().monthsParse(p),!f(p))return d}var L=p,_=d.date();return _=_<29?_:Math.min(_,jn(d.year(),L)),d._isUTC?d._d.setUTCMonth(L,_):d._d.setMonth(L,_),d}function pt(d){return d!=null?(qn(this,d),c.updateOffset(this,!0),this):Hc(this,"Month")}function km(){return jn(this.year(),this.month())}function Es(d){return this._monthsParseExact?(a(this,"_monthsRegex")||Yn.call(this),d?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=xm),this._monthsShortStrictRegex&&d?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(d){return this._monthsParseExact?(a(this,"_monthsRegex")||Yn.call(this),d?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=wm),this._monthsStrictRegex&&d?this._monthsStrictRegex:this._monthsRegex)}function Yn(){function d(G1,v2){return v2.length-G1.length}var p=[],L=[],_=[],x,R,J,C1;for(x=0;x<12;x++)R=v([2e3,x]),J=E6(this.monthsShort(R,"")),C1=E6(this.months(R,"")),p.push(J),L.push(C1),_.push(C1),_.push(J);p.sort(d),L.sort(d),_.sort(d),this._monthsRegex=new RegExp("^("+_.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+p.join("|")+")","i")}function Am(d,p,L,_,x,R,J){var C1;return d<100&&d>=0?(C1=new Date(d+400,p,L,_,x,R,J),isFinite(C1.getFullYear())&&C1.setFullYear(d)):C1=new Date(d,p,L,_,x,R,J),C1}function A5(d){var p,L;return d<100&&d>=0?(L=Array.prototype.slice.call(arguments),L[0]=d+400,p=new Date(Date.UTC.apply(null,L)),isFinite(p.getUTCFullYear())&&p.setUTCFullYear(d)):p=new Date(Date.UTC.apply(null,arguments)),p}function Uc(d,p,L){var _=7+p-L,x=(7+A5(d,0,_).getUTCDay()-p)%7;return-x+_-1}function zt(d,p,L,_,x){var R=(7+L-_)%7,J=Uc(d,_,x),C1=1+7*(p-1)+R+J,G1,v2;return C1<=0?(G1=d-1,v2=Vc(G1)+C1):C1>Vc(d)?(G1=d+1,v2=C1-Vc(d)):(G1=d,v2=C1),{year:G1,dayOfYear:v2}}function $c(d,p,L){var _=Uc(d.year(),p,L),x=Math.floor((d.dayOfYear()-_-1)/7)+1,R,J;return x<1?(J=d.year()-1,R=x+P6(J,p,L)):x>P6(d.year(),p,L)?(R=x-P6(d.year(),p,L),J=d.year()+1):(J=d.year(),R=x),{week:R,year:J}}function P6(d,p,L){var _=Uc(d,p,L),x=Uc(d+1,p,L);return(Vc(d)-_+x)/7}S1("w",["ww",2],"wo","week"),S1("W",["WW",2],"Wo","isoWeek"),x1("w",W2,ke),x1("ww",W2,R4),x1("W",W2,ke),x1("WW",W2,R4),Fc(["w","ww","W","WW"],function(d,p,L,_){p[_.substr(0,1)]=L2(d)});function Zn(d){return $c(d,this._week.dow,this._week.doy).week}var Kn={dow:0,doy:6};function T5(){return this._week.dow}function Is(){return this._week.doy}function Ps(d){var p=this.localeData().week(this);return d==null?p:this.add((d-p)*7,"d")}function Tm(d){var p=$c(this,1,4).week;return d==null?p:this.add((d-p)*7,"d")}S1("d",0,"do","day"),S1("dd",0,0,function(d){return this.localeData().weekdaysMin(this,d)}),S1("ddd",0,0,function(d){return this.localeData().weekdaysShort(this,d)}),S1("dddd",0,0,function(d){return this.localeData().weekdays(this,d)}),S1("e",0,0,"weekday"),S1("E",0,0,"isoWeekday"),x1("d",W2),x1("e",W2),x1("E",W2),x1("dd",function(d,p){return p.weekdaysMinRegex(d)}),x1("ddd",function(d,p){return p.weekdaysShortRegex(d)}),x1("dddd",function(d,p){return p.weekdaysRegex(d)}),Fc(["dd","ddd","dddd"],function(d,p,L,_){var x=L._locale.weekdaysParse(d,_,L._strict);x!=null?p.d=x:b(L).invalidWeekday=d}),Fc(["d","e","E"],function(d,p,L,_){p[_]=L2(d)});function Rs(d,p){return typeof d!="string"?d:isNaN(d)?(d=p.weekdaysParse(d),typeof d=="number"?d:null):parseInt(d,10)}function Fs(d,p){return typeof d=="string"?p.weekdaysParse(d)%7||7:isNaN(d)?null:d}function Lt(d,p){return d.slice(p,7).concat(d.slice(0,p))}var Vs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Hs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dm="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Om=Rc,Bs=Rc,Em=Rc;function Im(d,p){var L=i(this._weekdays)?this._weekdays:this._weekdays[d&&d!==!0&&this._weekdays.isFormat.test(p)?"format":"standalone"];return d===!0?Lt(L,this._week.dow):d?L[d.day()]:L}function Pm(d){return d===!0?Lt(this._weekdaysShort,this._week.dow):d?this._weekdaysShort[d.day()]:this._weekdaysShort}function Rm(d){return d===!0?Lt(this._weekdaysMin,this._week.dow):d?this._weekdaysMin[d.day()]:this._weekdaysMin}function Xn(d,p,L){var _,x,R,J=d.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],_=0;_<7;++_)R=v([2e3,1]).day(_),this._minWeekdaysParse[_]=this.weekdaysMin(R,"").toLocaleLowerCase(),this._shortWeekdaysParse[_]=this.weekdaysShort(R,"").toLocaleLowerCase(),this._weekdaysParse[_]=this.weekdays(R,"").toLocaleLowerCase();return L?p==="dddd"?(x=F4.call(this._weekdaysParse,J),x!==-1?x:null):p==="ddd"?(x=F4.call(this._shortWeekdaysParse,J),x!==-1?x:null):(x=F4.call(this._minWeekdaysParse,J),x!==-1?x:null):p==="dddd"?(x=F4.call(this._weekdaysParse,J),x!==-1||(x=F4.call(this._shortWeekdaysParse,J),x!==-1)?x:(x=F4.call(this._minWeekdaysParse,J),x!==-1?x:null)):p==="ddd"?(x=F4.call(this._shortWeekdaysParse,J),x!==-1||(x=F4.call(this._weekdaysParse,J),x!==-1)?x:(x=F4.call(this._minWeekdaysParse,J),x!==-1?x:null)):(x=F4.call(this._minWeekdaysParse,J),x!==-1||(x=F4.call(this._weekdaysParse,J),x!==-1)?x:(x=F4.call(this._shortWeekdaysParse,J),x!==-1?x:null))}function Fm(d,p,L){var _,x,R;if(this._weekdaysParseExact)return Xn.call(this,d,p,L);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),_=0;_<7;_++){if(x=v([2e3,1]).day(_),L&&!this._fullWeekdaysParse[_]&&(this._fullWeekdaysParse[_]=new RegExp("^"+this.weekdays(x,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[_]=new RegExp("^"+this.weekdaysShort(x,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[_]=new RegExp("^"+this.weekdaysMin(x,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[_]||(R="^"+this.weekdays(x,"")+"|^"+this.weekdaysShort(x,"")+"|^"+this.weekdaysMin(x,""),this._weekdaysParse[_]=new RegExp(R.replace(".",""),"i")),L&&p==="dddd"&&this._fullWeekdaysParse[_].test(d))return _;if(L&&p==="ddd"&&this._shortWeekdaysParse[_].test(d))return _;if(L&&p==="dd"&&this._minWeekdaysParse[_].test(d))return _;if(!L&&this._weekdaysParse[_].test(d))return _}}function Vm(d){if(!this.isValid())return d!=null?this:NaN;var p=Hc(this,"Day");return d!=null?(d=Rs(d,this.localeData()),this.add(d-p,"d")):p}function Hm(d){if(!this.isValid())return d!=null?this:NaN;var p=(this.day()+7-this.localeData()._week.dow)%7;return d==null?p:this.add(d-p,"d")}function Bm(d){if(!this.isValid())return d!=null?this:NaN;if(d!=null){var p=Fs(d,this.localeData());return this.day(this.day()%7?p:p-7)}else return this.day()||7}function Um(d){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qn.call(this),d?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Om),this._weekdaysStrictRegex&&d?this._weekdaysStrictRegex:this._weekdaysRegex)}function p4(d){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qn.call(this),d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bs),this._weekdaysShortStrictRegex&&d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function f4(d){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Qn.call(this),d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Em),this._weekdaysMinStrictRegex&&d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qn(){function d(l0,z8){return z8.length-l0.length}var p=[],L=[],_=[],x=[],R,J,C1,G1,v2;for(R=0;R<7;R++)J=v([2e3,1]).day(R),C1=E6(this.weekdaysMin(J,"")),G1=E6(this.weekdaysShort(J,"")),v2=E6(this.weekdays(J,"")),p.push(C1),L.push(G1),_.push(v2),x.push(C1),x.push(G1),x.push(v2);p.sort(d),L.sort(d),_.sort(d),x.sort(d),this._weekdaysRegex=new RegExp("^("+x.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+p.join("|")+")","i")}function Jn(){return this.hours()%12||12}function $m(){return this.hours()||24}S1("H",["HH",2],0,"hour"),S1("h",["hh",2],0,Jn),S1("k",["kk",2],0,$m),S1("hmm",0,0,function(){return""+Jn.apply(this)+a4(this.minutes(),2)}),S1("hmmss",0,0,function(){return""+Jn.apply(this)+a4(this.minutes(),2)+a4(this.seconds(),2)}),S1("Hmm",0,0,function(){return""+this.hours()+a4(this.minutes(),2)}),S1("Hmmss",0,0,function(){return""+this.hours()+a4(this.minutes(),2)+a4(this.seconds(),2)});function Us(d,p){S1(d,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),p)})}Us("a",!0),Us("A",!1);function $s(d,p){return p._meridiemParse}x1("a",$s),x1("A",$s),x1("H",W2,dt),x1("h",W2,ke),x1("k",W2,ke),x1("HH",W2,R4),x1("hh",W2,R4),x1("kk",W2,R4),x1("hmm",ot),x1("hmmss",lt),x1("Hmm",ot),x1("Hmmss",lt),G2(["H","HH"],J4),G2(["k","kk"],function(d,p,L){var _=L2(d);p[J4]=_===24?0:_}),G2(["a","A"],function(d,p,L){L._isPm=L._locale.isPM(d),L._meridiem=d}),G2(["h","hh"],function(d,p,L){p[J4]=L2(d),b(L).bigHour=!0}),G2("hmm",function(d,p,L){var _=d.length-2;p[J4]=L2(d.substr(0,_)),p[P3]=L2(d.substr(_)),b(L).bigHour=!0}),G2("hmmss",function(d,p,L){var _=d.length-4,x=d.length-2;p[J4]=L2(d.substr(0,_)),p[P3]=L2(d.substr(_,2)),p[d8]=L2(d.substr(x)),b(L).bigHour=!0}),G2("Hmm",function(d,p,L){var _=d.length-2;p[J4]=L2(d.substr(0,_)),p[P3]=L2(d.substr(_))}),G2("Hmmss",function(d,p,L){var _=d.length-4,x=d.length-2;p[J4]=L2(d.substr(0,_)),p[P3]=L2(d.substr(_,2)),p[d8]=L2(d.substr(x))});function jm(d){return(d+"").toLowerCase().charAt(0)==="p"}var js=/[ap]\.?m?\.?/i,Wm=k5("Hours",!0);function o0(d,p,L){return d>11?L?"pm":"PM":L?"am":"AM"}var Mt={calendar:W1,longDateFormat:f3,invalidDate:x5,ordinal:st,dayOfMonthOrdinalParse:Q0,relativeTime:Hn,months:Ts,monthsShort:Wn,week:Kn,weekdays:Vs,weekdaysMin:Dm,weekdaysShort:Hs,meridiemParse:js},q2={},D5={},Te;function R3(d,p){var L,_=Math.min(d.length,p.length);for(L=0;L<_;L+=1)if(d[L]!==p[L])return L;return _}function e9(d){return d&&d.toLowerCase().replace("_","-")}function Ws(d){for(var p=0,L,_,x,R;p<d.length;){for(R=e9(d[p]).split("-"),L=R.length,_=e9(d[p+1]),_=_?_.split("-"):null;L>0;){if(x=jc(R.slice(0,L).join("-")),x)return x;if(_&&_.length>=L&&R3(R,_)>=L-1)break;L--}p++}return Te}function Gs(d){return!!(d&&d.match("^[^/\\\\]*$"))}function jc(d){var p=null,L;if(q2[d]===void 0&&typeof zi<"u"&&zi&&zi.exports&&Gs(d))try{p=Te._abbr,L=rC,L("./locale/"+d),m8(p)}catch(_){q2[d]=null}return q2[d]}function m8(d,p){var L;return d&&(l(p)?L=u8(d):L=vt(d,p),L?Te=L:typeof console<"u"&&console.warn&&console.warn("Locale "+d+" not found. Did you forget to load it?")),Te._abbr}function vt(d,p){if(p!==null){var L,_=Mt;if(p.abbr=d,q2[d]!=null)_1("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),_=q2[d]._config;else if(p.parentLocale!=null)if(q2[p.parentLocale]!=null)_=q2[p.parentLocale]._config;else if(L=jc(p.parentLocale),L!=null)_=L._config;else return D5[p.parentLocale]||(D5[p.parentLocale]=[]),D5[p.parentLocale].push({name:d,config:p}),null;return q2[d]=new j2(F1(_,p)),D5[d]&&D5[d].forEach(function(x){vt(x.name,x.config)}),m8(d),q2[d]}else return delete q2[d],null}function d3(d,p){if(p!=null){var L,_,x=Mt;q2[d]!=null&&q2[d].parentLocale!=null?q2[d].set(F1(q2[d]._config,p)):(_=jc(d),_!=null&&(x=_._config),p=F1(x,p),_==null&&(p.abbr=d),L=new j2(p),L.parentLocale=q2[d],q2[d]=L),m8(d)}else q2[d]!=null&&(q2[d].parentLocale!=null?(q2[d]=q2[d].parentLocale,d===m8()&&m8(d)):q2[d]!=null&&delete q2[d]);return q2[d]}function u8(d){var p;if(d&&d._locale&&d._locale._abbr&&(d=d._locale._abbr),!d)return Te;if(!i(d)){if(p=jc(d),p)return p;d=[d]}return Ws(d)}function m3(){return c2(q2)}function c9(d){var p,L=d._a;return L&&b(d).overflow===-2&&(p=L[f8]<0||L[f8]>11?f8:L[I6]<1||L[I6]>jn(L[k0],L[f8])?I6:L[J4]<0||L[J4]>24||L[J4]===24&&(L[P3]!==0||L[d8]!==0||L[Ae]!==0)?J4:L[P3]<0||L[P3]>59?P3:L[d8]<0||L[d8]>59?d8:L[Ae]<0||L[Ae]>999?Ae:-1,b(d)._overflowDayOfYear&&(p<k0||p>I6)&&(p=I6),b(d)._overflowWeeks&&p===-1&&(p=ks),b(d)._overflowWeekday&&p===-1&&(p=_m),b(d).overflow=p),d}var qs=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,j8=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,O5=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],d4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],W8=/^\/?Date\((-?\d+)/i,t9=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Gm={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(d){var p,L,_=d._i,x=qs.exec(_)||j8.exec(_),R,J,C1,G1,v2=O5.length,l0=d4.length;if(x){for(b(d).iso=!0,p=0,L=v2;p<L;p++)if(O5[p][1].exec(x[1])){J=O5[p][0],R=O5[p][2]!==!1;break}if(J==null){d._isValid=!1;return}if(x[3]){for(p=0,L=l0;p<L;p++)if(d4[p][1].exec(x[3])){C1=(x[2]||" ")+d4[p][0];break}if(C1==null){d._isValid=!1;return}}if(!R&&C1!=null){d._isValid=!1;return}if(x[4])if(_t.exec(x[4]))G1="Z";else{d._isValid=!1;return}d._f=J+(C1||"")+(G1||""),bt(d)}else d._isValid=!1}function qm(d,p,L,_,x,R){var J=[Ym(d),Wn.indexOf(p),parseInt(L,10),parseInt(_,10),parseInt(x,10)];return R&&J.push(parseInt(R,10)),J}function Ym(d){var p=parseInt(d,10);return p<=49?2e3+p:p<=999?1900+p:p}function Zm(d){return d.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ys(d,p,L){if(d){var _=Hs.indexOf(d),x=new Date(p[0],p[1],p[2]).getDay();if(_!==x)return b(L).weekdayMismatch=!0,L._isValid=!1,!1}return!0}function yt(d,p,L){if(d)return Gm[d];if(p)return 0;var _=parseInt(L,10),x=_%100,R=(_-x)/100;return R*60+x}function De(d){var p=t9.exec(Zm(d._i)),L;if(p){if(L=qm(p[4],p[3],p[2],p[5],p[6],p[7]),!Ys(p[1],L,d))return;d._a=L,d._tzm=yt(p[8],p[9],p[10]),d._d=A5.apply(null,d._a),d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),b(d).rfc2822=!0}else d._isValid=!1}function Km(d){var p=W8.exec(d._i);if(p!==null){d._d=new Date(+p[1]);return}if(Ct(d),d._isValid===!1)delete d._isValid;else return;if(De(d),d._isValid===!1)delete d._isValid;else return;d._strict?d._isValid=!1:c.createFromInputFallback(d)}c.createFromInputFallback=c1("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(d){d._d=new Date(d._i+(d._useUTC?" UTC":""))});function Oe(d,p,L){return d??p??L}function Zs(d){var p=new Date(c.now());return d._useUTC?[p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()]:[p.getFullYear(),p.getMonth(),p.getDate()]}function Wc(d){var p,L,_=[],x,R,J;if(!d._d){for(x=Zs(d),d._w&&d._a[I6]==null&&d._a[f8]==null&&i9(d),d._dayOfYear!=null&&(J=Oe(d._a[k0],x[k0]),(d._dayOfYear>Vc(J)||d._dayOfYear===0)&&(b(d)._overflowDayOfYear=!0),L=A5(J,0,d._dayOfYear),d._a[f8]=L.getUTCMonth(),d._a[I6]=L.getUTCDate()),p=0;p<3&&d._a[p]==null;++p)d._a[p]=_[p]=x[p];for(;p<7;p++)d._a[p]=_[p]=d._a[p]==null?p===2?1:0:d._a[p];d._a[J4]===24&&d._a[P3]===0&&d._a[d8]===0&&d._a[Ae]===0&&(d._nextDay=!0,d._a[J4]=0),d._d=(d._useUTC?A5:Am).apply(null,_),R=d._useUTC?d._d.getUTCDay():d._d.getDay(),d._tzm!=null&&d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),d._nextDay&&(d._a[J4]=24),d._w&&typeof d._w.d<"u"&&d._w.d!==R&&(b(d).weekdayMismatch=!0)}}function i9(d){var p,L,_,x,R,J,C1,G1,v2;p=d._w,p.GG!=null||p.W!=null||p.E!=null?(R=1,J=4,L=Oe(p.GG,d._a[k0],$c(K2(),1,4).year),_=Oe(p.W,1),x=Oe(p.E,1),(x<1||x>7)&&(G1=!0)):(R=d._locale._week.dow,J=d._locale._week.doy,v2=$c(K2(),R,J),L=Oe(p.gg,d._a[k0],v2.year),_=Oe(p.w,v2.week),p.d!=null?(x=p.d,(x<0||x>6)&&(G1=!0)):p.e!=null?(x=p.e+R,(p.e<0||p.e>6)&&(G1=!0)):x=R),_<1||_>P6(L,R,J)?b(d)._overflowWeeks=!0:G1!=null?b(d)._overflowWeekday=!0:(C1=zt(L,_,x,R,J),d._a[k0]=C1.year,d._dayOfYear=C1.dayOfYear)}c.ISO_8601=function(){},c.RFC_2822=function(){};function bt(d){if(d._f===c.ISO_8601){Ct(d);return}if(d._f===c.RFC_2822){De(d);return}d._a=[],b(d).empty=!0;var p=""+d._i,L,_,x,R,J,C1=p.length,G1=0,v2,l0;for(x=s6(d._f,d._locale).match(Q4)||[],l0=x.length,L=0;L<l0;L++)R=x[L],_=(p.match(Mm(R,d))||[])[0],_&&(J=p.substr(0,p.indexOf(_)),J.length>0&&b(d).unusedInput.push(J),p=p.slice(p.indexOf(_)+_.length),G1+=_.length),W4[R]?(_?b(d).empty=!1:b(d).unusedTokens.push(R),$n(R,_,d)):d._strict&&!_&&b(d).unusedTokens.push(R);b(d).charsLeftOver=C1-G1,p.length>0&&b(d).unusedInput.push(p),d._a[J4]<=12&&b(d).bigHour===!0&&d._a[J4]>0&&(b(d).bigHour=void 0),b(d).parsedDateParts=d._a.slice(0),b(d).meridiem=d._meridiem,d._a[J4]=Xm(d._locale,d._a[J4],d._meridiem),v2=b(d).era,v2!==null&&(d._a[k0]=d._locale.erasConvertYear(v2,d._a[k0])),Wc(d),c9(d)}function Xm(d,p,L){var _;return L==null?p:d.meridiemHour!=null?d.meridiemHour(p,L):(d.isPM!=null&&(_=d.isPM(L),_&&p<12&&(p+=12),!_&&p===12&&(p=0)),p)}function n9(d){var p,L,_,x,R,J,C1=!1,G1=d._f.length;if(G1===0){b(d).invalidFormat=!0,d._d=new Date(NaN);return}for(x=0;x<G1;x++)R=0,J=!1,p=W({},d),d._useUTC!=null&&(p._useUTC=d._useUTC),p._f=d._f[x],bt(p),S(p)&&(J=!0),R+=b(p).charsLeftOver,R+=b(p).unusedTokens.length*10,b(p).score=R,C1?R<_&&(_=R,L=p):(_==null||R<_||J)&&(_=R,L=p,J&&(C1=!0));g(d,L||p)}function a9(d){if(!d._d){var p=P4(d._i),L=p.day===void 0?p.date:p.day;d._a=h([p.year,p.month,L,p.hour,p.minute,p.second,p.millisecond],function(_){return _&&parseInt(_,10)}),Wc(d)}}function Qm(d){var p=new G(c9(s9(d)));return p._nextDay&&(p.add(1,"d"),p._nextDay=void 0),p}function s9(d){var p=d._i,L=d._f;return d._locale=d._locale||u8(d._l),p===null||L===void 0&&p===""?P({nullInput:!0}):(typeof p=="string"&&(d._i=p=d._locale.preparse(p)),Q(p)?new G(c9(p)):(m(p)?d._d=p:i(L)?n9(d):L?bt(d):u3(d),S(d)||(d._d=null),d))}function u3(d){var p=d._i;l(p)?d._d=new Date(c.now()):m(p)?d._d=new Date(p.valueOf()):typeof p=="string"?Km(d):i(p)?(d._a=h(p.slice(0),function(L){return parseInt(L,10)}),Wc(d)):n(p)?a9(d):f(p)?d._d=new Date(p):c.createFromInputFallback(d)}function xt(d,p,L,_,x){var R={};return(p===!0||p===!1)&&(_=p,p=void 0),(L===!0||L===!1)&&(_=L,L=void 0),(n(d)&&r(d)||i(d)&&d.length===0)&&(d=void 0),R._isAMomentObject=!0,R._useUTC=R._isUTC=x,R._l=L,R._i=d,R._f=p,R._strict=_,Qm(R)}function K2(d,p,L,_){return xt(d,p,L,_,!1)}var Ks=c1("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=K2.apply(null,arguments);return this.isValid()&&d.isValid()?d<this?this:d:P()}),Xs=c1("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=K2.apply(null,arguments);return this.isValid()&&d.isValid()?d>this?this:d:P()});function Qs(d,p){var L,_;if(p.length===1&&i(p[0])&&(p=p[0]),!p.length)return K2();for(L=p[0],_=1;_<p.length;++_)(!p[_].isValid()||p[_][d](L))&&(L=p[_]);return L}function Jm(){var d=[].slice.call(arguments,0);return Qs("isBefore",d)}function eu(){var d=[].slice.call(arguments,0);return Qs("isAfter",d)}var cu=function(){return Date.now?Date.now():+new Date},Gc=["year","quarter","month","week","day","hour","minute","second","millisecond"];function E5(d){var p,L=!1,_,x=Gc.length;for(p in d)if(a(d,p)&&!(F4.call(Gc,p)!==-1&&(d[p]==null||!isNaN(d[p]))))return!1;for(_=0;_<x;++_)if(d[Gc[_]]){if(L)return!1;parseFloat(d[Gc[_]])!==L2(d[Gc[_]])&&(L=!0)}return!0}function tu(){return this._isValid}function iu(){return X2(NaN)}function I5(d){var p=P4(d),L=p.year||0,_=p.quarter||0,x=p.month||0,R=p.week||p.isoWeek||0,J=p.day||0,C1=p.hour||0,G1=p.minute||0,v2=p.second||0,l0=p.millisecond||0;this._isValid=E5(p),this._milliseconds=+l0+v2*1e3+G1*6e4+C1*1e3*60*60,this._days=+J+R*7,this._months=+x+_*3+L*12,this._data={},this._locale=u8(),this._bubble()}function qc(d){return d instanceof I5}function R6(d){return d<0?Math.round(-1*d)*-1:Math.round(d)}function wt(d,p,L){var _=Math.min(d.length,p.length),x=Math.abs(d.length-p.length),R=0,J;for(J=0;J<_;J++)(L&&d[J]!==p[J]||!L&&L2(d[J])!==L2(p[J]))&&R++;return R+x}function Js(d,p){S1(d,0,0,function(){var L=this.utcOffset(),_="+";return L<0&&(L=-L,_="-"),_+a4(~~(L/60),2)+p+a4(~~L%60,2)})}Js("Z",":"),Js("ZZ",""),x1("Z",ft),x1("ZZ",ft),G2(["Z","ZZ"],function(d,p,L){L._useUTC=!0,L._tzm=r9(ft,d)});var nu=/([\+\-]|\d\d)/gi;function r9(d,p){var L=(p||"").match(d),_,x,R;return L===null?null:(_=L[L.length-1]||[],x=(_+"").match(nu)||["-",0,0],R=+(x[1]*60)+L2(x[2]),R===0?0:x[0]==="+"?R:-R)}function G8(d,p){var L,_;return p._isUTC?(L=p.clone(),_=(Q(d)||m(d)?d.valueOf():K2(d).valueOf())-L.valueOf(),L._d.setTime(L._d.valueOf()+_),c.updateOffset(L,!1),L):K2(d).local()}function h3(d){return-Math.round(d._d.getTimezoneOffset())}c.updateOffset=function(){};function er(d,p,L){var _=this._offset||0,x;if(!this.isValid())return d!=null?this:NaN;if(d!=null){if(typeof d=="string"){if(d=r9(ft,d),d===null)return this}else Math.abs(d)<16&&!L&&(d=d*60);return!this._isUTC&&p&&(x=h3(this)),this._offset=d,this._isUTC=!0,x!=null&&this.add(x,"m"),_!==d&&(!p||this._changeInProgress?Yc(this,X2(d-_,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?_:h3(this)}function au(d,p){return d!=null?(typeof d!="string"&&(d=-d),this.utcOffset(d,p),this):-this.utcOffset()}function su(d){return this.utcOffset(0,d)}function ru(d){return this._isUTC&&(this.utcOffset(0,d),this._isUTC=!1,d&&this.subtract(h3(this),"m")),this}function ou(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var d=r9(Bn,this._i);d!=null?this.utcOffset(d):this.utcOffset(0,!0)}return this}function lu(d){return this.isValid()?(d=d?K2(d).utcOffset():0,(this.utcOffset()-d)%60===0):!1}function q8(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function U(){if(!l(this._isDSTShifted))return this._isDSTShifted;var d={},p;return W(d,this),d=s9(d),d._a?(p=d._isUTC?v(d._a):K2(d._a),this._isDSTShifted=this.isValid()&&wt(d._a,p.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function i1(){return this.isValid()?!this._isUTC:!1}function X(){return this.isValid()?this._isUTC:!1}function b1(){return this.isValid()?this._isUTC&&this._offset===0:!1}var K1=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,V2=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function X2(d,p){var L=d,_=null,x,R,J;return qc(d)?L={ms:d._milliseconds,d:d._days,M:d._months}:f(d)||!isNaN(+d)?(L={},p?L[p]=+d:L.milliseconds=+d):(_=K1.exec(d))?(x=_[1]==="-"?-1:1,L={y:0,d:L2(_[I6])*x,h:L2(_[J4])*x,m:L2(_[P3])*x,s:L2(_[d8])*x,ms:L2(R6(_[Ae]*1e3))*x}):(_=V2.exec(d))?(x=_[1]==="-"?-1:1,L={y:k2(_[2],x),M:k2(_[3],x),w:k2(_[4],x),d:k2(_[5],x),h:k2(_[6],x),m:k2(_[7],x),s:k2(_[8],x)}):L==null?L={}:typeof L=="object"&&("from"in L||"to"in L)&&(J=fu(K2(L.from),K2(L.to)),L={},L.ms=J.milliseconds,L.M=J.months),R=new I5(L),qc(d)&&a(d,"_locale")&&(R._locale=d._locale),qc(d)&&a(d,"_isValid")&&(R._isValid=d._isValid),R}X2.fn=I5.prototype,X2.invalid=iu;function k2(d,p){var L=d&&parseFloat(d.replace(",","."));return(isNaN(L)?0:L)*p}function St(d,p){var L={};return L.months=p.month()-d.month()+(p.year()-d.year())*12,d.clone().add(L.months,"M").isAfter(p)&&--L.months,L.milliseconds=+p-+d.clone().add(L.months,"M"),L}function fu(d,p){var L;return d.isValid()&&p.isValid()?(p=G8(p,d),d.isBefore(p)?L=St(d,p):(L=St(p,d),L.milliseconds=-L.milliseconds,L.months=-L.months),L):{milliseconds:0,months:0}}function p3(d,p){return function(L,_){var x,R;return _!==null&&!isNaN(+_)&&(_1(p,"moment()."+p+"(period, number) is deprecated. Please use moment()."+p+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),R=L,L=_,_=R),x=X2(L,_),Yc(this,x,d),this}}function Yc(d,p,L,_){var x=p._milliseconds,R=R6(p._days),J=R6(p._months);d.isValid()&&(_=_??!0,J&&qn(d,Hc(d,"Month")+J*L),R&&Bc(d,"Date",Hc(d,"Date")+R*L),x&&d._d.setTime(d._d.valueOf()+x*L),_&&c.updateOffset(d,R||J))}var du=p3(1,"add"),P5=p3(-1,"subtract");function Zc(d){return typeof d=="string"||d instanceof String}function Nt(d){return Q(d)||m(d)||Zc(d)||f(d)||mu(d)||Y2(d)||d===null||d===void 0}function Y2(d){var p=n(d)&&!r(d),L=!1,_=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],x,R,J=_.length;for(x=0;x<J;x+=1)R=_[x],L=L||a(d,R);return p&&L}function mu(d){var p=i(d),L=!1;return p&&(L=d.filter(function(_){return!f(_)&&Zc(d)}).length===0),p&&L}function cr(d){var p=n(d)&&!r(d),L=!1,_=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],x,R;for(x=0;x<_.length;x+=1)R=_[x],L=L||a(d,R);return p&&L}function kt(d,p){var L=d.diff(p,"days",!0);return L<-6?"sameElse":L<-1?"lastWeek":L<0?"lastDay":L<1?"sameDay":L<2?"nextDay":L<7?"nextWeek":"sameElse"}function uu(d,p){arguments.length===1&&(arguments[0]?Nt(arguments[0])?(d=arguments[0],p=void 0):cr(arguments[0])&&(p=arguments[0],d=void 0):(d=void 0,p=void 0));var L=d||K2(),_=G8(L,this).startOf("day"),x=c.calendarFormat(this,_)||"sameElse",R=p&&(P1(p[x])?p[x].call(this,L):p[x]);return this.format(R||this.localeData().calendar(x,this,K2(L)))}function hu(){return new G(this)}function pu(d,p){var L=Q(d)?d:K2(d);return this.isValid()&&L.isValid()?(p=r0(p)||"millisecond",p==="millisecond"?this.valueOf()>L.valueOf():L.valueOf()<this.clone().startOf(p).valueOf()):!1}function At(d,p){var L=Q(d)?d:K2(d);return this.isValid()&&L.isValid()?(p=r0(p)||"millisecond",p==="millisecond"?this.valueOf()<L.valueOf():this.clone().endOf(p).valueOf()<L.valueOf()):!1}function Y8(d,p,L,_){var x=Q(d)?d:K2(d),R=Q(p)?p:K2(p);return this.isValid()&&x.isValid()&&R.isValid()?(_=_||"()",(_[0]==="("?this.isAfter(x,L):!this.isBefore(x,L))&&(_[1]===")"?this.isBefore(R,L):!this.isAfter(R,L))):!1}function Tt(d,p){var L=Q(d)?d:K2(d),_;return this.isValid()&&L.isValid()?(p=r0(p)||"millisecond",p==="millisecond"?this.valueOf()===L.valueOf():(_=L.valueOf(),this.clone().startOf(p).valueOf()<=_&&_<=this.clone().endOf(p).valueOf())):!1}function tr(d,p){return this.isSame(d,p)||this.isAfter(d,p)}function Dt(d,p){return this.isSame(d,p)||this.isBefore(d,p)}function ir(d,p,L){var _,x,R;if(!this.isValid())return NaN;if(_=G8(d,this),!_.isValid())return NaN;switch(x=(_.utcOffset()-this.utcOffset())*6e4,p=r0(p),p){case"year":R=Kc(this,_)/12;break;case"month":R=Kc(this,_);break;case"quarter":R=Kc(this,_)/3;break;case"second":R=(this-_)/1e3;break;case"minute":R=(this-_)/6e4;break;case"hour":R=(this-_)/36e5;break;case"day":R=(this-_-x)/864e5;break;case"week":R=(this-_-x)/6048e5;break;default:R=this-_}return L?R:I3(R)}function Kc(d,p){if(d.date()<p.date())return-Kc(p,d);var L=(p.year()-d.year())*12+(p.month()-d.month()),_=d.clone().add(L,"months"),x,R;return p-_<0?(x=d.clone().add(L-1,"months"),R=(p-_)/(_-x)):(x=d.clone().add(L+1,"months"),R=(p-_)/(x-_)),-(L+R)||0}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ot(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function nr(d){if(!this.isValid())return null;var p=d!==!0,L=p?this.clone().utc():this;return L.year()<0||L.year()>9999?T6(L,p?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P1(Date.prototype.toISOString)?p?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",T6(L,"Z")):T6(L,p?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Xc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var d="moment",p="",L,_,x,R;return this.isLocal()||(d=this.utcOffset()===0?"moment.utc":"moment.parseZone",p="Z"),L="["+d+'("]',_=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",x="-MM-DD[T]HH:mm:ss.SSS",R=p+'[")]',this.format(L+_+x+R)}function Ee(d){d||(d=this.isUtc()?c.defaultFormatUtc:c.defaultFormat);var p=T6(this,d);return this.localeData().postformat(p)}function Et(d,p){return this.isValid()&&(Q(d)&&d.isValid()||K2(d).isValid())?X2({to:this,from:d}).locale(this.locale()).humanize(!p):this.localeData().invalidDate()}function gu(d){return this.from(K2(),d)}function zu(d,p){return this.isValid()&&(Q(d)&&d.isValid()||K2(d).isValid())?X2({from:this,to:d}).locale(this.locale()).humanize(!p):this.localeData().invalidDate()}function Lu(d){return this.to(K2(),d)}function Qc(d){var p;return d===void 0?this._locale._abbr:(p=u8(d),p!=null&&(this._locale=p),this)}var Jc=c1("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(d){return d===void 0?this.localeData():this.locale(d)});function It(){return this._locale}var Pt=1e3,Ie=60*Pt,Rt=60*Ie,ar=(365*400+97)*24*Rt;function v4(d,p){return(d%p+p)%p}function p0(d,p,L){return d<100&&d>=0?new Date(d+400,p,L)-ar:new Date(d,p,L).valueOf()}function sr(d,p,L){return d<100&&d>=0?Date.UTC(d+400,p,L)-ar:Date.UTC(d,p,L)}function Mu(d){var p,L;if(d=r0(d),d===void 0||d==="millisecond"||!this.isValid())return this;switch(L=this._isUTC?sr:p0,d){case"year":p=L(this.year(),0,1);break;case"quarter":p=L(this.year(),this.month()-this.month()%3,1);break;case"month":p=L(this.year(),this.month(),1);break;case"week":p=L(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":p=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":p=L(this.year(),this.month(),this.date());break;case"hour":p=this._d.valueOf(),p-=v4(p+(this._isUTC?0:this.utcOffset()*Ie),Rt);break;case"minute":p=this._d.valueOf(),p-=v4(p,Ie);break;case"second":p=this._d.valueOf(),p-=v4(p,Pt);break}return this._d.setTime(p),c.updateOffset(this,!0),this}function rr(d){var p,L;if(d=r0(d),d===void 0||d==="millisecond"||!this.isValid())return this;switch(L=this._isUTC?sr:p0,d){case"year":p=L(this.year()+1,0,1)-1;break;case"quarter":p=L(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":p=L(this.year(),this.month()+1,1)-1;break;case"week":p=L(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":p=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":p=L(this.year(),this.month(),this.date()+1)-1;break;case"hour":p=this._d.valueOf(),p+=Rt-v4(p+(this._isUTC?0:this.utcOffset()*Ie),Rt)-1;break;case"minute":p=this._d.valueOf(),p+=Ie-v4(p,Ie)-1;break;case"second":p=this._d.valueOf(),p+=Pt-v4(p,Pt)-1;break}return this._d.setTime(p),c.updateOffset(this,!0),this}function vu(){return this._d.valueOf()-(this._offset||0)*6e4}function o9(){return Math.floor(this.valueOf()/1e3)}function e7(){return new Date(this.valueOf())}function l9(){var d=this;return[d.year(),d.month(),d.date(),d.hour(),d.minute(),d.second(),d.millisecond()]}function R5(){var d=this;return{years:d.year(),months:d.month(),date:d.date(),hours:d.hours(),minutes:d.minutes(),seconds:d.seconds(),milliseconds:d.milliseconds()}}function c7(){return this.isValid()?this.toISOString():null}function t7(){return S(this)}function Ft(){return g({},b(this))}function F5(){return b(this).overflow}function _u(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}S1("N",0,0,"eraAbbr"),S1("NN",0,0,"eraAbbr"),S1("NNN",0,0,"eraAbbr"),S1("NNNN",0,0,"eraName"),S1("NNNNN",0,0,"eraNarrow"),S1("y",["y",1],"yo","eraYear"),S1("y",["yy",2],0,"eraYear"),S1("y",["yyy",3],0,"eraYear"),S1("y",["yyyy",4],0,"eraYear"),x1("N",J0),x1("NN",J0),x1("NNN",J0),x1("NNNN",M2),x1("NNNNN",wu),G2(["N","NN","NNN","NNNN","NNNNN"],function(d,p,L,_){var x=L._locale.erasParse(d,_,L._strict);x?b(L).era=x:b(L).invalidEra=d}),x1("y",$8),x1("yy",$8),x1("yyy",$8),x1("yyyy",$8),x1("yo",Su),G2(["y","yy","yyy","yyyy"],k0),G2(["yo"],function(d,p,L,_){var x;L._locale._eraYearOrdinalRegex&&(x=d.match(L._locale._eraYearOrdinalRegex)),L._locale.eraYearOrdinalParse?p[k0]=L._locale.eraYearOrdinalParse(d,x):p[k0]=parseInt(d,10)});function Cu(d,p){var L,_,x,R=this._eras||u8("en")._eras;for(L=0,_=R.length;L<_;++L)switch(typeof R[L].since==="string"&&(x=c(R[L].since).startOf("day"),R[L].since=x.valueOf()),typeof R[L].until){case"undefined":R[L].until=1/0;break;case"string":x=c(R[L].until).startOf("day").valueOf(),R[L].until=x.valueOf();break}return R}function yu(d,p,L){var _,x,R=this.eras(),J,C1,G1;for(d=d.toUpperCase(),_=0,x=R.length;_<x;++_)if(J=R[_].name.toUpperCase(),C1=R[_].abbr.toUpperCase(),G1=R[_].narrow.toUpperCase(),L)switch(p){case"N":case"NN":case"NNN":if(C1===d)return R[_];break;case"NNNN":if(J===d)return R[_];break;case"NNNNN":if(G1===d)return R[_];break}else if([J,C1,G1].indexOf(d)>=0)return R[_]}function bu(d,p){var L=d.since<=d.until?1:-1;return p===void 0?c(d.since).year():c(d.since).year()+(p-d.offset)*L}function xu(){var d,p,L,_=this.localeData().eras();for(d=0,p=_.length;d<p;++d)if(L=this.clone().startOf("day").valueOf(),_[d].since<=L&&L<=_[d].until||_[d].until<=L&&L<=_[d].since)return _[d].name;return""}function Vt(){var d,p,L,_=this.localeData().eras();for(d=0,p=_.length;d<p;++d)if(L=this.clone().startOf("day").valueOf(),_[d].since<=L&&L<=_[d].until||_[d].until<=L&&L<=_[d].since)return _[d].narrow;return""}function i7(){var d,p,L,_=this.localeData().eras();for(d=0,p=_.length;d<p;++d)if(L=this.clone().startOf("day").valueOf(),_[d].since<=L&&L<=_[d].until||_[d].until<=L&&L<=_[d].since)return _[d].abbr;return""}function or(){var d,p,L,_,x=this.localeData().eras();for(d=0,p=x.length;d<p;++d)if(L=x[d].since<=x[d].until?1:-1,_=this.clone().startOf("day").valueOf(),x[d].since<=_&&_<=x[d].until||x[d].until<=_&&_<=x[d].since)return(this.year()-c(x[d].since).year())*L+x[d].offset;return this.year()}function w(d){return a(this,"_erasNameRegex")||f9.call(this),d?this._erasNameRegex:this._erasRegex}function V5(d){return a(this,"_erasAbbrRegex")||f9.call(this),d?this._erasAbbrRegex:this._erasRegex}function Ht(d){return a(this,"_erasNarrowRegex")||f9.call(this),d?this._erasNarrowRegex:this._erasRegex}function J0(d,p){return p.erasAbbrRegex(d)}function M2(d,p){return p.erasNameRegex(d)}function wu(d,p){return p.erasNarrowRegex(d)}function Su(d,p){return p._eraYearOrdinalRegex||$8}function f9(){var d=[],p=[],L=[],_=[],x,R,J,C1,G1,v2=this.eras();for(x=0,R=v2.length;x<R;++x)J=E6(v2[x].name),C1=E6(v2[x].abbr),G1=E6(v2[x].narrow),p.push(J),d.push(C1),L.push(G1),_.push(J),_.push(C1),_.push(G1);this._erasRegex=new RegExp("^("+_.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+p.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+d.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+L.join("|")+")","i")}S1(0,["gg",2],0,function(){return this.weekYear()%100}),S1(0,["GG",2],0,function(){return this.isoWeekYear()%100});function F6(d,p){S1(0,[d,d.length],0,p)}F6("gggg","weekYear"),F6("ggggg","weekYear"),F6("GGGG","isoWeekYear"),F6("GGGGG","isoWeekYear"),x1("G",N5),x1("g",N5),x1("GG",W2,R4),x1("gg",W2,R4),x1("GGGG",Pc,O6),x1("gggg",Pc,O6),x1("GGGGG",S5,E3),x1("ggggg",S5,E3),Fc(["gggg","ggggg","GGGG","GGGGG"],function(d,p,L,_){p[_.substr(0,2)]=L2(d)}),Fc(["gg","GG"],function(d,p,L,_){p[_]=c.parseTwoDigitYear(d)});function Nu(d){return lr.call(this,d,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ku(d){return lr.call(this,d,this.isoWeek(),this.isoWeekday(),1,4)}function Au(){return P6(this.year(),1,4)}function Tu(){return P6(this.isoWeekYear(),1,4)}function Du(){var d=this.localeData()._week;return P6(this.year(),d.dow,d.doy)}function h8(){var d=this.localeData()._week;return P6(this.weekYear(),d.dow,d.doy)}function lr(d,p,L,_,x){var R;return d==null?$c(this,_,x).year:(R=P6(d,_,x),p>R&&(p=R),Ou.call(this,d,p,L,_,x))}function Ou(d,p,L,_,x){var R=zt(d,p,L,_,x),J=A5(R.year,0,R.dayOfYear);return this.year(J.getUTCFullYear()),this.month(J.getUTCMonth()),this.date(J.getUTCDate()),this}S1("Q",0,"Qo","quarter"),x1("Q",Ec),G2("Q",function(d,p){p[f8]=(L2(d)-1)*3});function Eu(d){return d==null?Math.ceil((this.month()+1)/3):this.month((d-1)*3+this.month()%3)}S1("D",["DD",2],"Do","date"),x1("D",W2,ke),x1("DD",W2,R4),x1("Do",function(d,p){return d?p._dayOfMonthOrdinalParse||p._ordinalParse:p._dayOfMonthOrdinalParseLenient}),G2(["D","DD"],I6),G2("Do",function(d,p){p[I6]=L2(d.match(W2)[0])});var fr=k5("Date",!0);S1("DDD",["DDDD",3],"DDDo","dayOfYear"),x1("DDD",w5),x1("DDDD",Ic),G2(["DDD","DDDD"],function(d,p,L){L._dayOfYear=L2(d)});function Iu(d){var p=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return d==null?p:this.add(d-p,"d")}S1("m",["mm",2],0,"minute"),x1("m",W2,dt),x1("mm",W2,R4),G2(["m","mm"],P3);var p8=k5("Minutes",!1);S1("s",["ss",2],0,"second"),x1("s",W2,dt),x1("ss",W2,R4),G2(["s","ss"],d8);var Pu=k5("Seconds",!1);S1("S",0,0,function(){return~~(this.millisecond()/100)}),S1(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),S1(0,["SSS",3],0,"millisecond"),S1(0,["SSSS",4],0,function(){return this.millisecond()*10}),S1(0,["SSSSS",5],0,function(){return this.millisecond()*100}),S1(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),S1(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),S1(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),S1(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),x1("S",w5,Ec),x1("SS",w5,R4),x1("SSS",w5,Ic);var Z8,dr;for(Z8="SSSS";Z8.length<=9;Z8+="S")x1(Z8,$8);function Ru(d,p){p[Ae]=L2(("0."+d)*1e3)}for(Z8="S";Z8.length<=9;Z8+="S")G2(Z8,Ru);dr=k5("Milliseconds",!1),S1("z",0,0,"zoneAbbr"),S1("zz",0,0,"zoneName");function Fu(){return this._isUTC?"UTC":""}function Pe(){return this._isUTC?"Coordinated Universal Time":""}var h1=G.prototype;h1.add=du,h1.calendar=uu,h1.clone=hu,h1.diff=ir,h1.endOf=rr,h1.format=Ee,h1.from=Et,h1.fromNow=gu,h1.to=zu,h1.toNow=Lu,h1.get=ym,h1.invalidAt=F5,h1.isAfter=pu,h1.isBefore=At,h1.isBetween=Y8,h1.isSame=Tt,h1.isSameOrAfter=tr,h1.isSameOrBefore=Dt,h1.isValid=t7,h1.lang=Jc,h1.locale=Qc,h1.localeData=It,h1.max=Xs,h1.min=Ks,h1.parsingFlags=Ft,h1.set=ht,h1.startOf=Mu,h1.subtract=P5,h1.toArray=l9,h1.toObject=R5,h1.toDate=e7,h1.toISOString=nr,h1.inspect=Xc,typeof Symbol<"u"&&Symbol.for!=null&&(h1[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),h1.toJSON=c7,h1.toString=Ot,h1.unix=o9,h1.valueOf=vu,h1.creationData=_u,h1.eraName=xu,h1.eraNarrow=Vt,h1.eraAbbr=i7,h1.eraYear=or,h1.year=As,h1.isLeapYear=Cm,h1.weekYear=Nu,h1.isoWeekYear=ku,h1.quarter=h1.quarters=Eu,h1.month=pt,h1.daysInMonth=km,h1.week=h1.weeks=Ps,h1.isoWeek=h1.isoWeeks=Tm,h1.weeksInYear=Du,h1.weeksInWeekYear=h8,h1.isoWeeksInYear=Au,h1.isoWeeksInISOWeekYear=Tu,h1.date=fr,h1.day=h1.days=Vm,h1.weekday=Hm,h1.isoWeekday=Bm,h1.dayOfYear=Iu,h1.hour=h1.hours=Wm,h1.minute=h1.minutes=p8,h1.second=h1.seconds=Pu,h1.millisecond=h1.milliseconds=dr,h1.utcOffset=er,h1.utc=su,h1.local=ru,h1.parseZone=ou,h1.hasAlignedHourOffset=lu,h1.isDST=q8,h1.isLocal=i1,h1.isUtcOffset=X,h1.isUtc=b1,h1.isUTC=b1,h1.zoneAbbr=Fu,h1.zoneName=Pe,h1.dates=c1("dates accessor is deprecated. Use date instead.",fr),h1.months=c1("months accessor is deprecated. Use month instead",pt),h1.years=c1("years accessor is deprecated. Use year instead",As),h1.zone=c1("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",au),h1.isDSTShifted=c1("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",U);function Vu(d){return K2(d*1e3)}function r6(){return K2.apply(null,arguments).parseZone()}function mr(d){return d}var I2=j2.prototype;I2.calendar=t2,I2.longDateFormat=Dc,I2.invalidDate=U8,I2.ordinal=Se,I2.preparse=mr,I2.postformat=mr,I2.relativeTime=O3,I2.pastFuture=Oc,I2.set=X1,I2.eras=Cu,I2.erasParse=yu,I2.erasConvertYear=bu,I2.erasAbbrRegex=V5,I2.erasNameRegex=w,I2.erasNarrowRegex=Ht,I2.months=Sm,I2.monthsShort=Nm,I2.monthsParse=Os,I2.monthsRegex=gt,I2.monthsShortRegex=Es,I2.week=Zn,I2.firstDayOfYear=Is,I2.firstDayOfWeek=T5,I2.weekdays=Im,I2.weekdaysMin=Rm,I2.weekdaysShort=Pm,I2.weekdaysParse=Fm,I2.weekdaysRegex=Um,I2.weekdaysShortRegex=p4,I2.weekdaysMinRegex=f4,I2.isPM=jm,I2.meridiem=o0;function Bt(d,p,L,_){var x=u8(),R=v().set(_,p);return x[L](R,d)}function ur(d,p,L){if(f(d)&&(p=d,d=void 0),d=d||"",p!=null)return Bt(d,p,L,"month");var _,x=[];for(_=0;_<12;_++)x[_]=Bt(d,_,L,"month");return x}function d9(d,p,L,_){typeof d=="boolean"?(f(p)&&(L=p,p=void 0),p=p||""):(p=d,L=p,d=!1,f(p)&&(L=p,p=void 0),p=p||"");var x=u8(),R=d?x._week.dow:0,J,C1=[];if(L!=null)return Bt(p,(L+R)%7,_,"day");for(J=0;J<7;J++)C1[J]=Bt(p,(J+R)%7,_,"day");return C1}function hr(d,p){return ur(d,p,"months")}function pr(d,p){return ur(d,p,"monthsShort")}function Hu(d,p,L){return d9(d,p,L,"weekdays")}function Bu(d,p,L){return d9(d,p,L,"weekdaysShort")}function m9(d,p,L){return d9(d,p,L,"weekdaysMin")}m8("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var p=d%10,L=L2(d%100/10)===1?"th":p===1?"st":p===2?"nd":p===3?"rd":"th";return d+L}}),c.lang=c1("moment.lang is deprecated. Use moment.locale instead.",m8),c.langData=c1("moment.langData is deprecated. Use moment.localeData instead.",u8);var g3=Math.abs;function Ut(){var d=this._data;return this._milliseconds=g3(this._milliseconds),this._days=g3(this._days),this._months=g3(this._months),d.milliseconds=g3(d.milliseconds),d.seconds=g3(d.seconds),d.minutes=g3(d.minutes),d.hours=g3(d.hours),d.months=g3(d.months),d.years=g3(d.years),this}function gr(d,p,L,_){var x=X2(p,L);return d._milliseconds+=_*x._milliseconds,d._days+=_*x._days,d._months+=_*x._months,d._bubble()}function zr(d,p){return gr(this,d,p,1)}function Uu(d,p){return gr(this,d,p,-1)}function o6(d){return d<0?Math.floor(d):Math.ceil(d)}function u9(){var d=this._milliseconds,p=this._days,L=this._months,_=this._data,x,R,J,C1,G1;return d>=0&&p>=0&&L>=0||d<=0&&p<=0&&L<=0||(d+=o6(e3(L)+p)*864e5,p=0,L=0),_.milliseconds=d%1e3,x=I3(d/1e3),_.seconds=x%60,R=I3(x/60),_.minutes=R%60,J=I3(R/60),_.hours=J%24,p+=I3(J/24),G1=I3(K8(p)),L+=G1,p-=o6(e3(G1)),C1=I3(L/12),L%=12,_.days=p,_.months=L,_.years=C1,this}function K8(d){return d*4800/146097}function e3(d){return d*146097/4800}function $u(d){if(!this.isValid())return NaN;var p,L,_=this._milliseconds;if(d=r0(d),d==="month"||d==="quarter"||d==="year")switch(p=this._days+_/864e5,L=this._months+K8(p),d){case"month":return L;case"quarter":return L/3;case"year":return L/12}else switch(p=this._days+Math.round(e3(this._months)),d){case"week":return p/7+_/6048e5;case"day":return p+_/864e5;case"hour":return p*24+_/36e5;case"minute":return p*1440+_/6e4;case"second":return p*86400+_/1e3;case"millisecond":return Math.floor(p*864e5)+_;default:throw new Error("Unknown unit "+d)}}function V6(d){return function(){return this.as(d)}}var h9=V6("ms"),n7=V6("s"),X8=V6("m"),Lr=V6("h"),ju=V6("d"),$t=V6("w"),Wu=V6("M"),Mr=V6("Q"),g0=V6("y"),p9=h9;function vr(){return X2(this)}function H6(d){return d=r0(d),this.isValid()?this[d+"s"]():NaN}function g8(d){return function(){return this.isValid()?this._data[d]:NaN}}var jt=g8("milliseconds"),Re=g8("seconds"),_r=g8("minutes"),H0=g8("hours"),g9=g8("days"),Gu=g8("months"),qu=g8("years");function Yu(){return I3(this.days()/7)}var l6=Math.round,H5={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function a7(d,p,L,_,x){return x.relativeTime(p||1,!!L,d,_)}function Cr(d,p,L,_){var x=X2(d).abs(),R=l6(x.as("s")),J=l6(x.as("m")),C1=l6(x.as("h")),G1=l6(x.as("d")),v2=l6(x.as("M")),l0=l6(x.as("w")),z8=l6(x.as("y")),L8=R<=L.ss&&["s",R]||R<L.s&&["ss",R]||J<=1&&["m"]||J<L.m&&["mm",J]||C1<=1&&["h"]||C1<L.h&&["hh",C1]||G1<=1&&["d"]||G1<L.d&&["dd",G1];return L.w!=null&&(L8=L8||l0<=1&&["w"]||l0<L.w&&["ww",l0]),L8=L8||v2<=1&&["M"]||v2<L.M&&["MM",v2]||z8<=1&&["y"]||["yy",z8],L8[2]=p,L8[3]=+d>0,L8[4]=_,a7.apply(null,L8)}function Zu(d){return d===void 0?l6:typeof d=="function"?(l6=d,!0):!1}function Ku(d,p){return H5[d]===void 0?!1:p===void 0?H5[d]:(H5[d]=p,d==="s"&&(H5.ss=p-1),!0)}function s7(d,p){if(!this.isValid())return this.localeData().invalidDate();var L=!1,_=H5,x,R;return typeof d=="object"&&(p=d,d=!1),typeof d=="boolean"&&(L=d),typeof p=="object"&&(_=Object.assign({},H5,p),p.s!=null&&p.ss==null&&(_.ss=p.s-1)),x=this.localeData(),R=Cr(this,!L,_,x),L&&(R=x.pastFuture(+this,R)),x.postformat(R)}var z9=Math.abs;function B5(d){return(d>0)-(d<0)||+d}function U5(){if(!this.isValid())return this.localeData().invalidDate();var d=z9(this._milliseconds)/1e3,p=z9(this._days),L=z9(this._months),_,x,R,J,C1=this.asSeconds(),G1,v2,l0,z8;return C1?(_=I3(d/60),x=I3(_/60),d%=60,_%=60,R=I3(L/12),L%=12,J=d?d.toFixed(3).replace(/\.?0+$/,""):"",G1=C1<0?"-":"",v2=B5(this._months)!==B5(C1)?"-":"",l0=B5(this._days)!==B5(C1)?"-":"",z8=B5(this._milliseconds)!==B5(C1)?"-":"",G1+"P"+(R?v2+R+"Y":"")+(L?v2+L+"M":"")+(p?l0+p+"D":"")+(x||_||d?"T":"")+(x?z8+x+"H":"")+(_?z8+_+"M":"")+(d?z8+J+"S":"")):"P0D"}var y2=I5.prototype;y2.isValid=tu,y2.abs=Ut,y2.add=zr,y2.subtract=Uu,y2.as=$u,y2.asMilliseconds=h9,y2.asSeconds=n7,y2.asMinutes=X8,y2.asHours=Lr,y2.asDays=ju,y2.asWeeks=$t,y2.asMonths=Wu,y2.asQuarters=Mr,y2.asYears=g0,y2.valueOf=p9,y2._bubble=u9,y2.clone=vr,y2.get=H6,y2.milliseconds=jt,y2.seconds=Re,y2.minutes=_r,y2.hours=H0,y2.days=g9,y2.weeks=Yu,y2.months=Gu,y2.years=qu,y2.humanize=s7,y2.toISOString=U5,y2.toString=U5,y2.toJSON=U5,y2.locale=Qc,y2.localeData=It,y2.toIsoString=c1("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",U5),y2.lang=Jc,S1("X",0,0,"unix"),S1("x",0,0,"valueOf"),x1("x",N5),x1("X",Lm),G2("X",function(d,p,L){L._d=new Date(parseFloat(d)*1e3)}),G2("x",function(d,p,L){L._d=new Date(L2(d))});return c.version="2.30.1",e(K2),c.fn=h1,c.min=Jm,c.max=eu,c.now=cu,c.utc=v,c.unix=Vu,c.months=hr,c.isDate=m,c.locale=m8,c.invalid=P,c.duration=X2,c.isMoment=Q,c.weekdays=Hu,c.parseZone=r6,c.localeData=u8,c.isDuration=qc,c.monthsShort=pr,c.weekdaysMin=m9,c.defineLocale=vt,c.updateLocale=d3,c.locales=m3,c.weekdaysShort=Bu,c.normalizeUnits=r0,c.relativeTimeRounding=Zu,c.relativeTimeThreshold=Ku,c.calendarFormat=kt,c.prototype=h1,c.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},c})});var Nx=T0((C51,kU)=>{kU.exports=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates (the)"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xC5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xE9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia (Plurinational State of)"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas (The)"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands (the)"},{code:"CD",name:"Congo (the Democratic Republic of the)"},{code:"CF",name:"Central African Republic (the)"},{code:"CG",name:"Congo (the)"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xF4te d'Ivoire"},{code:"CK",name:"Cook Islands (the)"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cabo Verde"},{code:"CW",name:"Cura\xE7ao"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czechia"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic (the)"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara*"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (the) [Malvinas]"},{code:"FM",name:"Micronesia (Federated States of)"},{code:"FO",name:"Faroe Islands (the)"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom of Great Britain and Northern Ireland (the)"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"}
23,{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia (the)"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory (the)"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran (Islamic Republic of)"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros (the)"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"Korea (the Democratic People's Republic of)"},{code:"KR",name:"Korea (the Republic of)"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands (the)"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic (the)"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova (the Republic of)"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands (the)"},{code:"MK",name:"North Macedonia"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands (the)"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger (the)"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands (Kingdom of the)"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines (the)"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestine, State of"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xE9union"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russian Federation (the)"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan (the)"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"South Sudan"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SX",name:"Sint Maarten (Dutch part)"},{code:"SY",name:"Syrian Arab Republic (the)"},{code:"SZ",name:"Eswatini"},{code:"TC",name:"Turks and Caicos Islands (the)"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories (the)"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"}
23,{code:"TO",name:"Tonga"},{code:"TR",name:"T\xFCrkiye"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan (Province of China)"},{code:"TZ",name:"Tanzania, the United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands (the)"},{code:"US",name:"United States of America (the)"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (the)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela (Bolivarian Republic of)"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (U.S.)"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}]});var Ax=T0(c5=>{"use strict";var bi=Nx(),Gp={},qp={};bi.forEach(kx);function kx(t){Gp[t.name.toLowerCase()]=t.code,qp[t.code.toLowerCase()]=t.name}c5.overwrite=function(c){!c||!c.length||c.forEach(function(e){var i=bi.findIndex(function(n){return n.code===e.code});bi[i]=e,kx(e)})};c5.getCode=function(c){return Gp[c.toLowerCase()]};c5.getName=function(c){return qp[c.toLowerCase()]};c5.getNames=function(){return bi.map(function(c){return c.name})};c5.getCodes=function(){return bi.map(function(c){return c.code})};c5.getCodeList=function(){return qp};c5.getNameList=function(){return Gp};c5.getData=function(){return bi}});var Tx=T0((b51,AU)=>{AU.exports={access:{role:{admin:"Admin",contributor:"Contributor",curator:"Curator",manager:"Manager",owner:"Owner",viewer:"Viewer",editor:"Editor"}},activity:{grouping:{account:"Account",archive:"Archive",auth:"Authorization",contact:"Contact",daemon:"Daemon",download:"Download",invite:"Invite",locn:"Location",private:"Private",relation:"Relation",share:"Share",tag:"Keyword",task:"Task",unit_test:"UnitTest"}},connector:{current_state:{idle:"Waiting to run again",running:"Running right now",error:"Errored out"}},error:{api:{dev_only:"This endpoint is still in development",invalid_request:"The data passed in was invalid",limit_exceeded:"API Rate limit exceeded.",mobile_only:"This endpoint is for mobile only",no_key:"No API key found in request."},access:{role_invald:"This access role is invalid",lookup:"Access lookup failed."},account:{lookup:"Account not found",same_account:"The archive you want to transfer is already yours."},account_allocation:{lookup:"Data lookup failed (AL)"},account_archive:{lookup:"Data lookup failed (AA)"},account_password:{lookup:"Data lookup failed (AP)"},account_space:{lookup:"Data lookup failed (AS)"},account_token:{lookup:"Data lookup failed (AT)"},archive:{lookup:"Archive lookup failed",not_public:"This archive is not publicly accessible."},archive_nbr:{lookup:"Data lookup failed (AN)"},auth:{lookup:"Data lookup failed (AU)"},bad:{request:"Request failed"},base_queue:{lookup:"Data lookup failed (BQ)"},billing:{receipt:{generation:"Receipt generation failed."},stripe:{card_decline:"The requested payment method was declined.",card_expired:"Your card has expired.",failure:"Sorry, we were unable to process your payment. Please check all entered information and try again later."},pledge:{already_claimed:"This donation has already been claimed",lookup:"Donation not found",update:"This donation could not be updated"}},connector:{connection_error:"Unable to connect to that account",facebook_response:"Facebook error",facebook_sdk:"Facebook error",familysearch_response:"FamilySearch error",lookup:"Data lookup failed (CO)"},contact:{lookup:"Contact not found"},daemon:{queue_delete:"The queue failed on a deleting an item from itself.",queue_non_complete:"The queue didn't complete the action in the requisite number of tries."},file:{lookup:"File not found",conversion_failed:"The system was unable to convert the file!"},folder:{lookup:"Folder not found",lookup_root:"Root folder not found",move_break_link:"Cannot complete this move as it would break the folder linking.",no_link_share:"You cannot link to a share",no_link_exists:"This folder does not have a link in that location.",n
23o_link_root:"You cannot link a root folder",no_unlink_lib:"You cannot unlink folders in the private.",no_unlink_root:"You cannot unlink a root folder",no_update_root:"You cannot update root folders",not_public:"This folder is not publicly accessible."},folder_link:{lookup:"Data lookup failed (FL)"},generic:{create_fail:"Sorry for the inconvenience, the action could not be completed please try again.",exclusivity_fail:"There was more than 1 item identified so the action requested could not be completed",hard_delete_fail:"Sorry for the inconvenience, the action could not be completed please try again.",internal:"Sorry for the inconvenience, the action could not be completed please try again.",invalid_csrf:"We apologize for the inconvenience but our system could not verify all of the necessary information we need to keep your connection secure. You may need to log out, delete your cookies, and clear your cache.",orphaning_fail:"Sorry for the inconvenience, the action could not be completed please try again.",no_action_permission:"You do not have permission to perform this action. Please contact the owner to ask for permission. If you are the file owner and are getting this message, please contact Support and let us know.",no_archive_selected:"Please select a permanent archive and then retry",no_object_permission:"You do not have permission to access this item. Please contact the owner to ask for permission. If you are the file owner and are getting this message, please contact Support and let us know.",soft_delete_fail:"We could not delete the item you selected. Please try again or contact Support.",update_fail:"We could not update the item you selected. Please try again or contact Support."},getting:{presigned:{url:"The upload could not be started"}},imagick:{read_image_blob:"The image format wasn't something we expected"},invite:{already_invited:"This email address has already been invited. Thank you for sharing interest.",already_registered:"This email is already associated with an account and doesn't require an invitation.",lookup:"Invite could not be found",not_authorized:"Not Authorized"},locn:{lookup:"Location not found"},notification:{lookup:"Notification not found"},preference:{lookup:"Preference not found"},profile_item:{lookup:"Profile Item not found",no_delete:"You are not allowed to delete this profile item"},relation:{lookup:"Relation not found"},pr:{duplicate_share:"This account already has access to the Permanent Archive",no_link:"This account does not have access to the requested Permanent Archive",no_share_owner:"You cannot share ownership of a Permanent Archive",update_share_owner:"You cannot change the access level of the Permanent Archive owner",pending_owner:"There is already a pending owner for this Permanent Archive"},record:{dest_invalid:"You can only upload files to Private or Vault.",empty_dest:"Please choose a destination for the copy of this item.",file_invalid:"This file appears to be invald and cannot be processed.",last_lib_link:"This is the only link to the file in Private. You cannot unlink all instances of this file in Private.",last_link:"This is the only link to the file and cannot be unlinked. You can delete the file if you wish to remove it.",link_dest_exists:"This file is already linked in that location.",lookup:"File not found",no_link_exists:"This file does not have a link in that location.",not_in_lib:"This file is not in Private so the requested action cannot be completed.",not_public:"This file is not publicly accessible."},record_file:{lookup:"Data lookup failed (RF)"},session:{lookup:"Data lookup failed (SE)",expired:"The Session has expired, please log in."},simple:{lookup:"Data lookup failed (SI)"},share:{lookup:"Data lookup failed (SH)",already_exists:"A share for this item and archive already exists",no_create:"You do not have permission to share this item"},stripe:{lookup:"Data lookup failed (ST)"},system:{mysql:""},tag:{lookup:"Keyword not found"},task_singleton:{lookup:"Data lookup failed (TS)"},task_throttle:{lookup:"Data lookup failed (TT)"},text_data:{lookup:"Data lookup failed (TD)"},third_party:{google_over_query_limit:"Google is experiencing high volume"},timezone:{lookup:"TimeZone not found"},upload:{md5_check_failed:"Item not found"},validate:{destination_url:"Invalid upload destination URL"},zip:{missing_items:"No items to be zipped were included in the request.",lookup:"No matching zip could be found.",invalid_archive:"The item you requested to be zipped is not in your archive."}}
23,file:{format:{original:"original",converted:"converted","1920x1080":"1920x1080"}},folder:{view:{grid:"Grid",tile:"Tile",list:"List",slideshow:"Slideshow",timeline:"Timeline",map:"Map",storyslider:"Story Slider",storyscroll:"Story Scroll",date:"Group by Day",mosaic:"Mosaic",storysimple:"Story Simple",gliding:"Gliding",collage:"Collage",collagedetail:"Collage Detail",table:"Table",gallery:"Gallery",found:"Found"}},geomap:{address:"Request in address form",latlong:"Request in latitude and longitude form"},organization:{name:"Permanent Legacy Foundation",slogan:"Preserving your digital Legacy"},pages:{apps:{description:"Welcome to apps section. This is where you can manage all the 3rd party apps you have connected with."},private:{description:"Welcome to My Files, a place to organize all the files you have uploaded. If you would like to share something with someone, you can do it by selecting that item and choosing the desired user and their access permission."},public:{description:"This is your Public folder. Place files and information in this folder that you would want everyone in the world to be able to see for eternity. Do not put information here that you do not want publicly available right away. Tell your life story. Add the things you would like to share and preserve."},shares:{description:"Welcome to your archive shared section. This is where you can share files and folders between archives.You can create shared folders that allow multiple people to own, contribute and curate together."}},process:{thumbnail_redo_before:"Need to regenerate thumbnail before work",thumbnail_redo_during:"Need to regenerate thumbnail during work",thumbnail_redo_after:"Need to regenerate thumbnail after work"},profile:{basic:"Basic",birth_info:"Birth Info",blurb:"Blurb",closure_info:"Closure Info",death_info:"Death Info",description:"Description",established_info:"Established Info",email:"Email",gender:"Gender",home:"Home",job:"Job",location:"Location",phone_nbr:"Phone #",social_media:"Social Media",timezone:"Timezone"},record:{encryption:{client_side:"File was encrypted on the client",none:"File is unencrypted "}},relation:{family:{aunt:"Aunt",boyfriend:"Boyfriend",brother:"Brother",brother_in_law:"Brother-in-Law",cousin:"Cousin",daughter:"Daughter",daughter_in_law:"Daughter-in-Law",ex_husband:"Ex-Husband",ex_spouse:"Ex-Spouse",ex_wife:"Ex-Wife",father:"Father",father_in_law:"Father-in-Law",foster_child:"Foster Child",foster_parent:"Foster Parent",girlfriend:"Girlfriend",granddaughter:"Granddaughter",grandfather:"Grandfather",grandmother:"Grandmother",grandparent:"Grandparent",grandson:"Grandson",husband:"Husband",legal_guardian:"Legal Guardian",life_partner:"Life Partner",mother:"Mother",mother_in_law:"Mother-in-Law",nephew:"Nephew",niece:"Niece",parent:"Parent",partner:"Partner",sibling:"Sibling",sister:"Sister",sister_in_law:"Sister-in-Law",son:"Son",son_in_law:"Son-in-Law",spouse:"Spouse",stepbrother:"Stepbrother",stepdaughter:"Stepdaughter",stepfather:"Stepfather",stepmother:"Stepmother",stepsister:"Stepsister",stepson:"Stepson",uncle:"Uncle",wife:"Wife"},other:"Other",acquaintance:"Acquaintance",associate:"Associate",advisor:"Advisor",board_member:"Board Member",business_partner:"Business Partner",colleague:"Colleague",community_member:"Community Member",contractor:"Contractor",coworker:"Coworker",customer:"Customer",director:"Director",fan:"Fan",friend:"Friend",member:"Member",neighbor:"Neighbor",parent_company:"Parent Company",professional_connection:"Professional Connection",subsidiary:"Subsidiary",supplier:"Supplier",supporter:"Supporter",volunteer:"Volunteer",family_member:"Group Member",employee:"Employee",employer:"Employer",owner:"Owner",executive:"Executive"},report:{action:{md5:"Running the bit checker for md5 inconsistencies"}},simplevo:{key:{auth_url:"Authorization URL",count:"Count"}},status:{archive:{gen_avatar:"The avatar is being generated"},auth:{ok:"Your account has been verified.",need_email_and_phone:"We haven't received both your email and phone verification. We need you to verify both before you can login. Click here to resend validation. ",need_email:"We haven't received your email verification. We need you to verify your email before you can login. Click here to resend validation.",need_phone:"We haven't received your phone number verification. We need you to verify your phone number before you can login. Click here to resend validation.",verified:"We have verified your contact information.",unverified:"We need to verify your contact information.",n
23one:"No verification is necessary"},account_space:{positive:"Positive balance.",negative:"Negative balance. "},account_allocation:{accepted:"Transfer completed space went to toAccount.",cancelled:"Transfer cancelled space went back to original account.",expired:"Transfer expired space went back to original account. ",in_progress:"Transfer waiting to be completed."},billing_transfer:{ownership_accept:"Transfer ownership of Account was accepted",ownership_in_progress:"Transfer ownership of Account was started",ownership_revoke:"Transfer ownership of Account was revoked"},connector:{connected:"Connected",disconnected:"Disconnected",not_setup:"Not setup yet",unknown:"Unknown at this time"},contact:{accepted:"Accepted",confirmed:"Confirmed",pending:"Request Sent",rejected:"Declined",revoked:"Contact was revoked"},folder:{genthumb:"The folder thumbnail is regenerating",new:"The folder is new and needs to be processed",moving:"This folder or some of it's contents are being moved and cannot be accessed until the move is completed.",copying:"This folder or some of it's contents are being copied and cannot be access until the copy is completed."},generic:{declined:"This item has been declined.",deleted:"This thing is deleted.",error:"This item has an error, seek administrator help.",invited:"This came from an invitation",ok:"Everything is normal.",orphaned:"This thing has been orphaned",pending:"This item is pending something.",undefined:"An undefined status, probably a bad thing.",manual_review:"This item needs to be investigated manually to determine what is wrong."},invite:{accepted:"Accepted",pending:"Invitation Sent",rejected:"Declined",revoked:"Invite was revoked"},notification:{emailed:"This notification was emailed.",error:"There was an error during directive processing.",new:"This notification just came into being.",read:"This notification has read.",seen:"This notification was seen."},promo:{valid:"This notification was emailed.",invalid:"There was an error during directive processing."},record:{needs_processing:"This file needs image processing and conversion",new:"This is a new file that needs to be processed",only_meta:"Only meta data set at this point needs image.",overwrite:"Going to replace the file with something else.",processing:"This file is being processed",reprocessing:"Record is being reprocessed",converting:"This file is being converted",needs_converting:"This file needs to be converted",queued:"This file has been queued for processing",uploading:"This file is in the process of being uploaded",uploaded:"This file has been uploaded but needs to be processed",needs_thumb:"The file needs to have it's thumbnail generated",moving:"This file is being moved and cannot be accessed until the move is completed.",copying:"This file is being copied and cannot be accessed until the copy is completed."},report:{error:"There was an error during processing.",processed:"This report has been processed.",queued:"This report is ready to be processed.",unprocessed:"This report needs to be processed."},timezone:{ok:"The timezone is valid",deprecated:"The timezone is no longer used"},zip:{new:"New Zip, needs to be processed",processing:"Processing the zip",ok:"Zip is OK, ready to be downloaded",removed:"Zip file was removed from the system"}},sort:{display_date_asc:"Sort by date, ascending order - oldest date first.",display_date_desc:"Sort by date, descending order - most recent date first.",created_date_asc:"Sort by the date the item was uploaded, ascending order - oldest date first.",created_date_desc:"Sort by the date the item was uploaded, descending order - most recent date first.",alphabetical_asc:"Sort alphabetically A to Z based on the name of the items.",alphabetical_desc:"Sort alphabetically Z to A based on the name of the items.",type_asc:"Sort type alphabetically A to Z.",type_desc:"Sort type alphatecially Z to A.",position_asc:"Sort by position numerically lowest to highest",position_desc:"Sort by position numerically highest to lowest"},summary:{count_archive_total_records:"",count_archive_total_record_audio:"",count_archive_total_record_document:"",count_archive_total_record_image:"",count_archive_total_record_video:"",count_total_public_records:"",count_archive_public_record_audio:"",count_archive_public_record_document:"",count_archive_public_record_image:"",count_archive_public_record_video:"",count_archive_event_one_day:"",count_archive_event_range:"",count_archive_relation_have:"",count_archive_relation_pending_in:"",count_archive_relation_pending_out:"",count_archive_activity_profile_view_total:"",count_archive_activity_profile_view_unique:"",count_account_archive:"",counts_archive_folder_tag:"",counts_archive_record_tag:"",sum_archive_total_record_audio_size:"",sum_archive_total_record_document_size:"",sum_archive_total_record_image_size:"",sum_archive_total_record_video_size:"",who_archive_activity_profile_view_last:"",when_archive_first_event:"",when_archive_last_event:"",when_account_archive_last_access:""},type:{access:{share:"Share Access"},account:{admin:"An admin account archive",standard:"A regular account archive",test:"A test account archive"},account_allocation:{ownership:"Allocation needed because of transfer ownership of Account"},amazon:{folder:"Folder",record:"Record"},archive:{organization:"Organization",person:"Person",family:"Group",nonprofit:"Nonprofit"},auth:{created_account_email:"A MFA Token for Account Creation sent by email",created_account_text:"A MFA Token for Account Creation sent by text",email:"Email validation",keep_logged_in:"Keep me logged in checked",password:"A MFA Token Password",perm_session:"Permanent.org session token",phone:"Phone validation",remember_me:"Remember me checked",session:"Current user session",signup:"A MFA token for signup",mfa:"Multi Factor Authentication",mfaValidation:"Multi Factor Authentication validation"},billing:{transfer:{account_to_creditcard:"Refund",admin_adjustment:"Adjustment applied by Permanent.org",creditcard_to_account:"Purchase",pledge_to_account:"Donation",account_to_pledge:"Donation failed",ownership:"Transfer ownership of Account was started"},file_delete:"File Deleted",file_upload:"File Uploaded",file_copy:"File Copied",gift:{account_to_account:"Gift from account to account",invite_accepted_from:"Sent invitation accepted",invite_accepted_to:"Invitation accepted",promo_code:"Gift co
23de entered",system_to_account:"Gift from system to account",purchase:"Gift purchase",received:"Gift received"}},board_member:{artist_board:"Artist Board",author_board:"Author Board",academic_board:"Academic Board",corporate_legacy_board:"Corporate Legacy Board",digital_format_board:"Digital Format Board",disambiguation_and_search_board:"Disambiguation and Search Board",education_board:"Education Board",endowment_board:"Endowment Board",estate_board:"Estate Board",ethics_board:"Ethics Board",family_board:"Family Board",genealogy_board:"Genealogy Board",governing_board:"Governing Board",history_board:"History Board",image_board:"Image Board",international_board:"International Board",journalism_board:"Journalism Board",legal_board:"Legal Board",library_board:"Library Board",museum_board:"Museum Board",narrative_board:"Narrative Board",non_profit_legacy:"Non-profit Legacy",outreach_board:"Outreach Board",personal_digital_archiving_board:"Personal Digital Archiving Board",personal_historian_board:"Personal Historian Board",photography_board:"Photography Board",preservation_board:"Preservation Board",security_board:"Security Board",story_capture_board:"Story Capture Board",technology_board:"Technology Board",veterans_board:"Veterans Board"},connector:{facebook:"Facebook",familysearch:"FamilySearch"},contact:{board_member:"Board Member",founding:"Founding Supporter",site_request:"Access was requested from the site",site_request_ios:"Access was requested from the iOS app"},daemon:{facebook_retrieve_tagged:"Facebook retrieve tagged",system_exception:"System Exception reporting"},email:{home:"Home email address",invite:"Invite email address",other:"Other email address",primary:"Primary email address",work:"Work email address"},event:{point:"A single point event",span:"An event that spans multiple points in time"},file:{archive:{zip:"Zip","7zip":"7-Zip"},audio:{aac:"Advanced Audio Coding",aiff:"Audio Interchange File Format",flac:"Free Lossless Audio Codec",mp3:"MPEG Audio Layer III",m4a:"MPEG-4 Audio",ogg:"Ogg Vorbis",wav:"Waveform Audio File Format",wma:"Windows Media Audio"},document:{doc:"Microsoft Word",docx:"Microsoft Word",eml:"Email Message",html:"Hyper Text Markup Language",htm:"Hyper Text Markup",odt:"Open Document",rtf:"Rich Text File",txt:"Text"},image:{bmp:"Bitmap Image Format",gif:"Graphics Interchange Format",jpeg:"Joint Photographic Experts Group",jpg:"Joint Photographic Experts Group",png:"Portable Network Graphics",tif:"Tagged Image File Format",tiff:"Tagged Image File Format",heic:"High Efficiency Image Coding",heif:"High Efficiency Image Format"},pdf:{pdf:"Portable Document Format",pdfa:"Portable Document Format A-3"},presentation:{key:"Keynote Presentation",odp:"Open Presentation",ppt:"Microsoft PowerPoint",pptx:"Microsoft PowerPoint"},spreadsheet:{csv:"Comma Separated Values",ods:"Open Spreadsheet",xls:"Microsoft Excel",xlsx:"Microsoft Excel"},unknown:{null:"Unknown"},video:{avi:"Audio Video Interleave",mov:"QuickTime File Format",mp4:"MPEG-4 Part 14, <Video standard>",ogv:"Theora",webm:"A webm file",wmv:"Windows Media Video","3gp":"A 3gp file","3g2":"A 3g2 file",m4v:"A M4V video file",mkv:"A Matroska Multimedia Container file",mpg:"A MPEG-2 File",mpeg:"A MPEG-2 File"},web_archive:{wacz:"Web Archive"}},folder:{app:"folder",private:"folder",public:"folder",share:"share",root:{app:"folder",private:"folder",public:"folder",root:"root folder"}},folder_link:{app:"folder",private:"folder",public:"folder",share:"share",root:{app:"folder",private:"folder",public:"folder",root:"root folder",share:"share"}},generic:{error:"An entry that has an error and requires administrator attention",placeholder:"A type we know this isn't set right, but that's ok",undefined:"An entry that has no set type"},invite:{archive:"Invite because we want to share a archive",invite_code:"Regular account creation using provided invite code",invite_early_access:"Invitation to site by user for early access",relationship:"Invite because of a relationship",share:"Invite because of a share",site_request:"Invite was requested from the site"},locn:{coord:"GeoLookup Coordinates",hand:"Hand entered",place:"GeoLookup Place"},notification:{pa_response_non_transfer:"pa response non-transfer",cleanup_bad_upload:"Cleanup bad upload",facebook_everything_retrieval_success:"Import 'Everything' from Facebook complete",facebook_everything_retrieval_failure:"Import 'Everything' from Facebook did not complete",facebook_everything_retrieval_out_of_space:"Import 'Everything' from Facebook did not complete because your account ran out of space",facebook_permanent_retrieval_success:"Import '#permanent' from Facebook complete",facebook_permanent_retrieval_failure:"Import '#permanent' from Facebook did not complete",facebook_permanent_retrieval_out_of_space:"Import '#permanent' from Facebook did not complete because your account ran out of space",pa_access_change:"PA Access Change",pa_response:"PA Response",pa_share:"PA Share",pa_transfer:"PA Transfer",relationship_accept:"Relationship Accepted",relationship_reject:"Relationship Rejected",relationship_request:"Relationship Request",share:"Share",zip:"Zip"},profile_item:{basic:"Basic",birth_info:"Birth Info",blurb:"Blurb",closure_info:"Closure Info",death_info:"Death Info",description:"Description",established_info:"Established Info",email:"Email",gender:"Gender",home:"Home",job:"Job",location:"Location",phone_nbr:"Phone #",social_media:"Social Media",timezone:"Timezone"},record:{archive:"archive",audio:"audio",document:"document",experience:"event",folder:"Folder",image:"image",pdf:"PDF",presentation:"presentation",reference:"Reference",spreadsheet:"spreadsheet",unknown:"unknown",video:"video",web_archive:"web archive"},report:{cloud_file_missing:"Went to get a cloud file that should have been there",md5_mismatch:"MD5 validate failed"},share:{folder:"Folder",record:"Record"},tag_link:{people:"People",place:"Place",thing:"Thing"},task_singleton:{folder_size_recalc:"Folder Size Recalc",thumbnail_folder:"Thumbn
23ail folder",thumbnail_record:"Thumbnail record"},task_throttle:{facebook_retrieve_tagged:"Facebook retrieve tagged",facebook_retrieve_everything:"Facebook retrieve everything"},text_data:{folder:{private_note:"Private Note"},profile_item:{value:"Value"},record:{exif:"Exif Image Data",iptc:"IPTC Image Data",private_note:"Private Note"},video:{media_info:"MediaInfo Data"}},timezone:{google:"The timezone was retrieved from the Google API",permanent:"The timezone was created by Permanent.org"},thumbnail:{grid:"Grid",tile:"Tile",list:"List",slideshow:"Slideshow",timeline:"Timeline",date:"Date",map:"Map",storyslider:"Story Slider",storysimple:"Story Simple",storyscroll:"Story Scroll",mosaic:"Mosaic",folder:"Folder",user:"User",list_mask:"Internal Use",overflow:"Internal Use",overlay:"Internal Use"},ui:{avatar:"Avatar",datetime:"Date",day:"Day",email:"Email",locn:"Location",pa_nbr:"PA#",phone:"Phone",string:"String",textdata:"TextData",thumbnail:"Thumbnail",timezone:"Timezone",url:"URL"}},us_states:{alabama:"Alabama",alaska:"Alaska",arizona:"Arizona",arkansas:"Arkansas",california:"California",colorado:"Colorado",connecticut:"Connecticut",delaware:"Delaware",district_of_columbia:"District of Columbia",florida:"Florida",georgia:"Georgia",hawaii:"Hawaii",idaho:"Idaho",illinois:"Illinois",indiana:"Indiana",iowa:"Iowa",kansas:"Kansas",kentucky:"Kentucky",louisiana:"Louisiana",maine:"Maine",maryland:"Maryland",massachusetts:"Massachusetts",michigan:"Michigan",minnesota:"Minnesota",mississippi:"Mississippi",missouri:"Missouri",montana:"Montana",nebraska:"Nebraska",nevada:"Nevada",new_hampshire:"New Hampshire",new_jersey:"New Jersey",new_mexico:"New Mexico",new_york:"New York",north_carolina:"North Carolina",north_dakota:"North Dakota",ohio:"Ohio",oklahoma:"Oklahoma",oregon:"Oregon",pennsylvania:"Pennsylvania",rhode_island:"Rhode Island",south_carolina:"South Carolina",south_dakota:"South Dakota",tennessee:"Tennessee",texas:"Texas",utah:"Utah",vermont:"Vermont",virginia:"Virginia",washington:"Washington",washington_dc:"Washington, DC",west_virginia:"West Virginia",wisconsin:"Wisconsin",wyoming:"Wyoming"},warning:{archive:{no_email_found:"No Permanent Archive with that email address was found",no_remove_access_active:"Can not remove there access of active Permanent Archive.",no_remove_access_owner:"The owner can not remove their access.",not_found:"Sorry, this archive was not found or you do not have permission to update it."},auth:{access_denied:"You do not have sufficient privileges to perform this action or access this item.",already_verified:"This account has already been verified",bad_old_password:"Old password entered is incorrect. Please try again.",email_unregistered:"Email given wasn't found in the email table",invalid_credentials:"The username/password combination were invalid",keep_logged_in_token_unknown:"Couldn't preform auto login. Enter your credentials manually",no_invite_found:"Couldn't find a valid invitation for this email address",no_local_storage:"Your browser does not support local storage. Permanent.org uses local storage to provide information about your account. You are probably seeing this because you are using private browsing mode. Please disable private browsing mode for the best permanent.org experience.",remember_me_token_unknown:"Couldn't preform auto login. Enter you credentials manually",token_does_not_match:"The verification code entered is not valid. Please re-enter verification code.",token_expired:"The verification code entered is no longer valid. Please re-enter verification code.",validation_not_complete:"We haven't received a validation for your contact information. Click here to resend validation.",mfaToken:"This browser or device is not recognized, please validate your identity using your email or mobile phone."},billing:{stripe:{duplicate_nickname:"You already have a card with that nickname. Please use a different nickname",validation:{insufficient_space:"Not enough space available for transfer.",not_decimal:"Monetary amounts must include a decimal."}}},connector:{modify:"Not allowed to modify the connector folders",running_to_long:"Something seems to have gone haywire awhile back so keep running",not_setup:"The App needs to be 'Connected' again."},financial:{account:{no_space_left:"You do not have enough storage available. Please add more storage then try again."}},folder:{circular_link:"Cannot perform action as it will result in a circular reference",copy_dest_same:"Folders cannot be copied to the same location",copy_status:"The folder cannot be copied at the moment, please try again in a few minutes.",last_link:"This is the only link to the folder and cannot be unlinked. You can delete the folder if you wish to remove it.",link_dest_exists:"This folder is already linked in that location",link_dest_same:"Folders cannot be linked to the same location",link_dest_type:"You can only link folders to shares and public.",link_link:"You cannot link an already linked folder",move_destination_same:"Folders cannot be moved to the same place as they came from - please move somewhere else or cancel.",move_status:"The folder cannot be moved at the moment, please try again in a few minutes.",move_different_archive:"You are not allowed to move folders out of the owner's archive"},generic:{account_not_logged_in:"You are not logged in. Please log in and try again.",no_object_permission:"You do not have permission to perform the previous action. Please contact the owner to ask for permission. If you are the file owner and are getting this message, please contact support and let us know."},geomap:{address_failed:"We could not find this address",lat_long_failed:"We could not find this location"},item:{lookup:"The item you were looking for could not be found in the system"},invite:{expired:"The invite has expired"},notification:{error_status:"This notification is in an error status and can't be processed"},profile_creation:{creation_format:"Please enter the date using correct format. The correct format is: YYYY-MM-DD",duplicate_email:"The email address you entered is already in use. Each account must have a unique email address.",duplicate_phone_nbr:"The phone number you entered is already in use. Each account must have a unique phone number.",duplicate_url:"The URL you entered is already in use. Each URL must be unique so that there is no confusion about permanent archives. Please enter a different URL.",email_format:"Please enter a valid email address.",expiration_format:"Please enter the date using correct format. The correct format is: YYYY-MM-DD",home_format:"Please enter a valid phone number.",mobile_format:"Please enter a valid phone number.",url_name_required:"Please enter a URL for the Public Profile.",w
23ork_format:"Please enter a valid phone number.",zip_format:"Zip code is required."},promo:{already_used:"The gift code was already used for this account",expired:"The gift code entered is expired.",not_found:"The gift code entered is not valid.",used_up:"The gift code entered is used up."},record:{copy_dest_same:"Files cannot be copied to the same location.",copy_status:"The file cannot be copied at the moment, please try again in a few minutes.",move_status:"The file cannot be moved at the moment, please try again in a few minutes.",move_destination_same:"Files cannot be moved to the same place as they came from - please move somewhere else or cancel.",lookup:"The file cannot be found in the system.",already_deleted:"This file is already deleted.",move_different_archive:"You are not allowed to move files out of the owner's archive"},registration:{duplicate_email:"The email address you entered is already in use. Each account must have a unique email address.",duplicate_phone_nbr:"The phone number you entered is already in use. Each account must have a unique phone number.",email_format:"Please enter a valid email address. Valid email addresses are in the format: [email protected]",email_required:"Email address is required to complete this entry.",full_name:"Full name is required to complete this entry.",invite_code:"Please enter a valid invitation code",password_complexity:"Passwords must be at least 8 characters long.",password_match:"Passwords must match.",password_required:"Password is required.",phone_nbr_required:"Phone Number is required.",terms_check:"Please accept the Terms of Service to continue."},search:{no_query:"Please enter a value to search for."},share:{already_shared:"This folder has already been shared with that Permanent Archive.",delete_owner:"You cannot delete a share that has multiple owners.",dest_not_a_share:"You cannot share to a non share folder",no_existing_share:"This user does not have a access to this share.",no_link:"You cannot link a share",no_share_self:"You cannot share an item with yourself",root_folder:"You cannot modify root folders.",unshare_owner:"Shares with more than one owner cannot be unshared. You can make a copy of this share and make it your own. You can also take yourself off the share list for this folder.",update_owner:"You cannot change the access level of a share owner"},signin:{unknown:"Looks like either your email address or password were incorrect. Please try again."},timezone:{google_lookup:"Google API lookup returned nothing",timezone_lookup:"This timezone was not found in timezone"},validation:{date:"Please enter a valid date.",date_backwards:"Start date cannot be after end date. Please re-enter date information.",date_in_past:"Date entered can't be in the past.",empty:"Some required fields were not filled in. Please fill in all required fields.",folder_parent:"A folder cannot be a child of itself. Please move to a different location.",extension_no_match_content:"The file extension does not match the content.",phone:"Please enter a valid phone number.",value_negative:"This cannot be a negative value"},verification:{duplicate_relationship:"This permanent archive already has an assigned relationship to your permanent archive. Each permanent archive can only have one relationship with another permanent archive."}}}});var Dx=T0((x51,TU)=>{TU.exports={person:{basic:{grouping:"type.archive.person",field_name_ui:"profile.basic",description:"How others identify you",position:0,allow_multiple:0,date_added:"2017-10-23",values:{string1:{description:"Display Name",field_name_ui:"profile.basic.display_name",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Given Name",field_name_ui:"profile.basic.given_name",validation:"free_form_string",position:1,date_added:"2017-10-23",ui_type:"type.ui.string"},string3:{description:"Nick name",field_name_ui:"profile.basic.nickname_1",validation:"free_form_string",position:2,date_added:"2017-10-23",ui_type:"type.ui.string"},otherId1:{description:"Avatar",field_name_ui:"profile.basic.thumbnail",validation:"bigint",position:3,date_added:"2017-10-23",ui_type:"type.ui.thumbnail"},otherId2:{description:"QR Code",field_name_ui:"profile.basic.qr_thumbnail",validation:"bigint",position:4,date_added:"2017-10-23",ui_type:"type.ui.thumbnail"}}},birth_info:{grouping:"type.archive.person",field_name_ui:"profile.birth_info",description:"Birth Information",position:6,allow_multiple:0,date_added:"2017-10-23",values:{day1:{description:"Birth Day",field_name_ui:"profile.birth_info.day",validation:"day",position:0,date_added:"2017-10-23",ui_type:"type.ui.day"},locnId1:{description:"Address",field_name_ui:"profile.birth_info.address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"}}},blurb:{grouping:"type.archive.person",field_name_ui:"profile.blurb",description:"Blurbage",position:2,allow_multiple:0,date_added:"2017-10-23",values:{string1:{description:"",field_name_ui:"profile.blurb.single",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"}}},death_info:{grouping:"type.archive.person",field_name_ui:"profile.death_info",description:"Death Information",position:7,allow_multiple:0,date_added:"2017-10-23",values:{day1:{description:"Date Died",field_name_ui:"profile.death_info.day",validation:"day",position:0,date_added:"2017-10-23",ui_type:"type.ui.day"},locnId1:{description:"Where died",field_name_ui:"profile.death_info.died_address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"},locnId2:{description:"Where buried",field_name_ui:"profile.death_info.interned_address",validation:"bigint",position:2,date_added:"2017-10-23",ui_type:"type.ui.locn"}}},description:{grouping:"type.archive.person",field_name_ui:"profile.description",description:"Description",position:1,allow_multiple:0,date_added:"2017-10-23",values:{text_dataId1:{description:"",field_name_ui:"profile.description.single",validation:"bigint",position:0,date_added:"2017-10-23",ui_type:"type.ui.textdata"}}},email:{grouping:"type.archive.person",field_name_ui:"profile.email",description:"Email",position:3,allow_multiple:1,date_added:"2017-10-23",values:{string1:{description:"",field_name_ui:"profile.email.single",validation:"email",position:0,date_added:"2017-10-23",ui_type:"type.ui.email"}}},gender:{grouping:"type.archive.person",field_name_ui:"profile.gender",description:"Gender",position:5,allow_multiple:0,date_added:"2017-10-23",values:{string1:{description:"",field_name_ui:"profile.gender.single",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"}}},home:{grouping:"type.archive.person",field_name_ui:"profile.home",description:"Where you live",position:8,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Address",field_name_ui:"profile.home.address",validation:"bigint",position:0,date_added:"2017-10-23",ui_type:"type.ui.locn"},string1:{description:"Description",field_name_ui:"profile.home.description",validation:"free_form_string",position:1,date_added:"2017-10-23",ui_type:"type.ui.string"},day2:{description:"Ended",field_name_ui:"profile.home.end_day",validation:"day",position:6,date_added:"2017-10-23",ui_type:"type.ui.day"},string2:{description:"Phone #",field_name_ui:"profile.home.phone_nbr",validation:"phone",position:3,date_added:"2017-10-23",ui_type:"type.ui.phone"},recordArchiveNbr:{description:"Archive #",field_name_ui:"profile.home.record_archive_nbr",validation:"pa_nbr",position:4,date_added:"2017-10-23",ui_type:"type.ui.pa_nbr"},day1:{description:"Started",field_name_ui:"profile.home.start_day",validation:"day",position:5,date_added:"2017-10-23",ui_type:"type.ui.day"}}},job:{grouping:"type.archive.person",field_name_ui:"profile.job",description:"Where you work",position:9,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Address",field_name_ui:"profile.job.address",validation:"bigint",position:0,date_added:"2017-10-23",ui_type:"type.ui.locn"},archiveArchiveNbr:{description:"Archive #",field_name_ui:"profile.job.archive_ar
23chive_nbr",validation:"pa_nbr",position:2,date_added:"2017-10-23",ui_type:"type.ui.pa_nbr"},string1:{description:"Company",field_name_ui:"profile.job.company",validation:"free_form_string",position:3,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Description",field_name_ui:"profile.job.description",validation:"free_form_string",position:4,date_added:"2017-10-23",ui_type:"type.ui.string"},day2:{description:"Ended Date",field_name_ui:"profile.job.end_day",validation:"day",position:6,date_added:"2017-10-23",ui_type:"type.ui.day"},day1:{description:"Started Day",field_name_ui:"profile.job.start_day",validation:"day",position:5,date_added:"2017-10-23",ui_type:"type.ui.day"},string3:{description:"Title",field_name_ui:"profile.job.title",validation:"free_form_string",position:6,date_added:"2017-10-23",ui_type:"type.ui.string"}}},milestone:{grouping:"type.archive.person",field_name_ui:"profile.milestone",description:"Any significant detail, moment, life event, or milestone",position:9,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Location",field_name_ui:"profile.milestone.address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"},string1:{description:"Title",field_name_ui:"profile.milestone.title",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Description",field_name_ui:"profile.milestone.description",validation:"free_form_string",position:2,date_added:"2017-10-23",ui_type:"type.ui.string"},day1:{description:"Start Date",field_name_ui:"profile.milestone.start_day",validation:"day",position:3,date_added:"2017-10-23",ui_type:"type.ui.day"},day2:{description:"End Date",field_name_ui:"profile.milestone.end_day",validation:"day",position:4,date_added:"2017-10-23",ui_type:"type.ui.day"}}},phone_nbr:{grouping:"type.archive.person",field_name_ui:"profile.phone_nbr",description:"Phone #",position:4,allow_multiple:1,date_added:"2017-10-23",values:{string1:{description:"",field_name_ui:"profile.phone_nbr.single",validation:"phone",position:0,date_added:"2017-10-23",ui_type:"type.ui.phone"}}},social_media:{grouping:"type.archive.person",field_name_ui:"profile.social_media",description:"Social Media",position:10,allow_multiple:1,date_added:"2017-10-23",values:{string1:{description:"",field_name_ui:"profile.social_media.single",validation:"url",position:0,date_added:"2017-10-23",ui_type:"type.ui.url"}}},timezone:{grouping:"type.archive.person",field_name_ui:"profile.timezone",description:"Timezone",position:11,allow_multiple:0,date_added:"2017-10-23",values:{otherId1:{description:"",field_name_ui:"profile.timezone.single",validation:"bigint",position:0,date_added:"2017-10-23",ui_type:"type.ui.timezone"}}}},organization:{basic:{grouping:"type.archive.organization",field_name_ui:"profile.basic",description:"How others identify your organization",position:0,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"Display Name",field_name_ui:"profile.basic.display_name",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"},string2:{description:"Legal Name",field_name_ui:"profile.basic.legal_name",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},string3:{description:"DBA name",field_name_ui:"profile.basic.dba_1",validation:"free_form_string",position:2,date_added:"2018-08-22",ui_type:"type.ui.string"},otherId1:{description:"Logo",field_name_ui:"profile.basic.thumbnail",validation:"bigint",position:3,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"},otherId2:{description:"QR Code",field_name_ui:"profile.basic.qr_thumbnail",validation:"bigint",position:4,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"}}},established_info:{grouping:"type.archive.organization",field_name_ui:"profile.established_info",description:"Established Information",position:6,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Established Day",field_name_ui:"profile.established_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"},locnId1:{description:"Address",field_name_ui:"profile.established_info.address",validation:"bigint",position:1,date_added:"2018-08-22",ui_type:"type.ui.locn"}}},blurb:{grouping:"type.archive.organization",field_name_ui:"profile.blurb",description:"Blurbage",position:2,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.blurb.single",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"}}},closure_info:{grouping:"type.archive.organization",field_name_ui:"profile.closure_info",description:"Closure Information",position:7,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Date Closed",field_name_ui:"profile.closure_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"}}},description:{grouping:"type.archive.organization",field_name_ui:"profile.description",description:"Description",position:1,allow_multiple:0,date_added:"2018-08-22",values:{text_dataId1:{description:"",field_name_ui:"profile.description.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.textdata"}}},email:{grouping:"type.archive.organization",field_name_ui:"profile.email",description:"Email",position:3,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.email.single",validation:"email",position:0,date_added:"2018-08-22",ui_type:"type.ui.email"}}},timezone:{grouping:"type.archive.organization",field_name_ui:"profile.timezone",description:"Timezone",position:11,allow_multiple:0,date_added:"2018-08-22",values:{otherId1:{description:"",field_name_ui:"profile.timezone.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.timezone"}}}
23,phone_nbr:{grouping:"type.archive.organization",field_name_ui:"profile.phone_nbr",description:"Phone #",position:4,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.phone_nbr.single",validation:"phone",position:0,date_added:"2018-08-22",ui_type:"type.ui.phone"}}},social_media:{grouping:"type.archive.organization",field_name_ui:"profile.social_media",description:"Social Media",position:10,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.social_media.single",validation:"url",position:0,date_added:"2018-08-22",ui_type:"type.ui.url"}}},location:{grouping:"type.archive.organization",field_name_ui:"profile.location",description:"Where the organization is located",position:8,allow_multiple:1,date_added:"2018-08-22",values:{locnId1:{description:"Address",field_name_ui:"profile.location.address",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.locn"},string1:{description:"Description",field_name_ui:"profile.location.description",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},day2:{description:"Closed",field_name_ui:"profile.location.closed_day",validation:"day",position:6,date_added:"2018-08-22",ui_type:"type.ui.day"},string2:{description:"Phone #",field_name_ui:"profile.location.phone_nbr",validation:"phone",position:3,date_added:"2018-08-22",ui_type:"type.ui.phone"},recordArchiveNbr:{description:"Archive #",field_name_ui:"profile.location.record_archive_nbr",validation:"pa_nbr",position:4,date_added:"2018-08-22",ui_type:"type.ui.pa_nbr"},day1:{description:"Established",field_name_ui:"profile.location.established_day",validation:"day",position:5,date_added:"2018-08-22",ui_type:"type.ui.day"}}},milestone:{grouping:"type.archive.organization",field_name_ui:"profile.milestone",description:"Any significant detail, moment, life event, or milestone",position:9,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Location",field_name_ui:"profile.milestone.address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"},string1:{description:"Title",field_name_ui:"profile.milestone.title",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Description",field_name_ui:"profile.milestone.description",validation:"free_form_string",position:2,date_added:"2017-10-23",ui_type:"type.ui.string"},day1:{description:"Start Date",field_name_ui:"profile.milestone.start_day",validation:"day",position:3,date_added:"2017-10-23",ui_type:"type.ui.day"},day2:{description:"End Date",field_name_ui:"profile.milestone.end_day",validation:"day",position:4,date_added:"2017-10-23",ui_type:"type.ui.day"}}}},family:{basic:{grouping:"type.archive.family",field_name_ui:"profile.basic",description:"Your family name",position:0,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"Display Name",field_name_ui:"profile.basic.display_name",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"},string2:{description:"Nick Name",field_name_ui:"profile.basic.nick_name",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},string3:{description:"Previous name",field_name_ui:"profile.basic.previous_name",validation:"free_form_string",position:2,date_added:"2018-08-22",ui_type:"type.ui.string"},otherId1:{description:"Family Crest",field_name_ui:"profile.basic.thumbnail",validation:"bigint",position:3,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"},otherId2:{description:"QR Code",field_name_ui:"profile.basic.qr_thumbnail",validation:"bigint",position:4,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"}}},established_info:{grouping:"type.archive.family",field_name_ui:"profile.established_info",description:"Established Information",position:6,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Established Day",field_name_ui:"profile.established_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"},locnId1:{description:"Address",field_name_ui:"profile.established_info.address",validation:"bigint",position:1,date_added:"2018-08-22",ui_type:"type.ui.locn"}}},blurb:{grouping:"type.archive.family",field_name_ui:"profile.blurb",description:"Blurbage",position:2,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.blurb.single",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"}}},death_info:{grouping:"type.archive.family",field_name_ui:"profile.death_info",description:"Family ended",position:7,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Date the family ended",field_name_ui:"profile.death_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"}}},description:{grouping:"type.archive.family",field_name_ui:"profile.description",description:"Description",position:1,allow_multiple:0,date_added:"2018-08-22",values:{text_dataId1:{description:"",field_name_ui:"profile.description.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.textdata"}}},email:{grouping:"type.archive.family",field_name_ui:"profile.email",description:"Email",position:3,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.email.single",validation:"email",position:0,date_added:"2018-08-22",ui_type:"type.ui.email"}}},timezone:{grouping:"type.archive.family",field_name_ui:"profile.timezone",description:"Timezone",position:11,allow_multiple:0,date_added:"2018-08-22",values:{otherId1:{description:"",field_name_ui:"profile.timezone.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.timezone"}}}
23,phone_nbr:{grouping:"type.archive.family",field_name_ui:"profile.phone_nbr",description:"Phone #",position:4,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.phone_nbr.single",validation:"phone",position:0,date_added:"2018-08-22",ui_type:"type.ui.phone"}}},social_media:{grouping:"type.archive.family",field_name_ui:"profile.social_media",description:"Social Media",position:10,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.social_media.single",validation:"url",position:0,date_added:"2018-08-22",ui_type:"type.ui.url"}}},location:{grouping:"type.archive.family",field_name_ui:"profile.location",description:"Where the family is located",position:8,allow_multiple:1,date_added:"2018-08-22",values:{locnId1:{description:"Address",field_name_ui:"profile.location.address",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.locn"},string1:{description:"Description",field_name_ui:"profile.location.description",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},day2:{description:"Closed",field_name_ui:"profile.location.closed_day",validation:"day",position:6,date_added:"2018-08-22",ui_type:"type.ui.day"},string2:{description:"Phone #",field_name_ui:"profile.location.phone_nbr",validation:"phone",position:3,date_added:"2018-08-22",ui_type:"type.ui.phone"},recordArchiveNbr:{description:"Archive #",field_name_ui:"profile.location.record_archive_nbr",validation:"pa_nbr",position:4,date_added:"2018-08-22",ui_type:"type.ui.pa_nbr"},day1:{description:"Established",field_name_ui:"profile.location.established_day",validation:"day",position:5,date_added:"2018-08-22",ui_type:"type.ui.day"}}},milestone:{grouping:"type.archive.family",field_name_ui:"profile.milestone",description:"Any significant detail, moment, life event, or milestone",position:9,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Location",field_name_ui:"profile.milestone.address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"},string1:{description:"Title",field_name_ui:"profile.milestone.title",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Description",field_name_ui:"profile.milestone.description",validation:"free_form_string",position:2,date_added:"2017-10-23",ui_type:"type.ui.string"},day1:{description:"Start Date",field_name_ui:"profile.milestone.start_day",validation:"day",position:3,date_added:"2017-10-23",ui_type:"type.ui.day"},day2:{description:"End Date",field_name_ui:"profile.milestone.end_day",validation:"day",position:4,date_added:"2017-10-23",ui_type:"type.ui.day"}}}},nonprofit:{basic:{grouping:"type.archive.nonprofit",field_name_ui:"profile.basic",description:"How others identify your nonprofit",position:0,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"Display Name",field_name_ui:"profile.basic.display_name",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"},string2:{description:"Legal Name",field_name_ui:"profile.basic.legal_name",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},string3:{description:"DBA name",field_name_ui:"profile.basic.dba_1",validation:"free_form_string",position:2,date_added:"2018-08-22",ui_type:"type.ui.string"},otherId1:{description:"Logo",field_name_ui:"profile.basic.thumbnail",validation:"bigint",position:3,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"},otherId2:{description:"QR Code",field_name_ui:"profile.basic.qr_thumbnail",validation:"bigint",position:4,date_added:"2018-08-22",ui_type:"type.ui.thumbnail"}}},established_info:{grouping:"type.archive.nonprofit",field_name_ui:"profile.established_info",description:"Established Information",position:6,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Established Day",field_name_ui:"profile.established_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"},locnId1:{description:"Address",field_name_ui:"profile.established_info.address",validation:"bigint",position:1,date_added:"2018-08-22",ui_type:"type.ui.locn"}}},blurb:{grouping:"type.archive.nonprofit",field_name_ui:"profile.blurb",description:"Blurbage",position:2,allow_multiple:0,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.blurb.single",validation:"free_form_string",position:0,date_added:"2018-08-22",ui_type:"type.ui.string"}}},closure_info:{grouping:"type.archive.nonprofit",field_name_ui:"profile.closure_info",description:"Closure Information",position:7,allow_multiple:0,date_added:"2018-08-22",values:{day1:{description:"Date Closed",field_name_ui:"profile.closure_info.day",validation:"day",position:0,date_added:"2018-08-22",ui_type:"type.ui.day"}}},description:{grouping:"type.archive.nonprofit",field_name_ui:"profile.description",description:"Description",position:1,allow_multiple:0,date_added:"2018-08-22",values:{text_dataId1:{description:"",field_name_ui:"profile.description.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.textdata"}}},email:{grouping:"type.archive.nonprofit",field_name_ui:"profile.email",description:"Email",position:3,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.email.single",validation:"email",position:0,date_added:"2018-08-22",ui_type:"type.ui.email"}}},timezone:{grouping:"type.archive.nonprofit",field_name_ui:"profile.timezone",description:"Timezone",position:11,allow_multiple:0,date_added:"2018-08-22",values:{otherId1:{description:"",field_name_ui:"profile.timezone.single",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.timezone"}}}
vendor: 9,421 bytes, lines 23-34
23,phone_nbr:{grouping:"type.archive.nonprofit",field_name_ui:"profile.phone_nbr",description:"Phone #",position:4,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.phone_nbr.single",validation:"phone",position:0,date_added:"2018-08-22",ui_type:"type.ui.phone"}}},social_media:{grouping:"type.archive.nonprofit",field_name_ui:"profile.social_media",description:"Social Media",position:10,allow_multiple:1,date_added:"2018-08-22",values:{string1:{description:"",field_name_ui:"profile.social_media.single",validation:"url",position:0,date_added:"2018-08-22",ui_type:"type.ui.url"}}},location:{grouping:"type.archive.nonprofit",field_name_ui:"profile.location",description:"Where the organization is located",position:8,allow_multiple:1,date_added:"2018-08-22",values:{locnId1:{description:"Address",field_name_ui:"profile.location.address",validation:"bigint",position:0,date_added:"2018-08-22",ui_type:"type.ui.locn"},string1:{description:"Description",field_name_ui:"profile.location.description",validation:"free_form_string",position:1,date_added:"2018-08-22",ui_type:"type.ui.string"},day2:{description:"Closed",field_name_ui:"profile.location.closed_day",validation:"day",position:6,date_added:"2018-08-22",ui_type:"type.ui.day"},string2:{description:"Phone #",field_name_ui:"profile.location.phone_nbr",validation:"phone",position:3,date_added:"2018-08-22",ui_type:"type.ui.phone"},recordArchiveNbr:{description:"Archive #",field_name_ui:"profile.location.record_archive_nbr",validation:"pa_nbr",position:4,date_added:"2018-08-22",ui_type:"type.ui.pa_nbr"},day1:{description:"Established",field_name_ui:"profile.location.established_day",validation:"day",position:5,date_added:"2018-08-22",ui_type:"type.ui.day"}}},milestone:{grouping:"type.archive.nonprofit",field_name_ui:"profile.milestone",description:"Any significant detail, moment, event, or milestone",position:9,allow_multiple:1,date_added:"2017-10-23",values:{locnId1:{description:"Location",field_name_ui:"profile.milestone.address",validation:"bigint",position:1,date_added:"2017-10-23",ui_type:"type.ui.locn"},string1:{description:"Title",field_name_ui:"profile.milestone.title",validation:"free_form_string",position:0,date_added:"2017-10-23",ui_type:"type.ui.string"},string2:{description:"Description",field_name_ui:"profile.milestone.description",validation:"free_form_string",position:2,date_added:"2017-10-23",ui_type:"type.ui.string"},day1:{description:"Start Date",field_name_ui:"profile.milestone.start_day",validation:"day",position:3,date_added:"2017-10-23",ui_type:"type.ui.day"},day2:{description:"End Date",field_name_ui:"profile.milestone.end_day",validation:"day",position:4,date_added:"2017-10-23",ui_type:"type.ui.day"}}}}}});var iT=T0((tT,Id)=>{(function(t,c){typeof Id=="object"&&Id.exports?Id.exports=c():t.nearley=c()})(tT,function(){function t(f,m,h){return this.id=++t.highestId,this.name=f,this.symbols=m,this.postprocess=h,this}t.highestId=0,t.prototype.toString=function(f){var m=typeof f>"u"?this.symbols.map(l).join(" "):this.symbols.slice(0,f).map(l).join(" ")+" \u25CF "+this.symbols.slice(f).map(l).join(" ");return this.name+" \u2192 "+m};function c(f,m,h,g){this.rule=f,this.dot=m,this.reference=h,this.data=[],this.wantedBy=g,this.isComplete=this.dot===f.symbols.length}c.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},c.prototype.nextState=function(f){var m=new c(this.rule,this.dot+1,this.reference,this.wantedBy);return m.left=this,m.right=f,m.isComplete&&(m.data=m.build(),m.right=void 0),m},c.prototype.build=function(){var f=[],m=this;do f.push(m.right.data),m=m.left;while(m.left);return f.reverse(),f},c.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,a.fail))};function e(f,m){this.grammar=f,this.index=m,this.states=[],this.wants={},this.scannable=[],this.completed={}}e.prototype.process=function(f){for(var m=this.states,h=this.wants,g=this.completed,v=0;v<m.length;v++){var M=m[v];if(M.isComplete){if(M.finish(),M.data!==a.fail){for(var b=M.wantedBy,C=b.length;C--;){var S=b[C];this.complete(S,M)}if(M.reference===this.index){var P=M.rule.name;(this.completed[P]=this.completed[P]||[]).push(M)}}}else{var P=M.rule.symbols[M.dot];if(typeof P!="string"){this.scannable.push(M);continue}if(h[P]){if(h[P].push(M),g.hasOwnProperty(P))for(var V=g[P],C=0;C<V.length;C++){var q=V[C];this.complete(M,q)}}else h[P]=[M],this.predict(P)}}},e.prototype.predict=function(f){for(var m=this.grammar.byName[f]||[],h=0;h<m.length;h++){var g=m[h],v=this.wants[f],M=new c(g,0,this.index,v);this.states.push(M)}},e.prototype.complete=function(f,m){var h=f.nextState(m);this.states.push(h)};function i(f,m){this.rules=f,this.start=m||this.rules[0].name;var h=this.byName={};this.rules.forEach(function(g){h.hasOwnProperty(g.name)||(h[g.name]=[]),h[g.name].push(g)})}i.fromCompiled=function(g,m){var h=g.Lexer;g.ParserStart&&(m=g.ParserStart,g=g.ParserRules);var g=g.map(function(M){return new t(M.name,M.symbols,M.postprocess)}),v=new i(g,m);return v.lexer=h,v};function n(){this.reset("")}n.prototype.reset=function(f,m){this.buffer=f,this.index=0,this.line=m?m.line:1,this.lastLineBreak=m?-m.col:0},n.prototype.next=function(){if(this.index<this.buffer.length){var f=this.buffer[this.index++];return f===` 24`&&(this.line+=1,this.lastLineBreak=this.index),{value:f}}},n.prototype.save=function(){return{line:this.line,col:this.index-this.lastLineBreak}},n.prototype.formatError=function(f,m){var h=this.buffer;if(typeof h=="string"){var g=h.split(` 25`).slice(Math.max(0,this.line-5),this.line),v=h.indexOf(` 26`,this.index);v===-1&&(v=h.length);var M=this.index-this.lastLineBreak,b=String(this.line).length;return m+=" at line "+this.line+" col "+M+`: 27 28`,m+=g.map(function(S,P){return C(this.line-g.length+P+1,b)+" "+S},this).join(` 29`),m+=` 30`+C("",b+M)+`^ 31`,m}else return m+" at index "+(this.index-1);function C(S,P){var V=String(S);return Array(P-V.length+1).join(" ")+V}};function a(f,m,h){if(f instanceof i)var g=f,h=m;else var g=i.fromCompiled(f,m);this.grammar=g,this.options={keepHistory:!1,lexer:g.lexer||new n};for(var v in h||{})this.options[v]=h[v];this.lexer=this.options.lexer,this.lexerState=void 0;var M=new e(g,0),b=this.table=[M];M.wants[g.start]=[],M.predict(g.start),M.process(),this.current=0}a.fail={},a.prototype.feed=function(f){var m=this.lexer;m.reset(f,this.lexerState);for(var h;;){try{if(h=m.next(),!h)break}catch(Q){var b=new e(this.grammar,this.current+1);this.table.push(b);var g=new Error(this.reportLexerError(Q));throw g.offset=this.current,g.token=Q.token,g}var v=this.table[this.current];this.options.keepHistory||delete this.table[this.current-1];var M=this.current+1,b=new e(this.grammar,M);this.table.push(b);for(var C=h.text!==void 0?h.text:h.value,S=m.constructor===n?h.value:h,P=v.scannable,V=P.length;V--;){var q=P[V],W=q.rule.symbols[q.dot];if(W.test?W.test(S):W.type?W.type===h.type:W.literal===C){var G=q.nextState({data:S,token:h,isToken:!0,reference:M-1});b.states.push(G)}}if(b.process(),b.states.length===0){var g=new Error(this.reportError(h));throw g.offset=this.current,g.token=h,g}this.options.keepHistory&&(v.lexerState=m.save()),this.current++}return v&&(this.lexerState=m.save()),this.results=this.finish(),this},a.prototype.reportLexerError=function(f){var m,h,g=f.token;return g?(m="input "+JSON.stringify(g.text[0])+" (lexer error)",h=this.lexer.formatError(g,"Syntax error")):(m="input (lexer error)",h=f.message),this.reportErrorCommon(h,m)},a.prototype.reportError=function(f){var m=(f.type?f.type+" token: ":"")+JSON.stringify(f.value!==void 0?f.value:f),h=this.lexer.formatError(f,"Syntax error");return this.reportErrorCommon(h,m)},a.prototype.reportErrorCommon=function(f,m){var h=[];h.push(f);var g=this.table.length-2,v=this.table[g],M=v.states.filter(function(C){var S=C.rule.symbols[C.dot];return S&&typeof S!="string"});if(M.length===0)h.push("Unexpected "+m+`. I did not expect any more input. Here is the state of my parse table: 32`),this.displayStateStack(v.states,h);else{h.push("Unexpected "+m+`. Instead, I was expecting to see one of the following: 33`);var b=M.map(function(C){return this.buildFirstStateStack(C,[])||[C]},this);b.forEach(function(C){var S=C[0],P=S.rule.symbols[S.dot],V=this.getSymbolDisplay(P);h.push("A "+V+" based on:"),this.displayStateStack(C,h)},this)}return h.push(""),h.join(` 34`)},a.prototype.displayStateStack=function(f,m){for(var h,g=0,v=0;v<f.length;v++){var M=f[v],b=M.rule.toString(M.dot);b===h?g++:(g>0&&m.push(" ^ "+g+" more lines identical to this"),g=0,m.push(" "+b)),h=b}},a.prototype.getSymbolDisplay=function(f){return r(f)},a.prototype.buildFirstStateStack=function(f,m){if(m.indexOf(f)!==-1)return null;if(f.wantedBy.length===0)return[f];var h=f.wantedBy[0],g=[f].concat(m),v=this.buildFirstStateStack(h,g);return v===null?null:[f].concat(v)},a.prototype.save=function(){var f=this.table[this.current];return f.lexerState=this.lexerState,f},a.prototype.restore=function(f){var m=f.index;this.current=m,this.table[m]=f,this.table.splice(m+1),this.lexerState=f.lexerState,this.results=this.finish()},a.prototype.rewind=function(f){if(!this.options.keepHistory)throw new Error("set option `keepHistory` to enable rewinding");this.restore(this.table[f])},a.prototype.finish=function(){var f=[],m=this.grammar.start,h=this.table[this.table.length-1];
34return h.states.forEach(function(g){g.rule.name===m&&g.dot===g.rule.symbols.length&&g.reference===0&&g.data!==a.fail&&f.push(g)}),f.map(function(g){return g.data})};function r(f){var m=typeof f;if(m==="string")return f;if(m==="object"){if(f.literal)return JSON.stringify(f.literal);if(f instanceof RegExp)return"character matching "+f;if(f.type)return f.type+" token";if(f.test)return"token matching "+String(f.test);throw new Error("Unknown symbol type: "+f)}}function l(f){var m=typeof f;if(m==="string")return f;if(m==="object"){if(f.literal)return JSON.stringify(f.literal);if(f instanceof RegExp)return f.toString();if(f.type)return"%"+f.type;if(f.test)return"<"+String(f.test)+">";throw new Error("Unknown symbol type: "+f)}}return{Parser:a,Grammar:i,Rule:t}})});var oT=T0((jM1,iJ)=>{iJ.exports={locale:"en-US",date:{approximate:{long:"circa %D",medium:"ca. %D",short:"c. %D"},uncertain:{long:"%D (unspecified)",medium:"%D (?)",short:"%D (?)"}}}});var lT=T0((WM1,nJ)=>{nJ.exports={locale:"es-ES",date:{approximate:{long:"circa %D",medium:"ca. %D",short:"c. %D"},uncertain:{long:"%D (?)",medium:"%D (?)",short:"%D (?)"}}}});var fT=T0((GM1,aJ)=>{aJ.exports={locale:"de-DE",date:{approximate:{long:"circa %D",medium:"ca. %D",short:"ca. %D"},uncertain:{long:"%D (?)",medium:"%D (?)",short:"%D (?)"}}}});var dT=T0((qM1,sJ)=>{sJ.exports={locale:"fr-FR",date:{approximate:{long:"circa %D",medium:"ca. %D",short:"c. %D"},uncertain:{long:"%D (?)",medium:"%D (?)",short:"%D (?)"}}}});var mT=T0((YM1,rJ)=>{rJ.exports={locale:"it-IT",date:{approximate:{long:"circa %D",medium:"ca. %D",short:"c. %D"},uncertain:{long:"%D (?)",medium:"%D (?)",short:"%D (?)"}}}});var uT=T0((ZM1,oJ)=>{oJ.exports={locale:"ja-JA",date:{approximate:{long:"%D\u9803",medium:"%D\u9803",short:"%D\u9803"},uncertain:{long:"%D\u9803",medium:"%D\u9803",short:"%D\u9803"}}}});var pT=T0((KM1,hT)=>{var lJ=oT(),fJ=lT(),dJ=fT(),mJ=dT(),uJ=mT(),hJ=uT(),hM=(t,...c)=>{for(let e of c)uM[`${t}-${e}`]=uM[t]},uM={en:lJ,es:fJ,de:dJ,fr:mJ,it:uJ,ja:hJ};hM("en","AU","CA","GB","NZ","SA","US");hM("de","AT","CH","DE");hM("fr","CH","FR");hT.exports=uM});var GC=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)($(h6),$(Q1))};static \u0275dir=v1({type:t})}return t})(),si=(()=>{class t extends GC{static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,features:[i4]})}return t})(),M6=new b4(""),BR={provide:M6,useExisting:H4(()=>UR),multi:!0},UR=(()=>{class t extends si{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,n){i&1&&e1("change",function(r){return n.onChange(r.target.checked)})("blur",function(){return n.onTouched()})},standalone:!1,features:[H2([BR]),i4]})}return t})(),$R={provide:M6,useExisting:H4(()=>po),multi:!0};function jR(){let t=Hh()?Hh().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var WR=new b4(""),po=(()=>{class t extends GC{_compositionMode;_composing=!1;constructor(e,i,n){super(e,i),this._compositionMode=n,this._compositionMode==null&&(this._compositionMode=!jR())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)($(h6),$(Q1),$(WR,8))};static \u0275dir=v1({type:t,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(i,n){i&1&&e1("input",function(r){return n._handleInput(r.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(r){return n._compositionEnd(r.target.value)})},standalone:!1,features:[H2([$R]),i4]})}return t})();function jh(t){return t==null||Wh(t)===0}function Wh(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var ie=new b4(""),$9=new b4(""),GR=/^(?=.{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])?)*$/,n4=class{static min(c){return qC(c)}static max(c){return qR(c)}static required(c){return YC(c)}static requiredTrue(c){return YR(c)}static email(c){return ZC(c)}static minLength(c){return ZR(c)}static maxLength(c){return KR(c)}static pattern(c){return KC(c)}static nullValidator(c){return ao()}static compose(c){return ty(c)}static composeAsync(c){return iy(c)}};function qC(t){return c=>
vendor: 8,333 bytes, line 34
34{if(c.value==null||t==null)return null;let e=parseFloat(c.value);return!isNaN(e)&&e<t?{min:{min:t,actual:c.value}}:null}}function qR(t){return c=>{if(c.value==null||t==null)return null;let e=parseFloat(c.value);return!isNaN(e)&&e>t?{max:{max:t,actual:c.value}}:null}}function YC(t){return jh(t.value)?{required:!0}:null}function YR(t){return t.value===!0?null:{required:!0}}function ZC(t){return jh(t.value)||GR.test(t.value)?null:{email:!0}}function ZR(t){return c=>{let e=c.value?.length??Wh(c.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function KR(t){return c=>{let e=c.value?.length??Wh(c.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function KC(t){if(!t)return ao;let c,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),c=new RegExp(e)):(e=t.toString(),c=t),i=>{if(jh(i.value))return null;let n=i.value;return c.test(n)?null:{pattern:{requiredPattern:e,actualValue:n}}}}function ao(t){return null}function XC(t){return t!=null}function QC(t){return wC(t)?oC(t):t}function JC(t){let c={};return t.forEach(e=>{c=e!=null?E(E({},c),e):c}),Object.keys(c).length===0?null:c}function ey(t,c){return c.map(e=>e(t))}function XR(t){return!t.validate}function cy(t){return t.map(c=>XR(c)?c:e=>c.validate(e))}function ty(t){if(!t)return null;let c=t.filter(XC);return c.length==0?null:function(e){return JC(ey(e,c))}}function Gh(t){return t!=null?ty(cy(t)):null}function iy(t){if(!t)return null;let c=t.filter(XC);return c.length==0?null:function(e){let i=ey(e,c).map(QC);return mC(i).pipe(m4(JC))}}function qh(t){return t!=null?iy(cy(t)):null}function FC(t,c){return t===null?[c]:Array.isArray(t)?[...t,c]:[t,c]}function ny(t){return t._rawValidators}function ay(t){return t._rawAsyncValidators}function Bh(t){return t?Array.isArray(t)?t:[t]:[]}function so(t,c){return Array.isArray(t)?t.includes(c):t===c}function VC(t,c){let e=Bh(c);return Bh(t).forEach(n=>{so(e,n)||e.push(n)}),e}function HC(t,c){return Bh(c).filter(e=>!so(t,e))}var ro=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(c){this._rawValidators=c||[],this._composedValidatorFn=Gh(this._rawValidators)}_setAsyncValidators(c){this._rawAsyncValidators=c||[],this._composedAsyncValidatorFn=qh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(c){this._onDestroyCallbacks.push(c)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(c=>c()),this._onDestroyCallbacks=[]}reset(c=void 0){this.control?.reset(c)}hasError(c,e){return this.control?this.control.hasError(c,e):!1}getError(c,e){return this.control?this.control.getError(c,e):null}},Ze=class extends ro{name;get formDirective(){return null}get path(){return null}},te=class extends ro{_parent=null;name=null;valueAccessor=null},oo=class{_cd;constructor(c){this._cd=c}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}};var sy=(()=>{class t extends oo{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)($(te,2))};static \u0275dir=v1({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,n){i&2&&M1("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},standalone:!1,features:[i4]})}return t})(),G31=(()=>{class t extends oo{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)($(Ze,10))};static \u0275dir=v1({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,n){i&2&&M1("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},standalone:!1,features:[i4]})}return t})();var P9="VALID",no="INVALID",ci="PENDING",R9="DISABLED",Q5=class{},lo=class extends Q5{value;source;constructor(c,e){super(),this.value=c,this.source=e}},V9=class extends Q5{pristine;source;constructor(c,e){super(),this.pristine=c,this.source=e}},H9=class extends Q5{touched;source;constructor(c,e){super(),this.touched=c,this.source=e}},ti=class extends Q5{status;source;constructor(c,e){super(),this.status=c,this.source=e}},fo=class extends Q5{source;constructor(c){super(),this.source=c}},B9=class extends Q5{source;constructor(c){super(),this.source=c}};function Yh(t){return(go(t)?t.validators:t)||null}function QR(t){return Array.isArray(t)?Gh(t):t||null}function Zh(t,c){return(go(c)?c.asyncValidators:t)||null}function JR(t){return Array.isArray(t)?qh(t):t||null}function go(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function ry(t,c,e){let i=t.controls;if(!(c?Object.keys(i):i).length)throw new S9(1e3,"");if(!i[e])throw new S9(1001,"")}function oy(t,c,e){t._forEachChild((i,n)=>{if(e[n]===void 0)throw new S9(-1002,"")})}var ni=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(c,e){this._assignValidators(c),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(c){this._rawValidators=this._composedValidatorFn=c}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(c){this._rawAsyncValidators=this._composedAsyncValidatorFn=c}get parent(){return this._parent}get status(){return J8(this.statusReactive)}set status(c){J8(()=>this.statusReactive.set(c))}_status=b8(()=>this.statusReactive());statusReactive=t3(void 0);get valid(){return this.status===P9}get invalid(){return this.status===no}get pending(){return this.status===ci}get disabled(){return this.status===R9}get enabled(){return this.status!==R9}errors;get pristine(){return J8(this.pristineReactive)}set pristine(c){J8(()=>this.pristineReactive.set(c))}_pristine=b8(()=>this.pristineReactive());pristineReactive=t3(!0);get dirty(){return!this.pristine}get touched(){return J8(this.touchedReactive)}set touched(c){J8(()=>this.touchedReactive.set(c))}_touched=b8(()=>this.touchedReactive());touchedReactive=t3(!1);get untouched(){return!this.touched}_events=new E1;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(c){this._assignValidators(c)}setAsyncValidators(c){this._assignAsyncValidators(c)}addValidators(c){this.setValidators(VC(c,this._rawValidators))}addAsyncValidators(c){this.setAsyncValidators(VC(c,this._rawAsyncValidators))}
34removeValidators(c){this.setValidators(HC(c,this._rawValidators))}removeAsyncValidators(c){this.setAsyncValidators(HC(c,this._rawAsyncValidators))}hasValidator(c){return so(this._rawValidators,c)}hasAsyncValidator(c){return so(this._rawAsyncValidators,c)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(c={}){let e=this.touched===!1;this.touched=!0;let i=c.sourceControl??this;c.onlySelf||this._parent?.markAsTouched(m1(E({},c),{sourceControl:i})),e&&c.emitEvent!==!1&&this._events.next(new H9(!0,i))}markAllAsDirty(c={}){this.markAsDirty({onlySelf:!0,emitEvent:c.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(c))}markAllAsTouched(c={}){this.markAsTouched({onlySelf:!0,emitEvent:c.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(c))}markAsUntouched(c={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=c.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:c.emitEvent,sourceControl:i})}),c.onlySelf||this._parent?._updateTouched(c,i),e&&c.emitEvent!==!1&&this._events.next(new H9(!1,i))}markAsDirty(c={}){let e=this.pristine===!0;this.pristine=!1;let i=c.sourceControl??this;c.onlySelf||this._parent?.markAsDirty(m1(E({},c),{sourceControl:i})),e&&c.emitEvent!==!1&&this._events.next(new V9(!1,i))}markAsPristine(c={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=c.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:c.emitEvent})}),c.onlySelf||this._parent?._updatePristine(c,i),e&&c.emitEvent!==!1&&this._events.next(new V9(!0,i))}markAsPending(c={}){this.status=ci;let e=c.sourceControl??this;c.emitEvent!==!1&&(this._events.next(new ti(this.status,e)),this.statusChanges.emit(this.status)),c.onlySelf||this._parent?.markAsPending(m1(E({},c),{sourceControl:e}))}disable(c={}){let e=this._parentMarkedDirty(c.onlySelf);this.status=R9,this.errors=null,this._forEachChild(n=>{n.disable(m1(E({},c),{onlySelf:!0}))}),this._updateValue();let i=c.sourceControl??this;c.emitEvent!==!1&&(this._events.next(new lo(this.value,i)),this._events.next(new ti(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(m1(E({},c),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(c={}){let e=this._parentMarkedDirty(c.onlySelf);this.status=P9,this._forEachChild(i=>{i.enable(m1(E({},c),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:c.emitEvent}),this._updateAncestors(m1(E({},c),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(c,e){c.onlySelf||(this._parent?.updateValueAndValidity(c),c.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(c){this._parent=c}getRawValue(){return this.value}updateValueAndValidity(c={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P9||this.status===ci)&&this._runAsyncValidator(i,c.emitEvent)}let e=c.sourceControl??this;c.emitEvent!==!1&&(this._events.next(new lo(this.value,e)),this._events.next(new ti(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),c.onlySelf||this._parent?.updateValueAndValidity(m1(E({},c),{sourceControl:e}))}_updateTreeValidity(c={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(c)),this.updateValueAndValidity({onlySelf:!0,emitEvent:c.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?R9:P9}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(c,e){if(this.asyncValidator){this.status=ci,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:c!==!1};let i=QC(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:e,shouldHaveEmitted:c})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let c=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,c}return!1}setErrors(c,e={}){this.errors=c,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(c){let e=c;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,n)=>i&&i._find(n),this)}getError(c,e){let i=e?this.get(e):this;return i?.errors?i.errors[c]:null}hasError(c,e){return!!this.getError(c,e)}get root(){let c=this;for(;c._parent;)c=c._parent;return c}_updateControlsErrors(c,e,i){this.status=this._calculateStatus(),c&&this.statusChanges.emit(this.status),(c||i)&&this._events.next(new ti(this.status,e)),this._parent&&this._parent._updateControlsErrors(c,e,i)}_initObservables(){this.valueChanges=new N1,this.statusChanges=new N1}_calculateStatus(){return this._allControlsDisabled()?R9:this.errors?no:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ci)?ci:this._anyControlsHaveStatus(no)?no:P9}
vendor: 7,239 bytes, line 34
34_anyControlsHaveStatus(c){return this._anyControls(e=>e.status===c)}_anyControlsDirty(){return this._anyControls(c=>c.dirty)}_anyControlsTouched(){return this._anyControls(c=>c.touched)}_updatePristine(c,e){let i=!this._anyControlsDirty(),n=this.pristine!==i;this.pristine=i,c.onlySelf||this._parent?._updatePristine(c,e),n&&this._events.next(new V9(this.pristine,e))}_updateTouched(c={},e){this.touched=this._anyControlsTouched(),this._events.next(new H9(this.touched,e)),c.onlySelf||this._parent?._updateTouched(c,e)}_onDisabledChange=[];_registerOnCollectionChange(c){this._onCollectionChange=c}_setUpdateStrategy(c){go(c)&&c.updateOn!=null&&(this._updateOn=c.updateOn)}_parentMarkedDirty(c){return!c&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(c){return null}_assignValidators(c){this._rawValidators=Array.isArray(c)?c.slice():c,this._composedValidatorFn=QR(this._rawValidators)}_assignAsyncValidators(c){this._rawAsyncValidators=Array.isArray(c)?c.slice():c,this._composedAsyncValidatorFn=JR(this._rawAsyncValidators)}},ai=class extends ni{constructor(c,e,i){super(Yh(e),Zh(i,e)),this.controls=c,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(c,e){return this.controls[c]?this.controls[c]:(this.controls[c]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(c,e,i={}){this.registerControl(c,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(c,e={}){this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),delete this.controls[c],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(c,e,i={}){this.controls[c]&&this.controls[c]._registerOnCollectionChange(()=>{}),delete this.controls[c],e&&this.registerControl(c,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(c){return this.controls.hasOwnProperty(c)&&this.controls[c].enabled}setValue(c,e={}){oy(this,!0,c),Object.keys(c).forEach(i=>{ry(this,!0,i),this.controls[i].setValue(c[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(c,e={}){c!=null&&(Object.keys(c).forEach(i=>{let n=this.controls[i];n&&n.patchValue(c[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(c={},e={}){this._forEachChild((i,n)=>{i.reset(c?c[n]:null,m1(E({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new B9(this))}getRawValue(){return this._reduceChildren({},(c,e,i)=>(c[i]=e.getRawValue(),c))}_syncPendingControls(){let c=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return c&&this.updateValueAndValidity({onlySelf:!0}),c}_forEachChild(c){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&c(i,e)})}_setUpControls(){this._forEachChild(c=>{c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(c){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&c(i))return!0;return!1}_reduceValue(){let c={};return this._reduceChildren(c,(e,i,n)=>((i.enabled||this.disabled)&&(e[n]=i.value),e))}_reduceChildren(c,e){let i=c;return this._forEachChild((n,a)=>{i=e(i,n,a)}),i}_allControlsDisabled(){for(let c of Object.keys(this.controls))if(this.controls[c].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(c){return this.controls.hasOwnProperty(c)?this.controls[c]:null}};var Uh=class extends ai{};var m7=new b4("",{factory:()=>j9}),j9="always";function ly(t,c){return[...c.path,t]}function U9(t,c,e=j9){Kh(t,c),c.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&c.valueAccessor.setDisabledState?.(t.disabled),cF(t,c),iF(t,c),tF(t,c),eF(t,c)}function mo(t,c,e=!0){let i=()=>{};c?.valueAccessor?.registerOnChange(i),c?.valueAccessor?.registerOnTouched(i),ho(t,c),t&&(c._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function uo(t,c){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(c)})}function eF(t,c){if(c.valueAccessor.setDisabledState){let e=i=>{c.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),c._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Kh(t,c){let e=ny(t);c.validator!==null?t.setValidators(FC(e,c.validator)):typeof e=="function"&&t.setValidators([e]);let i=ay(t);c.asyncValidator!==null?t.setAsyncValidators(FC(i,c.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let n=()=>t.updateValueAndValidity();uo(c._rawValidators,n),uo(c._rawAsyncValidators,n)}function ho(t,c){let e=!1;if(t!==null){if(c.validator!==null){let n=ny(t);if(Array.isArray(n)&&n.length>0){let a=n.filter(r=>r!==c.validator);a.length!==n.length&&(e=!0,t.setValidators(a))}}if(c.asyncValidator!==null){let n=ay(t);if(Array.isArray(n)&&n.length>0){let a=n.filter(r=>r!==c.asyncValidator);a.length!==n.length&&(e=!0,t.setAsyncValidators(a))}}}let i=()=>{};return uo(c._rawValidators,i),uo(c._rawAsyncValidators,i),e}function cF(t,c){c.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&fy(t,c)})}function tF(t,c){c.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&fy(t,c),t.updateOn!=="submit"&&t.markAsTouched()})}function fy(t,c){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),c.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function iF(t,c){let e=(i,n)=>{c.valueAccessor.writeValue(i),n&&c.viewToModelUpdate(i)};t.registerOnChange(e),c._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function dy(t,c){t==null,Kh(t,c)}function nF(t,c){return ho(t,c)}function Xh(t,c){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(c,e.currentValue)}function aF(t){return Object.getPrototypeOf(t.constructor)===si}function my(t,c){t._syncPendingControls(),c.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Qh(t,c){if(!c)return null;Array.isArray(c);let e,i,n;return c.forEach(a=>{a.constructor===po?e=a:aF(a)?i=a:n=a}),n||i||e||null}function sF(t,c){let e=t.indexOf(c);e>-1&&t.splice(e,1)}var rF={provide:Ze,useExisting:H4(()=>oF)},F9=Promise.resolve(),oF=(()=>{class t extends Ze{callSetDisabledState;get submitted(){return J8(this.submittedReactive)}_submitted=b8(()=>this.submittedReactive());submittedReactive=t3(!1);_directives=new Set;form;ngSubmit=new N1;options;constructor(e,i,n){super(),this.callSetDisabledState=n,this.form=new ai({},Gh(e),qh(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){F9.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),U9(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}
vendor: 6,790 bytes, line 34
34removeControl(e){F9.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){F9.then(()=>{let i=this._findContainer(e.path),n=new ai({});dy(n,e),i.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){F9.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){F9.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),my(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new fo(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)($(ie,10),$($9,10),$(m7,8))};static \u0275dir=v1({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,n){i&1&&e1("submit",function(r){return n.onSubmit(r)})("reset",function(){return n.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[H2([rF]),i4]})}return t})();function BC(t,c){let e=t.indexOf(c);e>-1&&t.splice(e,1)}function UC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ii=class extends ni{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(c=null,e,i){super(Yh(e),Zh(i,e)),this._applyFormState(c),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),go(e)&&(e.nonNullable||e.initialValueIsDefault)&&(UC(c)?this.defaultValue=c.value:this.defaultValue=c)}setValue(c,e={}){this.value=this._pendingValue=c,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(c,e={}){this.setValue(c,e)}reset(c=this.defaultValue,e={}){this._applyFormState(c),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new B9(this))}_updateValue(){}_anyControls(c){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(c){this._onChange.push(c)}_unregisterOnChange(c){BC(this._onChange,c)}registerOnDisabledChange(c){this._onDisabledChange.push(c)}_unregisterOnDisabledChange(c){BC(this._onDisabledChange,c)}_forEachChild(c){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(c){UC(c)?(this.value=this._pendingValue=c.value,c.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=c}},Y31=ii,lF=t=>t instanceof ii;var fF={provide:te,useExisting:H4(()=>Jh)},$C=Promise.resolve(),Jh=(()=>{class t extends te{_changeDetectorRef;callSetDisabledState;control=new ii;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new N1;constructor(e,i,n,a,r,l){super(),this._changeDetectorRef=r,this.callSetDisabledState=l,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=Qh(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Xh(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){U9(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){$C.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,n=i!==0&&qe(i);$C.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ly(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)($(Ze,9),$(ie,10),$($9,10),$(M6,10),$(_0,8),$(m7,8))};static \u0275dir=v1({type:t,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"],standalone:!1,features:[H2([fF]),i4,R2]})}return t})();var Z31=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),dF={provide:M6,useExisting:H4(()=>mF),multi:!0},mF=(()=>{class t extends si{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,n){i&1&&e1("input",function(r){return n.onChange(r.target.value)})("blur",function(){return n.onTouched()})},standalone:!1,features:[H2([dF]),i4]})}return t})(),uF={provide:M6,useExisting:H4(()=>pF),multi:!0};var hF=(()=>{class t{_accessors=[];add(e,i){this._accessors.push([e,i])}remove(e){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===e){this._accessors.splice(i,1);return}}
34select(e){this._accessors.forEach(i=>{this._isSameGroup(i,e)&&i[1]!==e&&i[1].fireUncheck(e.value)})}_isSameGroup(e,i){return e[0].control?e[0]._parent===i._control._parent&&e[1].name===i.name:!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pF=(()=>{class t extends si{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=B(m7,{optional:!0})??j9;constructor(e,i,n,a){super(e,i),this._registry=n,this._injector=a}ngOnInit(){this._control=this._injector.get(te),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(i){return new(i||t)($(h6),$(Q1),$(hF),$(S2))};static \u0275dir=v1({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,n){i&1&&e1("change",function(){return n.onChange()})("blur",function(){return n.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[H2([uF]),i4]})}return t})();var $h=class extends ni{constructor(c,e,i){super(Yh(e),Zh(i,e)),this.controls=c,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(c){return this.controls[this._adjustIndex(c)]}push(c,e={}){Array.isArray(c)?c.forEach(i=>{this.controls.push(i),this._registerControl(i)}):(this.controls.push(c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(c,e,i={}){this.controls.splice(c,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(c,e={}){let i=this._adjustIndex(c);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(c,e,i={}){let n=this._adjustIndex(c);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(c,e={}){oy(this,!1,c),c.forEach((i,n)=>{ry(this,!1,n),this.at(n).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(c,e={}){c!=null&&(c.forEach((i,n)=>{this.at(n)&&this.at(n).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(c=[],e={}){this._forEachChild((i,n)=>{i.reset(c[n],m1(E({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new B9(this))}getRawValue(){return this.controls.map(c=>c.getRawValue())}clear(c={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:c.emitEvent}))}_adjustIndex(c){return c<0?c+this.length:c}_syncPendingControls(){let c=this.controls.reduce((e,i)=>i._syncPendingControls()?!0:e,!1);return c&&this.updateValueAndValidity({onlySelf:!0}),c}_forEachChild(c){this.controls.forEach((e,i)=>{c(e,i)})}_updateValue(){this.value=this.controls.filter(c=>c.enabled||this.disabled).map(c=>c.value)}_anyControls(c){return this.controls.some(e=>e.enabled&&c(e))}_setUpControls(){this._forEachChild(c=>this._registerControl(c))}_allControlsDisabled(){for(let c of this.controls)if(c.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(c){c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange)}_find(c){return this.at(c)??null}};var gF=(()=>{class t extends Ze{callSetDisabledState;get submitted(){return J8(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=b8(()=>this._submittedReactive());_submittedReactive=t3(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,i,n){super(),this.callSetDisabledState=n,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateV
vendor: 9,597 bytes, line 34
34alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(ho(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let i=this.form.get(e.path);return U9(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){mo(e.control||null,e,!1),sF(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,i){this.form.get(e.path).setValue(i)}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,my(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new fo(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,n=this.form.get(e.path);i!==n&&(mo(i||null,e),lF(n)&&(U9(n,e,this.callSetDisabledState),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);dy(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let i=this.form?.get(e.path);i&&nF(i,e)&&i.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Kh(this.form,this),this._oldForm&&ho(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||t)($(ie,10),$($9,10),$(m7,8))};static \u0275dir=v1({type:t,features:[i4,R2]})}return t})();var ep=new b4(""),zF={provide:te,useExisting:H4(()=>LF)},LF=(()=>{class t extends te{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new N1;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,n,a,r){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Qh(this,n)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&mo(i,this,!1),U9(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xh(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&mo(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||t)($(ie,10),$($9,10),$(M6,10),$(ep,8),$(m7,8))};static \u0275dir=v1({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[H2([zF]),i4,R2]})}return t})();var MF={provide:te,useExisting:H4(()=>vF)},vF=(()=>{class t extends te{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new N1;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,n,a,r){super(),this._ngModelWarningConfig=r,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=Qh(this,a)}ngOnChanges(e){this._added||this._setUpControl(),Xh(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ly(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(i){return new(i||t)($(Ze,13),$(ie,10),$($9,10),$(M6,10),$(ep,8))};static \u0275dir=v1({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[H2([MF]),i4,R2]})}return t})();var _F={provide:Ze,useExisting:H4(()=>CF)},CF=(()=>{class t extends gF{form=null;ngSubmit=new N1;get control(){return this.form}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,n){i&1&&e1("submit",function(r){return n.onSubmit(r)})("reset",function(){return n.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[H2([_F]),i4]})}return t})(),yF={provide:M6,useExisting:H4(()=>hy),multi:!0};function uy(t,c){return t==null?`${c}`:(c&&typeof c=="object"&&(c="Object"),`${t}: ${c}`.slice(0,50))}function bF(t){return t.split(":")[0]}var hy=(()=>{class t extends si{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=B(y8).injector;destroyRef=B(d7);cdr=B(_0);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,L0({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let i=this._getOptionId(e),n=uy(i,e);this.setProperty("value",n)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){let i=bF(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,n){i&1&&e1("change",function(r){return n.onChange(r.target.value)})("blur",function(){return n.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[H2([yF]),i4]})}return t})(),K31=(()=>{class t{_element;_renderer;_select;id;constructor(e,i,n){this._element=e,this._renderer=i,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(uy(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(i){return new(i||t)($(Q1),$(h6),$(hy,9))};static \u0275dir=v1({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),xF={provide:M6,useExisting:H4(()=>py),multi:!0};function jC(t,c){return t==null?`${c}`:(typeof c=="string"&&(c=`'${c}'`),c&&typeof c=="object"&&(c="Object"),`${t}: ${c}`.slice(0,50))}function wF(t){return t.split(":")[0]}var py=(()=>{class t extends si{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let i;if(Array.isArray(e)){let n=e.map(a=>this._getOptionId(a));i=(a,r)=>{a._setSelected(n.indexOf(r)>-1)}}else i=n=>{n._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{let n=[],a=i.selectedOptions;if(a!==void 0){let r=a;for(let l=0;l<r.length;l++){let f=r[l],m=this._getOptionValue(f.value);n.push(m)}}else{let r=i.options;for(let l=0;l<r.length;l++){let f=r[l];if(f.selected){let m=this._getOptionValue(f.value);n.push(m)}}}this.value=n,e(n)}}_registerOption(e){let i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){let i=wF(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,n){i&1&&e1("change",function(r){return n.onChange(r.target)})("blur",function(){return n.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[H2([xF]),i4]})}return t})(),X31=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,i,n){this._element=e,this._renderer=i,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(jC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(jC(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
34),this._select.writeValue(this._select.value))}static \u0275fac=function(i){return new(i||t)($(Q1),$(h6),$(py,9))};static \u0275dir=v1({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function SF(t){return typeof t=="number"?t:parseFloat(t)}var zo=(()=>{class t{_validator=ao;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):ao,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,features:[R2]})}return t})();var NF={provide:ie,useExisting:H4(()=>kF),multi:!0},kF=(()=>{class t extends zo{min;inputName="min";normalizeInput=e=>SF(e);createValidator=e=>qC(e);static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&T2("min",n._enabled?n.min:null)},inputs:{min:"min"},standalone:!1,features:[H2([NF]),i4]})}return t})(),AF={provide:ie,useExisting:H4(()=>TF),multi:!0};var TF=(()=>{class t extends zo{required;inputName="required";normalizeInput=qe;createValidator=e=>YC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,n){i&2&&T2("required",n._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[H2([AF]),i4]})}return t})();var DF={provide:ie,useExisting:H4(()=>OF),multi:!0},OF=(()=>{class t extends zo{email;inputName="email";normalizeInput=qe;createValidator=e=>ZC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[H2([DF]),i4]})}return t})();var EF={provide:ie,useExisting:H4(()=>IF),multi:!0},IF=(()=>{class t extends zo{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>KC(e);static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275dir=v1({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&2&&T2("pattern",n._enabled?n.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[H2([EF]),i4]})}return t})();var gy=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})();function WC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var PF=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let n=this._reduceControls(e),a={};return WC(i)?a=i:i!==null&&(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new ai(n,a)}record(e,i=null){let n=this._reduceControls(e);return new Uh(n,i)}control(e,i,n){let a={};return this.useNonNullable?(WC(i)?a=i:(a.validators=i,a.asyncValidators=n),new ii(e,m1(E({},a),{nonNullable:!0}))):new ii(e,i,n)}array(e,i,n){let a=e.map(r=>this._createControl(r));return new $h(a,i,n)}_reduceControls(e){let i={};return Object.keys(e).forEach(n=>{i[n]=this._createControl(e[n])}),i}_createControl(e){if(e instanceof ii)return e;if(e instanceof ni)return e;if(Array.isArray(e)){let i=e[0],n=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(i,n,a)}else return this.control(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lo=(()=>{class t extends PF{group(e,i=null){return super.group(e,i)}control(e,i,n){return super.control(e,i,n)}array(e,i,n){return super.array(e,i,n)}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Q31=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:m7,useValue:e.callSetDisabledState??j9}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({imports:[gy]})}return t})(),J31=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ep,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:m7,useValue:e.callSetDisabledState??j9}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({imports:[gy]})}return t})();var xy=o2(x8());var XF=Cy(),fi={};try{fi=(by(),HR(yy)).SECRETS}catch(t){throw new Error("Unable to read secrets.ts - make sure to run `node secrets.js` before building!")}var di=(()=>{class t{constructor(){this.debug=(0,xy.default)("service:secretsService");let e=[];for(let i of XF)fi[i]===void 0&&e.push(i);if(this.debug("Loaded %d secrets from secrets.ts",Object.keys(fi).length),e.length)throw new Error("SecretsService: Missing required secrets.")}get(e){return t.getStatic(e)}static getStatic(e){if(fi[e]===void 0)throw new Error(`Secret ${e} not found. Check your .env file and restart`);return fi[e]}static hasStatic(e){return fi[e]!==void 0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function fp(t,c){(c==null||c>t.length)&&(c=t.length);for(var e=0,i=Array(c);e<c;e++)i[e]=t[e];return i}function QF(t){if(Array.isArray(t))return t}function JF(t){if(Array.isArray(t))return fp(t)}function eV(t,c){if(!(t instanceof c))throw new TypeError("Cannot call a class as a function")}function wy(t,c){for(var e=0;e<c.length;e++){var i=c[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,nb(i.key),i)}}function cV(t,c,e){return c&&wy(t.prototype,c),e&&wy(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function yo(t,c){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=xp(t))||c&&t&&typeof t.length=="number"){e&&(t=e);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(f){throw f},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 35In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,r=!0,l=!1;return{s:function(){e=e.call(t)},n:function(){var f=e.next();return r=f.done,f},e:function(f){l=!0,a=f},f:function(){try{r||e.return==null||e.return()}finally{if(l)throw a}}}}function u2(t,c,e){return(c=nb(c))in t?Object.defineProperty(t,c,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[c]=e,t}function tV(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iV(t,c){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var i,n,a,r,l=[],f=!0,m=!1;try{if(a=(e=e.call(t)).next,c===0){if(Object(e)!==e)return;f=!1}else for(;!(f=(i=a.call(e)).done)&&(l.push(i.value),l.length!==c);f=!0);}catch(h){m=!0,n=h}
35finally{try{if(!f&&e.return!=null&&(r=e.return(),Object(r)!==r))return}finally{if(m)throw n}}return l}}function nV(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 36In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aV(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 37In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sy(t,c){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);c&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,i)}return e}function g1(t){for(var c=1;c<arguments.length;c++){var e=arguments[c]!=null?arguments[c]:{};c%2?Sy(Object(e),!0).forEach(function(i){u2(t,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sy(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))})}return t}function ko(t,c){return QF(t)||iV(t,c)||xp(t,c)||nV()}function S8(t){return JF(t)||tV(t)||xp(t)||aV()}function sV(t,c){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,c||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(t)}function nb(t){var c=sV(t,"string");return typeof c=="symbol"?c:c+""}function wo(t){"@babel/helpers - typeof";return wo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},wo(t)}function xp(t,c){if(t){if(typeof t=="string")return fp(t,c);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?fp(t,c):void 0}}var Ny=function(){},wp={},ab={},sb=null,rb={mark:Ny,measure:Ny};try{typeof window<"u"&&(wp=window),typeof document<"u"&&(ab=document),typeof MutationObserver<"u"&&(sb=MutationObserver),typeof performance<"u"&&(rb=performance)}catch(t){}var rV=wp.navigator||{},ky=rV.userAgent,Ay=ky===void 0?"":ky,ec=wp,x4=ab,Ty=sb,_o=rb,n61=!!ec.document,Qe=!!x4.documentElement&&!!x4.head&&typeof x4.addEventListener=="function"&&typeof x4.createElement=="function",ob=~Ay.indexOf("MSIE")||~Ay.indexOf("Trident/"),ip,oV=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,lV=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,lb={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},fV={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},fb=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],U0="classic",Z9="duotone",db="sharp",mb="sharp-duotone",ub="chisel",hb="etch",pb="jelly",gb="jelly-duo",zb="jelly-fill",Lb="notdog",Mb="notdog-duo",vb="slab",_b="slab-press",Cb="thumbprint",yb="utility",bb="utility-duo",xb="utility-fill",wb="whiteboard",dV="Classic",mV="Duotone",uV="Sharp",hV="Sharp Duotone",pV="Chisel",gV="Etch",zV="Jelly",LV="Jelly Duo",MV="Jelly Fill",vV="Notdog",_V="Notdog Duo",CV="Slab",yV="Slab Press",bV="Thumbprint",xV="Utility",wV="Utility Duo",SV="Utility Fill",NV="Whiteboard",Sb=[U0,Z9,db,mb,ub,hb,pb,gb,zb,Lb,Mb,vb,_b,Cb,yb,bb,xb,wb],a61=(ip={},u2(u2(u2(u2(u2(u2(u2(u2(u2(u2(ip,U0,dV),Z9,mV),db,uV),mb,hV),ub,pV),hb,gV),pb,zV),gb,LV),zb,MV),Lb,vV),u2(u2(u2(u2(u2(u2(u2(u2(ip,Mb,_V),vb,CV),_b,yV),Cb,bV),yb,xV),bb,wV),xb,SV),wb,NV)),kV={classic:{900:"fas",400:"far",n
37ormal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},AV={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},TV=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),DV={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},Nb=["fak","fa-kit","fakd","fa-kit-duotone"],Dy={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},OV=["kit"],EV="kit",IV="kit-duotone",PV="Kit",RV="Kit Duotone",s61=u2(u2({},EV,PV),IV,RV),FV={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},VV={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},HV={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Oy={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},np,Co={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},BV=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],UV="classic",$V="duotone",jV="sharp",WV="sharp-duotone",GV="chisel",qV="etch",YV="jelly",ZV="jelly-duo",KV="jelly-fill",XV="notdog",QV="notdog-duo",JV="slab",eH="slab-press",cH="thumbprint",tH="utility",iH="utility-duo",nH="utility-fill",a
37H="whiteboard",sH="Classic",rH="Duotone",oH="Sharp",lH="Sharp Duotone",fH="Chisel",dH="Etch",mH="Jelly",uH="Jelly Duo",hH="Jelly Fill",pH="Notdog",gH="Notdog Duo",zH="Slab",LH="Slab Press",MH="Thumbprint",vH="Utility",_H="Utility Duo",CH="Utility Fill",yH="Whiteboard",r61=(np={},u2(u2(u2(u2(u2(u2(u2(u2(u2(u2(np,UV,sH),$V,rH),jV,oH),WV,lH),GV,fH),qV,dH),YV,mH),ZV,uH),KV,hH),XV,pH),u2(u2(u2(u2(u2(u2(u2(u2(np,QV,gH),JV,zH),eH,LH),cH,MH),tH,vH),iH,_H),nH,CH),aH,yH)),bH="kit",xH="kit-duotone",wH="Kit",SH="Kit Duotone",o61=u2(u2({},bH,wH),xH,SH),NH={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},kH={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},dp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},AH=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],kb=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(BV,AH),TH=["solid","regular","light","thin","duotone","brands","semibold"],Ab=[1,2,3,4,5,6,7,8,9,10],DH=Ab.concat([11,12,13,14,15,16,17,18,19,20]),OH=["aw","fw","pull-left","pull-right"],EH=[].concat(S8(Object.keys(kH)),TH,OH,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Co.GROUP,Co.SWAP_OPACITY,Co.PRIMARY,Co.SECONDARY]).concat(Ab.map(function(t){return"".concat(t,"x")})).concat(DH.map(function(t){return"w-".concat(t)})),IH={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Ke="___FONT_AWESOME___",mp=16,Tb="fa",Db="svg-inline--fa",p7="data-fa-i2svg",up="data-fa-pseudo-element",PH="data-fa-pseudo-element-pending",Sp="data-prefix",Np="data-icon",Ey="fontawesome-i2svg",RH="async",FH=["HTML","HEAD","STYLE","SCRIPT"],Ob=["::before","::after",":before",":after"],Eb=(function(){try{return!0}catch(t){return!1}})();function K9(t){return new Proxy(t,{get:function(e,i){return i in e?e[i]:e[U0]}})}var Ib=g1({},lb);Ib[U0]=g1(g1(g1(g1({},{"fa-duotone":"duotone"}),lb[U0]),Dy.kit),Dy["kit-duotone"]);var VH=K9(Ib),hp=g1({},DV);hp[U0]=g1(g1(g1(g1({},{duotone:"fad"}),hp[U0]),Oy.kit),Oy["kit-duotone"]);var Iy=K9(hp),pp=g1({},dp);pp[U0]=g1(g1({},pp[U0]),HV.kit);var kp=K9(pp),gp=g1({},NH);gp[U0]=g1(g1({},gp[U0]),FV.kit);var l61=K9(gp),HH=oV,Pb="fa-layers-text",BH=lV,UH=g1({}
37,kV),f61=K9(UH),$H=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ap=fV,jH=[].concat(S8(OV),S8(EH)),G9=ec.FontAwesomeConfig||{};function WH(t){var c=x4.querySelector("script["+t+"]");if(c)return c.getAttribute(t)}function GH(t){return t===""?!0:t==="false"?!1:t==="true"?!0:t}x4&&typeof x4.querySelector=="function"&&(Py=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],Py.forEach(function(t){var c=ko(t,2),e=c[0],i=c[1],n=GH(WH(e));n!=null&&(G9[i]=n)}));var Py,Rb={styleDefault:"solid",familyDefault:U0,cssPrefix:Tb,replacementClass:Db,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};G9.familyPrefix&&(G9.cssPrefix=G9.familyPrefix);var hi=g1(g1({},Rb),G9);hi.autoReplaceSvg||(hi.observeMutations=!1);var V1={};Object.keys(Rb).forEach(function(t){Object.defineProperty(V1,t,{enumerable:!0,set:function(e){hi[t]=e,q9.forEach(function(i){return i(V1)})},get:function(){return hi[t]}})});Object.defineProperty(V1,"familyPrefix",{enumerable:!0,set:function(c){hi.cssPrefix=c,q9.forEach(function(e){return e(V1)})},get:function(){return hi.cssPrefix}});ec.FontAwesomeConfig=V1;var q9=[];function qH(t){return q9.push(t),function(){q9.splice(q9.indexOf(t),1)}}var J5=mp,ne={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function YH(t){if(!(!t||!Qe)){var c=x4.createElement("style");c.setAttribute("type","text/css"),c.innerHTML=t;for(var e=x4.head.childNodes,i=null,n=e.length-1;n>-1;n--){var a=e[n],r=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(r)>-1&&(i=a)}return x4.head.insertBefore(c,i),t}}var ZH="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ry(){for(var t=12,c="";t-- >0;)c+=ZH[Math.random()*62|0];return c}function pi(t){for(var c=[],e=(t||[]).length>>>0;e--;)c[e]=t[e];return c}function Ap(t){return t.classList?pi(t.classList):(t.getAttribute("class")||"").split(" ").filter(function(c){return c})}function Fb(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function KH(t){return Object.keys(t||{}).reduce(function(c,e){return c+"".concat(e,'="').concat(Fb(t[e]),'" ')},"").trim()}function Ao(t){return Object.keys(t||{}).reduce(function(c,e){return c+"".concat(e,": ").concat(t[e].trim(),";")},"")}function Tp(t){return t.size!==ne.size||t.x!==ne.x||t.y!==ne.y||t.rotate!==ne.rotate||t.flipX||t.flipY}function XH(t){var c=t.transform,e=t.containerWidth,i=t.iconWidth,n={transform:"translate(".concat(e/2," 256)")},a="translate(".concat(c.x*32,", ").concat(c.y*32,") "),r="scale(".concat(c.size/16*(c.flipX?-1:1),", ").concat(c.size/16*(c.flipY?-1:1),") "),l="rotate(".concat(c.rotate," 0 0)"),f={transform:"".concat(a," ").concat(r," ").concat(l)},m={transform:"translate(".concat(i/2*-1," -256)")};return{outer:n,inner:f,path:m}}function QH(t){var c=t.transform,e=t.width,i=e===void 0?mp:e,n=t.height,a=n===void 0?mp:n,r=t.startCentered,l=r===void 0?!1:r,f="";return l&&ob?f+="translate(".concat(c.x/J5-i/2,"em, ").concat(c.y/J5-a/2,"em) "):l?f+="translate(calc(-50% + ".concat(c.x/J5,"em), calc(-50% + ").concat(c.y/J5,"em)) "):f+="translate(".concat(c.x/J5,"em, ").concat(c.y/J5,"em) "),f+="scale(".concat(c.size/J5*(c.flipX?-1:1),", ").concat(c.size/J5*(c.flipY?-1:1),") "),f+="rotate(".concat(c.rotate,"deg) "),f}var JH=`:root, :host { 38 --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free"; 39 --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free"; 40 --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro"; 41 --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro"; 42 --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone"; 43 --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone"; 44 --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone"; 45 --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone"; 46 --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands"; 47 --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp"; 48 --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp"; 49 --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp"; 50 --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp"; 51 --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone"; 52 --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone"; 53 --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone"; 54 --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone"; 55 --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab"; 56 --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press"; 57 --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard"; 58 --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint"; 59 --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog"; 60 --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo"; 61 --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch"; 62 --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly"; 63 --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
64 --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo"; 65 --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel"; 66 --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility"; 67 --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo"; 68 --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill"; 69} 70 71.svg-inline--fa { 72 box-sizing: content-box; 73 display: var(--fa-display, inline-block); 74 height: 1em; 75 overflow: visible; 76 vertical-align: -0.125em; 77 width: var(--fa-width, 1.25em); 78} 79.svg-inline--fa.fa-2xs { 80 vertical-align: 0.1em; 81} 82.svg-inline--fa.fa-xs { 83 vertical-align: 0em; 84} 85.svg-inline--fa.fa-sm { 86 vertical-align: -0.0714285714em; 87} 88.svg-inline--fa.fa-lg { 89 vertical-align: -0.2em; 90} 91.svg-inline--fa.fa-xl { 92 vertical-align: -0.25em; 93} 94.svg-inline--fa.fa-2xl { 95 vertical-align: -0.3125em; 96} 97.svg-inline--fa.fa-pull-left, 98.svg-inline--fa .fa-pull-start { 99 float: inline-start; 100 margin-inline-end: var(--fa-pull-margin, 0.3em); 101} 102.svg-inline--fa.fa-pull-right, 103.svg-inline--fa .fa-pull-end { 104 float: inline-end; 105 margin-inline-start: var(--fa-pull-margin, 0.3em); 106} 107.svg-inline--fa.fa-li { 108 width: var(--fa-li-width, 2em); 109 inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); 110 inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */ 111} 112 113.fa-layers-counter, .fa-layers-text { 114 display: inline-block; 115 position: absolute; 116 text-align: center; 117} 118 119.fa-layers { 120 display: inline-block; 121 height: 1em; 122 position: relative; 123 text-align: center; 124 vertical-align: -0.125em; 125 width: var(--fa-width, 1.25em); 126} 127.fa-layers .svg-inline--fa { 128 inset: 0; 129 margin: auto; 130 position: absolute; 131 transform-origin: center center; 132} 133 134.fa-layers-text { 135 left: 50%; 136 top: 50%; 137 transform: translate(-50%, -50%); 138 transform-origin: center center; 139} 140 141.fa-layers-counter { 142 background-color: var(--fa-counter-background-color, #ff253a); 143 border-radius: var(--fa-counter-border-radius, 1em); 144 box-sizing: border-box; 145 color: var(--fa-inverse, #fff); 146 line-height: var(--fa-counter-line-height, 1); 147 max-width: var(--fa-counter-max-width, 5em); 148 min-width: var(--fa-counter-min-width, 1.5em); 149 overflow: hidden; 150 padding: var(--fa-counter-padding, 0.25em 0.5em); 151 right: var(--fa-right, 0); 152 text-overflow: ellipsis; 153 top: var(--fa-top, 0); 154 transform: scale(var(--fa-counter-scale, 0.25)); 155 transform-origin: top right; 156} 157 158.fa-layers-bottom-right { 159 bottom: var(--fa-bottom, 0); 160 right: var(--fa-right, 0); 161 top: auto; 162 transform: scale(var(--fa-layers-scale, 0.25)); 163 transform-origin: bottom right; 164} 165 166.fa-layers-bottom-left { 167 bottom: var(--fa-bottom, 0); 168 left: var(--fa-left, 0); 169 right: auto; 170 top: auto; 171 transform: scale(var(--fa-layers-scale, 0.25)); 172 transform-origin: bottom left; 173} 174 175.fa-layers-top-right { 176 top: var(--fa-top, 0); 177 right: var(--fa-right, 0); 178 transform: scale(var(--fa-layers-scale, 0.25)); 179 transform-origin: top right; 180} 181 182.fa-layers-top-left { 183 left: var(--fa-left, 0); 184 right: auto; 185 top: var(--fa-top, 0); 186 transform: scale(var(--fa-layers-scale, 0.25)); 187 transform-origin: top left; 188} 189 190.fa-1x { 191 font-size: 1em; 192} 193 194.fa-2x { 195 font-size: 2em; 196} 197 198.fa-3x { 199 font-size: 3em; 200} 201 202.fa-4x { 203 font-size: 4em; 204} 205 206.fa-5x { 207 font-size: 5em; 208} 209 210.fa-6x { 211 font-size: 6em; 212} 213 214.fa-7x { 215 font-size: 7em; 216} 217 218.fa-8x { 219 font-size: 8em; 220} 221 222.fa-9x { 223 font-size: 9em; 224} 225 226.fa-10x { 227 font-size: 10em; 228} 229 230.fa-2xs { 231 font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */ 232 line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */ 233 vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 234} 235 236.fa-xs { 237 font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */ 238 line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */ 239 vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 240} 241 242.fa-sm { 243 font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */ 244 line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */ 245 vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 246} 247 248.fa-lg { 249 font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */ 250 line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */ 251 vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 252} 253 254.fa-xl { 255 font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */ 256 line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */ 257 vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 258} 259 260.fa-2xl { 261 font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */ 262 line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */ 263 vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */ 264} 265 266.fa-width-auto { 267 --fa-width: auto; 268} 269 270.fa-fw, 271.fa-width-fixed { 272 --fa-width: 1.25em; 273} 274 275.fa-ul { 276 list-style-type: none; 277 margin-inline-start: var(--fa-li-margin, 2.5em); 278 padding-inline-start: 0; 279} 280.fa-ul > li { 281 position: relative; 282} 283 284.fa-li { 285 inset-inline-start: calc(-1 * var(--fa-li-width, 2em)); 286 position: absolute; 287 text-align: center; 288 width: var(--fa-li-width, 2em); 289 line-height: inherit; 290} 291
292/* Heads Up: Bordered Icons will not be supported in the future! 293 - This feature will be deprecated in the next major release of Font Awesome (v8)! 294 - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8. 295*/ 296/* Notes: 297* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size) 298* --@{v.$css-prefix}-border-padding = 299 ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment) 300 ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon) 301*/ 302.fa-border { 303 border-color: var(--fa-border-color, #eee); 304 border-radius: var(--fa-border-radius, 0.1em); 305 border-style: var(--fa-border-style, solid); 306 border-width: var(--fa-border-width, 0.0625em); 307 box-sizing: var(--fa-border-box-sizing, content-box); 308 padding: var(--fa-border-padding, 0.1875em 0.25em); 309} 310 311.fa-pull-left, 312.fa-pull-start { 313 float: inline-start; 314 margin-inline-end: var(--fa-pull-margin, 0.3em); 315} 316 317.fa-pull-right, 318.fa-pull-end { 319 float: inline-end; 320 margin-inline-start: var(--fa-pull-margin, 0.3em); 321} 322 323.fa-beat { 324 animation-name: fa-beat; 325 animation-delay: var(--fa-animation-delay, 0s); 326 animation-direction: var(--fa-animation-direction, normal); 327 animation-duration: var(--fa-animation-duration, 1s); 328 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 329 animation-timing-function: var(--fa-animation-timing, ease-in-out); 330} 331 332.fa-bounce { 333 animation-name: fa-bounce; 334 animation-delay: var(--fa-animation-delay, 0s); 335 animation-direction: var(--fa-animation-direction, normal); 336 animation-duration: var(--fa-animation-duration, 1s); 337 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 338 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); 339} 340 341.fa-fade { 342 animation-name: fa-fade; 343 animation-delay: var(--fa-animation-delay, 0s); 344 animation-direction: var(--fa-animation-direction, normal); 345 animation-duration: var(--fa-animation-duration, 1s); 346 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 347 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 348} 349 350.fa-beat-fade { 351 animation-name: fa-beat-fade; 352 animation-delay: var(--fa-animation-delay, 0s); 353 animation-direction: var(--fa-animation-direction, normal); 354 animation-duration: var(--fa-animation-duration, 1s); 355 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 356 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 357} 358 359.fa-flip { 360 animation-name: fa-flip; 361 animation-delay: var(--fa-animation-delay, 0s); 362 animation-direction: var(--fa-animation-direction, normal); 363 animation-duration: var(--fa-animation-duration, 1s); 364 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 365 animation-timing-function: var(--fa-animation-timing, ease-in-out); 366} 367 368.fa-shake { 369 animation-name: fa-shake; 370 animation-delay: var(--fa-animation-delay, 0s); 371 animation-direction: var(--fa-animation-direction, normal); 372 animation-duration: var(--fa-animation-duration, 1s); 373 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 374 animation-timing-function: var(--fa-animation-timing, linear); 375} 376 377.fa-spin { 378 animation-name: fa-spin; 379 animation-delay: var(--fa-animation-delay, 0s); 380 animation-direction: var(--fa-animation-direction, normal); 381 animation-duration: var(--fa-animation-duration, 2s); 382 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 383 animation-timing-function: var(--fa-animation-timing, linear); 384} 385 386.fa-spin-reverse { 387 --fa-animation-direction: reverse; 388} 389 390.fa-pulse, 391.fa-spin-pulse { 392 animation-name: fa-spin; 393 animation-direction: var(--fa-animation-direction, normal); 394 animation-duration: var(--fa-animation-duration, 1s); 395 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 396 animation-timing-function: var(--fa-animation-timing, steps(8)); 397} 398 399@media (prefers-reduced-motion: reduce) { 400 .fa-beat, 401 .fa-bounce, 402 .fa-fade, 403 .fa-beat-fade, 404 .fa-flip, 405 .fa-pulse, 406 .fa-shake, 407 .fa-spin, 408 .fa-spin-pulse { 409 animation: none !important; 410 transition: none !important; 411 } 412} 413@keyframes fa-beat { 414 0%, 90% { 415 transform: scale(1); 416 } 417 45% { 418 transform: scale(var(--fa-beat-scale, 1.25)); 419 } 420} 421@keyframes fa-bounce { 422 0% { 423 transform: scale(1, 1) translateY(0); 424 } 425 10% { 426 transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); 427 } 428 30% { 429 transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); 430 } 431 50% { 432 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); 433 } 434 57% { 435 transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); 436 } 437 64% { 438 transform: scale(1, 1) translateY(0); 439 } 440 100% { 441 transform: scale(1, 1) translateY(0); 442 } 443} 444@keyframes fa-fade { 445 50% { 446 opacity: var(--fa-fade-opacity, 0.4); 447 } 448} 449@keyframes fa-beat-fade { 450 0%, 100% { 451 opacity: var(--fa-beat-fade-opacity, 0.4); 452 transform: scale(1); 453 } 454 50% { 455 opacity: 1; 456 transform: scale(var(--fa-beat-fade-scale, 1.125)); 457 } 458} 459@keyframes fa-flip { 460 50% { 461 transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); 462 } 463} 464@keyframes fa-shake { 465 0% { 466 transform: rotate(-15deg); 467 } 468 4% { 469 transform: rotate(15deg); 470 } 471 8%, 24% { 472 transform: rotate(-18deg); 473 } 474 12%, 28% { 475 transform: rotate(18deg); 476 } 477 16% { 478 transform: rotate(-22deg); 479 } 480 20% { 481 transform: rotate(22deg); 482 } 483 32% { 484 transform: rotate(-12deg); 485 } 486 36% { 487 transform: rotate(12deg); 488 } 489 40%, 100% { 490 transform: rotate(0deg); 491 } 492} 493@keyframes fa-spin { 494 0% { 495 transform: rotate(0deg); 496 } 497 100% { 498 transform: rotate(360deg); 499 } 500} 501.fa-rotate-90 { 502 transform: rotate(90deg); 503} 504 505.fa-rotate-180 { 506 transform: rotate(180deg); 507} 508 509.fa-rotate-270 { 510 transform: rotate(270deg); 511} 512 513.fa-flip-horizontal { 514 transform: scale(-1, 1); 515} 516
517.fa-flip-vertical { 518 transform: scale(1, -1); 519} 520 521.fa-flip-both, 522.fa-flip-horizontal.fa-flip-vertical { 523 transform: scale(-1, -1); 524} 525 526.fa-rotate-by { 527 transform: rotate(var(--fa-rotate-angle, 0)); 528} 529 530.svg-inline--fa .fa-primary { 531 fill: var(--fa-primary-color, currentColor); 532 opacity: var(--fa-primary-opacity, 1); 533} 534 535.svg-inline--fa .fa-secondary { 536 fill: var(--fa-secondary-color, currentColor); 537 opacity: var(--fa-secondary-opacity, 0.4); 538} 539 540.svg-inline--fa.fa-swap-opacity .fa-primary { 541 opacity: var(--fa-secondary-opacity, 0.4); 542} 543 544.svg-inline--fa.fa-swap-opacity .fa-secondary { 545 opacity: var(--fa-primary-opacity, 1); 546} 547 548.svg-inline--fa mask .fa-primary, 549.svg-inline--fa mask .fa-secondary { 550 fill: black; 551} 552 553.svg-inline--fa.fa-inverse { 554 fill: var(--fa-inverse, #fff); 555} 556 557.fa-stack { 558 display: inline-block; 559 height: 2em; 560 line-height: 2em; 561 position: relative; 562 vertical-align: middle; 563 width: 2.5em; 564} 565 566.fa-inverse { 567 color: var(--fa-inverse, #fff); 568} 569 570.svg-inline--fa.fa-stack-1x { 571 --fa-width: 1.25em; 572 height: 1em; 573 width: var(--fa-width); 574} 575.svg-inline--fa.fa-stack-2x { 576 --fa-width: 2.5em; 577 height: 2em; 578 width: var(--fa-width); 579} 580 581.fa-stack-1x, 582.fa-stack-2x { 583 inset: 0; 584 margin: auto; 585 position: absolute; 586 z-index: var(--fa-stack-z-index, auto); 587}`;function Vb(){var t=Tb,c=Db,e=V1.cssPrefix,i=V1.replacementClass,n=JH;if(e!==t||i!==c){var a=new RegExp("\\.".concat(t,"\\-"),"g"),r=new RegExp("\\--".concat(t,"\\-"),"g"),l=new RegExp("\\.".concat(c),"g");n=n.replace(a,".".concat(e,"-")).replace(r,"--".concat(e,"-")).replace(l,".".concat(i))}return n}var Fy=!1;function sp(){V1.autoAddCss&&!Fy&&(YH(Vb()),Fy=!0)}var eB={mixout:function(){return{dom:{css:Vb,insertCss:sp}}},hooks:function(){return{beforeDOMElementCreation:function(){sp()},beforeI2svg:function(){sp()}}}},Xe=ec||{};Xe[Ke]||(Xe[Ke]={});Xe[Ke].styles||(Xe[Ke].styles={});Xe[Ke].hooks||(Xe[Ke].hooks={});Xe[Ke].shims||(Xe[Ke].shims=[]);var w8=Xe[Ke],Hb=[],Bb=function(){x4.removeEventListener("DOMContentLoaded",Bb),So=1,Hb.map(function(c){return c()})},So=!1;Qe&&(So=(x4.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(x4.readyState),So||x4.addEventListener("DOMContentLoaded",Bb));function cB(t){Qe&&(So?setTimeout(t,0):Hb.push(t))}function X9(t){var c=t.tag,e=t.attributes,i=e===void 0?{}:e,n=t.children,a=n===void 0?[]:n;return typeof t=="string"?Fb(t):"<".concat(c," ").concat(KH(i),">").concat(a.map(X9).join(""),"</").concat(c,">")}function Vy(t,c,e){if(t&&t[c]&&t[c][e])return{prefix:c,iconName:e,icon:t[c][e]}}var tB=function(c,e){return function(i,n,a,r){return c.call(e,i,n,a,r)}},rp=function(c,e,i,n){var a=Object.keys(c),r=a.length,l=n!==void 0?tB(e,n):e,f,m,h;for(i===void 0?(f=1,h=c[a[0]]):(f=0,h=i);f<r;f++)m=a[f],h=l(h,c[m],m,c);return h};function Ub(t){return S8(t).length!==1?null:t.codePointAt(0).toString(16)}function Hy(t){return Object.keys(t).reduce(function(c,e){var i=t[e],n=!!i.icon;return n?c[i.iconName]=i.icon:c[e]=i,c},{})}function zp(t,c){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=e.skipHooks,n=i===void 0?!1:i,a=Hy(c);typeof w8.hooks.addPack=="function"&&!n?w8.hooks.addPack(t,Hy(c)):w8.styles[t]=g1(g1({},w8.styles[t]||{}),a),t==="fas"&&zp("fa",c)}var Y9=w8.styles,iB=w8.shims,$b=Object.keys(kp),nB=$b.reduce(function(t,c){return t[c]=Object.keys(kp[c]),t},{}),Dp=null,jb={},Wb={},Gb={},qb={},Yb={};function aB(t){return~jH.indexOf(t)}function sB(t,c){var e=c.split("-"),i=e[0],n=e.slice(1).join("-");return i===t&&n!==""&&!aB(n)?n:null}var Zb=function(){var c=function(a){return rp(Y9,function(r,l,f){return r[f]=rp(l,a,{}),r},{})};jb=c(function(n,a,r){if(a[3]&&(n[a[3]]=r),a[2]){var l=a[2].filter(function(f){return typeof f=="number"});l.forEach(function(f){n[f.toString(16)]=r})}return n}),Wb=c(function(n,a,r){if(n[r]=r,a[2]){var l=a[2].filter(function(f){return typeof f=="string"});l.forEach(function(f){n[f]=r})}return n}),Yb=c(function(n,a,r){var l=a[2];return n[r]=r,l.forEach(function(f){n[f]=r}),n});var e="far"in Y9||V1.autoFetchSvg,i=rp(iB,function(n,a){var r=a[0],l=a[1],f=a[2];return l==="far"&&!e&&(l="fas"),typeof r=="string"&&(n.names[r]={prefix:l,iconName:f}),typeof r=="number"&&(n.unicodes[r.toString(16)]={prefix:l,iconName:f}),n},{names:{},unicodes:{}});Gb=i.names,qb=i.unicodes,Dp=To(V1.styleDefault,{family:V1.familyDefault})};qH(function(t){Dp=To(t.styleDefault,{family:V1.familyDefault})});Zb();function Op(t,c){return(jb[t]||{})[c]}function rB(t,c){return(Wb[t]||{})[c]}function h7(t,c){return(Yb[t]||{})[c]}function Kb(t){return Gb[t]||{prefix:null,iconName:null}}function oB(t){var c=qb[t],e=Op("fas",t);return c||(e?{prefix:"fas",iconName:e}:null)||{prefix:null,iconName:null}}function cc(){return Dp}var Xb=function(){return{prefix:null,iconName:null,rest:[]}};function lB(t){var c=U0,e=$b.reduce(function(i,n){return i[n]="".concat(V1.cssPrefix,"-").concat(n),i},{});return Sb.forEach(function(i){(t.includes(e[i])||t.some(function(n){return nB[i].includes(n)}))&&(c=i)}),c}function To(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=c.family,i=e===void 0?U0:e,n=VH[i][t];if(i===Z9&&!t)return"fad";var a=Iy[i][t]||Iy[i][n],r=t in w8.styles?t:null,l=a||r||null;return l}function fB(t){var c=[],e=null;return t.forEach(function(i){var n=sB(V1.cssPrefix,i);n?e=n:i&&c.push(i)}),{iconName:e,rest:c}}function By(t){return t.sort().filter(function(c,e,i){return i.indexOf(c)===e})}var Uy=kb.concat(Nb);function Do(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=c.skipLookups,i=e===void 0?!1:e,n=null,a=By(t.filter(function(M){return Uy.includes(M)})),r=By(t.filter(function(M){return!Uy.includes(M)})),l=a.filter(function(M){return n=M,!fb.includes(M)}),f=ko(l,1),m=f[0],h=m===void 0?null:m,g=lB(a),v=g1(g1({},fB(r)),{},{prefix:To(h,{family:g})});return g1(g1(g1({},v),hB({values:t,family:g,styles:Y9,config:V1,canonical:v,givenPrefix:n})),dB(i,n,v))}function dB(t,c,e){var i=e.prefix,n=e.iconName;if(t||!i||!n)return{prefix:i,iconName:n};var a=c==="fa"?Kb(n):{},r=h7(i,n);return n=a.iconName||r||n,i=a.prefix||i,i==="far"&&!Y9.far&&Y9.fas&&!V1.autoFetchSvg&&(i="fas"),{prefix:i,iconName:n}}var mB=Sb.filter(function(t){return t!==U0||t!==Z9}),uB=Object.keys(dp).filter(function(t){return t!==U0}).map(function(t){return Object.keys(dp[t])}).flat();function hB(t){var c=t.values,e=t.family,i=t.canonical,n=t.givenPrefix,a=n===void 0?"":n,r=t.styles,l=r===void 0?{}:r,f=t.config,m=f===void 0?{}:f,h=e===Z9,g=c.includes("fa-duotone")||c.includes("fad"),v=m.familyDefault==="duotone",M=i.prefix==="fad"||i.prefix==="fa-duotone";if(!h&&(g||v||M)&&(i.prefix="fad"),(c.includes("fa-brands")||c.includes("fab"))&&(i.prefix="fab"),!i.prefix&&mB.includes(e)){var b=Object.keys(l).find(function(S){return uB.includes(S)});
587if(b||m.autoFetchSvg){var C=TV.get(e).defaultShortPrefixId;i.prefix=C,i.iconName=h7(i.prefix,i.iconName)||i.iconName}}return(i.prefix==="fa"||a==="fa")&&(i.prefix=cc()||"fas"),i}var pB=(function(){function t(){eV(this,t),this.definitions={}}return cV(t,[{key:"add",value:function(){for(var e=this,i=arguments.length,n=new Array(i),a=0;a<i;a++)n[a]=arguments[a];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(l){e.definitions[l]=g1(g1({},e.definitions[l]||{}),r[l]),zp(l,r[l]);var f=kp[U0][l];f&&zp(f,r[l]),Zb()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,i){var n=i.prefix&&i.iconName&&i.icon?{0:i}:i;return Object.keys(n).map(function(a){var r=n[a],l=r.prefix,f=r.iconName,m=r.icon,h=m[2];e[l]||(e[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(e[l][g]=m)}),e[l][f]=m}),e}}])})(),$y=[],mi={},ui={},gB=Object.keys(ui);function zB(t,c){var e=c.mixoutsTo;return $y=t,mi={},Object.keys(ui).forEach(function(i){gB.indexOf(i)===-1&&delete ui[i]}),$y.forEach(function(i){var n=i.mixout?i.mixout():{};if(Object.keys(n).forEach(function(r){typeof n[r]=="function"&&(e[r]=n[r]),wo(n[r])==="object"&&Object.keys(n[r]).forEach(function(l){e[r]||(e[r]={}),e[r][l]=n[r][l]})}),i.hooks){var a=i.hooks();Object.keys(a).forEach(function(r){mi[r]||(mi[r]=[]),mi[r].push(a[r])})}i.provides&&i.provides(ui)}),e}function Lp(t,c){for(var e=arguments.length,i=new Array(e>2?e-2:0),n=2;n<e;n++)i[n-2]=arguments[n];var a=mi[t]||[];return a.forEach(function(r){c=r.apply(null,[c].concat(i))}),c}function g7(t){for(var c=arguments.length,e=new Array(c>1?c-1:0),i=1;i<c;i++)e[i-1]=arguments[i];var n=mi[t]||[];n.forEach(function(a){a.apply(null,e)})}function tc(){var t=arguments[0],c=Array.prototype.slice.call(arguments,1);return ui[t]?ui[t].apply(null,c):void 0}function Mp(t){t.prefix==="fa"&&(t.prefix="fas");var c=t.iconName,e=t.prefix||cc();if(c)return c=h7(e,c)||c,Vy(Qb.definitions,e,c)||Vy(w8.styles,e,c)}var Qb=new pB,LB=function(){V1.autoReplaceSvg=!1,V1.observeMutations=!1,g7("noAuto")},MB={i2svg:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Qe?(g7("beforeI2svg",c),tc("pseudoElements2svg",c),tc("i2svg",c)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=c.autoReplaceSvgRoot;V1.autoReplaceSvg===!1&&(V1.autoReplaceSvg=!0),V1.observeMutations=!0,cB(function(){_B({autoReplaceSvgRoot:e}),g7("watch",c)})}},vB={icon:function(c){if(c===null)return null;if(wo(c)==="object"&&c.prefix&&c.iconName)return{prefix:c.prefix,iconName:h7(c.prefix,c.iconName)||c.iconName};if(Array.isArray(c)&&c.length===2){var e=c[1].indexOf("fa-")===0?c[1].slice(3):c[1],i=To(c[0]);return{prefix:i,iconName:h7(i,e)||e}}if(typeof c=="string"&&(c.indexOf("".concat(V1.cssPrefix,"-"))>-1||c.match(HH))){var n=Do(c.split(" "),{skipLookups:!0});return{prefix:n.prefix||cc(),iconName:h7(n.prefix,n.iconName)||n.iconName}}if(typeof c=="string"){var a=cc();return{prefix:a,iconName:h7(a,c)||c}}}},v6={noAuto:LB,config:V1,dom:MB,parse:vB,library:Qb,findIconDefinition:Mp,toHtml:X9},_B=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=c.autoReplaceSvgRoot,i=e===void 0?x4:e;(Object.keys(w8.styles).length>0||V1.autoFetchSvg)&&Qe&&V1.autoReplaceSvg&&v6.dom.i2svg({node:i})};function Oo(t,c){return Object.defineProperty(t,"abstract",{get:c}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(i){return X9(i)})}}),Object.defineProperty(t,"node",{get:function(){if(Qe){var i=x4.createElement("div");return i.innerHTML=t.html,i.children}}}),t}function CB(t){var c=t.children,e=t.main,i=t.mask,n=t.attributes,a=t.styles,r=t.transform;if(Tp(r)&&e.found&&!i.found){var l=e.width,f=e.height,m={x:l/f/2,y:.5};n.style=Ao(g1(g1({},a),{},{"transform-origin":"".concat(m.x+r.x/16,"em ").concat(m.y+r.y/16,"em")}))}return[{tag:"svg",attributes:n,children:c}]}function yB(t){var c=t.prefix,e=t.iconName,i=t.children,n=t.attributes,a=t.symbol,r=a===!0?"".concat(c,"-").concat(V1.cssPrefix,"-").concat(e):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:g1(g1({},n),{},{id:r}),children:i}]}]}function bB(t){var c=["aria-label","aria-labelledby","title","role"];return c.some(function(e){return e in t})}function Ep(t){var c=t.icons,e=c.main,i=c.mask,n=t.prefix,a=t.iconName,r=t.transform,l=t.symbol,f=t.maskId,m=t.extra,h=t.watchable,g=h===void 0?!1:h,v=i.found?i:e,M=v.width,b=v.height,C=[V1.replacementClass,a?"".concat(V1.cssPrefix,"-").concat(a):""].filter(function(G){return m.classes.indexOf(G)===-1}).filter(function(G){return G!==""||!!G}).concat(m.classes).join(" "),S={children:[],attributes:g1(g1({},m.attributes),{},{"data-prefix":n,"data-icon":a,class:C,role:m.attributes.role||"img",viewBox:"0 0 ".concat(M," ").concat(b)})};!bB(m.attributes)&&!m.attributes["aria-hidden"]&&(S.attributes["aria-hidden"]="true"),g&&(S.attributes[p7]="");var P=g1(g1({},S),{},{prefix:n,iconName:a,main:e,mask:i,maskId:f,transform:r,symbol:l,styles:g1({},m.styles)}),V=i.found&&e.found?tc("generateAbstractMask",P)||{children:[],attributes:{}}:tc("generateAbstractIcon",P)||{children:[],attributes:{}},q=V.children,W=V.attributes;return P.children=q,P.attributes=W,l?yB(P):CB(P)}function jy(t){var c=t.content,e=t.width,i=t.height,n=t.transform,a=t.extra,r=t.watchable,l=r===void 0?!1:r,f=g1(g1({},a.attributes),{},{class:a.classes.join(" ")});l&&(f[p7]="");var m=g1({},a.styles);Tp(n)&&(m.transform=QH({transform:n,startCentered:!0,width:e,height:i}),m["-webkit-transform"]=m.transform);var h=Ao(m);h.length>0&&(f.style=h);var g=[];return g.push({tag:"span",attributes:f,children:[c]}),g}function xB(t){var c=t.content,e=t.extra,i=g1(g1({},e.attributes),{},{class:e.classes.join(" ")}),n=Ao(e.styles);n.length>0&&(i.style=n);var a=[];return a.push({tag:"span",attributes:i,children:[c]}),a}var op=w8.styles;function vp(t){var c=t[0],e=t[1],i=t.slice(4),n=ko(i,1),a=n[0],r=null;return Array.isArray(a)?r={tag:"g",attributes:{class:"".concat(V1.cssPrefix,"-").concat(ap.GROUP)},children:[{tag:"path",attributes:{class:"".concat(V1.cssPrefix,"-").concat(ap.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(V1.cssPrefix,"-").concat(ap.PRIMARY),fill:"currentColor",d:a[1]}}]}
587:r={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:c,height:e,icon:r}}var wB={found:!1,width:512,height:512};function SB(t,c){!Eb&&!V1.showMissingIcons&&t&&console.error('Icon with name "'.concat(t,'" and prefix "').concat(c,'" is missing.'))}function _p(t,c){var e=c;return c==="fa"&&V1.styleDefault!==null&&(c=cc()),new Promise(function(i,n){if(e==="fa"){var a=Kb(t)||{};t=a.iconName||t,c=a.prefix||c}if(t&&c&&op[c]&&op[c][t]){var r=op[c][t];return i(vp(r))}SB(t,c),i(g1(g1({},wB),{},{icon:V1.showMissingIcons&&t?tc("missingIconAbstract")||{}:{}}))})}var Wy=function(){},Cp=V1.measurePerformance&&_o&&_o.mark&&_o.measure?_o:{mark:Wy,measure:Wy},W9='FA "7.1.0"',NB=function(c){return Cp.mark("".concat(W9," ").concat(c," begins")),function(){return Jb(c)}},Jb=function(c){Cp.mark("".concat(W9," ").concat(c," ends")),Cp.measure("".concat(W9," ").concat(c),"".concat(W9," ").concat(c," begins"),"".concat(W9," ").concat(c," ends"))},Ip={begin:NB,end:Jb},bo=function(){};function Gy(t){var c=t.getAttribute?t.getAttribute(p7):null;return typeof c=="string"}function kB(t){var c=t.getAttribute?t.getAttribute(Sp):null,e=t.getAttribute?t.getAttribute(Np):null;return c&&e}function AB(t){return t&&t.classList&&t.classList.contains&&t.classList.contains(V1.replacementClass)}function TB(){if(V1.autoReplaceSvg===!0)return xo.replace;var t=xo[V1.autoReplaceSvg];return t||xo.replace}function DB(t){return x4.createElementNS("http://www.w3.org/2000/svg",t)}function OB(t){return x4.createElement(t)}function ex(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=c.ceFn,i=e===void 0?t.tag==="svg"?DB:OB:e;if(typeof t=="string")return x4.createTextNode(t);var n=i(t.tag);Object.keys(t.attributes||[]).forEach(function(r){n.setAttribute(r,t.attributes[r])});var a=t.children||[];return a.forEach(function(r){n.appendChild(ex(r,{ceFn:i}))}),n}function EB(t){var c=" ".concat(t.outerHTML," ");return c="".concat(c,"Font Awesome fontawesome.com "),c}var xo={replace:function(c){var e=c[0];if(e.parentNode)if(c[1].forEach(function(n){e.parentNode.insertBefore(ex(n),e)}),e.getAttribute(p7)===null&&V1.keepOriginalSource){var i=x4.createComment(EB(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(c){var e=c[0],i=c[1];if(~Ap(e).indexOf(V1.replacementClass))return xo.replace(c);var n=new RegExp("".concat(V1.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var a=i[0].attributes.class.split(" ").reduce(function(l,f){return f===V1.replacementClass||f.match(n)?l.toSvg.push(f):l.toNode.push(f),l},{toNode:[],toSvg:[]});i[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?e.removeAttribute("class"):e.setAttribute("class",a.toNode.join(" "))}var r=i.map(function(l){return X9(l)}).join(` 588`);e.setAttribute(p7,""),e.innerHTML=r}};function qy(t){t()}function cx(t,c){var e=typeof c=="function"?c:bo;if(t.length===0)e();else{var i=qy;V1.mutateApproach===RH&&(i=ec.requestAnimationFrame||qy),i(function(){var n=TB(),a=Ip.begin("mutate");t.map(n),a(),e()})}}var Pp=!1;function tx(){Pp=!0}function yp(){Pp=!1}var No=null;function Yy(t){if(Ty&&V1.observeMutations){var c=t.treeCallback,e=c===void 0?bo:c,i=t.nodeCallback,n=i===void 0?bo:i,a=t.pseudoElementsCallback,r=a===void 0?bo:a,l=t.observeMutationsRoot,f=l===void 0?x4:l;No=new Ty(function(m){if(!Pp){var h=cc();pi(m).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!Gy(g.addedNodes[0])&&(V1.searchPseudoElements&&r(g.target),e(g.target)),g.type==="attributes"&&g.target.parentNode&&V1.searchPseudoElements&&r([g.target],!0),g.type==="attributes"&&Gy(g.target)&&~$H.indexOf(g.attributeName))if(g.attributeName==="class"&&kB(g.target)){var v=Do(Ap(g.target)),M=v.prefix,b=v.iconName;g.target.setAttribute(Sp,M||h),b&&g.target.setAttribute(Np,b)}else AB(g.target)&&n(g.target)})}}),Qe&&No.observe(f,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function IB(){No&&No.disconnect()}function PB(t){var c=t.getAttribute("style"),e=[];return c&&(e=c.split(";").reduce(function(i,n){var a=n.split(":"),r=a[0],l=a.slice(1);return r&&l.length>0&&(i[r]=l.join(":").trim()),i},{})),e}function RB(t){var c=t.getAttribute("data-prefix"),e=t.getAttribute("data-icon"),i=t.innerText!==void 0?t.innerText.trim():"",n=Do(Ap(t));return n.prefix||(n.prefix=cc()),c&&e&&(n.prefix=c,n.iconName=e),n.iconName&&n.prefix||(n.prefix&&i.length>0&&(n.iconName=rB(n.prefix,t.innerText)||Op(n.prefix,Ub(t.innerText))),!n.iconName&&V1.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(n.iconName=t.firstChild.data)),n}function FB(t){var c=pi(t.attributes).reduce(function(e,i){return e.name!=="class"&&e.name!=="style"&&(e[i.name]=i.value),e},{});return c}function VB(){return{iconName:null,prefix:null,transform:ne,symbol
588:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Zy(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},e=RB(t),i=e.iconName,n=e.prefix,a=e.rest,r=FB(t),l=Lp("parseNodeAttributes",{},t),f=c.styleParser?PB(t):[];return g1({iconName:i,prefix:n,transform:ne,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:f,attributes:r}},l)}var HB=w8.styles;function ix(t){var c=V1.autoReplaceSvg==="nest"?Zy(t,{styleParser:!1}):Zy(t);return~c.extra.classes.indexOf(Pb)?tc("generateLayersText",t,c):tc("generateSvgReplacementMutation",t,c)}function BB(){return[].concat(S8(Nb),S8(kb))}function Ky(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Qe)return Promise.resolve();var e=x4.documentElement.classList,i=function(g){return e.add("".concat(Ey,"-").concat(g))},n=function(g){return e.remove("".concat(Ey,"-").concat(g))},a=V1.autoFetchSvg?BB():fb.concat(Object.keys(HB));a.includes("fa")||a.push("fa");var r=[".".concat(Pb,":not([").concat(p7,"])")].concat(a.map(function(h){return".".concat(h,":not([").concat(p7,"])")})).join(", ");if(r.length===0)return Promise.resolve();var l=[];try{l=pi(t.querySelectorAll(r))}catch(h){}if(l.length>0)i("pending"),n("complete");else return Promise.resolve();var f=Ip.begin("onTree"),m=l.reduce(function(h,g){try{var v=ix(g);v&&h.push(v)}catch(M){Eb||M.name==="MissingIcon"&&console.error(M)}return h},[]);return new Promise(function(h,g){Promise.all(m).then(function(v){cx(v,function(){i("active"),i("complete"),n("pending"),typeof c=="function"&&c(),f(),h()})}).catch(function(v){f(),g(v)})})}function UB(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ix(t).then(function(e){e&&cx([e],c)})}function $B(t){return function(c){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(c||{}).icon?c:Mp(c||{}),n=e.mask;return n&&(n=(n||{}).icon?n:Mp(n||{})),t(i,g1(g1({},e),{},{mask:n}))}}var jB=function(c){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.transform,n=i===void 0?ne:i,a=e.symbol,r=a===void 0?!1:a,l=e.mask,f=l===void 0?null:l,m=e.maskId,h=m===void 0?null:m,g=e.classes,v=g===void 0?[]:g,M=e.attributes,b=M===void 0?{}:M,C=e.styles,S=C===void 0?{}:C;if(c){var P=c.prefix,V=c.iconName,q=c.icon;return Oo(g1({type:"icon"},c),function(){return g7("beforeDOMElementCreation",{iconDefinition:c,params:e}),Ep({icons:{main:vp(q),mask:f?vp(f.icon):{found:!1,width:null,height:null,icon:{}}},prefix:P,iconName:V,transform:g1(g1({},ne),n),symbol:r,maskId:h,extra:{attributes:b,styles:S,classes:v}})})}},WB={mixout:function(){return{icon:$B(jB)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Ky,e.nodeCallback=UB,e}}},provides:function(c){c.i2svg=function(e){var i=e.node,n=i===void 0?x4:i,a=e.callback,r=a===void 0?function(){}:a;return Ky(n,r)},c.generateSvgReplacementMutation=function(e,i){var n=i.iconName,a=i.prefix,r=i.transform,l=i.symbol,f=i.mask,m=i.maskId,h=i.extra;return new Promise(function(g,v){Promise.all([_p(n,a),f.iconName?_p(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(M){var b=ko(M,2),C=b[0],S=b[1];g([e,Ep({icons:{main:C,mask:S},prefix:a,iconName:n,transform:r,symbol:l,maskId:m,extra:h,watchable:!0})])}).catch(v)})},c.generateAbstractIcon=function(e){var i=e.children,n=e.attributes,a=e.main,r=e.transform,l=e.styles,f=Ao(l);f.length>0&&(n.style=f);var m;return Tp(r)&&(m=tc("generateAbstractTransformGrouping",{main:a,transform:r,containerWidth:a.width,iconWidth:a.width})),i.push(m||a.icon),{children:i,attributes:n}}}},GB={mixout:function(){return{layer:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.classes,a=n===void 0?[]:n;return Oo({type:"layer"},function(){g7("beforeDOMElementCreation",{assembler:e,params:i});var r=[];return e(function(l){Array.isArray(l)?l.map(function(f){r=r.concat(f.abstract)}):r=r.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(V1.cssPrefix,"-layers")].concat(S8(a)).join(" ")},children:r}]})}}}},qB={mixout:function(){return{counter:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.title,a=n===void 0?null:n,r=i.classes,l=r===void 0?[]:r,f=i.attributes,m=f===void 0?{}:f,h=i.styles,g=h===void 0?{}:h;return Oo({type:"counter",content:e},function(){return g7("beforeDOMElementCreation",{content:e,params:i}),xB({content:e.toString(),title:a,extra:{attributes:m,styles:g,classes:["".concat(V1.cssPrefix,"-layers-counter")].concat(S8(l))}})})}}}},YB={mixout:function(){return{text:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.transform,a=n===void 0?ne:n,r=i.classes,l=r===void 0?[]:r,f=i.attributes,m=f===void 0?{}:f,h=i.styles,g=h===void 0?{}:h;return Oo({type:"text",content:e},function(){return g7("beforeDOMElementCreation",{content:e,params:i}),jy({content:e,transform:g1(g1({},ne),a),extra:{attributes:m,styles:g,classes:["".concat(V1.cssPrefix,"-layers-text")].concat(S8(l))}})})}}},provides:function(c){c.generateLayersText=function(e,i){var n=i.transform,a=i.extra,r=null,l=null;if(ob){var f=parseInt(getComputedStyle(e).fontSize,10),m=e.getBoundingClientRect();r=m.width/f,l=m.height/f}return Promise.resolve([e,jy({content:e.innerHTML,width:r,height:l,transform:n,extra:a,watchable:!0})])}}},nx=new RegExp('"',"ug"),Xy=[1105920,1112319],Qy=g1(g1(g1(g1({},{FontAwesome:{normal:"fas",400:"fas"}}
588),AV),IH),VV),bp=Object.keys(Qy).reduce(function(t,c){return t[c.toLowerCase()]=Qy[c],t},{}),ZB=Object.keys(bp).reduce(function(t,c){var e=bp[c];return t[c]=e[900]||S8(Object.entries(e))[0][1],t},{});function KB(t){var c=t.replace(nx,"");return Ub(S8(c)[0]||"")}function XB(t){var c=t.getPropertyValue("font-feature-settings").includes("ss01"),e=t.getPropertyValue("content"),i=e.replace(nx,""),n=i.codePointAt(0),a=n>=Xy[0]&&n<=Xy[1],r=i.length===2?i[0]===i[1]:!1;return a||r||c}function QB(t,c){var e=t.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(c),n=isNaN(i)?"normal":i;return(bp[e]||{})[n]||ZB[e]}function Jy(t,c){var e="".concat(PH).concat(c.replace(":","-"));return new Promise(function(i,n){if(t.getAttribute(e)!==null)return i();var a=pi(t.children),r=a.filter(function(Q){return Q.getAttribute(up)===c})[0],l=ec.getComputedStyle(t,c),f=l.getPropertyValue("font-family"),m=f.match(BH),h=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(r&&!m)return t.removeChild(r),i();if(m&&g!=="none"&&g!==""){var v=l.getPropertyValue("content"),M=QB(f,h),b=KB(v),C=m[0].startsWith("FontAwesome"),S=XB(l),P=Op(M,b),V=P;if(C){var q=oB(b);q.iconName&&q.prefix&&(P=q.iconName,M=q.prefix)}if(P&&!S&&(!r||r.getAttribute(Sp)!==M||r.getAttribute(Np)!==V)){t.setAttribute(e,V),r&&t.removeChild(r);var W=VB(),G=W.extra;G.attributes[up]=c,_p(P,M).then(function(Q){var l1=Ep(g1(g1({},W),{},{icons:{main:Q,mask:Xb()},prefix:M,iconName:V,extra:G,watchable:!0})),c1=x4.createElementNS("http://www.w3.org/2000/svg","svg");c==="::before"?t.insertBefore(c1,t.firstChild):t.appendChild(c1),c1.outerHTML=l1.map(function(n1){return X9(n1)}).join(` 589`),t.removeAttribute(e),i()}).catch(n)}else i()}else i()})}function JB(t){return Promise.all([Jy(t,"::before"),Jy(t,"::after")])}function eU(t){return t.parentNode!==document.head&&!~FH.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(up)&&(!t.parentNode||t.parentNode.tagName!=="svg")}var cU=function(c){return!!c&&Ob.some(function(e){return c.includes(e)})},tU=function(c){if(!c)return[];var e=new Set,i=c.split(/,(?![^()]*\))/).map(function(f){return f.trim()});i=i.flatMap(function(f){return f.includes("(")?f:f.split(",").map(function(m){return m.trim()})});var n=yo(i),a;try{for(n.s();!(a=n.n()).done;){var r=a.value;if(cU(r)){var l=Ob.reduce(function(f,m){return f.replace(m,"")},r);l!==""&&l!=="*"&&e.add(l)}}}catch(f){n.e(f)}finally{n.f()}return e};function eb(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Qe){var e;if(c)e=t;else if(V1.searchPseudoElementsFullScan)e=t.querySelectorAll("*");else{var i=new Set,n=yo(document.styleSheets),a;try{for(n.s();!(a=n.n()).done;){var r=a.value;try{var l=yo(r.cssRules),f;try{for(l.s();!(f=l.n()).done;){var m=f.value,h=tU(m.selectorText),g=yo(h),v;try{for(g.s();!(v=g.n()).done;){var M=v.value;i.add(M)}}catch(C){g.e(C)}finally{g.f()}}}catch(C){l.e(C)}finally{l.f()}}catch(C){V1.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(r.href," (").concat(C.message,`) 590If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(C){n.e(C)}finally{n.f()}if(!i.size)return;var b=Array.from(i).join(", ");try{e=t.querySelectorAll(b)}catch(C){}}return new Promise(function(C,S){var P=pi(e).filter(eU).map(JB),V=Ip.begin("searchPseudoElements");tx(),Promise.all(P).then(function(){V(),yp(),C()}).catch(function(){V(),yp(),S()})})}}var iU={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=eb,e}}},provides:function(c){c.pseudoElements2svg=function(e){var i=e.node,n=i===void 0?x4:i;V1.searchPseudoElements&&eb(n)}}},cb=!1,nU={mixout:function(){return{dom:{unwatch:function(){tx(),cb=!0}}}},hooks:function(){return{bootstrap:function(){Yy(Lp("mutationObserverCallbacks",{}))},noAuto:function(){IB()},watch:function(e){var i=e.observeMutationsRoot;cb?yp():Yy(Lp("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},tb=function(c){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return c.toLowerCase().split(" ").reduce(function(i,n){var a=n.toLowerCase().split("-"),r=a[0],l=a.slice(1).join("-");if(r&&l==="h")return i.flipX=!0,i;if(r&&l==="v")return i.flipY=!0,i;if(l=parseFloat(l),isNaN(l))return i;switch(r){case"grow":i.size=i.size+l;break;case"shrink":i.size=i.size-l;break;case"left":i.x=i.x-l;break;case"right":i.x=i.x+l;break;case"up":i.y=i.y-l;break;case"down":i.y=i.y+l;break;case"rotate":i.rotate=i.rotate+l;break}return i},e)},aU={mixout:function(){return{parse:{transform:function(e){return tb(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,i){var n=i.getAttribute("data-fa-transform");return n&&(e.transform=tb(n)),e}}},provides:function(c){c.generateAbstractTransformGrouping=function(e){var i=e.main,n=e.transform,a=e.containerWidth,r=e.iconWidth,l={transform:"translate(".concat(a/2," 256)")},f="translate(".concat(n.x*32,", ").concat(n.y*32,") "),m="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),h="rotate(".concat(n.rotate," 0 0)"),g={transform:"".concat(f," ").concat(m," ").concat(h)},v={transform:"translate(".concat(r/2*-1," -256)")},M={outer:l,inner:g,path:v};return{tag:"g",attributes:g1({},M.outer),children:[{tag:"g",attributes:g1({},M.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:g1(g1({},i.icon.attributes),M.path)}]}]}}}},lp={x:0,y:0,width:"100%",height:"100%"};function ib(t){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||c)&&(t.attributes.fill="black"),t}function sU(t){return t.tag==="g"?t.children:[t]}var rU={hooks:function(){return{parseNodeAttributes:function(e,i){var n=i.getAttribute("data-fa-mask"),a=n?Do(n.split(" ").map(function(r){return r.trim()})):Xb();return a.prefix||(a.prefix=cc()),e.mask=a,e.maskId=i.getAttribute("data-fa-mask-id"),e}}},provides:function(c){c.generateAbstractMask=function(e){var i=e.children,n=e.attributes,a=e.main,r=e.mask,l=e.maskId,f=e.transform,m=a.width,h=a.icon,g=r.width,v=r.icon,M=XH({transform:f,containerWidth:g,iconWidth:m}),b={tag:"rect",attributes:g1(g1({},lp),{},{fill:"white"})},C=h.children?{children:h.children.map(ib)}:{},S={tag:"g",attributes:g1({},M.inner),children:[ib(g1({tag:h.tag,attributes:g1(g1({},h.attributes),M.path)},C))]},P={tag:"g",attributes:g1({},M.outer),children:[S]},V="mask-".concat(l||Ry()),q="clip-".concat(l||Ry()),W={tag:"mask",attributes:g1(g1({},lp),{},{id:V,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[b,P]},G={tag:"defs",children:[{tag:"clipPath",attributes:{id:q},children:sU(v)},W]};
590return i.push(G,{tag:"rect",attributes:g1({fill:"currentColor","clip-path":"url(#".concat(q,")"),mask:"url(#".concat(V,")")},lp)}),{children:i,attributes:n}}}},oU={provides:function(c){var e=!1;ec.matchMedia&&(e=ec.matchMedia("(prefers-reduced-motion: reduce)").matches),c.missingIconAbstract=function(){var i=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:g1(g1({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=g1(g1({},a),{},{attributeName:"opacity"}),l={tag:"circle",attributes:g1(g1({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||l.children.push({tag:"animate",attributes:g1(g1({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:g1(g1({},r),{},{values:"1;0;1;1;0;1;"})}),i.push(l),i.push({tag:"path",attributes:g1(g1({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:g1(g1({},r),{},{values:"1;0;0;0;0;1;"})}]}),e||i.push({tag:"path",attributes:g1(g1({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:g1(g1({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},lU={hooks:function(){return{parseNodeAttributes:function(e,i){var n=i.getAttribute("data-fa-symbol"),a=n===null?!1:n===""?!0:n;return e.symbol=a,e}}}},fU=[eB,WB,GB,qB,YB,iU,nU,aU,rU,oU,lU];zB(fU,{mixoutsTo:v6});var d61=v6.noAuto,ax=v6.config,m61=v6.library,sx=v6.dom,rx=v6.parse,u61=v6.findIconDefinition,h61=v6.toHtml,ox=v6.icon,p61=v6.layer,dU=v6.text,mU=v6.counter;var uU=["*"],hU=(()=>{class t{defaultPrefix="fas";fallbackIcon=null;fixedWidth;set autoAddCss(e){ax.autoAddCss=e,this._autoAddCss=e}get autoAddCss(){return this._autoAddCss}_autoAddCss=!0;static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pU=(()=>{class t{definitions={};addIcons(...e){for(let i of e){i.prefix in this.definitions||(this.definitions[i.prefix]={}),this.definitions[i.prefix][i.iconName]=i;for(let n of i.icon[2])typeof n=="string"&&(this.definitions[i.prefix][n]=i)}}addIconPacks(...e){for(let i of e){let n=Object.keys(i).map(a=>i[a]);this.addIcons(...n)}}getIconDefinition(e,i){return e in this.definitions&&i in this.definitions[e]?this.definitions[e][i]:null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gU=t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)},zU=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},fx=t=>t!=null&&(t===90||t===180||t===270||t==="90"||t==="180"||t==="270"),LU=t=>{let c=fx(t.rotate),e={[`fa-${t.animation}`]:t.animation!=null&&!t.animation.startsWith("spin"),"fa-spin":t.animation==="spin"||t.animation==="spin-reverse","fa-spin-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-spin-reverse":t.animation==="spin-reverse"||t.animation==="spin-pulse-reverse","fa-pulse":t.animation==="spin-pulse"||t.animation==="spin-pulse-reverse","fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter"
590:t.counter,"fa-flip-horizontal":t.flip==="horizontal"||t.flip==="both","fa-flip-vertical":t.flip==="vertical"||t.flip==="both",[`fa-${t.size}`]:t.size!==null,[`fa-rotate-${t.rotate}`]:c,"fa-rotate-by":t.rotate!=null&&!c,[`fa-pull-${t.pull}`]:t.pull!==null,[`fa-stack-${t.stackItemSize}`]:t.stackItemSize!=null};return Object.keys(e).map(i=>e[i]?i:null).filter(i=>i!=null)},Rp=new WeakSet,lx="fa-auto-css";function MU(t,c){if(!c.autoAddCss||Rp.has(t))return;if(t.getElementById(lx)!=null){c.autoAddCss=!1,Rp.add(t);return}let e=t.createElement("style");e.setAttribute("type","text/css"),e.setAttribute("id",lx),e.innerHTML=sx.css();let i=t.head.childNodes,n=null;for(let a=i.length-1;a>-1;a--){let r=i[a],l=r.nodeName.toUpperCase();["STYLE","LINK"].indexOf(l)>-1&&(n=r)}t.head.insertBefore(e,n),c.autoAddCss=!1,Rp.add(t)}var vU=t=>t.prefix!==void 0&&t.iconName!==void 0,_U=(t,c)=>vU(t)?t:Array.isArray(t)&&t.length===2?{prefix:t[0],iconName:t[1]}:{prefix:c,iconName:t},CU=(()=>{class t{stackItemSize=to("1x");size=to();_effect=Yr(()=>{if(this.size())throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')});static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:[1,"stackItemSize"],size:[1,"size"]}})}return t})(),yU=(()=>{class t{size=to();classes=b8(()=>{let e=this.size(),i=e?{[`fa-${e}`]:!0}:{};return m1(E({},i),{"fa-stack":!0})});static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["fa-stack"]],hostVars:2,hostBindings:function(i,n){i&2&&v3(n.classes())},inputs:{size:[1,"size"]},ngContentSelectors:uU,decls:1,vars:0,template:function(i,n){i&1&&(B0(),D0(0))},encapsulation:2,changeDetection:0})}return t})(),Eo=(()=>{class t{icon=y3();title=y3();animation=y3();mask=y3();flip=y3();size=y3();pull=y3();border=y3();inverse=y3();symbol=y3();rotate=y3();fixedWidth=y3();transform=y3();a11yRole=y3();renderedIconHTML=b8(()=>{let e=this.icon()??this.config.fallbackIcon;if(!e)return zU(),"";let i=this.findIconDefinition(e);if(!i)return"";let n=this.buildParams();MU(this.document,this.config);let a=ox(i,n);return this.sanitizer.bypassSecurityTrustHtml(a.html.join(` 591`))});document=B(p2);sanitizer=B(PC);config=B(hU);iconLibrary=B(pU);stackItem=B(CU,{optional:!0});stack=B(yU,{optional:!0});constructor(){this.stack!=null&&this.stackItem==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x" />.')}findIconDefinition(e){let i=_U(e,this.config.defaultPrefix);if("icon"in i)return i;let n=this.iconLibrary.getIconDefinition(i.prefix,i.iconName);return n??(gU(i),null)}buildParams(){let e=this.fixedWidth(),i={flip:this.flip(),animation:this.animation(),border:this.border(),inverse:this.inverse(),size:this.size(),pull:this.pull(),rotate:this.rotate(),fixedWidth:typeof e=="boolean"?e:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize():void 0},n=this.transform(),a=typeof n=="string"?rx.transform(n):n,r=this.mask(),l=r!=null?this.findIconDefinition(r):null,f={},m=this.a11yRole();m!=null&&(f.role=m);let h={};return i.rotate!=null&&!fx(i.rotate)&&(h["--fa-rotate-angle"]=`${i.rotate}`),{title:this.title(),transform:a,classes:LU(i),mask:l??void 0,symbol:this.symbol(),attributes:f,styles:h}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(i,n){i&2&&(J2("innerHTML",n.renderedIconHTML(),bC),T2("title",n.title()??void 0))},inputs:{icon:[1,"icon"],title:[1,"title"],animation:[1,"animation"],mask:[1,"mask"],flip:[1,"flip"],size:[1,"size"],pull:[1,"pull"],border:[1,"border"],inverse:[1,"inverse"],symbol:[1,"symbol"],rotate:[1,"rotate"],fixedWidth:[1,"fixedWidth"],transform:[1,"transform"],a11yRole:[1,"a11yRole"]},outputs:{icon:"iconChange",title:"titleChange",animation:"animationChange",mask:"maskChange",flip:"flipChange",size:"sizeChange",pull:"pullChange",border:"borderChange",inverse:"inverseChange",symbol
591:"symbolChange",rotate:"rotateChange",fixedWidth:"fixedWidthChange",transform:"transformChange",a11yRole:"a11yRoleChange"},decls:0,vars:0,template:function(i,n){},encapsulation:2,changeDetection:0})}return t})();var dx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})();var w61={prefix:"fas",iconName:"arrow-right",icon:[448,512,[],"f061","M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"]};var S61={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},N61={prefix:"fas",iconName:"chevron-left",icon:[320,512,[],"f053","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"]};var k61={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"]};var A61={prefix:"fas",iconName:"edit",icon:[576,512,[],"f044","M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"]};var T61={prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]};var D61={prefix:"fas",iconName:"exclamation-circle",icon:[512,512,[],"f06a","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},O61={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]};var E61={prefix:"fas",iconName:"file-archive",icon:[384,512,[],"f1c6","M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z"]};var I61={prefix:"fas",iconName:"heart",icon:[512,512,[],"f004","M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"]}
591;var P61={prefix:"fas",iconName:"pen-square",icon:[448,512,[],"f14b","M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zM238.1 177.9L102.4 313.6l-6.3 57.1c-.8 7.6 5.6 14.1 13.3 13.3l57.1-6.3L302.2 242c2.3-2.3 2.3-6.1 0-8.5L246.7 178c-2.5-2.4-6.3-2.4-8.6-.1zM345 165.1L314.9 135c-9.4-9.4-24.6-9.4-33.9 0l-23.1 23.1c-2.3 2.3-2.3 6.1 0 8.5l55.5 55.5c2.3 2.3 6.1 2.3 8.5 0L345 199c9.3-9.3 9.3-24.5 0-33.9z"]};var R61={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]};var F61={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},V61={prefix:"fas",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"]};var H61={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]};var B61={prefix:"fas",iconName:"window-close",icon:[512,512,[],"f410","M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-83.6 290.5c4.8 4.8 4.8 12.6 0 17.4l-40.5 40.5c-4.8 4.8-12.6 4.8-17.4 0L256 313.3l-66.5 67.1c-4.8 4.8-12.6 4.8-17.4 0l-40.5-40.5c-4.8-4.8-4.8-12.6 0-17.4l67.1-66.5-67.1-66.5c-4.8-4.8-4.8-12.6 0-17.4l40.5-40.5c4.8-4.8 12.6-4.8 17.4 0l66.5 67.1 66.5-67.1c4.8-4.8 12.6-4.8 17.4 0l40.5 40.5c4.8 4.8 4.8 12.6 0 17.4L313.3 256l67.1 66.5z"]};var ux={name:"mdot",version:"2.13.5",engines:{node:"24"},scripts:{secrets:"node load-secrets.js",dev:"npm run secrets && node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration=local","dev:docker":"npm run secrets && node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration=local-docker --host 0.0.0.0",build:"npm run secrets && ng build --aot --optimization --configuration production","build:local":"npm run secrets && ng build --aot --configuration=local","build:dev":"npm run secrets && ng build --aot --optimization --configuration=development","build:staging":"npm run secrets && ng build --aot --optimization --configuration=staging",test:"npm run secrets && ng test --source-map=false","test:build":"npm run secrets && ng test --source-map=false --watch=false --browsers chrome_headless_no_sandbox",coverage:"npm run secrets && ng test --source-map --no-watch --code-coverage","coverage:ci":"npm run coverage -- --browsers chrome_headless_no_sandbox",lint:"npm run lint:eslint && npm run lint:prettier && npm run lint:tsc","lint:eslint":"eslint ./src --ext .ts --max-warnings=0","lint:prettier":"prettier . --check","lint:tsc":"tsc --noEmit",format:"npm run format:prettier && npm run format:eslint","format:prettier":"prettier --write .","format:eslint":"eslint ./src --fix || true",storybook:"ng run mdot:storybook","build-storybook":"npm run secrets && ng run mdot:build-storybook"},private:!0,dependencies:{"@angular/animations":"21.2.17","@angular/cdk":"^21.2.12","@angular/common":"21.2.17","@angular/compiler":"21.2.17","@angular/core":"21.2.17","@angular/fire":"21.0.0-rc.0","@angular/forms":"21.2.17","@angular/google-maps":"^21.2.12","@angular/localize":"21.2.17","@angular/platform-browser":"21.2.17","@angular/platform-browser-dynamic":"21.2.17","@angular/router":"21.2.17","@fortawesome/angular-fontawesome":"^4.0.0","@fortawesome/fontawesome-svg-core":"^1.2.28","@fortawesome/free-regular-svg-icons":"^6.5.2","@fortawesome/free-solid-svg-icons":"^5.13.0","@fortawesome/pro-regular-svg-icons":"^6.7.1","@fortawesome/pro-solid-svg-icons":"^6.7.1","@newrelic/browser-agent":"^1.308.0","@ng-bootstrap/ng-bootstrap":"^20.0.0","@popperjs/core":"^2.11.8","@sentry/browser":"7.119.1","@types/debug":"4.1.12","@types/hammerjs":"2.0.46","@types/lodash":"4.17.20","@types/openseadragon":"^4.1.0","angular-shepherd":"^22.0.0",binaryjs:"0.2.1",bootstrap:"^5.3.3","check-password-strength":"^3.0.0","core-js":"3.45.1","country-list":"^2.4.1","date-fns":"^4.1.0",debug:"4.4.1",edtf:"^4.9.1",firebase:"^12.18.0","firebase-functions":"^7.0.5","fuse.js":"^7.3.0",gsap:"^3.6.0",hammerjs:"^2.0.8",handlebars:"^4.7.9",iconfonts:"^0.12.0","intersection-observer":"^0.12.2","ios-inner-height":"^1.1.1",keycharm:"^0.4.0",lodash:"^4.18.1",moment:"^2.30.1","ng-in-viewport":"^16.1.0","ng-recaptcha-2":"^21.0.1","ngx-cookie-service":"^21.3.1","ngx-countup":"^13.2.0",openseadragon:"^5.0.1","progressbar.js":"1.1.1",rxjs:"7.8.2",sass:"^1.93.2","time-ago-pipe":"^1.3.2","ts-key-enum":"^3.0.13","vis-data":"^8.0.5","vis-timeline":"^8.5.4","vis-util":"^6.0.2",xss:"^1.0.14","zone.js":"~0.16.2"},devDependencies:{"@angular-devkit/build-angular":"^21.2.23","@angular/build":"^21.2.23","@angular/cli":"21.2.12","@angular/compiler-cli":"21.2.17","@angular/language-service":"21.2.17","@chromatic-com/storybook":"^5.3.0","@eslint/compat":"^2.1.0","@eslint/eslintrc":"^3.3.6","@eslint/js":"^9.39.5","@storybook/addon-docs":"10.5.10","@storybook/addon-links":"10.5.10","@storybook/angular":"10.5.10","@types/country-list":"^2.1.1","@types/jasmine":"^6.0.0","@types/jasminewd2":"^2.0.8","@types/mandrill-api":"^1.0.30","@types/node":"^24.1.0","@types/webpack-env":"^1.18.8","angular-eslint":"^21.4.0",dotenv:"^17.4.2",eslint:"^9.39.4","eslint-config-love":"154.1.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jasmine":"^4.2.2","eslint-plugin-jsdoc":"^
59164.2.1","eslint-plugin-prefer-arrow":"^1.2.2","eslint-plugin-prettier":"^5.5.6","eslint-plugin-storybook":"^10.5.10",globals:"^17.11.0","jasmine-bamboo-reporter":"0.2.1","jasmine-core":"^5.12.1","jasmine-spec-reporter":"~7.0.0",karma:"^6.4.4","karma-chrome-launcher":"^3.2.0","karma-coverage":"^2.2.1","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.3.0","karma-junit-reporter":"^2.0.1","karma-spec-reporter":"^0.0.36","karma-verbose-reporter":"^0.0.8","ng-mocks":"^14.15.3",prettier:"^3.6.2",storybook:"10.5.10","ts-node":"^10.9.1",tslib:"^2.0.0",typescript:"5.9.3","typescript-eslint":"^8.68.0"}};var ic={production:!0,apiUrl:"https://app.permanent.org/api",replayBaseUrl:"https://replay.permanent.org",hmr:!1,firebase:{authDomain:"prpledgeprod.firebaseapp.com",databaseURL:"https://prpledgeprod.firebaseio.com",functionsURL:"https://us-central1-prpledgeprod.cloudfunctions.net",projectId:"prpledgeprod"},debug:!1,release:ux.version,environment:"prod",analyticsDebug:!1,analytics:{googleAnalytics:{trackingId:"UA-117528189-1"},newRelic:{agentID:"1833415784",applicationID:"1833415784",accountID:"3239273",trustKey:"3239273",licenseKey:"NRJS-e4d5bb32df7091210db"}}};var Je=(function(t){return t.List="folder.view.list",t.Grid="folder.view.grid",t.Timeline="folder.view.timeline",t})(Je||{});var Ns=o2(u4());var Io=class{constructor(c){if(c)for(let e in c)c[e]&&(this[e]=c[e])}};var r4=class{constructor(c){if(this.cleanParams=[],c)for(let e in c)c[e]!==void 0&&typeof c[e]!="function"&&(this[e]=c[e])}update(c){if(c)for(let e in c)c[e]!==void 0&&(this[e]=c[e])}getCleanVO(){if(this.cleanParams.length){let c={};return this.cleanParams.forEach(e=>{c[e]=this[e]}),c}else return this}toJSON(){let c={};for(let e in this)this[e]!==void 0&&(c[e]=this[e]);return delete c.cleanParams,delete c.isRecord,delete c.isFolder,delete c.isFetching,delete c.isNewlyCreated,delete c.fetched,delete c.isPendingAction,delete c.dataStatus,delete c.ShareArchiveVO,c}};var h4=class extends r4{constructor(c){super(c),this.notificationPreferences&&typeof this.notificationPreferences=="string"&&(this.notificationPreferences=JSON.parse(this.notificationPreferences))}needsVerification(){return this.status&&this.status.includes("status.auth.need")}phoneNeedsVerification(){return this.phoneStatus==="status.auth.unverified"}emailNeedsVerification(){return this.primaryEmail&&!this.emailStatus||this.emailStatus==="status.auth.unverified"}};var $0=(function(t){return t[t.Placeholder=0]="Placeholder",t[t.Lean=1]="Lean",t[t.Full=2]="Full",t})($0||{});var zx=o2(u4());var t0=(function(t){return t[t.Viewer=0]="Viewer",t[t.Contributor=1]="Contributor",t[t.Editor=2]="Editor",t[t.Curator=3]="Curator",t[t.Manager=4]="Manager",t[t.Owner=5]="Owner",t})(t0||{}),hx={contributor:"access.role.contributor",curator:"access.role.curator",editor:"access.role.editor",manager:"access.role.manager",owner:"access.role.owner",viewer:"access.role.viewer"};function xU(t){return typeof t=="string"&&Object.hasOwn(hx,t)}function wU(t){if(xU(t))return hx[t]}function Po(t){let c=wU(t);return c?{accessRole:c}:{}}var px={"access.role.viewer":"viewer","access.role.editor":"editor","access.role.contributor":"contributor","access.role.curator":"manager","access.role.manager":"manager","access.role.owner":"owner"},gx={viewer:"access.role.viewer",editor:"access.role.editor",contributor:"access.role.contributor",manager:"access.role.curator",owner:"access.role.owner"};function Fp(t,c){return Vp(t)>=c}function Vp(t){switch(t){case"access.role.viewer":return t0.Viewer;case"access.role.editor":return t0.Editor;case"access.role.contributor":return t0.Contributor;case"access.role.curator":return t0.Curator;case"access.role.manager":return t0.Manager;case"access.role.owner":return t0.Owner}}function G6(t){return(0,zx.orderBy)(t,[c=>!!c.status?.includes("pending"),c=>Vp(c.accessRole),c=>c.ArchiveVO.fullName.toLowerCase()],["desc","desc","asc"])}var w4=class extends r4{constructor(c){super(c),this.isPendingAction=!1,this.isNewlyCreated=!1,this.ArchiveVO&&(this.ArchiveVO=new Z2(this.ArchiveVO)),this.FolderVO&&(this.FolderVO=new H1(this.FolderVO)),this.RecordVO&&(this.RecordVO=new C2(this.RecordVO))}};var Li=o2(Bp());function s81(t,c){return Number(t.format(c))}var r81=(t,c)=>String(t).padStart(c,"0");function Lx(t){return t.length===6?t:t[0]+"0"+t.substr(1)}function o81(t,c){return Li.default.utc(t,c)}function l81(t,c){return Li.default.parseZone(t,c)}function Mx(t,c){let e=Li.default.utc(t).local();if(!c)return e;let i=Lx(e.isDST()?c.dstOffset:c.stdOffset);return Li.default.utc(t).utcOffset(i)}function f81(t,c){if(!c)return t.local();let e=Lx(t.clone().local().isDST()?c.dstOffset:c.stdOffset);return t.utcOffset(e)}function ae(t){return!t||t.includes("Z")?t:Li.default.utc(t,"YYYY-MM-DD[T]HH:mm:ss.SSSSSS").toISOString()}function J9(t){return t.toISOString().slice(0,19).replace("T"," ")}
591function vx(t){let c=t.toLocaleString("default",{month:"long"}),e=t.getDate(),i=t.getFullYear();return`${c} ${e}, ${i}`}function _x(t,c){return t.sort((e,i)=>Number(c(i))-Number(c(e)))}var C2=class extends r4{constructor(c,e){super(c),this.cleanParams=["recordId","archiveNbr","folder_linkId","parentFolder_linkId","parentFolderId","uploadFileName"],this.isRecord=!0,this.isFolder=!1,this.isFetching=!1,this.isPendingAction=!1,this.isNewlyCreated=!1,this.dataStatus=$0.Placeholder,this.ShareVOs&&(this.ShareVOs=G6(this.ShareVOs.map(i=>new w4(i)))),e?.dataStatus&&(this.dataStatus=e.dataStatus),this.formatDates()}formatDates(){this.displayDT=ae(this.displayDT),this.displayEndDT=ae(this.displayEndDT),this.derivedDT=ae(this.derivedDT),this.derivedEndDT=ae(this.derivedEndDT)}update(c){if(c)for(let e in c)c[e]!==void 0&&typeof c[e]!="function"&&(this[e]=c[e]);this.ShareVOs&&(this.ShareVOs=this.ShareVOs.map(e=>new w4(e)))}getDownloadOptionsList(){let c=[...this.FileVOs??[]];return _x(c,e=>e.format==="file.format.original").map(e=>({name:e.type,extension:e.type.split(".").pop()}))}};var H1=class t extends r4{constructor(c,e,i){super(c),this.isFolder=!0,this.isRecord=!1,this.isFetching=!1,this.dataStatus=$0.Placeholder,this.isPendingAction=!1,this.isNewlyCreated=!1,e&&(this.ChildItemVOs=this.ChildItemVOs.map(n=>n.folderId?new t(n,!1,i):new C2(n,{dataStatus:i}))),this.ShareVOs&&(this.ShareVOs=G6(this.ShareVOs.map(n=>new w4(n)))),i&&(this.dataStatus=i),this.formatDates()}formatDates(){this.displayDT=ae(this.displayDT),this.displayEndDT=ae(this.displayEndDT),this.derivedDT=ae(this.derivedDT),this.derivedEndDT=ae(this.derivedEndDT)}update(c,e=!1){if(c)for(let i in c)e&&i==="ChildItemVOs"||c[i]!==void 0&&typeof c[i]!="function"&&(this[i]=c[i]);this.ShareVOs&&(this.ShareVOs=this.ShareVOs.map(i=>new w4(i))),this.formatDates()}};var Z2=class extends r4{constructor(c){super(c),this.ItemVOs&&this.ItemVOs.length&&(this.ItemVOs=this.ItemVOs.filter(e=>e.type!==null).map(e=>e.type.includes("folder")?new H1(e,!1,$0.Lean):new C2(e,{dataStatus:$0.Lean})))}isPending(){return this.status?this.status.includes("pending"):!1}};var ea=class extends r4{};var Cx=class extends r4{constructor(c){super(c),this.currency="USD",this.refTableToIncrease="account",this.accountIdThatPaid=c.accountIdThatPaid,this.currency=c.currency??this.currency,this.donationAmount=c.donationAmount,this.donationMatchAmount=c.donationMatchAmount,this.monetaryAmount=c.monetaryAmount,this.receiptEmail=c.receiptEmail,this.refIdToIncrease=c.refIdToIncrease,this.refTableToIncrease=c.refTableToIncrease??this.refTableToIncrease,this.spaceAmountInGb=c.spaceAmountInGb,this.storageAmount=c.storageAmount}};var Mi=class extends r4{constructor(c){super(c),this.connector_overviewId=c.connector_overviewId,this.archiveId=c.archiveId,this.lastExecuteDT=c.lastExecuteDT,this.token=c.token,this.userId=c.userId,this.currentState=c.currentState,this.checkpointDT=c.checkpointDT,this.errorCount=c.errorCount,this.type=c.type,this.status=c.status,this.ConnectorFamilysearchVO=c.ConnectorFamilysearchVO}};var vi=class{constructor(c){this.directiveId="";for(let e in c)c[e]!==void 0&&typeof c[e]!="function"&&(this[e]=c[e])}};var nc=class extends r4{constructor(c){super(c),this.ArchiveVO&&(this.ArchiveVO=new Z2(this.ArchiveVO)),this.AccountVO&&(this.AccountVO=new h4(this.AccountVO)),this.RecordVO&&(this.RecordVO=new C2(this.RecordVO)),this.FolderVO&&(this.FolderVO=new H1(this.FolderVO)),this.ShareVO&&(this.ShareVO=new w4(this.ShareVO))}};var se=(function(t){return t.Approximate="approximate",t.Uncertain="uncertain",t.Unknown="unknown",t})(se||{}),z7={approximate:!1,uncertain:!1,unknown:!1};var ca=class{constructor(c,e){this.csrf=c,this.data=e}};var _i=class extends r4{constructor(c){super(c),c.ArchiveVO&&(this.ArchiveVO=new Z2(c.ArchiveVO)),c.RelationArchiveVO&&(this.RelationArchiveVO=new Z2(c.RelationArchiveVO))}};var L7=class extends r4{constructor(c){super(c),this.ArchiveVO&&(this.ArchiveVO=new Z2(this.ArchiveVO)),this.AccountVO&&(this.AccountVO=new h4(this.AccountVO)),this.RecordVO&&(this.RecordVO=new C2(this.RecordVO)),this.FolderVO&&(this.FolderVO=new H1(this.FolderVO))}};var n3=class extends r4{};var re=class extends r4{constructor(c){super(c),this.tagId=c.tagId,this.name=c.name,this.archiveId=c.archiveId,this.type=c.type}isCustomMetadata(){return this.type?.includes("type.tag.metadata")}};function SU(t){return[{size:256,url:t.thumbnail256},{size:500,url:t.thumbURL500},{size:200,url:t.thumbURL200},{size:1e3,url:t.thumbURL1000},{size:2e3,url:t.thumbURL2000}].find(e=>e.url)}function q6(t){return SU(t)?.url}function NU(t){return[{size:2e3,url:t.thumbURL2000},{size:1e3,url:t.thumbURL1000},{size:500,url:t.thumbURL500},{size:256,url:t.thumbnail256}].find(e=>e.url)}function Se1(t){return NU(t)?.url}var wx=o2(u4());var oe=(()=>{class t{constructor(){this.session=new Ro(window.sessionStorage),this.local=new Ro(window.localStorage)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ro=class{constructor(c){this.storage=c,this.storage||this.setStoreInMemory(!0)}get(c){if(this.storeInMemory)return this.store[c];{let e=this.storage.getItem(c);return!e||e.length<2?e:e[0]==="["&&e[e.length-1]==="]"||e[0]==="{"&&e[e.length-1]==="}"||e[0]==='"'&&e[e.length-1]==='"'?JSON.parse(e):e}}set(c,e){if(this.storeInMemory)this.store[c]=e;else if(e){let i=typeof e=="string";this.storage.setItem(c,i?e:JSON.stringify(e))}else this.delete(c)}delete(c){this.storeInMemory?delete this.store[c]:this.storage.removeItem(c)}clear(){this.storeInMemory?this.store={}:this.storage.clear()}setStoreInMemory(c){this.storeInMemory=c,this.storeInMemory&&!this.store?this.store={}:this.store=null}};var yx="CSRF",Ci=(()=>{class t{constructor(e,i){this.http=e,this.storage=i,this.tokenExpired=new E1,this.apiUrl=ic.apiUrl,this.DefaultResponseClass=l2}sendRequest(e,i=[{}],n){let a=new ca(this.storage.session.get(yx),i),r=this.apiUrl+e;return this.http.post(r,{RequestVO:a},{headers:this.generateHeaders(n)}).pipe(m4(l=>(l&&this.storage.session.set(yx,JSON.stringify(l.csrf)),n?.ResponseClass?new n.ResponseClass(l):new this.DefaultResponseClass(l))),Wr(l=>
591(l.status===401&&this.tokenExpired.next(),Ur(l))))}sendRequestPromise(a){return A(this,arguments,function*(e,i=[{}],n){return yield this.sendRequest(e,i,n).pipe(m4(r=>{if(!r.isSuccessful)throw r;return r})).toPromise()})}generateHeaders(e){let i=this.storage.local.get("AUTH_TOKEN");return e?.useAuthorizationHeader&&i?new O9({Authorization:`Bearer ${i}`}):new O9}static{this.\u0275fac=function(i){return new(i||t)(p1(ei),p1(oe))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Vo=class{encodeKey(c){return encodeURIComponent(c).replace("%5B","[").replace("%5D","]")}encodeValue(c){return encodeURIComponent(c)}decodeKey(c){return decodeURIComponent(c)}decodeValue(c){return decodeURIComponent(c)}};var xx="CSRF",$p="AUTH_TOKEN",ac={csrf:!1,authToken:!0,shareToken:null,useStelaDomain:!0,responseType:"json"};function d0(t){return t.pipe(m4(c=>c[0]))}var le=class t{static{this.HttpHeaders=new O9({"Request-Version":"2","Content-Type":"application/json"})}constructor(c,e,i){this.http=c,this.storage=e,this.secrets=i,this.tokenExpired=new E1,this.apiUrl=ic.apiUrl,this.authToken=this.storage.local.get($p)??""}isAuthTokenSet(){return this.authToken&&this.authToken.length>0}post(c,e={},i,n=ac){return this.makeHttpClientRequest(c,e,"post",i,this.getOptions(n))}get(c,e={},i,n=ac){return this.makeHttpClientRequest(this.getEndpointWithData(c,e),{},"get",i,this.getOptions(n))}put(c,e={},i,n=ac){return this.makeHttpClientRequest(c,e,"put",i,this.getOptions(n))}patch(c,e={},i,n=ac){return this.makeHttpClientRequest(c,e,"patch",i,this.getOptions(n))}delete(c,e={},i,n=ac){return this.makeHttpClientRequest(this.getEndpointWithData(c,e),{},"delete",i,this.getOptions(n))}setAuthToken(c){this.authToken=c,this.storage.local.set($p,c)}clearAuthToken(){this.setAuthToken(null),this.storage.local.delete($p)}getOptions(c){return Object.assign({},ac,c)}updateArrayParamNames(c={}){let e=Object.assign({},c),i=Object.keys(c);for(let n of i)Array.isArray(c[n])&&(e[`${n}[]`]=e[n],delete e[n]);return e}getEndpointWithData(c,e={}){let i=new EC({encoder:new Vo}).appendAll(this.updateArrayParamNames(e));return i.toString().length===0?c:`${c}?${i.toString()}`}appendCsrf(c){return m1(E({},c),{csrf:this.storage.session.get(xx)})}getFullUrl(c,e){return io.joinWithSlash(this.getRequestDomain(c,e),c)}getRequestDomain(c,e){return e.useStelaDomain&&c.match(/^\/*v2\//)&&this.isStelaDomainDefined()?this.secrets.get("STELA_DOMAIN")??this.apiUrl:this.apiUrl}isStelaDomainDefined(){return(this.secrets.get("STELA_DOMAIN")??"").length>0}getHeaders(c){let e=t.HttpHeaders;return this.authToken&&c.authToken&&(e=e.append("Authorization",`Bearer ${this.authToken}`)),c.shareToken&&(e=e.append("X-Permanent-Share-Token",c.shareToken)),{headers:e}}getObservableWithBody(c,e={},i,n){let a=m1(E({},this.getHeaders(n)),{responseType:n.responseType});return i==="put"?this.http.put(c,e,a):i==="patch"?this.http.patch(c,e,a):this.http.post(c,e,a)}getObservableWithNoBody(c,e,i){let n=m1(E({},this.getHeaders(i)),{responseType:i.responseType});return e==="delete"?this.http.delete(c,n):this.http.get(c,n)}getObservable(c,e={},i="post",n=ac){return i==="post"||i==="put"||i==="patch"?this.getObservableWithBody(this.getFullUrl(c,n),n.csrf?this.appendCsrf(e):e,i,n):this.getObservableWithNoBody(this.getFullUrl(c,n),i,n)}makeHttpClientRequest(c,e={},i="post",n,a=ac){return this.getObservable(c,e,i,a).pipe(m4(l=>{if(l!==null)return a.responseType==="text"?[l]:Array.isArray(l)?l.map(f=>n?new n(f):f):("csrf"in l&&this.storage.session.set(xx,l.csrf),n?[new n(l)]:[l])}),Wr(l=>(l.status===401&&this.tokenExpired.next(),Ur(l))))}static{this.\u0275fac=function(e){return new(e||t)(p1(ei),p1(oe),p1(di))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}};var l2=class{constructor(c){c&&(this.isSuccessful=c.isSuccessful,this.isSystemUp=c.isSystemUp,this.Results=c.Results,this.csrf=c.csrf)}getMessage(){return this.Results.length?this.Results[0].message[0]:""}getResults(){return this.Results}getResultsData(){return(0,wx.compact)(this.Results.map(c=>c.data))}getSimpleVO(){return new n3(this.getResultsData()[0][0].SimpleVO)}messageIncludes(c){return this.Results[0].message.indexOf(c)>-1}messageIncludesPhrase(c){for(let e of this.Results[0].message)if(e.includes(c))return!0;return!1}setData(c){this.Results||(this.Results=[{}]),this.Results[0].data=c}setMessage(c){this.Results||(this.Results=[{}]),this.Results[0].message=c}},N2=(()=>{class t{constructor(e,i){this.http=e,this.httpV2=i}static{this.\u0275fac=function(i){return new(i||t)(p1(Ci),p1(le))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),Sx=["displayName","accessRole","description","displayDT","displayEndDT","status","archiveNbr","timeZoneId","locnId","thumbStatus","type","updatedDT","imageRatio","viewProperty","publicDT","createdDT","thumbURL200","thumbURL500","thumbURL1000","thumbURL2000","thumbnail256","thumbDT","refArchiveNbr","folder_linkId","recordId","folderId","position","folder_linkType","stdAbbrev","stdOffset","dstAbbrev","dstOffset"];var Bo=class extends N2{isLoggedIn(){return A(this,null,function*(){return yield this.http.sendRequestPromise("/auth/loggedIn",void 0,{ResponseClass:e5})})}logIn(c,e,i,n){let a=new h4({primaryEmail:c,rememberMe:i,keepLoggedIn:n}),r=new Io({password:e});return this.http.sendRequest("/auth/login",[{AccountVO:a,AccountPasswordVO:r}],{ResponseClass:e5})}logOut(){return this.http.sendRequest("/auth/logout")}
591verify(c,e,i){let n=new h4({primaryEmail:c.primaryEmail,accountId:c.accountId}),a=new ea({token:e,type:i});return this.http.sendRequest("/auth/verify",[{AccountVO:n,AuthVO:a}],{ResponseClass:e5})}forgotPassword(c){let e=new h4({primaryEmail:c});return this.http.sendRequest("/auth/sendEmailForgotPassword",[{AccountVO:e}],{ResponseClass:e5})}updatePassword(c,e,i){return A(this,null,function*(){let n=[{AccountVO:c,AccountPasswordVO:e}];if(i){let a={accountId:parseInt(c.accountId,10),passwordOld:e.passwordOld,password:e.password,passwordVerify:e.passwordVerify,trustToken:i};return yield this.httpV2.post("/account/changePassword",a,null,{csrf:!0}).toPromise()}return yield this.http.sendRequestPromise("/account/changePassword",n,{ResponseClass:e5})})}resendEmailVerification(c){return A(this,null,function*(){let e={primaryEmail:c.primaryEmail,accountId:c.accountId};return yield this.http.sendRequestPromise("/auth/resendMailCreatedAccount",[e],{ResponseClass:e5})})}resendPhoneVerification(c){return A(this,null,function*(){let e={primaryEmail:c.primaryEmail,accountId:c.accountId};return yield this.http.sendRequestPromise("/auth/resendTextCreatedAccount",[e],{ResponseClass:e5})})}getInviteToken(){return A(this,null,function*(){return yield d0(this.httpV2.get("v2/account/signup")).toPromise()})}},e5=class extends l2{getAccountVO(){let c=this.getResultsData();return!c||!c.length||!c[0]?null:new h4(c[0][0].AccountVO)}getArchiveVO(){let c=this.getResultsData();return!c||!c.length?null:new Z2(c[0][0].ArchiveVO)}needsVerification(){return!this.isSuccessful&&this.messageIncludesPhrase("status.auth.need")}needsMFA(){return!this.isSuccessful&&this.messageIncludes("warning.auth.mfaToken")}getTrustToken(){let c=this.getResultsData();return!c||!c.length?null:new n3(c[0][0].SimpleVO)}getAuthToken(){let c=this.getResultsData();if(!c||!c.length)return null;for(let e in c[0][0])if(c[0][0][e]?.key==="authToken")return new n3(c[0][0][e]);return null}};var Uo=class extends N2{get(c){return A(this,null,function*(){let e={accountId:c.accountId};return yield this.http.sendRequestPromise("/account/get",[e],{ResponseClass:ta})})}signUp(c,e,i,n,a,r,l,f,m){let h={primaryEmail:c,primaryPhone:f,fullName:e,agreed:a,optIn:r,password:i,passwordVerify:n,inviteCode:m,createArchive:l};return this.httpV2.clearAuthToken(),d0(this.httpV2.post("/account/post",h,h4,{csrf:!0}))}update(c){return A(this,null,function*(){let e=E({},c);return e.postalCode=e.zip,delete e.zip,(yield P2(this.httpV2.post("/account/update",e,h4)))[0]})}delete(c){return A(this,null,function*(){let e=new h4(c);delete e.notificationPreferences;let i=[{AccountVO:e}];return yield this.http.sendRequestPromise("/account/delete",i,{ResponseClass:ta})})}updateNotificationPreference(c,e){return A(this,null,function*(){let i=[{SimpleVO:new n3({key:c,value:e})}];return yield this.http.sendRequestPromise("/account/updatePreference",i,{ResponseClass:ta})})}updateAccountTags(c,e){return A(this,null,function*(){return yield this.httpV2.put("/v2/account/tags",{addTags:c,removeTags:e},null).toPromise()})}},ta=class extends l2{getAccountVO(){let c=this.getResultsData();return!c||!c.length||!c[0]?null:new h4(c[0][0].AccountVO)}getArchiveVO(){let c=this.getResultsData();return!c||!c.length?null:new Z2(c[0][0].ArchiveVO)}needsVerification(){return!!this.getAccountVO()&&this.getAccountVO().needsVerification()}};var yi=o2(u4());var $o=class extends N2{get(c){return A(this,null,function*(){let e=c.map(i=>({ArchiveVO:new Z2({archiveNbr:i.archiveNbr,archiveId:i.archiveId})}));return yield this.http.sendRequestPromise("/archive/get",e,{ResponseClass:m0})})}getAllArchives(c){return A(this,null,function*(){let e=[{AccountVO:{accountId:c.accountId}}];return yield this.http.sendRequestPromise("/archive/getAllArchives",e,{ResponseClass:m0})})}change(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/change",e,{ResponseClass:m0})})}update(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/update",e,{ResponseClass:m0})})}delete(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/delete",e,{ResponseClass:m0})})}create(c){return A(this,null,function*(){(0,yi.isArray)(c)||(c=[c]);let e=c.map(i=>({ArchiveVO:i}));return yield this.http.sendRequestPromise("/archive/post",e,{ResponseClass:m0,useAuthorizationHeader:!1})})}accept(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/accept",e,{ResponseClass:m0})})}decline(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/decline",e,{ResponseClass:m0})})}getMembers(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/archive/getShares",e,{ResponseClass:m0})})}addMember(c,e){return A(this,null,function*(){let i=[{AccountVO:c,ArchiveVO:e}];return yield this.http.sendRequestPromise("/archive/share",i,{ResponseClass:m0})})}transferOwnership(c,e){return A(this,null,function*(){let i=[{AccountVO:c,ArchiveVO:e}];return yield this.http.sendRequestPromise("/archive/transferOwnership",i,{ResponseClass:m0})})}updateMember(c,e){return A(this,null,function*(){let i=[{AccountVO:c,ArchiveVO:e}];return yield this.http.sendRequestPromise("/archive/updateShare",i,{ResponseClass:m0})})}removeMember(c,e){return A(this,null,function*(){let i=[{AccountVO:c,ArchiveVO:e}];return yield this.http.sendRequestPromise("/archive/unshare",i,{ResponseClass:m0})})}getAllProfileItems(c){return A(this,null,function*(){let e=[{Profile_itemVO:{archiveId:c.archiveId,archiveNbr:c.archiveNbr}}],i=c?.archiveNbr?"/profile_item/getAllByArchiveNbr":"/profile_item/getAllByArchiveId";
591if(!(!c?.archiveId&&!c?.archiveNbr))return yield this.http.sendRequestPromise(i,e,{ResponseClass:m0})})}addUpdateProfileItems(c){return A(this,null,function*(){let e=c.map(i=>({Profile_itemVO:i}));return yield this.http.sendRequestPromise("/profile_item/safeAddUpdate",e,{ResponseClass:m0})})}deleteProfileItem(c){return A(this,null,function*(){let e=[{Profile_itemVO:c}];return yield this.http.sendRequestPromise("/profile_item/delete",e,{ResponseClass:m0})})}getArchiveStorage(c){return A(this,null,function*(){return yield d0(this.httpV2.get(`v2/archive/${c}/payer-account-storage`)).toPromise()})}patchArchive(c,e){return A(this,null,function*(){yield this.httpV2.patch(`v2/archive/${c}`,e).toPromise()})}getPublicArchiveTags(c){return A(this,null,function*(){return yield this.httpV2.get(`v2/archive/${c}/tags/public`).toPromise()})}},m0=class extends l2{getArchiveVO(){let c=this.getResultsData();return!c||!c.length?null:new Z2(c[0][0].ArchiveVO)}getArchiveVOs(){let e=this.getResultsData().map(i=>i.map(n=>new Z2(n.ArchiveVO)));return(0,yi.flatten)(e)}getAccountVOs(){let e=this.getResultsData().map(i=>i.map(n=>new h4(n.AccountVO)));return(0,yi.flatten)(e)}getProfileItemVOs(){return(0,yi.flatten)(this.getResultsData()).map(i=>i.Profile_itemVO)}};var jo=class extends N2{claimPledge(c,e){return A(this,null,function*(){let i=[{BillingPaymentVO:c,SimpleVO:{key:"pledgeId",value:e}}];return yield this.http.sendRequestPromise("/billing/claimPledge",i,{ResponseClass:ia})})}getFileHistory(c){return A(this,null,function*(){let e=[{LedgerNonfinancialVO:{fromAccountId:c.accountId}}];return yield this.http.sendRequestPromise("/billing/getBillingLedgerNonfinancial",e,{ResponseClass:ia})})}getTransactionHistory(c){return A(this,null,function*(){let e=[{LedgerFinancialVO:{fromAccountId:c.accountId}}];return yield this.http.sendRequestPromise("/billing/getBillingLedgerFinancial",e,{ResponseClass:ia})})}redeemPromoCode(c){return A(this,null,function*(){let{code:e}=c,i={code:e};return yield P2(this.httpV2.post("/promo/entry",i,Wp))})}giftStorage(c,e,i){return A(this,null,function*(){let n=E({recipientEmails:c,storageAmount:e},i?{note:i}:{});return yield d0(this.httpV2.post("v2/billing/gift",n,jp)).toPromise()})}},ia=class extends l2{getLedgerNonfinancialVOs(){let c=this.getResultsData();return!c||!c[0]?[]:c[0].map(e=>e.LedgerNonfinancialVO)}getLedgerFinancialVOs(){let c=this.getResultsData();return!c||!c[0]?[]:c[0].map(e=>e.LedgerFinancialVO)}getPromoVO(){let c=this.getResultsData();return!c||!c.length?null:c[0][0].PromoVO}},jp=class{constructor(c){for(let e in c)Object.hasOwn(c,e)&&(this[e]=c[e])}},Wp=class{constructor(c){for(let e in c)Object.hasOwn(c,e)&&(this[e]=c[e])}};var Wo=class extends N2{getOverview(c){return this.http.sendRequest("/connector/getOverview",c,{ResponseClass:W3})}familysearchConnect(c){let e=[{ArchiveVO:c}];return this.http.sendRequest("/connector/familysearchSetup",e,{ResponseClass:W3})}familysearchAuthorize(c,e){return A(this,null,function*(){let i=new n3({key:"oauthCode",value:e}),n=[{ArchiveVO:c,SimpleVO:i}];return yield this.http.sendRequestPromise("/connector/familysearchAuthorize",n,{ResponseClass:W3})})}familysearchDisconnect(c){let e=[{ArchiveVO:c}];return this.http.sendRequest("/connector/familysearchDisconnect",e,{ResponseClass:W3})}getFamilysearchUser(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/connector/getFamilysearchUser",e,{ResponseClass:W3})})}getFamilysearchTreeUser(c){return A(this,null,function*(){let e=[{ArchiveVO:c}];return yield this.http.sendRequestPromise("/connector/getFamilysearchTreeUser",e,{ResponseClass:W3})})}getFamilysearchAncestry(c,e){return A(this,null,function*(){let i=[{ArchiveVO:c,SimpleVO:new n3({key:"personId",value:e})}];return yield this.http.sendRequestPromise("/connector/getFamilysearchAncestry",i,{ResponseClass:W3})})}getFamilysearchMemories(c,e){return A(this,null,function*(){let i=[{ArchiveVO:c,SimpleVO:new n3({key:"personId",value:e})}];return yield this.http.sendRequestPromise("/connector/getFamilysearchMemories",i,{ResponseClass:W3})})}
591familysearchMemoryImportRequest(c,e){return A(this,null,function*(){Array.isArray(c)||(c=[c]),e&&!Array.isArray(e)&&(e=[e]);let i;return e?i=c.map((n,a)=>({ArchiveVO:n,SimpleVO:new n3({key:"personId",value:e[a]})})):i=c.map((n,a)=>({ArchiveVO:n})),yield this.http.sendRequestPromise("/connector/familysearchMemoryImportRequest",i,{ResponseClass:W3})})}familysearchMemorySyncRequest(c){return A(this,null,function*(){Array.isArray(c)||(c=[c]);let e=c.map(i=>({ArchiveVO:i}));return yield this.http.sendRequestPromise("/connector/familysearchMemorySyncRequest",e,{ResponseClass:W3})})}familysearchMemoryUploadRequest(c){return A(this,null,function*(){Array.isArray(c)||(c=[c]);let e=c.map(i=>({ArchiveVO:i}));return yield this.http.sendRequestPromise("/connector/familysearchMemoryUploadRequest",e,{ResponseClass:W3})})}familysearchFactImportRequest(c,e){return A(this,null,function*(){Array.isArray(c)||(c=[c]),Array.isArray(e)||(e=[e]);let i=c.map((n,a)=>({ArchiveVO:n,SimpleVO:new n3({key:"personId",value:e[a]})}));return yield this.http.sendRequestPromise("/connector/familysearchFactImportRequest",i,{ResponseClass:W3})})}},W3=class extends l2{getConnectorOverviewVO(){let c=this.getResultsData();return!c||!c.length?null:new Mi(c[0][0].ConnectorOverviewVO)}getConnectorOverviewVOs(){return this.getResultsData().map(e=>new Mi(e[0].ConnectorOverviewVO))}};var Go=class extends N2{get(c){return A(this,null,function*(){return yield d0(this.httpV2.get(`/v2/directive/archive/${c.archiveId}`,{},vi)).toPromise()})}create(c){return A(this,null,function*(){return yield d0(this.httpV2.post("/v2/directive",c,vi)).toPromise()})}update(c){return A(this,null,function*(){if(!c.directiveId)throw new Error("directiveID is required to update an existing Directive.");let e=Object.assign({},c);return delete e.directiveId,yield d0(this.httpV2.put(`/v2/directive/${c.directiveId}`,e,vi)).toPromise()})}getLegacyContact(){return A(this,null,function*(){return yield d0(this.httpV2.get("/v2/legacy-contact",{},na)).toPromise()})}createLegacyContact(c){return A(this,null,function*(){return yield d0(this.httpV2.post("/v2/legacy-contact",c,na)).toPromise()})}updateLegacyContact(c){return A(this,null,function*(){if(!c.legacyContactId)throw new Error("legacyContactId is required to update an existing Legacy Contact");let e={name:c.name,email:c.email};return yield d0(this.httpV2.put(`/v2/legacy-contact/${c.legacyContactId}`,e,na)).toPromise()})}},na=class{constructor(c){for(let e in c)Object.hasOwn(c,e)&&(this[e]=c[e])}};var Wx=o2(x8());var Ox=o2(u4()),qo=o2(Ax());var DU=Tx(),OU=Dx(),Y6=(()=>{class t{constructor(){this.profileTemplate=OU,this.constants=DU,this.countries=[],this.accessRoles=[{type:"access.role.viewer",name:"Viewer",level:t0.Viewer},{type:"access.role.contributor",name:"Contributor",level:t0.Contributor},{type:"access.role.editor",name:"Editor",level:t0.Editor},{type:"access.role.curator",name:"Curator",level:t0.Curator},{type:"access.role.manager",name:"Manager",level:t0.Manager},{type:"access.role.owner",name:"Owner",level:t0.Owner}],(0,qo.overwrite)([{code:"TW",name:"Taiwan"}]);let e=(0,qo.getCodeList)();for(let i in e)Object.hasOwn(e,i)&&this.countries.push({name:e[i],abbrev:i});this.countries.sort((i,n)=>i.name.localeCompare(n.name))}getConstants(){return this.constants}getRelations(){let e=[];for(let i in this.constants.relation)if(Object.hasOwn(this.constants.relation,i))if(i==="family")for(let n in this.constants.relation.family)Object.hasOwn(this.constants.relation.family,n)&&e.push({type:`relation.family.${n}`,name:this.constants.relation.family[n]});else e.push({type:`relation.${i}`,name:this.constants.relation[i]});return(0,Ox.orderBy)(e,i=>i.name.toLowerCase())}getCountries(){return this.countries}getStates(){return this.constants.us_states}getAccessRoles(){return this.accessRoles}getArchiveAccessRoles(){return this.accessRoles}getShareAccessRoles(){return this.accessRoles.filter(e=>e.level!==t0.Manager)}translate(e){let i=e.split("."),n=this.constants;for(;i.length&&n;){let a=i.shift();n=n[a]}return n||e}getProfileTemplate(){return this.profileTemplate}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sc=o2(u4());var Ex={passwordMinLength:8,pricePerGb:3};var Yo=(()=>{class t{constructor(){this.document=B(p2),this.platformId=B(Y5),this.documentIsAccessible=Ye(this.platformId)}static getCookieRegExp(e){let i=e.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(i){return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let n=t.getCookieRegExp(e).exec(this.document.cookie);return n?.[1]?t.safeDecodeURIComponent(n[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},i=this.document;return i.cookie&&i.cookie!==""&&i.cookie.split(";").forEach(n=>{let[a,r]=n.split("=");e[t.safeDecodeURIComponent(a.replace(/^ /,""))]=t.safeDecodeURIComponent(r)}),e}set(e,i,n,a,r,l,f,m){if(!this.documentIsAccessible)return;if(typeof n=="number"||n instanceof Date||a||r||l||f){let v={expires:n,path:a,domain:r,secure:l,sameSite:f||"Lax",partitioned:m};this.set(e,i,v);return}let h=encodeURIComponent(e)+"="+encodeURIComponent(i)+";",g=n||{};if(g.expires)if(typeof g.expires=="number"){let v=new Date(new Date().getTime()+g.expires*1e3*60*60*24);h+="Expires="+v.toUTCString()+";"}else h+="Expires="+g.expires.toUTCString()+";";g.path&&(h+="Path="+g.path+";"),g.domain&&(h+="Domain="+g.domain+";
591"),g.secure===!1&&g.sameSite==="None"&&(g.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),g.secure&&(h+="Secure;"),g.sameSite||(g.sameSite="Lax"),h+="SameSite="+g.sameSite+";",g.partitioned&&(h+="Partitioned;"),this.document.cookie=h}delete(e,i,n,a,r="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:l,path:i,domain:n,secure:a,sameSite:r})}deleteAll(e,i,n,a="Lax"){if(!this.documentIsAccessible)return;let r=this.getAll();for(let l in r)r.hasOwnProperty(l)&&this.delete(l,e,i,n,a)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var EU=/android|blackberry|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile/i,IU=/ipad|ipod|iphone/i,PU=/android/i;function RU(){return!window.matchMedia("(min-width: 900px)").matches}var xi=(()=>{class t{constructor(e){this.cookies=e}isMobileWidth(){return RU()}isMobile(){return!!navigator.userAgent.match(EU)}isIos(){return!!navigator.userAgent.match(IU)}isAndroid(){return!!navigator.userAgent.match(PU)}didOptOut(){return this.cookies?.check("permBetaOptOut")}static{this.\u0275fac=function(i){return new(i||t)(p1(Yo,8))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function O51(t){return function(e){return e.value&&e.value.length&&t.value!==e.value?{mismatch:!0}:null}}function Rx(t){return function(e){t instanceof Date||(t=new Date(t));let i=new Date(e.value);return t.getTime()>=i.getTime()?{min:!0}:null}}var Yp={email:{email:"Invalid email address",required:"Email required"},name:{required:"Full name required"},archiveName:{required:"Archive name required"},invitation:{required:"Invitation code required"},password:{minlength:`Passwords must be ${Ex.passwordMinLength} characters`,required:"Password required",mismatch:"Passwords must match"},confirm:{mismatch:"Passwords must match",required:"Password confirmation required"},generic:{required:"This field is required"}};function E51(t){let c=t.control;if(c.valid||!(c.touched||t.config&&t.config.validateDirty&&c.dirty))return null;let e=Object.keys(c.errors).pop();return Yp[t.fieldName]?Yp[t.fieldName][e]:Yp.generic[e]}function I51(t){return t&&t.value&&t.value.length&&(t.value[0]===" "||t.value[t.value.length-1]===" ")&&t.setValue(t.value.trim()),null}function t5(t){let c=new xi,e=t.contentEditable,i=t.readOnly;if(c.isIos()){t.contentEditable=!0,t.readOnly=!1;let n=document.createRange();n.selectNodeContents(t);let a=window.getSelection();a.removeAllRanges(),a.addRange(n),t.setSelectionRange(0,999999999),t.contentEditable=e,t.readOnly=i}else t.select();document.execCommand("copy"),t.blur()}var Zp=new Y6,Kp=Zp.getRelations().map(t=>({text:t.name,value:t.type})),FU=[{text:"Timeline",value:Je.Timeline},{text:"Grid",value:Je.Grid}],Zo={fieldName:"relationType",placeholder:"Relationship",type:"select",initialValue:null,validators:[n4.required],config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},selectOptions:Kp};function B51(t){let c=(0,sc.clone)(Zo);return c.initialValue=t,c}var VU={fieldName:"view",placeholder:"Folder view",type:"select",initialValue:null,validators:[n4.required],config:{autocapitalize:"off",autocomplete:"off",autocorrect:"off"},selectOptions:FU};function Fx(t){let c=(0,sc.clone)(VU);return c.initialValue=t,c}var Xp={fieldName:"accessRole",placeholder:"Access Level",type:"select",initialValue:"access.role.viewer",validators:[n4.required],config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},selectOptions:Zp.getAccessRoles().map(t=>({value:t.type,text:t.name}))};function Vx(t){let c=(0,sc.clone)(Xp);return c.initialValue=t,c}var Hx={fieldName:"accessRole",placeholder:"Access Level",type:"select",initialValue:"access.role.viewer",validators:[n4.required],config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},selectOptions:Zp.getShareAccessRoles().map(t=>({value:t.type,text:t.name}))};function Bx(t){return[{fieldName:"email",initialValue:t,validators:[n4.required,n4.email],placeholder:"Recipient email",type:"text",config:{autocapitalize:"off",autocorrect:"off",autocomplete:"off",autoselect:!1}},{fieldName:"name",validators:[n4.required],placeholder:"Recipient name",type:"text",config:{autocapitalize:"on",autocorrect:"off",autocomplete:"off"}},Zo]}var HU={fieldName:"onOff",placeholder:"Option on/off",config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},type:"select",validators:[n4.required],selectOptions:[{text:"On",value:"on"},{text:"Off",value:"off"}]};function Ux(t,c,e){let i=(0,sc.clone)(HU);return i.fieldName=t,i.placeholder=c,i.initialValue=e,i}var BU={fieldName:"number",placeholder:"Number",config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},type:"number",validators:[n4.required,n4.min(0)]};function $x(t,c,e,i=!0){let n=(0,sc.clone)(BU);return n.fieldName=t,n.placeholder=c,n.initialValue=e,i||(n.validators=[]),n}var UU={fieldName:"date",placeholder:"Date",config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off"},type:"date",validators:[]};function jx(t,c,e,i,n=!1){let a=(0,sc.clone)(UU);return a.fieldName=t,a.placeholder=c,a.initialValue=e,n&&(a.validators=[n4.required]),i&&a.validators.push(Rx(i)),a}var $U={fieldName:"readOnly",placeholder:"Read-Only",config:{autocomplete:"off",autocorrect:"off",autocapitalize:"off",readOnly:!0},type:"text",validators:[]};function U51(t,c,e){let i=(0,sc.clone)($U);return i.fieldName=t,i.placeholder=c,i.initialValue=e,i}var a3=(()=>{class t{constructor(e){this.fb=e,this.debug=(0,Wx.default)("service:promptService"),this.debug("created")}registerComponent(e){if(this.component)throw new Error("PromptService - Prompt component already registered");this.component=e,this.debug("component registered")}unregisterComponent(){this.component=null,this.debug("component unregistered")}prompt(e,i,n,a,r,l){return A(this,null,function*(){if(!this.component)throw new Error("PromptService - Missing prompt component");let f={};for(let m of e)f[m.fieldName]=[m.initialValue||"",m.validators||[]];return yield this.component.prompt(this.fb.group(f),e,i,n,a,r,null,null,null,l)})}promptButtons(e,i,n,a){return A(this,null,function*(){if(!this.component)throw new Error("PromptService - Missing prompt component");return yield this.component.promptButtons(e,i,n,null,null,null,a)})}confirm(e="OK",i,n,a,r){return A(this,null,function*(){let l=[{buttonName:"confirm",buttonText:e||"OK",class:a||void 0},{buttonName:"cancel",buttonText:"Cancel",class:"btn-secondary"}];return yield this.promptButtons(l,i,n,r).then(f=>A(this,null,function*(){return f==="confirm"?yield Promise.resolve(!0):yield Promise.reject(!1)}))})}confirmBoolean(e="OK",i,n,a,r){return A(this,null,function*(){return yield this.confirm(e,i,n,a,r).catch(l=>A(this,null,function*(){return yield Promise.resolve(!1)}))})}
vendor: 4,176 bytes, line 591
591getInput(e){return this.component.getInput(e)}static{this.\u0275fac=function(i){return new(i||t)(p1(Lo))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function wi(t){for(;t.length;)t.pop().unsubscribe()}var N8=(function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t})(N8||{}),jU="*";function _6(t,c){return{type:N8.Trigger,name:t,definitions:c,options:{}}}function o4(t,c=null){return{type:N8.Animate,styles:c,timings:t}}function WU(t,c=null){return{type:N8.Group,steps:t,options:c}}function q51(t,c=null){return{type:N8.Sequence,steps:t,options:c}}function U1(t){return{type:N8.Style,styles:t,offset:null}}function eg(t,c,e){return{type:N8.State,name:t,styles:c,options:e}}function i0(t,c,e=null){return{type:N8.Transition,expr:t,animation:c,options:e}}function GU(t=null){return{type:N8.AnimateChild,options:t}}function M7(t,c,e=null){return{type:N8.Query,selector:t,animation:c,options:e}}var Qp=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(c=0,e=0){this.totalTime=c+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(c=>c()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(c){this._position=this.totalTime?c*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(c){let e=c=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Jp=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(c){this.players=c;let e=0,i=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==a&&this._onFinish()}),r.onDestroy(()=>{++i==a&&this._onDestroy()}),r.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,l)=>Math.max(r,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this.players.forEach(c=>c.init())}onStart(c){this._onStartFns.push(c)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(c=>c()),this._onStartFns=[])}onDone(c){this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(c=>c.play())}pause(){this.players.forEach(c=>c.pause())}restart(){this.players.forEach(c=>c.restart())}finish(){this._onFinish(),this.players.forEach(c=>c.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(c=>c.destroy()),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}reset(){this.players.forEach(c=>c.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(c){let e=c*this.totalTime;this.players.forEach(i=>{let n=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(n)})}getPosition(){let c=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return c!=null?c.getPosition():0}
591beforeDestroy(){this.players.forEach(c=>{c.beforeDestroy&&c.beforeDestroy()})}triggerCallback(c){let e=c=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},qU="!";var B4="cubic-bezier(.63,.01,.3,1)",Gx=500,tc1=_6("slideUpAnimation",[i0("* => *",[M7(":leave",[U1({transform:"translateY(0)"}),o4(`${Gx}ms ${B4}`,U1({transform:"translateY(100vh)"}))],{optional:!0}),M7(":enter",[U1({transform:"translateY(100vh)"}),o4(`${Gx}ms ${B4}`,U1({transform:"translateY(0)"}))],{optional:!0})])]),ic1=_6("fadeAnimation",[i0("* => *",[M7(":enter",[U1({opacity:0})],{optional:!0}),M7(":leave",[U1({opacity:1}),o4("0.3s",U1({opacity:0}))],{optional:!0}),M7(":enter",[U1({opacity:0}),o4("0.3s",U1({opacity:1}))],{optional:!0})])]),Ko=_6("ngIfFadeInAnimation",[i0(":enter",[U1({opacity:0}),o4(`125ms ${B4}`,U1({opacity:1}))]),i0(":leave",[U1({opacity:1}),o4(`125ms ${B4}`,U1({opacity:0}))])]),nc1=_6("ngIfFadeInAnimationSlow",[i0(":enter",[U1({opacity:0}),o4(`500ms ${B4}`,U1({opacity:"*"}))]),i0(":leave",[U1({opacity:1}),o4(`500ms ${B4}`,U1({opacity:"*"}))])]),Xo=_6("ngIfScaleAnimation",[i0(":enter",[U1({height:"0px",width:"0px",opacity:0}),o4(`125ms ${B4}`,U1({height:"*",width:"*"})),o4(`125ms ${B4}`,U1({opacity:1}))]),i0(":leave",[U1({height:"*",width:"*",opacity:"*"}),o4(`125ms ${B4}`,U1({opacity:0})),o4(`125ms ${B4}`,U1({height:"0px",width:"0px"}))])]),Qo=_6("ngIfScaleAnimationDynamic",[i0("void => animate",[U1({height:"0px",width:"0px",opacity:0}),o4(`125ms ${B4}`,U1({height:"*",width:"*"})),o4(`125ms ${B4}`,U1({opacity:1}))]),i0("animate => void",[U1({height:"*",width:"*",opacity:"*"}),o4(`125ms ${B4}`,U1({opacity:0})),o4(`125ms ${B4}`,U1({height:"0px",width:"0px"}))])]);function YU(t){return _6("collapseAnimation",[eg("closed",U1({height:"0px",display:"none",overflow:"hidden"})),i0("closed => open",[U1({height:"0px",opacity:0,display:"block"}),o4(`${t}ms ${B4}`,U1({height:"*",width:"*"})),o4(`${t}ms ${B4}`,U1({opacity:1}))]),i0("open => closed",[U1({height:"*",opacity:"*"}),o4(`${t}ms ${B4}`,U1({opacity:0})),o4(`${t}ms ${B4}`,U1({height:"0px",width:"0px"}))])])}var ac1=YU(125),sc1=_6("ngIfScaleHeightEnterAnimation",[i0(":enter",[U1({height:"0px",opacity:0}),o4(`125ms ${B4}`,U1({height:"*",opacity:1}))])]),rc1=_6("ngIfScaleHeightAnimation",[i0(":enter",[U1({height:"0px"}),o4(`250ms ${B4}`,U1({height:"*"}))]),i0(":leave",[U1({height:"*"}),o4(`250ms ${B4}`,U1({height:"0px"}))])]),oc1=_6("ngIfSlideInAnimation",[i0(":enter",[U1({transform:"translateX(calc(-100% - 20px))"}),o4(`250ms ${B4}`,U1({transform:"*"}))]),i0(":leave",[U1({transform:"*"}),o4(`250ms ${B4}`,U1({transform:"translateX(calc(-100% - 20px))"}))])]),lc1=_6("ngIfSlideUpAnimation",[i0(":enter",[U1({transform:"translateY(100%)"}),o4("250ms ease-in",U1({transform:"translateY(0)"}))]),i0(":leave",[U1({transform:"translateY(0)"}),o4("250ms ease-out",U1({transform:"translateY(100%)"}))])]);var Ce=o2(u4());var el=o2(u4());var Jo=class extends N2{getShares(){return A(this,null,function*(){return yield this.http.sendRequestPromise("/share/getShares",[],{ResponseClass:g4})})}update(c){return A(this,null,function*(){let e={ShareVO:c};return yield this.http.sendRequestPromise("/share/update",[e],{ResponseClass:g4})})}upsert(c){return A(this,null,function*(){let e={ShareVO:c};return yield this.http.sendRequestPromise("/share/upsert",[e],{ResponseClass:g4})})}remove(c){return A(this,null,function*(){let e={ShareVO:{shareId:c.shareId,folder_linkId:c.folder_linkId,archiveId:c.archiveId}};return yield this.http.sendRequestPromise("/share/delete",[e],{ResponseClass:g4})})}generateShareLink(c){return A(this,null,function*(){let e={};return c.isRecord?e.RecordVO={folder_linkId:c.folder_linkId}:e.FolderVO={folder_linkId:c.folder_linkId},yield this.http.sendRequestPromise("/share/generateShareLink",[e],{ResponseClass:g4})})}getShareLink(c){return A(this,null,function*(){let e={};return c.isRecord?e.RecordVO={folder_linkId:c.folder_linkId}:e.FolderVO={folder_linkId:c.folder_linkId},yield this.http.sendRequestPromise("/share/getLink",[e],{ResponseClass:g4})})}checkShareLink(c){return A(this,null,function*(){let e={Shareby_urlVO:{urlToken:c}};return yield this.http.sendRequestPromise("/share/checkShareLink",[e],{ResponseClass:g4})})}updateShareLink(c){return A(this,null,function*(){let e={Shareby_urlVO:c};return yield this.http.sendRequestPromise("/share/updateShareLink",[e],{ResponseClass:g4})})}removeShareLink(c){return A(this,null,function*(){let e={Shareby_urlVO:c};return yield this.http.sendRequestPromise("/share/dropShareLink",[e],{ResponseClass:g4})})}requestShareAccess(c){return A(this,null,function*(){let e={Shareby_urlVO:{urlToken:c}};return yield this.http.sendRequestPromise("/share/requestShareAccess",[e],{ResponseClass:g4})})}getShareForPreview(c,e){return A(this,null,function*(){let i={ShareVO:{shareId:parseInt(c,10),folder_linkId:parseInt(e,10)}};return yield this.http.sendRequestPromise("/share/getShareForPreview",[i],{ResponseClass:g4})})}},g4=class extends l2{getShareArchiveVOs(){let e=this.getResultsData().map(i=>i?i.map(n=>new Z2(n.ArchiveVO)):null);return(0,el.compact)((0,el.flatten)(e))}getShareVO(){let c=this.getResultsData();return!c||!c.length||!c[0]?null:new w4(c[0][0].ShareVO)}getShareByUrlVO(){let c=this.getResultsData();
591return!c||!c.length||!c[0]||!c[0][0].Shareby_urlVO||!c[0][0].Shareby_urlVO.shareUrl?null:new L7(c[0][0].Shareby_urlVO)}};var ok=o2(u4());var ZU={ShareByRelationship:{initiated:{key:"Evt-Sh10",params:{hitType:"event",eventCategory:"Share by relationship",eventAction:"initiated"}},previewed:{key:"Evt-Sh11",params:{hitType:"event",eventCategory:"Share by relationship",eventAction:"previewed"}},signup:{key:"Evt-Sh12",params:{hitType:"event",eventCategory:"Share by relationship",eventAction:"signup"}},viewed:{key:"Evt-Sh13",params:{hitType:"event",eventCategory:"Share by relationship",eventAction:"viewed"}},reshare:{key:"Evt-Sh14",params:{hitType:"event",eventCategory:"Share by relationship",eventAction:"reshared"}}},ShareByInvite:{initiated:{key:"Evt-Sh20",params:{hitType:"event",eventCategory:"Share by invite",eventAction:"initiated"}},previewed:{key:"Evt-Sh21",params:{hitType:"event",eventCategory:"Share by invite",eventAction:"previewed"}},signup:{key:"Evt-Sh22",params:{hitType:"event",eventCategory:"Share by invite",eventAction:"signup"}},viewed:{key:"Evt-Sh23",params:{hitType:"event",eventCategory:"Share by invite",eventAction:"viewed"}},reshare:{key:"Evt-Sh24",params:{hitType:"event",eventCategory:"Share by invite",eventAction:"reshared"}}},ShareByAccountNoRel:{initiated:{key:"Evt-Sh30",params:{hitType:"event",eventCategory:"Share by account no rel",eventAction:"initiated"}},previewed:{key:"Evt-Sh31",params:{hitType:"event",eventCategory:"Share by account no rel",eventAction:"previewed"}},signup:{key:"Evt-Sh32",params:{hitType:"event",eventCategory:"Share by account no rel",eventAction:"signup"}},viewed:{key:"Evt-Sh33",params:{hitType:"event",eventCategory:"Share by account no rel",eventAction:"viewed"}},reshare:{key:"Evt-Sh34",params:{hitType:"event",eventCategory:"Share by account no rel",eventAction:"reshared"}}},ShareByUrl:{initiated:{key:"Evt-Sh40",params:{hitType:"event",eventCategory:"Share by url",eventAction:"initiated"}},previewed:{key:"Evt-Sh41",params:{hitType:"event",eventCategory:"Share by url",eventAction:"previewed"}},signup:{key:"Evt-Sh42",params:{hitType:"event",eventCategory:"Share by url",eventAction:"signup"}},viewed:{key:"Evt-Sh43",params:{hitType:"event",eventCategory:"Share by url",eventAction:"viewed"}},reshare:{key:"Evt-Sh44",params:{hitType:"event",eventCategory:"Share by url",eventAction:"reshared"}}}},KU={PublishByUrl:{initiated:{key:"Evt-Pu40",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"initiated"}},getLink:{key:"Evt-Pu41",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"get link"}},viewed:{key:"Evt-Pu42",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"viewed"}},uploaded:{key:"Evt-Pu43",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"uploaded"}},reshare:{key:"Evt-Pu422",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"reshared"}},signup:{key:"Evt-Pu423",params:{hitType:"event",eventCategory:"Publish by url",eventAction:"signup"}}}},XU={optIn:{hitType:"event",eventCategory:"Beta UI",eventAction:"Opt in"},optOut:{hitType:"event",eventCategory:"Beta UI",eventAction:"Opt out"}},b3={SHARE:ZU,PUBLISH:KU,BETA:XU};var sa=class{_attachedHost=null;attach(c){return this._attachedHost=c,c.attach(this)}detach(){let c=this._attachedHost;c!=null&&(this._attachedHost=null,c.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(c){this._attachedHost=c}},Si=class extends sa{component;viewContainerRef;injector;projectableNodes;bindings;constructor(c,e,i,n,a){super(),this.component=c,this.viewContainerRef=e,this.injector=i,this.projectableNodes=n,this.bindings=a||null}},v7=class extends sa{templateRef;viewContainerRef;context;injector;constructor(c,e,i,n){super(),this.templateRef=c,this.viewContainerRef=e,this.context=i,this.injector=n}get origin(){return this.templateRef.elementRef}attach(c,e=this.context){return this.context=e,super.attach(c)}detach(){return this.context=void 0,super.detach()}},cg=class extends sa{element;constructor(c){super(),this.element=c instanceof Q1?c.nativeElement:c}},Ni=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(c){if(c instanceof Si)return this._attachedPortal=c,this.attachComponentPortal(c);if(c instanceof v7)return this._attachedPortal=c,this.attachTemplatePortal(c);if(this.attachDomPortal&&c instanceof cg)return this._attachedPortal=c,this.attachDomPortal(c)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
591poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(c){this._disposeFn=c}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},cl=class extends Ni{outletElement;_appRef;_defaultInjector;constructor(c,e,i){super(),this.outletElement=c,this._appRef=e,this._defaultInjector=i}attachComponentPortal(c){let e;if(c.viewContainerRef){let i=c.injector||c.viewContainerRef.injector,n=i.get(Rh,null,{optional:!0})||void 0;e=c.viewContainerRef.createComponent(c.component,{index:c.viewContainerRef.length,injector:i,ngModuleRef:n,projectableNodes:c.projectableNodes||void 0,bindings:c.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,n=c.injector||this._defaultInjector||S2.NULL,a=n.get(Ge,i.injector);e=X5(c.component,{elementInjector:n,environmentInjector:a,projectableNodes:c.projectableNodes||void 0,bindings:c.bindings||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=c,e}attachTemplatePortal(c){let e=c.viewContainerRef,i=e.createEmbeddedView(c.templateRef,c.context,{injector:c.injector});return i.rootNodes.forEach(n=>this.outletElement.appendChild(n)),i.detectChanges(),this.setDisposeFn(()=>{let n=e.indexOf(i);n!==-1&&e.remove(n)}),this._attachedPortal=c,i}attachDomPortal=c=>{let e=c.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=c,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(c){return c.hostView.rootNodes[0]}},_c1=(()=>{class t extends v7{constructor(){let e=B(f0),i=B(Z5);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i4]})}return t})(),ra=(()=>{class t extends Ni{_moduleRef=B(Rh,{optional:!0});_document=B(p2);_viewContainerRef=B(Z5);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new N1;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,n=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let n=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(n,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i4]})}return t})(),oa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})();function qx(t){return t.buttons===0||t.detail===0}function Yx(t){let c=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!c&&c.identifier===-1&&(c.radiusX==null||c.radiusX===1)&&(c.radiusY==null||c.radiusY===1)}var tg;function QU(){if(tg==null){let t=typeof document<"u"?document.head:null;tg=!!(t&&(t.createShadowRoot||t.attachShadow))}return tg}function Zx(t){if(QU()){let c=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&c instanceof ShadowRoot)return c}return null}function ki(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let c=t.shadowRoot.activeElement;if(c===t)break;t=c}return t}function i5(t){return t.composedPath?t.composedPath()[0]:t.target}var ig;try{ig=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){ig=!1}var E0=(()=>{class t{_platformId=B(Y5);isBrowser=this._platformId?Ye(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);
591TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||ig)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var la;function JU(){if(la==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>la=!0}))}finally{la=la||!1}return la}function Kx(t){return JU()?t:!!t.capture}function Ai(t){return t instanceof Q1?t.nativeElement:t}var e$=new b4("cdk-input-modality-detector-options"),c$={ignoreKeys:[18,17,224,91,16]},Xx=650,ng={passive:!0,capture:!0},t$=(()=>{class t{_platform=B(E0);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new q5(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>
vendor: 6,032 bytes, line 591
591i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=i5(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Xx||(this._modality.next(qx(e)?"keyboard":"mouse"),this._mostRecentTarget=i5(e))};_onTouchstart=e=>{if(Yx(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=i5(e)};constructor(){let e=B(n2),i=B(p2),n=B(e$,{optional:!0});if(this._options=E(E({},c$),n),this.modalityDetected=this._modality.pipe(Gr(1)),this.modalityChanged=this.modalityDetected.pipe(Ph()),this._platform.isBrowser){let a=B(C8).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[a.listen(i,"keydown",this._onKeydown,ng),a.listen(i,"mousedown",this._onMousedown,ng),a.listen(i,"touchstart",this._onTouchstart,ng)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),il=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(il||{}),i$=new b4("cdk-focus-monitor-default-options"),tl=Kx({passive:!0,capture:!0}),Qx=(()=>{class t{_ngZone=B(n2);_platform=B(E0);_inputModalityDetector=B(t$);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=B(p2);_stopInputModalityDetector=new E1;constructor(){let e=B(i$,{optional:!0});this._detectionMode=e?.detectionMode||il.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=i5(e);for(let n=i;n;n=n.parentElement)e.type==="focus"?this._onFocus(e,n):this._onBlur(e,n)};monitor(e,i=!1){let n=Ai(e);if(!this._platform.isBrowser||n.nodeType!==1)return We();let a=Zx(n)||this._document,r=this._elementInfo.get(n);if(r)return i&&(r.checkChildren=!0),r.subject;let l={checkChildren:i,subject:new E1,rootNode:a};return this._elementInfo.set(n,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let i=Ai(e),n=this._elementInfo.get(i);n&&(n.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(n))}focusVia(e,i,n){let a=Ai(e),r=this._document.activeElement;a===r?this._getClosestElementsInfo(a).forEach(([l,f])=>this._originChanged(l,i,f)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===il.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===il.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Xx:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(e,i){let n=this._elementInfo.get(i),a=i5(e);!n||!n.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),n)}_onBlur(e,i){let n=this._elementInfo.get(i);!n||n.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(n,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,tl),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,tl)}),this._rootNodeFocusListenerCount.set(i,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(s4(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let n=this._rootNodeFocusListenerCount.get(i);n>1?this._rootNodeFocusListenerCount.set(i,n-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,tl),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,tl),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,n){this._setClasses(e,i),this._emitOrigin(n,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((n,a)=>{(a===e||n.checkChildren&&a.contains(e))&&i.push([a,n])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let r=0;r<a.length;r++)if(a[r].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nl=new WeakMap,fa=(()=>{class t{_appRef;_injector=B(S2);_environmentInjector=B(Ge);load(e){let i=this._appRef=this._appRef||this._injector.get(y8),n=nl.get(i);
591n||(n={loaders:new Set,refs:[]},nl.set(i,n),i.onDestroy(()=>{nl.get(i)?.refs.forEach(a=>a.destroy()),nl.delete(i)})),n.loaders.has(e)||(n.loaders.add(e),n.refs.push(X5(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Jx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,n){},styles:[`.cdk-visually-hidden { 592 border: 0; 593 clip: rect(0 0 0 0); 594 height: 1px; 595 margin: -1px; 596 overflow: hidden; 597 padding: 0; 598 position: absolute; 599 width: 1px; 600 white-space: nowrap; 601 outline: 0; 602 -webkit-appearance: none; 603 -moz-appearance: none; 604 left: 0; 605} 606[dir=rtl] .cdk-visually-hidden { 607 left: auto; 608 right: 0; 609} 610`],encapsulation:2,changeDetection:0})}return t})();function Ti(t){return Array.isArray(t)?t:[t]}var ew=new Set,_7,n$=(()=>{class t{_platform=B(E0);_nonce=B(yC,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):s$}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&a$(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function a$(t,c){if(!ew.has(t))try{_7||(_7=document.createElement("style"),c&&_7.setAttribute("nonce",c),_7.setAttribute("type","text/css"),document.head.appendChild(_7)),_7.sheet&&(_7.sheet.insertRule(`@media ${t} {body{ }}`,0),ew.add(t))}catch(e){console.error(e)}}function s$(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var tw=(()=>{class t{_mediaMatcher=B(n$);_zone=B(n2);_queries=new Map;_destroySubject=new E1;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return cw(Ti(e)).some(n=>this._registerQuery(n).mql.matches)}observe(e){let n=cw(Ti(e)).map(r=>this._registerQuery(r).observable),a=$r(n);return a=fC(a.pipe(U3(1)),a.pipe(Gr(1),pC(0))),a.pipe(m4(r=>{let l={matches:!1,breakpoints:{}};return r.forEach(({matches:f,query:m})=>{l.matches=l.matches||f,l.breakpoints[m]=f}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new j6(r=>{let l=f=>this._zone.run(()=>r.next(f));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(b9(i),m4(({matches:r})=>({query:e,matches:r})),s4(this._destroySubject)),mql:i};return this._queries.set(e,a),a}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cw(t){return t.map(c=>c.split(",")).reduce((c,e)=>c.concat(e)).map(c=>c.trim())}var r$=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({providers:[r$]})}return t})();var rg=(()=>{class t{_platform=B(E0);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return l$(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=o$(z$(e));if(i&&(nw(i)===-1||!this.isVisible(i)))return!1;let n=e.nodeName.toLowerCase(),a=nw(e);return e.hasAttribute("contenteditable")?a!==-1:n==="iframe"||n==="object"||this._platform.WEBKIT&&this._platform.IOS&&!p$(e)?!1:n==="audio"?e.hasAttribute("controls")?a!==-1:!1:n==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return g$(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function o$(t){try{return t.frameElement}catch(c){return null}}function l$(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function f$(t){let c=t.nodeName.toLowerCase();return c==="input"||c==="select"||c==="button"||c==="textarea"}function d$(t){return u$(t)&&t.type=="hidden"}function m$(t){return h$(t)&&t.hasAttribute("href")}function u$(t){return t.nodeName.toLowerCase()=="input"}function h$(t){return t.nodeName.toLowerCase()=="a"}function rw(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let c=t.getAttribute("tabindex");return!!(c&&!isNaN(parseInt(c,10)))}function nw(t){if(!rw(t))return null;
610let c=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(c)?-1:c}function p$(t){let c=t.nodeName.toLowerCase(),e=c==="input"&&t.type;return e==="text"||e==="password"||c==="select"||c==="textarea"}function g$(t){return d$(t)?!1:f$(t)||m$(t)||t.hasAttribute("contenteditable")||rw(t)}function z$(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var sg=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(c){this._enabled=c,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(c,this._startAnchor),this._toggleAnchorTabIndex(c,this._endAnchor))}_enabled=!0;constructor(c,e,i,n,a=!1,r){this._element=c,this._checker=e,this._ngZone=i,this._document=n,this._injector=r,a||this.attachAnchors()}destroy(){let c=this._startAnchor,e=this._endAnchor;c&&(c.removeEventListener("focus",this.startAnchorListener),c.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(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(c){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(c)))})}focusFirstTabbableElementWhenReady(c){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(c)))})}focusLastTabbableElementWhenReady(c){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(c)))})}_getRegionBoundary(c){let e=this._element.querySelectorAll(`[cdk-focus-region-${c}], [cdkFocusRegion${c}], [cdk-focus-${c}]`);return c=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(c){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(c),!!i}return e.focus(c),!0}return this.focusFirstTabbableElement(c)}focusFirstTabbableElement(c){let e=this._getRegionBoundary("start");return e&&e.focus(c),!!e}focusLastTabbableElement(c){let e=this._getRegionBoundary("end");return e&&e.focus(c),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(c){if(this._checker.isFocusable(c)&&this._checker.isTabbable(c))return c;let e=c.children;for(let i=0;i<e.length;i++){let n=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(n)return n}return null}_getLastTabbableElement(c){if(this._checker.isFocusable(c)&&this._checker.isTabbable(c))return c;let e=c.children;for(let i=e.length-1;i>=0;i--){let n=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(n)return n}return null}_createAnchor(){let c=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,c),c.classList.add("cdk-visually-hidden"),c.classList.add("cdk-focus-trap-anchor"),c.setAttribute("aria-hidden","true"),c}_toggleAnchorTabIndex(c,e){c?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(c){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(c,this._startAnchor),this._toggleAnchorTabIndex(c,this._endAnchor))}_executeOnStable(c){this._injector?L0(c,{injector:this._injector}):setTimeout(c)}},og=(()=>{class t{_checker=B(rg);_ngZone=B(n2);_document=B(p2);_injector=B(S2);constructor(){B(fa).load(Jx)}create(e,i=!1){return new sg(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),C71=(()=>{class t{_elementRef=B(Q1);_focusTrapFactory=B(og);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){B(E0).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(e){let i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=ki(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",qe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",qe]},exportAs:["cdkTrapFocus"],features:[R2]})}return t})();
vendor: 4,250 bytes, line 610
610var C7=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(C7||{}),aw="cdk-high-contrast-black-on-white",sw="cdk-high-contrast-white-on-black",ag="cdk-high-contrast-active",L$=(()=>{class t{_platform=B(E0);_hasCheckedHighContrastMode=!1;_document=B(p2);_breakpointSubscription;constructor(){this._breakpointSubscription=B(tw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return C7.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,n=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(n&&n.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return C7.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return C7.BLACK_ON_WHITE}return C7.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ag,aw,sw),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===C7.BLACK_ON_WHITE?e.add(ag,aw):i===C7.WHITE_ON_BLACK&&e.add(ag,sw)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ow=(()=>{class t{constructor(){B(L$)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({imports:[iw]})}return t})();function lg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function n0(t){return t==null?"":typeof t=="string"?t:`${t}px`}var M$=new b4("cdk-dir-doc",{providedIn:"root",factory:()=>B(p2)}),v$=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function _$(t){let c=t?.toLowerCase()||"";return c==="auto"&&typeof navigator<"u"&&navigator?.language?v$.test(navigator.language)?"rtl":"ltr":c==="rtl"?"rtl":"ltr"}var da=(()=>{class t{get value(){return this.valueSignal()}valueSignal=t3("ltr");change=new N1;constructor(){let e=B(M$,{optional:!0});if(e){let i=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(_$(i||n||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y7;function lw(){if(y7==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return y7=!1,y7;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)y7=!0;else{let t=Element.prototype.scrollTo;t?y7=!/\{\s*\[native code\]\s*\}/.test(t.toString()):y7=!1}}return y7}var ma=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})();var C$=20,fg=(()=>{class t{_ngZone=B(n2);_platform=B(E0);_renderer=B(C8).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new E1;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=C$){return this._platform.isBrowser?new j6(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let n=e>0?this._scrolled.pipe(Ih(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):We()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEac
610h((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let n=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(q4(a=>!a||n.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((n,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_scrollableContainsElement(e,i){let n=Ai(i),a=e.getElementRef().nativeElement;do if(n==a)return!0;while(n=n.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y$=20,ua=(()=>{class t{_platform=B(E0);_listeners;_viewportSize=null;_change=new E1;_document=B(p2);constructor(){let e=B(n2),i=B(C8).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let n=a=>this._change.next(a);this._listeners=[i.listen("window","resize",n),i.listen("window","orientationchange",n)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),n=e.documentElement,a=n.getBoundingClientRect(),r=-a.top||e.body?.scrollTop||i.scrollY||n.scrollTop||0,l=-a.left||e.body?.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:r,left:l}}change(e=y$){return e>0?this._change.pipe(Ih(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})(),dg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({imports:[ma,fw,ma,fw]})}return t})();var mg={},Di=class t{_appId=B(_C);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(c,e=!1){return this._appId!=="ng"&&(c+=this._appId),mg.hasOwnProperty(c)||(mg[c]=0),`${c}${e?t._infix+"-":""}${mg[c]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})};function dw(t,...c){return c.length?c.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var mw=lw();function _g(t){return new ug(t.get(ua),t.get(p2))}var ug=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(c,e){this._viewportRuler=c,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let c=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=c.style.left||"",this._previousHTMLStyles.top=c.style.top||"",c.style.left=n0(-this._previousScrollPosition.left),c.style.top=n0(-this._previousScrollPosition.top),c.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let c=this._document.documentElement,e=this._document.body,i=c.style,n=e.style,a=i.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,c.classList.remove("cdk-global-scrollblock"),mw&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),mw&&(i.scrollBehavior=a,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function b$(t,c){return new hg(t.get(fg),t.get(n2),t.get(ua),c)}var hg=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(c,e,i,n){this._scrollDispatcher=c,this._ngZone=e,this._viewportRuler
610=i,this._config=n}attach(c){this._overlayRef,this._overlayRef=c}enable(){if(this._scrollSubscription)return;let c=this._scrollDispatcher.scrolled(0).pipe(q4(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=c.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=c.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var al=class{enable(){}disable(){}attach(){}};function pg(t,c){return c.some(e=>{let i=t.bottom<e.top,n=t.top>e.bottom,a=t.right<e.left,r=t.left>e.right;return i||n||a||r})}function uw(t,c){return c.some(e=>{let i=t.top<e.top,n=t.bottom>e.bottom,a=t.left<e.left,r=t.right>e.right;return i||n||a||r})}function x$(t,c){return new gg(t.get(fg),t.get(ua),t.get(n2),c)}var gg=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(c,e,i,n){this._scrollDispatcher=c,this._viewportRuler=e,this._ngZone=i,this._config=n}attach(c){this._overlayRef,this._overlayRef=c}enable(){if(!this._scrollSubscription){let c=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(c).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:n}=this._viewportRuler.getViewportSize();pg(e,[{width:i,height:n,bottom:n,right:i,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}},w$=(()=>{class t{_injector=B(S2);constructor(){}noop=()=>new al;close=e=>b$(this._injector,e);block=()=>_g(this._injector);reposition=e=>x$(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ha=class{positionStrategy;scrollStrategy=new al;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(c){if(c){let e=Object.keys(c);for(let i of e)c[i]!==void 0&&(this[i]=c[i])}}};var zg=class{connectionPair;scrollableViewProperties;constructor(c,e){this.connectionPair=c,this.scrollableViewProperties=e}};var Mw=(()=>{class t{_attachedOverlays=[];_document=B(p2);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,i,n){return n.observers.length<1?!1:e.eventPredicate?e.eventPredicate(i):!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),S$=(()=>{class t extends Mw{_ngZone=B(n2);_renderer=B(C8).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let n=i.length-1;n>-1;n--){let a=i[n];if(this.canReceiveEvent(a,e,a._keydownEvents)){this._ngZone.run(()=>a._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),N$=(()=>{class t extends Mw{_platform=B(E0);_ngZone=B(n2);_renderer=B(C8).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,n={capture:!0},a=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"pointerdown",this._pointerDownListener,n),a.listen(i,"click",this._clickListener,n),a.listen(i,"auxclick",this._clickListener,n),a.listen(i,"contextmenu",this._clickListener,n)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}
vendor: 8,265 bytes, lines 610-749
610detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=i5(e)};_clickListener=e=>{let i=i5(e),n=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let a=this._attachedOverlays.slice();for(let r=a.length-1;r>-1;r--){let l=a[r],f=l._outsidePointerEvents;if(!(!l.hasAttached()||!this.canReceiveEvent(l,e,f))){if(hw(l.overlayElement,i)||hw(l.overlayElement,n))break;this._ngZone?this._ngZone.run(()=>f.next(e)):f.next(e)}}};static \u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})();static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hw(t,c){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=c;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var vw=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 611 pointer-events: none; 612 top: 0; 613 left: 0; 614 height: 100%; 615 width: 100%; 616} 617 618.cdk-overlay-container { 619 position: fixed; 620} 621@layer cdk-overlay { 622 .cdk-overlay-container { 623 z-index: 1000; 624 } 625} 626.cdk-overlay-container:empty { 627 display: none; 628} 629 630.cdk-global-overlay-wrapper { 631 display: flex; 632 position: absolute; 633} 634@layer cdk-overlay { 635 .cdk-global-overlay-wrapper { 636 z-index: 1000; 637 } 638} 639 640.cdk-overlay-pane { 641 position: absolute; 642 pointer-events: auto; 643 box-sizing: border-box; 644 display: flex; 645 max-width: 100%; 646 max-height: 100%; 647} 648@layer cdk-overlay { 649 .cdk-overlay-pane { 650 z-index: 1000; 651 } 652} 653 654.cdk-overlay-backdrop { 655 position: absolute; 656 top: 0; 657 bottom: 0; 658 left: 0; 659 right: 0; 660 pointer-events: auto; 661 -webkit-tap-highlight-color: transparent; 662 opacity: 0; 663 touch-action: manipulation; 664} 665@layer cdk-overlay { 666 .cdk-overlay-backdrop { 667 z-index: 1000; 668 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 669 } 670} 671@media (prefers-reduced-motion) { 672 .cdk-overlay-backdrop { 673 transition-duration: 1ms; 674 } 675} 676 677.cdk-overlay-backdrop-showing { 678 opacity: 1; 679} 680@media (forced-colors: active) { 681 .cdk-overlay-backdrop-showing { 682 opacity: 0.6; 683 } 684} 685 686@layer cdk-overlay { 687 .cdk-overlay-dark-backdrop { 688 background: rgba(0, 0, 0, 0.32); 689 } 690} 691 692.cdk-overlay-transparent-backdrop { 693 transition: visibility 1ms linear, opacity 1ms linear; 694 visibility: hidden; 695 opacity: 1; 696} 697.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 698 opacity: 0; 699 visibility: visible; 700} 701 702.cdk-overlay-backdrop-noop-animation { 703 transition: none; 704} 705 706.cdk-overlay-connected-position-bounding-box { 707 position: absolute; 708 display: flex; 709 flex-direction: column; 710 min-width: 1px; 711 min-height: 1px; 712} 713@layer cdk-overlay { 714 .cdk-overlay-connected-position-bounding-box { 715 z-index: 1000; 716 } 717} 718 719.cdk-global-scrollblock { 720 position: fixed; 721 width: 100%; 722 overflow-y: scroll; 723} 724 725.cdk-overlay-popover { 726 background: none; 727 border: none; 728 padding: 0; 729 outline: 0; 730 overflow: visible; 731 position: fixed; 732 pointer-events: none; 733 white-space: normal; 734 color: inherit; 735 text-decoration: none; 736 width: 100%; 737 height: 100%; 738 inset: auto; 739 top: 0; 740 left: 0; 741} 742.cdk-overlay-popover::backdrop { 743 display: none; 744} 745.cdk-overlay-popover .cdk-overlay-backdrop { 746 position: fixed; 747 z-index: auto; 748} 749`],encapsulation:2,changeDetection:0})}return t})(),sl=(()=>{class t{_platform=B(E0);_containerElement;_document=B(p2);_styleLoader=B(fa);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||lg()){let n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a<n.length;a++)n[a].remove()}let i=this._document.createElement("div");i.classList.add(e),lg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(vw)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lg=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(c,e,i,n){this._renderer=e,this._ngZone=i,this.element=c.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{let c=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(c,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),c.style.pointerEvents="none",c.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Cg(t){return t&&t.nodeType===1}var pa=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new E1;_attachments=new E1;_detachments=new E1;_positionStrategy;_scrollStrategy;_locationChanges=y9.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new E1;_outsidePointerEvents=new E1;_afterNextRenderRef;constructor(c,e,i,n,a,r,l,f,m,h=!1,g,v){this._portalOutlet=c,this._host=e,this._pane=i,this._config=n,this._ngZone=a,this._keyboardDispatcher=r,this._document=l,this._location=f,this._outsideClickDispatcher=m,this._animationsDisabled=h,this._injector=g,this._renderer=v,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(c){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(c);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=L0(()=>{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._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let c=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),c}dispose(){if(this._disposed)return;let c=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
749pose(),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=this._backdropRef=null,c&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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(c){c!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=c,this.hasAttached()&&(c.attach(this),this.updatePosition()))}updateSize(c){this._config=E(E({},this._config),c),this._updateElementSize()}setDirection(c){this._config=m1(E({},this._config),{direction:c}),this._updateElementDirection()}addPanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!0)}removePanelClass(c){this._pane&&this._toggleClasses(this._pane,c,!1)}getDirection(){let c=this._config.direction;return c?typeof c=="string"?c:c.value:"ltr"}updateScrollStrategy(c){c!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=c,this.hasAttached()&&(c.attach(this),c.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let c=this._pane.style;c.width=n0(this._config.width),c.height=n0(this._config.height),c.minWidth=n0(this._config.minWidth),c.minHeight=n0(this._config.minHeight),c.maxWidth=n0(this._config.maxWidth),c.maxHeight=n0(this._config.maxHeight)}_togglePointerEvents(c){this._pane.style.pointerEvents=c?"":"none"}_attachHost(){if(!this._host.parentElement){let c=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Cg(c)?c.after(this._host):c?.type==="parent"?c.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(c){}}_attachBackdrop(){let c="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Lg(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(c))}):this._backdropRef.element.classList.add(c)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(c,e,i){let n=Ti(e||[]).filter(a=>!!a);n.length&&(i?c.classList.add(...n):c.classList.remove(...n))}_detachContentWhenEmpty(){let c=!1;try{this._detachContentAfterRenderRef=L0(()=>{c=!0,this._detachContent()},{injector:this._injector})}catch(e){if(c)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let c=this._scrollStrategy;c?.disable(),c?.detach?.()}},pw="cdk-overlay-connected-position-bounding-box",k$=/([A-Za-z%]+)$/;function A$(t,c){return new Mg(c,t.get(ua),t.get(p2),t.get(E0),t.get(sl))}var Mg=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new E1;_resizeSubscription=y9.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 6,170 bytes, line 749
749constructor(c,e,i,n,a){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=a,this.setOrigin(c)}attach(c){this._overlayRef&&this._overlayRef,this._validatePositions(),c.hostElement.classList.add(pw),this._overlayRef=c,this._boundingBox=c.hostElement,this._pane=c.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){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let c=this._originRect,e=this._overlayRect,i=this._viewportRect,n=this._containerRect,a=[],r;for(let l of this._preferredPositions){let f=this._getOriginPoint(c,n,l),m=this._getOverlayPoint(f,e,l),h=this._getOverlayFit(m,e,i,l);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(l,f);return}if(this._canFitWithFlexibleDimensions(h,m,i)){a.push({position:l,origin:f,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(f,l)});continue}(!r||r.overlayFit.visibleArea<h.visibleArea)&&(r={overlayFit:h,overlayPoint:m,originPoint:f,position:l,overlayRect:e})}if(a.length){let l=null,f=-1;for(let m of a){let h=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);h>f&&(f=h,l=m)}this._isPushed=!1,this._applyPosition(l.position,l.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&b7(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(pw),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let c=this._lastPosition;c?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(c,this._getOriginPoint(this._originRect,this._containerRect,c))):this.apply()}withScrollableContainers(c){return this._scrollables=c,this}withPositions(c){return this._preferredPositions=c,c.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(c){return this._viewportMargin=c,this}withFlexibleDimensions(c=!0){return this._hasFlexibleDimensions=c,this}withGrowAfterOpen(c=!0){return this._growAfterOpen=c,this}withPush(c=!0){return this._canPush=c,this}withLockedPosition(c=!0){return this._positionLocked=c,this}setOrigin(c){return this._origin=c,this}withDefaultOffsetX(c){return this._offsetX=c,this}withDefaultOffsetY(c){return this._offsetY=c,this}withTransformOriginOn(c){return this._transformOriginSelector=c,this}withPopoverLocation(c){return this._popoverLocation=c,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof Q1?this._origin.nativeElement:Cg(this._origin)?this._origin:null}_getOriginPoint(c,e,i){let n;if(i.originX=="center")n=c.left+c.width/2;else{let r=this._isRtl()?c.right:c.left,l=this._isRtl()?c.left:c.right;n=i.originX=="start"?r:l}e.left<0&&(n-=e.left);let a;return i.originY=="center"?a=c.top+c.height/2:a=i.originY=="top"?c.top:c.bottom,e.top<0&&(a-=e.top),{x:n,y:a}}_getOverlayPoint(c,e,i){let n;i.overlayX=="center"?n=-e.width/2:i.overlayX==="start"?n=this._isRtl()?-e.width:0:n=this._isRtl()?0:-e.width;let a;return i.overlayY=="center"?a=-e.height/2:a=i.overlayY=="top"?0:-e.height,{x:c.x+n,y:c.y+a}}_getOverlayFit(c,e,i,n){let a=zw(e),{x:r,y:l}=c,f=this._getOffset(n,"x"),m=this._getOffset(n,"y");f&&(r+=f),m&&(l+=m);let h=0-r,g=r+a.width-i.width,v=0-l,M=l+a.height-i.height,b=this._subtractOverflows(a.width,h,g),C=this._subtractOverflows(a.height,v,M),S=b*C;return{visibleArea:S,isCompletelyWithinViewport:a.width*a.height===S,fitsInViewportVertically:C===a.height,fitsInViewportHorizontally:b==a.width}}_canFitWithFlexibleDimensions(c,e,i){if(this._hasFlexibleDimensions){let n=i.bottom-e.y,a=i.right-e.x,r=gw(this._overlayRef.getConfig().minHeight),l=gw(this._overlayRef.getConfig().minWidth),f=c.fitsInViewportVertically||r!=null&&r<=n,m=c.fitsInViewportHorizontally||l!=null&&l<=a;return f&&m}return!1}_pushOverlayOnScreen(c,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:c.x+this._previousPushAmount.x,y:c.y+this._previousPushAmount.y};let n=zw(e),a=this._viewportRect,r=Math.max(c.x+n.width-a.width,0),l=Math.max(c.y+n.height-a.height,0),f=Math.max(a.top-i.top-c.y,0),m=Math.max(a.left-i.left-c.x,0),h=0,g=0;return n.width<=a.width?h=m||-r:h=c.x<this._getViewportMarginStart()?a.left-i.left-c.x:0,n.height<=a.height?g=f||-l:g=c.y<this._getViewportMarginTop()?a.top-i.top-c.y:0,this._previousPushAmount={x:h,y:g},{x:c.x+h,y:c.y+g}}_applyPosition(c,e){if(this._setTransformOrigin(c),this._setOverlayElementStyles(e,c),this._setBoundingBoxStyles(e,c),c.panelClass&&this._addPanelClasses(c.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(c!==this._lastPosition||!this._lastScrollVisibility||!T$(this._lastScrollVisibility,i)){let n=new zg(c,i);this._positionChanges.next(n)}this._lastScrollVisibility=i}this._lastPosition=c,this._isInitialRender=!1}_setTransformOrigin(c){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,n=c.overlayY;
749c.overlayX==="center"?i="center":this._isRtl()?i=c.overlayX==="start"?"right":"left":i=c.overlayX==="start"?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(c,e){let i=this._viewportRect,n=this._isRtl(),a,r,l;if(e.overlayY==="top")r=c.y,a=i.height-r+this._getViewportMarginBottom();else if(e.overlayY==="bottom")l=i.height-c.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),a=i.height-l+this._getViewportMarginTop();else{let M=Math.min(i.bottom-c.y+i.top,c.y),b=this._lastBoundingBoxSize.height;a=M*2,r=c.y-M,a>b&&!this._isInitialRender&&!this._growAfterOpen&&(r=c.y-b/2)}let f=e.overlayX==="start"&&!n||e.overlayX==="end"&&n,m=e.overlayX==="end"&&!n||e.overlayX==="start"&&n,h,g,v;if(m)v=i.width-c.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),h=c.x-this._getViewportMarginStart();else if(f)g=c.x,h=i.right-c.x-this._getViewportMarginEnd();else{let M=Math.min(i.right-c.x+i.left,c.x),b=this._lastBoundingBoxSize.width;h=M*2,g=c.x-M,h>b&&!this._isInitialRender&&!this._growAfterOpen&&(g=c.x-b/2)}return{top:r,left:g,bottom:l,right:v,width:h,height:a}}_setBoundingBoxStyles(c,e){let i=this._calculateBoundingBoxRect(c,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right="auto",n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.width=n0(i.width),n.height=n0(i.height),n.top=n0(i.top)||"auto",n.bottom=n0(i.bottom)||"auto",n.left=n0(i.left)||"auto",n.right=n0(i.right)||"auto",e.overlayX==="center"?n.alignItems="center":n.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?n.justifyContent="center":n.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=n0(a)),r&&(n.maxWidth=n0(r))}this._lastBoundingBoxSize=i,b7(this._boundingBox.style,n)}_resetBoundingBoxStyles(){b7(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){b7(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(c,e){let i={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let h=this._viewportRuler.getViewportScrollPosition();b7(i,this._getExactOverlayY(e,c,h)),b7(i,this._getExactOverlayX(e,c,h))}else i.position="static";let l="",f=this._getOffset(e,"x"),m=this._getOffset(e,"y");f&&(l+=`translateX(${f}px) `),m&&(l+=`translateY(${m}px)`),i.transform=l.trim(),r.maxHeight&&(n?i.maxHeight=n0(r.maxHeight):a&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=n0(r.maxWidth):a&&(i.maxWidth="")),b7(this._pane.style,i)}_getExactOverlayY(c,e,i){let n={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,c);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),c.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(a.y+this._overlayRect.height)}px`}else n.top=n0(a.y);return n}_getExactOverlayX(c,e,i){let n={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,c);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let r;if(this._isRtl()?r=c.overlayX==="end"?"left":"right":r=c.overlayX==="end"?"right":"left",r==="right"){let l=this._document.documentElement.clientWidth;n.right=`${l-(a.x+this._overlayRect.width)}px`}else n.left=n0(a.x);return n}_getScrollVisibility(){let c=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:uw(c,i),isOriginOutsideView:pg(c,i),isOverlayClipped:uw(e,i),isOverlayOutsideView:pg(e,i)}}_subtractOverflows(c,...e){return e.reduce((i,n)=>i-Math.max(n,0),c)}_getNarrowedViewportRect(){let c=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._getViewportMarginTop(),left:i.left+this._getViewportMarginStart(),right:i.left+c-this._getViewportMarginEnd(),bottom:i.top+e-this._getViewportMarginBottom(),width:c-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(c,e){return e==="x"?c.offsetX==null?this._offsetX:c.offsetX:c.offsetY==null?this._offsetY:c.offsetY}_validatePositions(){}
749_addPanelClasses(c){this._pane&&Ti(c).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(c=>{this._pane.classList.remove(c)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let c=this._origin;if(c instanceof Q1)return c.nativeElement.getBoundingClientRect();if(c instanceof Element)return c.getBoundingClientRect();let e=c.width||0,i=c.height||0;return{top:c.y,bottom:c.y+i,left:c.x,right:c.x+e,height:i,width:e}}_getContainerRect(){let c=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();c&&(e.style.display="block");let i=e.getBoundingClientRect();return c&&(e.style.display=""),i}};function b7(t,c){for(let e in c)c.hasOwnProperty(e)&&(t[e]=c[e]);return t}function gw(t){if(typeof t!="number"&&t!=null){let[c,e]=t.split(k$);return!e||e==="px"?parseFloat(c):null}return t||null}function zw(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function T$(t,c){return t===c?!0:t.isOriginClipped===c.isOriginClipped&&t.isOriginOutsideView===c.isOriginOutsideView&&t.isOverlayClipped===c.isOverlayClipped&&t.isOverlayOutsideView===c.isOverlayOutsideView}var Lw="cdk-global-overlay-wrapper";function yg(t){return new vg}var vg=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(c){let e=c.getConfig();this._overlayRef=c,this._width&&!e.width&&c.updateSize({width:this._width}),this._height&&!e.height&&c.updateSize({height:this._height}),c.hostElement.classList.add(Lw),this._isDisposed=!1}top(c=""){return this._bottomOffset="",this._topOffset=c,this._alignItems="flex-start",this}left(c=""){return this._xOffset=c,this._xPosition="left",this}bottom(c=""){return this._topOffset="",this._bottomOffset=c,this._alignItems="flex-end",this}right(c=""){return this._xOffset=c,this._xPosition="right",this}start(c=""){return this._xOffset=c,this._xPosition="start",this}end(c=""){return this._xOffset=c,this._xPosition="end",this}width(c=""){return this._overlayRef?this._overlayRef.updateSize({width:c}):this._width=c,this}height(c=""){return this._overlayRef?this._overlayRef.updateSize({height:c}):this._height=c,this}centerHorizontally(c=""){return this.left(c),this._xPosition="center",this}centerVertically(c=""){return this.top(c),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let c=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:r,maxHeight:l}=i,f=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),m=(a==="100%"||a==="100vh")&&(!l||l==="100%"||l==="100vh"),h=this._xPosition,g=this._xOffset,v=this._overlayRef.getConfig().direction==="rtl",M="",b="",C="";f?C="flex-start":h==="center"?(C="center",v?b=g:M=g):v?h==="left"||h==="end"?(C="flex-end",M=g):(h==="right"||h==="start")&&(C="flex-start",b=g):h==="left"||h==="start"?(C="flex-start",M=g):(h==="right"||h==="end")&&(C="flex-end",b=g),c.position=this._cssPosition,c.marginLeft=f?"0":M,c.marginTop=m?"0":this._topOffset,c.marginBottom=this._bottomOffset,c.marginRight=f?"0":b,e.justifyContent=C,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let c=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Lw),i.justifyContent=i.alignItems=c.marginTop=c.marginBottom=c.marginLeft=c.marginRight=c.position="",this._overlayRef=null,this._isDisposed=!0}},D$=(()=>{class t{_injector=B(S2);constructor(){}global(){return yg()}flexibleConnectedTo(e){return A$(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),O$=new b4("OVERLAY_DEFAULT_CONFIG");function bg(t,c){t.get(fa).load(vw);let e=t.get(sl),i=t.get(p2),n=t.get(Di),a=t.get(y8),r=t.get(da),l=t.get(h6,null,{optional:!0})||t.get(C8).createRenderer(null,null),f=new ha(c),m=t.get(O$,null,{optional:!0})?.usePopover??!0;f.direction=f.direction||r.value,"showPopover"in i.body?f.usePopover=c?.usePopover??m:f.usePopover=!1;let h=i.createElement("div"),g=i.createElement("div");h.id=n.getId("cdk-overlay-"),h.classList.add("cdk-overlay-pane"),g.appendChild(h),f.usePopover&&(g.setAttribute("popover","manual"),g.classList.add("cdk-overlay-popover"));let v=f.usePopover?f.positionStrategy?.getPopoverInsertionPoint?.():null;return Cg(v)?v.after(g):v?.type==="parent"?v.element.appendChild(g):e.getContainerElement().appendChild(g),new pa(new cl(h,a,t),g,h,f,t.get(n2),t.get(S$),i,t.get(io),t.get(N$),c?.disableAnimations??t.get(CC,null,{optional:!0})==="NoopAnimations",t.get(Ge),l)}var E$=(()=>{class t{scrollStrategies=B(w$);_positionBuilder=B(D$);_injector=B(S2);constructor(){}create(e){return bg(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _w=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({providers:[E$],imports:[ma,oa,dg,dg]})}return t})();function I$(t,c){}var Oi=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;
vendor: 8,353 bytes, lines 749-756
749autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var P$=(()=>{class t extends Ni{_elementRef=B(Q1);_focusTrapFactory=B(og);_config;_interactivityChecker=B(rg);_ngZone=B(n2);_focusMonitor=B(Qx);_renderer=B(h6);_changeDetectorRef=B(_0);_injector=B(S2);_platform=B(E0);_document=B(p2);_portalOutlet;_focusTrapped=new E1;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=B(Oi,{optional:!0})||new Oi,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{a(),r(),e.removeAttribute("tabindex")},a=this._renderer.listen(e,"blur",n),r=this._renderer.listen(e,"mousedown",n)})),e.focus(i)}_focusByCssSelector(e,i){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,i)}_trapFocus(e){this._isDestroyed||L0(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let n=ki(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=ki();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ki()))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,n){if(i&1&&k4(ra,7),i&2){let a;q1(a=Y1())&&(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,n){i&2&&T2("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[i4],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&1&&Y4(0,I$,0,0,"ng-template",0)},dependencies:[ra],styles:[`.cdk-dialog-container { 750 display: block; 751 width: 100%; 752 height: 100%; 753 min-height: inherit; 754 max-height: inherit; 755} 756`],encapsulation:2})}return t})(),S4=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new E1;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(c,e){this.overlayRef=c,this.config=e,this.disableClose=e.disableClose,this.backdropClick=c.backdropClick(),this.keydownEvents=c.keydownEvents(),this.outsidePointerEvents=c.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!dw(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=c.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(c,e){if(this._canClose(c)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(c),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(c="",e=""){return this.overlayRef.updateSize({width:c,height:e}),this}addPanelClass(c){return this.overlayRef.addPanelClass(c),this}removePanelClass(c){return this.overlayRef.removePanelClass(c),this}_canClose(c){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(c,e,this.componentInstance))}},R$=new b4("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=B(S2);return()=>_g(t)}}),j0=new b4("DialogData"),F$=new b4("DefaultDialogConfig");function V$(t){let c=t3(t),e=new N1;return{valueSignal:c,get value(){return c()},change:e,ngOnDestroy(){e.complete()}}}var wg=(()=>{class t{_injector=B(S2);_defaultOptions=B(F$,{optional:!0});_parentDialog=B(t,{optional:!0,skipSelf:!0});_overlayContainer=B(sl);_idGenerator=B(Di);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new E1;_afterOpenedAtThisLevel=new E1;_ariaHiddenElements=new Map;_scrollStrategy=B(R$);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=dC(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(b9(void 0)));constructor(){}open(e,i){let n=this._defaultOptions||new Oi;i=E(E({},n),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),r=bg(this._injector,a),l=new S4(r,i),f=this._attachContainer(r,l,i);if(l.containerInstance=f,!this.openDialogs.length){let m=this._overlayContainer.getContainerElement();f._focusTrapped?f._focusTrapped.pipe(U3(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(m)}):this._hideNonDialogContentFromAssistiveTechnology(m)}return this._attachDialogContent(e,l,f,i),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){xg(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){xg(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),xg(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new ha({positionStrategy:e.positionStrategy||yg().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,n){let a=n.injector||n.viewContainerRef?.injector,r=[{provide:Oi,useValue:n},{provide:S4,useValue:i},{provide:pa,useValue:e}],l;n.container?typeof n.container=="function"?l=n.container:(l=n.container.type,r.pu
756sh(...n.container.providers(n))):l=P$;let f=new Si(l,n.viewContainerRef,S2.create({parent:a||this._injector,providers:r}));return e.attach(f).instance}_attachDialogContent(e,i,n,a){if(e instanceof f0){let r=this._createInjector(a,i,n,void 0),l={$implicit:a.data,dialogRef:i};a.templateContext&&(l=E(E({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new v7(e,null,l,r))}else{let r=this._createInjector(a,i,n,this._injector),l=n.attachComponentPortal(new Si(e,a.viewContainerRef,r));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(e,i,n,a){let r=e.injector||e.viewContainerRef?.injector,l=[{provide:j0,useValue:e.data},{provide:S4,useValue:i}];return e.providers&&(typeof e.providers=="function"?l.push(...e.providers(i,e,n)):l.push(...e.providers)),e.direction&&(!r||!r.get(da,null,{optional:!0}))&&l.push({provide:da,useValue:V$(e.direction)}),S2.create({parent:r||a,providers:l})}_removeOpenDialog(e,i){let n=this.openDialogs.indexOf(e);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,r)=>{a?r.setAttribute("aria-hidden",a):r.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let n=i.length-1;n>-1;n--){let a=i[n];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&!a.hasAttribute("popover")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xg(t,c){let e=t.length;for(;e--;)c(t[e])}var Kt1=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({providers:[wg],imports:[_w,oa,ow,oa]})}return t})();var g2=(()=>{class t{constructor(e,i){this.http=e,this.httpV2=i,this.auth=new Bo(this.http,this.httpV2),this.account=new Uo(this.http,this.httpV2),this.archive=new $o(this.http,this.httpV2),this.billing=new jo(this.http,this.httpV2),this.connector=new Wo(this.http,this.httpV2),this.directive=new Go(this.http,this.httpV2),this.folder=new ol(this.http,this.httpV2),this.invite=new ll(this.http,this.httpV2),this.locn=new fl(this.http,this.httpV2),this.notification=new dl(this.http,this.httpV2),this.publish=new ml(this.http,this.httpV2),this.record=new rl(this.http,this.httpV2),this.relation=new ul(this.http,this.httpV2),this.search=new hl(this.http,this.httpV2),this.share=new Jo(this.http,this.httpV2),this.system=new pl(this.http,this.httpV2),this.tag=new gl(this.http,this.httpV2),this.idpuser=new zl(this.http,this.httpV2)}static{this.\u0275fac=function(i){return new(i||t)(p1(Ci),p1(le))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var sn=o2(u4());var kS=o2(u4());function n5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,c){t.prototype=Object.create(c.prototype),t.prototype.constructor=t,t.__proto__=c}var Z3={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ii={duration:.5,overwrite:!1,delay:0},jg,G0,A4,K6=1e8,L4=1/K6,Eg=Math.PI*2,B$=Eg/4,U$=0,Tw=Math.sqrt,$$=Math.cos,j$=Math.sin,C0=function(c){return typeof c=="string"},Z4=function(c){return typeof c=="function"},s5=function(c){return typeof c=="number"},Sl=function(c){return typeof c>"u"},me=function(c){return typeof c=="object"},Y3=function(c){return c!==!1},Wg=function(){return typeof window<"u"},Ll=function(c){return Z4(c)||C0(c)},Dw=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},s3=Array.isArray,W$=/random\([^)]+\)/g,G$=/,\s*/g,Cw=/(?:-?\.?\d|\.)+/gi,Gg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,N7=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Sg=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,qg=/[+-]=-?[.\d]+/,q$=/[^,'"\[\]\s]+/gi,Y$=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,$4,fe,Ig,Yg,y6={},Cl={},Ow,Ew=function(c){return(Cl=Pi(c,y6))&&r3},Nl=function(c,e){return console.warn("Invalid property",c,"set to",e,"Missing plugin? gsap.registerPlugin()")},Ca=function(c,e){return!e&&console.warn(c)},Iw=function(c,e){return c&&(y6[c]=e)&&Cl&&(Cl[c]=e)||y6},ya=function(){return 0},Z$={suppressEvents:!0,isStart:!0,kill:!1},Ml={suppressEvents:!0,kill:!1},K$={suppressEvents:!0},Zg={},lc=[],Pg={},Pw,G3={},Ng={},yw=30,vl=[],Kg="",Xg=function(c){var e=c[0],i,n;if(me(e)||Z4(e)||(c=[c]),!(i=(e._gsap||{}).harness)){for(n=vl.length;n--&&!vl[n].targetTest(e););i=vl[n]}for(n=c.length;n--;)c[n]&&(c[n]._gsap||(c[n]._gsap=new cz(c[n],i)))||c.splice(n,1);return c},fc=function(c){return c._gsap||Xg(X6(c))[0]._gsap},Qg=function(c,e,i){return(i=c[e])&&Z4(i)?c[e]():Sl(i)&&c.getAttribute&&c.getAttribute(e)||i}
vendor: 5,752 bytes, line 756
756,x3=function(c,e){return(c=c.split(",")).forEach(e)||c},K4=function(c){return Math.round(c*1e5)/1e5||0},U4=function(c){return Math.round(c*1e7)/1e7||0},k7=function(c,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return c=parseFloat(c),i==="+"?c+n:i==="-"?c-n:i==="*"?c*n:c/n},X$=function(c,e){for(var i=e.length,n=0;c.indexOf(e[n])<0&&++n<i;);return n<i},yl=function(){var c=lc.length,e=lc.slice(0),i,n;for(Pg={},lc.length=0,i=0;i<c;i++)n=e[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Jg=function(c){return!!(c._initted||c._startAt||c.add)},Rw=function(c,e,i,n){lc.length&&!G0&&yl(),c.render(e,i,n||!!(G0&&e<0&&Jg(c))),lc.length&&!G0&&yl()},Fw=function(c){var e=parseFloat(c);return(e||e===0)&&(c+"").match(q$).length<2?e:C0(c)?c.trim():c},Vw=function(c){return c},b6=function(c,e){for(var i in e)i in c||(c[i]=e[i]);return c},Q$=function(c){return function(e,i){for(var n in i)n in e||n==="duration"&&c||n==="ease"||(e[n]=i[n])}},Pi=function(c,e){for(var i in e)c[i]=e[i];return c},bw=function t(c,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(c[i]=me(e[i])?t(c[i]||(c[i]={}),e[i]):e[i]);return c},bl=function(c,e){var i={},n;for(n in c)n in e||(i[n]=c[n]);return i},Ma=function(c){var e=c.parent||$4,i=c.keyframes?Q$(s3(c.keyframes)):b6;if(Y3(c.inherit))for(;e;)i(c,e.vars.defaults),e=e.parent||e._dp;return c},J$=function(c,e){for(var i=c.length,n=i===e.length;n&&i--&&c[i]===e[i];);return i<0},Hw=function(c,e,i,n,a){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=c[n],l;if(a)for(l=e[a];r&&r[a]>l;)r=r._prev;return r?(e._next=r._next,r._next=e):(e._next=c[i],c[i]=e),e._next?e._next._prev=e:c[n]=e,e._prev=r,e.parent=e._dp=c,e},kl=function(c,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var a=e._prev,r=e._next;a?a._next=r:c[i]===e&&(c[i]=r),r?r._prev=a:c[n]===e&&(c[n]=a),e._next=e._prev=e.parent=null},dc=function(c,e){c.parent&&(!e||c.parent.autoRemoveChildren)&&c.parent.remove&&c.parent.remove(c),c._act=0},x7=function(c,e){if(c&&(!e||e._end>c._dur||e._start<0))for(var i=c;i;)i._dirty=1,i=i.parent;return c},ej=function(c){for(var e=c.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return c},Rg=function(c,e,i,n){return c._startAt&&(G0?c._startAt.revert(Ml):c.vars.immediateRender&&!c.vars.autoRevert||c._startAt.render(e,!0,n))},cj=function t(c){return!c||c._ts&&t(c.parent)},xw=function(c){return c._repeat?Ri(c._tTime,c=c.duration()+c._rDelay)*c:0},Ri=function(c,e){var i=Math.floor(c=U4(c/e));return c&&i===c?i-1:i},xl=function(c,e){return(c-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Al=function(c){return c._end=U4(c._start+(c._tDur/Math.abs(c._ts||c._rts||L4)||0))},Tl=function(c,e){var i=c._dp;return i&&i.smoothChildTiming&&c._ts&&(c._start=U4(i._time-(c._ts>0?e/c._ts:((c._dirty?c.totalDuration():c._tDur)-e)/-c._ts)),Al(c),i._dirty||x7(i,c)),c},Bw=function(c,e){var i;if((e._time||!e._dur&&e._initted||e._start<c._time&&(e._dur||!e.add))&&(i=xl(c.rawTime(),e),(!e._dur||wa(0,e.totalDuration(),i)-e._tTime>L4)&&e.render(i,!0)),x7(c,e)._dp&&c._initted&&c._time>=c._dur&&c._ts){if(c._dur<c.duration())for(i=c;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;c._zTime=-L4}},de=function(c,e,i,n){return e.parent&&dc(e),e._start=U4((s5(i)?i:i||c!==$4?Z6(c,i,e):c._time)+e._delay),e._end=U4(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Hw(c,e,"_first","_last",c._sort?"_start":0),Fg(e)||(c._recent=e),n||Bw(c,e),c._ts<0&&Tl(c,c._tTime),c},Uw=function(c,e){return(y6.ScrollTrigger||Nl("scrollTrigger",e))&&y6.ScrollTrigger.create(e,c)},$w=function(c,e,i,n,a){if(nz(c,e,a),!c._initted)return 1;if(!i&&c._pt&&!G0&&(c._dur&&c.vars.lazy!==!1||!c._dur&&c.vars.lazy)&&Pw!==q3.frame)return lc.push(c),c._lazy=[a,n],1},tj=function t(c){var e=c.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||t(e))},Fg=function(c){var e=c.data;return e==="isFromStart"||e==="isStart"},ij=function(c,e,i,n){var a=c.ratio,r=e<0||!e&&(!c._start&&tj(c)&&!(!c._initted&&Fg(c))||(c._ts<0||c._dp._ts<0)&&!Fg(c))?0:1,l=c._rDelay,f=0,m,h,g;if(l&&c._repeat&&(f=wa(0,c._tDur,e),h=Ri(f,l),c._yoyo&&h&1&&(r=1-r),h!==Ri(c._tTime,l)&&(a=1-r,c.vars.repeatRefresh&&c._initted&&c.invalidate())),r!==a||G0||n||c._zTime===L4||!e&&c._zTime){if(!c._initted&&$w(c,e,n,i,f))return;for(g=c._zTime,c._zTime=e||(i?L4:0),i||(i=e&&!g),c.ratio=r,c._from&&(r=1-r),c._time=0,c._tTime=f,m=c._pt;m;)m.r(r,m.d),m=m._next;e<0&&Rg(c,e,i,!0),c._onUpdate&&!i&&C6(c,"onUpdate"),f&&c._repeat&&!i&&c.parent&&C6(c,"onRepeat"),(e>=c._tDur||e<0)&&c.ratio===r&&(r&&dc(c,1),!i&&!G0&&(C6(c,r?"onComplete":"onReverseComplete",!0),c._prom&&c._prom()))}else c._zTime||(c._zTime=e)},nj=function(c,e,i){var n;if(i>e)for(n=c._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=c._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<e)return n;n=n._prev}},Fi=function(c,e,i,n){var a=c._repeat,r=U4(e)||0,l=c._tTime/c._tDur;return l&&!n&&(c._time*=r/c._dur),c._dur=r,c._tDur=a?a<0?1e10:U4(r*(a+1)+c._rDelay*a):r,l>0&&!n&&Tl(c,c._tTime=c._tDur*l),c.parent&&Al(c),i||x7(c.parent,c),c},ww=function(c){return c instanceof W0?x7(c):Fi(c,c._dur)},aj={_start:0,endTime:ya,totalDuration:ya},Z6=function t(c,e,i){var n=c.labels,a=c._recent||aj,r=c.duration()>=K6?a.endTime(!1):c._dur,l,f,m;return C0(e)&&(isNaN(e)||e in n)?(f=e.charAt(0),m=e.substr(-1)==="%",l=e.indexOf("="),f==="<"||f===">"?(l>=0&&(e=e.replace(/=/,"")),(f==="<"?a._start:a.endTime(a._repeat>=0))+(parseFloat(e.substr(1))||0)*(m?(l<0?a:i).totalDuration()/100:1)):l<0?(e in n||(n[e]=r),n[e]):(f=parseFloat(e.charAt(l-1)+e.substr(l+1)),m&&i&&(f=f/100*(s3(i)?i[0]:i).totalDuration()),l>1?t(c,e.substr(0,l-1),i)+f:r+f)):e==null?r:+e},va=function(c,e,i){var n=s5(e[1]),a=(n?2:1)+(c<2?0:1),r=e[a],l,f;
vendor: 4,188 bytes, line 756
756if(n&&(r.duration=e[1]),r.parent=i,c){for(l=r,f=i;f&&!("immediateRender"in l);)l=f.vars.defaults||{},f=Y3(f.vars.inherit)&&f.parent;r.immediateRender=Y3(l.immediateRender),c<2?r.runBackwards=1:r.startAt=e[a-1]}return new a0(e[0],r,e[a+1])},mc=function(c,e){return c||c===0?e(c):e},wa=function(c,e,i){return i<c?c:i>e?e:i},q0=function(c,e){return!C0(c)||!(e=Y$.exec(c))?"":e[1]},sj=function(c,e,i){return mc(i,function(n){return wa(c,e,n)})},Vg=[].slice,jw=function(c,e){return c&&me(c)&&"length"in c&&(!e&&!c.length||c.length-1 in c&&me(c[0]))&&!c.nodeType&&c!==fe},rj=function(c,e,i){return i===void 0&&(i=[]),c.forEach(function(n){var a;return C0(n)&&!e||jw(n,1)?(a=i).push.apply(a,X6(n)):i.push(n)})||i},X6=function(c,e,i){return A4&&!e&&A4.selector?A4.selector(c):C0(c)&&!i&&(Ig||!Vi())?Vg.call((e||Yg).querySelectorAll(c),0):s3(c)?rj(c,i):jw(c)?Vg.call(c,0):c?[c]:[]},Hg=function(c){return c=X6(c)[0]||Ca("Invalid scope")||{},function(e){var i=c.current||c.nativeElement||c;return X6(e,i.querySelectorAll?i:i===c?Ca("Invalid scope")||Yg.createElement("div"):c)}},Ww=function(c){return c.sort(function(){return .5-Math.random()})},Gw=function(c){if(Z4(c))return c;var e=me(c)?c:{each:c},i=w7(e.ease),n=e.from||0,a=parseFloat(e.base)||0,r={},l=n>0&&n<1,f=isNaN(n)||l,m=e.axis,h=n,g=n;return C0(n)?h=g={center:.5,edges:.5,end:1}[n]||0:!l&&f&&(h=n[0],g=n[1]),function(v,M,b){var C=(b||e).length,S=r[C],P,V,q,W,G,Q,l1,c1,n1;if(!S){if(n1=e.grid==="auto"?0:(e.grid||[1,K6])[1],!n1){for(l1=-K6;l1<(l1=b[n1++].getBoundingClientRect().left)&&n1<C;);n1<C&&n1--}for(S=r[C]=[],P=f?Math.min(n1,C)*h-.5:n%n1,V=n1===K6?0:f?C*g/n1-.5:n/n1|0,l1=0,c1=K6,Q=0;Q<C;Q++)q=Q%n1-P,W=V-(Q/n1|0),S[Q]=G=m?Math.abs(m==="y"?W:q):Tw(q*q+W*W),G>l1&&(l1=G),G<c1&&(c1=G);n==="random"&&Ww(S),S.max=l1-c1,S.min=c1,S.v=C=(parseFloat(e.amount)||parseFloat(e.each)*(n1>C?C-1:m?m==="y"?C/n1:n1:Math.max(n1,C/n1))||0)*(n==="edges"?-1:1),S.b=C<0?a-C:a,S.u=q0(e.amount||e.each)||0,i=i&&C<0?cS(i):i}return C=(S[v]-S.min)/S.max||0,U4(S.b+(i?i(C):C)*S.v)+S.u}},Bg=function(c){var e=Math.pow(10,((c+"").split(".")[1]||"").length);return function(i){var n=U4(Math.round(parseFloat(i)/c)*c*e);return(n-n%1)/e+(s5(i)?0:q0(i))}},qw=function(c,e){var i=s3(c),n,a;return!i&&me(c)&&(n=i=c.radius||K6,c.values?(c=X6(c.values),(a=!s5(c[0]))&&(n*=n)):c=Bg(c.increment)),mc(e,i?Z4(c)?function(r){return a=c(r),Math.abs(a-r)<=n?a:r}:function(r){for(var l=parseFloat(a?r.x:r),f=parseFloat(a?r.y:0),m=K6,h=0,g=c.length,v,M;g--;)a?(v=c[g].x-l,M=c[g].y-f,v=v*v+M*M):v=Math.abs(c[g]-l),v<m&&(m=v,h=g);return h=!n||m<=n?c[h]:r,a||h===r||s5(r)?h:h+q0(r)}:Bg(c))},Yw=function(c,e,i,n){return mc(s3(c)?!e:i===!0?!!(i=0):!n,function(){return s3(c)?c[~~(Math.random()*c.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((c-i/2+Math.random()*(e-c+i*.99))/i)*i*n)/n})},oj=function(){for(var c=arguments.length,e=new Array(c),i=0;i<c;i++)e[i]=arguments[i];return function(n){return e.reduce(function(a,r){return r(a)},n)}},lj=function(c,e){return function(i){return c(parseFloat(i))+(e||q0(i))}},fj=function(c,e,i){return Kw(c,e,0,1,i)},Zw=function(c,e,i){return mc(i,function(n){return c[~~e(n)]})},dj=function t(c,e,i){var n=e-c;return s3(c)?Zw(c,t(0,c.length),e):mc(i,function(a){return(n+(a-c)%n)%n+c})},mj=function t(c,e,i){var n=e-c,a=n*2;return s3(c)?Zw(c,t(0,c.length-1),e):mc(i,function(r){return r=(a+(r-c)%a)%a||0,c+(r>n?a-r:r)})},Hi=function(c){return c.replace(W$,function(e){var i=e.indexOf("[")+1,n=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(G$);return Yw(i?n:+n[0],i?0:+n[1],+n[2]||1e-5)})},Kw=function(c,e,i,n,a){var r=e-c,l=n-i;return mc(a,function(f){return i+((f-c)/r*l||0)})},uj=function t(c,e,i,n){var a=isNaN(c+e)?0:function(M){return(1-M)*c+M*e};if(!a){var r=C0(c),l={},f,m,h,g,v;if(i===!0&&(n=1)&&(i=null),r)c={p:c},e={p:e};else if(s3(c)&&!s3(e)){for(h=[],g=c.length,v=g-2,m=1;m<g;m++)h.push(t(c[m-1],c[m]));g--,a=function(b){b*=g;var C=Math.min(v,~~b);return h[C](b-C)},i=e}else n||(c=Pi(s3(c)?[]:{},c));if(!h){for(f in e)tz.call(l,c,f,"get",e[f]);a=function(b){return rz(b,l)||(r?c.p:c)}}}return mc(i,a)},Sw=function(c,e,i){var n=c.labels,a=K6,r,l,f;for(r in n)l=n[r]-e,l<0==!!i&&l&&a>
vendor: 2,656 bytes, line 756
756(l=Math.abs(l))&&(f=r,a=l);return f},C6=function(c,e,i){var n=c.vars,a=n[e],r=A4,l=c._ctx,f,m,h;if(a)return f=n[e+"Params"],m=n.callbackScope||c,i&&lc.length&&yl(),l&&(A4=l),h=f?a.apply(m,f):a.call(m),A4=r,h},za=function(c){return dc(c),c.scrollTrigger&&c.scrollTrigger.kill(!!G0),c.progress()<1&&C6(c,"onInterrupt"),c},Ei,Xw=[],Qw=function(c){if(c)if(c=!c.name&&c.default||c,Wg()||c.headless){var e=c.name,i=Z4(c),n=e&&!i&&c.init?function(){this._props=[]}:c,a={init:ya,render:rz,add:tz,kill:kj,modifier:Nj,rawVars:0},r={targetTest:0,get:0,getSetter:Dl,aliases:{},register:0};if(Vi(),c!==n){if(G3[e])return;b6(n,b6(bl(c,a),r)),Pi(n.prototype,Pi(a,bl(c,r))),G3[n.prop=e]=n,c.targetTest&&(vl.push(n),Zg[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Iw(e,n),c.register&&c.register(r3,n,w3)}else Xw.push(c)},z4=255,La={aqua:[0,z4,z4],lime:[0,z4,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,z4],navy:[0,0,128],white:[z4,z4,z4],olive:[128,128,0],yellow:[z4,z4,0],orange:[z4,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[z4,0,0],pink:[z4,192,203],cyan:[0,z4,z4],transparent:[z4,z4,z4,0]},kg=function(c,e,i){return c+=c<0?1:c>1?-1:0,(c*6<1?e+(i-e)*c*6:c<.5?i:c*3<2?e+(i-e)*(2/3-c)*6:e)*z4+.5|0},Jw=function(c,e,i){var n=c?s5(c)?[c>>16,c>>8&z4,c&z4]:0:La.black,a,r,l,f,m,h,g,v,M,b;if(!n){if(c.substr(-1)===","&&(c=c.substr(0,c.length-1)),La[c])n=La[c];else if(c.charAt(0)==="#"){if(c.length<6&&(a=c.charAt(1),r=c.charAt(2),l=c.charAt(3),c="#"+a+a+r+r+l+l+(c.length===5?c.charAt(4)+c.charAt(4):"")),c.length===9)return n=parseInt(c.substr(1,6),16),[n>>16,n>>8&z4,n&z4,parseInt(c.substr(7),16)/255];c=parseInt(c.substr(1),16),n=[c>>16,c>>8&z4,c&z4]}else if(c.substr(0,3)==="hsl"){if(n=b=c.match(Cw),!e)f=+n[0]%360/360,m=+n[1]/100,h=+n[2]/100,r=h<=.5?h*(m+1):h+m-h*m,a=h*2-r,n.length>3&&(n[3]*=1),n[0]=kg(f+1/3,a,r),n[1]=kg(f,a,r),n[2]=kg(f-1/3,a,r);else if(~c.indexOf("="))return n=c.match(Gg),i&&n.length<4&&(n[3]=1),n}else n=c.match(Cw)||La.transparent;n=n.map(Number)}return e&&!b&&(a=n[0]/z4,r=n[1]/z4,l=n[2]/z4,g=Math.max(a,r,l),v=Math.min(a,r,l),h=(g+v)/2,g===v?f=m=0:(M=g-v,m=h>.5?M/(2-g-v):M/(g+v),f=g===a?(r-l)/M+(r<l?6:0):g===r?(l-a)/M+2:(a-r)/M+4,f*=60),n[0]=~~(f+.5),n[1]=~~(m*100+.5),n[2]=~~(h*100+.5)),i&&n.length<4&&(n[3]=1),n},eS=function(c){var e=[],i=[],n=-1;return c.split(a5).forEach(function(a){var r=a.match(N7)||[];e.push.apply(e,r),i.push(n+=r.length+1)}),e.c=i,e},Nw=function(c,e,i){var n="",a=(c+n).match(a5),r=e?"hsla(":"rgba(",l=0,f,m,h,g;if(!a)return c;if(a=a.map(function(v){return(v=Jw(v,e,1))&&r+(e?v[0]+","+v[1]+"%,"+v[2]+"%,"+v[3]:v.join(","))+")"}
vendor: 4,547 bytes, line 756
756),i&&(h=eS(c),f=i.c,f.join(n)!==h.c.join(n)))for(m=c.replace(a5,"1").split(N7),g=m.length-1;l<g;l++)n+=m[l]+(~f.indexOf(l)?a.shift()||r+"0,0,0,0)":(h.length?h:a.length?a:i).shift());if(!m)for(m=c.split(a5),g=m.length-1;l<g;l++)n+=m[l]+a[l];return n+m[g]},a5=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",c;for(c in La)t+="|"+c+"\\b";return new RegExp(t+")","gi")})(),hj=/hsl[a]?\(/,ez=function(c){var e=c.join(" "),i;if(a5.lastIndex=0,a5.test(e))return i=hj.test(e),c[1]=Nw(c[1],i),c[0]=Nw(c[0],i,eS(c[1])),!0},ba,q3=(function(){var t=Date.now,c=500,e=33,i=t(),n=i,a=1e3/240,r=a,l=[],f,m,h,g,v,M,b=function C(S){var P=t()-n,V=S===!0,q,W,G,Q;if((P>c||P<0)&&(i+=P-e),n+=P,G=n-i,q=G-r,(q>0||V)&&(Q=++g.frame,v=G-g.time*1e3,g.time=G=G/1e3,r+=q+(q>=a?4:a-q),W=1),V||(f=m(C)),W)for(M=0;M<l.length;M++)l[M](G,v,Q,S)};return g={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(S){return v/(1e3/(S||60))},wake:function(){Ow&&(!Ig&&Wg()&&(fe=Ig=window,Yg=fe.document||{},y6.gsap=r3,(fe.gsapVersions||(fe.gsapVersions=[])).push(r3.version),Ew(Cl||fe.GreenSockGlobals||!fe.gsap&&fe||{}),Xw.forEach(Qw)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,f&&g.sleep(),m=h||function(S){return setTimeout(S,r-g.time*1e3+1|0)},ba=1,b(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(f),ba=0,m=ya},lagSmoothing:function(S,P){c=S||1/0,e=Math.min(P||33,c)},fps:function(S){a=1e3/(S||240),r=g.time*1e3+a},add:function(S,P,V){var q=P?function(W,G,Q,l1){S(W,G,Q,l1),g.remove(q)}:S;return g.remove(S),l[V?"unshift":"push"](q),Vi(),q},remove:function(S,P){~(P=l.indexOf(S))&&l.splice(P,1)&&M>=P&&M--},_listeners:l},g})(),Vi=function(){return!ba&&q3.wake()},D2={},pj=/^[\d.\-M][\d.\-,\s]/,gj=/["']/g,zj=function(c){for(var e={},i=c.substr(1,c.length-3).split(":"),n=i[0],a=1,r=i.length,l,f,m;a<r;a++)f=i[a],l=a!==r-1?f.lastIndexOf(","):f.length,m=f.substr(0,l),e[n]=isNaN(m)?m.replace(gj,"").trim():+m,n=f.substr(l+1).trim();return e},Lj=function(c){var e=c.indexOf("(")+1,i=c.indexOf(")"),n=c.indexOf("(",e);return c.substring(e,~n&&n<i?c.indexOf(")",i+1):i)},Mj=function(c){var e=(c+"").split("("),i=D2[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~c.indexOf("{")?[zj(e[1])]:Lj(c).split(",").map(Fw)):D2._CE&&pj.test(c)?D2._CE("",c):i},cS=function(c){return function(e){return 1-c(1-e)}},tS=function t(c,e){for(var i=c._first,n;i;)i instanceof W0?t(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?t(i.timeline,e):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=e)),i=i._next},w7=function(c,e){return c&&(Z4(c)?c:D2[c]||Mj(c))||e},A7=function(c,e,i,n){i===void 0&&(i=function(f){return 1-e(1-f)}),n===void 0&&(n=function(f){return f<.5?e(f*2)/2:1-e((1-f)*2)/2});var a={easeIn:e,easeOut:i,easeInOut:n},r;return x3(c,function(l){D2[l]=y6[l]=a,D2[r=l.toLowerCase()]=i;for(var f in a)D2[r+(f==="easeIn"?".in":f==="easeOut"?".out":".inOut")]=D2[l+"."+f]=a[f]}),a},iS=function(c){return function(e){return e<.5?(1-c(1-e*2))/2:.5+c((e-.5)*2)/2}},Ag=function t(c,e,i){var n=e>=1?e:1,a=(i||(c?.3:.45))/(e<1?e:1),r=a/Eg*(Math.asin(1/n)||0),l=function(h){return h===1?1:n*Math.pow(2,-10*h)*j$((h-r)*a)+1},f=c==="out"?l:c==="in"?function(m){return 1-l(1-m)}:iS(l);return a=Eg/a,f.config=function(m,h){return t(c,m,h)},f},Tg=function t(c,e){e===void 0&&(e=1.70158);var i=function(r){return r?--r*r*((e+1)*r+e)+1:0},n=c==="out"?i:c==="in"?function(a){return 1-i(1-a)}:iS(i);return n.config=function(a){return t(c,a)},n};x3("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,c){var e=c<5?c+1:c;A7(t+",Power"+(e-1),c?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});D2.Linear.easeNone=D2.none=D2.Linear.easeIn;A7("Elastic",Ag("in"),Ag("out"),Ag());(function(t,c){var e=1/c,i=2*e,n=2.5*e,a=function(l){return l<e?t*l*l:l<i?t*Math.pow(l-1.5/c,2)+.75:l<n?t*(l-=2.25/c)*l+.9375:t*Math.pow(l-2.625/c,2)+.984375};A7("Bounce",function(r){return 1-a(1-r)},a)})(7.5625,2.75);A7("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});A7("Circ",function(t){return-(Tw(1-t*t)-1)});A7("Sine",function(t){return t===1?1:-$$(t*B$)+1});A7("Back",Tg("in"),Tg("out"),Tg());D2.SteppedEase=D2.steps=y6.SteppedEase={config:function(c,e){c===void 0&&(c=1);var i=1/c,n=c+(e?0:1),a=e?1:0,r=1-L4;return function(l){return((n*wa(0,r,l)|0)+a)*i}}};Ii.ease=D2["quad.out"];x3("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Kg+=t+","+t+"Param
756s,"});var cz=function(c,e){this.id=U$++,c._gsap=this,this.target=c,this.harness=e,this.get=e?e.get:Qg,this.set=e?e.getSetter:Dl},xa=(function(){function t(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Fi(this,+e.duration,1,1),this.data=e.data,A4&&(this._ctx=A4,A4.data.push(this)),ba||q3.wake()}var c=t.prototype;return c.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},c.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},c.totalDuration=function(i){return arguments.length?(this._dirty=0,Fi(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},c.totalTime=function(i,n){if(Vi(),!arguments.length)return this._tTime;var a=this._dp;if(a&&a.smoothChildTiming&&this._ts){for(Tl(this,i),!a._dp||a.parent||Bw(a,this);a&&a.parent;)a.parent._time!==a._start+(a._ts>=0?a._tTime/a._ts:(a.totalDuration()-a._tTime)/-a._ts)&&a.totalTime(a._tTime,!0),a=a.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&de(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===L4||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Rw(this,i,n)),this},c.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+xw(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},c.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},c.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+xw(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},c.iteration=function(i,n){var a=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*a,n):this._repeat?Ri(this._tTime,a)+1:1},c.timeScale=function(i,n){if(!arguments.length)return this._rts===-L4?0:this._rts;if(this._rts===i)return this;var a=this.parent&&this._ts?xl(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-L4?0:this._rts,this.totalTime(wa(-Math.abs(this._delay),this.totalDuration(),a),n!==!1),Al(this),ej(this)},c.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Vi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==L4&&(this._tTime-=L4)))),this):this._ps},c.startTime=function(i){if(arguments.length){this._start=U4(i);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&de(n,this,this._start-this._delay),this}return this._start},c.endTime=function(i){return this._start+(Y3(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},c.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?xl(n.rawTime(i),this):this._tTime:this._tTime},c.revert=function(i){i===void 0&&(i=K$);var n=G0;return G0=i,Jg(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),G0=n,this},c.globalTime=function(i){for(var n=this,a=arguments.length?i:n.rawTime();n;)a=n._start+a/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):a},c.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,ww(this)):this._repeat===-2?1/0:this._repeat},c.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,ww(this),n?this.time(n):this}return this._rDelay},c.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},c.seek=function(i,n){return this.totalTime(Z6(this,i),Y3(n))},c.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,Y3(n)),this._dur||(this._zTime=-L4),this},c.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},c.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},c.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},c.resume=function(){return this.paused(!1)},c.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-L4:0)),this):this._rts<0},c.invalidate=function(){return this._initted=this._act=0,this._zTime=-L4,this},c.isActive=function(){var i=this.parent||this._dp,n=this._start,a;return!!(!i||this._ts&&this._initted&&i.isActive()&&(a=i.rawTime(!0))>=n&&a<this.endTime(!0)-L4)}
vendor: 8,825 bytes, line 756
756,c.eventCallback=function(i,n,a){var r=this.vars;return arguments.length>1?(n?(r[i]=n,a&&(r[i+"Params"]=a),i==="onUpdate"&&(this._onUpdate=n)):delete r[i],this):r[i]},c.then=function(i){var n=this,a=n._prom;return new Promise(function(r){var l=Z4(i)?i:Vw,f=function(){var h=n.then;n.then=null,a&&a(),Z4(l)&&(l=l(n))&&(l.then||l===n)&&(n.then=h),r(l),n.then=h};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?f():n._prom=f})},c.kill=function(){za(this)},t})();b6(xa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-L4,_prom:0,_ps:!1,_rts:1});var W0=(function(t){Aw(c,t);function c(i,n){var a;return i===void 0&&(i={}),a=t.call(this,i)||this,a.labels={},a.smoothChildTiming=!!i.smoothChildTiming,a.autoRemoveChildren=!!i.autoRemoveChildren,a._sort=Y3(i.sortChildren),$4&&de(i.parent||$4,n5(a),n),i.reversed&&a.reverse(),i.paused&&a.paused(!0),i.scrollTrigger&&Uw(n5(a),i.scrollTrigger),a}var e=c.prototype;return e.to=function(n,a,r){return va(0,arguments,this),this},e.from=function(n,a,r){return va(1,arguments,this),this},e.fromTo=function(n,a,r,l){return va(2,arguments,this),this},e.set=function(n,a,r){return a.duration=0,a.parent=this,Ma(a).repeatDelay||(a.repeat=0),a.immediateRender=!!a.immediateRender,new a0(n,a,Z6(this,r),1),this},e.call=function(n,a,r){return de(this,a0.delayedCall(0,n,a),r)},e.staggerTo=function(n,a,r,l,f,m,h){return r.duration=a,r.stagger=r.stagger||l,r.onComplete=m,r.onCompleteParams=h,r.parent=this,new a0(n,r,Z6(this,f)),this},e.staggerFrom=function(n,a,r,l,f,m,h){return r.runBackwards=1,Ma(r).immediateRender=Y3(r.immediateRender),this.staggerTo(n,a,r,l,f,m,h)},e.staggerFromTo=function(n,a,r,l,f,m,h,g){return l.startAt=r,Ma(l).immediateRender=Y3(l.immediateRender),this.staggerTo(n,a,l,f,m,h,g)},e.render=function(n,a,r){var l=this._time,f=this._dirty?this.totalDuration():this._tDur,m=this._dur,h=n<=0?0:U4(n),g=this._zTime<0!=n<0&&(this._initted||!m),v,M,b,C,S,P,V,q,W,G,Q,l1;if(this!==$4&&h>f&&n>=0&&(h=f),h!==this._tTime||r||g){if(l!==this._time&&m&&(h+=this._time-l,n+=this._time-l),v=h,W=this._start,q=this._ts,P=!q,g&&(m||(l=this._zTime),(n||!a)&&(this._zTime=n)),this._repeat){if(Q=this._yoyo,S=m+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(S*100+n,a,r);if(v=U4(h%S),h===f?(C=this._repeat,v=m):(G=U4(h/S),C=~~G,C&&C===G&&(v=m,C--),v>m&&(v=m)),G=Ri(this._tTime,S),!l&&this._tTime&&G!==C&&this._tTime-G*S-this._dur<=0&&(G=C),Q&&C&1&&(v=m-v,l1=1),C!==G&&!this._lock){var c1=Q&&G&1,n1=c1===(Q&&C&1);if(C<G&&(c1=!c1),l=c1?0:h%m?m:h,this._lock=1,this.render(l||(l1?0:U4(C*S)),a,!m)._lock=0,this._tTime=h,!a&&this.parent&&C6(this,"onRepeat"),this.vars.repeatRefresh&&!l1&&(this.invalidate()._lock=1,G=C),l&&l!==this._time||P!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,f=this._tDur,n1&&(this._lock=2,l=c1?m:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!l1&&this.invalidate()),this._lock=0,!this._ts&&!P)return this;tS(this,l1)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(V=nj(this,U4(l),U4(v)),V&&(h-=v-(v=V._start))),this._tTime=h,this._time=v,this._act=!q,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,l=0),!l&&h&&m&&!a&&!G&&(C6(this,"onStart"),this._tTime!==h))return this;if(v>=l&&n>=0)for(M=this._first;M;){if(b=M._next,(M._act||v>=M._start)&&M._ts&&V!==M){if(M.parent!==this)return this.render(n,a,r);if(M.render(M._ts>0?(v-M._start)*M._ts:(M._dirty?M.totalDuration():M._tDur)+(v-M._start)*M._ts,a,r),v!==this._time||!this._ts&&!P){V=0,b&&(h+=this._zTime=-L4);break}}M=b}else{M=this._last;for(var _1=n<0?n:v;M;){if(b=M._prev,(M._act||_1<=M._end)&&M._ts&&V!==M){if(M.parent!==this)return this.render(n,a,r);if(M.render(M._ts>0?(_1-M._start)*M._ts:(M._dirty?M.totalDuration():M._tDur)+(_1-M._start)*M._ts,a,r||G0&&Jg(M)),v!==this._time||!this._ts&&!P){V=0,b&&(h+=this._zTime=_1?-L4:L4);break}}M=b}}if(V&&!a&&(this.pause(),V.render(v>=l?0:-L4)._zTime=v>=l?1:-1,this._ts))return this._start=W,Al(this),this.render(n,a,r);this._onUpdate&&!a&&C6(this,"onUpdate",!0),(h===f&&this._tTime>=this.totalDuration()||!h&&l)&&(W===this._start||Math.abs(q)!==Math.abs(this._ts))&&(this._lock||((n||!m)&&(h===f&&this._ts>0||!h&&this._ts<0)&&dc(this,1),!a&&!(n<0&&!l)&&(h||l||!f)&&(C6(this,h===f&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h<f&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(n,a){var r=this;if(s5(a)||(a=Z6(this,a,n)),!(n instanceof xa)){if(s3(n))return n.forEach(function(l){return r.add(l,a)}),this;if(C0(n))return this.addLabel(n,a);if(Z4(n))n=a0.delayedCall(0,n);else return this}return this!==n?de(this,n,a):this},e.getChildren=function(n,a,r,l){n===void 0&&(n=!0),a===void 0&&(a=!0),r===void 0&&(r=!0),l===void 0&&(l=-K6);for(var f=[],m=this._first;m;)m._start>=l&&(m instanceof a0?a&&f.push(m):(r&&f.push(m),n&&f.push.apply(f,m.getChildren(!0,a,r)))),m=m._next;return f},e.getById=function(n){for(var a=this.getChildren(1,1,1),r=a.length;r--;)if(a[r].vars.id===n)return a[r]},e.remove=function(n){return C0(n)?this.removeLabel(n):Z4(n)?this.killTweensOf(n):(n.parent===this&&kl(this,n),n===this._recent&&(this._recent=this._last),x7(this))},e.totalTime=function(n,a){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=U4(q3.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),t.prototype.totalTime.call(this,n,a),this._forcing=0,this):this._tTime},e.addLabel=function(n,a){return this.labels[n]=Z6(this,a),this},e.removeLabel=function(n){return delete this.labels[n],this},e.addPause=function(n,a,r){var l=a0.delayedCall(0,a||ya,r);return l.data="isPause",this._hasPause=1,de(this,l,Z6(this,n))},e.removePause=function(n){var a=this._first;for(n=Z6(this,n);a;)a._start===n&&a.data==="isPause"&&dc(a),a=a._next},e.killTweensOf=function(n,a,r){for(var l=this.getTweensOf(n,r),f=l.length;f--;)oc!==l[f]&&l[f].kill(n,a);return this},e.getTweensOf=function(n,a){for(var r=[],l=X6(n),f=this._first,m=s5(a),h;f;)f instanceof a0?X$(f._targets,l)&&(m?(!oc||f._initted&&f._ts)&&f.globalTime(0)<=a&&f.globalTime(f.totalDuration())>a:!a||f.isActive())&&r.push(f):(h=f.getTweensOf(l,a)).length&&r.push.apply(r,h),f=f._next;return r},e.tweenTo=function(n,a){a=a||{};var r=this,l=Z6(r,n),f=a,m=f.startAt,h=f.onStart,g=f.onStartParams,v=f.immediateRender,M,b=a0.to(r,b6({ease:a.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:a.duration||Math.abs((l-(m&&"time"in m?m.time:r._time))/r.timeScale())||L4,onStart:function(){if(r.pause(),!M){var S=a.duration||Math.abs((l-(m&&"time"in m?m.time:r._time))/r.timeScale());b._dur!==S&&Fi(b,S,0,1).render(b._time,!0,!0),M=1}h&&h.apply(b,g||[])}},a));return v?b.render(0):b},e.tweenFromTo=function(n,a,r){return this.tweenTo(a,b6({startAt:{time:Z6(this,n)}},r))},e.recent=function(){return this._recent},e.nextLabel=function(n){return n===void 0&&(n=this._time),Sw(this,Z6(this,n))},e.previousLabel=function(n){return n===void 0&&(n=this._time),Sw(this,Z6(this,n),1)},e.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+L4)},e.shiftChildren=function(n,a,r){r===void 0&&(r=0);var l=this._first,f=this.labels,m;for(n=U4(n);l;)l._start>=r&&(l._start+=n,l._end+=n),l=l._next;if(a)for(m in f)f[m]>=r&&(f[m]+=n);return x7(this)},e.invalidate=function(n){var a=this._first;for(this._lock=0;a;)a.invalidate(n),a=a._next;return t.prototype.invalidate.call(this,n)},e.clear=function(n){n===void 0&&(n=!0);for(var a=this._first,r;a;)r=a._next,this.remove(a),a=r;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),x7(this)},e.totalDuration=function(n){var a=0,r=this,l=r._last,f=K6,m,h,g;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-n:n));if(r._dirty){for(g=r.parent;l;)m=l._prev,l._dirty&&l.totalDuration(),h=l._start,h>f&&r._sort&&l._ts&&!r._lock?(r._lock=1,de(r,l,h-l._delay,1)._lock=0):f=h,h<0&&l._ts&&(a-=h,(!g&&!r._dp||g&&g.smoothChildTiming)&&(r._start+=U4(h/r._ts),r._time-=h,r._tTime-=h),r.shiftChildren(-h,!1,-1/0),f=0),l._end>a&&l._ts&&(a=l._end),l=m;Fi(r,r===$4&&r._time>a?r._time:a,1,1),r._dirty=0}return r._tDur},c.updateRoot=function(n){if($4._ts&&(Rw($4,xl(n,$4)),Pw=q3.frame),q3.frame>=yw){yw+=Z3.autoSleep||120;var a=$4._first;if((!a||!a._ts)&&Z3.autoSleep&&q3._listeners.length<2){for(;a&&!a._ts;)a=a._next;a||q3.sleep()}}},c})(xa);b6(W0.prototype,{_lock:0,_hasPause:0,_forcing:0});var vj=function(c,e,i,n,a,r,l){var f=new w3(this._pt,c,e,0,1,sz,null,a),m=0,h=0,g,v,M,b,C,S,P,V;for(f.b=i,f.e=n,i+="",n+="",(P=~n.indexOf("random("))&&(n=Hi(n)),r&&(V=[i,n],r(V,c,e),i=V[0],n=V[1]),v=i.match(Sg)||[];g=Sg.exec(n);)b=g[0],C=n.substring(m,g.index),M?M=(M+1)%5:C.substr(-5)==="rgba("&&(M=1),b!==v[h++]&&(S=parseFloat(v[h-1]
vendor: 4,094 bytes, line 756
756)||0,f._pt={_next:f._pt,p:C||h===1?C:",",s:S,c:b.charAt(1)==="="?k7(S,b)-S:parseFloat(b)-S,m:M&&M<4?Math.round:0},m=Sg.lastIndex);return f.c=m<n.length?n.substring(m,n.length):"",f.fp=l,(qg.test(n)||P)&&(f.e=0),this._pt=f,f},tz=function(c,e,i,n,a,r,l,f,m,h){Z4(n)&&(n=n(a||0,c,r));var g=c[e],v=i!=="get"?i:Z4(g)?m?c[e.indexOf("set")||!Z4(c["get"+e.substr(3)])?e:"get"+e.substr(3)](m):c[e]():g,M=Z4(g)?m?xj:sS:az,b;if(C0(n)&&(~n.indexOf("random(")&&(n=Hi(n)),n.charAt(1)==="="&&(b=k7(v,n)+(q0(v)||0),(b||b===0)&&(n=b))),!h||v!==n||Ug)return!isNaN(v*n)&&n!==""?(b=new w3(this._pt,c,e,+v||0,n-(v||0),typeof g=="boolean"?Sj:rS,0,M),m&&(b.fp=m),l&&b.modifier(l,this,c),this._pt=b):(!g&&!(e in c)&&Nl(e,n),vj.call(this,c,e,v,n,M,f||Z3.stringFilter,m))},_j=function(c,e,i,n,a){if(Z4(c)&&(c=_a(c,a,e,i,n)),!me(c)||c.style&&c.nodeType||s3(c)||Dw(c))return C0(c)?_a(c,a,e,i,n):c;var r={},l;for(l in c)r[l]=_a(c[l],a,e,i,n);return r},iz=function(c,e,i,n,a,r){var l,f,m,h;if(G3[c]&&(l=new G3[c]).init(a,l.rawVars?e[c]:_j(e[c],n,a,r,i),i,n,r)!==!1&&(i._pt=f=new w3(i._pt,a,c,0,1,l.render,l,0,l.priority),i!==Ei))for(m=i._ptLookup[i._targets.indexOf(a)],h=l._props.length;h--;)m[l._props[h]]=f;return l},oc,Ug,nz=function t(c,e,i){var n=c.vars,a=n.ease,r=n.startAt,l=n.immediateRender,f=n.lazy,m=n.onUpdate,h=n.runBackwards,g=n.yoyoEase,v=n.keyframes,M=n.autoRevert,b=c._dur,C=c._startAt,S=c._targets,P=c.parent,V=P&&P.data==="nested"?P.vars.targets:S,q=c._overwrite==="auto"&&!jg,W=c.timeline,G,Q,l1,c1,n1,_1,P1,X1,F1,j2,c2,W1,t2;if(W&&(!v||!a)&&(a="none"),c._ease=w7(a,Ii.ease),c._yEase=g?cS(w7(g===!0?a:g,Ii.ease)):0,g&&c._yoyo&&!c._repeat&&(g=c._yEase,c._yEase=c._ease,c._ease=g),c._from=!W&&!!n.runBackwards,!W||v&&!n.stagger){if(X1=S[0]?fc(S[0]).harness:0,W1=X1&&n[X1.prop],G=bl(n,Zg),C&&(C._zTime<0&&C.progress(1),e<0&&h&&l&&!M?C.render(-1,!0):C.revert(h&&b?Ml:Z$),C._lazy=0),r){if(dc(c._startAt=a0.set(S,b6({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!C&&Y3(f),startAt:null,delay:0,onUpdate:m&&function(){return C6(c,"onUpdate")},stagger:0},r))),c._startAt._dp=0,c._startAt._sat=c,e<0&&(G0||!l&&!M)&&c._startAt.revert(Ml),l&&b&&e<=0&&i<=0){e&&(c._zTime=e);return}}else if(h&&b&&!C){if(e&&(l=!1),l1=b6({overwrite:!1,data:"isFromStart",lazy:l&&!C&&Y3(f),immediateRender:l,stagger:0,parent:P},G),W1&&(l1[X1.prop]=W1),dc(c._startAt=a0.set(S,l1)),c._startAt._dp=0,c._startAt._sat=c,e<0&&(G0?c._startAt.revert(Ml):c._startAt.render(-1,!0)),c._zTime=e,!l)t(c._startAt,L4,L4);else if(!e)return}for(c._pt=c._ptCache=0,f=b&&Y3(f)||f&&!b,Q=0;Q<S.length;Q++){if(n1=S[Q],P1=n1._gsap||Xg(S)[Q]._gsap,c._ptLookup[Q]=j2={},Pg[P1.id]&&lc.length&&yl(),c2=V===S?Q:V.indexOf(n1),X1&&(F1=new X1).init(n1,W1||G,c,c2,V)!==!1&&(c._pt=c1=new w3(c._pt,n1,F1.name,0,1,F1.render,F1,0,F1.priority),F1._props.forEach(function(a4){j2[a4]=c1}),F1.priority&&(_1=1)),!X1||W1)for(l1 in G)G3[l1]&&(F1=iz(l1,G,c,c2,n1,V))?F1.priority&&(_1=1):j2[l1]=c1=tz.call(c,n1,l1,"get",G[l1],c2,V,0,n.stringFilter);c._op&&c._op[Q]&&c.kill(n1,c._op[Q]),q&&c._pt&&(oc=c,$4.killTweensOf(n1,j2,c.globalTime(e)),t2=!c.parent,oc=0),c._pt&&f&&(Pg[P1.id]=1)}_1&&oz(c),c._onInit&&c._onInit(c)}c._onUpdate=m,c._initted=(!c._op||c._pt)&&!t2,v&&e<=0&&W.render(K6,!0,!0)},Cj=function(c,e,i,n,a,r,l,f){var m=(c._pt&&c._ptCache||(c._ptCache={}))[e],h,g,v,M;if(!m)for(m=c._ptCache[e]=[],v=c._ptLookup,M=c._targets.length;M--;){if(h=v[M][e],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==e&&h.fp!==e;)h=h._next;if(!h)return Ug=1,c.vars[e]="+=0",nz(c,l),Ug=0,f?Ca(e+" not eligible for reset"):1;m.push(h)}for(M=m.length;M--;)g=m[M],h=g._pt||g,h.s=(n||n===0)&&!a?n:h.s+(n||0)+r*h.c,h.c=i-h.s,g.e&&(g.e=K4(i)+q0(g.e)),g.b&&(g.b=h.s+q0(g.b))},yj=function(c,e){var i=c[0]?fc(c[0]).harness:0,n=i&&i.aliases,a,r,l,f;if(!n)return e;a=Pi({},e);for(r in n)if(r in a)for(f=n[r].split(","),l=f.length;l--;)a[f[l]]=a[r];return a},bj=function(c,e,i,n){var a=e.ease||n||"power1.inOut",r,l;if(s3(e))l=i[c]||(i[c]=[]),e.forEach(function(f,m){return l.push({t:m/(e.length-1)*100,v:f,e:a})});else for(r in e)l=i[r]||(i[r]=[]),r==="ease"||l.push({t:parseFloat(c),v:e[r],e:a})}
vendor: 24,807 bytes, line 756
756,_a=function(c,e,i,n,a){return Z4(c)?c.call(e,i,n,a):C0(c)&&~c.indexOf("random(")?Hi(c):c},nS=Kg+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",aS={};x3(nS+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return aS[t]=1});var a0=(function(t){Aw(c,t);function c(i,n,a,r){var l;typeof n=="number"&&(a.duration=n,n=a,a=null),l=t.call(this,r?n:Ma(n))||this;var f=l.vars,m=f.duration,h=f.delay,g=f.immediateRender,v=f.stagger,M=f.overwrite,b=f.keyframes,C=f.defaults,S=f.scrollTrigger,P=f.yoyoEase,V=n.parent||$4,q=(s3(i)||Dw(i)?s5(i[0]):"length"in n)?[i]:X6(i),W,G,Q,l1,c1,n1,_1,P1;if(l._targets=q.length?Xg(q):Ca("GSAP target "+i+" not found. https://gsap.com",!Z3.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=M,b||v||Ll(m)||Ll(h)){if(n=l.vars,W=l.timeline=new W0({data:"nested",defaults:C||{},targets:V&&V.data==="nested"?V.vars.targets:q}),W.kill(),W.parent=W._dp=n5(l),W._start=0,v||Ll(m)||Ll(h)){if(l1=q.length,_1=v&&Gw(v),me(v))for(c1 in v)~nS.indexOf(c1)&&(P1||(P1={}),P1[c1]=v[c1]);for(G=0;G<l1;G++)Q=bl(n,aS),Q.stagger=0,P&&(Q.yoyoEase=P),P1&&Pi(Q,P1),n1=q[G],Q.duration=+_a(m,n5(l),G,n1,q),Q.delay=(+_a(h,n5(l),G,n1,q)||0)-l._delay,!v&&l1===1&&Q.delay&&(l._delay=h=Q.delay,l._start+=h,Q.delay=0),W.to(n1,Q,_1?_1(G,n1,q):0),W._ease=D2.none;W.duration()?m=h=0:l.timeline=0}else if(b){Ma(b6(W.vars.defaults,{ease:"none"})),W._ease=w7(b.ease||n.ease||"none");var X1=0,F1,j2,c2;if(s3(b))b.forEach(function(W1){return W.to(q,W1,">")}),W.duration();else{Q={};for(c1 in b)c1==="ease"||c1==="easeEach"||bj(c1,b[c1],Q,b.easeEach);for(c1 in Q)for(F1=Q[c1].sort(function(W1,t2){return W1.t-t2.t}),X1=0,G=0;G<F1.length;G++)j2=F1[G],c2={ease:j2.e,duration:(j2.t-(G?F1[G-1].t:0))/100*m},c2[c1]=j2.v,W.to(q,c2,X1),X1+=c2.duration;W.duration()<m&&W.to({},{duration:m-W.duration()})}}m||l.duration(m=W.duration())}else l.timeline=0;return M===!0&&!jg&&(oc=n5(l),$4.killTweensOf(q),oc=0),de(V,n5(l),a),n.reversed&&l.reverse(),n.paused&&l.paused(!0),(g||!m&&!b&&l._start===U4(V._time)&&Y3(g)&&cj(n5(l))&&V.data!=="nested")&&(l._tTime=-L4,l.render(Math.max(0,-h)||0)),S&&Uw(n5(l),S),l}var e=c.prototype;return e.render=function(n,a,r){var l=this._time,f=this._tDur,m=this._dur,h=n<0,g=n>f-L4&&!h?f:n<L4?0:n,v,M,b,C,S,P,V,q,W;if(!m)ij(this,n,a,r);else if(g!==this._tTime||!n||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(v=g,q=this.timeline,this._repeat){if(C=m+this._rDelay,this._repeat<-1&&h)return this.totalTime(C*100+n,a,r);if(v=U4(g%C),g===f?(b=this._repeat,v=m):(S=U4(g/C),b=~~S,b&&b===S?(v=m,b--):v>m&&(v=m)),P=this._yoyo&&b&1,P&&(W=this._yEase,v=m-v),S=Ri(this._tTime,C),v===l&&!r&&this._initted&&b===S)return this._tTime=g,this;b!==S&&(q&&this._yEase&&tS(q,P),this.vars.repeatRefresh&&!P&&!this._lock&&v!==C&&this._initted&&(this._lock=r=1,this.render(U4(C*b),!0).invalidate()._lock=0))}if(!this._initted){if($w(this,h?n:v,r,a,g))return this._tTime=0,this;if(l!==this._time&&!(r&&this.vars.repeatRefresh&&b!==S))return this;if(m!==this._dur)return this.render(n,a,r)}if(this._tTime=g,this._time=v,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=V=(W||this._ease)(v/m),this._from&&(this.ratio=V=1-V),!l&&g&&!a&&!S&&(C6(this,"onStart"),this._tTime!==g))return this;for(M=this._pt;M;)M.r(V,M.d),M=M._next;q&&q.render(n<0?n:q._dur*q._ease(v/this._dur),a,r)||this._startAt&&(this._zTime=n),this._onUpdate&&!a&&(h&&Rg(this,n,a,r),C6(this,"onUpdate")),this._repeat&&b!==S&&this.vars.onRepeat&&!a&&this.parent&&C6(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(h&&!this._onUpdate&&Rg(this,n,!0,!0),(n||!m)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&dc(this,1),!a&&!(h&&!l)&&(g||l||P)&&(C6(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),t.prototype.invalidate.call(this,n)},e.resetTo=function(n,a,r,l,f){ba||q3.wake(),this._ts||this.play();var m=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||nz(this,m),h=this._ease(m/this._dur),Cj(this,n,a,r,l,h,m,f)?this.resetTo(n,a,r,l,1):(Tl(this,0),this.parent||Hw(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(n,a){if(a===void 0&&(a="all"),!n&&(!a||a==="all"))return this._lazy=this._pt=0,this.parent?za(this):this.scrollTrigger&&this.scrollTrigger.kill(!!G0),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(n,a,oc&&oc.vars.overwrite!==!0)._first||za(this),this.parent&&r!==this.timeline.totalDuration()&&Fi(this,this._dur*this.timeline._tDur/r,0,1),this}var l=this._targets,f=n?X6(n):l,m=this._ptLookup,h=this._pt,g,v,M,b,C,S,P;if((!a||a==="all")&&J$(l,f))return a==="all"&&(this._pt=0),za(this);for(g=this._op=this._op||[],a!=="all"&&(C0(a)&&(C={},x3(a,function(V){return C[V]=1}),a=C),a=yj(l,a)),P=l.length;P--;)if(~f.indexOf(l[P])){v=m[P],a==="all"?(g[P]=a,b=v,M={}):(M=g[P]=g[P]||{},b=a);for(C in b)S=v&&v[C],S&&((!("kill"in S.d)||S.d.kill(C)===!0)&&kl(this,S,"_pt"),delete v[C]),M!=="all"&&(M[C]=1)}return this._initted&&!this._pt&&h&&za(this),this},c.to=function(n,a){return new c(n,a,arguments[2])},c.from=function(n,a){return va(1,arguments)},c.delayedCall=function(n,a,r,l){return new c(a,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:a,onReverseComplete:a,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:l})},c.fromTo=function(n,a,r){return va(2,arguments)},c.set=function(n,a){return a.duration=0,a.repeatDelay||(a.repeat=0),new c(n,a)},c.killTweensOf=function(n,a,r){return $4.killTweensOf(n,a,r)},c})(xa);b6(a0.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});x3("staggerTo,staggerFrom,staggerFromTo",function(t){a0[t]=function(){var c=new W0,e=Vg.call(arguments,0);return e.splice(t==="staggerFromTo"?5:4,0,0),c[t].apply(c,e)}});var az=function(c,e,i){return c[e]=i},sS=function(c,e,i){return c[e](i)},xj=function(c,e,i,n){return c[e](n.fp,i)},wj=function(c,e,i){return c.setAttribute(e,i)},Dl=function(c,e){return Z4(c[e])?sS:Sl(c[e])&&c.setAttribute?wj:az},rS=function(c,e){return e.set(e.t,e.p,Math.round((e.s+e.c*c)*1e6)/1e6,e)},Sj=function(c,e){return e.set(e.t,e.p,!!(e.s+e.c*c),e)},sz=function(c,e){var i=e._pt,n="";if(!c&&e.b)n=e.b;else if(c===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*c):Math.round((i.s+i.c*c)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},rz=function(c,e){for(var i=e._pt;i;)i.r(c,i.d),i=i._next},Nj=function(c,e,i,n){for(var a=this._pt,r;a;)r=a._next,a.p===n&&a.modifier(c,e,i),a=r},kj=function(c){for(var e=this._pt,i,n;e;)n=e._next,e.p===c&&!e.op||e.op===c?kl(this,e,"_pt"):e.dep||(i=1),e=n;return!i},Aj=function(c,e,i,n){n.mSet(c,e,n.m.call(n.tween,i,n.mt),n)},oz=function(c){for(var e=c._pt,i,n,a,r;e;){for(i=e._next,n=a;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:r)?e._prev._next=e:a=e,(e._next=n)?n._prev=e:r=e,e=i}c._pt=a},w3=(function(){function t(e,i,n,a,r,l,f,m,h){this.t=i,this.s=a,this.c=r,this.p=n,this.r=l||rS,this.d=f||this,this.set=m||az,this.pr=h||0,this._next=e,e&&(e._prev=this)}var c=t.prototype;return c.modifier=function(i,n,a){this.mSet=this.mSet||this.set,this.set=Aj,this.m=i,this.mt=a,this.tween=n},t})();x3(Kg+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Zg[t]=1});y6.TweenMax=y6.TweenLite=a0;y6.TimelineLite=y6.TimelineMax=W0;$4=new W0({sortChildren:!1,defaults:Ii,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Z3.stringFilter=ez;var S7=[],_l={},Tj=[],kw=0,Dj=0,Dg=function(c){return(_l[c]||Tj).map(function(e){return e()})},$g=function(){var c=Date.now(),e=[];c-kw>2&&(Dg("matchMediaInit"),S7.forEach(function(i){var n=i.queries,a=i.conditions,r,l,f,m;for(l in n)r=fe.matchMedia(n[l]).matches,r&&(f=1),r!==a[l]&&(a[l]=r,m=1);m&&(i.revert(),f&&e.push(i))}),Dg("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),kw=c,Dg("matchMedia"))},oS=(function(){function t(e,i){this.selector=i&&Hg(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Dj++,e&&this.add(e)}var c=t.prototype;return c.add=function(i,n,a){Z4(i)&&(a=n,n=i,i=Z4);var r=this,l=function(){var m=A4,h=r.selector,g;return m&&m!==r&&m.data.push(r),a&&(r.selector=Hg(a)),A4=r,g=n.apply(r,arguments),Z4(g)&&r._r.push(g),A4=m,r.selector=h,r.isReverted=!1,g};return r.last=l,i===Z4?l(r,function(f){return r.add(null,f)}):i?r[i]=l:l},c.ignore=function(i){var n=A4;A4=null,i(this),A4=n},c.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof t?i.push.apply(i,n.getTweens()):n instanceof a0&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},c.clear=function(){this._r.length=this.data.length=0},c.kill=function(i,n){var a=this;if(i?(function(){for(var l=a.getTweens(),f=a.data.length,m;f--;)m=a.data[f],m.data==="isFlip"&&(m.revert(),m.getChildren(!0,!0,!1).forEach(function(h){return l.splice(l.indexOf(h),1)}));for(l.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,g){return g.g-h.g||-1/0}).forEach(function(h){return h.t.revert(i)}),f=a.data.length;f--;)m=a.data[f],m instanceof W0?m.data!=="nested"&&(m.scrollTrigger&&m.scrollTrigger.revert(),m.kill()):!(m instanceof a0)&&m.revert&&m.revert(i);a._r.forEach(function(h){return h(i,a)}),a.isReverted=!0})():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),n)for(var r=S7.length;r--;)S7[r].id===this.id&&S7.splice(r,1)},c.revert=function(i){this.kill(i||{})},t})(),Oj=(function(){function t(e){this.contexts=[],this.scope=e,A4&&A4.data.push(this)}var c=t.prototype;return c.add=function(i,n,a){me(i)||(i={matches:i});var r=new oS(0,a||this.scope),l=r.conditions={},f,m,h;A4&&!r.selector&&(r.selector=A4.selector),this.contexts.push(r),n=r.add("onMatch",n),r.queries=i;for(m in i)m==="all"?h=1:(f=fe.matchMedia(i[m]),f&&(S7.indexOf(r)<0&&S7.push(r),(l[m]=f.matches)&&(h=1),f.addListener?f.addListener($g):f.addEventListener("change",$g)));return h&&n(r,function(g){return r.add(null,g)}),this},c.revert=function(i){this.kill(i||{})},c.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},t})(),wl={registerPlugin:function(){for(var c=arguments.length,e=new Array(c),i=0;i<c;i++)e[i]=arguments[i];e.forEach(function(n){return Qw(n)})},timeline:function(c){return new W0(c)},getTweensOf:function(c,e){return $4.getTweensOf(c,e)},getProperty:function(c,e,i,n){C0(c)&&(c=X6(c)[0]);var a=fc(c||{}).get,r=i?Vw:Fw;return i==="native"&&(i=""),c&&(e?r((G3[e]&&G3[e].get||a)(c,e,i,n)):function(l,f,m){return r((G3[l]&&G3[l].get||a)(c,l,f,m))})},quickSetter:function(c,e,i){if(c=X6(c),c.length>1){var n=c.map(function(h){return r3.quickSetter(h,e,i)}),a=n.length;return function(h){for(var g=a;g--;)n[g](h)}}c=c[0]||{};var r=G3[e],l=fc(c),f=l.harness&&(l.harness.aliases||{})[e]||e,m=r?function(h){var g=new r;Ei._pt=0,g.init(c,i?h+i:h,Ei,0,[c]),g.render(1,g),Ei._pt&&rz(1,Ei)}:l.set(c,f);return r?m:function(h){return m(c,f,i?h+i:h,l,1)}},quickTo:function(c,e,i){var n,a=r3.to(c,b6((n={},n[e]="+=0.1",n.paused=!0,n.stagger=0,n),i||{})),r=function(f,m,h){return a.resetTo(e,f,m,h)};return r.tween=a,r},isTweening:function(c){return $4.getTweensOf(c,!0).length>0},defaults:function(c){return c&&c.ease&&(c.ease=w7(c.ease,Ii.ease)),bw(Ii,c||{})},config:function(c){return bw(Z3,c||{})},registerEffect:function(c){var e=c.name,i=c.effect,n=c.plugins,a=c.defaults,r=c.extendTimeline;(n||"").split(",").forEach(function(l){return l&&!G3[l]&&!y6[l]&&Ca(e+" effect requires "+l+" plugin.")}),Ng[e]=function(l,f,m){return i(X6(l),b6(f||{},a),m)},r&&(W0.prototype[e]=function(l,f,m){return this.add(Ng[e](l,me(f)?f:(m=f)&&{},this),m)})},registerEase:function(c,e){D2[c]=w7(e)},parseEase:function(c,e){return arguments.length?w7(c,e):D2},getById:function(c){return $4.getById(c)},exportRoot:function(c,e){c===void 0&&(c={});var i=new W0(c),n,a;for(i.smoothChildTiming=Y3(c.smoothChildTiming),$4.remove(i),i._dp=0,i._time=i._tTime=$4._time,n=$4._first;n;)a=n._next,(e||!(!n._dur&&n instanceof a0&&n.vars.onComplete===n._targets[0]))&&de(i,n,n._start-n._delay),n=a;return de($4,i,0),i},context:function(c,e){return c?new oS(c,e):A4},matchMedia:function(c){return new Oj(c)},matchMediaRefresh:function(){return S7.forEach(function(c){var e=c.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&c.revert()})||$g()},addEventListener:function(c,e){var i=_l[c]||(_l[c]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(c,e){var i=_l[c],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:dj,wrapYoyo:mj,distribute:Gw,random:Yw,snap:qw,normalize:fj,getUnit:q0,clamp:sj,splitColor:Jw,toArray:X6,selector:Hg,mapRange:Kw,pipe:oj,unitize:lj,interpolate:uj,shuffle:Ww},install:Ew,effects:Ng,ticker:q3,updateRoot:W0.updateRoot,plugins:G3,globalTimeline:$4,core:{PropTween:w3,globals:Iw,Tween:a0,Timeline:W0,Animation:xa,getCache:fc,_removeLinkedListItem:kl,reverting:function(){return G0},context:function(c){return c&&A4&&(A4.data.push(c),c._ctx=A4),A4},suppressOverwrites:function(c){return jg=c}}};x3("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return wl[t]=a0[t]});q3.add(W0.updateRoot);Ei=wl.to({},{duration:0});var Ej=function(c,e){for(var i=c._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Ij=function(c,e){var i=c._targets,n,a,r;for(n in e)for(a=i.length;a--;)r=c._ptLookup[a][n],r&&(r=r.d)&&(r._pt&&(r=Ej(r,n)),r&&r.modifier&&r.modifier(e[n],c,i[a],n))},Og=function(c,e){return{name:c,headless:1,rawVars:1,init:function(n,a,r){r._onInit=function(l){var f,m;if(C0(a)&&(f={},x3(a,function(h){return f[h]=1}),a=f),e){f={};for(m in a)f[m]=e(a[m]);a=f}Ij(l,a)}}}},r3=wl.registerPlugin({name:"attr",init:function(c,e,i,n,a){var r,l,f;this.tween=i;for(r in e)f=c.getAttribute(r)||"",l=this.add(c,"setAttribute",(f||0)+"",e[r],n,a,0,0,r),l.op=r,l.b=f,this._props.push(r)},render:function(c,e){for(var i=e._pt;i;)G0?i.set(i.t,i.p,i.b,i):i.r(c,i.d),i=i._next}},{name:"endArray",headless:1,init:function(c,e){for(var i=e.length;i--;)this.add(c,i,c[i]||0,e[i],0,0,0,0,0,1)}},Og("roundProps",Bg),Og("modifiers"),Og("snap",qw))||wl;a0.version=W0.version=r3.version="3.14.2";Ow=1;Wg()&&Vi();var Pj=D2.Power0,Rj=D2.Power1,Fj=D2.Power2,Vj=D2.Power3,Hj=D2.Power4,Bj=D2.Linear,Uj=D2.Quad,$j=D2.Cubic,jj=D2.Quart,Wj=D2.Quint,Gj=D2.Strong,qj=D2.Elastic,Yj=D2.Back,Zj=D2.SteppedEase,Kj=D2.Bounce,Xj=D2.Sine,Qj=D2.Expo,Jj=D2.Circ;var lS,uc,Ui,hz,E7,eW,fS,pz,cW=function(){return typeof window<"u"},o5={},O7=180/Math.PI,$i=Math.PI/180,Bi=Math.atan2,dS=1e8,gz=/([A-Z])/g,tW=/(left|right|width|margin|padding|x)/i,iW=/[\s,\(]\S/,ue={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},fz=function(c,e){return e.set(e.t,e.p,Math.round((e.s+e.c*c)*1e4)/1e4+e.u,e)},nW=function(c,e){return e.set(e.t,e.p,c===1?e.e:Math.round((e.s+e.c*c)*1e4)/1e4+e.u,e)},aW=function(c,e){return e.set(e.t,e.p,c?Math.round((e.s+e.c*c)*1e4)/1e4+e.u:e.b,e)},sW=function(c,e){return e.set(e.t,e.p,c===1?e.e:c?Math.round((e.s+e.c*c)*1e4)/1e4+e.u:e.b,e)},rW=function(c,e){var i=e.s+e.c*c;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},MS=function(c,e){return e.set(e.t,e.p,c?e.e:e.b,e)},vS=function(c,e){return e.set(e.t,e.p,c!==1?e.b:e.e,e)},oW=function(c,e,i){return c.style[e]=i},lW=function(c,e,i){return c.style.setProperty(e,i)},fW=function(c,e,i){return c._gsap[e]=i},dW=function(c,e,i){return c._gsap.scaleX=c._gsap.scaleY=i},mW=function(c,e,i,n,a){var r=c._gsap;r.scaleX=r.scaleY=i,r.renderTransform(a,r)},uW=function(c,e,i,n,a){var r=c._gsap;r[e]=i,r.renderTransform(a,r)},j4="transform",K3=j4+"Origin",hW=function t(c,e){var i=this,n=this.target,a=n.style,r=n._gsap;if(c in o5&&a){if(this.tfm=this.tfm||{},c!=="transform")c=ue[c]||c,~c.indexOf(",")?c.split(",").forEach(function(l){return i.tfm[l]=r5(n,l)}):this.tfm[c]=r.x?r[c]:r5(n,c),c===K3&&(this.tfm.zOrigin=r.zOrigin);else return ue.transform.split(",").forEach(function(l){return t.call(i,l,e)});if(this.props.indexOf(j4)>=0)return;r.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(K3,e,"")),c=j4}(a||e)&&this.props.push(c,e,a[c])},_S=function(c){c.translate&&(c.removeProperty("translate"),c.removeProperty("scale"),c.removeProperty("rotate"))},pW=function(){var c=this.props,e=this.target,i=e.style,n=e._gsap,a,r;for(a=0;a<c.length;a+=3)c[a+1]?c[a+1]===2?e[c[a]](c[a+2]):e[c[a]]=c[a+2]:c[a+2]?i[c[a]]=c[a+2]:i.removeProperty(c[a].substr(0,2)==="--"?c[a]:c[a].replace(gz,"-$1").toLowerCase());if(this.tfm){for(r in this.tfm)n[r]=this.tfm[r];n.svg&&(n.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),a=pz(),(!a||!a.isStart)&&!i[j4]&&(_S(i),n.zOrigin&&i[K3]&&(i[K3]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},CS=function(c,e){var i={target:c,props:[],revert:pW,save:hW};return c._gsap||r3.core.getCache(c),e&&c.style&&c.nodeType&&e.split(",").forEach(function(n){return i.save(n)}),i},yS,dz=function(c,e){var i=uc.createElementNS?uc.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),c):uc.createElement(c);return i&&i.style?i:uc.createElement(c)},x6=function t(c,e,i){var n=getComputedStyle(c);return n[e]||n.getPropertyValue(e.replace(gz,"-$1").toLowerCase())||n.getPropertyValue(e)||!i&&t(c,ji(e)||e,1)||""},mS="O,Moz,ms,Ms,Webkit".split(","),ji=function(c,e,i){var n=e||E7,a=n.style,r=5;if(c in a&&!i)return c;for(c=c.charAt(0).toUpperCase()+c.substr(1);r--&&!(mS[r]+c in a););return r<0?null:(r===3?"ms":r>=0?mS[r]:"")+c},mz=function(){cW()&&window.document&&(lS=window,uc=lS.document,Ui=uc.documentElement,E7=dz("div")||{style:{}},eW=dz("div"),j4=ji(j4),K3=j4+"Origin",E7.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",yS=!!ji("perspective"),pz=r3.core.reverting,hz=1)},uS=function(c){var e=c.ownerSVGElement,i=dz("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=c.cloneNode(!0),a;n.style.display="block",i.appendChild(n),Ui.appendChild(i);try{a=n.getBBox()}catch(r){}return i.removeChild(n),Ui.removeChild(i),a},hS=function(c,e){for(var i=e.length;i--;)if(c.hasAttribute(e[i]))return c.getAttribute(e[i])},bS=function(c){var e,i;try{e=c.getBBox()}catch(n){e=uS(c),i=1}return e&&(e.width||e.height)||i||(e=uS(c)),e&&!e.width&&!e.x&&!e.y?{x:+hS(c,["x","cx","x1"])||0,y:+hS(c,["y","cy","y1"])||0,width:0,height:0}:e},xS=function(c){return!!(c.getCTM&&(!c.parentNode||c.ownerSVGElement)&&bS(c))},pc=function(c,e){if(e){var i=c.style,n;e in o5&&e!==K3&&(e=j4),i.removeProperty?(n=e.substr(0,2),(n==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(n==="--"?e:e.replace(gz,"-$1").toLowerCase())):i.removeAttribute(e)}},hc=function(c,e,i,n,a,r){var l=new w3(c._pt,e,i,0,1,r?vS:MS);return c._pt=l,l.b=n,l.e=a,c._props.push(i),l},pS={deg:1,rad:1,turn:1},gW={grid:1,flex:1},gc=function t(c,e,i,n){var a=parseFloat(i)||0,r=(i+"").trim().substr((a+"").length)||"px",l=E7.style,f=tW.test(e),m=c.tagName.toLowerCase()==="svg",h=(m?"client":"offset")+(f?"Width":"Height"),g=100,v=n==="px",M=n==="%",b,C,S,P;if(n===r||!a||pS[n]||pS[r])return a;if(r!=="px"&&!v&&(a=t(c,e,i,"px")),P=c.getCTM&&xS(c),(M||r==="%")&&(o5[e]||~e.indexOf("adius")))return b=P?c.getBBox()[f?"width":"height"]:c[h],K4(M?a/b*g:a/100*b);if(l[f?"width":"height"]=g+(v?r:n),C=n!=="rem"&&~e.indexOf("adius")||n==="em"&&c.appendChild&&!m?c:c.parentNode,P&&(C=(c.ownerSVGElement||{}).parentNode),(!C||C===uc||!C.appendChild)&&(C=uc.body),S=C._gsap,S&&M&&S.width&&f&&S.time===q3.time&&!S.uncache)return K4(a/S.width*g);if(M&&(e==="height"||e==="width")){var V=c.style[e];c.style[e]=g+n,b=c[h],V?c.style[e]=V:pc(c,e)}else(M||r==="%")&&!gW[x6(C,"display")]&&(l.position=x6(c,"position")),C===c&&(l.position="static"),C.appendChild(E7),b=E7[h],C.removeChild(E7),l.position="absolute";return f&&M&&(S=fc(C),S.time=q3.time,S.width=C[h]),K4(v?b*a/g:b&&a?g/b*a:0)},r5=function(c,e,i,n){var a;return hz||mz(),e in ue&&e!=="transform"&&(e=ue[e],~e.indexOf(",")&&(e=e.split(",")[0])),o5[e]&&e!=="transform"?(a=ka(c,n),a=e!=="transformOrigin"?a[e]:a.svg?a.origin:El(x6(c,K3))+" "+a.zOrigin+"px"):(a=c.style[e],(!a||a==="auto"||n||~(a+"").indexOf("calc("))&&(a=Ol[e]&&Ol[e](c,e,i)||x6(c,e)||Qg(c,e)||(e==="opacity"?1:0))),i&&!~(a+"").trim().indexOf(" ")?gc(c,e,a,i)+i:a},zW=function(c,e,i,n){if(!i||i==="none"){var a=ji(e,c,1),r=a&&x6(c,a,1);r&&r!==i?(e=a,i=r):e==="borderColor"&&(i=x6(c,"borderTopColor"))}var l=new w3(this._pt,c.style,e,0,1,sz),f=0,m=0,h,g,v,M,b,C,S,P,V,q,W,G;if(l.b=i,l.e=n,i+="",n+="",n.substring(0,6)==="var(--"&&(n=x6(c,n.substring(4,n.indexOf(")")))),n==="auto"&&(C=c.style[e],c.style[e]=n,n=x6(c,e)||n,C?c.style[e]=C:pc(c,e)),h=[i,n],ez(h),i=h[0],n=h[1],v=i.match(N7)||[],G=n.match(N7)||[],G.length){for(;g=N7.exec(n);)S=g[0],V=n.substring(f,g.index),b?b=(b+1)%5:(V.substr(-5)==="rgba("||V.substr(-5)==="hsla(")&&(b=1),S!==(C=v[m++]||"")&&(M=parseFloat(C)||0,W=C.substr((M+"").length),S.charAt(1)==="="&&(S=k7(M,S)+W),P=parseFloat(S),q=S.substr((P+"").length),f=N7.lastIndex-q.length,q||(q=q||Z3.units[e]||W,f===n.length&&(n+=q,l.e+=q)),W!==q&&(M=gc(c,e,C,q)||0),l._pt={_next:l._pt,p:V||m===1?V:",",s:M,c:P-M,m:b&&b<4||e==="zIndex"?Math.round:0});l.c=f<n.length?n.substring(f,n.length):""}else l.r=e==="display"&&n==="none"?vS:MS;return qg.test(n)&&(l.e=0),this._pt=l,l},gS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},LW=function(c){var e=c.split(" "),i=e[0],n=e[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(c=i,i=n,n=c),e[0]=gS[i]||i,e[1]=gS[n]||n,e.join(" ")},MW=function(c,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,n=i.style,a=e.u,r=i._gsap,l,f,m;if(a==="all"||a===!0)n.cssText="",f=1;else for(a=a.split(","),m=a.length;--m>-1;)l=a[m],o5[l]&&(f=1,l=l==="transformOrigin"?K3:j4),pc(i,l);f&&(pc(i,j4),r&&(r.svg&&i.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",ka(i,1),r.uncache=1,_S(n)))}},Ol={clearProps:function(c,e,i,n,a){if(a.data!=="isFromStart"){var r=c._pt=new w3(c._pt,e,i,0,0,MW);return r.u=n,r.pr=-10,r.tween=a,c._props.push(i),1}}},Na=[1,0,0,1,0,0],wS={},SS=function(c){return c==="matrix(1, 0, 0, 1, 0, 0)"||c==="none"||!c},zS=function(c){var e=x6(c,j4);return SS(e)?Na:e.substr(7).match(Gg).map(K4)},zz=function(c,e){var i=c._gsap||fc(c),n=c.style,a=zS(c),r,l,f,m;return i.svg&&c.getAttribute("transform")?(f=c.transform.baseVal.consolidate().matrix,a=[f.a,f.b,f.c,f.d,f.e,f.f],a.join(",")==="1,0,0,1,0,0"?Na:a):(a===Na&&!c.offsetParent&&c!==Ui&&!i.svg&&(f=n.display,n.display="block",r=c.parentNode,(!r||!c.offsetParent&&!c.getBoundingClientRect().width)&&(m=1,l=c.nextElementSibling,Ui.appendChild(c)),a=zS(c),f?n.display=f:pc(c,"display"),m&&(l?r.insertBefore(c,l):r?r.appendChild(c):Ui.removeChild(c))),e&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},uz=function(c,e,i,n,a,r){var l=c._gsap,f=a||zz(c,!0),m=l.xOrigin||0,h=l.yOrigin||0,g=l.xOffset||0,v=l.yOffset||0,M=f[0],b=f[1],C=f[2],S=f[3],P=f[4],V=f[5],q=e.split(" "),W=parseFloat(q[0])||0,G=parseFloat(q[1])||0,Q,l1,c1,n1;i?f!==Na&&(l1=M*S-b*C)&&(c1=W*(S/l1)+G*(-C/l1)+(C*V-S*P)/l1,n1=W*(-b/l1)+G*(M/l1)-(M*V-b*P)/l1,W=c1,G=n1):(Q=bS(c),W=Q.x+(~q[0].indexOf("%")?W/100*Q.width:W),G=Q.y+(~(q[1]||q[0]).indexOf("%")?G/100*Q.height:G)),n||n!==!1&&l.smooth?(P=W-m,V=G-h,l.xOffset=g+(P*M+V*C)-P,l.yOffset=v+(P*b+V*S)-V):l.xOffset=l.yOffset=0,l.xOrigin=W,l.yOrigin=G,l.smooth=!!n,l.origin=e,l.originIsAbsolute=!!i,c.style[K3]="0px 0px",r&&(hc(r,l,"xOrigin",m,W),hc(r,l,"yOrigin",h,G),hc(r,l,"xOffset",g,l.xOffset),hc(r,l,"yOffset",v,l.yOffset)),c.setAttribute("data-svg-origin",W+" "+G)},ka=function(c,e){var i=c._gsap||new cz(c);if("x"in i&&!e&&!i.uncache)return i;var n=c.style,a=i.scaleX<0,r="px",l="deg",f=getComputedStyle(c),m=x6(c,K3)||"0",h,g,v,M,b,C,S,P,V,q,W,G,Q,l1,c1,n1,_1,P1,X1,F1,j2,c2,W1,t2,a4,Q4,M4,l3,W4,S1,y4,I4;return h=g=v=C=S=P=V=q=W=0,M=b=1,i.svg=!!(c.getCTM&&xS(c)),f.translate&&((f.translate!=="none"||f.scale!=="none"||f.rotate!=="none")&&(n[j4]=(f.translate!=="none"?"translate3d("+(f.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(f.rotate!=="none"?"rotate("+f.rotate+") ":"")+(f.scale!=="none"?"scale("+f.scale.split(" ").join(",")+") ":"")+(f[j4]!=="none"?f[j4]:"")),n.scale=n.rotate=n.translate="none"),l1=zz(c,i.svg),i.svg&&(i.uncache?(a4=c.getBBox(),m=i.xOrigin-a4.x+"px "+(i.yOrigin-a4.y)+"px",t2=""):t2=!e&&c.getAttribute("data-svg-origin"),uz(c,t2||m,!!t2||i.originIsAbsolute,i.smooth!==!1,l1)),G=i.xOrigin||0,Q=i.yOrigin||0,l1!==Na&&(P1=l1[0],X1=l1[1],F1=l1[2],j2=l1[3],h=c2=l1[4],g=W1=l1[5],l1.length===6?(M=Math.sqrt(P1*P1+X1*X1),b=Math.sqrt(j2*j2+F1*F1),C=P1||X1?Bi(X1,P1)*O7:0,V=
vendor: 4,783 bytes, line 756
756F1||j2?Bi(F1,j2)*O7+C:0,V&&(b*=Math.abs(Math.cos(V*$i))),i.svg&&(h-=G-(G*P1+Q*F1),g-=Q-(G*X1+Q*j2))):(I4=l1[6],S1=l1[7],M4=l1[8],l3=l1[9],W4=l1[10],y4=l1[11],h=l1[12],g=l1[13],v=l1[14],c1=Bi(I4,W4),S=c1*O7,c1&&(n1=Math.cos(-c1),_1=Math.sin(-c1),t2=c2*n1+M4*_1,a4=W1*n1+l3*_1,Q4=I4*n1+W4*_1,M4=c2*-_1+M4*n1,l3=W1*-_1+l3*n1,W4=I4*-_1+W4*n1,y4=S1*-_1+y4*n1,c2=t2,W1=a4,I4=Q4),c1=Bi(-F1,W4),P=c1*O7,c1&&(n1=Math.cos(-c1),_1=Math.sin(-c1),t2=P1*n1-M4*_1,a4=X1*n1-l3*_1,Q4=F1*n1-W4*_1,y4=j2*_1+y4*n1,P1=t2,X1=a4,F1=Q4),c1=Bi(X1,P1),C=c1*O7,c1&&(n1=Math.cos(c1),_1=Math.sin(c1),t2=P1*n1+X1*_1,a4=c2*n1+W1*_1,X1=X1*n1-P1*_1,W1=W1*n1-c2*_1,P1=t2,c2=a4),S&&Math.abs(S)+Math.abs(C)>359.9&&(S=C=0,P=180-P),M=K4(Math.sqrt(P1*P1+X1*X1+F1*F1)),b=K4(Math.sqrt(W1*W1+I4*I4)),c1=Bi(c2,W1),V=Math.abs(c1)>2e-4?c1*O7:0,W=y4?1/(y4<0?-y4:y4):0),i.svg&&(t2=c.getAttribute("transform"),i.forceCSS=c.setAttribute("transform","")||!SS(x6(c,j4)),t2&&c.setAttribute("transform",t2))),Math.abs(V)>90&&Math.abs(V)<270&&(a?(M*=-1,V+=C<=0?180:-180,C+=C<=0?180:-180):(b*=-1,V+=V<=0?180:-180)),e=e||i.uncache,i.x=h-((i.xPercent=h&&(!e&&i.xPercent||(Math.round(c.offsetWidth/2)===Math.round(-h)?-50:0)))?c.offsetWidth*i.xPercent/100:0)+r,i.y=g-((i.yPercent=g&&(!e&&i.yPercent||(Math.round(c.offsetHeight/2)===Math.round(-g)?-50:0)))?c.offsetHeight*i.yPercent/100:0)+r,i.z=v+r,i.scaleX=K4(M),i.scaleY=K4(b),i.rotation=K4(C)+l,i.rotationX=K4(S)+l,i.rotationY=K4(P)+l,i.skewX=V+l,i.skewY=q+l,i.transformPerspective=W+r,(i.zOrigin=parseFloat(m.split(" ")[2])||!e&&i.zOrigin||0)&&(n[K3]=El(m)),i.xOffset=i.yOffset=0,i.force3D=Z3.force3D,i.renderTransform=i.svg?_W:yS?NS:vW,i.uncache=0,i},El=function(c){return(c=c.split(" "))[0]+" "+c[1]},lz=function(c,e,i){var n=q0(e);return K4(parseFloat(e)+parseFloat(gc(c,"x",i+"px",n)))+n},vW=function(c,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,NS(c,e)},T7="0deg",Sa="0px",D7=") ",NS=function(c,e){var i=e||this,n=i.xPercent,a=i.yPercent,r=i.x,l=i.y,f=i.z,m=i.rotation,h=i.rotationY,g=i.rotationX,v=i.skewX,M=i.skewY,b=i.scaleX,C=i.scaleY,S=i.transformPerspective,P=i.force3D,V=i.target,q=i.zOrigin,W="",G=P==="auto"&&c&&c!==1||P===!0;if(q&&(g!==T7||h!==T7)){var Q=parseFloat(h)*$i,l1=Math.sin(Q),c1=Math.cos(Q),n1;Q=parseFloat(g)*$i,n1=Math.cos(Q),r=lz(V,r,l1*n1*-q),l=lz(V,l,-Math.sin(Q)*-q),f=lz(V,f,c1*n1*-q+q)}S!==Sa&&(W+="perspective("+S+D7),(n||a)&&(W+="translate("+n+"%, "+a+"%) "),(G||r!==Sa||l!==Sa||f!==Sa)&&(W+=f!==Sa||G?"translate3d("+r+", "+l+", "+f+") ":"translate("+r+", "+l+D7),m!==T7&&(W+="rotate("+m+D7),h!==T7&&(W+="rotateY("+h+D7),g!==T7&&(W+="rotateX("+g+D7),(v!==T7||M!==T7)&&(W+="skew("+v+", "+M+D7),(b!==1||C!==1)&&(W+="scale("+b+", "+C+D7),V.style[j4]=W||"translate(0, 0)"},_W=function(c,e){var i=e||this,n=i.xPercent,a=i.yPercent,r=i.x,l=i.y,f=i.rotation,m=i.skewX,h=i.skewY,g=i.scaleX,v=i.scaleY,M=i.target,b=i.xOrigin,C=i.yOrigin,S=i.xOffset,P=i.yOffset,V=i.forceCSS,q=parseFloat(r),W=parseFloat(l),G,Q,l1,c1,n1;f=parseFloat(f),m=parseFloat(m),h=parseFloat(h),h&&(h=parseFloat(h),m+=h,f+=h),f||m?(f*=$i,m*=$i,G=Math.cos(f)*g,Q=Math.sin(f)*g,l1=Math.sin(f-m)*-v,c1=Math.cos(f-m)*v,m&&(h*=$i,n1=Math.tan(m-h),n1=Math.sqrt(1+n1*n1),l1*=n1,c1*=n1,h&&(n1=Math.tan(h),n1=Math.sqrt(1+n1*n1),G*=n1,Q*=n1)),G=K4(G),Q=K4(Q),l1=K4(l1),c1=K4(c1)):(G=g,c1=v,Q=l1=0),(q&&!~(r+"").indexOf("px")||W&&!~(l+"").indexOf("px"))&&(q=gc(M,"x",r,"px"),W=gc(M,"y",l,"px")),(b||C||S||P)&&(q=K4(q+b-(b*G+C*l1)+S),W=K4(W+C-(b*Q+C*c1)+P)),(n||a)&&(n1=M.getBBox(),q=K4(q+n/100*n1.width),W=K4(W+a/100*n1.height)),n1="matrix("+G+","+Q+","+l1+","+c1+","+q+","+W+")",M.setAttribute("transform",n1),V&&(M.style[j4]=n1)},CW=function(c,e,i,n,a){var r=360,l=C0(a),f=parseFloat(a)*(l&&~a.indexOf("rad")?O7:1),m=f-n,h=n+m+"deg",g,v;return l&&(g=a.split("_")[1],g==="short"&&(m%=r,m!==m%(r/2)&&(m+=m<0?r:-r)),g==="cw"&&m<0?m=(m+r*dS)%r-~~(m/r)*r:g==="ccw"&&m>0&&(m=(m-r*dS)%r-~~(m/r)*r)),c._pt=v=new w3(c._pt,e,i,n,m,nW),v.e=h,v.u="deg",c._props.push(i),v},LS=function(c,e){for(var i in e)c[i]=e[i];return c},yW=function(c,e,i){var n=LS({},i._gsap),a="perspective,force3D,transformOrigin,svgOrigin",r=i.style,l,f,m,h,g,v,M,b;n.svg?(m=i.getAttribute("transform"),i.setAttribute("transform",""),r[j4]=e,l=ka(i,1),pc(i,j4),i.setAttribute("transform",m)):(m=getComputedStyle(i)[j4],r[j4]=e,l=ka(i,1),r[j4]=m);for(f in o5)m=n[f],h=l[f],m!==h&&a.indexOf(f)<0&&(M=q0(m),b=q0(h),g=M!==b?gc(i,f,m,b):parseFloat(m),v=parseFloat(h),c._pt=new w3(c._pt,l,f,g,v-g,fz),c._pt.u=b||0,c._props.push(f));LS(l,n)};x3("padding,margin,Width,Radius",function(t,c){var e="Top",i="Right",n="Bottom",a="Left",r=(c<3?[e,i,n,a]:[e+a,e+i,n+i,n+a]).map(function(l){return c<2?t+l:"border"+l+t});Ol[c>1?"border"+t:t]=function(l,f,m,h,g){var v,M;if(arguments.length<4)return v=r.map(function(b){return r5(l,b,m)}
756),M=v.join(" "),M.split(v[0]).length===5?v[0]:M;v=(h+"").split(" "),M={},r.forEach(function(b,C){return M[b]=v[C]=v[C]||v[(C-1)/2|0]}),l.init(f,M,g)}});var Lz={name:"css",register:mz,targetTest:function(c){return c.style&&c.nodeType},init:function(c,e,i,n,a){var r=this._props,l=c.style,f=i.vars.startAt,m,h,g,v,M,b,C,S,P,V,q,W,G,Q,l1,c1,n1;hz||mz(),this.styles=this.styles||CS(c),c1=this.styles.props,this.tween=i;for(C in e)if(C!=="autoRound"&&(h=e[C],!(G3[C]&&iz(C,e,i,n,c,a)))){if(M=typeof h,b=Ol[C],M==="function"&&(h=h.call(i,n,c,a),M=typeof h),M==="string"&&~h.indexOf("random(")&&(h=Hi(h)),b)b(this,c,C,h,i)&&(l1=1);else if(C.substr(0,2)==="--")m=(getComputedStyle(c).getPropertyValue(C)+"").trim(),h+="",a5.lastIndex=0,a5.test(m)||(S=q0(m),P=q0(h),P?S!==P&&(m=gc(c,C,m,P)+P):S&&(h+=S)),this.add(l,"setProperty",m,h,n,a,0,0,C),r.push(C),c1.push(C,0,l[C]);else if(M!=="undefined"){if(f&&C in f?(m=typeof f[C]=="function"?f[C].call(i,n,c,a):f[C],C0(m)&&~m.indexOf("random(")&&(m=Hi(m)),q0(m+"")||m==="auto"||(m+=Z3.units[C]||q0(r5(c,C))||""),(m+"").charAt(1)==="="&&(m=r5(c,C))):m=r5(c,C),v=parseFloat(m),V=M==="string"&&h.charAt(1)==="="&&h.substr(0,2),V&&(h=h.substr(2)),g=parseFloat(h),C in ue&&(C==="autoAlpha"&&(v===1&&r5(c,"visibility")==="hidden"&&g&&(v=0),c1.push("visibility",0,l.visibility),hc(this,l,"visibility",v?"inherit":"hidden",g?"inherit":"hidden",!g)),C!=="scale"&&C!=="transform"&&(C=ue[C],~C.indexOf(",")&&(C=C.split(",")[0]))),q=C in o5,q){if(this.styles.save(C),n1=h,M==="string"&&h.substring(0,6)==="var(--"){if(h=x6(c,h.substring(4,h.indexOf(")"))),h.substring(0,5)==="calc("){var _1=c.style.perspective;c.style.perspective=h,h=x6(c,"perspective"),_1?c.style.perspective=_1:pc(c,"perspective")}g=parseFloat(h)}if(W||(G=c._gsap,G.renderTransform&&!e.parseTransform||ka(c,e.parseTransform),Q=e.smoothOrigin!==!1&&G.smooth,W=this._pt=new w3(this._pt,l,j4,0,1,G.renderTransform,G,0,-1),W.dep=1),C==="scale")this._pt=new w3(this._pt,G,"scaleY",G.scaleY,(V?k7(G.scaleY,V+g):g)-G.scaleY||0,fz),this._pt.u=0,r.push("scaleY",C),C+="X";else if(C==="transformOrigin"){c1.push(K3,0,l[K3]),h=LW(h),G.svg?uz(c,h,0,Q,0,this):(P=parseFloat(h.split(" ")[2])||0,P!==G.zOrigin&&hc(this,G,"zOrigin",G.zOrigin,P),hc(this,l,C,El(m),El(h)));continue}else if(C==="svgOrigin"){uz(c,h,1,Q,0,this);continue}else if(C in wS){CW(this,G,C,v,V?k7(v,V+h):h);continue}else if(C==="smoothOrigin"){hc(this,G,"smooth",G.smooth,h);continue}else if(C==="force3D"){G[C]=h;continue}else if(C==="transform"){yW(this,h,c);continue}}else C in l||(C=ji(C)||C);if(q||(g||g===0)&&(v||v===0)&&!iW.test(h)&&C in l)S=(m+"").substr((v+"").length),g||(g=0),P=q0(h)||(C in Z3.units?Z3.units[C]:S),S!==P&&(v=gc(c,C,m,P)),this._pt=new w3(this._pt,q?G:l,C,v,(V?k7(v,V+g):g)-v,!q&&(P==="px"||C==="zIndex")&&e.autoRound!==!1?rW:fz),this._pt.u=P||0,q&&n1!==h?(this._pt.b=m,this._pt.e=n1,this._pt.r=sW):S!==P&&P!=="%"&&(this._pt.b=m,this._pt.r=aW);else if(C in l)zW.call(this,c,C,m,V?V+h:h);else if(C in c)this.add(c,C,m||c[C],V?V+h:h,n,a);else if(C!=="parseTransform"){Nl(C,h);continue}q||(C in l?c1.push(C,0,l[C]):typeof c[C]=="function"?c1.push(C,2,c[C]()):c1.push(C,1,m||c[C])),r.push(C)}}l1&&oz(this)},render:function(c,e){if(e.tween._time||!pz())for(var i=e._pt;i;)i.r(c,i.d),i=i._next;else e.styles.revert()},get:r5,aliases:ue,getSetter:function(c,e,i){var n=ue[e];return n&&n.indexOf(",")<0&&(e=n),e in o5&&e!==K3&&(c._gsap.x||r5(c,"x"))?i&&fS===i?e==="scale"?dW:fW:(fS=i||{})&&(e==="scale"?mW:uW):c.style&&!Sl(c.style[e])?oW:~e.indexOf("-")?lW:Dl(c,e)},core:{_removeProperty:pc,_getMatrix:zz}};r3.utils.checkPrefix=ji;r3.core.getStyleSaver=CS;(function(t,c,e,i){var n=x3(t+","+c+","+e,function(a){o5[a]=1});x3(c,function(a){Z3.units[a]="deg",wS[a]=1}),ue[n[13]]=t+","+c,x3(i,function(a){var r=a.split(":");ue[r[1]]=n[r[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");x3("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Z3.units[t]="px"});r3.registerPlugin(Lz);var A8=r3.registerPlugin(Lz)||r3,ai1=A8.core.Tween;var C4=(()=>{class t{constructor(e){this.constants=e}registerComponent(e){if(this.component)throw new Error("MessageService - Message component already registered");this.component=e}showMessage(e){if(!this.component)throw new Error("MessageService - Missing component");let{translate:i}=e;i?this.component.display(m1(E({},e),{message:this.constants.translate(e.message)})):this.component.display(e)}showError(e){return this.showMessage(E({style:"danger"},e))}static{this.\u0275fac=function(i){return new(i||t)(p1(Y6))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();function bW(t,c){if(t&1){let e=z1();T(0,"div",11)(1,"pr-archive-small",12),e1("click",function(){let n=a1(e).$implicit,a=O();return s1(a.archiveClick(n))}),D()()}if(t&2){let e=c.$implicit,i=O();
756M1("archive-list-row--current",e.archiveId===(i.currentArchive==null?null:i.currentArchive.archiveId)),k(),t1("archive",e)("accessRole",e.accessRole)("clickable",!0)}}function xW(t,c){t&1&&(T(0,"div",6),F(1,"You have no other archives"),D())}function wW(t,c){t&1&&O1(0,"pr-basic-loading-spinner")}var AS=(()=>{class t{constructor(e,i,n,a,r,l){this.accountService=e,this.dialogRef=i,this.api=n,this.prConstants=a,this.prompt=r,this.message=l,this.archives=[],this.archivesLoading=!0}ngOnInit(){return A(this,null,function*(){this.currentArchive=this.accountService.getArchive();let e=yield this.accountService.refreshArchives(),i=(0,kS.orderBy)(e.map(a=>new Z2(a)),"fullName"),n=i.find(a=>a.archiveId===this.currentArchive.archiveId);n&&(this.currentArchive.update(n),this.accountService.setArchive(this.currentArchive)),this.archives=i,this.archivesLoading=!1})}ngAfterViewInit(){let e=document.querySelectorAll(".archive-list pr-archive-small");A8.from(e,{duration:.75,opacity:0,ease:"Power4.easeOut",stagger:{amount:.5}})}archiveClick(e){if(e.archiveId===this.currentArchive.archiveId){this.dialogRef.close();return}let{promise:i,resolve:n}=Promise.withResolvers(),a=[{buttonName:"switch",buttonText:e.isPending()?"Accept and switch archive":"Switch archive"},{buttonName:"cancel",buttonText:"Cancel",class:"btn-secondary"}],r=`Switch to The ${e.fullName} Archive?`;e.isPending()&&(r=`You have been invited to collaborate on the ${e.fullName} archive. Accept ${this.prConstants.translate(e.accessRole)} access and switch?`),this.prompt.promptButtons(a,r,i).then(l=>{if(l==="switch"){let f=Promise.resolve();e.isPending()&&(f=this.api.archive.accept(e)),f.then(()=>A(this,null,function*(){return yield this.accountService.changeArchive(e)})).then(()=>{n(void 0),this.dialogRef.close("switched")}).catch(m=>{n(void 0),this.message.showError({message:m.getMessage(),translate:!0})})}else n(void 0)})}createArchiveClick(){let{promise:e,resolve:i,reject:n}=Promise.withResolvers(),a=[{fieldName:"fullName",placeholder:"Archive Name",config:{autocapitalize:"off",autocorrect:"off",autocomplete:"off",spellcheck:"off"},validators:[n4.required]},{fieldName:"type",type:"select",placeholder:"Archive Type",validators:[n4.required],selectOptions:[{text:"Person",value:"type.archive.person"},{text:"Group",value:"type.archive.group"},{text:"Group",value:"type.archive.family"},{text:"Organization",value:"type.archive.organization"}]},Zo];this.prompt.prompt(a,"Create new archive",e,"Create archive").then(r=>A(this,null,function*(){return yield this.api.archive.create(new Z2(r))})).then(r=>A(this,null,function*(){return yield this.api.archive.get([r.getArchiveVO()])})).then(r=>{let l=r.getArchiveVO();this.archives.push(l),this.archiveClick(l),i(void 0)}).catch(r=>{r&&(this.message.showError({message:r.getMessage(),translate:!0}),n())})}cancelClick(){this.dialogRef.close("cancel")}static{this.\u0275fac=function(i){return new(i||t)($(e4),$(S4),$(g2),$(Y6),$(a3),$(C4))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-archive-switcher"]],standalone:!1,decls:19,vars:2,consts:[[1,"archive-list-wrapper"],[1,"archive-list"],[1,"archive-list-title"],[1,"archive-list-close",3,"click"],[1,"material-icons","archive-list-close-button"],[1,"archive-list-row",3,"archive-list-row--current"],[1,"archives-empty"],[1,"archive-list-button"],[1,"btn","btn-primary",3,"click"],[1,"material-icons","archive-list-button-approve-icon"],[1,"btn","btn-link","cancel-button",3,"click"],[1,"archive-list-row"],[3,"click","archive","accessRole","clickable"]],template:function(i,n){i&1&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),F(4,"Select archive to request access"),D(),T(5,"button",3),e1("click",function(){return n.cancelClick()}),T(6,"i",4),F(7,"close"),D()()(),a2(8,bW,2,5,"div",5,Q2),Y(10,xW,2,0,"div",6),Y(11,wW,1,0,"pr-basic-loading-spinner"),D()(),T(12,"div",7)(13,"button",8),e1("click",function(){return n.createArchiveClick()}),F(14," Create new archive "),T(15,"i",9),F(16,"inventory_2"),D()(),T(17,"button",10),e1("click",function(){return n.cancelClick()}),F(18," Cancel "),D()()),i&2&&(k(8),s2(n.archives),k(2),Z(!n.archivesLoading&&!n.archives.length?10:-1),k(),Z(n.archivesLoading?11:-1))},styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}
756@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{position:absolute;display:flex;flex-direction:column;align-items:center;inset:0;z-index:4;background-color:#fff;text-align:center;padding:10px 0 0}@media screen and (min-width:900px){[_nghost-%COMP%]{max-height:calc(100vh - 10rem);overflow:hidden;overflow-y:auto}}@media screen and (min-width:900px){[_nghost-%COMP%]{position:relative;z-index:initial}}.archive-list-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;margin-bottom:10px;font-weight:600;font-size:17px}.archive-list-close[_ngcontent-%COMP%]{background:none;border:none;padding:0 0 1px;cursor:pointer;color:#6c757d;display:flex;align-items:center}.archive-list-close[_ngcontent-%COMP%] .archive-list-close-button[_ngcontent-%COMP%]{font-size:20px}.archive-list-close[_ngcontent-%COMP%]:hover{color:#212529}.archive-list-wrapper[_ngcontent-%COMP%]{flex:1 1;max-width:360px;width:100%;overflow:hidden;overflow-y:auto}.current-archive[_ngcontent-%COMP%]{border:1px solid #dee2e6;border-radius:.25rem;padding:20px}.archive-list[_ngcontent-%COMP%]{padding-top:8px}.archive-list-row[_ngcontent-%COMP%]{border-bottom:1px solid #e9ecef;cursor:pointer}.archive-list-row[_ngcontent-%COMP%]:first-of-type{border-top:1px solid #e9ecef}.archive-list-row[_ngcontent-%COMP%] pr-archive-small{padding:12px 16px}.archive-list-row[_ngcontent-%COMP%] pr-archive-small:hover{background-color:#f8f9fa}.archive-list-row--current[_ngcontent-%COMP%]{background-color:#ffead5}.archive-list-row--current[_ngcontent-%COMP%] pr-archive-small:hover{background-color:#ffe0c1}.archives-empty[_ngcontent-%COMP%]{margin-top:20px;padding:0 16px}.archive-list-button[_ngcontent-%COMP%]{width:90%;display:flex;flex-direction:column;align-items:center}.archive-list-button[_ngcontent-%COMP%] .archive-list-button-approve-icon[_ngcontent-%COMP%]{vertical-align:top;font-size:20px;padding-left:5px}.cancel-button[_ngcontent-%COMP%]{font-size:16px;color:var(--bs-secondary-color);text-decoration:none;margin:0 0 10px}.cancel-button[_ngcontent-%COMP%]:hover{text-decoration:underline}"]})}}return t})();var TS=Object.prototype.toString;function Aa(t){switch(TS.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return pe(t,Error)}}function Wi(t,c){return TS.call(t)===`[object ${c}]`}function Gi(t){return Wi(t,"ErrorEvent")}function Il(t){return Wi(t,"DOMError")}function Mz(t){return Wi(t,"DOMException")}function X3(t){return Wi(t,"String")}function qi(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function I7(t){return t===null||qi(t)||typeof t!="object"&&typeof t!="function"}function T8(t){return Wi(t,"Object")}function P7(t){return typeof Event<"u"&&pe(t,Event)}function vz(t){return typeof Element<"u"&&pe(t,Element)}function _z(t){return Wi(t,"RegExp")}function he(t){return!!(t&&t.then&&typeof t.then=="function")}function Cz(t){return T8(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function yz(t){return typeof t=="number"&&t!==t}function pe(t,c){try{return t instanceof c}catch(e){return!1}}function Ta(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function ge(t,c=0){return typeof t!="string"||c===0||t.length<=c?t:`${t.slice(0,c)}...`}function Pl(t,c){if(!Array.isArray(t))return"";let e=[];for(let i=0;i<t.length;i++){let n=t[i];try{Ta(n)?e.push("[VueViewModel]"):e.push(String(n))}catch(a){e.push("[value cannot be serialized]")}}return e.join(c)}function DS(t,c,e=!1){return X3(t)?_z(c)?c.test(t):X3(c)?e?t===c:t.includes(c):!1:!1}function Yi(t,c=[],e=!1){return c.some(i=>DS(t,i,e))}function Da(t,c,e=250,i,n,a,r){if(!a.exception||!a.exception.values||!r||!pe(r.originalException,Error))return;let l=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;l&&(a.exception.values=SW(bz(t,c,n,r.originalException,i,a.exception.values,l,0),e))}function bz(t,c,e,i,n,a,r,l){if(a.length>=e+1)return a;let f=[...a];if(pe(i[n],Error)){OS(r,l);let m=t(c,i[n]),h=f.length;ES(m,n,h,l),f=bz(t,c,e,i[n],n,[m,...f],m,h)}
756return Array.isArray(i.errors)&&i.errors.forEach((m,h)=>{if(pe(m,Error)){OS(r,l);let g=t(c,m),v=f.length;ES(g,`errors[${h}]`,v,l),f=bz(t,c,e,m,n,[g,...f],g,v)}}),f}function OS(t,c){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=m1(E(E({},t.mechanism),t.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:c})}function ES(t,c,e,i){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=m1(E({},t.mechanism),{type:"chained",source:c,exception_id:e,parent_id:i})}function SW(t,c){return t.map(e=>(e.value&&(e.value=ge(e.value,c)),e))}function Rl(t){return t&&t.Math==Math?t:void 0}var e2=typeof globalThis=="object"&&Rl(globalThis)||typeof window=="object"&&Rl(window)||typeof self=="object"&&Rl(self)||typeof global=="object"&&Rl(global)||(function(){return this})()||{};function R7(){return e2}function Oa(t,c,e){let i=e||e2,n=i.__SENTRY__=i.__SENTRY__||{};return n[t]||(n[t]=c())}var xz=R7(),NW=80;function Ea(t,c={}){if(!t)return"<unknown>";try{let e=t,i=5,n=[],a=0,r=0,l=" > ",f=l.length,m,h=Array.isArray(c)?c:c.keyAttrs,g=!Array.isArray(c)&&c.maxStringLength||NW;for(;e&&a++<i&&(m=kW(e,h),!(m==="html"||a>1&&r+n.length*f+m.length>=g));)n.push(m),r+=m.length,e=e.parentNode;return n.reverse().join(l)}catch(e){return"<unknown>"}}function kW(t,c){let e=t,i=[],n,a,r,l,f;if(!e||!e.tagName)return"";if(xz.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;i.push(e.tagName.toLowerCase());let m=c&&c.length?c.filter(g=>e.getAttribute(g)).map(g=>[g,e.getAttribute(g)]):null;if(m&&m.length)m.forEach(g=>{i.push(`[${g[0]}="${g[1]}"]`)});else if(e.id&&i.push(`#${e.id}`),n=e.className,n&&X3(n))for(a=n.split(/\s+/),f=0;f<a.length;f++)i.push(`.${a[f]}`);let h=["aria-label","type","name","title","alt"];for(f=0;f<h.length;f++)r=h[f],l=e.getAttribute(r),l&&i.push(`[${r}="${l}"]`);return i.join("")}function wz(){try{return xz.document.location.href}catch(t){return""}}function Sz(t){if(!xz.HTMLElement)return null;let c=t,e=5;for(let i=0;i<e;i++){if(!c)return null;if(c instanceof HTMLElement&&c.dataset.sentryComponent)return c.dataset.sentryComponent;c=c.parentNode}return null}var ze=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var AW="Sentry Logger ",Ia=["debug","info","warn","error","log","assert","trace"],Zi={};function zc(t){if(!("console"in e2))return t();let c=e2.console,e={},i=Object.keys(Zi);i.forEach(n=>{let a=Zi[n];e[n]=c[n],c[n]=a});try{return t()}finally{i.forEach(n=>{c[n]=e[n]})}}function TW(){let t=!1,c={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return ze?Ia.forEach(e=>{c[e]=(...i)=>{t&&zc(()=>{e2.console[e](`${AW}[${e}]:`,...i)})}}):Ia.forEach(e=>{c[e]=()=>{}}),c}var w1=TW();var DW=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function OW(t){return t==="http"||t==="https"}function Q6(t,c=!1){let{host:e,path:i,pass:n,port:a,projectId:r,protocol:l,publicKey:f}=t;return`${l}://${f}${c&&n?`:${n}`:""}@${e}${a?`:${a}`:""}/${i&&`${i}/`}${r}`}function IS(t){let c=DW.exec(t);if(!c){zc(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[e,i,n="",a,r="",l]=c.slice(1),f="",m=l,h=m.split("/");if(h.length>1&&(f=h.slice(0,-1).join("/"),m=h.pop()),m){let g=m.match(/^\d+/);g&&(m=g[0])}return PS({host:a,pass:n,path:f,projectId:m,port:r,protocol:e,publicKey:i})}function PS(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function EW(t){if(!ze)return!0;let{port:c,projectId:e,protocol:i}=t;return["protocol","publicKey","host","projectId"].find(r=>t[r]?!1:(w1.error(`Invalid Sentry Dsn: ${r} missing`),!0))?!1:e.match(/^\d+$/)?OW(i)?c&&isNaN(parseInt(c,10))?(w1.error(`Invalid Sentry Dsn: Invalid port ${c}`),!1):!0:(w1.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(w1.error(`Invalid Sentry Dsn: Invalid projectId ${e}`),!1)}function Fl(t){let c=typeof t=="string"?IS(t):PS(t);if(!(!c||!EW(c)))return c}var o3=class extends Error{constructor(c,e="warn"){super(c),this.message=c,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}};function T4(t,c,e){if(!(c in t))return;let i=t[c],n=e(i);typeof n=="function"&&Vl(n,i),t[c]=n}function l5(t,c,e){try{Object.defineProperty(t,c,{value:e,writable:!0,configurable:!0})}catch(i){ze&&w1.log(`Failed to add non-enumerable property "${c}" to object`,t)}}function Vl(t,c){try{let e=c.prototype||{};t.prototype=c.prototype=e,l5(t,"__sentry_original__",c)}catch(e){}}function F7(t){return t.__sentry_original__}function kz(t){return Object.keys(t).map(c=>`${encodeURIComponent(c)}=${encodeURIComponent(t[c])}`).join("&")}function Hl(t){if(Aa(t))return E({message:t.message,name:t.name,stack:t.stack},FS(t));if(P7(t)){let c=E({type:t.type,target:RS(t.target),currentTarget:RS(t.currentTarget)},FS(t));return typeof CustomEvent<"u"&&pe(t,CustomEvent)&&(c.detail=t.detail),c}else return t}function RS(t){try{return vz(t)?Ea(t):Object.prototype.toString.call(t)}catch(c){return"<unknown>"}}function FS(t){if(typeof t=="object"&&t!==null){let c={};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(c[e]=t[e]);return c}else return{}}function Az(t,c=40){let e=Object.keys(Hl(t));if(e.sort(),!e.length)return"[object has no keys]";if(e[0].length>=c)return ge(e[0],c);for(let i=e.length;i>0;i--){let n=e.slice(0,i).join(", ");
756if(!(n.length>c))return i===e.length?n:ge(n,c)}return""}function N3(t){return Nz(t,new Map)}function Nz(t,c){if(IW(t)){let e=c.get(t);if(e!==void 0)return e;let i={};c.set(t,i);for(let n of Object.keys(t))typeof t[n]<"u"&&(i[n]=Nz(t[n],c));return i}if(Array.isArray(t)){let e=c.get(t);if(e!==void 0)return e;let i=[];return c.set(t,i),t.forEach(n=>{i.push(Nz(n,c))}),i}return t}function IW(t){if(!T8(t))return!1;try{let c=Object.getPrototypeOf(t).constructor.name;return!c||c==="Object"}catch(c){return!0}}var BS=50,VS=/\(error: (.*)\)/,HS=/captureMessage|captureException/;function Bl(...t){let c=t.sort((e,i)=>e[0]-i[0]).map(e=>e[1]);return(e,i=0)=>{let n=[],a=e.split(` 757`);for(let r=i;r<a.length;r++){let l=a[r];if(l.length>1024)continue;let f=VS.test(l)?l.replace(VS,"$1"):l;if(!f.match(/\S*Error: /)){for(let m of c){let h=m(f);if(h){n.push(h);break}}if(n.length>=BS)break}}return US(n)}}function Dz(t){return Array.isArray(t)?Bl(...t):t}function US(t){if(!t.length)return[];let c=Array.from(t);return/sentryWrapped/.test(c[c.length-1].function||"")&&c.pop(),c.reverse(),HS.test(c[c.length-1].function||"")&&(c.pop(),HS.test(c[c.length-1].function||"")&&c.pop()),c.slice(0,BS).map(e=>m1(E({},e),{filename:e.filename||c[c.length-1].filename,function:e.function||"?"}))}var Tz="<anonymous>";function J6(t){try{return!t||typeof t!="function"?Tz:t.name||Tz}catch(c){return Tz}}var Ul={},$S={};function Q3(t,c){Ul[t]=Ul[t]||[],Ul[t].push(c)}function J3(t,c){$S[t]||(c(),$S[t]=!0)}function I0(t,c){let e=t&&Ul[t];if(e)for(let i of e)try{i(c)}catch(n){ze&&w1.error(`Error while triggering instrumentation handler. 758Type: ${t} 759Name: ${J6(i)} 760Error:`,n)}}function Oz(t){let c="console";Q3(c,t),J3(c,PW)}function PW(){"console"in e2&&Ia.forEach(function(t){t in e2.console&&T4(e2.console,t,function(c){return Zi[t]=c,function(...e){I0("console",{args:e,level:t});let n=Zi[t];n&&n.apply(e2.console,e)}})})}function y0(){let t=e2,c=t.crypto||t.msCrypto,e=()=>Math.random()*16;try{if(c&&c.randomUUID)return c.randomUUID().replace(/-/g,"");c&&c.getRandomValues&&(e=()=>{let i=new Uint8Array(1);return c.getRandomValues(i),i[0]})}catch(i){}return("10000000100040008000"+1e11).replace(/[018]/g,i=>(i^(e()&15)>>i/4).toString(16))}function jS(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function D8(t){let{message:c,event_id:e}=t;if(c)return c;let i=jS(t);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||e||"<unknown>":e||"<unknown>"}function Ki(t,c,e){let i=t.exception=t.exception||{},n=i.values=i.values||[],a=n[0]=n[0]||{};a.value||(a.value=c||""),a.type||(a.type=e||"Error")}function f5(t,c){let e=jS(t);if(!e)return;let i={type:"generic",handled:!0},n=e.mechanism;if(e.mechanism=E(E(E({},i),n),c),c&&"data"in c){let a=E(E({},n&&n.data),c.data);e.mechanism.data=a}}function $l(t){if(t&&t.__sentry_captured__)return!0;try{l5(t,"__sentry_captured__",!0)}catch(c){}return!1}function Pa(t){return Array.isArray(t)?t:[t]}var Xi=e2,RW=1e3,WS,Ez,Iz;function Pz(t){Q3("dom",t),J3("dom",FW)}function FW(){if(!Xi.document)return;let t=I0.bind(null,"dom"),c=GS(t,!0);Xi.document.addEventListener("click",c,!1),Xi.document.addEventListener("keypress",c,!1),["EventTarget","Node"].forEach(e=>{let i=Xi[e]&&Xi[e].prototype;!i||!i.hasOwnProperty||!i.hasOwnProperty("addEventListener")||(T4(i,"addEventListener",function(n){return function(a,r,l){if(a==="click"||a=="keypress")try{let f=this,m=f.__sentry_instrumentation_handlers__=f.__sentry_instrumentation_handlers__||{},h=m[a]=m[a]||{refCount:0};if(!h.handler){let g=GS(t);h.handler=g,n.call(this,a,g,l)}h.refCount++}catch(f){}return n.call(this,a,r,l)}}),T4(i,"removeEventListener",function(n){return function(a,r,l){if(a==="click"||a=="keypress")try{let f=this,m=f.__sentry_instrumentation_handlers__||{},h=m[a];h&&(h.refCount--,h.refCount<=0&&(n.call(this,a,h.handler,l),h.handler=void 0,delete m[a]),Object.keys(m).length===0&&delete f.__sentry_instrumentation_handlers__)}catch(f){}return n.call(this,a,r,l)}}))})}function VW(t){if(t.type!==Ez)return!1;try{if(!t.target||t.target._sentryId!==Iz)return!1}catch(c){}return!0}function HW(t,c){return t!=="keypress"?!1:!c||!c.tagName?!0:!(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable)}function GS(t,c=!1){return e=>{if(!e||e._sentryCaptured)return;let i=BW(e);
760if(HW(e.type,i))return;l5(e,"_sentryCaptured",!0),i&&!i._sentryId&&l5(i,"_sentryId",y0());let n=e.type==="keypress"?"input":e.type;VW(e)||(t({event:e,name:n,global:c}),Ez=e.type,Iz=i?i._sentryId:void 0),clearTimeout(WS),WS=Xi.setTimeout(()=>{Iz=void 0,Ez=void 0},RW)}}function BW(t){try{return t.target}catch(c){return null}}var Rz=R7();function jl(){if(!("fetch"in Rz))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function Ra(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Fz(){if(typeof EdgeRuntime=="string")return!0;if(!jl())return!1;if(Ra(Rz.fetch))return!0;let t=!1,c=Rz.document;if(c&&typeof c.createElement=="function")try{let e=c.createElement("iframe");e.hidden=!0,c.head.appendChild(e),e.contentWindow&&e.contentWindow.fetch&&(t=Ra(e.contentWindow.fetch)),c.head.removeChild(e)}catch(e){ze&&w1.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t}function Hz(t){let c="fetch";Q3(c,t),J3(c,UW)}function UW(){Fz()&&T4(e2,"fetch",function(t){return function(...c){let{method:e,url:i}=$W(c),n={args:c,fetchData:{method:e,url:i},startTimestamp:Date.now()};return I0("fetch",E({},n)),t.apply(e2,c).then(a=>{let r=m1(E({},n),{endTimestamp:Date.now(),response:a});return I0("fetch",r),a},a=>{let r=m1(E({},n),{endTimestamp:Date.now(),error:a});throw I0("fetch",r),a})}})}function Vz(t,c){return!!t&&typeof t=="object"&&!!t[c]}function qS(t){return typeof t=="string"?t:t?Vz(t,"url")?t.url:t.toString?t.toString():"":""}function $W(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){let[e,i]=t;return{url:qS(e),method:Vz(i,"method")?String(i.method).toUpperCase():"GET"}}let c=t[0];return{url:qS(c),method:Vz(c,"method")?String(c.method).toUpperCase():"GET"}}var Wl=null;function Bz(t){let c="error";Q3(c,t),J3(c,jW)}function jW(){Wl=e2.onerror,e2.onerror=function(t,c,e,i,n){return I0("error",{column:i,error:n,line:e,msg:t,url:c}),Wl&&!Wl.__SENTRY_LOADER__?Wl.apply(this,arguments):!1},e2.onerror.__SENTRY_INSTRUMENTED__=!0}var Gl=null;function Uz(t){let c="unhandledrejection";Q3(c,t),J3(c,WW)}function WW(){Gl=e2.onunhandledrejection,e2.onunhandledrejection=function(t){return I0("unhandledrejection",t),Gl&&!Gl.__SENTRY_LOADER__?Gl.apply(this,arguments):!0},e2.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ql=R7();function YS(){let t=ql.chrome,c=t&&t.app&&t.app.runtime,e="history"in ql&&!!ql.history.pushState&&!!ql.history.replaceState;return!c&&e}var Fa=e2,Yl;function Va(t){let c="history";Q3(c,t),J3(c,GW)}function GW(){if(!YS())return;let t=Fa.onpopstate;Fa.onpopstate=function(...e){let i=Fa.location.href,n=Yl;if(Yl=i,I0("history",{from:n,to:i}),t)try{return t.apply(this,e)}catch(r){}};function c(e){return function(...i){let n=i.length>2?i[2]:void 0;if(n){let a=Yl,r=String(n);Yl=r,I0("history",{from:a,to:r})}return e.apply(this,i)}}T4(Fa.history,"pushState",c),T4(Fa.history,"replaceState",c)}var qW=e2,V7="__sentry_xhr_v3__";function $z(t){Q3("xhr",t),J3("xhr",YW)}function YW(){if(!qW.XMLHttpRequest)return;let t=XMLHttpRequest.prototype;T4(t,"open",function(c){return function(...e){let i=Date.now(),n=X3(e[0])?e[0].toUpperCase():void 0,a=ZW(e[1]);if(!n||!a)return c.apply(this,e);this[V7]={method:n,url:a,request_headers:{}},n==="POST"&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let r=()=>{let l=this[V7];if(l&&this.readyState===4){try{l.status_code=this.status}catch(m){}let f={args:[n,a],endTimestamp:Date.now(),startTimestamp:i,xhr:this};I0("xhr",f)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?T4(this,"onreadystatechange",function(l){return function(...f){return r(),l.apply(this,f)}}):this.addEventListener("readystatechange",r),T4(this,"setRequestHeader",function(l){return function(...f){let[m,h]=f,g=this[V7];return g&&X3(m)&&X3(h)&&(g.request_headers[m.toLowerCase()]=h),l.apply(this,f)}}),c.apply(this,e)}}),T4(t,"send",function(c){return function(...e){let i=this[V7];if(!i)return c.apply(this,e);e[0]!==void 0&&(i.body=e[0]);let n={args:[i.method,i.url],startTimestamp:Date.now(),xhr:this};return I0("xhr",n),c.apply(this,e)}})}function ZW(t){if(X3(t))return t;try{return t.toString()}catch(c){}}function jz(){return"npm"}function ZS(){let t=typeof WeakSet=="function",c=t?new WeakSet:[];function e(n){if(t)return c.has(n)?!0:(c.add(n),!1);for(let a=0;a<c.length;a++)if(c[a]===n)return!0;return c.push(n),!1}function i(n){if(t)c.delete(n);else for(let a=0;a<c.length;a++)if(c[a]===n){c.splice(a,1);break}}return[e,i]}function O8(t,c=100,e=1/0){try{return Zl("",t,c,e)}catch(i){return{ERROR:`**non-serializable** (${i})`}}}function Kl(t,c=3,e=100*1024){let i=O8(t,c);return JW(i)>e?Kl(t,c-1,e):i}function Zl(t,c,e=1/0,i=1/0,n=ZS()){let[a,r]=n;if(c==null||["number","boolean","string"].includes(typeof c)&&!yz(c))return c;let l=KW(t,c);if(!l.startsWith("[object "))return l;if(c.__sentry_skip_normalization__)return c;let f=typeof c.__sentry_override_normalization_depth__=="number"?c.__sentry_override_normalization_depth__:e;if(f===0)return l.replace("object ","");if(a(c))return"[Circular ~]";let m=c;if(m&&typeof m.toJSON=="function")try{let M=m.toJSON();return Zl("",M,f-1,i,n)}catch(M){}let h=Array.isArray(c)?[]:{},g=0,v=Hl(c);for(let M in v){if(!Object.prototype.hasOwnProperty.call(v,M))continue;if(g>=i){h[M]="[MaxProperties ~]";break}let b=v[M];h[M]=Zl(M,b,f-1,i,n),g++}return r(c),h}function KW(t,c){try{if(t==="domain"&&c&&typeof c=="object"&&c._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&c===global)return"[Global]";if(typeof window<"u"&&c===window)return"[Window]";if(typeof document<"u"&&c===document)return"[Document]";if(Ta(c))return"[VueViewModel]";if(Cz(c))return"[SyntheticEvent]";if(typeof c=="number"&&c!==c)return"[NaN]";if(typeof c=="function")return`[Function: ${J6(c)}]`;if(typeof c=="symbol")return`[${String(c)}]`;if(typeof c=="bigint")return`[BigInt: ${String(c)}]`;let e=XW(c);return/^HTML(\w*)Element$/.test(e)?`[HTMLElement: ${e}]`:`[object ${e}]`}catch(e){return`**non-serializable** (${e})`}}function XW(t){let c=Object.getPrototypeOf(t);return c?c.constructor.name:"null prototype"}function QW(t){return~-encodeURI(t).split(/%..|./).length}function JW(t){return QW(JSON.stringify(t))}var d5;
760(function(t){t[t.PENDING=0]="PENDING";let e=1;t[t.RESOLVED=e]="RESOLVED";let i=2;t[t.REJECTED=i]="REJECTED"})(d5||(d5={}));function E8(t){return new S6(c=>{c(t)})}function H7(t){return new S6((c,e)=>{e(t)})}var S6=class t{constructor(c){t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),this._state=d5.PENDING,this._handlers=[];try{c(this._resolve,this._reject)}catch(e){this._reject(e)}}then(c,e){return new t((i,n)=>{this._handlers.push([!1,a=>{if(!c)i(a);else try{i(c(a))}catch(r){n(r)}},a=>{if(!e)n(a);else try{i(e(a))}catch(r){n(r)}}]),this._executeHandlers()})}catch(c){return this.then(e=>e,c)}finally(c){return new t((e,i)=>{let n,a;return this.then(r=>{a=!1,n=r,c&&c()},r=>{a=!0,n=r,c&&c()}).then(()=>{if(a){i(n);return}e(n)})})}__init(){this._resolve=c=>{this._setResult(d5.RESOLVED,c)}}__init2(){this._reject=c=>{this._setResult(d5.REJECTED,c)}}__init3(){this._setResult=(c,e)=>{if(this._state===d5.PENDING){if(he(e)){e.then(this._resolve,this._reject);return}this._state=c,this._value=e,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===d5.PENDING)return;let c=this._handlers.slice();this._handlers=[],c.forEach(e=>{e[0]||(this._state===d5.RESOLVED&&e[1](this._value),this._state===d5.REJECTED&&e[2](this._value),e[0]=!0)})}}};function Wz(t){let c=[];function e(){return t===void 0||c.length<t}function i(r){return c.splice(c.indexOf(r),1)[0]}function n(r){if(!e())return H7(new o3("Not adding Promise because buffer limit was reached."));let l=r();return c.indexOf(l)===-1&&c.push(l),l.then(()=>i(l)).then(null,()=>i(l).then(null,()=>{})),l}function a(r){return new S6((l,f)=>{let m=c.length;if(!m)return l(!0);let h=setTimeout(()=>{r&&r>0&&l(!1)},r);c.forEach(g=>{E8(g).then(()=>{--m||(clearTimeout(h),l(!0))},f)})})}return{$:c,add:n,drain:a}}function Ha(t){if(!t)return{};let c=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!c)return{};let e=c[6]||"",i=c[8]||"";return{host:c[4],path:c[5],protocol:c[2],search:e,hash:i,relative:c[5]+e+i}}var KS=["fatal","error","warning","log","info","debug"];function Gz(t){return t==="warn"?"warning":KS.includes(t)?t:"log"}var XS=1e3;function Le(){return Date.now()/XS}function eG(){let{performance:t}=e2;if(!t||!t.now)return Le;let c=Date.now()-t.now(),e=t.timeOrigin==null?c:t.timeOrigin;return()=>(e+t.now())/XS}var Qi=eG();var Ba,cG=(()=>{let{performance:t}=e2;if(!t||!t.now){Ba="none";return}let c=3600*1e3,e=t.now(),i=Date.now(),n=t.timeOrigin?Math.abs(t.timeOrigin+e-i):c,a=n<c,r=t.timing&&t.timing.navigationStart,f=typeof r=="number"?Math.abs(r+e-i):c,m=f<c;return a||m?n<=f?(Ba="timeOrigin",t.timeOrigin):(Ba="navigationStart",r):(Ba="dateNow",i)})();function e8(t,c=[]){return[t,c]}function Yz(t,c){let[e,i]=t;return[e,[...i,c]]}function Xl(t,c){let e=t[1];for(let i of e){let n=i[0].type;if(c(i,n))return!0}return!1}function qz(t,c){return(c||new TextEncoder).encode(t)}function Zz(t,c){let[e,i]=t,n=JSON.stringify(e);function a(r){typeof n=="string"?n=typeof r=="string"?n+r:[qz(n,c),r]:n.push(typeof r=="string"?qz(r,c):r)}for(let r of i){let[l,f]=r;if(a(` 761${JSON.stringify(l)} 762`),typeof f=="string"||f instanceof Uint8Array)a(f);else{let m;try{m=JSON.stringify(f)}catch(h){m=JSON.stringify(O8(f))}a(m)}}return typeof n=="string"?n:tG(n)}function tG(t){let c=t.reduce((n,a)=>n+a.length,0),e=new Uint8Array(c),i=0;for(let n of t)e.set(n,i),i+=n.length;return e}function Kz(t,c){let e=typeof t.data=="string"?qz(t.data,c):t.data;return[N3({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}var iG={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function Ql(t){return iG[t]}function Jl(t){if(!t||!t.sdk)return;let{name:c,version:e}=t.sdk;return{name:c,version:e}}function Xz(t,c,e,i){let n=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return E(E(E({event_id:t.event_id,sent_at:new Date().toISOString()},c&&{sdk:c}),!!e&&i&&{dsn:Q6(i)}),n&&{trace:N3(E({},n))})}function Qz(t,c,e){let i=[{type:"client_report"},{timestamp:e||Le(),discarded_events:t}];return e8(c?{dsn:c}:{},[i])}function QS(t,c=Date.now()){let e=parseInt(`${t}`,10);if(!isNaN(e))return e*1e3;let i=Date.parse(`${t}`);return isNaN(i)?6e4:i-c}function JS(t,c){return t[c]||t.all||0}function Jz(t,c,e=Date.now()){return JS(t,c)>e}function eL(t,{statusCode:c,headers:e},i=Date.now()){let n=E({},t),a=e&&e["x-sentry-rate-limits"],r=e&&e["retry-after"];if(a)for(let l of a.trim().split(",")){let[f,m,,,h]=l.split(":",5),g=parseInt(f,10),v=(isNaN(g)?60:g)*1e3;if(!m)n.all=i+v;else for(let M of m.split(";
762"))M==="metric_bucket"?(!h||h.split(";").includes("custom"))&&(n[M]=i+v):n[M]=i+v}else r?n.all=i+QS(r,i):c===429&&(n.all=i+60*1e3);return n}function eN(t,c){return t(c.stack||"",1)}function cL(t,c){let e={type:c.name||c.constructor.name,value:c.message},i=eN(t,c);return i.length&&(e.stacktrace={frames:i}),e}var B2=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var Lc="production";function Ua(){return Oa("globalEventProcessors",()=>[])}function tL(t){Ua().push(t)}function Ji(t,c,e,i=0){return new S6((n,a)=>{let r=t[i];if(c===null||typeof r!="function")n(c);else{let l=r(E({},c),e);B2&&r.id&&l===null&&w1.log(`Event processor "${r.id}" dropped event`),he(l)?l.then(f=>Ji(t,f,e,i+1).then(n)).then(null,a):Ji(t,l,e,i+1).then(n).then(null,a)}})}function ef(t){let c=Qi(),e={sid:y0(),init:!0,timestamp:c,started:c,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>nG(e)};return t&&I8(e,t),e}function I8(t,c={}){if(c.user&&(!t.ipAddress&&c.user.ip_address&&(t.ipAddress=c.user.ip_address),!t.did&&!c.did&&(t.did=c.user.id||c.user.email||c.user.username)),t.timestamp=c.timestamp||Qi(),c.abnormal_mechanism&&(t.abnormal_mechanism=c.abnormal_mechanism),c.ignoreDuration&&(t.ignoreDuration=c.ignoreDuration),c.sid&&(t.sid=c.sid.length===32?c.sid:y0()),c.init!==void 0&&(t.init=c.init),!t.did&&c.did&&(t.did=`${c.did}`),typeof c.started=="number"&&(t.started=c.started),t.ignoreDuration)t.duration=void 0;else if(typeof c.duration=="number")t.duration=c.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}c.release&&(t.release=c.release),c.environment&&(t.environment=c.environment),!t.ipAddress&&c.ipAddress&&(t.ipAddress=c.ipAddress),!t.userAgent&&c.userAgent&&(t.userAgent=c.userAgent),typeof c.errors=="number"&&(t.errors=c.errors),c.status&&(t.status=c.status)}function cf(t,c){let e={};c?e={status:c}:t.status==="ok"&&(e={status:"exited"}),I8(t,e)}function nG(t){return N3({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}var aG=1;function cN(t){let{spanId:c,traceId:e}=t.spanContext(),{data:i,op:n,parent_span_id:a,status:r,tags:l,origin:f}=Mc(t);return N3({data:i,op:n,parent_span_id:a,span_id:c,status:r,tags:l,trace_id:e,origin:f})}function Mc(t){return sG(t)?t.getSpanJSON():typeof t.toJSON=="function"?t.toJSON():{}}function sG(t){return typeof t.getSpanJSON=="function"}function tN(t){let{traceFlags:c}=t.spanContext();return!!(c&aG)}function nN(t,c,e,i,n,a){let{normalizeDepth:r=3,normalizeMaxBreadth:l=1e3}=t,f=m1(E({},c),{event_id:c.event_id||e.event_id||y0(),timestamp:c.timestamp||Le()}),m=e.integrations||t.integrations.map(S=>S.name);rG(f,t),fG(f,m),c.type===void 0&&oG(f,t.stackParser);let h=mG(i,e.captureContext);e.mechanism&&f5(f,e.mechanism);let g=n&&n.getEventProcessors?n.getEventProcessors():[],v=sN().getScopeData();if(a){let S=a.getScopeData();iL(v,S)}if(h){let S=h.getScopeData();iL(v,S)}let M=[...e.attachments||[],...v.attachments];M.length&&(e.attachments=M),tf(f,v);let b=[...g,...Ua(),...v.eventProcessors];return Ji(b,f,e).then(S=>(S&&lG(S),typeof r=="number"&&r>0?dG(S,r,l):S))}function rG(t,c){let{environment:e,release:i,dist:n,maxValueLength:a=250}=c;"environment"in t||(t.environment="environment"in c?e:Lc),t.release===void 0&&i!==void 0&&(t.release=i),t.dist===void 0&&n!==void 0&&(t.dist=n),t.message&&(t.message=ge(t.message,a));let r=t.exception&&t.exception.values&&t.exception.values[0];r&&r.value&&(r.value=ge(r.value,a));let l=t.request;l&&l.url&&(l.url=ge(l.url,a))}var iN=new WeakMap;function oG(t,c){let e=e2._sentryDebugIds;if(!e)return;let i,n=iN.get(c);n?i=n:(i=new Map,iN.set(c,i));let a=Object.keys(e).reduce((r,l)=>{let f,m=i.get(l);m?f=m:(f=c(l),i.set(l,f));for(let h=f.length-1;h>=0;h--){let g=f[h];if(g.filename){r[g.filename]=e[l];break}}return r},{});
762try{t.exception.values.forEach(r=>{r.stacktrace.frames.forEach(l=>{l.filename&&(l.debug_id=a[l.filename])})})}catch(r){}}function lG(t){let c={};try{t.exception.values.forEach(i=>{i.stacktrace.frames.forEach(n=>{n.debug_id&&(n.abs_path?c[n.abs_path]=n.debug_id:n.filename&&(c[n.filename]=n.debug_id),delete n.debug_id)})})}catch(i){}if(Object.keys(c).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let e=t.debug_meta.images;Object.keys(c).forEach(i=>{e.push({type:"sourcemap",code_file:i,debug_id:c[i]})})}function fG(t,c){c.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...c])}function dG(t,c,e){if(!t)return null;let i=E(E(E(E(E({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(n=>E(E({},n),n.data&&{data:O8(n.data,c,e)}))}),t.user&&{user:O8(t.user,c,e)}),t.contexts&&{contexts:O8(t.contexts,c,e)}),t.extra&&{extra:O8(t.extra,c,e)});return t.contexts&&t.contexts.trace&&i.contexts&&(i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=O8(t.contexts.trace.data,c,e))),t.spans&&(i.spans=t.spans.map(n=>{let a=Mc(n).data;return a&&(n.data=O8(a,c,e)),n})),i}function mG(t,c){if(!c)return t;let e=t?t.clone():new Me;return e.update(c),e}function aN(t){if(t)return uG(t)?{captureContext:t}:pG(t)?{captureContext:t}:t}function uG(t){return t instanceof Me||typeof t=="function"}var hG=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function pG(t){return Object.keys(t).some(c=>hG.includes(c))}function nf(t,c){return k3().captureException(t,aN(c))}function $a(t,c){return k3().captureEvent(t,c)}function en(t){k3().configureScope(t)}function ve(t,c){k3().addBreadcrumb(t,c)}function af(...t){let c=k3();if(t.length===2){let[e,i]=t;return e?c.withScope(()=>(c.getStackTop().scope=e,i(e))):c.withScope(i)}return c.withScope(t[0])}function X4(){return k3().getClient()}function m5(){return k3().getScope()}function ja(t){let c=X4(),e=cn(),i=m5(),{release:n,environment:a=Lc}=c&&c.getOptions()||{},{userAgent:r}=e2.navigator||{},l=ef(E(E({release:n,environment:a,user:i.getUser()||e.getUser()},r&&{userAgent:r}),t)),f=e.getSession();return f&&f.status==="ok"&&I8(f,{status:"exited"}),sf(),e.setSession(l),i.setSession(l),l}function sf(){let t=cn(),c=m5(),e=c.getSession()||t.getSession();e&&cf(e),rN(),t.setSession(),c.setSession()}function rN(){let t=cn(),c=m5(),e=X4(),i=c.getSession()||t.getSession();i&&e&&e.captureSession&&e.captureSession(i)}function Wa(t=!1){if(t){sf();return}rN()}function rf(t){return t.transaction}function nL(t,c,e){let i=c.getOptions(),{publicKey:n}=c.getDsn()||{},{segment:a}=e&&e.getUser()||{},r=N3({environment:i.environment||Lc,release:i.release,user_segment:a,public_key:n,trace_id:t});return c.emit&&c.emit("createDsc",r),r}function oN(t){let c=X4();if(!c)return{};let e=nL(Mc(t).trace_id||"",c,m5()),i=rf(t);if(!i)return e;let n=i&&i._frozenDynamicSamplingContext;if(n)return n;let{sampleRate:a,source:r}=i.metadata;a!=null&&(e.sample_rate=`${a}`);let l=Mc(i);return r&&r!=="url"&&(e.transaction=l.description),e.sampled=String(tN(i)),c.emit&&c.emit("createDsc",e),e}function tf(t,c){let{fingerprint:e,span:i,breadcrumbs:n,sdkProcessingMetadata:a}=c;gG(t,c),i&&MG(t,i),vG(t,e),zG(t,n),LG(t,a)}function iL(t,c){let{extra:e,tags:i,user:n,contexts:a,level:r,sdkProcessingMetadata:l,breadcrumbs:f,fingerprint:m,eventProcessors:h,attachments:g,propagationContext:v,transactionName:M,span:b}=c;Ga(t,"extra",e),Ga(t,"tags",i),Ga(t,"user",n),Ga(t,"contexts",a),Ga(t,"sdkProcessingMetadata",l),r&&(t.level=r),M&&(t.transactionName=M),b&&(t.span=b),f.length&&(t.breadcrumbs=[...t.breadcrumbs,...f]),m.length&&(t.fingerprint=[...t.fingerprint,...m]),h.length&&(t.eventProcessors=[...t.eventProcessors,...h]),g.length&&(t.attachments=[...t.attachments,...g]),t.propagationContext=E(E({},t.propagationContext),v)}function Ga(t,c,e){if(e&&Object.keys(e).length){t[c]=E({},t[c]);for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[c][i]=e[i])}}function gG(t,c){let{extra:e,tags:i,user:n,contexts:a,level:r,transactionName:l}=c,f=N3(e);f&&Object.keys(f).length&&(t.extra=E(E({},f),t.extra));let m=N3(i);m&&Object.keys(m).length&&(t.tags=E(E({},m),t.tags));let h=N3(n);h&&Object.keys(h).length&&(t.user=E(E({},h),t.user));let g=N3(a);g&&Object.keys(g).length&&(t.contexts=E(E({},g),t.contexts)),r&&(t.level=r),l&&(t.transaction=l)}function zG(t,c){let e=[...t.breadcrumbs||[],...c];t.breadcrumbs=e.length?e:void 0}function LG(t,c){t.sdkProcessingMetadata=E(E({},t.sdkProcessingMetadata),c)}function MG(t,c){t.contexts=E({trace:cN(c)},t.contexts);let e=rf(c);if(e){t.sdkProcessingMetadata=E({dynamicSamplingContext:oN(c)},t.sdkProcessingMetadata);let i=Mc(e).description;i&&(t.tags=E({transaction:i},t.tags))}}function vG(t,c){t.fingerprint=t.fingerprint?Pa(t.fingerprint):[],c&&(t.fingerprint=t.fingerprint.concat(c)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}var _G=100,aL,Me=class t{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=lN()}static clone(c){return c?c.clone():new t}clone(){let c=new t;return c._breadcrumbs=[...this._breadcrumbs],c._tags=E({},this._tags),c._extra=E({},this._extra),c._contexts=E({},this._contexts),c._user=this._user,c._level=this._level,c._span=this._span,c._session=this._session,c._transactionName=this._transactionName,c._fingerprint=this._fingerprint,c._eventProcessors=[...this._eventProcessors],c._requestSession=this._requestSession,c._attachments=[...this._attachments],c._sdkProcessingMetadata=E({},this._sdkProcessingMetadata),c._propagationContext=E({},this._propagationContext),c._client=this._client,c}setClient(c){this._client=c}getClient(){return this._client}addScopeListener(c){this._scopeListeners.push(c)}addEventProcessor(c){return this._eventProcessors.push(c),this}setUser(c){return this._user=c||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&I8(this._session,{user:c}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(c){return this._requestSession=c,this}setTags(c){return this._tags=E(E({},this._tags),c),this._notifyScopeListeners(),this}setTag(c,e){return this._tags=m1(E({},this._tags),{[c]:e}),this._notifyScopeListeners(),this}setExtras(c){return this._extra=E(E({},this._extra),c),this._notifyScopeListeners(),this}setExtra(c,e){return this._extra=m1(E({},this._extra),{[c]:e}),this._notifyScopeListeners(),this}setFingerprint(c){return this._fingerprint=c,this._notifyScopeListeners(),this}setLevel(c){return this._level=c,this._notifyScopeListeners(),this}setTransactionName(c){return this._transactionName=c,this._notifyScopeListeners(),this}setContext(c,e){return e===null?delete this._contexts[c]:this._contexts[c]=e,this._notifyScopeListeners(),this}setSpan(c){return this._span=c,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let c=this._span;return c&&c.transaction}setSession(c){return c?this._session=c:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}
762update(c){if(!c)return this;let e=typeof c=="function"?c(this):c;if(e instanceof t){let i=e.getScopeData();this._tags=E(E({},this._tags),i.tags),this._extra=E(E({},this._extra),i.extra),this._contexts=E(E({},this._contexts),i.contexts),i.user&&Object.keys(i.user).length&&(this._user=i.user),i.level&&(this._level=i.level),i.fingerprint.length&&(this._fingerprint=i.fingerprint),e.getRequestSession()&&(this._requestSession=e.getRequestSession()),i.propagationContext&&(this._propagationContext=i.propagationContext)}else if(T8(e)){let i=c;this._tags=E(E({},this._tags),i.tags),this._extra=E(E({},this._extra),i.extra),this._contexts=E(E({},this._contexts),i.contexts),i.user&&(this._user=i.user),i.level&&(this._level=i.level),i.fingerprint&&(this._fingerprint=i.fingerprint),i.requestSession&&(this._requestSession=i.requestSession),i.propagationContext&&(this._propagationContext=i.propagationContext)}return 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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=lN(),this}addBreadcrumb(c,e){let i=typeof e=="number"?e:_G;if(i<=0)return this;let n=E({timestamp:Le()},c),a=this._breadcrumbs;return a.push(n),this._breadcrumbs=a.length>i?a.slice(-i):a,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(c){return this._attachments.push(c),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:c,_attachments:e,_contexts:i,_tags:n,_extra:a,_user:r,_level:l,_fingerprint:f,_eventProcessors:m,_propagationContext:h,_sdkProcessingMetadata:g,_transactionName:v,_span:M}=this;return{breadcrumbs:c,attachments:e,contexts:i,tags:n,extra:a,user:r,level:l,fingerprint:f||[],eventProcessors:m,propagationContext:h,sdkProcessingMetadata:g,transactionName:v,span:M}}applyToEvent(c,e={},i=[]){tf(c,this.getScopeData());let n=[...i,...Ua(),...this._eventProcessors];return Ji(n,c,e)}setSDKProcessingMetadata(c){return this._sdkProcessingMetadata=E(E({},this._sdkProcessingMetadata),c),this}setPropagationContext(c){return this._propagationContext=c,this}getPropagationContext(){return this._propagationContext}captureException(c,e){let i=e&&e.event_id?e.event_id:y0();if(!this._client)return w1.warn("No client configured on scope - will not capture exception!"),i;let n=new Error("Sentry syntheticException");return this._client.captureException(c,m1(E({originalException:c,syntheticException:n},e),{event_id:i}),this),i}captureMessage(c,e,i){let n=i&&i.event_id?i.event_id:y0();if(!this._client)return w1.warn("No client configured on scope - will not capture message!"),n;let a=new Error(c);return this._client.captureMessage(c,e,m1(E({originalException:c,syntheticException:a},i),{event_id:n}),this),n}captureEvent(c,e){let i=e&&e.event_id?e.event_id:y0();return this._client?(this._client.captureEvent(c,m1(E({},e),{event_id:i}),this),i):(w1.warn("No client configured on scope - will not capture event!"),i)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(c=>{c(this)}),this._notifyingListeners=!1)}};function sN(){return aL||(aL=new Me),aL}function lN(){return{traceId:y0(),spanId:y0().substring(16)}}var tn="7.119.1";var fN=parseFloat(tn),CG=100,qa=class{constructor(c,e,i,n=fN){this._version=n;let a;e?a=e:(a=new Me,a.setClient(c));let r;i?r=i:(r=new Me,r.setClient(c)),this._stack=[{scope:a}],c&&this.bindClient(c),this._isolationScope=r}isOlderThan(c){return this._version<c}bindClient(c){let e=this.getStackTop();e.client=c,e.scope.setClient(c),c&&c.setupIntegrations&&c.setupIntegrations()}pushScope(){let c=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:c}),c}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(c){let e=this.pushScope(),i;try{i=c(e)}catch(n){throw this.popScope(),n}return he(i)?i.then(n=>(this.popScope(),n),n=>{throw this.popScope(),n}):(this.popScope(),i)}
762getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(c,e){let i=this._lastEventId=e&&e.event_id?e.event_id:y0(),n=new Error("Sentry syntheticException");return this.getScope().captureException(c,m1(E({originalException:c,syntheticException:n},e),{event_id:i})),i}captureMessage(c,e,i){let n=this._lastEventId=i&&i.event_id?i.event_id:y0(),a=new Error(c);return this.getScope().captureMessage(c,e,m1(E({originalException:c,syntheticException:a},i),{event_id:n})),n}captureEvent(c,e){let i=e&&e.event_id?e.event_id:y0();return c.type||(this._lastEventId=i),this.getScope().captureEvent(c,m1(E({},e),{event_id:i})),i}lastEventId(){return this._lastEventId}addBreadcrumb(c,e){let{scope:i,client:n}=this.getStackTop();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:r=CG}=n.getOptions&&n.getOptions()||{};if(r<=0)return;let l=Le(),f=E({timestamp:l},c),m=a?zc(()=>a(f,e)):f;m!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",m,e),i.addBreadcrumb(m,r))}setUser(c){this.getScope().setUser(c),this.getIsolationScope().setUser(c)}setTags(c){this.getScope().setTags(c),this.getIsolationScope().setTags(c)}setExtras(c){this.getScope().setExtras(c),this.getIsolationScope().setExtras(c)}setTag(c,e){this.getScope().setTag(c,e),this.getIsolationScope().setTag(c,e)}setExtra(c,e){this.getScope().setExtra(c,e),this.getIsolationScope().setExtra(c,e)}setContext(c,e){this.getScope().setContext(c,e),this.getIsolationScope().setContext(c,e)}configureScope(c){let{scope:e,client:i}=this.getStackTop();i&&c(e)}run(c){let e=sL(this);try{c(this)}finally{sL(e)}}getIntegration(c){let e=this.getClient();if(!e)return null;try{return e.getIntegration(c)}catch(i){return B2&&w1.warn(`Cannot retrieve integration ${c.id} from the current Hub`),null}}startTransaction(c,e){let i=this._callExtensionMethod("startTransaction",c,e);return B2&&!i&&(this.getClient()?w1.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': 763Sentry.addTracingExtensions(); 764Sentry.init({...}); 765`):w1.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),i}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(c=!1){if(c)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,i=e.getSession();i&&cf(i),this._sendSessionUpdate(),e.setSession()}startSession(c){let{scope:e,client:i}=this.getStackTop(),{release:n,environment:a=Lc}=i&&i.getOptions()||{},{userAgent:r}=e2.navigator||{},l=ef(E(E({release:n,environment:a,user:e.getUser()},r&&{userAgent:r}),c)),f=e.getSession&&e.getSession();return f&&f.status==="ok"&&I8(f,{status:"exited"}),this.endSession(),e.setSession(l),l}shouldSendDefaultPii(){let c=this.getClient(),e=c&&c.getOptions();return!!(e&&e.sendDefaultPii)}_sendSessionUpdate(){let{scope:c,client:e}=this.getStackTop(),i=c.getSession();i&&e&&e.captureSession&&e.captureSession(i)}_callExtensionMethod(c,...e){let n=lf().__SENTRY__;if(n&&n.extensions&&typeof n.extensions[c]=="function")return n.extensions[c].apply(this,e);B2&&w1.warn(`Extension method ${c} couldn't be found, doing nothing.`)}};function lf(){return e2.__SENTRY__=e2.__SENTRY__||{extensions:{},hub:void 0},e2}function sL(t){let c=lf(),e=of(c);return dN(c,t),e}function k3(){let t=lf();if(t.__SENTRY__&&t.__SENTRY__.acs){let c=t.__SENTRY__.acs.getCurrentHub();if(c)return c}return yG(t)}function cn(){return k3().getIsolationScope()}function yG(t=lf()){return(!bG(t)||of(t).isOlderThan(fN))&&dN(t,new qa),of(t)}function bG(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function of(t){return Oa("hub",()=>new qa,t)}function dN(t,c){if(!t)return!1;let e=t.__SENTRY__=t.__SENTRY__||{};return e.hub=c,!0}function xG(t,c){return c&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||c.name,t.sdk.version=t.sdk.version||c.version,t.sdk.integrations=[...t.sdk.integrations||[],...c.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...c.packages||[]]),t}function mN(t,c,e,i){let n=Jl(e),a=E(E({sent_at:new Date().toISOString()},n&&{sdk:n}),!!i&&c&&{dsn:Q6(c)}),r="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return e8(a,[r])}function uN(t,c,e,i){let n=Jl(e),a=t.type&&t.type!=="replay_event"?t.type:"event";xG(t,e&&e.sdk);let r=Xz(t,n,i,c);return delete t.sdkProcessingMetadata,e8(r,[[{type:a},t]])}var wG="7";function SG(t){let c=t.protocol?`${t.protocol}:`:"",e=t.port?`:${t.port}`:"";return`${c}//${t.host}${e}${t.path?`/${t.path}`:""}/api/`}function NG(t){return`${SG(t)}${t.projectId}/envelope/`}function kG(t,c){return kz(E({sentry_key:t.publicKey,sentry_version:wG},c&&{sentry_client:`${c.name}/${c.version}`}))}function hN(t,c={}){let e=typeof c=="string"?c:c.tunnel,i=typeof c=="string"||!c._metadata?void 0:c._metadata.sdk;return e||`${NG(t)}?${kG(t,i)}`}var pN=[];function AG(t){let c={};
765return t.forEach(e=>{let{name:i}=e,n=c[i];n&&!n.isDefaultInstance&&e.isDefaultInstance||(c[i]=e)}),Object.keys(c).map(e=>c[e])}function rL(t){let c=t.defaultIntegrations||[],e=t.integrations;c.forEach(r=>{r.isDefaultInstance=!0});let i;Array.isArray(e)?i=[...c,...e]:typeof e=="function"?i=Pa(e(c)):i=c;let n=AG(i),a=TG(n,r=>r.name==="Debug");if(a!==-1){let[r]=n.splice(a,1);n.push(r)}return n}function gN(t,c){let e={};return c.forEach(i=>{i&&lL(t,i,e)}),e}function oL(t,c){for(let e of c)e&&e.afterAllSetup&&e.afterAllSetup(t)}function lL(t,c,e){if(e[c.name]){B2&&w1.log(`Integration skipped because it was already installed: ${c.name}`);return}if(e[c.name]=c,pN.indexOf(c.name)===-1&&(c.setupOnce(tL,k3),pN.push(c.name)),c.setup&&typeof c.setup=="function"&&c.setup(t),t.on&&typeof c.preprocessEvent=="function"){let i=c.preprocessEvent.bind(c);t.on("preprocessEvent",(n,a)=>i(n,a,t))}if(t.addEventProcessor&&typeof c.processEvent=="function"){let i=c.processEvent.bind(c),n=Object.assign((a,r)=>i(a,r,t),{id:c.name});t.addEventProcessor(n)}B2&&w1.log(`Integration installed: ${c.name}`)}function TG(t,c){for(let e=0;e<t.length;e++)if(c(t[e])===!0)return e;return-1}function b0(t,c){return Object.assign(function(...i){return c(...i)},{id:t})}function zN(t){let c="";for(let e of t){let i=Object.entries(e.tags),n=i.length>0?`|#${i.map(([a,r])=>`${a}:${r}`).join(",")}`:"";c+=`${e.name}@${e.unit}:${e.metric}|${e.metricType}${n}|T${e.timestamp} 766`}return c}function LN(t,c,e,i){let n={sent_at:new Date().toISOString()};e&&e.sdk&&(n.sdk={name:e.sdk.name,version:e.sdk.version}),i&&c&&(n.dsn=Q6(c));let a=DG(t);return e8(n,[a])}function DG(t){let c=zN(t);return[{type:"statsd",length:c.length},c]}var MN="Not capturing exception because it's already been captured.",Ya=class{constructor(c){if(this._options=c,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],c.dsn?this._dsn=Fl(c.dsn):B2&&w1.warn("No DSN provided, client will not send events."),this._dsn){let e=hN(this._dsn,c);this._transport=c.transport(m1(E({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},c.transportOptions),{url:e}))}}captureException(c,e,i){if($l(c)){B2&&w1.log(MN);return}let n=e&&e.event_id;return this._process(this.eventFromException(c,e).then(a=>this._captureEvent(a,e,i)).then(a=>{n=a})),n}captureMessage(c,e,i,n){let a=i&&i.event_id,r=qi(c)?c:String(c),l=I7(c)?this.eventFromMessage(r,e,i):this.eventFromException(c,i);return this._process(l.then(f=>this._captureEvent(f,i,n)).then(f=>{a=f})),a}captureEvent(c,e,i){if(e&&e.originalException&&$l(e.originalException)){B2&&w1.log(MN);return}let n=e&&e.event_id,r=(c.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(c,e,r||i).then(l=>{n=l})),n}captureSession(c){typeof c.release!="string"?B2&&w1.warn("Discarded session because of missing or non-string release"):(this.sendSession(c),I8(c,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(c){let e=this._transport;return e?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(c).then(i=>e.flush(c).then(n=>i&&n))):E8(!0)}close(c){return this.flush(c).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(c){this._eventProcessors.push(c)}setupIntegrations(c){(c&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(c){return this.getIntegrationByName(c)}getIntegrationByName(c){return this._integrations[c]}getIntegration(c){try{return this._integrations[c.id]||null}catch(e){return B2&&w1.warn(`Cannot retrieve integration ${c.id} from the current Client`),null}}addIntegration(c){let e=this._integrations[c.name];lL(this,c,this._integrations),e||oL(this,[c])}sendEvent(c,e={}
766){this.emit("beforeSendEvent",c,e);let i=uN(c,this._dsn,this._options._metadata,this._options.tunnel);for(let a of e.attachments||[])i=Yz(i,Kz(a,this._options.transportOptions&&this._options.transportOptions.textEncoder));let n=this._sendEnvelope(i);n&&n.then(a=>this.emit("afterSendEvent",c,a),null)}sendSession(c){let e=mN(c,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(c,e,i){if(this._options.sendClientReports){let n=typeof i=="number"?i:1,a=`${c}:${e}`;B2&&w1.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}captureAggregateMetrics(c){B2&&w1.log(`Flushing aggregated metrics, number of metrics: ${c.length}`);let e=LN(c,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}on(c,e){this._hooks[c]||(this._hooks[c]=[]),this._hooks[c].push(e)}emit(c,...e){this._hooks[c]&&this._hooks[c].forEach(i=>i(...e))}_setupIntegrations(){let{integrations:c}=this._options;this._integrations=gN(this,c),oL(this,c),this._integrationsInitialized=!0}_updateSessionFromEvent(c,e){let i=!1,n=!1,a=e.exception&&e.exception.values;if(a){n=!0;for(let f of a){let m=f.mechanism;if(m&&m.handled===!1){i=!0;break}}}let r=c.status==="ok";(r&&c.errors===0||r&&i)&&(I8(c,m1(E({},i&&{status:"crashed"}),{errors:c.errors||Number(n||i)})),this.captureSession(c))}_isClientDoneProcessing(c){return new S6(e=>{let i=0,n=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),e(!0)):(i+=n,c&&i>=c&&(clearInterval(a),e(!1)))},n)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(c,e,i,n=cn()){let a=this.getOptions(),r=Object.keys(this._integrations);return!e.integrations&&r.length>0&&(e.integrations=r),this.emit("preprocessEvent",c,e),nN(a,c,e,i,this,n).then(l=>{if(l===null)return l;let f=E(E({},n.getPropagationContext()),i?i.getPropagationContext():void 0);if(!(l.contexts&&l.contexts.trace)&&f){let{traceId:h,spanId:g,parentSpanId:v,dsc:M}=f;l.contexts=E({trace:{trace_id:h,span_id:g,parent_span_id:v}},l.contexts);let b=M||nL(h,this,i);l.sdkProcessingMetadata=E({dynamicSamplingContext:b},l.sdkProcessingMetadata)}return l})}_captureEvent(c,e={},i){return this._processEvent(c,e,i).then(n=>n.event_id,n=>{if(B2){let a=n;a.logLevel==="log"?w1.log(a.message):w1.warn(a)}})}_processEvent(c,e,i){let n=this.getOptions(),{sampleRate:a}=n,r=_N(c),l=vN(c),f=c.type||"error",m=`before send for type \`${f}\``;if(l&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",c),H7(new o3(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));let h=f==="replay_event"?"replay":f,v=(c.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(c,e,i,v).then(M=>{if(M===null)throw this.recordDroppedEvent("event_processor",h,c),new o3("An event processor returned `null`, will not send event.","log");if(e.data&&e.data.__sentry__===!0)return M;let C=EG(n,M,e);return OG(C,m)}).then(M=>{if(M===null){if(this.recordDroppedEvent("before_send",h,c),r){let P=1+(c.spans||[]).length;this.recordDroppedEvent("before_send","span",P)}throw new o3(`${m} returned \`null\`, will not send event.`,"log")}let b=i&&i.getSession();if(!r&&b&&this._updateSessionFromEvent(b,M),r){let S=M.sdkProcessingMetadata&&M.sdkProcessingMetadata.spanCountBeforeProcessing||0,P=M.spans?M.spans.length:0,V=S-P;V>0&&this.recordDroppedEvent("before_send","span",V)}let C=M.transaction_info;if(r&&C&&M.transaction!==c.transaction){let S="custom";M.transaction_info=m1(E({},C),{source:S})}return this.sendEvent(M,e),M}).then(null,M=>{throw M instanceof o3?M:(this.captureException(M,{data:{__sentry__:!0},originalException:M}),new o3(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 767Reason: ${M}`))})}_process(c){this._numProcessing++,c.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_sendEnvelope(c){if(this.emit("beforeEnvelope",c),this._isEnabled()&&this._transport)return this._transport.send(c).then(null,e=>{B2&&w1.error("Error while sending event:",e)});B2&&w1.error("Transport disabled")}_clearOutcomes(){let c=this._outcomes;return this._outcomes={},Object.keys(c).map(e=>{let[i,n]=e.split(":");return{reason:i,category:n,quantity:c[e]}})}};function OG(t,c){let e=`${c} must return \`null\` or a valid event.`;if(he(t))return t.then(i=>{if(!T8(i)&&i!==null)throw new o3(e);return i},i=>{throw new o3(`${c} rejected with ${i}`)});if(!T8(t)&&t!==null)throw new o3(e);return t}function EG(t,c,e){let{beforeSend:i,beforeSendTransaction:n}=t;if(vN(c)&&i)return i(c,e);if(_N(c)&&n){if(c.spans){let a=c.spans.length;c.sdkProcessingMetadata=m1(E({},c.sdkProcessingMetadata),{spanCountBeforeProcessing:a})}return n(c,e)}return c}function vN(t){return t.type===void 0}function _N(t){return t.type==="transaction"}function fL(t,c){c.debug===!0&&(B2?w1.enable():zc(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),m5().update(c.initialScope);let i=new t(c);dL(i),IG(i)}function dL(t){let e=k3().getStackTop();
767e.client=t,e.scope.setClient(t)}function IG(t){t.init?t.init():t.setupIntegrations&&t.setupIntegrations()}var PG=30;function nn(t,c,e=Wz(t.bufferSize||PG)){let i={},n=r=>e.drain(r);function a(r){let l=[];if(Xl(r,(g,v)=>{let M=Ql(v);if(Jz(i,M)){let b=CN(g,v);t.recordDroppedEvent("ratelimit_backoff",M,b)}else l.push(g)}),l.length===0)return E8();let f=e8(r[0],l),m=g=>{Xl(f,(v,M)=>{let b=CN(v,M);t.recordDroppedEvent(g,Ql(M),b)})},h=()=>c({body:Zz(f,t.textEncoder)}).then(g=>(g.statusCode!==void 0&&(g.statusCode<200||g.statusCode>=300)&&B2&&w1.warn(`Sentry responded with status code ${g.statusCode} to sent event.`),i=eL(i,g),g),g=>{throw m("network_error"),g});return e.add(h).then(g=>g,g=>{if(g instanceof o3)return B2&&w1.error("Skipped sending event because buffer is full."),m("queue_overflow"),E8();throw g})}return a.__sentry__baseTransport__=!0,{send:a,flush:n}}function CN(t,c){if(!(c!=="event"&&c!=="transaction"))return Array.isArray(t)?t[1]:void 0}function mL(t,c,e=[c],i="npm"){let n=t._metadata||{};n.sdk||(n.sdk={name:`sentry.javascript.${c}`,packages:e.map(a=>({name:`${i}:@sentry/${a}`,version:tn})),version:tn}),t._metadata=n}var RG=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],FG=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],yN="InboundFilters",VG=(t={})=>({name:yN,setupOnce(){},processEvent(c,e,i){let n=i.getOptions(),a=HG(t,n);return BG(c,a)?null:c}}),Za=VG,df=b0(yN,Za);function HG(t={},c={}){return{allowUrls:[...t.allowUrls||[],...c.allowUrls||[]],denyUrls:[...t.denyUrls||[],...c.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...c.ignoreErrors||[],...t.disableErrorDefaults?[]:RG],ignoreTransactions:[...t.ignoreTransactions||[],...c.ignoreTransactions||[],...t.disableTransactionDefaults?[]:FG],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function BG(t,c){return c.ignoreInternal&&qG(t)?(B2&&w1.warn(`Event dropped due to being internal Sentry Error. 768Event: ${D8(t)}`),!0):UG(t,c.ignoreErrors)?(B2&&w1.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 769Event: ${D8(t)}`),!0):$G(t,c.ignoreTransactions)?(B2&&w1.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 770Event: ${D8(t)}`),!0):jG(t,c.denyUrls)?(B2&&w1.warn(`Event dropped due to being matched by \`denyUrls\` option. 771Event: ${D8(t)}. 772Url: ${ff(t)}`),!0):WG(t,c.allowUrls)?!1:(B2&&w1.warn(`Event dropped due to not being matched by \`allowUrls\` option. 773Event: ${D8(t)}. 774Url: ${ff(t)}`),!0)}function UG(t,c){return t.type||!c||!c.length?!1:GG(t).some(e=>Yi(e,c))}function $G(t,c){if(t.type!=="transaction"||!c||!c.length)return!1;let e=t.transaction;return e?Yi(e,c):!1}function jG(t,c){if(!c||!c.length)return!1;let e=ff(t);return e?Yi(e,c):!1}function WG(t,c){if(!c||!c.length)return!0;let e=ff(t);return e?Yi(e,c):!0}function GG(t){let c=[];t.message&&c.push(t.message);let e;try{e=t.exception.values[t.exception.values.length-1]}catch(i){}return e&&e.value&&(c.push(e.value),e.type&&c.push(`${e.type}: ${e.value}`)),B2&&c.length===0&&w1.error(`Could not extract message for event ${D8(t)}`),c}function qG(t){try{return t.exception.values[0].type==="SentryError"}catch(c){}return!1}function YG(t=[]){for(let c=t.length-1;c>=0;c--){let e=t[c];if(e&&e.filename!=="<anonymous>"&&e.filename!=="[native code]")return e.filename||null}return null}function ff(t){try{let c;try{c=t.exception.values[0].stacktrace.frames}catch(e){}return c?YG(c):null}catch(c){return B2&&w1.error(`Cannot extract url for event ${D8(t)}`),null}}var bN,wN="FunctionToString",xN=new WeakMap,ZG=()=>({name:wN,setupOnce(){bN=Function.prototype.toString;try{Function.prototype.toString=function(...t){let c=F7(this),e=xN.has(X4())&&c!==void 0?c:this;return bN.apply(e,t)}}catch(t){}},setup(t){xN.set(t,!0)}}),Ka=ZG,mf=b0(wN,Ka);var KG="cause",XG=5,SN="LinkedErrors",QG=(t={})=>{let c=t.limit||XG,e=t.key||KG;return{name:SN,setupOnce(){},preprocessEvent(i,n,a){let r=a.getOptions();Da(cL,r.stackParser,r.maxValueLength,e,c,i,n)}}},JG=QG,NN=b0(SN,JG);var uL={};Hr(uL,{FunctionToString:()=>mf,InboundFilters:()=>df,LinkedErrors:()=>NN});var kN=uL;var w2=e2,hL=0;function pL(){return hL>0}function gq(){hL++,setTimeout(()=>{hL--})}function vc(t,c={},e){if(typeof t!="function")return t;try{let n=t.__sentry_wrapped__;if(n)return typeof n=="function"?n:t;if(F7(t))return t}catch(n){return t}let i=function(){let n=Array.prototype.slice.call(arguments);try{e&&typeof e=="function"&&e.apply(this,arguments);let a=n.map(r=>vc(r,c));return t.apply(this,a)}catch(a){throw gq(),af(r=>{r.addEventProcessor(l=>(c.mechanism&&(Ki(l,void 0,void 0),f5(l,c.mechanism)),l.extra=m1(E({},l.extra),{arguments:n}),l)),nf(a)}),a}};try{for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}catch(n){}Vl(i,t),l5(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get(){return t.name}})}catch(n){}return i}var A3=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function LL(t,c){let e=ML(t,c),i={type:c&&c.name,value:vq(c)};return e.length&&(i.stacktrace={frames:e}),i.type===void 0&&i.value===""&&(i.value="Unrecoverable error caught"),i}function zq(t,c,e,i){let n=X4(),a=n&&n.getOptions().normalizeDepth,r={exception:{values:[{type:P7(c)?c.constructor.name:i?"UnhandledRejection":"Error",value:_q(c,{isUnhandledRejection:i})}]},extra:{__serialized__:Kl(c,a)}};if(e){let l=ML(t,e);l.length&&(r.exception.values[0].stacktrace={frames:l})}return r}function gL(t,c){return{exception:{values:[LL(t,c)]}}}function ML(t,c){let e=c.stacktrace||c.stack||"",i=Mq(c);try{return t(e,i)}catch(n){}return[]}var Lq=/Minified React error #\d+;/i;function Mq(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Lq.test(t.message))return 1}return 0}function vq(t){let c=t&&t.message;return c?c.error&&typeof c.error.message=="string"?c.error.message:c:"No error message"}function AN(t,c,e,i){let n=e&&e.syntheticException||void 0,a=uf(t,c,n,i);return f5(a),a.level="error",e&&e.event_id&&(a.event_id=e.event_id),E8(a)}function TN(t,c,e="info",i,n){let a=i&&i.syntheticException||void 0,r=zL(t,c,a,n);return r.level=e,i&&i.event_id&&(r.event_id=i.event_id),E8(r)}function uf(t,c,e,i,n){let a;if(Gi(c)&&c.error)return gL(t,c.error);if(Il(c)||Mz(c)){let r=c;if("stack"in c)a=gL(t,c);else{let l=r.name||(Il(r)?"DOMError":"DOMException"),f=r.message?`${l}: ${r.message}`:l;a=zL(t,f,e,i),Ki(a,f)}return"code"in r&&(a.tags=m1(E({},a.tags),{"DOMException.code":`${r.code}`})),a}return Aa(c)?gL(t,c):T8(c)||P7(c)?(a=zq(t,c,e,n),f5(a,{synthetic:!0}),a):(a=zL(t,c,e,i),Ki(a,`${c}`,void 0),f5(a,{synthetic:!0}),a)}function zL(t,c,e,i){let n={};if(i&&e){let a=ML(t,e);a.length&&(n.exception={values:[{value:c,stacktrace:{frames:a}}]})}
774if(qi(c)){let{__sentry_template_string__:a,__sentry_template_values__:r}=c;return n.logentry={message:a,params:r},n}return n.message=c,n}function _q(t,{isUnhandledRejection:c}){let e=Az(t),i=c?"promise rejection":"exception";return Gi(t)?`Event \`ErrorEvent\` captured as ${i} with message \`${t.message}\``:P7(t)?`Event \`${Cq(t)}\` (type=${t.type}) captured as ${i}`:`Object captured as ${i} with keys: ${e}`}function Cq(t){try{let c=Object.getPrototypeOf(t);return c?c.constructor.name:void 0}catch(c){}}function DN(t,{metadata:c,tunnel:e,dsn:i}){let n=E(E({event_id:t.event_id,sent_at:new Date().toISOString()},c&&c.sdk&&{sdk:{name:c.sdk.name,version:c.sdk.version}}),!!e&&!!i&&{dsn:Q6(i)}),a=yq(t);return e8(n,[a])}function yq(t){return[{type:"user_report"},t]}var hf=class extends Ya{constructor(c){let e=w2.SENTRY_SDK_SOURCE||jz();mL(c,"browser",["browser"],e),super(c),c.sendClientReports&&w2.document&&w2.document.addEventListener("visibilitychange",()=>{w2.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(c,e){return AN(this._options.stackParser,c,e,this._options.attachStacktrace)}eventFromMessage(c,e="info",i){return TN(this._options.stackParser,c,e,i,this._options.attachStacktrace)}captureUserFeedback(c){if(!this._isEnabled()){A3&&w1.warn("SDK not enabled, will not capture user feedback.");return}let e=DN(c,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(c,e,i){return c.platform=c.platform||"javascript",super._prepareEvent(c,e,i)}_flushOutcomes(){let c=this._clearOutcomes();if(c.length===0){A3&&w1.log("No outcomes to send");return}if(!this._dsn){A3&&w1.log("No dsn provided, will not send outcomes");return}A3&&w1.log("Sending outcomes:",c);let e=Qz(c,this._options.tunnel&&Q6(this._dsn));this._sendEnvelope(e)}};var Xa;function ON(){if(Xa)return Xa;if(Ra(w2.fetch))return Xa=w2.fetch.bind(w2);let t=w2.document,c=w2.fetch;if(t&&typeof t.createElement=="function")try{let e=t.createElement("iframe");e.hidden=!0,t.head.appendChild(e);let i=e.contentWindow;i&&i.fetch&&(c=i.fetch),t.head.removeChild(e)}catch(e){A3&&w1.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Xa=c.bind(w2)}function EN(){Xa=void 0}function IN(t,c=ON()){let e=0,i=0;function n(a){let r=a.body.length;e+=r,i++;let l=E({body:a.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:e<=6e4&&i<15},t.fetchOptions);try{return c(t.url,l).then(f=>(e-=r,i--,{statusCode:f.status,headers:{"x-sentry-rate-limits":f.headers.get("X-Sentry-Rate-Limits"),"retry-after":f.headers.get("Retry-After")}}))}catch(f){return EN(),e-=r,i--,H7(f)}}return nn(t,n)}var bq=4;function PN(t){function c(e){return new S6((i,n)=>{let a=new XMLHttpRequest;a.onerror=n,a.onreadystatechange=()=>{a.readyState===bq&&i({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",t.url);for(let r in t.headers)Object.prototype.hasOwnProperty.call(t.headers,r)&&a.setRequestHeader(r,t.headers[r]);a.send(e.body)})}return nn(t,c)}var pf="?";var xq=30,wq=40,Sq=50;function vL(t,c,e,i){let n={filename:t,function:c,in_app:!0};return e!==void 0&&(n.lineno=e),i!==void 0&&(n.colno=i),n}var Nq=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,kq=/\((\S*)(?::(\d+))(?::(\d+))\)/,Aq=t=>{let c=Nq.exec(t);if(c){if(c[2]&&c[2].indexOf("eval")===0){let a=kq.exec(c[2]);a&&(c[2]=a[1],c[3]=a[2],c[4]=a[3])}let[i,n]=FN(c[1]||pf,c[2]);return vL(n,i,c[3]?+c[3]:void 0,c[4]?+c[4]:void 0)}},Tq=[xq,Aq],Dq=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Oq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Eq=t=>{let c=Dq.exec(t);if(c){if(c[3]&&c[3].indexOf(" > eval")>-1){let a=Oq.exec(c[3]);a&&(c[1]=c[1]||"eval",c[3]=a[1],c[4]=a[2],c[5]="")}let i=c[3],n=c[1]||pf;return[n,i]=FN(n,i),vL(i,n,c[4]?+c[4]:void 0,c[5]?+c[5]:void 0)}},Iq=[Sq,Eq],Pq=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Rq=t=>{let c=Pq.exec(t);return c?vL(c[2],c[1]||pf,+c[3],c[4]?+c[4]:void 0):void 0},Fq=[wq,Rq];var Vq=[Tq,Iq,Fq],RN=Bl(...Vq),FN=(t,c)=>{let e=t.indexOf("safari-extension")!==-1,i=t.indexOf("safari-web-extension")!==-1;return e||i?[t.indexOf("@")!==-1?t.split("@")[0]:pf,e?`safari-extension:${c}`:`safari-web-extension:${c}`]:[t,c]};var gf=1024,VN="Breadcrumbs",Hq=(t={})=>{let c=E({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:VN,setupOnce(){},setup(e){c.console&&Oz($q(e)),c.dom&&Pz(Uq(e,c.dom)),c.xhr&&$z(jq(e)),c.fetch&&Hz(Wq(e)),c.history&&Va(Gq(e)),c.sentry&&e.on&&e.on("beforeSendEvent",Bq(e))}}},_L=Hq,HN=b0(VN,_L);function Bq(t){return function(e){X4()===t&&ve({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:D8(e)},{event:e})}}function Uq(t,c){return function(i){if(X4()!==t)return;let n,a,r=typeof c=="object"?c.serializeAttribute:void 0,l=typeof c=="object"&&typeof c.maxStringLength=="number"?c.maxStringLength:void 0;l&&l>gf&&(A3&&w1.warn(`\`dom.maxStringLength\` cannot exceed ${gf}, but a value of ${l} was configured. Sentry will use ${gf} instead.`),l=gf),typeof r=="string"&&(r=[r]);try{let m=i.event,h=qq(m)?m.target:m;n=Ea(h,{keyAttrs:r,maxStringLength:l}),a=Sz(h)}catch(m){n="<unknown>"}if(n.length===0)return;let f={category:`ui.${i.name}`,message:n};a&&(f.data={"ui.component_name":a}),ve(f,{event:i.event,name:i.name,global:i.global})}}function $q(t){return function(e){if(X4()!==t)return;let i={category:"console",data:{arguments:e.args,logger:"console"},level:Gz(e.level),message:Pl(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)i.message=`Assertion failed: ${Pl(e.args.slice(1)," ")||"console.assert"}`,i.data.arguments=e.args.slice(1);else return;ve(i,{input:e.args,level:e.level})}}function jq(t){return function(e){if(X4()!==t)return;let{startTimestamp:i,endTimestamp:n}=e,a=e.xhr[V7];if(!i||!n||!a)return;let{method:r,url:l,status_code:f,body:m}=a,h={method:r,url:l,status_code:f},g={xhr:e.xhr,input:m,startTimestamp:i,endTimestamp:n};ve({category:"xhr",data:h,type:"http"},g)}}function Wq(t){return function(e){if(X4()!==t)return;let{startTimestamp:i,endTimestamp:n}=e;
774if(n&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.error){let a=e.fetchData,r={data:e.error,input:e.args,startTimestamp:i,endTimestamp:n};ve({category:"fetch",data:a,level:"error",type:"http"},r)}else{let a=e.response,r=m1(E({},e.fetchData),{status_code:a&&a.status}),l={input:e.args,response:a,startTimestamp:i,endTimestamp:n};ve({category:"fetch",data:r,type:"http"},l)}}}function Gq(t){return function(e){if(X4()!==t)return;let i=e.from,n=e.to,a=Ha(w2.location.href),r=i?Ha(i):void 0,l=Ha(n);(!r||!r.path)&&(r=a),a.protocol===l.protocol&&a.host===l.host&&(n=l.relative),a.protocol===r.protocol&&a.host===r.host&&(i=r.relative),ve({category:"navigation",data:{from:i,to:n}})}}function qq(t){return!!t&&!!t.target}var $N="Dedupe",Yq=()=>{let t;return{name:$N,setupOnce(){},processEvent(c){if(c.type)return c;try{if(Zq(c,t))return A3&&w1.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return t=c}}},CL=Yq,jN=b0($N,CL);function Zq(t,c){return c?!!(Kq(t,c)||Xq(t,c)):!1}function Kq(t,c){let e=t.message,i=c.message;return!(!e&&!i||e&&!i||!e&&i||e!==i||!GN(t,c)||!WN(t,c))}function Xq(t,c){let e=BN(c),i=BN(t);return!(!e||!i||e.type!==i.type||e.value!==i.value||!GN(t,c)||!WN(t,c))}function WN(t,c){let e=UN(t),i=UN(c);if(!e&&!i)return!0;if(e&&!i||!e&&i||(e=e,i=i,i.length!==e.length))return!1;for(let n=0;n<i.length;n++){let a=i[n],r=e[n];if(a.filename!==r.filename||a.lineno!==r.lineno||a.colno!==r.colno||a.function!==r.function)return!1}return!0}function GN(t,c){let e=t.fingerprint,i=c.fingerprint;if(!e&&!i)return!0;if(e&&!i||!e&&i)return!1;e=e,i=i;try{return e.join("")===i.join("")}catch(n){return!1}}function BN(t){return t.exception&&t.exception.values&&t.exception.values[0]}function UN(t){let c=t.exception;if(c)try{return c.values[0].stacktrace.frames}catch(e){return}}var YN="GlobalHandlers",Qq=(t={})=>{let c=E({onerror:!0,onunhandledrejection:!0},t);return{name:YN,setupOnce(){Error.stackTraceLimit=50},setup(e){c.onerror&&(Jq(e),qN("onerror")),c.onunhandledrejection&&(eY(e),qN("onunhandledrejection"))}}},yL=Qq,ZN=b0(YN,yL);function Jq(t){Bz(c=>{let{stackParser:e,attachStacktrace:i}=XN();if(X4()!==t||pL())return;let{msg:n,url:a,line:r,column:l,error:f}=c,m=f===void 0&&X3(n)?iY(n,a,r,l):KN(uf(e,f||n,void 0,i,!1),a,r,l);m.level="error",$a(m,{originalException:f,mechanism:{handled:!1,type:"onerror"}})})}function eY(t){Uz(c=>{let{stackParser:e,attachStacktrace:i}=XN();if(X4()!==t||pL())return;let n=cY(c),a=I7(n)?tY(n):uf(e,n,void 0,i,!0);a.level="error",$a(a,{originalException:n,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function cY(t){if(I7(t))return t;let c=t;try{if("reason"in c)return c.reason;if("detail"in c&&"reason"in c.detail)return c.detail.reason}catch(e){}return t}function tY(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function iY(t,c,e,i){let n=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,a=Gi(t)?t.message:t,r="Error",l=a.match(n);return l&&(r=l[1],a=l[2]),KN({exception:{values:[{type:r,value:a}]}},c,e,i)}function KN(t,c,e,i){let n=t.exception=t.exception||{},a=n.values=n.values||[],r=a[0]=a[0]||{},l=r.stacktrace=r.stacktrace||{},f=l.frames=l.frames||[],m=isNaN(parseInt(i,10))?void 0:i,h=isNaN(parseInt(e,10))?void 0:e,g=X3(c)&&c.length>0?c:wz();return f.length===0&&f.push({colno:m,filename:g,function:"?",in_app:!0,lineno:h}),t}function qN(t){A3&&w1.log(`Global Handler attached: ${t}`)}function XN(){let t=X4();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var QN="HttpContext",nY=()=>({name:QN,setupOnce(){},preprocessEvent(t){if(!w2.navigator&&!w2.location&&!w2.document)return;let c=t.request&&t.request.url||w2.location&&w2.location.href,{referrer:e}=w2.document||{},{userAgent:i}=w2.navigator||{},n=E(E(E({},t.request&&t.request.headers),e&&{Referer:e}),i&&{"User-Agent":i}),a=m1(E(E({},t.request),c&&{url:c}),{headers:n});t.request=a}}),bL=nY,JN=b0(QN,bL);var aY="cause",sY=5,ek="LinkedErrors",rY=(t={})=>{let c=t.limit||sY,e=t.key||aY;return{name:ek,setupOnce(){},preprocessEvent(i,n,a){let r=a.getOptions();Da(LL,r.stackParser,r.maxValueLength,e,c,i,n)}}},xL=rY,ck=b0(ek,xL);var oY=["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"],ik="TryCatch",lY=(t={})=>{let c=E({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t);return{name:ik,setupOnce(){c.setTimeout&&T4(w2,"setTimeout",tk),c.setInterval&&T4(w2,"setInterval",tk),c.requestAnimationFrame&&T4(w2,"requestAnimationFrame",fY),c.XMLHttpRequest&&"XMLHttpRequest"in w2&&T4(XMLHttpRequest.prototype,"send",dY);let e=c.eventTarget;e&&(Array.isArray(e)?e:oY).forEach(mY)}}},zf=lY,wL=b0(ik,zf);function tk(t){return function(...c){let e=c[0];return c[0]=vc(e,{mechanism:{data:{function:J6(t)},handled:!1,type:"instrument"}}),t.apply(this,c)}}function fY(t){return function(c){return t.apply(this,[vc(c,{mechanism:{data:{function:"requestAnimationFrame",handler:J6(t)},handled:!1,type:"instrument"}})])}}function dY(t){return function(...c){let e=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(n=>
774{n in e&&typeof e[n]=="function"&&T4(e,n,function(a){let r={mechanism:{data:{function:n,handler:J6(a)},handled:!1,type:"instrument"}},l=F7(a);return l&&(r.mechanism.data.handler=J6(l)),vc(a,r)})}),t.apply(this,c)}}function mY(t){let c=w2,e=c[t]&&c[t].prototype;!e||!e.hasOwnProperty||!e.hasOwnProperty("addEventListener")||(T4(e,"addEventListener",function(i){return function(n,a,r){try{typeof a.handleEvent=="function"&&(a.handleEvent=vc(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:J6(a),target:t},handled:!1,type:"instrument"}}))}catch(l){}return i.apply(this,[n,vc(a,{mechanism:{data:{function:"addEventListener",handler:J6(a),target:t},handled:!1,type:"instrument"}}),r])}}),T4(e,"removeEventListener",function(i){return function(n,a,r){let l=a;try{let f=l&&l.__sentry_wrapped__;f&&i.call(this,n,f,r)}catch(f){}return i.call(this,n,l,r)}}))}var nk=[Za(),Ka(),zf(),_L(),yL(),xL(),CL(),bL()];function ak(t){return[...nk]}function uY(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=ak()),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),w2.SENTRY_RELEASE&&w2.SENTRY_RELEASE.id&&(t.release=w2.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);let c=m1(E({},t),{stackParser:Dz(t.stackParser||RN),integrations:rL(t),transport:t.transport||(jl()?IN:PN)});fL(hf,c),t.autoSessionTracking&&hY()}function hY(){if(typeof w2.document>"u"){A3&&w1.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}ja({ignoreDuration:!0}),Wa(),Va(({from:t,to:c})=>{t!==void 0&&t!==c&&(ja({ignoreDuration:!0}),Wa())})}var SL={};Hr(SL,{Breadcrumbs:()=>HN,Dedupe:()=>jN,GlobalHandlers:()=>ZN,HttpContext:()=>JN,LinkedErrors:()=>ck,TryCatch:()=>wL});var sk={};w2.Sentry&&w2.Sentry.Integrations&&(sk=w2.Sentry.Integrations);var bl1=E(E(E({},sk),kN),SL);var c8=(()=>{class t{constructor(e){this.dialog=e}open(e,i){return this.dialog.open(e,i)}static{this.\u0275fac=function(i){return new(i||t)(p1(wg))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _c=(()=>{class t{constructor(){this.observers=[]}addObserver(e){this.observers.push(e)}dispatch(e){this.observers.forEach(i=>{i.update(e)})}removeObserver(e){let i=this.observers.indexOf(e);i>-1&&this.observers.splice(i,1)}getObservers(){return this.observers}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Mf="account",Qa="archive",NL="root",rk="INVITE_CODE",e4=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h){this.api=e,this.storage=i,this.cookies=n,this.dialog=a,this.router=r,this.http=l,this.httpv2=f,this.location=m,this.event=h,this.redirectPath=null,this.redirectParams=null,this.archives=[],this.archiveChange=new N1,this.accountChange=new N1,this.accountStorageUpdate=new N1,this.refreshAccountDebounced=(0,sn.debounce)(()=>{this.refreshAccount()},5e3);let g=this.getStorage(Mf),v=this.getStorage(Qa),M=this.storage.local.get(NL);this.inviteCode=this.storage.session.get(rk),g&&(this.setAccount(new h4(g)),this.refreshAccount()),v&&(this.setArchive(new Z2(v)),this.refreshArchive()),M&&(this.setRootFolder(new H1(M)),this.refreshRoot());let b=()=>{this.logOut().then(()=>{window.location.reload()})};this.httpv2.tokenExpired.subscribe(b),this.http.tokenExpired.subscribe(b)}setAccount(e){this.account=e,this.setStorage(this.account?.keepLoggedIn,Mf,this.account),this.account?.accountId&&en(i=>{i.setUser({id:this.account.accountId})})}setArchive(e){this.archive=e,this.setStorage(this.account?.keepLoggedIn,Qa,this.archive),en(i=>{i.setContext("archive",{archiveNbr:e.archiveNbr,archiveId:e.archiveId})})}setArchives(e=[]){for(;this.archives.length;)this.archives.shift();for(let i of e)this.archives.push(i)}getAccount(){return this.account}getArchive(){return this.archive}getArchives(){return this.archives}getRootFolder(){return this.rootFolder}clearAccount(){this.account=void 0,this.storage.local.delete(Mf),this.setArchives()}clearArchive(){this.archive=void 0,this.storage.local.delete(Qa)}setRootFolder(e){this.rootFolder=e,this.storage.local.set(NL,e)}clearRootFolder(){this.rootFolder=void 0,this.storage.local.delete(NL)}clear(){this.clearAccount(),this.clearArchive(),this.clearRootFolder(),en(e=>{e.setUser(null),e.setContext("archive",null)})}getPrivateRoot(){return(0,sn.find)(this.rootFolder.ChildItemVOs,{type:"type.folder.root.private"})}getPublicRoot(){return(0,sn.find)(this.rootFolder.ChildItemVOs,{type:"type.folder.root.public"})}refreshAccount(){return A(this,null,function*(){return yield this.api.account.get(this.account).then(e=>A(this,null,function*(){if(!e.isSuccessful)throw e;let i=yield this.checkSession();if(i){let n=e.getArchiveVO(),a=e.getAccountVO(),r=this.getStorage("account");a.keepLoggedIn=r?.keepLoggedIn,this.account.update(a),this.archive?.update(n),this.setStorage(a.keepLoggedIn,Qa,this.archive)}else throw i})).catch(()=>{this.logOutAndRedirectToLogin()})})}logOutAndRedirectToLogin(){this.logOut(),this.clear(),this.isOnPublicGallery()||this.router.navigate(["/login"])}isOnPublicGallery(){let e=this.location.path().split("/").filter(i=>i).shift();return e==="p"||e==="gallery"}refreshArchive(){return A(this,null,function*(){return this.archive?yield this.api.archive.get([this.archive]).then(e=>{if(!e.isSuccessful)throw e;let i=e.getArchiveVO();this.archive.update(i),this.storage.local.set(Qa,this.archive)}).catch(e=>{this.logOut(),this.clear(),this.router.navigate(["/login"])}):yield Promise.resolve()})}refreshArchives(){return A(this,null,function*(){return yield this.api.archive.getAllArchives(this.account).then(e=>{let i=e.getArchiveVOs();return this.setArchives(i),this.getArchives()})})}getAllPublicArchives(){return A(this,null,function*(){return yield this.api.archive.getAllArchives(this.account).then(e=>e.getArchiveVOs().filter(n=>n.public))})}hasOwnArchives(){return A(this,null,function*(){return(yield this.refreshArchives()).filter(n=>!n.isPending()).length>0})}
774refreshRoot(){return A(this,null,function*(){let i=(yield this.api.folder.getRoot()).getFolderVO();this.setRootFolder(i)})}updateAccount(e){return A(this,null,function*(){let i=new h4(this.account);return i.update(e),yield this.api.account.update(i).then(n=>{this.account.update(n),this.storage.local.set(Mf,this.account)})})}changeArchive(e){return A(this,null,function*(){return yield this.api.archive.change(e).then(i=>{e=i.getArchiveVO(),this.setArchive(e)}).then(()=>A(this,null,function*(){return yield this.api.folder.getRoot()})).then(i=>{let n=i.getFolderVO();return this.setRootFolder(n),this.archiveChange.emit(this.archive),this.getArchive()})})}checkSession(){return A(this,null,function*(){return this.skipSessionCheck?(this.skipSessionCheck=!1,yield Promise.resolve(!0)):yield this.api.auth.isLoggedIn().then(e=>{if(!e.isSuccessful)throw e;return e.getSimpleVO().value})})}isLoggedIn(){return!!this.account&&!!this.archive}isEmailOrPhoneUnverified(){return this.account?.emailStatus==="status.auth.unverified"||this.account?.phoneStatus==="status.auth.unverified"}logIn(e,i,n,a){return A(this,null,function*(){this.skipSessionCheck=!1,n?this.cookies.set("rememberMe",e):this.cookies.check("rememberMe")&&this.cookies.delete("rememberMe");let r=this.account;return yield this.api.auth.logIn(e,i,n,a).pipe(m4(l=>{if(l.isSuccessful){let f=l.getAccountVO();r&&f.accountId===r.accountId&&(f.isNew=r.isNew),this.setAccount(f),l.getArchiveVO()?.archiveId&&this.setArchive(l.getArchiveVO()),this.skipSessionCheck=!0;let m=l.getAuthToken()?.value;m&&this.api.auth.httpV2.setAuthToken(m),this.event.dispatch({entity:"account",action:"login",account:f}),this.accountChange.emit(this.account)}else if(l.needsMFA()||l.needsVerification())this.setAccount(new h4({primaryEmail:e}));else throw l;return l})).toPromise()})}checkForMFAWithLogin(e){return A(this,null,function*(){return yield this.api.auth.logIn(this.account.primaryEmail,e,this.account.rememberMe,this.account.keepLoggedIn).toPromise()})}logOut(){return this.api.auth.logOut().pipe(m4(e=>(e.isSuccessful&&(this.clearAccount(),this.clearArchive(),this.clearRootFolder(),this.storage.session.clear(),this.accountChange.emit(null)),e))).toPromise()}verifyMfa(e,i){return A(this,null,function*(){return yield this.api.auth.verify(this.account,e,"type.auth.mfaValidation").pipe(m4(n=>{if(n.isSuccessful){let a=new h4(m1(E({},n.getAccountVO()),{keepLoggedIn:i}));this.setAccount(a);let r=n.getAuthToken()?.value;return r&&this.api.auth.httpV2.setAuthToken(r),this.accountChange.emit(this.account),n}else throw n})).toPromise()})}verifyEmail(e){return A(this,null,function*(){return yield this.api.auth.verify(this.account,e,"type.auth.email").pipe(m4(i=>{if(i.isSuccessful){let n=this.account.keepLoggedIn,a=new h4(m1(E({},i.getAccountVO()),{keepLoggedIn:n}));return this.setAccount(a),i}else throw i})).toPromise()})}verifyPhone(e){return A(this,null,function*(){return yield this.api.auth.verify(this.account,e,"type.auth.phone").pipe(m4(i=>{if(i.isSuccessful){let n=this.account.keepLoggedIn,a=new h4(m1(E({},i.getAccountVO()),{keepLoggedIn:n}));return this.setAccount(a),i}else throw i})).toPromise()})}resendEmailVerification(){return A(this,null,function*(){return yield this.api.auth.resendEmailVerification(this.account)})}resendPhoneVerification(){return A(this,null,function*(){return yield this.api.auth.resendPhoneVerification(this.account)})}switchToDefaultArchive(){return A(this,null,function*(){return yield this.api.archive.getAllArchives(this.account).then(e=>{let i=e.getArchiveVOs(),n=(0,sn.find)(i,{archiveId:this.account.defaultArchiveId});return this.setArchive(new Z2(n)),this.archiveChange.emit(this.archive),e})})}checkMinimumAccess(e,i){return this.checkMinimumArchiveAccess(i)&&Fp(e,i)}checkMinimumArchiveAccess(e){return this.archive&&this.isLoggedIn()&&Fp(this.archive.accessRole,e)}signUp(e,i,n,a,r,l,f,m,h){return A(this,null,function*(){if(this.skipSessionCheck=!1,this.isLoggedIn())try{yield this.logOut()}catch(g){}this.inviteCode=m,this.storage.session.set(rk,m);try{return yield this.api.account.signUp(e,i,n,a,r,l,h,f,m).pipe(m4(g=>{let v=new h4(m1(E({},g),{keepLoggedIn:!0}));return v.isNew=!0,this.setAccount(v),v})).toPromise()}catch(g){return yield new Promise((v,M)=>{M(g)})}})}setRedirect(e,i){this.redirectPath=e,this.redirectParams=i}clearRedirect(){this.redirectPath=null,this.redirectParams=null}goToRedirect(){this.redirectPath&&this.router.navigate(this.redirectPath,this.redirectParams),this.clearRedirect()}hasRedirect(){return!!this.redirectPath}promptForArchiveChange(e="Choose archive:"){return A(this,null,function*(){if(yield this.refreshArchives(),this.archives.length>1)return this.dialog.open(AS,{height:"auto",width:"fullscreen",data:{promptText:e},hasBackdrop:!0,disableClose:!0})})}setStorage(e,i,n){e?this.storage.local.set(i,n):this.storage.session.set(i,n)}getStorage(e){return this.storage.local.get(e)||this.storage.session.get(e)}deductAccountStorage(e){this.account.spaceLeft-=e,this.setAccount(this.account)}
774addStorageBytes(e){let i=new h4(m1(E({},this.getAccount()),{spaceLeft:this.account.spaceLeft+e,spaceTotal:this.account.spaceTotal+e}));this.setAccount(i),this.accountStorageUpdate.next(i)}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(oe),p1(Yo),p1(c8),p1(ce),p1(Ci),p1(le),p1(DC),p1(_c))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var t8=(()=>{class t{constructor(){this.checkForGlobal()}checkForGlobal(){return"ga"in window&&ga.getAll&&!this.tracker&&(this.tracker=ga.getAll()[0]),!!this.tracker}sendEvent(e){this.checkForGlobal()&&this.tracker.send(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function gY(t,c){t&1&&(T(0,"span"),F(1,"Choose from your existing relationships or search by email address to create a relationship and share this item"),D())}function zY(t,c){t&1&&(T(0,"span"),F(1,"Search by email address to find archives and request a connection."),D())}function LY(t,c){if(t&1&&(T(0,"div",4),F(1),D()),t&2){let e=O();k(),I1("Results for ",e.searchEmail)}}function MY(t,c){if(t&1){let e=z1();T(0,"button",3),e1("click",function(){a1(e);let n=O(2);return s1(n.sendInvite())}),F(1," Invite to share "),D()}}function vY(t,c){if(t&1){let e=z1();T(0,"button",3),e1("click",function(){a1(e);let n=O(2);return s1(n.sendInvite())}),F(1," Invite to Permanent.org "),D()}}function _Y(t,c){if(t&1&&(T(0,"p"),F(1," No archives found. "),O1(2,"br"),Y(3,MY,2,0,"button",9),Y(4,vY,2,0,"button",9),D()),t&2){let e=O();k(3),Z(e.dialogData.shareItem?3:-1),k(),Z(e.dialogData.shareItem?-1:4)}}function CY(t,c){if(t&1){let e=z1();T(0,"pr-archive-small",10),e1("click",function(){let n=a1(e).$implicit,a=O();return s1(a.chooseArchive(n))}),D()}if(t&2){let e=c.$implicit;t1("archive",e)}}function yY(t,c){t&1&&(T(0,"p"),F(1,"No connections"),D())}function bY(t,c){t&1&&(T(0,"p"),F(1,"No connections available to share with"),D())}function xY(t,c){if(t&1){let e=z1();T(0,"pr-archive-small",13),e1("click",function(){let n=a1(e).$implicit,a=O(2);return s1(a.chooseArchive(n.RelationArchiveVO))}),D()}if(t&2){let e=c.$implicit;t1("archive",e.RelationArchiveVO)("relation",e.type)}}function wY(t,c){if(t&1&&(T(0,"div")(1,"div",4),F(2,"Connections"),D(),Y(3,yY,2,0,"p"),Y(4,bY,2,0,"p"),T(5,"div",11),a2(6,xY,1,2,"pr-archive-small",12,Q2),D()()),t&2){let e=O();k(3),Z(e.relations?-1:3),k(),Z(e.relations&&!e.relations.length?4:-1),k(2),s2(e.relations)}}var lk=(()=>{class t{constructor(e,i,n,a,r,l,f,m){this.dialogRef=e,this.dialogData=i,this.prompt=n,this.api=a,this.accountService=r,this.message=l,this.prConstants=f,this.ga=m,this.hideAccessRoleOnInvite=!1,this.relations=this.dialogData.relations,this.hideAccessRoleOnInvite=this.dialogData.hideAccessRoleOnInvite,this.relationOptions=this.prConstants.getRelations().map(h=>({text:h.name,value:h.type}))}searchByEmail(){return A(this,null,function*(){let{promise:e,resolve:i}=Promise.withResolvers(),n=[{fieldName:"email",validators:[n4.required,n4.email],placeholder:"Email",type:"text",config:{autocapitalize:"off",autocorrect:"off",autocomplete:"off",autoselect:!1}}];return this.searchResults=null,yield this.prompt.prompt(n,"Search by email",e,"Search").then(a=>A(this,null,function*(){return this.searchEmail=a.email,yield this.api.search.archiveByEmail(a.email).toPromise()})).then(a=>{this.searchResults=a.getArchiveVOs(),i(void 0)}).catch(a=>{i(void 0)})})}sendInvite(){return A(this,null,function*(){let{promise:e,resolve:i}=Promise.withResolvers(),n=(0,ok.clone)(Bx(this.searchEmail)),a=!!this.dialogData.shareItem;return this.hideAccessRoleOnInvite||n.push(Xp),yield this.prompt.prompt(n,a?"Invite to share":"Send invitation",e,"Send").then(r=>{let l=new nc({email:r.email,fullName:r.name,byArchiveId:this.accountService.getArchive().archiveId,relationship:r.relationType,accessRole:r.accessRole});return this.dialogData.shareItem?this.api.invite.sendShareInvite(l,this.dialogData.shareItem):this.api.invite.send(l,this.accountService.getArchive())}).then(()=>{this.message.showMessage({message:"Invite sent succesfully.",style:"success"}),a&&this.ga.sendEvent(b3.SHARE.ShareByInvite.initiated.params),i(void 0),this.cancel()}).catch(r=>
774{r&&(i(void 0),this.message.showError({message:r.getMessage(),translate:!0}))})})}chooseArchive(e){this.dialogRef.close(e)}cancel(){this.dialogRef.close()}static{this.\u0275fac=function(i){return new(i||t)($(S4),$(j0),$(a3),$(g2),$(e4),$(C4),$(Y6),$(t8))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-archive-picker"]],standalone:!1,decls:18,vars:5,consts:[[1,"dialog-content"],[1,"dialog-body"],[1,"page-title"],[1,"btn","btn-primary",3,"click"],[1,"page-subheading"],[1,"search-results"],[3,"archive"],[1,"dialog-footer"],[1,"btn","btn-secondary",3,"click"],[1,"btn","btn-primary"],[3,"click","archive"],[1,"relations"],[3,"archive","relation"],[3,"click","archive","relation"]],template:function(i,n){i&1&&(T(0,"div",0)(1,"div",1)(2,"div",2),F(3,"Choose an Archive"),D(),T(4,"p"),Y(5,gY,2,0,"span"),Y(6,zY,2,0,"span"),T(7,"button",3),e1("click",function(){return n.searchByEmail()}),F(8,"Search"),D()(),Y(9,LY,2,1,"div",4),Y(10,_Y,5,2,"p"),T(11,"div",5),a2(12,CY,1,1,"pr-archive-small",6,Q2),D(),Y(14,wY,8,2,"div"),D(),T(15,"div",7)(16,"button",8),e1("click",function(){return n.cancel()}),F(17,"Cancel"),D()()()),i&2&&(k(5),Z(n.dialogData.shareItem?5:-1),k(),Z(n.dialogData.shareItem?-1:6),k(3),Z(n.searchResults?9:-1),k(),Z(n.searchResults&&!n.searchResults.length?10:-1),k(2),s2(n.searchResults),k(2),Z(n.dialogData.shareItem?14:-1))},styles:["[_nghost-%COMP%]{display:block;flex:1;max-width:100%;background-color:#fff;padding:5px}pr-archive-small[_ngcontent-%COMP%]{margin-bottom:20px}p[_ngcontent-%COMP%]{padding:0 10px}.relations[_ngcontent-%COMP%], .search-results[_ngcontent-%COMP%]{padding:10px}"]})}}return t})();function yc(t){return Array.isArray?Array.isArray(t):zk(t)==="[object Array]"}function SY(t){if(typeof t=="string")return t;if(typeof t=="bigint")return t.toString();let c=t+"";return c=="0"&&1/t==-1/0?"-0":c}function AL(t){return t==null?"":SY(t)}function T3(t){return typeof t=="string"}function _f(t){return typeof t=="number"}function NY(t){return t===!0||t===!1||kY(t)&&zk(t)=="[object Boolean]"}function gk(t){return typeof t=="object"}function kY(t){return gk(t)&&t!==null}function e6(t){return t!=null}function vf(t){return!t.trim().length}function zk(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var AY="Incorrect 'index' type",TY=t=>`Invalid value for key ${t}`,DY=t=>`Pattern length exceeds max of ${t}.`,OY=t=>`Missing ${t} property in key`,EY=t=>`Property 'weight' in key '${t}' must be a positive integer`,fk=Object.prototype.hasOwnProperty,TL=class{constructor(c){this._keys=[],this._keyMap={};let e=0;c.forEach(i=>{let n=Lk(i);this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight}),this._keys.forEach(i=>{i.weight/=e})}get(c){return this._keyMap[c]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Lk(t){let c=null,e=null,i=null,n=1,a=null;if(T3(t)||yc(t))i=t,c=dk(t),e=DL(t);else{if(!fk.call(t,"name"))throw new Error(OY("name"));let r=t.name;if(i=r,fk.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(EY(r));c=dk(r),e=DL(r),a=t.getFn}return{path:c,id:e,weight:n,src:i,getFn:a}}function dk(t){return yc(t)?t:t.split(".")}function DL(t){return yc(t)?t.join("."):t}function IY(t,c){let e=[],i=!1,n=(a,r,l,f)=>{if(e6(a))if(!r[l])e.push(f!==void 0?{v:a,i:f}:a);else{let m=r[l],h=a[m];if(!e6(h))return;if(l===r.length-1&&(T3(h)||_f(h)||NY(h)||typeof h=="bigint"))e.push(f!==void 0?{v:AL(h),i:f}:AL(h));else if(yc(h)){i=!0;for(let g=0,v=h.length;g<v;g+=1)n(h[g],r,l+1,g)}else r.length&&n(h,r,l+1,f)}};return n(t,T3(c)?c.split("."):c,0),i?e:e[0]}var PY={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},RY={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,c)=>t.score===c.score?t.idx<c.idx?-1:1:t.score<c.score?-1:1},FY={location:0,threshold:.6,distance:100},VY={useExtendedSearch:!1,useTokenSearch:!1,getFn:IY,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Z1=Object.freeze(E(E(E(E({},RY),PY),FY),VY)),HY=/[^ ]+/g;function BY(t=1,c=3){let e=new Map,i=Math.pow(10,c);return{get(n){let a=n.match(HY).length;if(e.has(a))return e.get(a);let r=1/Math.pow(a,.5*t),l=parseFloat(Math.round(r*i)/i);return e.set(a,l),l},clear(){e.clear()}}}var Ja=class{constructor({getFn:c=Z1.getFn,fieldNormWeight:e=Z1.fieldNormWeight}={}){this.norm=BY(e,3),this.getFn=c,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(c=[]){this.docs=c}setIndexRecords(c=[]){this.records=c}setKeys(c=[]){this.keys=c,this._keysMap={}
774,c.forEach((e,i)=>{this._keysMap[e.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,T3(this.docs[0])?this.docs.forEach((c,e)=>{this._addString(c,e)}):this.docs.forEach((c,e)=>{this._addObject(c,e)}),this.norm.clear())}add(c){let e=this.size();T3(c)?this._addString(c,e):this._addObject(c,e)}removeAt(c){this.records.splice(c,1);for(let e=c,i=this.size();e<i;e+=1)this.records[e].i-=1}removeAll(c){for(let e=c.length-1;e>=0;e-=1)this.records.splice(c[e],1);for(let e=0,i=this.records.length;e<i;e+=1)this.records[e].i=e}getValueForItemAtKeyId(c,e){return c[this._keysMap[e]]}size(){return this.records.length}_addString(c,e){if(!e6(c)||vf(c))return;let i={v:c,i:e,n:this.norm.get(c)};this.records.push(i)}_addObject(c,e){let i={i:e,$:{}};this.keys.forEach((n,a)=>{let r=n.getFn?n.getFn(c):this.getFn(c,n.path);if(e6(r)){if(yc(r)){let l=[];for(let f=0,m=r.length;f<m;f+=1){let h=r[f];if(e6(h)){if(T3(h)){if(!vf(h)){let g={v:h,i:f,n:this.norm.get(h)};l.push(g)}}else if(e6(h.v)){let g=T3(h.v)?h.v:AL(h.v);if(!vf(g)){let v={v:g,i:h.i,n:this.norm.get(g)};l.push(v)}}}}i.$[a]=l}else if(T3(r)&&!vf(r)){let l={v:r,n:this.norm.get(r)};i.$[a]=l}}}),this.records.push(i)}toJSON(){return{keys:this.keys.map(i=>{var n=i,{getFn:c}=n,e=je(n,["getFn"]);return e}),records:this.records}}};function Mk(t,c,{getFn:e=Z1.getFn,fieldNormWeight:i=Z1.fieldNormWeight}={}){let n=new Ja({getFn:e,fieldNormWeight:i});return n.setKeys(t.map(Lk)),n.setSources(c),n.create(),n}function UY(t,{getFn:c=Z1.getFn,fieldNormWeight:e=Z1.fieldNormWeight}={}){let{keys:i,records:n}=t,a=new Ja({getFn:c,fieldNormWeight:e});return a.setKeys(i),a.setIndexRecords(n),a}function $Y(t=[],c=Z1.minMatchCharLength){let e=[],i=-1,n=-1,a=0;for(let r=t.length;a<r;a+=1){let l=t[a];l&&i===-1?i=a:!l&&i!==-1&&(n=a-1,n-i+1>=c&&e.push([i,n]),i=-1)}return t[a-1]&&a-i>=c&&e.push([i,a-1]),e}var B7=32;function jY(t,c,e,{location:i=Z1.location,distance:n=Z1.distance,threshold:a=Z1.threshold,findAllMatches:r=Z1.findAllMatches,minMatchCharLength:l=Z1.minMatchCharLength,includeMatches:f=Z1.includeMatches,ignoreLocation:m=Z1.ignoreLocation}={}){if(c.length>B7)throw new Error(DY(B7));let h=c.length,g=t.length,v=Math.max(0,Math.min(i,g)),M=a,b=v,C=(c1,n1)=>{let _1=c1/h;if(m)return _1;let P1=Math.abs(v-n1);return n?_1+P1/n:P1?1:_1},S=l>1||f,P=S?Array(g):[],V;for(;(V=t.indexOf(c,b))>-1;){let c1=C(0,V);if(M=Math.min(c1,M),b=V+h,S){let n1=0;for(;n1<h;)P[V+n1]=1,n1+=1}}b=-1;let q=[],W=1,G=h+g,Q=1<<h-1;for(let c1=0;c1<h;c1+=1){let n1=0,_1=G;for(;n1<_1;)C(c1,v+_1)<=M?n1=_1:G=_1,_1=Math.floor((G-n1)/2+n1);G=_1;let P1=Math.max(1,v-_1+1),X1=r?g:Math.min(v+_1,g)+h,F1=Array(X1+2);F1[X1+1]=(1<<c1)-1;for(let c2=X1;c2>=P1;c2-=1){let W1=c2-1,t2=e[t[W1]];if(S&&(P[W1]=+!!t2),F1[c2]=(F1[c2+1]<<1|1)&t2,c1&&(F1[c2]|=(q[c2+1]|q[c2])<<1|1|q[c2+1]),F1[c2]&Q&&(W=C(c1,W1),W<=M)){if(M=W,b=W1,b<=v)break;P1=Math.max(1,2*v-b)}}if(C(c1+1,v)>M)break;q=F1}let l1={isMatch:b>=0,score:Math.max(.001,W)};if(S){let c1=$Y(P,l);c1.length?f&&(l1.indices=c1):l1.isMatch=!1}return l1}function WY(t){let c={};for(let e=0,i=t.length;e<i;e+=1){let n=t.charAt(e);c[n]=(c[n]||0)|1<<i-e-1}return c}function YL(t){if(t.length<=1)return t;t.sort((e,i)=>e[0]-i[0]||e[1]-i[1]);let c=[t[0]];for(let e=1,i=t.length;e<i;e+=1){let n=c[c.length-1],a=t[e];a[0]<=n[1]+1?n[1]=Math.max(n[1],a[1]):c.push(a)}return c}var vk={\u0142:"l",\u0141:"L",\u0111:"d",\u0110:"D",\u00F8:"o",\u00D8:"O",\u0127:"h",\u0126:"H",\u0167:"t",\u0166:"T",\u0131:"i",\u00DF:"ss"},GY=new RegExp("["+Object.keys(vk).join("")+"]","g"),es=String.prototype.normalize?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A7
7745\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(GY,c=>vk[c]):t=>t,cs=class{constructor(c,{location:e=Z1.location,threshold:i=Z1.threshold,distance:n=Z1.distance,includeMatches:a=Z1.includeMatches,findAllMatches:r=Z1.findAllMatches,minMatchCharLength:l=Z1.minMatchCharLength,isCaseSensitive:f=Z1.isCaseSensitive,ignoreDiacritics:m=Z1.ignoreDiacritics,ignoreLocation:h=Z1.ignoreLocation}={}){if(this.options={location:e,threshold:i,distance:n,includeMatches:a,findAllMatches:r,minMatchCharLength:l,isCaseSensitive:f,ignoreDiacritics:m,ignoreLocation:h},c=f?c:c.toLowerCase(),c=m?es(c):c,this.pattern=c,this.chunks=[],!this.pattern.length)return;let g=(M,b)=>{this.chunks.push({pattern:M,alphabet:WY(M),startIndex:b})},v=this.pattern.length;if(v>B7){let M=0,b=v%B7,C=v-b;for(;M<C;)g(this.pattern.substr(M,B7),M),M+=B7;if(b){let S=v-B7;g(this.pattern.substr(S),S)}}else g(this.pattern,0)}searchIn(c){let{isCaseSensitive:e,ignoreDiacritics:i,includeMatches:n}=this.options;if(c=e?c:c.toLowerCase(),c=i?es(c):c,this.pattern===c){let C={isMatch:!0,score:0};return n&&(C.indices=[[0,c.length-1]]),C}let{location:a,distance:r,threshold:l,findAllMatches:f,minMatchCharLength:m,ignoreLocation:h}=this.options,g=[],v=0,M=!1;this.chunks.forEach(({pattern:C,alphabet:S,startIndex:P})=>{let{isMatch:V,score:q,indices:W}=jY(c,C,S,{location:a+P,distance:r,threshold:l,findAllMatches:f,minMatchCharLength:m,includeMatches:n,ignoreLocation:h});V&&(M=!0),v+=q,V&&W&&g.push(...W)});let b={isMatch:M,score:M?v/this.chunks.length:1};return M&&n&&(b.indices=YL(g)),b}},_e=class{constructor(c){this.pattern=c}static isMultiMatch(c){return mk(c,this.multiRegex)}static isSingleMatch(c){return mk(c,this.singleRegex)}search(c){return{isMatch:!1,score:1}}};function mk(t,c){let e=t.match(c);return e?e[1]:null}var OL=class extends _e{constructor(c){super(c)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(c){let e=c===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},EL=class extends _e{constructor(c){super(c)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(c){let i=c.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,c.length-1]}}},IL=class extends _e{constructor(c){super(c)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(c){let e=c.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}
774,PL=class extends _e{constructor(c){super(c)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(c){let e=!c.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,c.length-1]}}},RL=class extends _e{constructor(c){super(c)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(c){let e=c.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[c.length-this.pattern.length,c.length-1]}}},FL=class extends _e{constructor(c){super(c)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(c){let e=!c.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,c.length-1]}}},Cf=class extends _e{constructor(c,{location:e=Z1.location,threshold:i=Z1.threshold,distance:n=Z1.distance,includeMatches:a=Z1.includeMatches,findAllMatches:r=Z1.findAllMatches,minMatchCharLength:l=Z1.minMatchCharLength,isCaseSensitive:f=Z1.isCaseSensitive,ignoreDiacritics:m=Z1.ignoreDiacritics,ignoreLocation:h=Z1.ignoreLocation}={}){super(c),this._bitapSearch=new cs(c,{location:e,threshold:i,distance:n,includeMatches:a,findAllMatches:r,minMatchCharLength:l,isCaseSensitive:f,ignoreDiacritics:m,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(c){return this._bitapSearch.searchIn(c)}},yf=class extends _e{constructor(c){super(c)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(c){let e=0,i,n=[],a=this.pattern.length;for(;(i=c.indexOf(this.pattern,e))>-1;)e=i+a,n.push([i,e-1]);let r=!!n.length;return{isMatch:r,score:r?0:1,indices:n}}},VL=[OL,yf,IL,PL,FL,RL,EL,Cf],uk=VL.length,qY="\0",YY="|";function ZY(t){let c=[],e=t.length,i=0;for(;i<e;){for(;i<e&&t[i]===" ";)i++;if(i>=e)break;let n=i;for(;n<e&&t[n]!==" "&&t[n]!=='"';)n++;if(n<e&&t[n]==='"'){for(n++;n<e;){if(t[n]==='"'){let a=n+1;if(a>=e||t[a]===" "){n++;break}if(t[a]==="$"&&(a+1>=e||t[a+1]===" ")){n+=2;break}}n++}c.push(t.substring(i,n)),i=n}else{for(;n<e&&t[n]!==" ";)n++;c.push(t.substring(i,n)),i=n}}return c}function KY(t,c={}){return t.replace(/\\\|/g,qY).split(YY).map(i=>{let n=i.replace(/\u0000/g,"|"),a=ZY(n.trim()).filter(l=>l&&!!l.trim()),r=[];for(let l=0,f=a.length;l<f;l+=1){let m=a[l],h=!1,g=-1;for(;!h&&++g<uk;){let v=VL[g],M=v.isMultiMatch(m);M&&(r.push(new v(M,c)),h=!0)}if(!h)for(g=-1;++g<uk;){let v=VL[g],M=v.isSingleMatch(m);if(M){r.push(new v(M,c));break}}}return r})}var XY=new Set([Cf.type,yf.type]),HL=class{constructor(c,{isCaseSensitive:e=Z1.isCaseSensitive,ignoreDiacritics:i=Z1.ignoreDiacritics,includeMatches:n=Z1.includeMatches,minMatchCharLength:a=Z1.minMatchCharLength,ignoreLocation:r=Z1.ignoreLocation,findAllMatches:l=Z1.findAllMatches,location:f=Z1.location,threshold:m=Z1.threshold,distance:h=Z1.distance}={}){this.query=null,this.options={isCaseSensitive:e,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:a,findAllMatches:l,ignoreLocation:r,location:f,threshold:m,distance:h},c=e?c:c.toLowerCase(),c=i?es(c):c,this.pattern=c,this.query=KY(this.pattern,this.options)}static condition(c,e){return e.useExtendedSearch}searchIn(c){let e=this.query;if(!e)return{isMatch:!1,score:1};let{includeMatches:i,isCaseSensitive:n,ignoreDiacritics:a}=this.options;c=n?c:c.toLowerCase(),c=a?es(c):c;let r=0,l=[],f=0,m=!1;for(let h=0,g=e.length;h<g;h+=1){let v=e[h];l.length=0,r=0,m=!1;for(let M=0,b=v.length;M<b;M+=1){let C=v[M],{isMatch:S,indices:P,score:V}=C.search(c);if(S){r+=1,f+=V;let q=C.constructor.type;q.startsWith("inverse")&&(m=!0),i&&(XY.has(q)?l.push(...P):l.push(P))}else{f=0,r=0,l.length=0,m=!1;break}}if(r){let M={isMatch:!0,score:f/r};return m&&(M.hasInverse=!0),i&&(M.indices=YL(l)),M}}return{isMatch:!1,score:1}}},BL=[];function ZL(...t){BL.push(...t)}function bf(t,c){for(let e=0,i=BL.length;e<i;e+=1){let n=BL[e];if(n.condition(t,c))return new n(t,c)}return new cs(t,c)}var xf={AND:"$and",OR:"$or"},UL={PATH:"$path",PATTERN:"$val"},$L=t=>!!(t[xf.AND]||t[xf.OR]),QY=t=>!!t[UL.PATH],JY=t=>!yc(t)&&gk(t)&&!$L(t),hk=t=>({[xf.AND]:Object.keys(t).map(c=>({[c]:t[c]}))});function _k(t,c,{auto:e=!0}={}){let i=n=>{if(T3(n)){let f={keyId:null,pattern:n};return e&&(f.searcher=bf(n,c)),f}let a=Object.keys(n),r=QY(n);if(!r&&a.length>1&&!$L(n))return i(hk(n));if(JY(n)){let f=r?n[UL.PATH]:a[0],m=r?n[UL.PATTERN]:n[f];if(!T3(m))throw new Error(TY(f));let h={keyId:DL(f),pattern:m};return e&&(h.searcher=bf(m,c)),h}let l={children:[],operator:a[0]};return a.forEach(f=>{let m=n[f];yc(m)&&m.forEach(h=>{l.children.push(i(h))})}),l};return $L(t)||(t=hk(t)),i(t)}function jL(t,{ignoreFieldNorm:c=Z1.ignoreFieldNorm}){let e=1;return t.forEach(({key:i,norm:n,score:a})=>{let r=i?i.weight:null;e*=Math.pow(a===0&&r?Number.EPSILON:a,(r||1)*(c?1:n))}),e}function eZ(t,{ignoreFieldNorm:c=Z1.ignoreFieldNorm}
774){t.forEach(e=>{e.score=jL(e.matches,{ignoreFieldNorm:c})})}var WL=class{constructor(c){this.limit=c,this.heap=[]}get size(){return this.heap.length}shouldInsert(c){return this.size<this.limit||c<this.heap[0].score}insert(c){this.size<this.limit?(this.heap.push(c),this._bubbleUp(this.size-1)):c.score<this.heap[0].score&&(this.heap[0]=c,this._sinkDown(0))}extractSorted(c){return this.heap.sort(c)}_bubbleUp(c){let e=this.heap;for(;c>0;){let i=c-1>>1;if(e[c].score<=e[i].score)break;let n=e[c];e[c]=e[i],e[i]=n,c=i}}_sinkDown(c){let e=this.heap,i=e.length,n=c;do{c=n;let a=2*c+1,r=2*c+2;if(a<i&&e[a].score>e[n].score&&(n=a),r<i&&e[r].score>e[n].score&&(n=r),n!==c){let l=e[c];e[c]=e[n],e[n]=l}}while(n!==c)}};function cZ(t,c){let e=t.matches;c.matches=[],e6(e)&&e.forEach(i=>{if(!e6(i.indices)||!i.indices.length)return;let{indices:n,value:a}=i,r={indices:n,value:a};i.key&&(r.key=i.key.src),i.idx>-1&&(r.refIndex=i.idx),c.matches.push(r)})}function tZ(t,c){c.score=t.score}function iZ(t,c,{includeMatches:e=Z1.includeMatches,includeScore:i=Z1.includeScore}={}){let n=[];return e&&n.push(cZ),i&&n.push(tZ),t.map(a=>{let{idx:r}=a,l={item:c[r],refIndex:r};return n.length&&n.forEach(f=>{f(a,l)}),l})}var nZ=/\b\w+\b/g;function GL({isCaseSensitive:t=!1,ignoreDiacritics:c=!1}={}){return{tokenize(e){return t||(e=e.toLowerCase()),c&&(e=es(e)),e.match(nZ)||[]}}}function aZ(t,c,e){let i=new Map,n=new Map,a=0;function r(l,f,m,h){let g=e.tokenize(l);if(!g.length)return;a++;let v=new Map;for(let M of g)v.set(M,(v.get(M)||0)+1);for(let[M,b]of v){let C={docIdx:f,keyIdx:m,subIdx:h,tf:b},S=i.get(M);S||(S=[],i.set(M,S)),S.push(C),n.set(M,(n.get(M)||0)+1)}}for(let l of t){let{i:f,v:m,$:h}=l;if(m!==void 0){r(m,f,-1,-1);continue}if(h)for(let g=0;g<c;g++){let v=h[g];if(v)if(Array.isArray(v))for(let M of v)r(M.v,f,g,M.i??-1);else r(v.v,f,g,-1)}}return{terms:i,fieldCount:a,df:n}}function sZ(t,c,e,i){let{i:n,v:a,$:r}=c;function l(f,m,h){let g=i.tokenize(f);if(!g.length)return;t.fieldCount++;let v=new Map;for(let M of g)v.set(M,(v.get(M)||0)+1);for(let[M,b]of v){let C={docIdx:n,keyIdx:m,subIdx:h,tf:b},S=t.terms.get(M);S||(S=[],t.terms.set(M,S)),S.push(C),t.df.set(M,(t.df.get(M)||0)+1)}}if(a!==void 0){l(a,-1,-1);return}if(r)for(let f=0;f<e;f++){let m=r[f];if(m)if(Array.isArray(m))for(let h of m)l(h.v,f,h.i??-1);else l(m.v,f,-1)}}function pk(t,c){for(let[e,i]of t.terms){let n=i.filter(r=>r.docIdx!==c),a=i.length-n.length;a>0&&(t.fieldCount-=a,t.df.set(e,(t.df.get(e)||0)-a),n.length===0?(t.terms.delete(e),t.df.delete(e)):t.terms.set(e,n))}}var c6=class{constructor(c,e,i){this.options=E(E({},Z1),e),this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new TL(this.options.keys),this._docs=c,this._myIndex=null,this._invertedIndex=null,this.setCollection(c,i),this._lastQuery=null,this._lastSearcher=null}_getSearcher(c){if(this._lastQuery===c)return this._lastSearcher;let e=this._invertedIndex?m1(E({},this.options),{_invertedIndex:this._invertedIndex}):this.options,i=bf(c,e);return this._lastQuery=c,this._lastSearcher=i,i}setCollection(c,e){if(this._docs=c,e&&!(e instanceof Ja))throw new Error(AY);if(this._myIndex=e||Mk(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let i=GL({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=aZ(this._myIndex.records,this._myIndex.keys.length,i)}}add(c){if(e6(c)&&(this._docs.push(c),this._myIndex.add(c),this._invertedIndex)){let e=this._myIndex.records[this._myIndex.records.length-1],i=GL({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});sZ(this._invertedIndex,e,this._myIndex.keys.length,i)}}remove(c=()=>!1){let e=[],i=[];for(let n=0,a=this._docs.length;n<a;n+=1)c(this._docs[n],n)&&(e.push(this._docs[n]),i.push(n));if(i.length){if(this._invertedIndex)for(let n of i)pk(this._invertedIndex,n);for(let n=i.length-1;n>=0;n-=1)this._docs.splice(i[n],1);this._myIndex.removeAll(i)}return e}removeAt(c){this._invertedIndex&&pk(this._invertedIndex,c);let e=this._docs.splice(c,1)[0];return this._myIndex.removeAt(c),e}getIndex(){return this._myIndex}search(c,e){let{limit:i=-1}=e||{}
774,{includeMatches:n,includeScore:a,shouldSort:r,sortFn:l,ignoreFieldNorm:f}=this.options;if(T3(c)&&!c.trim()){let g=this._docs.map((v,M)=>({item:v,refIndex:M}));return _f(i)&&i>-1&&(g=g.slice(0,i)),g}let m=_f(i)&&i>0&&T3(c),h;if(m){let g=new WL(i);T3(this._docs[0])?this._searchStringList(c,{heap:g,ignoreFieldNorm:f}):this._searchObjectList(c,{heap:g,ignoreFieldNorm:f}),h=g.extractSorted(l)}else h=T3(c)?T3(this._docs[0])?this._searchStringList(c):this._searchObjectList(c):this._searchLogical(c),eZ(h,{ignoreFieldNorm:f}),r&&h.sort(l),_f(i)&&i>-1&&(h=h.slice(0,i));return iZ(h,this._docs,{includeMatches:n,includeScore:a})}_searchStringList(c,{heap:e,ignoreFieldNorm:i}={}){let n=this._getSearcher(c),{records:a}=this._myIndex,r=e?null:[];return a.forEach(({v:l,i:f,n:m})=>{if(!e6(l))return;let{isMatch:h,score:g,indices:v}=n.searchIn(l);if(h){let M={item:l,idx:f,matches:[{score:g,value:l,norm:m,indices:v}]};e?(M.score=jL(M.matches,{ignoreFieldNorm:i}),e.shouldInsert(M.score)&&e.insert(M)):r.push(M)}}),r}_searchLogical(c){let e=_k(c,this.options),i=(l,f,m)=>{if(!("children"in l)){let{keyId:M,searcher:b}=l,C;return M===null?(C=[],this._myIndex.keys.forEach((S,P)=>{C.push(...this._findMatches({key:S,value:f[P],searcher:b}))})):C=this._findMatches({key:this._keyStore.get(M),value:this._myIndex.getValueForItemAtKeyId(f,M),searcher:b}),C&&C.length?[{idx:m,item:f,matches:C}]:[]}let{children:h,operator:g}=l,v=[];for(let M=0,b=h.length;M<b;M+=1){let C=h[M],S=i(C,f,m);if(S.length)v.push(...S);else if(g===xf.AND)return[]}return v},n=this._myIndex.records,a=new Map,r=[];return n.forEach(({$:l,i:f})=>{if(e6(l)){let m=i(e,l,f);m.length&&(a.has(f)||(a.set(f,{idx:f,item:l,matches:[]}),r.push(a.get(f))),m.forEach(({matches:h})=>{a.get(f).matches.push(...h)}))}}),r}_searchObjectList(c,{heap:e,ignoreFieldNorm:i}={}){let n=this._getSearcher(c),{keys:a,records:r}=this._myIndex,l=e?null:[];return r.forEach(({$:f,i:m})=>{if(!e6(f))return;let h=[],g=!1,v=!1;if(a.forEach((M,b)=>{let C=this._findMatches({key:M,value:f[b],searcher:n});C.length?(h.push(...C),C[0].hasInverse&&(v=!0)):g=!0}),!(v&&g)&&h.length){let M={idx:m,item:f,matches:h};e?(M.score=jL(M.matches,{ignoreFieldNorm:i}),e.shouldInsert(M.score)&&e.insert(M)):l.push(M)}}),l}_findMatches({key:c,value:e,searcher:i}){if(!e6(e))return[];let n=[];if(yc(e))e.forEach(({v:a,i:r,n:l})=>{if(!e6(a))return;let{isMatch:f,score:m,indices:h,hasInverse:g}=i.searchIn(a);f&&n.push({score:m,key:c,value:a,idx:r,norm:l,indices:h,hasInverse:g})});else{let{v:a,n:r}=e,{isMatch:l,score:f,indices:m,hasInverse:h}=i.searchIn(a);l&&n.push({score:f,key:c,value:a,norm:r,indices:m,hasInverse:h})}return n}},qL=class{static condition(c,e){return e.useTokenSearch}constructor(c,e){this.options=e,this.analyzer=GL({isCaseSensitive:e.isCaseSensitive,ignoreDiacritics:e.ignoreDiacritics});let i=this.analyzer.tokenize(c),n=e._invertedIndex,{df:a,fieldCount:r}=n;this.termSearchers=[],this.idfWeights=[];for(let l of i){this.termSearchers.push(new cs(l,{location:e.location,threshold:e.threshold,distance:e.distance,includeMatches:e.includeMatches,findAllMatches:e.findAllMatches,minMatchCharLength:e.minMatchCharLength,isCaseSensitive:e.isCaseSensitive,ignoreDiacritics:e.ignoreDiacritics,ignoreLocation:!0}));let f=a.get(l)||0,m=Math.log(1+(r-f+.5)/(f+.5));this.idfWeights.push(m)}}searchIn(c){if(!this.termSearchers.length)return{isMatch:!1,score:1};let e=[],i=0,n=0,a=0;for(let f=0;f<this.termSearchers.length;f++){let m=this.termSearchers[f].searchIn(c),h=this.idfWeights[f];n+=h,m.isMatch&&(a++,i+=h*(1-m.score),m.indices&&e.push(...m.indices))}if(a===0)return{isMatch:!1,score:1};let r=n>0?1-i/n:0,l={isMatch:!0,score:Math.max(.001,r)};return this.options.includeMatches&&e.length&&(l.indices=YL(e)),l}};c6.version="7.3.0";c6.createIndex=Mk;c6.parseIndex=UY;c6.config=Z1;c6.match=function(t,c,e){return bf(t,E(E({},Z1),e)).searchIn(c)};c6.parseQuery=_k;ZL(HL);ZL(qL);c6.use=function(...t){t.forEach(c=>ZL(c))};var wf=o2(u4());var rZ=120*1e3,Sf=(()=>{class t{constructor(e,i){this.accountService=e,this.api=i,this.relations=null,this.fuseOptions={keys:["RelationArchiveVO.fullName"],threshold:.1},this.fuse=new c6([],this.fuseOptions),this.currentArchive=this.accountService.getArchive(),this.accountService.archiveChange.subscribe(n=>{this.currentArchive=n,this.clear()})}get(){return A(this,null,function*(){return!this.relations||this.needsFetch()?yield this.update().then(()=>this.relations):yield Promise.resolve(this.relations)})}getSync(){return this.relations||[]}update(){return A(this,null,function*(){return yield this.api.relation.getAll(this.currentArchive).then(e=>{this.lastUpdated=new Date,this.relations=e.getRelationVOs(),this.indexArchivesForSearch()})})}remove(e){return A(this,null,function*(){let i=yield this.api.relation.delete(e);return(0,wf.remove)(this.relations,{relationId:e.relationId}),this.indexArchivesForSearch(),i})}indexArchivesForSearch(){this.relations?this.fuse.setCollection(this.relations.filter(e=>e.RelationArchiveVO.archiveId!==this.currentArchive.archiveId)):this.fuse.setCollection([])}clear(){this.relations=null,this.lastUpdated=null,this.indexArchivesForSearch()}hasRelation(e){return!!(0,wf.find)(this.relations,n=>n.RelationArchiveVO.archiveId===e.archiveId)}needsFetch(){if(!this.lastUpdated)return!0;let e=this.lastUpdated.getTime();return new Date().getTime()-e>rZ}searchRelationsByName(e){return this.fuse.search(e).map(i=>i.item)}static{this.\u0275fac=function(i){return new(i||t)(p1(e4),p1(g2))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var oZ=["shareUrlInput"];function lZ(t,c){t&1&&(T(0,"div",4),F(1,"Share Link"),D())}function fZ(t,c){if(t&1){let e=z1();T(0,"div",5)(1,"p"),F(2," Send this link via text, email, or other message service to invite people to share this content. "),D(),O1(3,"input",12,0),T(5,"button",11),e1("click",function(){a1(e);let n=O();return s1(n.copyShareLink())}),F(6),D(),T(7,"button",13),e1("click",function(){a1(e);let n=O();return s1(n.manageShareLink())}),F(8," Link settings "),D(),T(9,"button",14),e1("click",function(){a1(e);let n=O();return s1(n.removeShareLink())}),F(10," Remove link "),D()()}if(t&2){let e=O();k(3),t1("value",e.shareLink.shareUrl),k(2),t1("disabled",e.linkCopied),k(),I1(" ",e.linkCopied?"Link copied":"Copy link"," ")}}function dZ(t,c){if(t&1){let e=z1();T(0,"div",6)(1,"button",13),e1("click",function(){a1(e);let n=O();return s1(n.generateShareLink())}),F(2," Get share link "),D()()}}function mZ(t,c){t&1&&(T(0,"div",4),F(1,"Share Requests"),D())}function uZ(t,c){if(t&1){let e=z1();T(0,"pr-archive-small",15),e1("click",function(){let n=a1(e).$implicit,a=O(2);return s1(a.onPendingShareClick(n))}),D()}if(t&2){let e=c.$implicit;t1("archive",e.ArchiveVO)("accessRole",e.accessRole)}}function hZ(t,c){if(t&1&&(T(0,"div",7),a2(1,uZ,1,2,"pr-archive-small",8,Q2),D()),t&2){let e=O();k(),s2(e.pendingShares)}}function pZ(t,c){t&1&&(T(0,"p"),F(1,"This item is not shared with any archives"),D())}function gZ(t,c){if(t&1){let e=z1();T(0,"pr-archive-small",15),e1("click",function(){let n=a1(e).$implicit,a=O();return s1(a.onShareMemberClick(n))}),D()}if(t&2){let e=c.$implicit;t1("archive",e.ArchiveVO)("accessRole",e.accessRole)}}var Nf={ChangeAccess:{buttonName:"edit",buttonText:"Edit Access"},Remove:{buttonName:"remove",buttonText:"Remove",class:"btn-danger"},Decline:{buttonName:"remove",buttonText:"Decline",class:"btn-danger"},Approve:{buttonName:"approve",buttonText:"Approve"}},ts=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h){this.data=e,this.dialogRef=i,this.dialog=n,this.route=a,this.promptService=r,this.api=l,this.messageService=f,this.relationshipService=m,this.ga=h,this.shareItem=null,this.shares=[],this.pendingShares=[],this.shareLink=null,this.loadingRelations=!1,this.linkCopied=!1,this.shareItem=this.data.item,this.shareLink=this.data.link,this.shareItem.ShareVOs&&this.shareItem.ShareVOs.length&&([this.pendingShares,this.shares]=(0,Ce.partition)(this.shareItem.ShareVOs,{status:"status.generic.pending"}))}
774ngOnInit(){let e=this.route.snapshot.queryParams;if(e.shareArchiveNbr&&e.requestToken&&this.shareItem.archiveNbr===e.shareArchiveNbr){let i=(0,Ce.find)(this.shareItem.ShareVOs,{requestToken:e.requestToken});if(!i)this.messageService.showError({message:"Share request not found."});else if(i.status.includes("ok"))this.messageService.showMessage({message:`Share request for ${i.ArchiveVO.fullName} already approved.`});else switch(e.requestAction){case"approve":this.approvePendingShareVo(i);break;case"deny":this.removeShareVo(i);break}}}onShareMemberClick(e){if(this.shareItem.accessRole!=="access.role.owner")return this.messageService.showMessage({message:"You do not have permission to edit share access.",style:"danger"});let i=[Nf.ChangeAccess,Nf.Remove];this.promptService.promptButtons(i,`Sharing with ${e.ArchiveVO.fullName}`).then(n=>{switch(n){case"edit":this.editShareVo(e);break;case"remove":this.removeShareVo(e);break}})}onPendingShareClick(e){if(this.shareItem.accessRole!=="access.role.owner")return this.messageService.showMessage({message:"You do not have permission to approve share requests.",style:"danger"});if(e.accessRole==="access.role.owner")return this.messageService.showMessage({message:`${e.ArchiveVO.fullName} is an Owner on this item and cannot be removed or changed.`,style:"info"});let i=[Nf.Approve,Nf.Decline];this.promptService.promptButtons(i,`Sharing request from ${e.ArchiveVO.fullName}`).then(n=>{switch(n){case"approve":this.approvePendingShareVo(e);break;case"remove":this.removeShareVo(e);break}})}addShareMember(){return A(this,null,function*(){this.loadingRelations=!0;let e=!1;try{let i=yield this.relationshipService.get();this.loadingRelations=!1;let n={shareItem:this.shareItem};return i&&i.length&&(n.relations=i.filter(a=>!(0,Ce.find)(this.shareItem.ShareVOs,{archiveId:a.RelationArchiveVO.archiveId})&&a.status==="status.generic.ok")),yield this.dialog.open(lk,{data:n}).then(a=>A(this,null,function*(){let r=new w4({ArchiveVO:a,accessRole:"access.role.viewer",archiveId:a.archiveId,folder_linkId:this.shareItem.folder_linkId});return e=this.relationshipService.hasRelation(a),yield this.editShareVo(r)})).then(()=>{e?this.ga.sendEvent(b3.SHARE.ShareByRelationship.initiated.params):this.ga.sendEvent(b3.SHARE.ShareByAccountNoRel.initiated.params)})}catch(i){throw this.loadingRelations=!1,i}})}editShareVo(e){return A(this,null,function*(){let i,{promise:n,resolve:a}=Promise.withResolvers(),r=[Vx(e.accessRole)],l=!e.shareId,f=`Edit ${e.ArchiveVO.fullName} access to ${this.shareItem.displayName}`;return l&&(f=`Choose ${e.ArchiveVO.fullName} access to ${this.shareItem.displayName}`),yield this.promptService.prompt(r,f,n,"Share").then(m=>A(this,null,function*(){return i=new w4(e),i.accessRole=m.accessRole,yield this.api.share.upsert(i)})).then(m=>{let h="Share access saved successfully.";l&&(h=`${e.ArchiveVO.fullName} added to share successfully.`),this.messageService.showMessage({message:h,style:"success"}),l?(this.shareItem.ShareVOs||(this.shareItem.ShareVOs=[]),this.shareItem.ShareVOs.push(new w4(i)),this.shares.push(i)):e.accessRole=i.accessRole,a(void 0)}).catch(m=>{m&&this.messageService.showError({message:m.getMessage(),translate:!0}),a(void 0)})})}removeShareVo(e){let{promise:i,resolve:n}=Promise.withResolvers(),a=`Remove ${e.ArchiveVO.fullName} from this share?`;this.promptService.confirm("Remove",a,i,"btn-danger").then(()=>{this.api.share.remove(e).then(r=>{this.messageService.showMessage({message:`${e.ArchiveVO.fullName} removed successfully.`,style:"success"}),(0,Ce.remove)(this.shareItem.ShareVOs,e),(0,Ce.remove)(this.pendingShares,e),(0,Ce.remove)(this.shares,e),n(void 0)}).catch(r=>{n(void 0),this.messageService.showError({message:r.getMessage(),translate:!0})})}).catch(()=>{n(void 0)})}approvePendingShareVo(e){let{resolve:i}=Promise.withResolvers();e.status="status.generic.ok",this.api.share.update(e).then(n=>{this.messageService.showMessage({message:`${e.ArchiveVO.fullName} granted access.`,style:"success"}),(0,Ce.remove)(this.pendingShares,e),this.shares.push(e),i(void 0)}).catch(n=>{i(void 0),this.messageService.showError({message:n.getMessage(),translate:!0})})}generateShareLink(){return A(this,null,function*(){let e=yield this.api.share.generateShareLink(this.shareItem);e.isSuccessful&&(this.shareLink=e.getShareByUrlVO(),this.ga.sendEvent(b3.SHARE.ShareByUrl.initiated.params))})}copyShareLink(){let e=this.shareUrlInput.nativeElement;t5(e),this.linkCopied=!0,setTimeout(()=>{this.linkCopied=!1},5e3)}manageShareLink(){let{promise:e,resolve:i,reject:n}=Promise.withResolvers(),a=`Manage share link for ${this.shareItem.displayName}`,r=null;this.shareLink.expiresDT&&(r=new Date(this.shareLink.expiresDT).toISOString().split("T")[0]);let l=[Ux("previewToggle","Share preview",this.shareLink.previewToggle?"on":"off"),$x("maxUses","Max number of uses (optional)",this.shareLink.maxUses,!1),jx("expiresDT","Expiration date (optional)",r,new Date)];this.promptService.prompt(l,a,e,"Save").then(f=>A(this,null,function*(){let m=new L7(this.shareLink);m.previewToggle=f.previewToggle==="on"?1:0,f.maxUses!==void 0&&(m.maxUses=parseInt(f.maxUses,10)),f.expiresDT&&(m.expiresDT=new Date(f.expiresDT).toISOString());try{let h=yield this.api.share.updateShareLink(m);this.shareLink=h.getShareByUrlVO(),i(void 0)}catch(h){n(),h.getMessage()&&this.messageService.showError({message:h.getMessage()})}})).catch(f=>{if(!(f instanceof g4))throw f})}removeShareLink(){return A(this,null,function*(){let{promise:e,resolve:i}=Promise.withResolvers();try{yield this.promptService.confirm("Remove link","Are you sure you want to remove this link?",e,"btn-danger"),yield this.api.share.removeShareLink(this.shareLink),this.shareLink=null,i(void 0)}catch(n){i(void 0),n instanceof g4&&this.messageService.showError({message:n.getMessage()})}})}close(){this.dialogRef.close()}static{this.\u0275fac=function(i){return new(i||t)($(j0),$(S4),$(c8),$(ee),$(a3),$(g2),$(C4),$(Sf),$(t8))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-sharing"]],viewQuery:function(i,n){if(i&1&&k4(oZ,5),i&2){let a;q1(a=Y1())&&(n.shareUrlInput=a.first)}},standalone:!1,decls:20,vars:8,consts:[["shareUrlInput",""],[1,"dialog-content"],[1,"dialog-body"],[1,"page-title","break-all"],[1,"page-subheading"],[1,"share-link"],[1,"share-link-button"],[1,"share-item-members"],[3,"archive","accessRole"],[1,"dialog-footer"],[1,"btn","btn-secondary",3,"click"],[1,"btn","btn-primary",3,"click","disabled"],["type","text","readonly","",1,"form-control",3,"value"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-danger",3,"click"],[3,"click","archive","accessRole"]],template:function(i,n){i&1&&(T(0,"div",1)(1,"div",2)(2,"div",3),F(3),D(),Y(4,lZ,2,0,"div",4),Y(5,fZ,11,3,"div",5),Y(6,dZ,3,0,"div",6),Y(7,mZ,2,0,"div",4),Y(8,hZ,3,0,"div",7),T(9,"div",4),F(10,"Sharing With"),D(),T(11,"div",7),Y(12,pZ,2,0,"p"),a2(13,gZ,1,2,"pr-archive-small",8,Q2),D()(),T(15,"div",9)(16,"button",10),e1("click",function(){return n.close()}),F(17,"Done"),D(),T(18,"button",11),e1("click",function(){return n.addShareMember()}),F(19," Add "),D()()()),i&2&&(k(3),_2(n.shareItem.displayName),k(),Z(n.shareLink?4:-1),k(),Z(n.shareLink?5:-1),k(),Z(n.shareLink?-1:6),k(),Z(n.pendingShares.length&&n.shareItem.accessRole.includes("owner")?7:-1),k(),Z(n.pendingShares.length&&n.shareItem.accessRole.includes("owner")?8:-1),k(4),Z(n.shares.length?-1:12),k(),s2(n.shares),k(5),t1("disabled",n.loadingRelations))},styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}
774@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:block;height:100%;flex:1;max-width:100%}.dialog-content[_ngcontent-%COMP%]{background-color:#fff}.share-link-button[_ngcontent-%COMP%]{padding:10px}.share-item-preview[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 10px}.share-item-preview[_ngcontent-%COMP%] [prBgImage][_ngcontent-%COMP%]{height:3.125rem;width:3.125rem;flex:0 0 3.125rem;margin-right:5px}.share-item-preview[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-item-members[_ngcontent-%COMP%]{padding:0 10px 10px}.share-item-members[_ngcontent-%COMP%] pr-archive-small[_ngcontent-%COMP%]{margin-bottom:20px}.share-link[_ngcontent-%COMP%]{padding:0 10px 10px}"]})}}return t})();var kf=o2(u4());var on=(()=>{class t{transform(e,i){let n=this.getPublicArchiveNbr(e);if(e instanceof C2){let a=["/p","archive",n],r=this.getFirstParentFolder(e);return r&&this.isNotPublicRoot(r)?a.push(r.archiveNbr,r.folder_linkId.toString()):e.parentFolderArchiveNumber&&e.parentFolder_linkId&&n!==e.parentFolderArchiveNumber&&a.push(e.parentFolderArchiveNumber,e.parentFolder_linkId),a.push("record",e.archiveNbr),a}else return["/p","archive",n,e.archiveNbr,e.folder_linkId]}getFirstParentFolder(e){let i=e.ParentFolderVOs;if(i&&i.length>0)return i[0]}getPublicArchiveNbr(e){if(e.archiveArchiveNbr)return e.archiveArchiveNbr;let i=this.getFirstParentFolder(e);return i&&i.archiveArchiveNbr?i.archiveArchiveNbr:e.archiveNbr.split("-")[0]+"-0000"}isNotPublicRoot(e){return e.folder_linkType!=="type.folder_link.root.public"&&e.type!=="type.folder.root.public"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"publicRoute",type:t,pure:!0,standalone:!1})}}return t})();var zZ=ic.apiUrl.replace("/api",""),ln=(()=>{class t{constructor(e){this.routePipe=e}transform(e,i){let n=this.routePipe.transform(e,i).join("/");return`${zZ}${n}`}static{this.\u0275fac=function(i){return new(i||t)($(on,16))}}static{this.\u0275pipe=i3({name:"publicLink",type:t,pure:!0,standalone:!1})}}return t})();var LZ=["publicLinkInput"],MZ=["iaLinkInput"];function vZ(t,c){if(t&1){let e=z1();T(0,"div",5)(1,"p"),F(2,"This item can be viewed by anyone using the link provided"),D(),O1(3,"input",9,0),T(5,"div",10)(6,"button",11),e1("click",function(){a1(e);let n=O();return s1(n.copyPublicLink())}),F(7),D(),T(8,"button",12),e1("click",function(){a1(e);let n=O();return s1(n.onViewOnWebClick())}),F(9," View on web "),D()()()}if(t&2){let e=O();k(3),t1("value",e.publicLink),k(3),t1("disabled",e.linkCopied),k(),I1(" ",e.linkCopied?"Link copied":"Copy link"," ")}}function _Z(t,c){if(t&1){let e=z1();T(0,"div",6)(1,"p"),F(2," Create a publicly viewable copy of this item in your Public workspace and get a public link to share with anyone. "),D(),T(3,"button",11),e1("click",function(){a1(e);let n=O();return s1(n.publishItem())}),F(4," Publish "),D()()}if(t&2){let e=O();k(3),t1("disabled",e.waiting)}}function CZ(t,c){if(t&1){let e=z1();T(0,"div",6)(1,"p"),F(2," This item can also be published to the Internet Archive. "),T(3,"a",14),F(4,"Learn more about publishing to the Internet Archive."),D()(),T(5,"button",15),e1("click",function(){a1(e);let n=O(2);return s1(n.publishItemToInternetArchive())}),F(6," Publish to Internet Archive "),D()()}if(t&2){let e=O(2);k(5),t1("disabled",e.waiting||!e.isAtleastManager)}}function yZ(t,c){if(t&1){let e=z1();T(0,"div",5)(1,"p"),F(2," When processed, you can view this item on the Internet Archive with the link provided. Processing may take several minutes. "),D(),O1(3,"input",9,1),T(5,"div",10)(6,"button",11),e1("click",function(){a1(e);let n=O(2);return s1(n.copyInternetArchiveLink())}),F(7),D(),T(8,"a",16),F(9,"View on web"),D()()()}if(t&2){let e=O(2);k(3),t1("value",e.publishIa.permalink),k(3),t1("disabled",e.iaLinkCopied),k(),I1(" ",e.iaLinkCopied?"Link copied":"Copy link"," "),k(),t1("href",e.publishIa.permalink,Kt)}}function bZ(t,c){if(t&1&&(O1(0,"hr")(1,"img",13),Y(2,CZ,7,1,"div",6)(3,yZ,10,4,"div",5),O1(4,"hr")),t&2){let e,i=O();k(2),Z((e=i.publishIa)===null?2:3)}}var Af=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h,g,v){this.data=e,this.dialogRef=i,this.account=n,this.ga=a,this.api=r,this.messageService=l,this.accountService=f,this.router=m,this.linkPipe=h,this.routePipe=g,this.event=v,this.sourceItem=null,this.publicItem=null,this.publicLink=null,this.publishIa=null,this.waiting=!1,this.linkCopied=!1,this.iaLinkCopied=!1,this.isAtleastManager=!1,this.sourceItem=this.data.item,this.isAtleastManager=this.getRole().includes("manager")||this.getRole().includes("owner"),this.sourceItem?.folder_linkType?.includes("public")&&(this.publicItem=this.sourceItem,this.publicLink=this.linkPipe.transform(this.publicItem),this.checkInternetArchiveLink())}publishItem(){return A(this,null,function*(){if(!this.sourceItem.type.includes("public")){this.ga.sendEvent(b3.PUBLISH.PublishByUrl.initiated.params),this.waiting=!0;try{let e=(0,kf.find)(this.accountService.getRootFolder().ChildItemVOs,{type:"type.folder.root.public"});if(this.sourceItem instanceof H1){yield this.api.folder.copy([this.sourceItem],e);let i=0;for(;!this.publicItem&&i<10;){i+=1;let r=(yield this.api.folder.getWithChildren([e])).getFolderVO(!0).ChildItemVOs.filter(f=>f instanceof H1),l=(0,kf.maxBy)(r,f=>f.updatedDT);l&&l.displayName===this.sourceItem.displayName?this.publicItem=l:yield new Promise(f=>{setTimeout(()=>f(),1e3)})}this.publicItem||(this.publicItem=this.sourceItem)}else{let i=yield this.api.record.copy([this.sourceItem],e);this.publicItem=i.getRecordVO()}this.publicLink=this.linkPipe.transform(this.publicItem),this.event.dispatch({entity:"record",action:"publish"})}
774catch(e){e.getMessage?e.getMessage()=="warning.record.copy_status"?this.messageService.showError({message:"Sorry, this record cannot be copied or published until processing completes."}):this.messageService.showError({message:e.getMessage()}):this.messageService.showError({message:"error.generic.internal",translate:!0})}finally{this.waiting=!1,this.accountService.refreshAccountDebounced()}}})}copyPublicLink(){this.ga.sendEvent(b3.PUBLISH.PublishByUrl.getLink.params),this.event.dispatch({entity:"account",action:"copy_share_link"});let e=this.publicLinkInput.nativeElement;t5(e),this.linkCopied=!0,setTimeout(()=>{this.linkCopied=!1},5e3)}copyInternetArchiveLink(){let e=this.iaLinkInput.nativeElement;t5(e),this.iaLinkCopied=!0,setTimeout(()=>{this.iaLinkCopied=!1},5e3)}onViewOnWebClick(){this.close(),this.router.navigate(this.routePipe.transform(this.publicItem||this.sourceItem))}checkInternetArchiveLink(){return A(this,null,function*(){this.waiting=!0;try{let e=yield this.api.publish.getInternetArchiveLink({folder_linkId:this.publicItem.folder_linkId});this.publishIa=e.getPublishIaVO()}catch(e){this.messageService.showError({message:"There was a problem loading the Internet Archive publish status of this item."})}this.waiting=!1})}publishItemToInternetArchive(){return A(this,null,function*(){this.waiting=!0;try{let e=this.account.getArchive(),i=this.account.getAccount(),n=yield this.api.publish.publishToInternetArchive({accountId:i.accountId,archiveId:e.archiveId,folder_linkId:this.publicItem.folder_linkId});this.publishIa=n.getPublishIaVO()}catch(e){this.messageService.showError({message:"There was a problem publishing this item to the Internet Archive. Please try again later."})}this.waiting=!1})}close(){this.dialogRef.close()}getRole(){return this.accountService.getArchive().accessRole}static{this.\u0275fac=function(i){return new(i||t)($(j0),$(S4),$(e4),$(t8),$(g2),$(C4),$(e4),$(ce),$(ln),$(on),$(_c))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-publish"]],viewQuery:function(i,n){if(i&1&&k4(LZ,5)(MZ,5),i&2){let a;q1(a=Y1())&&(n.publicLinkInput=a.first),q1(a=Y1())&&(n.iaLinkInput=a.first)}},standalone:!1,features:[H2([ln,on])],decls:10,vars:5,consts:[["publicLinkInput",""],["iaLinkInput",""],[1,"dialog-content"],[1,"dialog-body"],[1,"page-title","break-all"],[1,"public-link"],[1,"public-link-button"],[1,"dialog-footer"],[1,"btn","btn-secondary",3,"click"],["type","text","readonly","",1,"form-control",3,"value"],[1,"buttons"],[1,"btn","btn-primary",3,"click","disabled"],[1,"btn","btn-primary",3,"click"],["src","assets/img/internetarchive/IALogo.png","alt","Internet Archive",1,"internet-archive-logo"],["href","https://desk.zoho.com/portal/permanent/en/kb/articles/publishing-to-the-internet-archive","target","_blank"],[1,"btn","btn-primary","publish-to-archive",3,"click","disabled"],["target","_blank",1,"btn","btn-primary",3,"href"]],template:function(i,n){i&1&&(T(0,"div",2)(1,"div",3)(2,"div",4),F(3),D(),Y(4,vZ,10,3,"div",5),Y(5,_Z,5,1,"div",6),Y(6,bZ,5,1),D(),T(7,"div",7)(8,"button",8),e1("click",function(){return n.close()}),F(9,"Done"),D()()()),i&2&&(k(3),AC(" ",n.sourceItem.folder_linkType.includes("public")?"Get public link for":"Publish"," ",n.sourceItem.displayName," "),k(),Z(n.publicLink?4:-1),k(),Z(!n.publicItem||!n.publicLink?5:-1),k(),Z(n.publicItem?6:-1))},styles:["[_nghost-%COMP%]{flex:1;max-width:100%}.dialog-content[_ngcontent-%COMP%]{background-color:#fff;padding-bottom:2px}.public-link-button[_ngcontent-%COMP%], .public-link[_ngcontent-%COMP%]{padding:0 10px}.internet-archive-logo[_ngcontent-%COMP%]{display:block;width:50%;margin:1em}.buttons[_ngcontent-%COMP%]{display:flex}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}.dialog-footer[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%]{width:380px}"]})}}return t})();var i8=o2(u4());var Sk=o2(x8());var xk=o2(x8());function h5(t,c,e){let i=(0,xk.default)(`${c.namespace}:$:${t}`);return i.color=c.color,e.subscribe(n=>i("%o",n))}var wk=o2(x8()),Tf=o2(u4());var bc=(()=>{class t{constructor(e,i){this.account=e,this.api=i,this.tags=new Map,this.tagsSubject=ne
774w E1,this.itemsTagsSubject=new E1,this.debug=(0,wk.default)("service:tagsService"),this.refreshTags(),this.account.archiveChange.subscribe(()=>{this.resetTags()}),h5("getTags",this.debug,this.getTags$())}resetTags(){return A(this,null,function*(){this.debug("reset tags"),this.tags.clear(),yield this.refreshTags()})}refreshTags(){return A(this,null,function*(){if(this.account.getArchive()){let i=(yield this.api.tag.getTagsByArchive(this.account.getArchive())).getTagVOsData().filter(n=>n.name);for(let n of i)this.tags.set(n.tagId,n);this.tagsSubject.next(this.getTags()),this.debug("got %d tags for archive",this.tags.size)}else this.tags.clear()})}checkTagsOnItem(e){if(!e.TagVOs?.length)return;let i=!1;for(let n of e.TagVOs)!this.tags.has(n.tagId)&&n.name&&n.archiveId===this.account.getArchive().archiveId&&(this.tags.set(n.tagId,n),i=!0,this.debug("new tag seen %o",n));i&&this.tagsSubject.next(this.getTags())}getTagByName(e){let i=this.getTags();return(0,Tf.find)(i,{name:e})}getTags(){return(0,Tf.orderBy)(Array.from(this.tags.values()),"name")}getTags$(){return this.tagsSubject.asObservable()}getItemTags$(){return this.itemsTagsSubject.asObservable()}setItemTags(e){this.itemsTagsSubject.next(e)}static{this.\u0275fac=function(i){return new(i||t)(p1(e4),p1(g2))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var xZ=3e3,wZ=(t,c)=>t==null||c===null||c===void 0?!1:String(t)===String(c),P0=(()=>{class t{constructor(e,i){this.api=e,this.tags=i,this.currentFolderChange=new N1,this.showBreadcrumbs=!0,this.showPublicArchiveDescription=!0,this.folderUpdate=new N1,this.multiSelectEnabled=!1,this.multiSelectChange=new N1,this.byFolderLinkId={},this.byArchiveNbr={},this.thumbRefreshQueue=[],this._breadcrumbFolders=[],this.multiclickItems=new Map,this.selectedItems=new Set,this.selectedItemsSubject=new q5(this.selectedItems),this.showItemSubject=new E1,this.currentHiddenItems=[],this.unsharedItemSubject=new E1,this.thumbnailUpdatedSubject=ne
774w E1,this.eventSubject=new E1,this.events=this.eventSubject.asObservable(),this.debug=(0,Sk.default)("service:dataService"),h5("currentFolderChange",this.debug,this.currentFolderChange),h5("folderUpdate",this.debug,this.folderUpdate),h5("selectedItems",this.debug,this.selectedItems$()),h5("showItem",this.debug,this.itemToShow$())}registerItem(e){this.byFolderLinkId[e.folder_linkId]=e,e.archiveNbr&&(this.byArchiveNbr[e.archiveNbr]=e)}unregisterItem(e){delete this.byFolderLinkId[e.folder_linkId],e.archiveNbr&&delete this.byArchiveNbr[e.archiveNbr]}pushBreadcrumbFolder(e){this._breadcrumbFolders.push(e)}cutBreadcrumbRoute(e){let i=this._breadcrumbFolders.findIndex(a=>a.folderId===e.folderId),n=this._breadcrumbFolders.length;this._breadcrumbFolders.splice(i+1,n)}get breadcrumbFolders(){return this._breadcrumbFolders}get ephemeralFolder(){return this._ephemeralFolder}set ephemeralFolder(e){this._ephemeralFolder=e}setCurrentFolder(e,i){e!==this.currentFolder&&(this.currentFolder=e,this.currentFolderChange.emit(e),this.currentHiddenItems=[],this.clearSelectedItems(),clearTimeout(this.thumbRefreshTimeout),this.thumbRefreshQueue=[],this.currentFolder&&!i&&this.scheduleMissingThumbsCheck())}hideItemsInCurrentFolder(e=[]){this.currentHiddenItems=this.currentHiddenItems.concat(e),this.debug("hideItemsInCurrentFolder %d requested",e.length);let i=this.currentHiddenItems.filter(a=>a.parentFolder_linkId===this.currentFolder.folder_linkId);if(!i.length){this.debug("hideItemsInCurrentFolder no items match current folder",this.currentHiddenItems.length);return}let n=new Set;for(let a of i)n.add(a.folder_linkId),this.selectedItems.delete(a);this.selectedItemsSubject.next(this.selectedItems),(0,i8.remove)(this.currentFolder.ChildItemVOs,a=>n.has(a.folder_linkId)),this.debug("hideItemsInCurrentFolder %d removed",i.length)}fetchLeanItems(e,i){return A(this,null,function*(){this.debug("fetchLeanItems %d items requested",e.length);let n=new Map,a=!1;i?(a=!0,e.forEach(l=>{this.registerItem(l)})):i=this.currentFolder;let r=new H1({folderId:i.folderId,archiveNbr:i.archiveNbr,folder_linkId:i.folder_linkId,ChildItemVOs:e.filter(l=>l.isFetching?!1:(l.isFetching=!0,l.fetched=new Promise((f,m)=>{n.set(String(l.folder_linkId),{item:l,resolve:f,reject:m})}),l.fetched.catch(i8.noop),!0)).map(l=>({folder_linkId:l.folder_linkId}))});return r.ChildItemVOs.length?yield this.api.folder.getWithChildren([r]).then(l=>{if(!l.isSuccessful)throw l;return l.getFolderVO().ChildItemVOs}).then(l=>A(this,null,function*(){return l.forEach(f=>{let m=this.byFolderLinkId[f.folder_linkId];if(m){this.byArchiveNbr[f.archiveNbr]=m,m.update(f),m.dataStatus=$0.Lean,m.isFetching=!1;let h=n.get(String(f.folder_linkId));h&&(n.delete(String(f.folder_linkId)),h.resolve(!0)),m.fetched=null;let g=q6(m);g&&this.thumbnailUpdatedSubject.next(m),!m.isFolder&&!g&&wZ(m.parentFolderId,this.currentFolder.folderId)&&(this.debug("thumbRefreshQueue push %s",m.archiveNbr),this.thumbRefreshQueue.push(m))}}),this.settleUnresolvedItems(n),a&&e.forEach(f=>{this.unregisterItem(f)}),this.debug("fetchLeanItems %d items fetched",l.length),yield Promise.resolve(l.length)})).catch(()=>(this.settleUnresolvedItems(n),0)):(this.debug("fetchLeanItems all items already fetching"),yield Promise.resolve(0))})}settleUnresolvedItems(e){for(let{item:i,reject:n}of e.values())i.isFetching=!1,i.fetched=null,n();e.clear()}fetchFullItems(e,i){return A(this,null,function*(){this.debug("fetchFullItems %d items requested",e.length);let n=[],a=[],r=[],l=[];e.forEach(m=>{m.isFetching=!0,m.fetched=new Promise((h,g)=>{n.push(h),a.push(g)}),m.isRecord?r.push(m):l.push(m)});let f=[];return f.push(r.length?this.api.record.get(r):Promise.resolve()),i?f.push(l.length?this.api.folder.getWithChildren(l):Promise.resolve()):f.push(l.length?this.api.folder.getStelaFolderVOs(l):Promise.resolve()),yield Promise.all(f).then(m=>A(this,null,function*(){let h=m[0],g=m[1],v,M;h&&(v=h.getRecordVOs()),g&&(M=g.getFolderVOs());for(let b=0;b<r.length;b+=1)r[b].update(v[b]),r[b].dataStatus=$0.Full,this.tags.checkTagsOnItem(r[b]);for(let b=0;b<l.length;b+=1){let C=l[b];C.update(M[b],l[b]===this.currentFolder),C.dataStatus=$0.Full,this.tags.checkTagsOnItem(l[b])}
774return n.forEach((b,C)=>{e[C].fetched=null,this.byArchiveNbr[e[C].archiveNbr]=e[C],b()}),this.debug("fetchFullItems %d items fetched",e.length),yield Promise.resolve(!0)})).catch(()=>{a.forEach((m,h)=>{e[h].fetched=null,m()})})})}refreshCurrentFolder(e=!1){return A(this,null,function*(){return this.debug("refreshCurrentFolder (sortOnly = %o)",e),yield this.api.folder.navigateLean(this.currentFolder).pipe(m4(i=>{if(this.debug("refreshCurrentFolder data fetched",e),!i.isSuccessful)throw i;return i.getFolderVO(!0)})).toPromise().then(i=>{this.updateChildItems(this.currentFolder,i,e),this.hideItemsInCurrentFolder(),this.debug("refreshCurrentFolder done",e),this.folderUpdate.emit(this.currentFolder),this.currentHiddenItems=[]})})}updateChildItems(e,i,n=!1){if(this.debug("updateChildItems (sortOnly = %o)",n),!i.ChildItemVOs||!i.ChildItemVOs.length){e.ChildItemVOs=i.ChildItemVOs,this.debug("updateChildItems done no child items",n);return}let a=e.ChildItemVOs,r=i.ChildItemVOs,l=new Map,f=new Map,m=[];if(n){for(let g of a)l.set(g.folder_linkId,g);let h=r.map(g=>l.get(g.folder_linkId));e.ChildItemVOs=h}else{for(let g of r)f.set(g.folder_linkId,g),m.push(g.folder_linkId);for(let g of a)if(l.set(g.folder_linkId,g),f.has(g.folder_linkId)){let M={updatedDT:f.get(g.folder_linkId).updatedDT};g.update(M)}else this.selectedItems.has(g)&&(this.selectedItems.delete(g),this.selectedItemsSubject.next(this.selectedItems));let h=m.map(g=>{let v=!l.has(g),M=v?f.get(g):l.get(g);return v&&(M.isNewlyCreated=!0),M});e.ChildItemVOs=h}this.debug("updateChildItems done %d items",e.ChildItemVOs.length)}checkMissingThumbs(){if(this.currentFolder)if(this.thumbRefreshQueue.length){let e=this.thumbRefreshQueue;this.thumbRefreshQueue=[],this.debug("checkMissingThumbs %d items",e.length),this.fetchLeanItems(e).then(()=>{this.scheduleMissingThumbsCheck()})}else return this.scheduleMissingThumbsCheck()}scheduleMissingThumbsCheck(){this.thumbRefreshTimeout=setTimeout(()=>{this.checkMissingThumbs()},xZ)}getItemByArchiveNbr(e){return this.byArchiveNbr[e]}getItemByFolderLinkId(e){return this.byFolderLinkId[e]}getItemsByFolderLinkIds(e){return e.map(i=>this.getItemByFolderLinkId(Number(i)))}downloadFile(e,i){return A(this,null,function*(){if(e.FileVOs&&e.FileVOs.length)return n(e,i),yield Promise.resolve();return yield this.fetchFullItems([e]).then(()=>{n(e,i)});function n(r,l){let f=a(r,l),m=document.createElement("a");m.href=f.downloadURL,m.click()}function a(r,l){return l?(0,i8.find)(r.FileVOs,{type:l}):(0,i8.find)(r.FileVOs,{format:"file.format.original"})}})}createZipForDownload(e){return A(this,null,function*(){return yield this.api.folder.createZip(e)})}selectedItems$(){return this.selectedItemsSubject.asObservable()}getSelectedItems(){return this.selectedItemsSubject.value}onSelectEvent(e){switch(e.type){case"click":switch(e.modifierKey){case"ctrl":this.clickItemSingle(e.item,!1);break;case"shift":this.clickItemsBetweenItems(this.lastManualclickItem,e.item);break;default:this.clickItemSingle(e.item)}break;case"key":switch(e.key){case"up":case"down":{let i=this.currentFolder.ChildItemVOs,n=this.lastManualclickItem?(0,i8.findIndex)(i,this.lastManualclickItem):0;if(e.modifierKey){this.lastArrowclickItem||(this.lastArrowclickItem=this.lastManualclickItem);let r=(this.lastArrowclickItem?(0,i8.findIndex)(i,this.lastArrowclickItem):0)+(e.key==="up"?-1:1);r=Math.max(0,r),r=Math.min(i.length-1,r);let l=i[r];this.clickItemsBetweenIndicies(n,r),this.lastArrowclickItem=l}else{let a=n+(e.key==="up"?-1:1);a=Math.max(0,a),a=Math.min(i.length-1,a);let r=i[a];r!==this.lastManualclickItem&&this.clickItemSingle(r)}break}case"a":this.clickItemsBetweenIndicies(0,this.currentFolder.ChildItemVOs.length-1);break}break}}clearSelectedItems(){this.selectedItems.clear(),this.selectedItemsSubject.next(this.selectedItems)}clickItemSingle(e,i=!0){this.selectedItems.has(e)?this.selectedItems.size>1&&i?(this.selectedItems.clear(),this.selectedItems.add(e)):i?this.selectedItems.clear():this.selectedItems.delete(e):(i&&(this.selectedItems.clear(),this.lastArrowclickItem=e,this.lastManualclickItem=e),this.selectedItems.add(e)),this.selectedItemsSubject.next(this.selectedItems)}fetchSelectedItems(){return A(this,null,function*(){return yield this.fetchFullItems(Array.from(this.selectedItems.keys()))})}clickItemsBetweenIndicies(e,i){let n=this.currentFolder.ChildItemVOs;this.selectedItems.clear();let a=Math.min(e,i),r=Math.max(e,i);for(;a<=r;)this.selectedItems.add(n[a]),a+=1;this.selectedItemsSubject.next(this.selectedItems)}clickItemsBetweenItems(e,i){let n=this.currentFolder.ChildItemVOs,a=e?(0,i8.findIndex)(n,e):0,r=(0,i8.findIndex)(n,i);this.clickItemsBetweenIndicies(a,r)}setMultiSelect(e){this.multiSelectEnabled=e,this.multiSelectChange.emit(e),this.multiSelectEnabled||setTimeout(()=>{this.multiclickItems.clear()},500)}setItemMultiSelectStatus(e,i){i?this.multiclickItems.set(e.folder_linkId,e):this.multiclickItems.delete(e.folder_linkId)}showItem(e,i=!1){this.showItemSubject.next(e),i&&(this.clearSelectedItems(),this.clickItemSingle(this.byFolderLinkId[e.folder_linkId],!0),this.debug("selected item %o",e))}itemToShow$(){return this.showItemSubject.asObservable()}unsharedItem$(){return this.unsharedItemSubject.asObservable()}thumbnailUpdated$(){return this.thumbnailUpdatedSubject.asObservable()}itemUnshared(e){this.clearSelectedItems(),this.unsharedItemSubject.next(e)}showItemAfterNavigate(e){this.debug("got item to show after navigate %o",e),this.itemToShowAfterNavigate=e}getItemToShowAfterNavigate(){let e=this.itemToShowAfterNavigate;return this.itemToShowAfterNavigate=null,e}beginPreparingForNavigate(){this.eventSubject.next(!0)}getThumbRefreshQueue(){return this.thumbRefreshQueue}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(bc))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var Of=(()=>{class t{constructor(e,i,n){this.api=e,this.data=i,this.tags=n,this.fuseOptions={keys:["displayName"],threshold:.1,ignoreLocation:!0}
774,this.fuse=new c6([],this.fuseOptions),this.tagsFuseOptions={keys:["name"],threshold:.1,ignoreLocation:!0},this.tagsFuse=new c6([],this.tagsFuseOptions),this.data.currentFolderChange.subscribe(()=>{this.indexCurrentFolder()}),this.indexTags(this.tags.getTags()),this.tags.getTags$().subscribe(a=>{this.indexTags(a)})}getResultsInCurrentFolder(e,i){return this.searchWithFuse(this.fuse,e,i)}getTagResults(e,i){return this.searchWithFuse(this.tagsFuse,e,i)}parseSearchTerm(e){let i=/\s(?=(?:[^"]+(["])[^"]+\1)*[^"]*$)/g,n=/"(.+)"/g,a,r=[];if(e.match(/tag:"(.*)"/)){let l=[],f=e.split(i).filter(m=>m&&m!=='"');for(let m of f)if(m.includes("tag:")){let h=m.match(n)||[];for(let g of h)if(g){let v=this.removeFirstAndLastQuotes(g),M=this.tags.getTagByName(v);M&&r.push(M)}r.length||(a=e)}else l.push(m);l.length&&(a=l.join(" "))}else a=e;return[a,r]}removeFirstAndLastQuotes(e){return e.replace(/^"|"$/g,"")}getResultsInCurrentArchive(e,i,n){return this.api.search.itemsByNameObservable(e,i,n)}getResultsInPublicArchive(e,i,n,a){return this.api.search.itemsByNameInPublicArchiveObservable(e,i,n,a)}getPublicArchiveTags(e){return this.api.search.getPublicArchiveTags(e)}searchWithFuse(e,i,n){return i?e.search(i).slice(0,n).map(a=>a.item):[]}indexCurrentFolder(){this.data.currentFolder?.ChildItemVOs?this.fuse.setCollection(this.data.currentFolder.ChildItemVOs):this.fuse.setCollection([])}indexTags(e){e?.length?this.tagsFuse.setCollection(e):this.tagsFuse.setCollection([])}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(P0),p1(bc))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();function NZ(t,c){if(t&1){let e=z1();T(0,"pr-manage-tags",11),e1("refreshTags",function(){a1(e);let n=O(3);return s1(n.refreshTags())}),D()}if(t&2){let e=O(3);t1("tags",e.tags)}}function kZ(t,c){t&1&&F(0," Loading Archive Keywords... ")}function AZ(t,c){if(t&1&&Y(0,NZ,1,1,"pr-manage-tags",10)(1,kZ,1,0),t&2){let e=O(2);Z(e.loadingTags?1:0)}}function TZ(t,c){t&1&&(T(0,"p"),F(1," You do not have permission to manage settings for this archive. "),T(2,"a",12),F(3,"Learn more about permissions for managing archive settings here."),D()())}function DZ(t,c){if(t&1&&(T(0,"div",9),F(1,"Manage Keywords"),D(),Y(2,AZ,2,1)(3,TZ,4,0,"p")),t&2){let e=O();k(2),Z(e.hasTagsAccess?2:3)}}function OZ(t,c){if(t&1&&O1(0,"pr-public-settings",14),t&2){let e=O(2);t1("archive",e.archive)}}function EZ(t,c){t&1&&(T(0,"p"),F(1," You do not have permission to manage settings for this archive. "),T(2,"a",12),F(3,"Learn more about permissions for managing archive settings here."),D()())}function IZ(t,c){if(t&1&&(T(0,"div",9),F(1,"Archive Storage"),D(),O1(2,"pr-archive-payer",13),T(3,"div",9),F(4,"Public Gallery Page Settings"),D(),Y(5,OZ,1,1,"pr-public-settings",14)(6,EZ,4,0,"p")),t&2){let e=O();k(2),t1("payer",e.payer)("archive",e.archive),k(3),Z(e.hasTagsAccess?5:6)}}function PZ(t,c){t&1&&O1(0,"pr-manage-custom-metadata")}function RZ(t,c){t&1&&(T(0,"p"),F(1," You do not have permission to manage settings for this archive. "),T(2,"a",12),F(3,"Learn more about permissions for managing archive settings here."),D()())}function FZ(t,c){if(t&1&&(T(0,"div",9),F(1,"Manage Custom Metadata"),D(),T(2,"p"),F(3," Custom metadata allows you to add additional metadata fields and values that are not currently included on Permanent.org. Manage the fields and values on this page. "),T(4,"a",15),F(5,"Learn more."),D()(),Y(6,PZ,1,0,"pr-manage-custom-metadata")(7,RZ,4,0,"p")),t&2){let e=O();k(6),Z(e.hasTagsAccess?6:7)}}function VZ(t,c){t&1&&O1(0,"pr-directive-dialog")}function HZ(t,c){t&1&&(F(0," You do not have permission to set an Archive Steward for this archive. Only owners can set an Archive Steward for an archive. "),T(1,"a",16),F(2,"Learn more."),D())}function BZ(t,c){if(t&1&&Y(0,VZ,1,0,"pr-directive-dialog")(1,HZ,3,0),t&2){let e=O();Z(e.hasStewardAccess?0:1)}}var UZ=["manage-keywords","manage-metadata","public-settings","legacy-planning"],Nk=(()=>{class t{constructor(e,i,n,a,r){this.dialogRef=e,this.api=i,this.account=n,this.tagsService=a,this.route=r,this.MAX_FETCH_ATTEMPTS=5,this.activeTab="public-settings",this.tags=[],this.loadingTags=!0,this.fetchTagsAttempts=0,[...UZ].includes(r.snapshot.fragment)&&(this.activeTab=r.snapshot.fragment)}ngOnInit(){let e=this.account.getArchive().accessRole;this.hasTagsAccess=e==="access.role.owner"||e==="access.role.manager",this.hasStewardAccess=e==="access.role.owner",this.hasTagsAccess&&this.api.tag.getTagsByArchive(this.account.getArchive()).then(i=>{this.tags=i.getTagVOs(),this.bindTagsToArchive(),this.loadingTags=!1}).catch(()=>{setTimeout(()=>{if(this.fetchTagsAttempts+=1,this.fetchTagsAttempts<this.MAX_FETCH_ATTEMPTS)this.ngOnInit();else throw new Error("Archive Settings: Maximum number of keyword fetch attempts reached.")},1e3)}),this.archive=this.account.getArchive(),this.api.archive.getMembers(this.archive).then(i=>{let n=i.getAccountVOs();this.payer=n.find(a=>a.accountId===this.archive.payerAccountId)})}refreshTags(){setTimeout(()=>{this.tagsService.resetTags(),this.ngOnInit()},500)}onDoneClick(){this.dialogRef.close()}setTab(e){this.activeTab=e}bindTagsToArchive(){let e=this.account.getArchive()?.archiveId;for(let i of this.tags)i.archiveId=e}static{this.\u0275fac=function(i){return new(i||t)($(S4),$(g2),$(e4),$(bc),$(ee))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-archive-settings-dialog"]],standalone:!1,decls:23,vars:9,consts:[["panel",""],[1,"dialog-content"],[1,"header"],[1,"btn",3,"click"],[1,"material-icons"],[1,"content"],[1,"tabs"],[1,"dialog-tab",3,"click"],[1,"panel"],[1,"panel-title"],[3,"tags"],[3,"refreshTags","tags"],["href","https://desk.zoho.com/portal/permanent/en/kb/articles/roles-for-collaboration-and-sharing","target","_blank"],[3,"payer","archive"],[3,"archive"],["href","https://permanent.zohodesk.com/portal/en
774/kb/articles/extended-metadata-options-with-tags","target","_blank"],["href","https://permanent.zohodesk.com/portal/en/kb/articles/roles-for-collaboration-and-sharing"]],template:function(i,n){if(i&1&&(T(0,"div",1)(1,"div",2)(2,"span"),F(3,"Archive Settings"),D(),T(4,"button",3),e1("click",function(){return n.onDoneClick()}),T(5,"i",4),F(6,"close"),D()()(),T(7,"div",5)(8,"div",6)(9,"div",7),e1("click",function(){return n.setTab("public-settings")}),F(10," Archive Settings "),D(),T(11,"div",7),e1("click",function(){return n.setTab("legacy-planning")}),F(12," Legacy Planning "),D(),T(13,"div",7),e1("click",function(){return n.setTab("manage-keywords")}),F(14," Manage Keywords "),D(),T(15,"div",7),e1("click",function(){return n.setTab("manage-metadata")}),F(16," Manage Metadata "),D()(),T(17,"div",8,0),Y(19,DZ,4,1)(20,IZ,7,3)(21,FZ,8,1)(22,BZ,2,1),D()()()),i&2){let a;k(9),M1("active",n.activeTab==="public-settings"),k(2),M1("active",n.activeTab==="legacy-planning"),k(2),M1("active",n.activeTab==="manage-keywords"),k(2),M1("active",n.activeTab==="manage-metadata"),k(4),Z((a=n.activeTab)==="manage-keywords"?19:a==="public-settings"?20:a==="manage-metadata"?21:a==="legacy-planning"?22:-1)}},styles:['[_nghost-%COMP%]{display:block;width:100%}.header[_ngcontent-%COMP%]{height:3.75rem;flex:0 0 auto;background-color:purple;display:flex;align-items:center;color:#fff;font-size:1.25rem;padding:0 1.25rem;padding-right:0}.content[_ngcontent-%COMP%]{flex:1 1 auto;overflow-y:auto;background-color:#fff}@media screen and (min-width:900px){.content[_ngcontent-%COMP%]{display:flex;height:43.75rem;overflow:visible}}.tabs[_ngcontent-%COMP%] .dialog-tab.active[_ngcontent-%COMP%]:before{opacity:1;background-color:purple}.panel[_ngcontent-%COMP%]{flex:1 1 auto;padding:0 .625rem}@media screen and (min-width:900px){.panel[_ngcontent-%COMP%]{padding:1.25rem;overflow-y:auto}}.panel-title[_ngcontent-%COMP%]{font-weight:700;height:2.5rem;line-height:2.5rem}.btn[_ngcontent-%COMP%]{margin:1.25rem 0;width:auto}form[_ngcontent-%COMP%]{margin-left:0;max-width:500px;padding:1.25rem 0}form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{display:flex;align-items:center}form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%] .row-label[_ngcontent-%COMP%]{flex:0 0 8rem;font-weight:700;margin:0;margin-right:1.25rem}form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{margin-bottom:1.25rem}@media screen and (max-width:899px){form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{display:block}form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-bottom:.3125rem}}form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%]{display:flex;align-items:center}form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:auto;flex:0 0 auto}form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *.form-control[_ngcontent-%COMP%]{flex:1 1 auto}form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:.625rem}form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{padding:.625rem .25rem;height:auto}form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{max-width:300px}form[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]:not(:last-child){margin-right:.625rem}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:1.875rem;font-weight:600;font-size:.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;justify-content:center;margin:0 auto 0 0;margin-left:9.25rem;width:auto}@media screen and (max-width:899px){form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 auto}}pr-storage-meter[_ngcontent-%COMP%]{margin:1.25rem 0}.nav-to-redeem[_ngcontent-%COMP%]{margin-top:20px}.fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}.header[_ngcontent-%COMP%]{height:3.75rem;flex:0 0 auto;background-color:#5261b7;display:flex;align-items:center;color:#fff;font-size:1.25rem;padding:0 1.25rem;padding-right:0}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1 1 auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 0 0 auto;flex:0 0 auto;width:auto;height:2.5rem;padding-top:0;padding-bottom:0;background:none;outline:none;display:flex;align-items:center;justify-content:center;color:#fff}.tabs[_ngcontent-%COMP%]{flex:0 0 13.75rem}
774@media screen and (min-width:900px){.tabs[_ngcontent-%COMP%]{border-right:1px solid #dee2e6;padding-top:1.25rem}}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%]{height:2.5rem;position:relative;display:flex;align-items:center;padding-left:.625rem;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:.875rem}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%]:not(.active){color:var(--bs-secondary-color)}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%]:before{content:" ";background-color:#adb5bd;position:absolute;left:0;width:.25rem;top:0;bottom:0;opacity:0;transition:opacity 125ms cubic-bezier(.63,.01,.3,1)}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%]:hover{text-decoration:none}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%]:hover:before{transition:opacity 0ms;opacity:1}.tabs[_ngcontent-%COMP%] .dialog-tab.active[_ngcontent-%COMP%]{font-weight:600}.tabs[_ngcontent-%COMP%] .dialog-tab.active[_ngcontent-%COMP%]:before{opacity:1;background-color:#5261b7}.tabs[_ngcontent-%COMP%] .dialog-tab[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px;margin-left:.625rem}']})}}return t})();var kk=o2(u4());function $Z(t,c){t&1&&(T(0,"div",0),F(1,"Click to add"),D())}function jZ(t,c){if(t&1&&(T(0,"div",2),F(1),D()),t&2){let e=O();k(),I1(" ",e.canEdit&&!e.isEditing?"Click to add":"No keywords"," ")}}function WZ(t,c){if(t&1&&(T(0,"p",8),F(1),D()),t&2){let e=O().$implicit,i=O(2);M1("fullText",i.hoveredMetadataId===e.tagId),k(),I1(" ",e.name," ")}}function GZ(t,c){if(t&1&&(T(0,"p",9),F(1),D()),t&2){let e=O().$implicit,i=O(2);M1("fullText",i.hoveredMetadataId===e.tagId),k(),I1(" ",e.name.split(":")[0]," ")}}function qZ(t,c){if(t&1&&(T(0,"p",10),F(1),D()),t&2){let e=O().$implicit,i=O(2);M1("fullText",i.hoveredMetadataId===e.tagId),k(),I1(" ",e.name.slice(e.name.indexOf(":")+1)," ")}}function YZ(t,c){if(t&1){let e=z1();T(0,"div",4),e1("mouseenter",function(){let n=a1(e).$implicit,a=O(2);return s1(a.hoveredMetadataId=n.tagId)})("mouseleave",function(){a1(e);let n=O(2);return s1(n.hoveredMetadataId=null)}
774),Y(1,WZ,2,3,"p",5),Y(2,GZ,2,3,"p",6),Y(3,qZ,2,3,"p",7),D()}if(t&2){let e=c.$implicit,i=O(2);t1("@ngIfScaleAnimationDynamic",i.animate?"animate":"static"),k(),Z(e.name.includes(":")?-1:1),k(),Z(e.name.includes(":")?2:-1),k(),Z(e.name.includes(":")?3:-1)}}function ZZ(t,c){if(t&1&&a2(0,YZ,4,4,"div",3,SC().tagTrackByFn,!0),t&2){let e=O();s2(e.orderedTags)}}var Ak=(()=>{class t{constructor(){this.readOnly=!0,this.canEdit=!1,this.isEditing=!1,this.animate=!1,this.isDialog=!1,this.orderedTags=[],this.hoveredMetadataId=null}ngOnChanges(){if(this.tags?.length){for(;this.orderedTags.length;)this.orderedTags.pop();let e=(0,kk.orderBy)(this.tags,"name");for(let i of e)this.orderedTags.push(i)}else this.orderedTags=[]}tagTrackByFn(e,i){return i.name}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-tags"]],hostVars:2,hostBindings:function(i,n){i&2&&M1("read-only",n.readOnly)},inputs:{tags:"tags",readOnly:"readOnly",canEdit:"canEdit",isEditing:"isEditing",animate:"animate",isDialog:"isDialog"},standalone:!1,features:[R2],decls:4,vars:3,consts:[[1,"not-empty"],[1,"tags"],[1,"empty"],[1,"tag"],[1,"tag",3,"mouseenter","mouseleave"],[1,"keyword","truncatedText",3,"fullText"],[1,"customMetadataField","truncatedText",3,"fullText"],[1,"customMetadataValue","truncatedText",3,"fullText"],[1,"keyword","truncatedText"],[1,"customMetadataField","truncatedText"],[1,"customMetadataValue","truncatedText"]],template:function(i,n){i&1&&(Y(0,$Z,2,0,"div",0),T(1,"div",1),Y(2,jZ,2,1,"div",2),Y(3,ZZ,2,0),D()),i&2&&(Z(n.tags!=null&&n.tags.length&&!n.isEditing&&n.canEdit?0:-1),k(2),Z(n.tags!=null&&n.tags.length?-1:2),k(),Z(n.tags!=null&&n.tags.length?3:-1))},styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}.tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;height:auto;margin-bottom:-.25rem}.tags.can-edit[_ngcontent-%COMP%]{min-height:2.25rem}.tags[_ngcontent-%COMP%]:not(.read-only) .empty[_ngcontent-%COMP%]{color:var(--bs-secondary-color);padding:.25rem 0rem}.tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{padding:.5rem 0rem;border-radius:.5rem;margin-right:.25rem;margin-bottom:.25rem;-webkit-user-select:none;user-select:none;color:#212529;display:flex}.tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .keyword[_ngcontent-%COMP%], .tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .customMetadataField[_ngcontent-%COMP%], .tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .customMetadataValue[_ngcontent-%COMP%]{border-radius:.5rem;padding:.5rem;-webkit-hyphens:auto;hyphens:auto;margin-bottom:0}.tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .keyword[_ngcontent-%COMP%]{background:#80008033;max-width:13rem}.tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .customMetadataField[_ngcontent-%COMP%]{border-radius:.5rem 0rem 0rem .5rem;color:#fff;background:#5261b7;max-width:6.5rem}.tags[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%] .customMetadataValue[_ngcontent-%COMP%]{border-radius:0rem .5rem .5rem 0rem;background:#5261b733;max-width:6.5rem;margin-right:.25em}@media screen and (max-width:899px){.tags[_ngcontent-%COMP%]{max-height:25vh;overflow-y:auto}}.empty[_ngcontent-%COMP%], .not-empty[_ngcontent-%COMP%]{margin-bottom:.25rem}.not-empty[_ngcontent-%COMP%]{color:var(--bs-secondary-color);padding:.25rem 0rem}"],data:{animation:[Qo]}})}}return t})();function XZ(t,c){if(t&1&&(T(0,"div",7),F(1),D()),t&2){let e=O(3);k(),I1(" ",e.tagType==="keyword"?"Keyword cannot contain ':'":"Format must be key:value"," ")}}function QZ(t,c){if(t&1){let e=z1();T(0,"div",5)(1,"input",6),L6("ngModelChange",function(n){a1(e);let a=O(2);return z6(a.newTagName,n)||(a.newTagName=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(2);return s1(n.onTagType(n.newTagName))})("keydown.enter",function(){a1(e);let n=O(2);return s1(n.onInputEnter(n.newTagName))})("keydown",function(n){a1(e);let a=O(2);return s1(a.setFocusToFirstTagOrButton(n))}),D(),Y(2,XZ,2,1,"div",7),T(3,"button",8),e1("click",function(){a1(e);let n=O(2);return s1(n.newTagName?n.onInputEnter(n.newTagName):n.endEditing())})("keydown",function(n){a1(e);let a=O(2);return s1(a.setFocusToFirstTagOrButton(n))}),F(4),D()()}if(t&2){let e=O(2);M1("has-tags",e.allTags==null?null:e.allTags.length),t1("@ngIfScaleAnimation",void 0),k(),t1("ngClass","new-tag-"+e.tagType)("placeholder",e.placeholderText),g6("ngModel",e.newTagName),k(),Z(e.newTagInputError?2:-1),k(),t1("ngClass","add-tag-"+e.tagType),k(),I1(" ",e.newTagName?"Add":"Done"," ")}}function JZ(t,c){if(t&1){let e=z1();T(0,"div",10),e1("click",function(){let n=a1(e).$implicit,a=O(3);return s1(a.onTagClick(n))})("keydown",function(n){let a=a1(e).$index,r=O(3);return s1(r.onArrowNav(n,a))})("keydown.enter",function(){let n=a1(e).$implicit,a=O(3);return s1(a.onTagClick(n))}),T(1,"div",11),O1(2,"div",12),D(),T(3,"div",13),F(4),D()()}if(t&2){let e=c.$implicit,i=O(3);M1("is-selected",i.itemTagsById.has(e.tagId)),t1("ngClass","edit-tag-"+i.tagType),k(4),I1(" ",e.name," ")}}function eK(t,c){if(t&1&&(T(0,"div",3),a2(1,JZ,5,4,"div",9,Q2),D()),t&2){let e=O(2);k(),s2(e.matchingTags)}}function cK(t,c){if(t&1){let e=z1();T(0,"p",4)(1,"span",14),e1("click",function(){a1(e);let n=O(2);return s1(n.onManageTagsClick())}),F(2),D(),F(3," in archive settings. "),D()}if(t&2){let e=O(2);t1("@ngIfScaleAnimation",void 0),k(2),I1(" Manage ",e.tagType==="keyword"?"keywords":"custom metadata")}}function tK(t,c){if(t&1){let e=z1();T(0,"pr-tags",1),e1("focus",function(){a1(e);let n=O();return s1(n.startEditing())})("click",function(){a1(e);let n=O();return s1(n.startEditing())}),D(),Y(1,QZ,5,9,"div",2),Y(2,eK,3,0,"div",3),Y(3,cK,4,2,"p",4)}if(t&2){let e=O();M1("clickable",e.canEdit&&!e.isEditing),t1("tags",e.itemTags)("readOnly",!1)("canEdit",e.canEdit)("animate",e.isEditing)("isEditing",e.isEditing),k(),Z(e.isEditing?1:-1),k(),Z(e.isEditing&&(e.matchingTags!=null&&e.matchingTags.length)?2:-1),k(),Z(e.isEditing?3:-1)}}function iK(t,c){if(t&1){let e=z1();T(0,"input",6),L6("ngModelChange",function(n){a1(e);let a=O(2);return z6(a.newTagName,n)||(a.newTagName=n),s1(n)}),e1("keydown.enter",function(){a1(e);let n=O(2);return s1(n.onInputEnter(n.newTagName))})("ngModelChange",function(){a1(e);let n=O(2);return s1(n.onTagType(n.newTagName))})("keydown",function(n){a1(e);let a=O(2);return s1(a.setFocusToFirstTagOrButton(n))}),D()}if(t&2){let e=O(2);t1("ngClass","new-tag-"+e.tagType)("placeholder",e.placeholderText)("@ngIfScaleAnimation",void 0),g6("ngModel",e.newTagName)}}function nK(t,c){if(t&1&&(T(0,"div",7),F(1),D()),t&2){let e=O(2);k(),I1(" ",e.tagType==="keyword"?"Keyword cannot contain ':'":"Format must be key:value"," ")}}function aK(t,c){if(t&1){let e=z1();T(0,"div",10),e1("click",function(){let n=a1(e).$implicit,a=O(3);return s1(a.onTagClick(n))})("keydown",function(n){let a=a1(e).$index,r=O(3);return s1(r.onArrowNav(n,a))})("keydown.enter",function(){let n=a1(e).$implicit,a=O(3);return s1(a.onTagClick(n))}),T(1,"div",11),O1(2,"div",12),D(),T(3,"div",13),F(4),D()()}if(t&2){let e=c.$implicit,i=O(3);M1("is-selected",i.itemTagsById.has(e.tagId)),t1("ngClass","edit-tag-"+i.tagType),k(4),I1(" ",e.name," ")}}function sK(t,c){t&1&&(T(0,"div",23),F(1,"No existing keywords foun
774d"),D())}function rK(t,c){if(t&1&&(T(0,"div",3),a2(1,aK,5,4,"div",9,Q2),Y(3,sK,2,0,"div",23),D()),t&2){let e=O(2);t1("@ngIfScaleAnimation",void 0),k(),s2(e.matchingTags),k(2),Z(e.matchingTags.length?-1:3)}}function oK(t,c){if(t&1){let e=z1();T(0,"p",4)(1,"span",14),e1("click",function(){a1(e);let n=O(2);return s1(n.onManageTagsClick())}),F(2),D(),F(3," in archive settings. "),D()}if(t&2){let e=O(2);t1("@ngIfScaleAnimation",void 0),k(2),I1(" Manage ",e.tagType==="keyword"?"keywords":"custom metadata")}}function lK(t,c){if(t&1){let e=z1();T(0,"div",0)(1,"div",15)(2,"div",16),F(3),D(),T(4,"div",17)(5,"pr-tags",18),e1("click",function(){a1(e);let n=O();return s1(n.startEditing())}),D(),T(6,"div",5),Y(7,iK,1,4,"input",19),Y(8,nK,2,1,"div",7),T(9,"button",20),e1("click",function(){a1(e);let n=O();return s1(n.onInputEnter(n.newTagName))})("keydown",function(n){a1(e);let a=O();return s1(a.setFocusToFirstTagOrButton(n))}),F(10," Add "),D()(),Y(11,rK,4,2,"div",3),Y(12,oK,4,2,"p",4),D()(),T(13,"div",21)(14,"button",22),e1("click",function(){a1(e);let n=O();return s1(n.close())}),F(15,"Done"),D()()()}if(t&2){let e=O();k(3),_2(e.item.displayName),k(2),t1("tags",e.dialogTags)("canEdit",!0)("animate",e.isEditing)("isEditing",e.isEditing)("isDialog",e.isDialog),k(2),Z(e.isEditing?7:-1),k(),Z(e.newTagInputError?8:-1),k(),t1("ngClass","add-tag-"+e.tagType)("disabled",!e.newTagName),k(2),Z(e.isEditing?11:-1),k(),Z(e.isEditing?12:-1)}}var Ef=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h){this.dialogData=e,this.dialogRef=i,this.searchService=n,this.tagsService=a,this.message=r,this.api=l,this.dataService=f,this.elementRef=m,this.dialog=h,this.itemTagsById=new Set,this.isEditing=!1,this.newTagInputError=!1,this.isDialog=!1,this.waiting=!1,this.subscriptions=[],this.currentIndex=0,this.subscriptions.push(this.tagsService.getTags$().subscribe(g=>{this.allTags?.length>g?.length&&this.endEditing(),this.allTags=this.filterTagsByType(g),this.matchingTags=this.filterTagsByType(g),this.checkItemTags()})),this.dialogData&&(this.isDialog=!0,this.canEdit=!0,this.item=this.dialogData.item,this.tagType=this.dialogData.type,this.startEditing(),this.dialogTagSubscription=this.tagsService.getItemTags$().subscribe(g=>{this.tagType==="keyword"?this.dialogTags=g?.filter(v=>!v.type.includes("type.tag.metadata")&&this.allTags.find(M=>M?.name===v?.name)):this.dialogTags=g?.filter(v=>v.type.includes("type.tag.metadata"))}))}ngOnInit(){this.placeholderText=this.tagType==="keyword"?"Add new keyword":"Add new field:value",this.allTags=this.filterTagsByType(this.tagsService.getTags()),this.matchingTags=this.allTags,this.checkItemTags(),this.lastDataStatus=this.item?.dataStatus,this.lastFolderLinkId=this.item?.folder_linkId}ngOnDestroy(){wi(this.subscriptions),this.dialogTagSubscription?.unsubscribe()}ngDoCheck(){this.item?.folder_linkId!==this.lastFolderLinkId?(this.endEditing(),this.checkItemTags()):this.item?.dataStatus!==this.lastDataStatus&&this.checkItemTags()}onInputEnter(e){return A(this,null,function*(){if(!e||!e.length)return;if(!this.isNewTagInputValid(e)){this.newTagInputError=!0;return}let i={name:e};yield this.onTagClick(i),this.newTagName=null,this.onTagType(this.newTagName)})}onTagClick(e){return A(this,null,function*(){let i={};this.item instanceof H1?(i.refTable="folder",i.refId=this.item.folderId):(i.refTable="record",i.refId=this.item.recordId),this.waiting=!0;try{e.tagId&&this.itemTagsById.has(e.tagId)?yield this.api.tag.deleteTagLink(e,i):yield this.api.tag.create(e,i),yield this.dataService.fetchFullItems([this.item])}catch(n){n instanceof l2&&this.message.showError({message:"There was a problem saving keywords for this item."})}finally{this.checkItemTags(),this.waiting=!1,this.newTagName=null,this.onTagType(this.newTagName)}})}onTagType(e){e?(this.matchingTags=this.filterTagsByType(this.searchService.getTagResults(e)),this.isNewTagInputValid(e)&&(this.newTagInputError=!1)):this.matchingTags=this.allTags}startEditing(){if(!this.canEdit)return!1;this.checkItemTags(),this.isEditing=!0,this.elementRef.nativeElement.scrollIntoView({behavior:"smooth"})}endEditing(){this.isEditing=!1,this.newTagName=null,this.newTagInputError=!1}checkItemTags(){if(this.lastFolderLinkId=this.item?.folder_linkId,this.lastDataStatus=this.item?.dataStatus,this.itemTagsById.clear(),this.itemTags=this.filterTagsByType((this.item?.TagVOs||[]).filter(e=>!!this.allTags?.find(i=>i?.name===e?.name))),!!this.item?.TagVOs?.length){for(let e of this.itemTags)this.itemTagsById.add(e.tagId);this.tagsService.setItemTags(this.item?.TagVOs)}}onManageTagsClick(){this.dialog.open(Nk,{width:"1000px"})}filterTagsByType(e){return e.filter(i=>this.tagType==="keyword"?!i.type.includes("type.tag.metadata"):i.t
774ype.includes("type.tag.metadata"))}isNewTagInputValid(e){return this.tagType==="keyword"?/^[^:]*$/.test(e):/^.+:.+$/.test(e)}close(){this.dialogRef.close()}onArrowNav(e,i){e.stopPropagation(),e.key==="ArrowDown"?(e.preventDefault(),i<this.matchingTags.length-1&&(this.currentIndex+=1,this.setFocusToCurrentIndex(i+1))):e.key==="ArrowUp"&&(e.preventDefault(),i>0?this.setFocusToCurrentIndex(i-1):i===0&&this.setFocusToInputOrButton(`new-tag-${this.tagType}`))}setFocusToInputOrButton(e){this.elementRef.nativeElement.querySelector(`.${e}`).focus()}setFocusToFirstTagOrButton(e){e.key==="ArrowDown"&&(e.preventDefault(),this.setFocusToCurrentIndex(0)),e.key==="ArrowRight"&&(e.stopPropagation(),e.preventDefault(),this.setFocusToInputOrButton(`add-tag-${this.tagType}`)),e.key==="ArrowLeft"&&(e.stopPropagation(),e.preventDefault(),this.setFocusToInputOrButton(`new-tag-${this.tagType}`))}setFocusToCurrentIndex(e){this.elementRef.nativeElement.querySelectorAll(`.edit-tag-${this.tagType}`)[e].focus()}static{this.\u0275fac=function(i){return new(i||t)($(j0,8),$(S4,8),$(Of),$(bc),$(C4),$(g2),$(P0),$(Q1),$(c8))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-edit-tags"]],hostVars:6,hostBindings:function(i,n){i&2&&M1("can-edit",n.canEdit)("is-dialog",n.isDialog)("is-waiting",n.waiting)},inputs:{item:"item",loading:"loading",tagType:"tagType",canEdit:"canEdit"},standalone:!1,features:[H2([Of])],decls:2,vars:2,consts:[[1,"dialog-content"],["tabindex","0",3,"focus","click","tags","readOnly","canEdit","animate","isEditing"],[1,"input-group",3,"has-tags"],[1,"edit-tags"],[1,"manage-tags-message"],[1,"input-group"],["type","text",1,"new-tag","form-control",3,"ngModelChange","keydown.enter","keydown","ngClass","placeholder","ngModel"],[1,"input-vertical-error"],[1,"btn","btn-primary",3,"click","keydown","ngClass"],["tabindex","0",1,"edit-tag",3,"ngClass","is-selected"],["tabindex","0",1,"edit-tag",3,"click","keydown","keydown.enter","ngClass"],[1,"select"],[1,"select-active"],[1,"tag-name"],[1,"manage-tags-link",3,"click"],[1,"dialog-body"],[1,"page-title","break-all"],[1,"edit-tags-dialog-body"],[3,"click","tags","canEdit","animate","isEditing","isDialog"],["type","text",1,"new-tag","form-control",3,"ngClass","placeholder","ngModel"],[1,"btn","btn-primary",3,"click","keydown","ngClass","disabled"],[1,"dialog-footer"],[1,"btn","btn-secondary",3,"click"],[1,"edit-tag"]],template:function(i,n){i&1&&(Y(0,tK,4,10),Y(1,lK,16,12,"div",0)),i&2&&(Z(n.isDialog?-1:0),k(),Z(n.isDialog?1:-1))},dependencies:[Qt,po,sy,Jh,Ak],styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:block;flex:1;max-width:100%;background-color:#fff}.is-waiting[_nghost-%COMP%]{opacity:.5;pointer-events:none}.clickable[_ngcontent-%COMP%]{cursor:pointer}.new-tag[_ngcontent-%COMP%]{position:relative;z-index:1;padding:.5rem .75rem;border-color:#ced4da}.has-tags[_ngcontent-%COMP%] .new-tag[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.edit-tags[_ngcontent-%COMP%]{border:1px solid #ced4da;border-top:0px solid;max-height:10rem;overflow-y:auto;border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}@media screen and (max-width:899px){.edit-tags[_ngcontent-%COMP%]{max-height:30vh}}.input-group[_ngcontent-%COMP%]{margin-top:1.25rem}.input-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:.5rem}.edit-tag[_ngcontent-%COMP%]{padding:.5rem;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.edit-tag[_ngcontent-%COMP%]:hover{background:#f8f9fa}.edit-tag[_ngcontent-%COMP%]:hover:not(.is-selected) .select-active[_ngcontent-%COMP%]{opacity:.5}.edit-tag[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid #ced4da}.edit-tag[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{flex:0 0 20px;height:20px;border-radius:50%;border:1px solid #ced4da;display:flex;align-items:center;justify-content:center;margin-right:.5rem}.edit-tag[_ngcontent-%COMP%] .select-active[_ngcontent-%COMP%]{height:13.3333333333px;width:13.3333333333px;border-radius:50%;background:#131b4a;opacity:0}
774.edit-tag.is-selected[_ngcontent-%COMP%] .select-active[_ngcontent-%COMP%]{opacity:1}.edit-tags-dialog-body[_ngcontent-%COMP%]{padding:0 10px}.input-vertical-error[_ngcontent-%COMP%]{position:absolute;font-size:10px;line-height:1.275rem;background:none;pointer-events:none;opacity:1;transition:.1s ease-in opacity;bottom:0;right:3.75rem;color:#a10000;z-index:100}.manage-tags-message[_ngcontent-%COMP%]{margin-top:1.125rem}.manage-tags-message[_ngcontent-%COMP%] .manage-tags-link[_ngcontent-%COMP%]{font-weight:600;color:#000;text-decoration:underline;cursor:pointer}"],data:{animation:[Xo]}})}}return t})();var FA=o2(u4());var VA=o2(x8());var fK=["*"],ns=class{_ngZone;_pending=[];_listeners=[];_targetStream=new q5(void 0);_clearListeners(){for(let c of this._listeners)c.remove();this._listeners=[]}constructor(c){this._ngZone=c}getLazyEmitter(c,e){return this._targetStream.pipe(x9(i=>{let n=new j6(a=>{if(!i){this._pending.push({observable:n,observer:a});return}let r,l=f=>{this._ngZone.run(()=>a.next(f))};if(e==="native"?(i.addEventListener(c,l),r={remove:()=>i.removeEventListener(c,l)}):r=i.addListener(c,l),!r){a.complete();return}return this._listeners.push(r),()=>r.remove()});return n}))}setTarget(c){let e=this._targetStream.value;c!==e&&(e&&(this._clearListeners(),this._pending=[]),this._targetStream.next(c),this._pending.forEach(i=>i.observable.subscribe(i.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}},is={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},Tk="500px",Dk="500px",fn=(()=>{class t{_elementRef=B(Q1);_ngZone=B(n2);_eventManager=new ns(B(n2));_mapEl;_existingAuthFailureCallback;googleMap;_isBrowser;height=Tk;width=Dk;mapId;mapTypeId;set center(e){this._center=e}_center;set zoom(e){this._zoom=e}_zoom;set options(e){this._options=e||is}_options=is;mapInitialized=new N1;authFailure=new N1;boundsChanged=this._eventManager.getLazyEmitter("bounds_changed");centerChanged=this._eventManager.getLazyEmitter("center_changed");mapClick=this._eventManager.getLazyEmitter("click");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");mapDragstart=this._eventManager.getLazyEmitter("dragstart");headingChanged=this._eventManager.getLazyEmitter("heading_changed");idle=this._eventManager.getLazyEmitter("idle");maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed");mapMousemove=this._eventManager.getLazyEmitter("mousemove");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");projectionChanged=this._eventManager.getLazyEmitter("projection_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");tilesloaded=this._eventManager.getLazyEmitter("tilesloaded");tiltChanged=this._eventManager.getLazyEmitter("tilt_changed");zoomChanged=this._eventManager.getLazyEmitter("zoom_changed");constructor(){let e=B(Y5);if(this._isBrowser=Ye(e),this._isBrowser){let i=window;i.google,this._existingAuthFailureCallback=i.gm_authFailure,i.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();let i=this.googleMap;i&&(e.options&&i.setOptions(this._combineOptions()),e.center&&this._center&&i.setCenter(this._center),e.zoom&&this._zoom!=null&&i.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&i.setMapTypeId(this.mapTypeId)
774)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),google.maps.Map?this._initialize(google.maps.Map):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(e=>this._initialize(e.Map))}))}_initialize(e){this._ngZone.runOutsideAngular(()=>{this.googleMap=new e(this._mapEl,this._combineOptions()),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap)})}ngOnDestroy(){if(this.mapInitialized.complete(),this._eventManager.destroy(),this._isBrowser){let e=window;e.gm_authFailure=this._existingAuthFailureCallback}}fitBounds(e,i){this._assertInitialized(),this.googleMap.fitBounds(e,i)}panBy(e,i){this._assertInitialized(),this.googleMap.panBy(e,i)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,i){this._assertInitialized(),this.googleMap.panToBounds(e,i)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_resolveMap(){return this.googleMap?Promise.resolve(this.googleMap):this.mapInitialized.pipe(U3(1)).toPromise()}_setSize(){if(this._mapEl){let e=this._mapEl.style;e.height=this.height===null?"":Ok(this.height)||Tk,e.width=this.width===null?"":Ok(this.width)||Dk}}_combineOptions(){let e=this._options||{};return m1(E({},e),{center:this._center||e.center||is.center,zoom:this._zoom??e.zoom??is.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||is.mapTypeId,mapId:this.mapId||e.mapId})}_assertInitialized(){this.googleMap}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=y1({type:t,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapId:"mapId",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[R2],ngContentSelectors:fK,decls:2,vars:0,consts:[[1,"map-container"]],template:function(i,n){i&1&&(B0(),p6(0,"div",0),D0(1))},encapsulation:2,changeDetection:0})}return t})(),dK=/([A-Za-z%]+)$/;function Ok(t){return t==null?"":dK.test(t)?t:`${t}px`}var Ek=(()=>{class t{_googleMap=B(fn);_elementRef=B(Q1);_ngZone=B(n2);_eventManager=new ns(B(n2));_options=new q5({});_position=new q5(void 0);_destroy=new E1;infoWindow;set options(e){this._options.next(e||{})}set position(e){this._position.next(e)}closeclick=this._eventManager.getLazyEmitter("closeclick");contentChanged=this._eventManager.getLazyEmitter("content_changed");domready=this._eventManager.getLazyEmitter("domready");positionChanged=this._eventManager.getLazyEmitter("position_changed");zindexChanged=this._eventManager.getLazyEmitter("zindex_changed");infoWindowInitialized=new N1;constructor(){}ngOnInit(){this._googleMap._isBrowser&&this._combineOptions().pipe(U3(1)).subscribe(e=>{google.maps.InfoWindow?this._initialize(google.maps.InfoWindow,e):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(i=>{this._initialize(i.InfoWindow,e)})})})}_initialize(e,i){this._ngZone.runOutsideAngular(()=>{this.infoWindow=new e(i),this._eventManager.setTarget(this.infoWindow),this.infoWindowInitialized.emit(this.infoWindow),this._watchForOptionsChanges(),this._watchForPositionChanges()})}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}openAdvancedMarkerElement(e,i){this.open({getAnchor:()=>e},void 0,i)}open(e,i,n){this._assertInitialized();let a=e?e.getAnchor():void 0;(this.infoWindow.get("anchor")!==a||!a)&&(this._elementRef.nativeElement.style.display=n?"none":"",n&&this.infoWindow.setContent(n),this.infoWindow.open({map:this._googleMap.googleMap,anchor:a,shouldFocus:i}))}_combineOptions(){return $r([this._options,this._position]).pipe(m4(([e,i])=>m1(E({},e),{position:i||e.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe(s4(this._destroy)).subscribe(e=>{this._assertInitialized(),this.infoWindow.setOptions(e)})}_watchForPositionChanges(){this._position.pipe(s4(this._destroy)).subscribe(e=>{e&&(this._assertInitialized(),this.infoWindow.setPosition(e))})}_assertInitialized(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged",infoWindowInitialized:"infoWindowInitialized"},exportAs:["mapInfoWindow"]})}return t})();var mK=new b4("MAP_MARKER"),uK={position:{lat:37.421995,lng:-122.084092}},Ik=(()=>{class t{_googleMap=B(fn);_ngZone=B(n2);_eventManager=new ns(B(n2));set title(e){this._title=e}_title;set position(e){this._position=e}_position;set label(e){this._label=e}_label;set clickable(e){this._clickable=e}_clickable;set options(e){this._options=e}_options;set icon(e){this._icon=e}_icon;set visible(e){this._visible=e}_visible;animationChanged=this._eventManager.getLazyEmitter("animation_changed");mapClick=this._eventManager.getLazyEmitter("click");clickableChanged=this._eventManager.getLazyEmitter("clickable_changed");cursorChanged=this._eventManager.getLazyEmitter("cursor_changed");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");draggableChanged=this._eventManager.getLazyEmitter("draggable_changed");mapDragstart=this._eventManager.getLazyEmitter("dragstart");flatChanged=this._eventManager.getLazyEmitter("flat_changed");iconChanged=this._eventManager.getLazyEmitter("icon_changed");mapMousedown=this._eventManager.getLazyEmitter("mousedown");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");mapMouseup=this._eventManager.getLazyEmitter("mouseup");positionChanged=this._eventManager.getLazyEmitter("position_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");shapeChanged=this._eventManager.getLazyEmitter("shape_changed");titleChanged=this._eventManager.getLazyEmitter("title_changed");visibleChanged=this._eventManager.getLazyEmitter("visible_changed");zindexChanged=this._eventManager.getLazyEmitter("zindex_changed");markerInitialized=new N1;marker;constructor(){}ngOnInit(){this._googleMap._isBrowser&&(google.maps.Marker&&this._googleMap.googleMap?this._initialize(this._googleMap.googleMap,google.maps.Marker):this._ngZone.runOutsideAngular(()=>{Promise.all([this._googleMap._resolveMap(),google.maps.importLibrary("marker")]).then(([e,i])=>{this._initialize(e,i.Marker)})}))}_initialize(e,i){this._ngZone.runOutsideAngular(()=>{this.marker=new i(this._combineOptions()),this._assertInitialized(),this.marker.setMap(e),this._eventManager.setTarget(this.marker),this.markerInitialized.next(this.marker)})}ngOnChanges(e){let{marker:i,_title:n,_position:a,_label:r,_clickable:l,_icon:f,_visible:m}=this;i&&(e.options&&i.setOptions(this._combineOptions()),e.title&&n!==void 0&&i.setTitle(n),e.position&&a&&i.setPosition(a),e.label&&r!==void 0&&i.setLabel(r),e.clickable&&l!==void 0&&i.setClickable(l),e.icon&&f&&i.setIcon(f),e.visible&&m!==void 0&&i.setVisible(m))}ngOnDestroy(){this.markerInitialized.complete(),this._eventManager.destroy(),this.marker?.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_resolveMarker(){return this.marker?Promise.resolve(this.marker):this.markerInitialized.pipe(U3(1)).toPromise()}_combineOptions(){let e=this._options||uK;return m1(E({},e),{title:this._title||e.title,position:this._position||e.position,label:this._label||e.label,clickable:this._clickable??e.clickable,map:this._googleMap.googleMap,icon:this._icon||e.icon,visible:this._visible??e.visible})}_assertInitialized(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=v1({type:t,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapM
774ouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged",markerInitialized:"markerInitialized"},exportAs:["mapMarker"],features:[H2([{provide:mK,useExisting:t}]),R2]})}return t})();var Kf1=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=D1({type:t});static \u0275inj=T1({})}return t})();var Uk=o2(u4());var Pk={lat:39.8333333,lng:-98.585522},Rk=4,Fk=12;var dn=o2(u4());var pK=["string1","string2","string3","day1","day2","textData1","locnId1"],KL={basic:["string1"],blurb:["string1"],description:["textData1"],birth_info:["day1","locnId1"],established_info:["day1","locnId1"],gender:["string1"],email:["string1"],social_media:["string1"],milestone:["day1","string1","locnId1"]},XL=["profile.basic","profile.description","profile.timezone"];function Vk(t,c){let e=c.fieldNameUI.replace("profile.","");t[e]?t[e].push(c):t[e]=[c]}function gK(t,c,e="day1"){t[c]?.length>1&&(t[c]=(0,dn.orderBy)(t[c],e))}var Hk=(()=>{class t{constructor(e,i,n,a,r){this.api=e,this.constants=i,this.account=n,this.folderPicker=a,this.message=r,this.profileItemDictionary={}}promptForProfilePicture(){return A(this,null,function*(){let e=this.account.getPrivateRoot();try{let i=this.account.getArchive(),n=yield this.folderPicker.chooseRecord(e),a=new Z2(i);a.thumbArchiveNbr=n.archiveNbr,a.thumbURL200=n.thumbURL200,a.thumbURL500=n.thumbURL500,a.thumbURL1000=n.thumbURL1000,a.thumbURL2000=n.thumbURL2000;let r=yield this.api.archive.update(a);i.update(r.getArchiveVO())}catch(i){i instanceof m0&&this.message.showError({message:"There was a problem changing the archive profile picture."})}})}fetchProfileItems(){return A(this,null,function*(){let e=this.account.getArchive(),n=(yield this.api.archive.getAllProfileItems(e))?.getProfileItemVOs();this.profileItemDictionary={};for(let a of n){let r=["profile.home","profile.job","profile.location"];(a.fieldNameUI==="profile.home"||a.fieldNameUI==="profile.location")&&(a.string2=a.string1),r.includes(a.fieldNameUI)&&
774(a.fieldNameUI="profile.milestone"),Vk(this.profileItemDictionary,a)}this.stubEmptyProfileItems(),this.orderItems("milestone")})}getProfileItemDictionary(){return this.profileItemDictionary}clearProfileDictionary(){this.profileItemDictionary={}}addProfileItemToDictionary(e){Vk(this.profileItemDictionary,e)}createEmptyProfileItem(e){let i=this.account.getArchive(),n=i?.type.split(".").pop(),l=this.constants.getProfileTemplate()[n][e],f={archiveId:i?.archiveId,fieldNameUI:l?.field_name_ui};switch(e){case"birth_info":case"death_info":f.type="type.widget.date";break;case"job":case"home":case"milestone":f.type="type.widget.locn";break;case"description":f.type="type.widget.description";break;default:f.type="type.widget.string"}return f}getProfileItemsAsArray(){let e=[];for(let i in this.profileItemDictionary)if(Object.prototype.hasOwnProperty.call(this.profileItemDictionary,i)){let n=this.profileItemDictionary[i];e.push(...n)}return e}stubEmptyProfileItems(){let i=this.account.getArchive()?.type.split(".").pop(),a=this.constants.getProfileTemplate()[i],r=Object.keys(a);for(let l of r)this.profileItemDictionary[l]||(this.profileItemDictionary[l]=[this.createEmptyProfileItem(l)])}setProfilePublic(e=!0){return A(this,null,function*(){let i=this.getProfileItemsAsArray().filter(r=>!XL.includes(r.fieldNameUI)),n=[],a=i.filter(r=>r.profile_itemId).map(r=>(n.push(r.publicDT),{profile_itemId:r.profile_itemId,publicDT:e?new Date().toISOString():null}));if(!a.length){if(this.checkProfilePublic()===e)return;{let l={archiveId:this.account.getArchive().archiveId,fieldNameUI:"profile.FORCE_PUBLIC_UPDATE",string1:e?"true":"false",type:"type.widget.string",publicDT:e?new Date().toISOString():null};a.push(l)}}try{(yield this.api.archive.addUpdateProfileItems(a)).getProfileItemVOs().forEac
774h((f,m)=>{i[m].updatedDT=f.updatedDT,i[m].publicDT=f.publicDT})}catch(r){throw i.forEach((l,f)=>{l.publicDT=n[f]}),r}})}checkProfilePublic(){let i=this.getProfileItemsAsArray().filter(a=>!XL.includes(a.fieldNameUI)&&a.profile_itemId);return i.length?(0,dn.some)(i,"publicDT"):!0}saveProfileItem(e,i){return A(this,null,function*(){let n=e;if(i){let l=["profile_itemId","fieldNameUI","archiveId"];for(let f of l.concat(...i))n[f]=e[f]}!n.profile_itemId&&(XL.includes(n.fieldNameUI)||this.checkProfilePublic())&&(n.publicDT=new Date().toISOString());let r=(yield this.api.archive.addUpdateProfileItems([n])).getProfileItemVOs()[0];e.updatedDT=r.updatedDT,e.profile_itemId||(e.profile_itemId=r.profile_itemId)})}deleteProfileItem(e){return A(this,null,function*(){e.profile_itemId&&(yield this.api.archive.deleteProfileItem(e));let i=e.fieldNameUI.split(".")[1],n=this.profileItemDictionary[i];n.length===1?n[0]=this.createEmptyProfileItem(i):(0,dn.remove)(this.profileItemDictionary[i],e)})}getSpecificFieldNameUIFromValueKey(e,i){let n=this.constants.getProfileTemplate(),r=this.account.getArchive().type.split(".").pop(),l=e.split(".").pop();return n[r][l].values[i].field_name_ui}isItemEmpty(e){let i=pK;for(let n of i)if(e[n])return!1;return!0}orderItems(e,i="day1"){gK(this.profileItemDictionary,e)}calculateProfileProgress(){let e=0,i=0,n=this.constants.getProfileTemplate(),r=this.account.getArchive().type.split(".").pop(),l=n[r];for(let f in KL)if(Object.prototype.hasOwnProperty.call(KL,f)&&l[f]){let m=KL[f];e+=m.length;let h=this.profileItemDictionary[f]?.[0];if(h)for(let g of m)h[g]&&(i+=1)}return i/e}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(Y6),p1(e4),p1(xc),p1(C4))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var Bk=(()=>{class t{transform(e){if(!e)return null;let i={},n=e.latitude!=null&&e.latitude!==""&&e.longitude!=null&&e.longitude!=="",a=[e.sublocation,e.city,e.adminOneName,n?`${e.latitude}, ${e.longitude}`:null,e.country],r=[];return a.forEach((l,f)=>{if(l){if(!i.line1)i.line1=l;else if(!(f===3||r.length>1&&f===4||r.length>2)&&(r.push(l),f===4))return!1}}),i.line2=r.length?r.join(", "):"Unknown Location",i.full=i.line1+", "+i.line2,e.name&&(i.name=e.name,i.full=e.name+", "+i.full),i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"prLocation",type:t,pure:!0,standalone:!1})}}return t})();var MK=["mapWrapper"],vK=["autocompleteInput"];function _K(t,c){if(t&1&&O1(0,"map-marker",6),t&2){let e=O();t1("position",e.currentLocationLatLng)}}function CK(t,c){if(t&1&&(T(0,"span"),F(1),D(),O1(2,"br")),t&2){let e=O(2);k(),_2(e.currentLocationDisplay.name)}}function yK(t,c){if(t&1&&(T(0,"div",7)(1,"div",13),Y(2,CK,3,1),T(3,"span"),F(4),D(),O1(5,"br"),T(6,"span"),F(7),D()()()),t&2){let e=O();t1("@ngIfFadeInAnimation",void 0),k(2),Z(e.currentLocationDisplay.name?2:-1),k(2),_2(e.currentLocationDisplay.line1),k(3),_2(e.currentLocationDisplay.line2)}}function bK(t,c){if(t&1){let e=z1();T(0,"button",14),e1("click",function(){a1(e);let n=O();return s1(n.cancel())}),F(1,"Cancel"),D()}}var $k=(()=>{class t{constructor(e,i,n,a,r,l,f,m){this.dialogData=e,this.dialogRef=i,this.api=n,this.profile=a,this.locationPipe=r,this.zone=l,this.message=f,this.editService=m,this.mapOptions={zoom:Fk,streetViewControl:!1,fullscreenControl:!1,mapTypeControl:!1,clickableIcons:!1},this.zoom=Rk,this.center=new google.maps.LatLng(Pk),this.hasChanged=!1,this.saving=!1,this.dialogData&&(this.item=this.dialogData.item,this.profileItem=this.dialogData.profileItem,this.archive=this.dialogData.archive)}ngOnInit(){this.checkItemLocation()}ngAfterViewInit(){this.initAutocomplete(),setTimeout(()=>{this.setMapDimensions()})}initAutocomplete(){this.autocomplete=new google.maps.places.Autocomplete(this.autocompleteInputRef.nativeElement),this.autocomplete.setFields(["name","formatted_address","address_components","geometry"]),this.autocomplete.addListener("place_changed",()=>{this.zone.run(()=>{this.onAutocompletePlaceSelect()})})}setMapDimensions(){let e=this.mapWrapperRef.nativeElement.clientHeight,i=this.mapWrapperRef.nativeElement.clientWidth;this.height=`${e}px`,this.width=`${i}px`}checkItemLocation(){this.item?.LocnVO?this.setCurrentLocation(this.item.LocnVO):this.profileItem?.LocnVOs?.length&&this.setCurrentLocation(this.profileItem.LocnVOs[0])}setCurrentLocationToLatLng(e){return A(this,null,function*(){this.currentLocation=null;let i=yield this.api.locn.geomapLatLng(e.lat(),e.lng());i.isSuccessful?(this.setCurrentLocation(i.getLocnVO(),!0),this.hasChanged=!0):this.message.showError({message:"There was an error in getting the current location."})})}setCurrentLocation(e,i=!1){this.currentLocation=e,this.currentLocationLatLng=new google.maps.LatLng({lat:Number(e.latitude),lng:Number(e.longitude)}),this.currentLocationDisplay=this.locationPipe.transform(e),i?this.map.panTo(this.currentLocationLatLng):this.center=this.currentLocationLatLng}save(){return A(this,null,function*(){if(this.hasChanged){this.saving=!0;try{this.profileItem?yield this.saveProfileItem():yield this.saveItem(),this.dialogRef.close(),this.message.showMessage({message:"Location saved.",style:"success"})}catch(e){throw this.message.showError({message:"There was a problem saving the location."}),e}finally{this.saving=!1}}else this.cancel()})}saveItem(){return A(this,null,function*(){let i=(yield this.api.locn.
774create(this.currentLocation)).getLocnVO();this.item.update({LocnVO:i,locnId:i.locnId}),yield this.editService.updateItems([this.item],["LocnVO"])})}saveProfileItem(){return A(this,null,function*(){let i=(yield this.api.locn.create(this.currentLocation)).getLocnVO();if(i.locnId===this.profileItem.locnId1)return!0;{let n=this.profileItem.locnId1;try{this.profileItem.locnId1=i.locnId,yield this.profile.saveProfileItem(this.profileItem,["locnId1"]),this.profileItem.LocnVOs=[i]}catch(a){throw this.profileItem.locnId1=n,a}}})}cancel(){this.dialogRef&&this.dialogRef.close()}onMapClick(e){this.setCurrentLocationToLatLng(e.latLng)}onAutocompletePlaceSelect(){let e=this.autocomplete.getPlace(),i=this.createLocnFromPlace(e);this.setCurrentLocation(i,!0),this.hasChanged=!0}createLocnFromPlace(e){let i=e.address_components,n=f(i,"street_number"),a=f(i,"route"),r=[n,a].filter(Boolean).join(" ")||null,l={latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng(),postalCode:f(i,"postal_code"),adminOneName:f(i,"administrative_area_level_1"),country:f(i,"country"),sublocation:r,city:f(i,"locality")};return l.name=e.name||null,l;function f(m,h){let g=(0,Uk.find)(m,v=>v.types.includes(h));return g?g.long_name:null}}static{this.\u0275fac=function(i){return new(i||t)($(j0,8),$(S4,8),$(g2),$(Hk,8),$(Bk),$(n2),$(C4),$(Pf))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-location-picker"]],viewQuery:function(i,n){if(i&1&&k4(fn,5)(Ek,5)(MK,5)(vK,5),i&2){let a;q1(a=Y1())&&(n.map=a.first),q1(a=Y1())&&(n.infoWindow=a.first),q1(a=Y1())&&(n.mapWrapperRef=a.first),q1(a=Y1())&&(n.autocompleteInputRef=a.first)}},hostBindings:function(i,n){i&1&&e1("resize",function(){return n.setMapDimensions()},xC)},inputs:{item:"item",profileItem:"profileItem",archive:"archive"},standalone:!1,decls:14,vars:8,consts:[["mapWrapper",""],["autocompleteInput",""],[1,"dialog-content"],[1,"dialog-body"],[1,"map-wrapper"],[3,"mapClick","options","center","height","width"],[3,"position"],[1,"location-panel"],[1,"location-search"],["type","text","placeholder","Search locations",1,"form-control"],[1,"dialog-footer"],[1,"btn","btn-secondary"],[1,"btn","btn-primary",3,"click"],[1,"location-info"],[1,"btn","btn-secondary",3,"click"]],template:function(i,n){i&1&&(T(0,"div",2)(1,"div",3)(2,"div",4,0)(4,"google-map",5),e1("mapClick",function(r){return n.onMapClick(r)}),Y(5,_K,1,1,"map-marker",6),D(),Y(6,yK,8,4,"div",7),T(7,"div",8),O1(8,"input",9,1),D()()(),T(10,"div",10),Y(11,bK,2,0,"button",11),T(12,"button",12),e1("click",function(){return n.save()}),F(13),D()()()),i&2&&(k(4),t1("options",n.mapOptions)("center",n.center)("height",n.height)("width",n.width),k(),Z(n.currentLocation?5:-1),k(),Z(n.currentLocation?6:-1),k(5),Z(n.hasChanged?11:-1),k(2),I1(" ",n.hasChanged?"Save":"Done"," "))},dependencies:[fn,Ik],styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:block;flex:1;width:600px;max-width:100%;background-color:#fff}.map-wrapper[_ngcontent-%COMP%]{height:20rem;position:relative;margin:10px 10px 0}.location-panel[_ngcontent-%COMP%]{position:absolute;bottom:30px;left:5px;padding:.5rem;max-width:15rem;background:#fff;font-size:.875rem;box-shadow:0 .125rem .25rem #00000013}.location-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-weight:700}.location-search[_ngcontent-%COMP%]{position:absolute;top:5px;left:5px;box-shadow:0 .125rem .25rem #00000013;max-width:66%;width:30rem}.location-search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;font-size:.875rem;padding:.5rem}.dialog-content[_ngcontent-%COMP%]{background-color:#fff}"],data:{animation:[Ko]}})}}return t})();var xK=["*",[["","prDialogFooterAside",""]]],wK=["*","[prDialogFooterAside]"],Wk=(()=>{class t{constructor(){this.heading="",this.confirmLabel="Save",this.cancelLabel="Cancel",this.confirmDisabled=!1,this.confirmed=new N1,this.cancelled=new N1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-dialog-frame"]],inputs:{heading:"heading",confirmLabel:"confirmLabel",cancelLabel:"cancelLabel",confirmDisabled:"confirmDisabled"},outputs:{confirmed:"confirmed",cancelled:"cancelled"},ngContentSelectors:wK,decls:17,vars:4,consts:[[1,"pr-dialog-frame"],[1,"pr-dialog-header"],["type","button","aria-label","Close",1,"pr-close-button",3,"click"],[1,"material-icons"],[1,"pr-dialog-body"],[1,"pr-dialog-footer"],[1,"pr-dialog-footer-aside"],[1,"pr-dialog-actions"],["type","button",1,"pr-btn-cancel",3,"click"],["type","button",1,"pr-btn-confirm",3,"click","disabled"]],template:function(i,n){i&1&&(B0(xK),r2(0,"div",0)(1,"div",1)(2,"h2"),F(3),x2(),r2(4,"button",2),M0("click",function(){return n.cancelled.emit()}),r2(5,"i",3),F(6,"close"),x2()()(),r2(7,"div",4),D0(8),x2(),r2(9,"div",5)(10,"div",6),D0(11,1),x2(),r2(12,"div",7)(13,"button",8),M0("click",function(){return n.cancelled.emit()}),F(14),x2(),r2(15,"button",9),M0("click",function(){return n.confirmed.emit()}),F(16),x2()()()()),i&2&&(k(3),_2(n.heading),k(11),I1(" ",n.cancelLabel," "),k(),J2("disabled",n.confirmDisabled),k(),I1(" ",n.confirmLabel," "))},dependencies:[Jt],styles:['@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;
774src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}[_nghost-%COMP%]{display:block}.pr-dialog-frame[_ngcontent-%COMP%]{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001f}.pr-dialog-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:8px;height:64px;padding:0 20px;border-bottom:1px solid #e7e8ed}.pr-dialog-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:UsualMedium,sans-serif;font-size:16px;line-height:24px;letter-spacing:-.01em;margin:0;color:#131b4a}.pr-close-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:4px;color:#b8bbc9;display:flex;align-items:center}.pr-close-button[_ngcontent-%COMP%]:hover{color:#898da4}.pr-close-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:20px}.pr-dialog-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d0d1db;background:#f4f6fd;border-radius:0 0 12px 12px;border-top:none;gap:24px;padding:32px}.pr-dialog-actions[_ngcontent-%COMP%]{display:flex;gap:24px}.pr-btn-cancel[_ngcontent-%COMP%], .pr-btn-confirm[_ngcontent-%COMP%]{font-family:Usual,sans-serif;font-weight:400;font-style:normal;font-size:14px;line-height:24px;letter-spacing:0;font-family:UsualMedium,sans-serif;padding:16px 24px;border:none;border-radius:6px;cursor:pointer;height:40px;
774display:flex;align-items:center;justify-content:center}.pr-btn-cancel[_ngcontent-%COMP%]{background:#fff;color:#131b4a}.pr-btn-confirm[_ngcontent-%COMP%]{background:#131b4a;color:#fff}.pr-btn-confirm[_ngcontent-%COMP%]:hover:not(:disabled){background:#2b325c}.pr-btn-confirm[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}']})}}return t})();function SK(t,c){if(t&1){let e=z1();T(0,"button",9),e1("mousedown",function(n){return n.preventDefault()})("click",function(){a1(e);let n=O();return s1(n.clear())}),T(1,"i",10),F(2,"cancel"),D()()}if(t&2){let e=O();T2("aria-label","Clear "+e.label)}}var Gk=0,NK=()=>(Gk+=1,`pr-icon-text-input-gradient-${Gk}`),qk=(()=>{class t{constructor(){this.label="",this.value="",this.disabled=!1,this.invalid=!1,this.valueChange=new N1,this.gradientId=NK(),this.iconFill=`url('#${this.gradientId}')`}onInput(e){this.valueChange.emit(e.target.value)}clear(){this.valueChange.emit("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-icon-text-input"]],inputs:{icon:"icon",label:"label",value:"value",disabled:"disabled",invalid:"invalid"},outputs:{valueChange:"valueChange"},decls:10,vars:14,consts:[[1,"pr-icon-text-input"],["aria-hidden","true","focusable","false",1,"pr-icon-text-input-gradient"],["x1","0","y1","0","x2","1","y2","0"],["offset","0%",1,"pr-icon-gradient-start"],["offset","100%",1,"pr-icon-gradient-end"],["aria-hidden","true",1,"pr-icon-text-input-icon"],[3,"icon"],["type","text",1,"pr-icon-text-input-control",3,"input","value","placeholder","disabled"],["type","button",1,"pr-icon-text-input-clear"],["type","button",1,"pr-icon-text-input-clear",3,"mousedown","click"],[1,"material-icons"]],template:function(i,n){i&1&&(T(0,"div",0),LC(),T(1,"svg",1)(2,"defs")(3,"linearGradient",2),O1(4,"stop",3)(5,"stop",4),D()()(),MC(),T(6,"span",5),O1(7,"fa-icon",6),D(),T(8,"input",7),e1("input",function(r){return n.onInput(r)}),D(),Y(9,SK,3,1,"button",8),D()),i&2&&(M1("disabled",n.disabled)("invalid",n.invalid),k(3),T2("id",n.gradientId),k(3),Xt("--pr-icon-text-input-fill",n.iconFill),k(),t1("icon",n.icon),k(),t1("value",n.value)("placeholder",n.label)("disabled",n.disabled),T2("aria-label",n.label)("aria-invalid",n.invalid),k(),Z(n.value?9:-1))},dependencies:[Jt,dx,Eo],styles:['@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;
774src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}[_nghost-%COMP%]{display:block}.pr-icon-text-input[_ngcontent-%COMP%]{display:flex;align-items:center;background:#fff;border:1px solid #d0d1db;height:40px;flex:1;height:48px;border-radius:6px;border-color:#e7e8ed;padding:0 12px 0 8px;gap:16px}.pr-icon-text-input[_ngcontent-%COMP%]:focus-within{box-shadow:0 0 0 4px #131b4a08;border-color:#d0d1db}.pr-icon-text-input[_ngcontent-%COMP%]:focus-within .pr-icon-text-input-clear[_ngcontent-%COMP%]{display:flex}.pr-icon-text-input.invalid[_ngcontent-%COMP%], .pr-icon-text-input.invalid[_ngcontent-%COMP%]:focus-within{border-color:#fda29b}.pr-icon-text-input.disabled[_ngcontent-%COMP%]{opacity:.5}.pr-icon-text-input-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;background:#f4f6fd;border-radius:4px;font-size:16px}.pr-icon-text-input-icon[_ngcontent-%COMP%] svg path{fill:var(--pr-icon-text-input-fill) #5a5f80}.pr-icon-text-input-gradient[_ngcontent-%COMP%]{position:absolute;width:0;height:0}.pr-icon-gradient-start[_ngcontent-%COMP%]{stop-color:purple}.pr-icon-gradient-end[_ngcontent-%COMP%]{stop-color:#f93}.pr-icon-text-input-control[_ngcontent-%COMP%]{border:none;background:transparent;text-align:center;font-family:Usual,sans-serif;font-weight:400;font-style:normal;font-size:14px;line-height:24px;letter-spacing:0;color:#131b4a;outline:none}.pr-icon-text-input-control[_ngcontent-%COMP%]::placeholder{color:#898da4}.pr-icon-text-input-control[_ngcontent-%COMP%]:disabled{color:#898da4;cursor:not-allowed}.pr-icon-text-input-control[_ngcontent-%COMP%]{font-family:UsualRegular,sans-serif;text-align:left;flex:1 1 auto;min-width:0}.pr-icon-text-input-clear[_ngcontent-%COMP%]{background:none;border:none;padding:0;cursor:pointer;display:none;align-items:center;color:#131b4a}.pr-icon-text-input-clear[_ngcontent-%COMP%]:hover{color:#42496e}.pr-icon-text-input-clear[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}']})}}return t})();var Yk={prefix:"far",iconName:"house-building",icon:[640,512,[],"e1b1","M352 48l224 0c8.8 0 16 7.2 16 16l0 384c0 8.8-7.2 16-16 16l-160 0c0 18-6 34.6-16 48l176 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L352 0c-35.3 0-64 28.7-64 64l0 60.6 48 44L336 64c0-8.8 7.2-16 16-16zm61.2 208l18.8 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16l0 4.6 6.1 5.6c11.2 10.3 19.2 23.4 23.1 37.9zm2.8 96l16 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-16 0 0 64zm64-144l0 32c0 8.8 7.2 16 16 16l32
7740c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm16 80c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM400 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm80 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zM20.8 237C7.5 249.1 0 266.2 0 284.2L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-163.8c0-17.9-7.5-35.1-20.8-47.2l-128-117.3c-24.5-22.4-62-22.4-86.5 0L20.8 237zM48 284.2c0-4.5 1.9-8.8 5.2-11.8L181.2 155c6.1-5.6 15.5-5.6 21.6 0l128 117.3c3.3 3 5.2 7.3 5.2 11.8L336 448c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-163.8zM144 296l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24z"]};var _d1={prefix:"far",iconName:"people-group",icon:[640,512,[],"e533","M128 128a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm-16 32C50.1 160 0 210.1 0 272c0 44.7 26.2 83.2 64 101.2L64 416c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-32c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-32 0 0-16 0-48 0-128 32 0c12.6 0 24.3 3.6 34.2 9.9c7.9-14.2 18.1-26.9 30.2-37.6C190.2 167.5 168 160 144 160l-32 0zM64 229.7l0 84.7C54 303.1 48 288.2 48 272s6-31.1 16-42.3zM496 208l32 0 0 128 0 48 0 16-32 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 32c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-42.8c37.8-18 64-56.5 64-101.2c0-61.9-50.1-112-112-112l-32 0c-24 0-46.2 7.5-64.4 20.3c12 10.7 22.3 23.4 30.2 37.6c9.9-6.3 21.6-9.9 34.2-9.9zm96 64c0 16.2-6 31.1-16 42.3l0-84.7c10 11.3 16 26.1 16 42.3zM560 80a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM320 144a56 56 0 1 0 0-112 56 56 0 1 0 0 112zm-16 32c-61.9 0-112 50.1-112 112c0 44.7 26.2 83.2 64 101.2l0 58.8c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-58.8c37.8-18 64-56.5 64-101.2c0-61.9-50.1-112-112-112l-32 0zm0 224l0-48 0-128 32 0 0 128 0 48 0 32-32 0 0-32zm-48-69.7c-10-11.3-16-26.1-16-42.3s6-31.1 16-42.3l0 84.7zm128 0l0-84.7c10 11.3 16 26.1 16 42.3s-6 31.1-16 42.3z"]};var Cd1={prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464l349.5 0c-8.9-63.3-63.3-112-129-112l-91.4 0c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3z"]};var yd1={prefix:"far",iconName:"shapes",icon:[512,512,["triangle-circle-square"],"f61f","M288 63.1L220.3 176l135.5 0L288 63.1zM411.4 175.5c5.9 9.9 6.1 22.2 .4 32.2s-16.3 16.2-27.8 16.2l-192 0c-11.5 0-22.2-6.2-27.8-16.2s-5.5-22.3 .4-32.2l96-160C266.3 5.9 276.8 0 288 0s21.7 5.9 27.4 15.5l96 160zM464 320l-128 0 0 128 128 0 0-128zM328 272l144 0c22.1 0 40 17.9 40 40l0 144c0 22.1-17.9 40-40 40l-144 0c-22.1 0-40-17.9-40-40l0-144c0-22.1 17.9-40 40-40zM208 384A80 80 0 1 0 48 384a80 80 0 1 0 160 0zM0 384a128 128 0 1 1 256 0A128 128 0 1 1 0 384z"]};var bd1={prefix:"far",iconName:"family",icon:[512,512,[],"e300","M192 64A64 64 0 1 0 64 64a64 64 0 1 0 128 0zM105.6 208l22.4 0 22.4 0 32.3 0c-4.3-9.8-6.7-20.6-6.7-32c0-3.9 .3-7.8 .8-11.5c-8.3-2.9-17.2-4.5-26.4-4.5l-44.8 0c-41.6 0-76.3 31.9-79.7 73.4l-4.1 49.3c-2.5 29.8 15.7 56.1 42.2 65.6L64 488c0 13.3 10.7 24 24 24s24-10.7 24-24l0-136 32 0 0-16c0-11.1 1.6-21.9 4.6-32L88 304l-2.4 0c-9.4 0-16.7-8-15.9-17.3l4.1-49.3C75.1 220.8 89 208 105.6 208zM336 176c0 11.4-2.4 22.2-6.7 32l38.9 0 15.7 0 15.7 0c7.1 0 13.4 4.7 15.4 11.6L448.4 336 368 336l0 16c0 11.2-1.9 22-5.5 32l37.5 0 0 104c0 13.3 10.7 24 24 24s24-10.7 24-24l0-104 21.6 0c21.3 0 36.6-20.3 30.8-40.8L461.3 206.4c-7.8-27.5-33-46.4-61.5-46.4l-31.4 0c-11.8 0-23 3.2-32.6 8.9c.2 2.3 .3 4.7 .3 7.1zM448 64A64 64 0 1 0 320 64a64 64 0 1 0 128 0zM256 224a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm32 112l0 16c0 8.8-7.2 16-16 16l-16 0-16 0c-8.8 0-16-7.2-16-16l0-16c0-17.7 14.3-32 32-32s32 14.3 32 32zm48 16l0-16c0-44.2-35.8-80-80-80s-80 35.8-80 80l0 16c0 24 13.2 44.9 32.7 55.8c-.5 2.7-.7 5.4-.7 8.2l0 64c0 17.7 14.3 32 32 32l32 0c17.7 0 32-14.3 32-32l0-64c0-2.8-.2-5.5-.7-8.2C322.8 396.9 336 376 336 352z"]};var xd1={prefix:"far",iconName:"square-ellipsis",icon:[448,512,[],"e26e","M48 416c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320zm16 64c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480zM192 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-64 32a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm160-32a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]};var Zk={prefix:"far",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M232 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 8 160.3 0c4.9 0 9.5 2.2 12.5 6L504 102c4.7 5.8 4.7 14.1 0 20l-51.2 64c-3 3.8-7.6 6-12.5 6L280 192l0 32 168 0c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32l-168 0 0 104c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-104L71.7 384c-4.9 0-9.5-2.2-12.5-6L8 314c-4.7-5.8-4.7-14.1 0-20l51.2-64c3-3.8 7.6-6 12.5-6L232 224l0-32L64 192c-17.7 0-32-14.3-32-32l0-96c0-17.7 14.3-32 32-32l168 0 0-8zM80 80l0 64 344.9 0 25.6-32L424.9 80 80 80zM432 336l0-64L87.1 272 61.5 304l25.6 32L432 336z"]};var wd1={prefix:"far",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8l0-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5l0 3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1s0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5l0 3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2l0-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"]};var Kk={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48l93.7 0c2.7 0 5.2 1.3 6.7 3.6l19 28.4-145 0 19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0L177.1 0c-18.7 0-36.2 9.4-46.6 24.9L93.8 80 80.1 80 32 80l-8 0C10.7 80 0 90.7 0 104s10.7 24 24 24l11.6 0L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l201.1 0c33.5 0 61.3-25.9 63.8-59.3L412.4 128l11.6 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0-48.1 0-13.7 0zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8l-201.1 0c-8.4 0-15.3-6.5-16-14.8L83.7 128l280.6 0z"]};var Sd1={prefix:"far",iconName:"scroll-old",icon:[576,512,[],"f70f","M80 80c-17.7 0-32 14.3-32 32l0 48 32 0 0 48-32 0c-26.5 0-48-21.5-48-48l0-48C0 67.8 35.8 32 80 32l320 0c44.2 0 80 35.8 80 80l0 160-32 0-16 0-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0 0-80-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0 0-16c0-17.7-14.3-32-32-32L153.3 80c4.3 9.8 6.7 20.6 6.7 32l0 112 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48c0-26.5 21.5-48 48-48l.6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .5 0 .6 0 .5 0 .6 0 .5 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0 .6 0c26.5 0 48 21.5 48 48l0 48c0 44.2-35.8 80-80 80l-304 0c-44.2 0-80-35.8-80-80l0-288c0-17.7-14.3-32-32-32zM265.3 432L496 432c17.7 0 32-14.3 32-32l0-48s0 0 0 0l-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.5 0-.6 0-.5 0-.6 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0 0 32c0 8.8-7.2 16-16 16s-16-7.2
774-16-16l0-32-.4 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.5 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0-.6 0s0 0 0 0l0 48c0 11.4-2.4 22.2-6.7 32z"]};var Xk={prefix:"far",iconName:"input-numeric",icon:[640,512,[],"e1bd","M576 112c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16L64 400c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm40 120c0 13.3 10.7 24 24 24l8 0 0 96-16 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0-120c0-13.3-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24zm190.6 30.4c5.7-8 17.5-8.6 24-1.2c5.2 5.9 5 14.7-.3 20.5l-72 78c-6.5 7-8.2 17.2-4.3 25.9s12.5 14.4 22 14.4l88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-33.2 0 34.8-37.7c22-23.8 22.4-60.3 1.1-84.7c-26.9-30.7-75.4-28.4-99.2 4.9l-11.1 15.6c-7.7 10.8-5.2 25.8 5.6 33.5s25.8 5.2 33.5-5.6l11.1-15.6z"]};var Qk={prefix:"far",iconName:"flag-usa",icon:[448,512,[],"f74d","M24 0C37.3 0 48 10.7 48 24l0 28 85-21.2c38.1-9.5 78.3-5.1 113.5 12.5c46.3 23.2 100.8 23.2 147.1 0l9.6-4.8C423.8 28.1 448 43.1 448 66.1l0 66.2 0 51.3 0 52.7 0 51.3 0 74.2c0 13.3-8.3 25.3-20.8 30l-34.7 13c-46.2 17.3-97.6 14.6-141.7-7.4c-37.9-19-81.3-23.7-122.5-13.4L48 404l0 84c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-72 0-49.5 0-53.3L0 264l0-46.7L0 168 0 64 0 24C0 10.7 10.7 0 24 0zM400 93c-56.4 22.9-120.2 20.6-175-6.8c-15.3-7.7-32.1-11.8-49-12.3l0 60.7c18.8 .6 37.5 3.6 55.6 9l49.3 14.8c35.2 10.6 72.9 9.3 107.3-3.6l11.8-4.4L400 93zM48 252.9l68.5-15.8c39.8-9.2 81.4-6.9 119.9 6.6l41.9 14.7c37.1 13 77.6 12.5 114.5-1.3l7.3-2.7 0-52.8c-42.9 14.9-89.4 15.9-132.9 2.8l-49.3-14.8c-28-8.4-57.6-9.3-86.1-2.8L48 206.2l0 46.7zm0 49.3l0 52.4 68.6-17.2c52.2-13.1 107.4-7 155.6 17.1c32.2 16.1 69.7 18.1 103.4 5.4l24.4-9.1 0-45.4c-44.7 14.4-93.1 13.9-137.6-1.7L220.5 289c-30-10.5-62.3-12.3-93.3-5.1L48 302.2zM96 104a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm32 0a16 16 0 1 0 0-32 16 16 0 1 0 0 32zM96 152a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm32 0a16 16 0 1 0 0-32 16 16 0 1 0 0 32z"]};var Jk={prefix:"far",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M303.5 5.7c-9-7.6-22.1-7.6-31.1 0l-264 224c-10.1 8.6-11.3 23.7-2.8 33.8s23.7 11.3 33.8 2.8L64 245.5 64 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-186.5 24.5 20.8c10.1 8.6 25.3 7.3 33.8-2.8s7.3-25.3-2.8-33.8l-264-224zM112 432l0-227.2L288 55.5 464 204.8 464 432c0 17.7-14.3 32-32 32l-48 0 0-152c0-22.1-17.9-40-40-40l-112 0c-22.1 0-40 17.9-40 40l0 152-48 0c-17.7 0-32-14.3-32-32zm128 32l0-144 96 0 0 144-96 0z"]};var eA={prefix:"far",iconName:"mountain-sun",icon:[640,512,[],"e52f","M480 80a80 80 0 1 1 160 0A80 80 0 1 1 480 80zM412.7 281.7l48.2-79C465 196.1 472.2 192 480 192s15 4.1 19.1 10.7l132 216.3c5.8 9.6 8.9 20.6 8.9 31.8c0 33.8-27.4 61.1-61.1 61.1l-122.8 0s0 0 0 0L55.9 512C25 512 0 487 0 456.1c0-10.5 3-20.8 8.6-29.7L225.2 81c6.6-10.6 18.3-17 30.8-17s24.1 6.4 30.8 17l126 200.7zm28.5 45.4l62.2 99.2c5.6 8.9 8.6 19.2 8.6 29.7c0 2.7-.2 5.3-.6 7.9l67.4 0c7.2 0 13.1-5.9 13.1-13.1c0-2.4-.7-4.8-1.9-6.8L480 263.6l-38.8 63.6zM456.1 464c4.4 0 7.9-3.5 7.9-7.9c0-1.5-.4-2.9-1.2-4.2L256 122.3 49.2 451.9c-.8 1.3-1.2 2.7-1.2 4.2c0 4.4 3.5 7.9 7.9 7.9l400.2 0z"]};var Nd1={prefix:"far",iconName:"building-columns",icon:[512,512,["bank","institution","museum","university"],"f19c","M267.6 3c-7.2-4-16-4-23.2 0L17.6 128.1C6.7 134.1 0 145.5 0 157.9C0 176.8 15.2 192 34.1 192l443.9 0c18.8 0 34.1-15.2 34.1-34.1c0-12.4-6.7-23.8-17.6-29.8L267.6 3zM228.3 144L88.2 144 256 51.4 423.8 144l-140.1 0c2.7-4.7 4.3-10.2 4.3-16c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 5.8 1.6 11.3 4.3 16zM64 224l0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l392 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-160-48 0 0 160-64 0 0-160-48 0 0 160-64 0 0-160-48 0 0 160-64 0 0-160-48 0zM32 464c-13.3 0-24 10.7-24 24s10.7 24 24 24l456 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L32 464z"]};var cA=(t,c)=>c.key;function kK(t,c){if(t&1){let e=z1();T(0,"label",4)(1,"span",10),F(2),D(),T(3,"span",11)(4,"input",12),e1("change",function(){let n=a1(e).$implicit,a=O();return s1(a.onQualifierChange(n.key))}),D(),O1(5,"span",13),D()()}if(t&2){let e=c.$implicit,i=O();k(2),_2(e.label),k(2),t1("checked",i.qualifiers()[e.key])("disabled",e.key!==i.LocationQualifier.Unknown&&i.fieldsDisabled())}}function AK(t,c){if(t&1){let e=z1();T(0,"pr-icon-text-input",14),e1("valueChange",function(n){let a=a1(e).$implicit,r=O();return s1(r.setField(a.key,n))}),D()}if(t&2){let e=c.$implicit,i=O();t1("icon",e.icon)("label",e.label)("disabled",i.fieldsDisabled())("value",i.location()[e.key]??"")}}var tA=[{key:"sublocation",label:"Postal/Delivery Address",icon:Zk},{key:"city",label:"City/Town/Village",icon:Yk},{key:"adminOneName",label:"State/Province/District",icon:eA},{key:"postalCode",label:"Postal Code",icon:Xk},{key:"country",label:"Country",icon:Qk}],TK=[{key:se.Approximate,label:"Approximate"},{key:se.Uncertain,label:"Uncertain"},{key:se.Unknown,label:"Unknown"}],DK=["locality","streetNumber","streetName","adminOneCode","adminTwoName","adminTwoCode","countryCode","geoCodeLookup"],OK=t=>t?t===se.Unknown?m1(E({},z7),{unknown:!0}):{approximate:t.includes(se.Approximate),uncertain:t.includes(se.Uncertain),unknown:!1}:E({},z7),iA=(()=>{class t{constructor(e,i){this.dialogData=e,this.dialogRef=i,this.fields=tA,this.nameIcon=Jk,this.qual
774ifierOptions=TK,this.LocationQualifier=se,this.location=t3({}),this.qualifiers=t3(E({},z7)),this.savedQualifiers=t3(null),this.fieldsDisabled=b8(()=>this.qualifiers().unknown),this.dialogData&&(this.item=this.dialogData.item,this.profileItem=this.dialogData.profileItem)}ngOnInit(){let e=this.item?.LocnVO??this.profileItem?.LocnVOs?.[0];e&&(this.location.set(E({},e)),this.qualifiers.set(OK(e.locationPrecision)))}setField(e,i){this.location.update(n=>m1(E({},n),{[e]:i}))}onQualifierChange(e){if(e===se.Unknown){this.toggleUnknown();return}this.qualifiers.update(i=>m1(E({},i),{[e]:!i[e]}))}clearAll(){this.location.set(this.clearedLocation()),this.qualifiers.set(E({},z7)),this.savedQualifiers.set(null)}cancel(){this.dialogRef?.close()}save(){let n=this.location(),{locationPrecision:e}=n,i=je(n,["locationPrecision"]);this.dialogRef?.close({location:i,qualifiers:this.qualifiers()})}toggleUnknown(){if(this.qualifiers().unknown){this.qualifiers.set(this.savedQualifiers()??E({},z7)),this.savedQualifiers.set(null);return}this.savedQualifiers.set(this.qualifiers()),this.qualifiers.set(m1(E({},z7),{unknown:!0}))}clearedLocation(){let e=m1(E({},this.location()),{name:""});return tA.forEach(i=>{e[i.key]=""}),DK.forEach(i=>{delete e[i]}),e}static{this.\u0275fac=function(i){return new(i||t)($(j0,8),$(S4,8))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-uncertain-location-picker"]],decls:16,vars:3,consts:[["heading","Add a place or address\u2026",3,"cancelled","confirmed"],[1,"pr-dialog-content"],[1,"pr-qualifiers-row"],[1,"pr-qualifiers-label"],[1,"pr-qualifier-option"],["label","Name this place",3,"valueChange","icon","disabled","value"],[1,"pr-address-fields"],[3,"icon","label","disabled","value"],["type","button","prDialogFooterAside","",1,"pr-clear-link",3,"click"],[1,"material-icons"],[1,"pr-qualifier-option-label"],[1,"pr-toggle"],["type","checkbox",3,"change","checked","disabled"],[1,"pr-toggle-slider"],[3,"valueChange","icon","label","disabled","value"]],template:function(i,n){i&1&&(T(0,"pr-dialog-frame",0),e1("cancelled",function(){return n.cancel()})("confirmed",function(){return n.save()}),T(1,"div",1)(2,"div",2)(3,"span",3),F(4,"This place is:"),D(),a2(5,kK,6,3,"label",4,cA),D(),T(7,"pr-icon-text-input",5),e1("valueChange",function(r){return n.setField("name",r)}),D(),T(8,"div",6),a2(9,AK,1,4,"pr-icon-text-input",7,cA),D()(),T(11,"button",8),e1("click",function(){return n.clearAll()}),T(12,"i",9),F(13,"backspace"),D(),T(14,"span"),F(15,"Clear place and address"),D()()()),i&2&&(k(5),s2(n.qualifierOptions),k(2),t1("icon",n.nameIcon)("disabled",n.fieldsDisabled())("value",n.location().name??""),k(2),s2(n.fields))},dependencies:[Jt,Wk,qk],styles:['@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}@font-face{font-family:UsualBold;src:url("/app/media/Usual-Bold-KNTCZ7QK.woff2") format("woff2"),url("/app/media/Usual-Bold-33D5QECV.woff") format("woff"),url("/app/media/Usual-Bold-S2FYK37J.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualBoldItalic;
774src:url("/app/media/Usual-Bolditalic-X3BIZ7ZM.woff2") format("woff2"),url("/app/media/Usual-BoldItalic-O5MLOEVP.woff") format("woff"),url("/app/media/Usual-BoldItalic-4M226BCZ.ttf") format("truetype");font-weight:700;font-style:italic}@font-face{font-family:UsualExtraBold;src:url("/app/media/Usual-ExtraBold-MVATKU2U.woff2") format("woff2"),url("/app/media/Usual-ExtraBold-MPVUQ5RN.woff") format("woff"),url("/app/media/Usual-ExtraBold-7M4FG6OK.ttf") format("truetype");font-weight:bolder;font-style:normal}@font-face{font-family:UsualExtraBoldItalic;src:url("/app/media/Usual-ExtraBoldItalic-Q77JLMXK.woff2") format("woff2"),url("/app/media/Usual-ExtraBoldItalic-TSDZYPIP.woff") format("woff"),url("/app/media/Usual-ExtraBoldItalic-BQ7BKRRZ.ttf") format("truetype");font-weight:bolder;font-style:italic}@font-face{font-family:UsualItalic;src:url("/app/media/Usual-Italic-ERBXF7XM.woff2") format("woff2"),url("/app/media/Usual-Italic-GVNLRHD3.woff") format("woff"),url("/app/media/Usual-Italic-ILND54R7.ttf") format("truetype");font-weight:400;font-style:italic}@font-face{font-family:UsualLight;src:url("/app/media/Usual-Light-HZ4BTT4J.woff2") format("woff2"),url("/app/media/Usual-Light-OMBFZCZB.woff") format("woff"),url("/app/media/Usual-Light-G6M5EBD3.ttf") format("truetype");font-weight:lighter;font-style:normal}@font-face{font-family:UsualLightItalic;src:url("/app/media/Usual-LightItalic-ZDDKBSLV.woff2") format("woff2"),url("/app/media/Usual-LightItalic-4PY33EEI.woff") format("woff"),url("/app/media/Usual-LightItalic-FF3QO56U.ttf") format("truetype");font-weight:lighter;font-style:italic}@font-face{font-family:UsualMedium;src:url("/app/media/Usual-Medium-LRQ4227K.woff2") format("woff2"),url("/app/media/Usual-Medium-OUUSWRSZ.woff") format("woff"),url("/app/media/Usual-Medium-AG2ILND2.ttf") format("truetype")}@font-face{font-family:UsualMediumItalic;src:url("/app/media/Usual-MediumItalic-O6XJJIX6.woff2") format("woff2"),url("/app/media/Usual-MediumItalic-VN6A3P4J.woff") format("woff"),url("/app/media/Usual-MediumItalic-MXNMFDF7.ttf") format("truetype");font-style:italic}@font-face{font-family:UsualRegular;src:url("/app/media/Usual-Regular-WGNS5L3E.woff2") format("woff2"),url("/app/media/Usual-Regular-TZ4LSESO.woff") format("woff"),url("/app/media/Usual-Regular-AH4MM3KB.ttf") format("truetype")}[_nghost-%COMP%]{display:block;width:640px;max-width:100%}.pr-dialog-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;padding:32px}.pr-qualifiers-row[_ngcontent-%COMP%]{display:flex;align-items:center}.pr-qualifiers-row[_ngcontent-%COMP%] .pr-qualifiers-label[_ngcontent-%COMP%]{font-family:Usual,sans-serif;font-weight:400;font-style:normal;font-size:14px;line-height:24px;letter-spacing:0;font-family:UsualRegular,sans-serif;color:#131b4a;white-space:nowrap;margin-right:auto}.pr-qualifiers-row[_ngcontent-%COMP%] .pr-qualifier-option[_ngcontent-%COMP%]{display:flex;align-items:center;height:24px;gap:18px;padding:0 24px;border-right:1px solid #e7e8ed}.pr-qualifiers-row[_ngcontent-%COMP%] .pr-qualifier-option[_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0}.pr-qualifiers-row[_ngcontent-%COMP%] .pr-qualifier-option[_ngcontent-%COMP%] .pr-qualifier-option-label[_ngcontent-%COMP%]{font-family:Usual,sans-serif;font-weight:400;font-style:normal;font-size:14px;line-height:24px;letter-spacing:0;font-family:UsualRegular,sans-serif;color:#131b4a;white-space:nowrap}.pr-toggle[_ngcontent-%COMP%]{position:relative;display:inline-block;width:36px;height:20px;flex-shrink:0;margin:0}.pr-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.pr-toggle[_ngcontent-%COMP%] .pr-toggle-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#e7e8ed;border-radius:20px;transition:.2s}.pr-toggle[_ngcontent-%COMP%] .pr-toggle-slider[_ngcontent-%COMP%]:before{content:"";position:absolute;height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;border-radius:50%;transition:.2s}.pr-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus-visible + .pr-toggle-slider[_ngcontent-%COMP%]{outline:2px solid #131b4a;outline-offset:2px}.pr-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + .pr-toggle-slider[_ngcontent-%COMP%]{background-color:#12b76a}.pr-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + .pr-toggle-slider[_ngcontent-%COMP%]:before{transform:translate(16px)}.pr-toggle[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + .pr-toggle-slider[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.pr-address-fields[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.pr-clear-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;background:none;border:none;cursor:pointer;padding:0}.pr-clear-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#a10000}.pr-clear-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500;color:#a10000}.pr-clear-link[_ngcontent-%COMP%]:hover{opacity:.8}.pr-clear-link[_ngcontent-%COMP%]{font-family:Usual,sans-serif;font-weight:400;font-style:normal;font-size:14px;line-height:24px;letter-spacing:0;font-family:UsualRegular,sans-serif}.pr-clear-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .pr-clear-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#131b4a}.pr-clear-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:20px}']})}}return t})();var EK=Math.pow(10,8)*24*60*60*1e3,Ud1=-EK,Rf=6048e5,nA=864e5,aA=6e4,Ff=36e5,sA=1e3;var IK=3600;var rA=IK*24,$d1=rA*7,PK=rA*365.2425,RK=PK/12,jd1=RK*3,QL=Symbol.for("constructDateFrom");function U2(t,c){return typeof t=="function"?t(c):t&&typeof t=="object"&&QL in t?t[QL](c):t instanceof Date?new t.constructor(c):new Date(c)}function J1(t,c){return U2(c||t,t)}function g5(t,c,e){let i=J1(t,e?.in);return isNaN(c)?U2(e?.in||t,NaN):(c&&i.setDate(i.getDate()+c),i)}var FK={};function n8(){return FK}function t6(t,c){let e=n8(),i=c?.weekStartsOn??c?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,n=J1(t,c?.in),a=n.getDay(),r=(a<i?7:0)+a-i;return n.setDate(n.getDate()-r),n.setHours(0,0,0,0),n}function P8(t,c){return t6(t,m1(E({},c),{weekStartsOn:1}
774))}function Vf(t,c){let e=J1(t,c?.in),i=e.getFullYear(),n=U2(e,0);n.setFullYear(i+1,0,4),n.setHours(0,0,0,0);let a=P8(n),r=U2(e,0);r.setFullYear(i,0,4),r.setHours(0,0,0,0);let l=P8(r);return e.getTime()>=a.getTime()?i+1:e.getTime()>=l.getTime()?i:i-1}function U7(t){let c=J1(t),e=new Date(Date.UTC(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds()));return e.setUTCFullYear(c.getFullYear()),+t-+e}function Hf(t,...c){let e=U2.bind(null,t||c.find(i=>typeof i=="object"));return c.map(e)}function JL(t,c){let e=J1(t,c?.in);return e.setHours(0,0,0,0),e}function oA(t,c,e){let[i,n]=Hf(e?.in,t,c),a=JL(i),r=JL(n),l=+a-U7(a),f=+r-U7(r);return Math.round((l-f)/nA)}function lA(t,c){let e=Vf(t,c),i=U2(c?.in||t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),P8(i)}function fA(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function R8(t){return!(!fA(t)&&typeof t!="number"||isNaN(+J1(t)))}function dA(t){return c=>{let i=(t?Math[t]:Math.trunc)(c);return i===0?0:i}}function mA(t,c,e){let[i,n]=Hf(e?.in,t,c),a=(+i-+n)/Ff;return dA(e?.roundingMethod)(a)}function uA(t,c){let e=J1(t,c?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var VK={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hA=(t,c,e)=>{let i,n=VK[t];return typeof n=="string"?i=n:c===1?i=n.one:i=n.other.replace("{{count}}",c.toString()),e?.addSuffix?e.comparison&&e.comparison>0?"in "+i:i+" ago":i};function Bf(t){return(c={})=>{let e=c.width?String(c.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}var HK={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},BK={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},UK={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pA={date:Bf({formats:HK,defaultWidth:"full"}),time:Bf({formats:BK,defaultWidth:"full"}),dateTime:Bf({formats:UK,defaultWidth:"full"})};var $K={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},gA=(t,c,e,i)=>$K[t];function mn(t){return(c,e)=>{let i=e?.context?String(e.context):"standalone",n;if(i==="formatting"&&t.formattingValues){let r=t.defaultFormattingWidth||t.defaultWidth,l=e?.width?String(e.width):r;n=t.formattingValues[l]||t.formattingValues[r]}else{let r=t.defaultWidth,l=e?.width?String(e.width):t.defaultWidth;n=t.values[l]||t.values[r]}let a=t.argumentCallback?t.argumentCallback(c):c;return n[a]}}var jK={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},WK={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}
vendor: 10,822 bytes, line 774
774,GK={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},qK={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},YK={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ZK={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},KK=(t,c)=>{let e=Number(t),i=e%100;if(i>20||i<10)switch(i%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},zA={ordinalNumber:KK,era:mn({values:jK,defaultWidth:"wide"}),quarter:mn({values:WK,defaultWidth:"wide",argumentCallback:t=>t-1}),month:mn({values:GK,defaultWidth:"wide"}),day:mn({values:qK,defaultWidth:"wide"}),dayPeriod:mn({values:YK,defaultWidth:"wide",formattingValues:ZK,defaultFormattingWidth:"wide"})};function un(t){return(c,e={})=>{let i=e.width,n=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],a=c.match(n);if(!a)return null;let r=a[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],f=Array.isArray(l)?QK(l,g=>g.test(r)):XK(l,g=>g.test(r)),m;m=t.valueCallback?t.valueCallback(f):f,m=e.valueCallback?e.valueCallback(m):m;let h=c.slice(r.length);return{value:m,rest:h}}}function XK(t,c){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&c(t[e]))return e}function QK(t,c){for(let e=0;e<t.length;e++)if(c(t[e]))return e}function LA(t){return(c,e={})=>{let i=c.match(t.matchPattern);if(!i)return null;let n=i[0],a=c.match(t.parsePattern);if(!a)return null;let r=t.valueCallback?t.valueCallback(a[0]):a[0];r=e.valueCallback?e.valueCallback(r):r;let l=c.slice(n.length);return{value:r,rest:l}}}var JK=/^(\d+)(th|st|nd|rd)?/i,eX=/\d+/i,cX={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},tX={any:[/^b/i,/^(a|c)/i]},iX={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},nX={any:[/1/i,/2/i,/3/i,/4/i]},aX={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},sX={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},rX={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oX={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},lX={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},fX={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},MA={ordinalNumber:LA({matchPattern:JK,parsePattern:eX,valueCallback:t=>parseInt(t,10)}),era:un({matchPatterns:cX,defaultMatchWidth:"wide",parsePatterns:tX,defaultParseWidth:"any"}),quarter:un({matchPatterns:iX,defaultMatchWidth:"wide",parsePatterns:nX,defaultParseWidth:"any",valueCallback:t=>t+1}),month:un({matchPatterns:aX,defaultMatchWidth:"wide",parsePatterns:sX,defaultParseWidth:"any"}),day:un({matchPatterns:rX,defaultMatchWidth:"wide",parsePatterns:oX,defaultParseWidth:"any"}),dayPeriod:un({matchPatterns:lX,defaultMatchWidth:"any",parsePatterns:fX,defaultParseWidth:"any"})};var as={code:"en-US",formatDistance:hA,formatLong:pA,formatRelative:gA,localize:zA,match:MA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function vA(t,c){let e=J1(t,c?.in);return oA(e,uA(e))+1}function Uf(t,c){let e=J1(t,c?.in),i=+P8(e)-+lA(e);return Math.round(i/Rf)+1}function hn(t,c){let e=J1(t,c?.in),i=e.getFullYear(),n=n8(),a=c?.firstWeekContainsDate??c?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=U2(c?.in||t,0);r.setFullYear(i+1,0,a),r.setHours(0,0,0,0);let l=t6(r,c),f=U2(c?.in||t,0);f.setFullYear(i,0,a),f.setHours(0,0,0,0);let m=t6(f,c);return+e>=+l?i+1:+e>=+m?i:i-1}function _A(t,c){let e=n8(),i=c?.firstWeekContainsDate??c?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,n=hn(t,c),a=U2(c?.in||t,0);return a.setFullYear(n,0,i),a.setHours(0,0,0,0),t6(a,c)}function $f(t,c){let e=J1(t,c?.in),i=+t6(e,c)-+_A(e,c);return Math.round(i/Rf)+1}function c4(t,c){let e=t<0?"-":"",i=Math.abs(t).toString().padStart(c,"0");return e+i}var z5={y(t,c){let e=t.getFullYear(),i=e>0?e:1-e;return c4(c==="yy"?i%100:i,c.length)},M(t,c){let e=t.getMonth();return c==="M"?String(e+1):c4(e+1,2)},d(t,c){return c4(t.getDate(),c.length)},a(t,c){let e=t.getHours()/12>=1?"pm":"am";switch(c){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];default:return e==="am"?"a.m.":"p.m."}},h(t,c){return c4(t.getHours()%12||12,c.length)},H(t,c){return c4(t.getHours(),c.length)},m(t,c){return c4(t.getMinutes(),c.length)},s(t,c){return c4(t.getSeconds(),c.length)},S(t,c){let e=c.length,i=t.getMilliseconds(),n=Math.trunc(i*Math.pow(10,e-3));return c4(n,c.length)}};var pn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},eM={G:function(t,c,e){let i=t.getFullYear()>0?1:0;switch(c){case"G":case"GG":case"GGG":return e.era(i,{width:"abbreviated"});case"GGGGG":return e.era(i,{width:"narrow"});default:return e.era(i,{width:"wide"})}},y:function(t,c,e){if(c==="yo"){let i=t.getFullYear(),n=i>0?i:1-i;return e.ordinalNumber(n,{unit:"year"})}return z5.y(t,c)},Y:function(t,c,e,i){let n=hn(t,i),a=n>0?n:1-n;if(c==="YY"){let r=a%100;return c4(r,2)}return c==="Yo"?e.ordinalNumber(a,{unit:"year"}):c4(a,c.length)},R:function(t,c){let e=Vf(t);return c4(e,c.length)},u:function(t,c){let e=t.getFullYear();return c4(e,c.length)},Q:function(t,c,e){let i=Math.ceil((t.getMonth()+1)/3);switch(c){case"Q":return String(i);case"QQ":return c4(i,2);case"Qo":return e.ordinalNumber(i,{unit:"quarter"});case"QQQ":return e.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(i,{width:"narrow",context:"formatting"});default:return e.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,c,e){let i=Math.ceil((t.getMonth()+1)/3);switch(c){case"q":return String(i);case"qq":return c4(i,2);case"qo":return e.ordinalNumber(i,{unit:"quarter"});case"qqq":return e.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(i,{width:"narrow",context:"standalone"});default:return e.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,c,e){let i=t.getMonth();switch(c){case"M":case"MM":return z5.M(t,c);case"Mo":return e.ordinalNumber(i+1,{unit:"month"});case"MMM":return e.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(i,{width:"narrow",context:"formatting"});default:return e.month(i,{width:"wide",context:"formatting"})}},L:function(t,c,e){let i=t.getMonth();switch(c){case"L":return String(i+1);case"LL":return c4(i+1,2);case"Lo":return e.ordinalNumber(i+1,{unit:"month"});case"LLL":return e.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(i,{width:"narrow",context:"standalone"});default:return e.month(i,{width:"wide",context:"standalone"})}},w:function(t,c,e,i){let n=$f(t,i);return c==="wo"?e.ordinalNumber(n,{unit:"week"}):c4(n,c.length)},I:function(t,c,e){let i=Uf(t);return c==="Io"?e.ordinalNumber(i,{unit:"week"}):c4(i,c.length)},d:function(t,c,e){return c==="do"?e.ordinalNumber(t.getDate(),{unit:"date"}):z5.d(t,c)},D:function(t,c,e){let i=vA(t);return c==="Do"?e.ordinalNumber(i,{unit:"dayOfYear"}):c4(i,c.length)},E:function(t,c,e){let i=t.getDay();switch(c){case"E":case"EE":case"EEE":return e.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(i,{width:"short",context:"formatting"});default:return e.day(i,{width:"wide",context:"formatting"})}},e:function(t,c,e,i){let n=t.getDay(),a=(n-i.weekStartsOn+8)%7||7;switch(c){case"e":return String(a);case"ee":return c4(a,2);case"eo":return e.ordinalNumber(a,{unit:"day"});case"eee":return e.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(n,{width:"short",context:"formatting"});default:return e.day(n,{width:"wide",context:"formatting"})}},c:function(t,c,e,i){let n=t.getDay(),a=(n-i.weekStartsOn+8)%7||7;switch(c){case"c":return String(a);case"cc":return c4(a,c.length);case"co":return e.ordinalNumber(a,{unit:"day"});case"ccc":return e.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(n,{width:"narrow",context:"standalone"});case"cccccc":return e.day(n,{width:"short",context:"standalone"});default:return e.day(n,{width:"wide",context:"standalone"})}},i:function(t,c,e){let i=t.getDay(),n=i===0?7:i;switch(c){case"i":return String(n);case"ii":return c4(n,c.length);case"io":return e.ordinalNumber(n,{unit:"day"});case"iii":return e.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(i,{width:"short",context:"formatting"});default:return e.day(i,{width:"wide",context:"formatting"})}},a:function(t,c,e){let n=t.getHours()/12>=1?"pm":"am";switch(c){case"a":case"aa":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(n,{width:"narrow",context:"formatting"});default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,c,e){let i=t.getHours(),n;switch(i===12?n=pn.noon:i===0?n=pn.midnight:n=i/12>
774=1?"pm":"am",c){case"b":case"bb":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(n,{width:"narrow",context:"formatting"});default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,c,e){let i=t.getHours(),n;switch(i>=17?n=pn.evening:i>=12?n=pn.afternoon:i>=4?n=pn.morning:n=pn.night,c){case"B":case"BB":case"BBB":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(n,{width:"narrow",context:"formatting"});default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,c,e){if(c==="ho"){let i=t.getHours()%12;return i===0&&(i=12),e.ordinalNumber(i,{unit:"hour"})}return z5.h(t,c)},H:function(t,c,e){return c==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):z5.H(t,c)},K:function(t,c,e){let i=t.getHours()%12;return c==="Ko"?e.ordinalNumber(i,{unit:"hour"}):c4(i,c.length)},k:function(t,c,e){let i=t.getHours();return i===0&&(i=24),c==="ko"?e.ordinalNumber(i,{unit:"hour"}):c4(i,c.length)},m:function(t,c,e){return c==="mo"?e.ordinalNumber(t.getMinutes(),{unit:"minute"}):z5.m(t,c)},s:function(t,c,e){return c==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):z5.s(t,c)},S:function(t,c){return z5.S(t,c)},X:function(t,c,e){let i=t.getTimezoneOffset();if(i===0)return"Z";switch(c){case"X":return yA(i);case"XXXX":case"XX":return $7(i);default:return $7(i,":")}},x:function(t,c,e){let i=t.getTimezoneOffset();switch(c){case"x":return yA(i);case"xxxx":case"xx":return $7(i);default:return $7(i,":")}},O:function(t,c,e){let i=t.getTimezoneOffset();switch(c){case"O":case"OO":case"OOO":return"GMT"+CA(i,":");default:return"GMT"+$7(i,":")}},z:function(t,c,e){let i=t.getTimezoneOffset();switch(c){case"z":case"zz":case"zzz":return"GMT"+CA(i,":");default:return"GMT"+$7(i,":")}},t:function(t,c,e){let i=Math.trunc(+t/1e3);return c4(i,c.length)},T:function(t,c,e){return c4(+t,c.length)}};function CA(t,c=""){let e=t>0?"-":"+",i=Math.abs(t),n=Math.trunc(i/60),a=i%60;return a===0?e+String(n):e+String(n)+c+c4(a,2)}function yA(t,c){return t%60===0?(t>0?"-":"+")+c4(Math.abs(t)/60,2):$7(t,c)}function $7(t,c=""){let e=t>0?"-":"+",i=Math.abs(t),n=c4(Math.trunc(i/60),2),a=c4(i%60,2);return e+n+c+a}var bA=(t,c)=>{switch(t){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});default:return c.date({width:"full"})}},xA=(t,c)=>{switch(t){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});default:return c.time({width:"full"})}},dX=(t,c)=>{let e=t.match(/(P+)(p+)?/)||[],i=e[1],n=e[2];if(!n)return bA(t,c);let a;switch(i){case"P":a=c.dateTime({width:"short"});break;case"PP":a=c.dateTime({width:"medium"});break;case"PPP":a=c.dateTime({width:"long"});break;default:a=c.dateTime({width:"full"});break}return a.replace("{{date}}",bA(i,c)).replace("{{time}}",xA(n,c))},ss={p:xA,P:dX};var mX=/^D+$/,uX=/^Y+$/,hX=["D","DD","YY","YYYY"];function jf(t){return mX.test(t)}function Wf(t){return uX.test(t)}function rs(t,c,e){let i=pX(t,c,e);if(console.warn(i),hX.includes(t))throw new RangeError(i)}function pX(t,c,e){let i=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${c}\`) for formatting ${i} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var gX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,LX=/^'([^]*?)'?$/,MX=/''/g,vX=/[a-zA-Z]/;function wA(t,c,e){let i=n8(),n=e?.locale??i.locale??as,a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,l=J1(t,e?.in);if(!R8(l))throw new RangeError("Invalid time value");let f=c.match(zX).map(h=>{let g=h[0];if(g==="p"||g==="P"){let v=ss[g];return v(h,n.formatLong)}return h}
vendor: 4,098 bytes, line 774
774).join("").match(gX).map(h=>{if(h==="''")return{isToken:!1,value:"'"};let g=h[0];if(g==="'")return{isToken:!1,value:_X(h)};if(eM[g])return{isToken:!0,value:h};if(g.match(vX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:h}});n.localize.preprocessor&&(f=n.localize.preprocessor(l,f));let m={firstWeekContainsDate:a,weekStartsOn:r,locale:n};return f.map(h=>{if(!h.isToken)return h.value;let g=h.value;(!e?.useAdditionalWeekYearTokens&&Wf(g)||!e?.useAdditionalDayOfYearTokens&&jf(g))&&rs(g,c,String(t));let v=eM[g[0]];return v(l,g,n.localize,m)}).join("")}function _X(t){let c=t.match(LX);return c?c[1].replace(MX,"'"):t}function SA(){return Object.assign({},n8())}function cM(t,c){return J1(t,c?.in).getHours()}function NA(t,c){let e=J1(t,c?.in).getDay();return e===0?7:e}function tM(t,c){return J1(t,c?.in).getMinutes()}function iM(t){return J1(t).getSeconds()}function kA(t,c){let e=CX(c)?new c(0):U2(c,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function CX(t){return typeof t=="function"&&t.prototype?.constructor===t}var yX=10,Gf=class{subPriority=0;validate(c,e){return!0}},qf=class extends Gf{constructor(c,e,i,n,a){super(),this.value=c,this.validateValue=e,this.setValue=i,this.priority=n,a&&(this.subPriority=a)}validate(c,e){return this.validateValue(c,this.value,e)}set(c,e,i){return this.setValue(c,e,this.value,i)}},Yf=class extends Gf{priority=yX;subPriority=-1;constructor(c,e){super(),this.context=c||(i=>U2(e,i))}set(c,e){return e.timestampIsSet?c:U2(c,kA(c,this.context))}};var k1=class{run(c,e,i,n){let a=this.parse(c,e,i,n);return a?{setter:new qf(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(c,e,i){return!0}};var Zf=class extends k1{priority=140;parse(c,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(c,{width:"abbreviated"})||i.era(c,{width:"narrow"});case"GGGGG":return i.era(c,{width:"narrow"});default:return i.era(c,{width:"wide"})||i.era(c,{width:"abbreviated"})||i.era(c,{width:"narrow"})}}set(c,e,i){return e.era=i,c.setFullYear(i,0,1),c.setHours(0,0,0,0),c}incompatibleTokens=["R","u","t","T"]};var F2={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},a8={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function l4(t,c){return t&&{value:c(t.value),rest:t.rest}}function O2(t,c){let e=c.match(t);return e?{value:parseInt(e[0],10),rest:c.slice(e[0].length)}:null}function s8(t,c){let e=c.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:c.slice(1)};let i=e[1]==="+"?1:-1,n=e[2]?parseInt(e[2],10):0,a=e[3]?parseInt(e[3],10):0,r=e[5]?parseInt(e[5],10):0;return{value:i*(n*Ff+a*aA+r*sA),rest:c.slice(e[0].length)}}function Kf(t){return O2(F2.anyDigitsSigned,t)}function f2(t,c){switch(t){case 1:return O2(F2.singleDigit,c);case 2:return O2(F2.twoDigits,c);case 3:return O2(F2.threeDigits,c);case 4:return O2(F2.fourDigits,c);default:return O2(new RegExp("^\\d{1,"+t+"}"),c)}}function gn(t,c){switch(t){case 1:return O2(F2.singleDigitSigned,c);case 2:return O2(F2.twoDigitsSigned,c);case 3:return O2(F2.threeDigitsSigned,c);case 4:return O2(F2.fourDigitsSigned,c);default:return O2(new RegExp("^-?\\d{1,"+t+"}"),c)}}function zn(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Xf(t,c){let e=c>0,i=e?c:1-c,n;if(i<=50)n=t||100;
774else{let a=i+50,r=Math.trunc(a/100)*100,l=t>=a%100;n=t+r-(l?100:0)}return e?n:1-n}function Qf(t){return t%400===0||t%4===0&&t%100!==0}var Jf=class extends k1{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(c,e,i){let n=a=>({year:a,isTwoDigitYear:e==="yy"});switch(e){case"y":return l4(f2(4,c),n);case"yo":return l4(i.ordinalNumber(c,{unit:"year"}),n);default:return l4(f2(e.length,c),n)}}validate(c,e){return e.isTwoDigitYear||e.year>0}set(c,e,i){let n=c.getFullYear();if(i.isTwoDigitYear){let r=Xf(i.year,n);return c.setFullYear(r,0,1),c.setHours(0,0,0,0),c}let a=!("era"in e)||e.era===1?i.year:1-i.year;return c.setFullYear(a,0,1),c.setHours(0,0,0,0),c}};var ed=class extends k1{priority=130;parse(c,e,i){let n=a=>({year:a,isTwoDigitYear:e==="YY"});switch(e){case"Y":return l4(f2(4,c),n);case"Yo":return l4(i.ordinalNumber(c,{unit:"year"}),n);default:return l4(f2(e.length,c),n)}}validate(c,e){return e.isTwoDigitYear||e.year>0}set(c,e,i,n){let a=hn(c,n);if(i.isTwoDigitYear){let l=Xf(i.year,a);return c.setFullYear(l,0,n.firstWeekContainsDate),c.setHours(0,0,0,0),t6(c,n)}let r=!("era"in e)||e.era===1?i.year:1-i.year;return c.setFullYear(r,0,n.firstWeekContainsDate),c.setHours(0,0,0,0),t6(c,n)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var cd=class extends k1{priority=130;parse(c,e){return e==="R"?gn(4,c):gn(e.length,c)}set(c,e,i){let n=U2(c,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),P8(n)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var td=class extends k1{priority=130;parse(c,e){return e==="u"?gn(4,c):gn(e.length,c)}set(c,e,i){return c.setFullYear(i,0,1),c.setHours(0,0,0,0),c}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var id=class extends k1{priority=120;parse(c,e,i){switch(e){case"Q":case"QQ":return f2(e.length,c);case"Qo":return i.ordinalNumber(c,{unit:"quarter"});case"QQQ":return i.quarter(c,{width:"abbreviated",context:"formatting"})||i.quarter(c,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(c,{width:"narrow",context:"formatting"});default:return i.quarter(c,{width:"wide",context:"formatting"})||i.quarter(c,{width:"abbreviated",context:"formatting"})||i.quarter(c,{width:"narrow",context:"formatting"})}}validate(c,e){return e>=1&&e<=4}set(c,e,i){return c.setMonth((i-1)*3,1),c.setHours(0,0,0,0),c}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var nd=class extends k1{priority=120;parse(c,e,i){switch(e){case"q":case"qq":return f2(e.length,c);case"qo":return i.ordinalNumber(c,{unit:"quarter"});case"qqq":return i.quarter(c,{width:"abbreviated",context:"standalone"})||i.quarter(c,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(c,{width:"narrow",context:"standalone"});default:return i.quarter(c,{width:"wide",context:"standalone"})||i.quarter(c,{width:"abbreviated",context:"standalone"})||i.quarter(c,{width:"narrow",context:"standalone"})}}validate(c,e){return e>=1&&e<=4}set(c,e,i){return c.setMonth((i-1)*3,1),c.setHours(0,0,0,0),c}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var ad=class extends k1{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(c,e,i){let n=a=>a-1;switch(e){case"M":return l4(O2(F2.month,c),n);case"MM":return l4(f2(2,c),n);case"Mo":return l4(i.ordinalNumber(c,{unit:"month"}),n);case"MMM":return i.month(c,{width:"abbreviated",context:"formatting"})||i.month(c,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(c,{width:"narrow",context:"formatting"});default:return i.month(c,{width:"wide",context:"formatting"})||i.month(c,{width:"abbreviated",context:"formatting"})||i.month(c,{width:"narrow",context:"formatting"})}}validate(c,e){return e>=0&&e<=11}set(c,e,i){return c.setMonth(i,1),c.setHours(0,0,0,0),c}};var sd=class extends k1{priority=110;parse(c,e,i){let n=a=>a-1;switch(e){case"L":return l4(O2(F2.month,c),n);case"LL":return l4(f2(2,c),n);case"Lo":return l4(i.ordinalNumber(c,{unit:"month"}),n);case"LLL":return i.month(c,{width:"abbreviated",context:"standalone"})||i.month(c,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(c,{width:"narrow",context:"standalone"});default:return i.month(c,{width:"wide",context:"standalone"})||i.month(c,{width:"abbreviated",context:"standalone"})||i.month(c,{width:"narrow",context:"standalone"})}}validate(c,e){return e>=0&&e<=11}set(c,e,i){return c.setMonth(i,1),c.setHours(0,0,0,0),c}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function AA(t,c,e){let i=J1(t,e?.in),n=$f(i,e)-c;
774return i.setDate(i.getDate()-n*7),J1(i,e?.in)}var rd=class extends k1{priority=100;parse(c,e,i){switch(e){case"w":return O2(F2.week,c);case"wo":return i.ordinalNumber(c,{unit:"week"});default:return f2(e.length,c)}}validate(c,e){return e>=1&&e<=53}set(c,e,i,n){return t6(AA(c,i,n),n)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function TA(t,c,e){let i=J1(t,e?.in),n=Uf(i,e)-c;return i.setDate(i.getDate()-n*7),i}var od=class extends k1{priority=100;parse(c,e,i){switch(e){case"I":return O2(F2.week,c);case"Io":return i.ordinalNumber(c,{unit:"week"});default:return f2(e.length,c)}}validate(c,e){return e>=1&&e<=53}set(c,e,i){return P8(TA(c,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var bX=[31,28,31,30,31,30,31,31,30,31,30,31],xX=[31,29,31,30,31,30,31,31,30,31,30,31],ld=class extends k1{priority=90;subPriority=1;parse(c,e,i){switch(e){case"d":return O2(F2.date,c);case"do":return i.ordinalNumber(c,{unit:"date"});default:return f2(e.length,c)}}validate(c,e){let i=c.getFullYear(),n=Qf(i),a=c.getMonth();return n?e>=1&&e<=xX[a]:e>=1&&e<=bX[a]}set(c,e,i){return c.setDate(i),c.setHours(0,0,0,0),c}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var fd=class extends k1{priority=90;subpriority=1;parse(c,e,i){switch(e){case"D":case"DD":return O2(F2.dayOfYear,c);case"Do":return i.ordinalNumber(c,{unit:"date"});default:return f2(e.length,c)}}validate(c,e){let i=c.getFullYear();return Qf(i)?e>=1&&e<=366:e>=1&&e<=365}set(c,e,i){return c.setMonth(0,i),c.setHours(0,0,0,0),c}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function Ln(t,c,e){let i=n8(),n=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,a=J1(t,e?.in),r=a.getDay(),f=(c%7+7)%7,m=7-n,h=c<0||c>6?c-(r+m)%7:(f+m)%7-(r+m)%7;return g5(a,h,e)}var dd=class extends k1{priority=90;parse(c,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(c,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"});default:return i.day(c,{width:"wide",context:"formatting"})||i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"})}}validate(c,e){return e>=0&&e<=6}set(c,e,i,n){return c=Ln(c,i,n),c.setHours(0,0,0,0),c}incompatibleTokens=["D","i","e","c","t","T"]};var md=class extends k1{priority=90;parse(c,e,i,n){let a=r=>{let l=Math.floor((r-1)/7)*7;return(r+n.weekStartsOn+6)%7+l};switch(e){case"e":case"ee":return l4(f2(e.length,c),a);case"eo":return l4(i.ordinalNumber(c,{unit:"day"}),a);case"eee":return i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"});case"eeeee":return i.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"});default:return i.day(c,{width:"wide",context:"formatting"})||i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"})}}validate(c,e){return e>=0&&e<=6}set(c,e,i,n){return c=Ln(c,i,n),c.setHours(0,0,0,0),c}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var ud=class extends k1{priority=90;parse(c,e,i,n){let a=r=>{let l=Math.floor((r-1)/7)*7;return(r+n.weekStartsOn+6)%7+l};switch(e){case"c":case"cc":return l4(f2(e.length,c),a);case"co":return l4(i.ordinalNumber(c,{unit:"day"}),a);case"ccc":return i.day(c,{width:"abbreviated",context:"standalone"})||i.day(c,{width:"short",context:"standalone"})||i.day(c,{width:"narrow",context:"standalone"});case"ccccc":return i.day(c,{width:"narrow",context:"standalone"});case"cccccc":return i.day(c,{width:"short",context:"standalone"})||i.day(c,{width:"narrow",context:"standalone"});default:return i.day(c,{width:"wide",context:"standalone"})||i.day(c,{width:"abbreviated",context:"standalone"})||i.day(c,{width:"short",context:"standalone"})||i.day(c,{width:"narrow",context:"standalone"})}}validate(c,e){return e>=0&&e<=6}set(c,e,i,n){return c=Ln(c,i,n),c.setHours(0,0,0,0),c}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function DA(t,c,e){let i=J1(t,e?.in),n=NA(i,e),a=c-n;return g5(i,a,e)}var hd=class extends k1{priority=90;parse(c,e,i){let n=a=>a===0?7:a;switch(e){case"i":case"ii":return f2(e.length,c);case"io":return i.ordinalNumber(c,{unit:"day"});case"iii":return l4(i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"}),n);case"iiiii":return l4(i.day(c,{width:"narrow",context:"formatting"}),n);case"iiiiii":return l4(i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"}),n);default:return l4(i.day(c,{width:"wide",context:"formatting"})||i.day(c,{width:"abbreviated",context:"formatting"})||i.day(c,{width:"short",context:"formatting"})||i.day(c,{width:"narrow",context:"formatting"}),n)}}validate(c,e){return e>=1&&e<=7}set(c,e,i){return c=DA(c,i),c.setHours(0,0,0,0),c}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var pd=class extends k1{priority=80;
774parse(c,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(c,{width:"narrow",context:"formatting"});default:return i.dayPeriod(c,{width:"wide",context:"formatting"})||i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"})}}set(c,e,i){return c.setHours(zn(i),0,0,0),c}incompatibleTokens=["b","B","H","k","t","T"]};var gd=class extends k1{priority=80;parse(c,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(c,{width:"narrow",context:"formatting"});default:return i.dayPeriod(c,{width:"wide",context:"formatting"})||i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"})}}set(c,e,i){return c.setHours(zn(i),0,0,0),c}incompatibleTokens=["a","B","H","k","t","T"]};var zd=class extends k1{priority=80;parse(c,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(c,{width:"narrow",context:"formatting"});default:return i.dayPeriod(c,{width:"wide",context:"formatting"})||i.dayPeriod(c,{width:"abbreviated",context:"formatting"})||i.dayPeriod(c,{width:"narrow",context:"formatting"})}}set(c,e,i){return c.setHours(zn(i),0,0,0),c}incompatibleTokens=["a","b","t","T"]};var Ld=class extends k1{priority=70;parse(c,e,i){switch(e){case"h":return O2(F2.hour12h,c);case"ho":return i.ordinalNumber(c,{unit:"hour"});default:return f2(e.length,c)}}validate(c,e){return e>=1&&e<=12}set(c,e,i){let n=c.getHours()>=12;return n&&i<12?c.setHours(i+12,0,0,0):!n&&i===12?c.setHours(0,0,0,0):c.setHours(i,0,0,0),c}incompatibleTokens=["H","K","k","t","T"]};var Md=class extends k1{priority=70;parse(c,e,i){switch(e){case"H":return O2(F2.hour23h,c);case"Ho":return i.ordinalNumber(c,{unit:"hour"});default:return f2(e.length,c)}}validate(c,e){return e>=0&&e<=23}set(c,e,i){return c.setHours(i,0,0,0),c}incompatibleTokens=["a","b","h","K","k","t","T"]};var vd=class extends k1{priority=70;parse(c,e,i){switch(e){case"K":return O2(F2.hour11h,c);case"Ko":return i.ordinalNumber(c,{unit:"hour"});default:return f2(e.length,c)}}validate(c,e){return e>=0&&e<=11}set(c,e,i){return c.getHours()>=12&&i<12?c.setHours(i+12,0,0,0):c.setHours(i,0,0,0),c}incompatibleTokens=["h","H","k","t","T"]};var _d=class extends k1{priority=70;parse(c,e,i){switch(e){case"k":return O2(F2.hour24h,c);case"ko":return i.ordinalNumber(c,{unit:"hour"});default:return f2(e.length,c)}}validate(c,e){return e>=1&&e<=24}set(c,e,i){let n=i<=24?i%24:i;return c.setHours(n,0,0,0),c}incompatibleTokens=["a","b","h","H","K","t","T"]};var Cd=class extends k1{priority=60;parse(c,e,i){switch(e){case"m":return O2(F2.minute,c);case"mo":return i.ordinalNumber(c,{unit:"minute"});default:return f2(e.length,c)}}validate(c,e){return e>=0&&e<=59}set(c,e,i){return c.setMinutes(i,0,0),c}incompatibleTokens=["t","T"]};var yd=class extends k1{priority=50;parse(c,e,i){switch(e){case"s":return O2(F2.second,c);case"so":return i.ordinalNumber(c,{unit:"second"});default:return f2(e.length,c)}}validate(c,e){return e>=0&&e<=59}set(c,e,i){return c.setSeconds(i,0),c}incompatibleTokens=["t","T"]};var bd=class extends k1{priority=30;parse(c,e){let i=n=>Math.trunc(n*Math.pow(10,-e.length+3));return l4(f2(e.length,c),i)}set(c,e,i){return c.setMilliseconds(i),c}incompatibleTokens=["t","T"]};var xd=class extends k1{priority=10;parse(c,e){switch(e){case"X":return s8(a8.basicOptionalMinutes,c);case"XX":return s8(a8.basic,c);case"XXXX":return s8(a8.basicOptionalSeconds,c);case"XXXXX":return s8(a8.extendedOptionalSeconds,c);default:return s8(a8.extended,c)}}set(c,e,i){return e.timestampIsSet?c:U2(c,c.getTime()-U7(c)-i)}incompatibleTokens=["t","T","x"]};var wd=class extends k1{priority=10;parse(c,e){switch(e){case"x":return s8(a8.basicOptionalMinutes,c);case"xx":return s8(a8.basic,c);case"xxxx":return s8(a8.basicOptionalSeconds,c);case"xxxxx":return s8(a8.extendedOptionalSeconds,c);default:return s8(a8.extended,c)}}set(c,e,i){return e.timestampIsSet?c:U2(c,c.getTime()-U7(c)-i)}incompatibleTokens=["t","T","X"]};var Sd=class extends k1{priority=40;parse(c){return Kf(c)}set(c,e,i){return[U2(c,i*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"};var Nd=class extends k1{priority=20;parse(c){return Kf(c)}set(c,e,i){return[U2(c,i),{timestampIsSet:!0}]}incompatibleTokens="*"};var OA={G:new Zf,y:new Jf,Y:new ed,R:new cd,u:new td,Q:new id,q:new nd,M:new ad,L:new sd,w:new rd,I:new od,d:new ld,D:new fd,E:new dd,e:new md,c:new ud,i:new hd,a:new pd,b:new gd,B:new zd,h:new Ld,H:new Md,K:new vd,k:new _d,m:new Cd,s:new yd,S:new bd,X:new xd,x:new wd,t:new Sd,T:new Nd};var wX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,SX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,NX=/^'([^]*?)'?$/,kX=/''/g,AX=/\S/,TX=/[a-zA-Z]/;function L5(t,c,e,i){let n=()=>U2(i?.in||e,NaN),a=SA(),r=i?.locale??a.locale??as,l=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,f=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!c)return t?n():J1(e,i?.in);let m={firstWeekContainsDate:l,weekStartsOn:f,locale:r},h=[new Yf(i?.in,e)],g=c.match(SX).map(S=>{let P=S[0];if(P in ss){let V=ss[P];return V(S,r.formatLong)}return S}).join("").match(wX),v=[];for(let S of g){!i?.useAdditionalWeekYearTokens&&Wf(S)&&rs(S,c,t),!i?.useAdditionalDayOfYearTokens&&jf(S)&&rs(S,c,t);let P=S[0],V=OA[P];if(V){let{incompatibleTokens:q}=V;if(Array.isArray(q)){let G=v.find(Q=>q.includes(Q.token)||Q.token===P);
774if(G)throw new RangeError(`The format string mustn't contain \`${G.fullToken}\` and \`${S}\` at the same time`)}else if(V.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);v.push({token:P,fullToken:S});let W=V.run(t,S,r.match,m);if(!W)return n();h.push(W.setter),t=W.rest}else{if(P.match(TX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");if(S==="''"?S="'":P==="'"&&(S=DX(S)),t.indexOf(S)===0)t=t.slice(S.length);else return n()}}if(t.length>0&&AX.test(t))return n();let M=h.map(S=>S.priority).sort((S,P)=>P-S).filter((S,P,V)=>V.indexOf(S)===P).map(S=>h.filter(P=>P.priority===S).sort((P,V)=>V.subPriority-P.subPriority)).map(S=>S[0]),b=J1(e,i?.in);if(isNaN(+b))return n();let C={};for(let S of M){if(!S.validate(b,m))return n();let P=S.set(b,C,m);Array.isArray(P)?(b=P[0],Object.assign(C,P[1])):b=P}return b}function DX(t){return t.match(NX)[1].replace(kX,"'")}function EA(t){return+J1(t)<Date.now()}var Y0=(function(t){return t.Never="Never",t.Day="1 day",t.Week="1 week",t.Month="1 month",t.Year="1 year",t.Other="Other",t})(Y0||{}),os=(function(t){return t[t.Day=1]="Day",t[t.Week=7]="Week",t[t.Month=30]="Month",t[t.Year=365]="Year",t})(os||{}),IA=(()=>{class t{calculateAccessRestrictions(e,i){return e==="public"?"none":i===1?"account":"approval"}getExpirationFromExpirationTimestamp(e,i){if(!e)return Y0.Never;let n=mA(new Date(e),new Date(i));return n<=24*os.Day?Y0.Day:n<=24*os.Week?Y0.Week:n<=168*os.Month?Y0.Month:n<=168*os.Year?Y0.Year:Y0.Other}getExpiresDTFromExpiration(e,i){switch(e){case Y0.Never:return null;case Y0.Day:return J9(g5(new Date(i),1));case Y0.Week:return J9(g5(new Date(i),7));case Y0.Month:return J9(g5(new Date(i),30));case Y0.Year:return J9(g5(new Date(i),365));default:return null}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var i6=o2(u4());var Mn=(()=>{class t{constructor(e){this.http=e}getShareLinksById(e){return A(this,null,function*(){return(yield P2(this.http.get("v2/share-links",{shareLinkIds:e},null)))[0].items})}getShareLinksByToken(e){return A(this,null,function*(){return(yield P2(this.http.get("v2/share-links",{shareTokens:e},null,{authToken:!1})))[0].items})}generateShareLink(n){return A(this,arguments,function*({itemId:e,itemType:i}){return(yield P2(this.http.post("v2/share-links",{itemId:e,itemType:i},null)))[0].data})}deleteShareLink(e){return A(this,null,function*(){yield P2(this.http.delete(`v2/share-links/${e}`,{},null))})}updateShareLink(e,i){return A(this,null,function*(){return(yield P2(this.http.patch(`v2/share-links/${e}`,i,null)))[0].data})}static{this.\u0275fac=function(i){return new(i||t)(p1(le))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var PA=new b4("FeatureFlagApi");var vn=(()=>{class t{constructor(e,i){this.api=e,this.secrets=i,this.flags=new Map,this.fetchFromApi()}fetchFromApi(){return A(this,null,function*(){try{(yield this.api.getFeatureFlags()).forEach(i=>this.set(i.name,!0))}catch(e){}})}set(e,i){this.flags.set(e,i)}isEnabled(e){return this.flags.has(e)&&this.flags.get(e)||this.doesSecretExist(e)}doesSecretExist(e){try{return`${this.secrets.get(e)}`.length>0}catch(i){return!1}}static{this.\u0275fac=function(i){return new(i||t)(p1(PA,8),p1(di))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var EX=["shareUrlInput"],IX=(t,c)=>c.value;function PX(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function RX(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function FX(t,c){if(t&1&&(T(0,"form",8)(1,"div",14)(2,"label",15),F(3,"Recipient Name"),D(),O1(4,"input",16),D(),T(5,"div",14)(6,"label",17),F(7,"Recipient Email"),D(),O1(8,"input",18),D(),T(9,"div",14)(10,"label",19),F(11,"Connection"),D(),T(12,"select",20),a2(13,PX,2,2,"option",21,Q2),D()(),T(15,"div",14)(16,"label",22),F(17,"Access Role"),D(),T(18,"select",23),a2(19,RX,2,2,"option",21,Q2),D()()()),t&2){let e=O();t1("formGroup",e.invitationForm),k(13),s2(e.relationOptions),k(6),s2(e.accessRoleOptions)}}function VX(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function HX(t,c){if(t&1){let e=z1();T(0,"div",24)(1,"pr-archive-search-box",28),e1("archiveSelect",function(n){a1(e);let a=O(2);return s1(a.onAddArchive(n))})("invite",function(n){a1(e);let a=O(2);return s1(a.onAddInvite(n))}),D(),T(2,"select",29),L6("ngModelChange",function(n){a1(e);let a=O(2);return z6(a.newAccessRole,n)||(a.newAccessRole=n),s1(n)}),a2(3,VX,2,2,"option",21,Q2),D()()}if(t&2){let e=O(2);k(),t1("filterFn",e.archiveFilterFn),k(),g6("ngModel",e.newAccessRole),k(),s2(e.accessRoleOptions)}}function BX(t,c){t&1&&(T(0,"div",27),F(1,"Not shared with anyone"),D())}function UX(t,c){if(t&1){let e=z1();T(0,"div",32),O1(1,"div",34),O0(2,"getThumbnail"),T(3,"div",35),F(4),T(5,"div",36),F(6),O0(7,"date"),D()(),T(8,"div",37)(9,"button",38),e1("click",function(){let n=a1(e).$implicit,a=O(3);return s1(a.approveShare(n))}),F(10," Approve "),D(),T(11,"button",39),e1("click",function(){let n=a1(e).$implicit,a=O(3);return s1(a.removeShare(n))}),F(12," Deny "),D()()()}if(t&2){let e=c.$implicit;t1("@ngIfScaleAnimationDynamic",e.isPendingAction||e.isNewlyCreated?"animate":"static"),k(),t1("bgSrc",W6(2,7,e.ArchiveVO))("cover",!0),k(3),I1(" The ",e.ArchiveVO.fullName," Archive "),k(2),I1(" Requested ",W6(7,9,e.createdDT)," "),k(3),t1("disabled",e.isPendingAction),k(2),t1("disabled",e.isPendingAction)}}function $X(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function jX(t,c){if(t&1){let e=z1();T(0,"div",33),O1(1,"div",34),O0(2,"getThumbnail"),T(3,"div",35),F(4),D(),T(5,"select",40,0),L6("ngModelChange",function(n){let a=a1(e).$implicit;return z6(a.accessRole,n)||(a.accessRole=n),s1(n)}),e1("ngModelChange",function(){let n=a1(e).$implicit,a=v0(6),r=O(3);return s1(r.onAccessChange(n,a))}),a2(7,$X,2,2,"option",21,Q2),T(9,"option",41),F(10,"Remove"),D()()()}if(t&2){let e=c.$implicit,i=O(3);t1("@ngIfScaleAnimationDynamic",e.isPendingAction||e.isNewlyCreated?"animate":"static"),k(),t1("bgSrc",W6(2,6,e.ArchiveVO))("cover",!0),k(3),I1(" The ",e.ArchiveVO.fullName," Archive "),k(),t1("disabled",!i.canShare||e.accessRole==="access.role.owner"||e.isPendingAction),g6("ngModel",e.accessRole),k(2),s2(i.accessRoleOptions)}}function WX(t,c){if(t&1&&(T(0,"div",30),F(1,"Shared with"),D(),T(2,"div",31),a2(3,UX,13,11,"div",32,Q2),a2(5,jX,11,8,"div",33,Q2),D()),t&2){let e=O(2);k(3),s2(e.pendingShares),k(2),s2(e.shares)}}function GX(t,c){if(t&1&&(Y(0,HX,5,2,"div",24),T(1,"div",25)(2,"small"),F(3," Entering an archive name filters the available archives to share with. If you cannot find the archive you are looking for, enter an email address. If an account does not exist, send a share invitation email to that address. If an account does exist, the default archive associated with that account will be listed. "),T(4,"a",26),F(5,"Learn more."),D()()(),Y(6,BX,2,0,"div",27),Y(7,WX,7,0)),t&2){let e=O();Z(e.canShare?0:-1),k(4),t1("href","https://permanent.zohodesk.com/portal/en
774/kb/articles/default-archives",Kt),k(2),Z(!(e.shares!=null&&e.shares.length)&&!(e.pendingShares!=null&&e.pendingShares.length)?6:-1),k(),Z(e.shares!=null&&e.shares.length||e.pendingShares!=null&&e.pendingShares.length?7:-1)}}function qX(t,c){if(t&1){let e=z1();T(0,"button",42),e1("click",function(){a1(e);let n=O();return s1(n.onDoneClick())}),F(1,"Done"),D()}}function YX(t,c){if(t&1){let e=z1();T(0,"button",43),e1("click",function(){a1(e);let n=O();return s1(n.showInvitationForm=!1)}),F(1," Cancel "),D()}if(t&2){let e=O();t1("disabled",e.sendingInvitation)}}function ZX(t,c){if(t&1){let e=z1();T(0,"button",38),e1("click",function(){a1(e);let n=O();return s1(n.sendInvite(n.invitationForm.value))}),F(1," Send invitation "),D()}if(t&2){let e=O();t1("disabled",e.invitationForm.invalid||e.sendingInvitation)}}function KX(t,c){if(t&1){let e=z1();T(0,"div",53),e1("click",function(){a1(e);let n=O(2);return s1(n.removeShareLink())}),O1(1,"fa-icon",54),T(2,"span"),F(3,"Remove Link"),D()()}if(t&2){let e=O(2);k(),t1("icon",e.trashIcon)}}function XX(t,c){if(t&1&&(T(0,"div",48),O1(1,"input",55,1),D()),t&2){let e=O(2);k(),t1("value",e.shareUrl)}}function QX(t,c){if(t&1){let e=z1();T(0,"button",56),e1("click",function(){a1(e);let n=O(2);return s1(n.copyShareLink())}),F(1),D()}if(t&2){let e=O(2);t1("disabled",e.linkCopied),k(),I1(" ",e.linkCopied?"Copied":"Copy"," ")}}function JX(t,c){t&1&&(T(0,"div",48),F(1," Generate a link to send via text or email for others to view this material. "),D())}function eQ(t,c){if(t&1){let e=z1();T(0,"button",56),e1("click",function(){a1(e);let n=O(2);return s1(n.generateShareLink())}),F(1," Create "),D()}if(t&2){let e=O(2);t1("disabled",e.updatingLink)}}function cQ(t,c){if(t&1){let e=z1();T(0,"div",50)(1,"button",57),e1("click",function(){a1(e);let n=O(2);return s1(n.showLinkSettings=!n.showLinkSettings)}),F(2),D()()}if(t&2){let e=O(2);t1("@ngIfScaleAnimation",void 0),k(2),I1(" ",e.showLinkSettings?"Hide":"Show"," link settings ")}}function tQ(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function iQ(t,c){if(t&1){let e=z1();T(0,"div",51)(1,"label"),F(2,"Link Type"),D(),T(3,"select",29),L6("ngModelChange",function(n){a1(e);let a=O(2);return z6(a.linkType,n)||(a.linkType=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(2);return s1(n.onShareLinkPropChange("accessRestrictions",n.linkType))}),a2(4,tQ,2,2,"option",21,IX),D()()}if(t&2){let e=O(2);k(3),g6("ngModel",e.linkType),k(),s2(e.shareLinkTypes)}}function nQ(t,c){if(t&1){let e=z1();T(0,"div",58)(1,"label"),F(2,"Auto Approve"),D(),T(3,"div",61)(4,"input",62),L6("ngModelChange",function(n){a1(e);let a=O(3);return z6(a.autoApproveToggle,n)||(a.autoApproveToggle=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(3);return s1(n.onShareLinkPropChange("autoApproveToggle",n.autoApproveToggle))}),D(),T(5,"label",63),F(6,"On"),D()(),T(7,"div",61)(8,"input",64),L6("ngModelChange",function(n){a1(e);let a=O(3);return z6(a.autoApproveToggle,n)||(a.autoApproveToggle=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(3);return s1(n.onShareLinkPropChange("autoApproveToggle",n.autoApproveToggle))}),D(),T(9,"label",65),F(10,"Off"),D()()()}if(t&2){let e=O(3);k(4),t1("value",1)("disabled",e.updatingLink),g6("ngModel",e.autoApproveToggle),k(4),t1("value",0)("disabled",e.updatingLink),g6("ngModel",e.autoApproveToggle)}}function aQ(t,c){t&1&&F(0," Recipients will automatically be granted access when requested. ")}function sQ(t,c){t&1&&F(0," Recipients must manually be granted access when requested. ")}function rQ(t,c){if(t&1&&(T(0,"small",59),Y(1,aQ,1,0)(2,sQ,1,0),D()),t&2){let e,i=O(3);k(),Z((e=i.autoApproveToggle)===1?1:2)}}function oQ(t,c){if(t&1&&(T(0,"option",21),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value),k(),I1(" ",e.text," ")}}function lQ(t,c){if(t&1){let e=z1();T(0,"div",58)(1,"label"),F(2,"Default Share Role"),D(),T(3,"select",40),L6("ngModelChange",function(n){a1(e);let a=O(3);return z6(a.linkDefaultAccessRole,n)||(a.linkDefaultAccessRole=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(3);return s1(n.onShareLinkPropChange("defaultAccessRole",n.linkDefaultAccessRole))}),a2(4,oQ,2,2,"option",21,Q2),D()()}if(t&2){let e=O(3);k(3),t1("disabled",!e.canShare||e.updatingLink),g6("ngModel",e.linkDefaultAccessRole),k(),s2(e.accessRoleOptions)}}function fQ(t,c){t&1&&(T(0,"small",59),F(1,"Archives joining this share are given this role by default. "),T(2,"a",66),F(3,"Learn More"),D()())}function dQ(t,c){if(t&1&&(T(0,"option",60),F(1),D()),t&2){let e=c.$implicit;t1("value",e.value)("hidden",e.value==="Other"),k(),I1(" ",e.text," ")}}function mQ(t,c){t&1&&F(0," This link will only expire if deleted ")}function uQ(t,c){if(t&1&&(F(0),O0(1,"date")),t&2){let e=O(3);I1(" This link will expire ",eo(1,1,e.newShareLink.expirationTimestamp,"MMM d, y 'at' h:mm:ss a")," ")}}function hQ(t,c){if(t&1){let e=z1();T(0,"div",52),Y(1,nQ,11,6,"div",58),Y(2,rQ,3,1,"small",59),Y(3,lQ,6,2,"div",58),Y(4,fQ,4,0,"small",59),T(5,"div",58)(6,"label"),F(7,"Link expires after"),D(),T(8,"select",40),L6("ngModelChange",function(n){a1(e);let a=O(2);
774return z6(a.expiration,n)||(a.expiration=n),s1(n)}),e1("ngModelChange",function(){a1(e);let n=O(2);return s1(n.onShareLinkPropChange("expiresDT",n.getExpiresDTFromExpiration(n.expiration)))}),a2(9,dQ,2,3,"option",60,Q2),D()(),T(11,"small",59),Y(12,mQ,1,0)(13,uQ,2,4),D()()}if(t&2){let e,i=O(2);t1("@ngIfScaleAnimation",void 0),k(),Z(i.linkType==="private"?1:-1),k(),Z(i.linkType==="private"?2:-1),k(),Z(i.linkType==="private"?3:-1),k(),Z(i.linkType==="private"?4:-1),k(4),t1("disabled",!i.canShare||i.updatingLink),g6("ngModel",i.expiration),k(),s2(i.expirationOptions),k(3),Z((e=i.newShareLink.expirationTimestamp)===null?12:13)}}function pQ(t,c){if(t&1&&(T(0,"div",13)(1,"div",44)(2,"div",45),F(3,"Create link to share"),D(),Y(4,KX,4,1,"div",46),D(),O1(5,"hr"),T(6,"div",7)(7,"div",47),Y(8,XX,3,1,"div",48),Y(9,QX,2,2,"button",49),Y(10,JX,2,0,"div",48),Y(11,eQ,2,1,"button",49),D(),Y(12,cQ,3,2,"div",50),Y(13,iQ,6,1,"div",51),Y(14,hQ,14,8,"div",52),D()()),t&2){let e=O();k(4),Z(e.newShareLink?4:-1),k(4),Z(e.newShareLink?8:-1),k(),Z(e.newShareLink?9:-1),k(),Z(e.newShareLink?-1:10),k(),Z(e.newShareLink?-1:11),k(),Z(e.newShareLink?12:-1),k(),Z(e.showLinkSettings&&e.displayDropdown?13:-1),k(),Z(e.showLinkSettings&&e.newShareLink?14:-1)}}var sM=Object.values(Y0).map(t=>({value:t,text:t})),RA=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h,g,v,M,b){this.data=e,this.accountService=i,this.dialogRef=n,this.promptService=a,this.fb=r,this.api=l,this.shareApi=f,this.shareLinkMapping=m,this.messageService=h,this.relationshipService=g,this.ga=v,this.route=M,this.feature=b,this.shareItem=null,this.originalRoles=new Map,this.canShare=!1,this.shares=[],this.pendingShares=[],this.newShareLink=null,this.autoApproveToggle=1,this.linkDefaultAccessRole="access.role.viewer",this.updatingLink=!1,this.linkCopied=!1,this.showLinkSettings=!1,this.linkType="public",this.trashIcon=Kk,this.newAccessRole="access.role.viewer",this.accessRoleOptions=Hx.selectOptions.reverse(),this.expirationOptions=sM,this.relationOptions=Kp,this.sendingInvitation=!1,this.showInvitationForm=!1,this.baseUrl=ic.apiUrl.replace("/api","/share/"),this.shareUrl="",this.shareLinkTypes=[{text:"Anyone can view",value:"public",description:"Anyone with the link can view and download."},{text:"Restricted",value:"private",description:"Must be logged in to view."}],this.displayDropdown=!1,this.archiveFilterFn=C=>!(0,i6.find)(this.shares,{archiveId:C.archiveId})&&!(0,i6.find)(this.shares,{archiveId:C.archiveId}),this.invitationForm=this.fb.group({fullName:["",[n4.required]],email:["",[n4.required,n4.email]],relationship:["relation.friend",[n4.required]],accessRole:["access.role.viewer",[n4.required]]}),this.shareItem=this.data.item,this.displayDropdown=b.isEnabled("unlisted-share")}ngOnInit(){if(this.shareItem.ShareVOs=G6(this.shareItem.ShareVOs),this.shareItem.ShareVOs&&this.shareItem.ShareVOs.length){for(let e of this.shareItem.ShareVOs)this.originalRoles.set(e.shareId,e.accessRole);[this.pendingShares,this.shares]=(0,i6.partition)(this.shareItem.ShareVOs,{status:"status.generic.pending"})}this.canShare=this.shareItem.accessRole==="access.role.owner",this.relationshipService.update(),this.newShareLink=this.data.newShare,this.newShareLink&&(this.shareUrl=this.baseUrl+this.newShareLink.token),this.setShareLinkFormValue(),this.checkQueryParams()}calculateAccessRestrictions(e,i){return this.shareLinkMapping.calculateAccessRestrictions(e,i)}accessRoleToPermissionsLevel(e){return px[e]||"viewer"}permissionsLevelToAccessRole(e){return gx[e]||"access.role.viewer"}isRecord(e){return e.recordId!==void 0}checkQueryParams(){if(this.route.snapshot){let e=this.route.snapshot.queryParamMap;if(e.has("requestToken")&&e.has("requestAction")){let i=(0,i6.find)(this.pendingShares,{requestToken:e.get("requestToken")});if(i)switch(e.get("requestAction")){case"approve":this.approveShare(i);break;case"deny":this.removeShare(i);break}}}}onDoneClick(){this.shareItem.ShareVOs=[...this.pendingShares,...this.shares],this.dialogRef.close()}onAddArchive(e){this.createShare(e,this.newAccessRole)}onAddInvite(e){this.invitationForm.reset(),this.invitationForm.patchValue({email:e,accessRole:this.newAccessRole,relationship:"relation.friend"}),this.showInvitationForm=!0}sendInvite(e){return A(this,null,function*(){try{this.sendingInvitation=!0;let i=new nc({email:e.email,fullName:e.fullName,byArchiveId:this.accountService.getArchive().archiveId,relationship:"relation.family.uncle",accessRole:e.accessRole});yield this.api.invite.sendShareInvite(i,this.shareItem),this.messageService.showMessage({message:"Share invitation sent.",style:"success"}),this.showInvitationForm=!1}catch(i){i instanceof wc&&this.messageService.showError({message:i.getMessage(),translate:!0})}finally{this.sendingInvitation=!1}})}confirmOwnerAdd(e){return A(this,null,function*(){return yield this.promptService.confirm("Add owner",`Are you sure you share this item with The ${e.ArchiveVO.fullName} Archive as an owner?`)})}confirmRemove(e){return A(this,null,function*(){return yield this.promptService.confirm("Remove",`Are you sure you want to remove The ${e.ArchiveVO.fullName} Archive?`,null,"btn-danger")})}confirmDeny(e){return A(this,null,function*(){return yield this.promptService.confirm("Deny request",`Are you sure you want deny The ${e.ArchiveVO.fullName} Archive access?`,null,"btn-danger")})}onAccessChange(e){e.accessRole==="remove"?this.removeShare(e):this.updateShare(e)}isArchiveSharedWith(e){return(0,i6.find)(this.shares,{archiveId:e.archiveId})||(0,i6.find)(this.pendingShares,{archiveId:e.archiveId})}createShare(e,i){return A(this,null,function*(){if(this.isArchiveSharedWith(e)){this.messageService.showMessage({message:"This archive has already been shared with"});return}let n=new w4({});if(n.accessRole=i,n.archiveId=e.archiveId,n.folder_linkId=this.shareItem.folder_linkId,n.ArchiveVO=e,n.accessRole==="access.role.owner")try{yield this.confirmOwnerAdd(n)}catch(a){return}try{n.isNewlyCreated=!0,this.shares.push(n),this.shares=G6(this.shares);let a=yield this.api.share.upsert(n);n.isNewlyCreated=!1,n.shareId=a.getShareVO().shareId,this.originalRoles.set(n.shareId,n.accessRole)}catch(a){(0,i6.remove)(this.shares,n),a instanceof g4&&this.messageService.showError({message:a.getMessage(),translate:!0})}})}updateShare(e){return A(this,null,function*(){e.isPendingAction=!0;try{e.accessRole==="access.role.owner"&&(yield this.confirmOwnerAdd(e)),this.shares=G6(this.shares),yield this.api.share.upsert(e),this.originalRoles.set(e.shareId,e.accessRole)}catch(i){e.accessRole=this.originalRoles.get(e.shareId),this.shares=G6(this.shares),i instanceof g4&&this.messageService.showError({message:i.getMessage(),translate:!0})}finally{e.isPendingAction=!1}})}approveShare(e){return A(this,null,function*(){e.isPendingAction=!0,e.status="status.generic.ok",(0,i6.remove)(this.pendingShares,e),this.shares.push(e),this.shares=G6(this.shares);try{yield this.api.share.upsert(e),this.messageService.showMessage({message:`Share request approved for The ${e.ArchiveVO.fullName} Archive.`,style:"success"})}catch(i){i instanceof g4&&this.messageService.showError({message:i.getMessage(),translate:!0}),(0,i6.remove)(this.shares,e),this.pendingShares.push(e),this.pendingShares=G6(this.pendingShares)}finally{e.isPendingAction=!1}})}removeShare(e){return A(this,null,function*(){if(e.status?.includes("pending"))try{yield this.confirmDeny(e)}catch(n){return}else try{yield this.confirmRemove(e)}catch(n){e.accessRole=this.originalRoles.get(e.shareId);return}try{e.isPendingAction=!0,yield this.api.share.remove(e),(0,i6.remove)(this.shares,e),(0,i6.remove)(this.pendingShares,e),this.shares=G6(this.shares)}catch(n){e.isPendingAction=!1,n instanceof g4&&this.messageService.showError({message:n.getMessage(),translate:!0})}})}getExpirationFromExpirationTimestamp(e){return this.shareLinkMapping.getExpirationFromExpirationTimestamp(e,this.newShareLink.createdAt)}getExpiresDTFromExpiration(e){return this.shareLinkMapping.getExpiresDTFromExpiration(e,this.newShareLink.createdAt)}setShareLinkFormValue(){this.newShareLink?(this.newShareLink.accessRestrictions==="none"?(this.linkType="public",this.autoApproveToggle=1):this.newShareLink.accessRestrictions==="account"?(this.linkType="private",this.autoApproveToggle=1):this.newShareLink.accessRestrictions==="approval"&&(this.linkType="private",this.autoApproveToggle=0),this.linkDefaultAccessRole=this.permissionsLevelToAccessRole(this.newShareLink.permissionsLevel),this.expirationOptions=sM.filter(e=>
774{switch(e.value){case Y0.Never:case Y0.Other:return!0;default:return!EA(new Date(this.getExpiresDTFromExpiration(e.value)))}}),this.expiration=this.getExpirationFromExpirationTimestamp(this.newShareLink.expirationTimestamp)):(this.autoApproveToggle=1,this.expiration=Y0.Never,this.expirationOptions=sM,this.linkType="public")}generateShareLink(){return A(this,null,function*(){this.updatingLink=!0;try{let e="",i="record";this.isRecord(this.shareItem)?e=this.shareItem.recordId.toString():(e=this.shareItem.folderId.toString(),i="folder");let n=yield this.shareApi.generateShareLink({itemId:e,itemType:i});this.newShareLink=n,yield this.shareApi.updateShareLink(this.newShareLink.id,{accessRestrictions:"none"}),this.shareUrl=this.baseUrl+this.newShareLink.token,this.setShareLinkFormValue(),this.showLinkSettings=!0,this.ga.sendEvent(b3.SHARE.ShareByUrl.initiated.params)}catch(e){e instanceof g4&&this.messageService.showError({message:e.getMessage(),translate:!0})}finally{this.updatingLink=!1}})}copyShareLink(){let e=this.shareUrlInput.nativeElement;t5(e),this.linkCopied=!0,setTimeout(()=>{this.linkCopied=!1},5e3)}removeShareLink(){return A(this,null,function*(){let{promise:e,resolve:i}=Promise.withResolvers();try{yield this.promptService.confirm("Remove link","Are you sure you want to remove this link?",e,"btn-danger"),yield this.shareApi.deleteShareLink(this.newShareLink.id),this.newShareLink=null,this.setShareLinkFormValue(),i(void 0),this.showLinkSettings=!1}catch(n){i(void 0),n instanceof g4&&this.messageService.showError({message:n.getMessage()})}})}onShareLinkPropChange(e,i){return A(this,null,function*(){this.updatingLink=!0;let n={};try{e==="accessRestrictions"?(i=this.calculateAccessRestrictions(i,this.autoApproveToggle),n={accessRestrictions:i,permissionsLevel:"viewer"}):e==="autoApproveToggle"&&(e="accessRestrictions",i=this.calculateAccessRestrictions(this.linkType,i),n={accessRestrictions:i}),e==="expiresDT"&&(n={expirationTimestamp:i}),e==="defaultAccessRole"&&(i=this.accessRoleToPermissionsLevel(i),n={permissionsLevel:i}),this.newShareLink=yield this.shareApi.updateShareLink(this.newShareLink.id,n),this.setShareLinkFormValue()}catch(a){a instanceof g4&&this.messageService.showError({message:a.getMessage(),translate:!0}),this.setShareLinkFormValue()}finally{this.updatingLink=!1}})}static{this.\u0275fac=function(i){return new(i||t)($(j0),$(e4),$(S4),$(a3),$(Lo),$(g2),$(Mn),$(IA),$(C4),$(Sf),$(t8),$(ee),$(vn))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-sharing-dialog"]],viewQuery:function(i,n){if(i&1&&k4(EX,5),i&2){let a;q1(a=Y1())&&(n.shareUrlInput=a.first)}},standalone:!1,decls:16,vars:7,consts:[["ctrl","ngModel"],["shareUrlInput",""],[1,"dialog-content"],[1,"dialog-body","dialog-body-top"],[1,"header"],[1,"btn",3,"click"],[1,"material-icons"],[1,"content"],[1,"dialog-form",3,"formGroup"],[1,"buttons"],[1,"btn","btn-primary"],[1,"btn","btn-secondary",3,"disabled"],[1,"btn","btn-primary",3,"disabled"],[1,"dialog-body"],[1,"dialog-form-field"],["for","name"],["type","text","id","newInviteName","name","name","formControlName","fullName",1,"form-control"],["for","email"],["type","email","id","newInviteEmail","name","email","formControlName","email",1,"form-control"],["for","invite
774Connection"],["name","inviteConnection","formControlName","relationship",1,"form-select"],[3,"value"],["for","inviteAccessRole"],["name","inviteAccessRole","formControlName","accessRole",1,"form-select"],[1,"archive-search"],[1,"sharing-explanation"],[3,"href"],[1,"shares-empty"],[1,"archive-search-box",3,"archiveSelect","invite","filterFn"],[1,"form-select",3,"ngModelChange","ngModel"],[1,"shares-title"],[1,"shares"],[1,"share-archive","pending-share"],[1,"share-archive"],["prBgImage","",1,"archive-thumb",3,"bgSrc","cover"],[1,"archive-name"],[1,"subtitle"],[1,"archive-actions"],[1,"btn","btn-primary",3,"click","disabled"],[1,"btn","btn-danger",3,"click","disabled"],[1,"form-select",3,"ngModelChange","disabled","ngModel"],["value","remove"],[1,"btn","btn-primary",3,"click"],[1,"btn","btn-secondary",3,"click","disabled"],[1,"header-container"],[1,"header-small"],[1,"remove-link"],[1,"share-link"],[1,"share-link-container"],[1,"btn","btn-primary-light",3,"disabled"],[1,"share-link-settings-toggle"],[1,"share-link-type-dropdown"],[1,"share-link-settings"],[1,"remove-link",3,"click"],[1,"trash-icon",3,"icon"],["type","text","readonly","",1,"form-control",3,"value"],[1,"btn","btn-primary-light",3,"click","disabled"],[1,"btn","btn-link",3,"click"],[1,"link-settings-item"],[1,"text-muted"],[3,"value","hidden"],[1,"form-check","form-check-inline"],["type","radio","name","autoApproveToggle","id","autoApproveToggleOn",1,"form-check-input",3,"ngModelChange","value","disabled","ngModel"],["for","autoApproveToggleOn",1,"form-check-label"],["type","radio","name","autoApproveToggle","id","autoApproveToggleOff",1,"form-check-input",3,"ngModelChange","value","disabled","ngModel"],["for","autoApproveToggleOff",1,"form-check-label"],["href","https://permanent.zohodesk.com/portal/en/kb/articles/what-do-the-different-access-permissions-mean","target","_blank"]],template:function(i,n){i&1&&(T(0,"div",2)(1,"div",3)(2,"div",4)(3,"span"),F(4),D(),T(5,"button",5),e1("click",function(){return n.onDoneClick()}),T(6,"i",6),F(7,"close"),D()()(),T(8,"div",7),Y(9,FX,21,1,"form",8),Y(10,GX,8,4),T(11,"div",9),Y(12,qX,2,0,"button",10),Y(13,YX,2,1,"button",11),Y(14,ZX,2,1,"button",12),D()()(),Y(15,pQ,15,8,"div",13),D()),i&2&&(k(4),I1("Sharing ",n.shareItem.displayName),k(5),Z(n.showInvitationForm?9:-1),k(),Z(n.showInvitationForm?-1:10),k(2),Z(n.showInvitationForm?-1:12),k(),Z(n.showInvitationForm?13:-1),k(),Z(n.showInvitationForm?14:-1),k(),Z(n.canShare?15:-1))},styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:block;width:100%}select.form-control[_ngcontent-%COMP%], select.form-select[_ngcontent-%COMP%]{width:auto}.dialog-body[_ngcontent-%COMP%]{overflow-y:visible!important;background-color:#fff;border-radius:.3rem;box-shadow:0 .5rem 1rem #0000004d}.dialog-body-top[_ngcontent-%COMP%]{margin-bottom:10px}.dialog-body[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:0 1.25rem 1.25rem}.header[_ngcontent-%COMP%]{height:3.75rem;flex:0 0 auto;background-color:none;display:flex;align-items:center;color:#212529;font-size:1.25rem;padding:0 1.25rem;padding-right:0}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1 1 auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 0 0 auto;flex:0 0 auto;width:auto;height:2.5rem;padding-top:0;padding-bottom:0;background:none;outline:none;display:flex;align-items:center;justify-content:center;color:#212529}.header[_ngcontent-%COMP%]{font-weight:700}.header-small[_ngcontent-%COMP%]{height:3.75rem;flex:0 0 auto;background-color:none;display:flex;align-items:center;color:#212529;font-size:1.25rem;padding:0 1.25rem;padding-right:0}.header-small[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1 1 auto}.header-small[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 0 0 auto;flex:0 0 auto;width:auto;height:2.5rem;padding-top:0;padding-bottom:0;background:none;outline:none;display:flex;align-items:center;justify-content:center;color:#212529}.header-small[_ngcontent-%COMP%]{font-size:1rem;font-weight:700}p[_ngcontent-%COMP%]{margin-bottom:1.25rem}.archive-search[_ngcontent-%COMP%]{display:flex;position:relative;z-index:2;align-items:center}.archive-search[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:1.25rem}.archive-search[_ngcontent-%COMP%] pr-archive-search-box[_ngcontent-%COMP%]{flex:1 1 auto}.archive-search[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{flex:0 0 auto;height:2.5rem;display:flex;padding-top:0;padding-bottom:0;align-items:center}.shares-title[_ngcontent-%COMP%], .shares-empty[_ngcontent-%COMP%]{margin-top:.625rem;height:2.5rem;display:flex;align-items:center}.shares-title.shares-title[_ngcontent-%COMP%], .shares-empty.shares-title[_ngcontent-%COMP%]{font-weight:700}.shares-title.shares-empty[_ngcontent-%COMP%], .shares-empty.shares-empty[_ngcontent-%COMP%]{color:var(--bs-secondary-color)}.shares[_ngcontent-%COMP%]{overflow-y:auto;margin-bottom:1.25rem;height:10rem;max-height:10vh}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{height:2.5rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;width:auto;margin:0;margin-left:.625rem}.dialog-form[_ngcontent-%COMP%]{margin-left:0;max-width:500px;padding:1.25rem 0}.dialog-form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{display:flex;align-items:center}.dialog-form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%] .row-label[_ngcontent-%COMP%]{flex:0 0 8rem;font-weight:700;margin:0;margin-right:1.25rem}.dialog-form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{margin-bottom:1.25rem}@media screen and (max-width:899px){.dialog-form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%]{display:block}.dialog-form[_ngcontent-%COMP%] .dialog-form-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-bottom:.3125rem}}.dialog-form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%]{display:flex;align-items:center}.dialog-form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:auto;flex:0 0 auto}.dialog-form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *.form-control[_ngcontent-%COMP%]{flex:1 1 auto}.dialog-form[_ngcontent-%COMP%] .dialog-inline-field[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:.625rem}.dialog-form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{padding:.625rem .25rem;height:auto}.dialog-form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{max-width:300px}.dialog-form[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]:not(:last-child){margin-right:.625rem}.dialog-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:1.875rem;font-weight:600;font-size:.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;justify-content:center;margin:0 auto 0 0;margin-left:9.25rem;width:auto}@media screen and (max-width:899px){.dialog-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 auto}}.share-archive[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:0}.share-archive[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.625rem}.share-archive[_ngcontent-%COMP%] .archive-thumb[_ngcontent-%COMP%]{height:2.5rem;flex:0 0 2.5rem;margin-right:.625rem}
774.share-archive[_ngcontent-%COMP%] .archive-name[_ngcontent-%COMP%]{font-weight:600;flex:1 1 auto}.share-archive[_ngcontent-%COMP%] .archive-name[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:.875rem;color:var(--bs-secondary-color)}.share-archive[_ngcontent-%COMP%] .archive-actions[_ngcontent-%COMP%]{flex:0 0 auto;display:flex}.share-archive[_ngcontent-%COMP%] .archive-actions[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{height:1.875rem;font-weight:600;font-size:.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;justify-content:center;width:6rem;margin-left:.625rem}.share-archive[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{flex:0 0 auto;height:1.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;font-size:.875rem}.share-link[_ngcontent-%COMP%]{display:flex;align-items:center}.share-link[_ngcontent-%COMP%] .share-link-container[_ngcontent-%COMP%]{flex:1 1 auto;margin-right:1.25rem}.share-link[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:2.5rem;display:flex;padding-top:0;padding-bottom:0;align-items:center}.share-link[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:2.5rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;flex:0 0 6rem;width:auto;justify-content:center}.share-link-settings-toggle[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;height:2.5rem}.share-link-settings-toggle[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{margin:0;width:auto}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%], .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%]{display:flex;align-items:center}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%]:not(:first-child), .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%]:not(:first-child), .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%]:not(:first-child), .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%]:not(:first-child){margin-top:1.25rem}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{font-weight:600;margin:0;margin-right:1.25rem}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%], .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]{margin-top:0}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{height:1.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;font-size:.875rem;margin-left:-.625rem;margin-right:auto}.share-link-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .share-link-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .link-settings-item[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .public-settings[_ngcontent-%COMP%] .settings-item[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{height:1.875rem;font-weight:600;font-size:.875rem;display:flex;padding-top:0;padding-bottom:0;align-items:center;justify-content:center;width:auto;margin:0}.btn[_ngcontent-%COMP%]:focus{box-shadow:none;border:none}.sharing-explanation[_ngcontent-%COMP%]{margin-top:10px}.header-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.header-container[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding:0 1.25rem}.remove-link[_ngcontent-%COMP%]{padding-right:20px;
774display:flex;align-items:center;justify-content:center}.remove-link[_ngcontent-%COMP%] > .trash-icon[_ngcontent-%COMP%]{margin-right:10px;color:red}.remove-link[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:red}.share-link-type-dropdown[_ngcontent-%COMP%]{display:flex;gap:2rem;margin-bottom:1.25rem}.share-link-type-dropdown[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{margin-left:2rem}.link-type-text[_ngcontent-%COMP%]{display:flex;align-items:center}"],data:{animation:[Xo,Qo]}})}}return t})();var hL1={Rename:{buttonName:"rename",buttonText:"Rename"},Copy:{buttonName:"copy",buttonText:"Copy"},Move:{buttonName:"move",buttonText:"Move"},Download:{buttonName:"download",buttonText:"Download"},Delete:{buttonName:"delete",buttonText:"Delete",class:"btn-danger"},Share:{buttonName:"share",buttonText:"Share"},Unshare:{buttonName:"delete",buttonText:"Remove",class:"btn-danger"},Publish:{buttonName:"publish",buttonText:"Publish"},GetLink:{buttonName:"publish",buttonText:"Get link"},SetFolderView:{buttonName:"setFolderView",buttonText:"Set folder view"},Tags:{buttonName:"tags",buttonText:"Keywords"}},Pf=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h,g,v,M){this.api=e,this.shareApi=i,this.message=n,this.folderPicker=a,this.dataService=r,this.prompt=l,this.accountService=f,this.dialog=m,this.device=h,this.secrets=g,this.event=v,this.feature=M,this.deleteSubject=new E1,this.deleteNotifier$=this.deleteSubject.asObservable(),this.isGoogleMapsApiLoaded=!1,this.debug=(0,VA.default)("service:editService"),this.loadGoogleMapsApi()}loadGoogleMapsApi(){if(window.doNotLoadGoogleMapsAPI){this.debug("Google Maps API disabled in testing environment");return}if(window.google?.maps){this.debug("Google Maps API already loaded, skipping"),this.isGoogleMapsApiLoaded=!0;return}if(!this.isGoogleMapsApiLoaded){let{promise:e,resolve:i}=Promise.withResolvers();this.googleMapsLoadedPromise=e,this.googleMapsLoadedResolve=i;let n=document.createElement("script"),a="__gmapsLoaded",r=this.secrets.get("GOOGLE_API_KEY");n.src=`https://maps.googleapis.com/maps/api/js?key=${r}&callback=${a}&libraries=places`,n.defer=!0,n.async=!0,window[a]=()=>{this.isGoogleMapsApiLoaded=!0,this.googleMapsLoadedResolve(),this.debug("Google Maps API loaded")},document.head.appendChild(n)}}waitForGoogleMapsApi(){return A(this,null,function*(){return this.isGoogleMapsApiLoaded?yield Promise.resolve():yield this.googleMapsLoadedPromise})}sendToClipboard(e,i){this.clipboard={items:e,operation:i}}promptForAction(e,i=[]){let{promise:n,resolve:a}=Promise.withResolvers(),r;if(e.length>1?r=`${e.length} items selected`:r=e[0].displayName,i.length)this.prompt.promptButtons(i,r,n).then(l=>{this.handleAction(e,l,a)}).catch();else try{this.prompt.confirm("OK",r,null,null,"<p>No actions available</p>")}catch(l){}}handleAction(e,i,n){return A(this,null,function*(){try{switch(i){case"delete":yield this.deleteItems(e),this.dataService.refreshCurrentFolder(),n(void 0);break;case"move":n(void 0),this.openFolderPicker(e,x0.Move);break;case"copy":n(void 0),this.openFolderPicker(e,x0.Copy);break;case"download":if(n(void 0),e.length===1){let a=e[0];a instanceof C2&&this.dataService.downloadFile(a)}break;case"publish":n(void 0),this.openPublishDialog(e[0]);break;case"share":{let a=yield this.api.share.getShareLink(e[0]),r=yield this.fetchShareLinkFromResponse(a);n(void 0),this.dialog.open(ts,{data:{item:e[0],link:a.getShareByUrlVO(),newShare:r}});break}default:n(void 0)}}catch(a){(a instanceof D4||a instanceof n6)&&this.message.showError({message:a.getMessage(),translate:!0}),n(void 0)}})}createFolder(e,i){return A(this,null,function*(){let n=new H1({parentFolderId:i.folderId,parentFolder_linkId:i.folder_linkId,displayName:e});return yield this.api.folder.post([n]).then(a=>a.getFolderVO())})}deleteItems(e){return A(this,null,function*(){e.forEach(r=>r.isPendingAction=!0);let[i,n]=(0,FA.partition)(e,"isFolder"),a=[];i.length?a.push(this.api.folder.delete(i)):a.push(Promise.resolve()),n.length?a.push(this.api.record.delete(n)):a.push(Promise.resolve());try{yield Promise.all(a),this.dataService.hideItemsInCurrentFolder(e),this.deleteSubject.next()}catch(r){throw e.forEach(l=>l.isPendingAction=!1),r}finally{this.accountService.refreshAccountDebounced(),this.dataService.refreshCurrentFolder()}})}unshareItem(e){return A(this,null,function*(){let i=new w4({folder_linkId:e.folder_linkId,ar
774chiveId:this.accountService.getArchive().archiveId});yield this.api.share.remove(i),this.dataService.itemUnshared(e)})}saveItemVoProperty(e,i,n){return A(this,null,function*(){if(e){let a=e[i],r={};r[i]=n;try{e.update(r),yield this.updateItems([e],[i])}catch(l){let f={};f[i]=a,e.update(f),l instanceof D4||l instanceof n6?this.message.showError({message:l.getMessage(),translate:!0}):(console.error("Failed to save item property",l),this.message.showError({message:"error.generic.update_fail",translate:!0}))}}})}updateItems(e,i){return A(this,null,function*(){let n=[],a=[],r={},l=new Map,f=new Map;e.forEach(h=>{h.isFolder?n.push(h):a.push(h),r[h.folder_linkId]=h,h instanceof C2?h.recordId&&l.set(h.recordId,h):h.folderId&&f.set(String(h.folderId),h)});let m=[];return m.push(this.updateFolders(n,i)),m.push(this.updateRecords(a,i)),yield Promise.all(m).then(h=>{let[g,v]=h;if(g&&g.getFolderVOs().forEach(M=>{let b={updatedDT:M.updatedDT};M.TimezoneVO&&(b.TimezoneVO=M.TimezoneVO),M.displayTime&&(b.displayTime=M.displayTime),M.displayDT&&(b.displayDT=M.displayDT),M.displayEndDT&&(b.displayEndDT=M.displayEndDT),(r[M.folder_linkId]||f.get(String(M.folderId)))?.update(b)}),v&&v.length>0){let M=v[0],b={updatedDT:M.updatedDT};M.TimezoneVO&&(b.TimezoneVO=M.TimezoneVO),M.displayTime&&(b.displayTime=M.displayTime),M.displayDT&&(b.displayDT=M.displayDT),(r[M.folder_linkId]||l.get(M.recordId)).update(b)}})})}moveItems(e,i){return A(this,null,function*(){let n=[],a=[],r={};e.forEach(f=>{f instanceof H1?n.push(f):a.push(f),r[f.folder_linkId]=f,f.isPendingAction=!0});let l=[];return n.length?l.push(this.api.folder.move(n,i)):l.push(Promise.resolve()),a.length?l.push(this.api.record.move(a,i)):l.push(Promise.resolve()),yield Promise.all(l).then(f=>(this.dataService.hideItemsInCurrentFolder(e),this.event.dispatch({entity:"record",action:"move"}),f)).catch(f=>{throw e.forEach(m=>m.isPendingAction=!1),f})})}copyItems(e,i){return A(this,null,function*(){let n=[],a=[],r={};e.forEach(f=>{f.isFolder?n.push(f):a.push(f),r[f.folder_linkId]=f});let l=[];return n.length?l.push(this.api.folder.copy(n,i)):l.push(Promise.resolve()),a.length?l.push(this.api.record.copy(a,i)):l.push(Promise.resolve()),Promise.all(l).then(()=>{this.event.dispatch({entity:"record",action:"copy"}),this.accountService.refreshAccountDebounced()}),yield Promise.all(l)})}openShareDialog(e){return A(this,null,function*(){if(this.device.isMobile())try{let i=yield this.api.share.getShareLink(e),n=yield this.fetchShareLinkFromResponse(i);this.dialog.open(ts,{panelClass:"dialog",data:{item:e,link:i.getShareByUrlVO(),newShare:n}})}catch(i){}else try{let i=yield this.getShareLinkByItemId(e);this.dialog.open(RA,{data:{item:e,newShare:i},width:"600px",panelClass:"dialog"})}catch(i){}})}openPublishDialog(e){return A(this,null,function*(){this.dialog.open(Af,{data:{item:e},height:"auto",panelClass:"dialog",width:"400px"})})}fetchShareLinkFromResponse(e){return A(this,null,function*(){if(e.getShareByUrlVO())return(yield this.shareApi.getShareLinksById([e.getShareByUrlVO().shareby_urlId]))[0]})}getShareLinkByItemId(e){return A(this,null,function*(){let i;return e.isRecord?i=yield this.api.record.getRecordShareLink(e):e.isFolder&&(i=yield this.api.folder.getFolderShareLink(e)),i?.[0]})}openTagsDialog(e,i){return A(this,null,function*(){this.dialog.open(Ef,{data:{item:e,type:i},height:"auto",panelClass:"dialog"})})}openLocationDialog(e){return A(this,null,function*(){let n=this.feature.isEnabled("uncertain-locations")?iA:$k;this.dialog.open(n,{data:{item:e},panelClass:"dialog",height:"auto"})})}openFolderPicker(e,i){return A(this,null,function*(){let{promise:n,resolve:a,reject:r}=Promise.withResolvers(),l=this.accountService.getRootFolder(),f=[];for(let m of e)m.isFolder&&f.push(m.folder_linkId);return yield new Promise(m=>{this.folderPicker.chooseFolder(l,i,n,f).then(h=>A(this,null,function*(){switch(i){case x0.Copy:return yield this.copyItems(e,h);case x0.Move:return yield this.moveItems(e,h)}})).then(()=>{setTimeout(()=>{a(void 0);let h=`${e.length} item(s) ${i===x0.Copy?"copied":"moved"} successfully.`;this.message.showMessage({message:h,style:"success"}),m()},500)}).catch(h=>{r(),this.message.showError({message:h.getMessage(),translate:!0})})})})}updateRecords(e,i){return A(this,null,function*(){if(!e.length)return;
774let n=this.accountService.getArchive().archiveId,a=i?.length?i.map(r=>A(this,null,function*(){return r==="displayTime"?yield Promise.all(e.map(l=>A(this,null,function*(){return yield this.api.record.updateStelaRecord(l)}))):yield this.api.record.update(e,n)})):[this.api.record.update(e,n)];return yield Promise.all(a),(yield this.api.record.get(e)).getRecordVOs()})}updateFolders(e,i){return A(this,null,function*(){if(!e.length)return;let n=i?.length?i.map(a=>A(this,null,function*(){return a==="displayTime"?yield Promise.all(e.map(r=>A(this,null,function*(){return yield this.api.folder.updateStelaFolder(r)}))):yield this.api.folder.update(e,[a])})):[this.api.folder.update(e)];return yield Promise.all(n),yield this.api.folder.getStelaFolderVOs(e)})}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(Mn),p1(C4),p1(xc),p1(P0),p1(a3),p1(e4),p1(c8),p1(xi),p1(di),p1(_c),p1(vn))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Dd=o2(u4());var BA=o2(x8());var kd=(()=>{class t{constructor(e){this.shareLinksApiService=e,this._currentShareToken="",this._shareLinks=void 0}get currentShareToken(){return this._currentShareToken}set currentShareToken(e){this._currentShareToken=e}isUnlistedShare(){return A(this,null,function*(){return this._currentShareToken?(this._shareLinks||(this._shareLinks=yield this.shareLinksApiService.getShareLinksByToken([this._currentShareToken])),this._shareLinks&&this._shareLinks.length?this._shareLinks[0].accessRestrictions==="none":!1):!1})}static{this.\u0275fac=function(i){return new(i||t)(p1(Mn))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var gQ=t=>[t];function zQ(t,c){if(t&1&&(T(0,"a",2),F(1),D()),t&2){let e=O(2);t1("routerLink",_3(2,gQ,e.breadcrumb.routerPath)),k(),_2(e.breadcrumb.text)}}function LQ(t,c){if(t&1){let e=z1();T(0,"a",3),e1("click",function(){a1(e);let n=O(2);return s1(n.goToFolder())}),F(1),D()}if(t&2){let e=O(2);k(),_2(e.breadcrumb.text)}}function MQ(t,c){if(t&1&&Y(0,zQ,2,4,"a",2)(1,LQ,2,1,"a"),t&2){let e=O();Z(e.isUnlistedShare?1:0)}}function vQ(t,c){t&1&&(T(0,"span",0)(1,"i",4),F(2,"arrow_right"),D()())}function _Q(t,c){if(t&1&&(T(0,"span",1),F(1),D()),t&2){let e=O();k(),I1(" ",e.breadcrumb.text," ")}}var rM=(()=>{class t{constructor(e,i){this.drag=e,this.shareLinksService=i,this.breadcrumbClicked=new N1,this.isDragTarget=!1,this.isDropTarget=!1,this.debug=(0,BA.default)("component:breadcrumb"),this.drag&&(this.dragSubscription=this.drag.events().subscribe(n=>{this.onDragServiceEvent(n)}))}ngOnInit(){return A(this,null,function*(){this.debug("created %o",this.breadcrumb),this.isUnlistedShare=yield this.shareLinksService.isUnlistedShare()})}ngOnDestroy(){this.dragSubscription&&this.dragSubscription.unsubscribe()}goToFolder(){this.breadcrumbClicked.emit(this.breadcrumb.folderPosition)}onDragServiceEvent(e){switch(e.type){case"start":case"end":!this.last&&e.targetTypes.includes("folder")&&(this.isDragTarget=e.type==="start",this.isDragTarget||(this.isDropTarget=!1))}}onMouseEnterLeave(e){if(this.isDragTarget){let i=e.type==="mouseenter",n;i?n="enter":n="leave",this.drag.dispatch({type:n,srcComponent:this,event:e}),this.isDropTarget=i}}static{this.\u0275fac=function(i){return new(i||t)($(Sc,8),$(kd))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-breadcrumb"]],hostVars:4,hostBindings:function(i,n){i&1&&e1("mouseenter",function(r){return n.onMouseEnterLeave(r)})("mouseleave",function(r){return n.onMouseEnterLeave(r)}),i&2&&M1("drag-target",n.isDragTarget)("drop-target",n.isDropTarget)},inputs:{breadcrumb:"breadcrumb",last:"last"},outputs:{breadcrumbClicked:"breadcrumbClicked"},standalone:!1,decls:3,vars:3,consts:[[1,"separator"],[1,"current"],[3,"routerLink"],[3,"click"],[1,"material-icons","migrated-ionicon"]],template:function(i,n){i&1&&(Y(0,MQ,2,1),Y(1,vQ,3,0,"span",0),Y(2,_Q,2,1,"span",1)),i&2&&(Z(n.last?-1:0),k(),Z(n.last?-1:1),k(),Z(n.last?2:-1))},dependencies:[RC],encapsulation:2})}}return t})();var oM=(()=>{class t{constructor(e,i,n){this.element=e,this.drag=i,this.data=n,this.isDragTarget=!1,this.isDropTarget=!1,this.nativeElement=this.element.nativeElement,this.drag&&(this.dragSubscription=this.drag.events().subscribe(a=>{this.onDragServiceEvent(a)}
774))}ngAfterViewInit(){this.linkText=this.nativeElement.innerText}ngOnDestroy(){this.dragSubscription&&this.dragSubscription.unsubscribe()}onDragServiceEvent(e){switch(e.type){case"start":case"end":e.targetTypes.includes("folder")&&(e.type==="start"?this.checkCurrentFolder()&&(this.isDragTarget=!0):(this.isDragTarget=!1,this.isDropTarget=!1))}}checkCurrentFolder(){let e=this.data.currentFolder;return!(e.type.includes("apps")||e.type.includes("share")||this.routerLink.includes("/private")&&e.type.includes("root.private")||this.routerLink.includes("/public")&&e.type.includes("root.public"))}onMouseEnterLeave(e){if(this.isDragTarget){let i=e.type==="mouseenter",n;i?n="enter":n="leave",this.drag.dispatch({type:n,srcComponent:this,event:e}),this.isDropTarget=i}}getFolderTypeFromLink(){if(this.routerLink.includes("/private"))return"type.folder.root.private";if(this.routerLink.includes("/public"))return"type.folder.root.public"}static{this.\u0275fac=function(i){return new(i||t)($(Q1),$(Sc,8),$(P0))}}static{this.\u0275dir=v1({type:t,selectors:[["","prDragTargetRouterLink",""]],hostVars:4,hostBindings:function(i,n){i&1&&e1("mouseenter",function(r){return n.onMouseEnterLeave(r)})("mouseleave",function(r){return n.onMouseEnterLeave(r)}),i&2&&M1("drag-target",n.isDragTarget)("drop-target",n.isDropTarget)},inputs:{routerLink:"routerLink"},standalone:!1})}}return t})();var KA=o2(u4());var $A=o2(x8());var j7=(function(t){return t[t.Init=0]="Init",t[t.Meta=1]="Meta",t[t.Transfer=2]="Transfer",t[t.Done=3]="Done",t[t.Cancelled=4]="Cancelled",t})(j7||{}),Td=class{constructor(c,e){this.file=c,this.parentFolder=e,this.uploadStatus=j7.Init,this.transferProgress=0,this.RecordVO=new C2({parentFolderId:e.folderId,parentFolder_linkId:e.folder_linkId,displayName:c.name,uploadFileName:c.name,size:c.size,derivedCreatedDT:new Date(c.lastModified)})}};var CQ=(t,c)=>{let e=new FormData;for(let[i,n]of Object.entries(t))e.append(i,n);return e.append("Content-Type",c.type?c.type:"application/octet-stream"),e.append("file",c),e},UA=(()=>{class t{constructor(e,i,n,a){this.api=e,this.httpClient=i,this.event=n,this.account=a,this.tenMB=10*1024*1024,this.getUploadData=r=>A(this,null,function*(){let l=yield this.api.record.getPresignedUrl(r.RecordVO,r.file.type?r.file.type:"application/octet-stream");if(l.isSuccessful!==!0)throw l;return l.getSimpleVO().value}),this.registerRecord=(r,l)=>A(this,null,function*(){let f=this.account.getArchive().archiveId,m=yield this.api.record.registerRecord(r.RecordVO,l,f);return this.event.dispatch({action:"submit",entity:"record",record:m}),m}),this.upload=(r,l)=>A(this,null,function*(){let{destinationUrl:f,presignedPost:m}=yield this.getUploadData(r);return yield this.httpClient.post(m.url,CQ(m.fields,r.file),{observe:"events",reportProgress:!0,responseType:"json",withCredentials:!1}).forEach(l),yield this.registerRecord(r,f)}),this.uploadToMultipartUrl=(r,l,f,m)=>A(this,null,function*(){let g=(yield this.httpClient.put(r,l.file.slice(f,f+this.tenMB),{headers:{"Content-Type":l.file.type||"application/octet-stream"},observe:"response",reportProgress:!0,responseType:"json",withCredentials:!1}).toPromise()).headers.get("etag").replace(/^"(.+?)"$/,"$1"),v=Math.floor(f/this.tenMB);m[v]=g}),this.uploadMultipart=(r,l)=>A(this,null,function*(){let f=this.account.getArchive().archiveId,m=r.file.size,{urls:h,uploadId:g,key:v}=yield this.api.record.getMultipartUploadURLs(m),M=0,b=[];for(let S of h){let P=!1,V=0,q=10;for(;!P;)try{yield this.uploadToMultipartUrl(S,r,M,b),P=!0}catch(G){if(V+=1,V>q)throw new Error("Multipart upload retry limit exceeded")}M+=this.tenMB;let W=Math.min(M/m,1);l(W)}let C=yield this.api.record.registerMultipartRecord(r.RecordVO,g,v,b,f);return this.event.dispatch({action:"submit",entity:"record",record:C}),C})}uploadFile(e,i){return A(this,null,function*(){i(0);let a=r=>{r.type===IC.UploadProgress&&i(r.loaded/r.total)};return e.file.size>104857600?yield this.uploadMultipart(e,i):yield this.upload(e,a),i(1),yield Promise.resolve()})}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(ei),p1(_c),p1(e4))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var w0=(function(t){return t[t.Start=0]="Start",t[t.InProgress=1]="InProgress",t[t.Done=2]="Done",t[t.DefaultError=3]="DefaultError",t[t.StorageError=4]="StorageError",t[t.CreatingFolders=5]="CreatingFolders",t[t.FileNoBytesError=6]="FileNoBytesError",t[t.NoAccessToUpload=7]="NoAccessToUpload",t})(w0||{}),bQ=t=>t.messageIncludesPhrase("no_space_left"),jA=(()=>{class t{constructor(e,i){this.uploader=e,this.account=i,this.progress=new N1,this.queue=[],this.statistics={current:0,completed:0,total:0,error:0},this.sentStart=!1,this.inProgress=!1,this.debug=(0,$A.default)("service:uploadSession"),this.emitProgress=n=>this.progress.emit({item:n,sessionStatus:w0.InProgress,statistics:this.statistics}),this.emitError=(n,a)=>this.progress.emit({item:a,sessionStatus:n,statistics:this.statistics}),this.uploadNextInQueue=()=>A(this,null,function*(){let n=this.queue.shift();if(!n){this.endSession();return}this.debug("Starting upload for item %o",n);let a=r=>{n.transferProgress=r,this.emitProgress(n)};try{this.statistics.current+=1,yield this.uploader.uploadFile(n,a),this.account.deductAccountStorage(n.file.size),this.statistics.completed+=1,n.uploadStatus=j7.Done,this.emitProgress(n)}catch(r){n.uploadStatus=j7.Cancelled,this.statistics.error+=1;let l=this.account.getArchive().accessRole;r instanceof l2&&l==="access.role.viewer"?this.emitError(w0.NoAccessToUpload,n):r instanceof l2&&n.file.size===0?this.emitError(w0.FileNoBytesError,n):r instanceof l2&&bQ(r)?this.emitError(w0.StorageError,n):this.emitError(w0.DefaultError,n)}setTimeout(this.uploadNextInQueue,0)}),this.endSession=()=>{this.debug("End of upload session"),this.progress.emit({sessionStatus:w0.Done,statistics:this.statistics}),this.sentStart=!1,this.inProgress=!1,this.statistics={current:0,completed:0,total:0,error:0}}}startSession(){this.sentStart||(this.progress.emit({sessionStatus:w0.Start,statistics:this.statistics}),this.sentStart=!0)}startFolders(){this.progress.emit({sessionStatus:w0.CreatingFolders,statistics:this.statistics})}queueFiles(e,i){this.debug("UploadSession.queueFiles: %d files to folder %o",i.length,e),this.startSession(),i.map(n=>
774new Td(n,e)).forEach(n=>this.queue.push(n)),this.statistics.total+=i.length,this.debug("Queue: %o",this.queue),this.inProgress||(this.debug("No previous upload in progress; starting upload"),this.inProgress=!0,setTimeout(this.uploadNextInQueue,0))}static{this.\u0275fac=function(i){return new(i||t)(p1(UA),p1(e4))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var wQ=["publicLinkInput"];function SQ(t,c){if(t&1){let e=z1();T(0,"div",4),O1(1,"input",7,0),T(3,"button",8),e1("click",function(){a1(e);let n=O();return s1(n.copyPublicLink())}),F(4),D(),T(5,"a",9),F(6,"View on web"),D()()}if(t&2){let e=O();k(),t1("value",e.publicLink),k(2),t1("disabled",e.linkCopied),k(),I1(" ",e.linkCopied?"Link copied":"Copy link"," "),k(),t1("href",e.publicLink,Kt)}}var WA=(()=>{class t{constructor(e,i,n,a){this.dialogRef=e,this.ga=n,this.data=a,this.linkCopied=!1,this.folder=this.data.folder,this.publicLink=i.transform(this.folder)}copyPublicLink(){this.ga.sendEvent(b3.PUBLISH.PublishByUrl.getLink.params);let e=this.publicLinkInput.nativeElement;t5(e),this.linkCopied=!0,setTimeout(()=>{this.linkCopied=!1},5e3)}close(){this.dialogRef.close()}static{this.\u0275fac=function(i){return new(i||t)($(S4),$(ln),$(t8),$(j0))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-timeline-complete-dialog"]],viewQuery:function(i,n){if(i&1&&k4(wQ,5),i&2){let a;q1(a=Y1())&&(n.publicLinkInput=a.first)}},standalone:!1,decls:14,vars:1,consts:[["publicLinkInput",""],[1,"dialog-content"],[1,"dialog-body"],[1,"page-title","break-all"],[1,"public-link"],[1,"dialog-footer"],[1,"btn","btn-secondary",3,"click"],["type","text","readonly","",1,"form-control",3,"value"],[1,"btn","btn-primary",3,"click","disabled"],["target","_blank",1,"btn","btn-primary",3,"href"]],template:function(i,n){i&1&&(T(0,"div",1)(1,"div",2)(2,"div",3),F(3,"Your timeline is ready"),D(),T(4,"p"),F(5,"You will find your timeline in the Public section of this archive."),D(),T(6,"p"),F(7," Enhance your timeline by adding names, descriptions, and dates to your files and folders. "),D(),T(8,"p"),F(9,"View and share your timeline using the link below."),D(),Y(10,SQ,7,4,"div",4),D(),T(11,"div",5)(12,"button",6),e1("click",function(){return n.close()}),F(13,"Done"),D()()()),i&2&&(k(10),Z(n.folder?10:-1))},styles:[".dialog-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .dialog-body[_ngcontent-%COMP%] .public-link[_ngcontent-%COMP%]{padding:0 10px}"]})}}return t})();var GA=o2(u4());var qA=o2(x8());var NQ=[".DS_Store"],YA=(()=>{class t{constructor(e,i,n,a,r){this.api=e,this.message=i,this.dataService=n,this.accountService=a,this.uploadSession=r,this.buttonComponents=[],this.progressVisible=new N1,this.subscriptions=[],this.debug=(0,qA.default)("service:upload"),this.targetFolderName="",this.subscriptions.push(this.uploadSession.progress.subscribe(l=>{if(l.item?.uploadStatus===j7.Done){let f=l.item.parentFolder.folderId;n.currentFolder&&n.currentFolder.folderId===f&&this.dataService.refreshCurrentFolder(),this.accountService.refreshAccountDebounced()}switch(l.sessionStatus){case w0.Start:this.message.showMessage({message:"Please don't close your browser until the upload is complete."}),this.uploadStart=new Date;break;case w0.Done:this.accountService.refreshAccountDebounced(),this.reportUploadTime();break;case w0.DefaultError:this.message.showError({message:"Oops, something went wrong! Please try again. If the issue persists, reach out to us at [email protected]."}),this.accountService.refreshAccountDebounced();break;case w0.FileNoBytesError:this.message.showError({message:"This file cannot be uploaded because it is empty. Please check that the file is working and try again."}),this.accountService.refreshAccountDebounced();break;case w0.NoAccessToUpload:this.message.showError({message:"You do not have permission to upload to this archive.",externalUrl:"https://permanent.zohodesk.com/portal/en/kb/articles/roles-for-collaboration-and-sharing",externalMessage:"Read More"});break;case w0.StorageError:this.message.showError({message:"You do not have enough storage available to upload these files."}),this.accountService.refreshAccountDebounced();break}}
774))}ngOnDestroy(){wi(this.subscriptions)}registerButtonComponent(e){this.buttonComponents.push(e)}unregisterButtonComponent(e){(0,GA.remove)(this.buttonComponents,e)}registerComponent(e){this.component=e}promptForFiles(){this.buttonComponents.length&&this.buttonComponents[0].promptForFiles()}uploadFiles(e,i){return this.debug("uploadFiles %d files to folder %o",i.length,e),this.uploadSession.queueFiles(e,i)}uploadFolders(e,i){return A(this,null,function*(){this.debug("uploadFolders %d items to folder %o",i.length,e),this.uploadSession.startSession();let n=this,a=new Map,r=new Map;a.set("",{path:"",folder:e}),yield l(i),this.createFoldersAndUploadFiles(a,r);function l(m){return A(this,null,function*(){n.debug("uploadFolders getItemsFromItemList %d items in folder",i.length);let h=[];for(let g of m)if(g.isFile){let{promise:v,resolve:M}=Promise.withResolvers();h.push(v),g.file(b=>{if(NQ.includes(b.name))return M(void 0);let S=g.fullPath.split("/");S.pop();let P=S.join("/"),V={path:P,file:b,parentFolder:a.get(P).folder};r.has(P)?r.get(P).push(V):r.set(P,[V]),M(void 0)})}else{let v=new H1({displayName:g.name}),M=g.fullPath,b=M.split("/");b.pop();let C=b.join("/"),S={path:M,folder:v,parentFolder:a.get(C).folder};a.set(g.fullPath,S);let P=yield f(g);yield l(P)}yield Promise.all(h)})}function f(m){return A(this,null,function*(){let h=m.createReader(),g=[],{promise:v,resolve:M}=Promise.withResolvers(),b=function(){h.readEntries(function(C){C.length?(g=g.concat(Array.from(C)),b()):M(g)})};return b(),yield v})}})}createFoldersAndUploadFiles(e,i){return A(this,null,function*(){let n=new Map;for(let[r,l]of e){let f=r.split("/").length-1;n.has(f)?n.get(f).push(l):n.set(f,[l])}let a=n.get(0)[0].folder;this.setTargetFolderNameAndId(a),this.uploadSession.startFolders();for(let[r,l]of n){let f=l.filter(h=>!h.folder.folderId),m=!1;if(f.length&&r>0){for(let v of f)v.folder.parentFolderId=v.parentFolder.folderId,v.folder.parentFolder_linkId=v.parentFolder.folder_linkId,v.parentFolder.folderId===this.dataService.currentFolder.folderId&&(m=!0);let h=10,g=f.reduce((v,M,b)=>{let C=Math.floor(b/h);return v[C]?v[C].push(M):v[C]=[M],v},[]);for(let v of g){let b=(yield this.api.folder.post(v.map(C=>C.folder))).getFolderVOs();v.forEach((C,S)=>{C.folder.update(b[S])})}}m&&this.dataService.refreshCurrentFolder()}for(let[,r]of n)for(let l of r)if(i.has(l.path)){let f=i.get(l.path);this.uploadFiles(l.folder,f.map(m=>m.file))}})}setTargetFolderName(e){e.displayName==="My Files"&&e.pathAsArchiveNbr.length===1?this.targetFolderName="Private":this.targetFolderName=e.displayName}setTargetFolderId(e){this.targetFolderId=e}setTargetFolderNameAndId(e){this.setTargetFolderName(e),this.setTargetFolderId(e.folderId)}getTargetFolderName(){return this.targetFolderName}getTargetFolderId(){return this.targetFolderId}showProgress(){this.component&&this.component.show(),this.progressVisible.emit(!0)}dismissProgress(){this.component&&this.component.dismiss(),this.progressVisible.emit(!1)}reportUploadTime(){let e=(new Date().getTime()-this.uploadStart.getTime())/1e3;console.log(`Total Upload Time: ${e}s`)}static{this.\u0275fac=function(i){return new(i||t)(p1(g2),p1(C4),p1(P0),p1(e4),p1(jA))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var ZA=(()=>{class t{constructor(e){this.popstate=!1,this.subscription=e.events.subscribe(i=>{i instanceof E9&&i.navigationTrigger==="popstate"&&(this.popstate=!0),i instanceof I9&&(this.previousRoute=this.popstate?void 0:this.currentRoute,this.currentRoute=i.url,this.popstate=!1)})}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(p1(ce))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var TQ=["mainContent"],DQ=(t,c)=>({navigating:t,uploading:c}),_n=(()=>{class t{constructor(e,i,n,a,r,l,f,m,h,g,v,M){this.accountService=e,this.router=i,this.messageService=n,this.upload=a,this.route=r,this.prompt=l,this.routeHistory=f,this.api=m,this.dialog=h,this.ga=g,this.drag=v,this.data=M,this.routerListener=this.router.events.pipe(q4(C=>C instanceof E9||C instanceof I9)).subscribe(C=>{C instanceof E9?this.isNavigating=!0:C instanceof I9&&(this.isNavigating=!1),this.setDocumentCursor(
774)}),this.data.events.subscribe(C=>{this.isNavigating=C,this.setDocumentCursor()}),this.upload.progressVisible.subscribe(C=>{this.uploadProgressVisible=C});let b=document.createElement("script");b.type="text/javascript",b.src="https://desk.zoho.com/portal/api/web/inapp/500343000003273001?orgId=714162809",b.defer=!0,document.body.appendChild(b)}ngOnInit(){return A(this,null,function*(){let e=this.accountService.getAccount();e.emailNeedsVerification()&&e.phoneNeedsVerification()?this.messageService.showMessage({message:"Your email and phone number need verification. Tap this message to verify.",style:"info",translate:!1,navigateTo:["/app/auth/verify"],navigateParams:{sendEmail:!0,sendSms:!0}}):e.emailNeedsVerification()?this.messageService.showMessage({message:"Your email needs verification. Tap this message to verify.",style:"info",translate:!1,navigateTo:["/app/auth/verify"],navigateParams:{sendEmail:!0}}):e.phoneNeedsVerification()&&this.messageService.showMessage({message:"Your phone number needs verification. Tap this message to verify.",style:"info",translate:!1,navigateTo:["/app/auth/verify"],navigateParams:{sendSms:!0}}),this.checkCta()})}ngAfterViewInit(){this.checkShareByUrl()}checkCta(){return A(this,null,function*(){this.route.snapshot.queryParams.cta==="timeline"&&this.startTimelineOnboarding()})}startTimelineOnboarding(){return A(this,null,function*(){yield this.prompt.confirm("Get started","Create your new timeline",null,null,` 775 <p>A Permanent timeline is the best way for others to experience your story as it unfolded in time.</p> 776 <p>In just two steps, you will create a public, interactive timeline that anyone can find and see online using an easy-to-share link.</p> 777 `);let i=` 778 <p>Give your timeline a name and an optional description so viewers can better understand what they see.</p> 779 `,n=[{fieldName:"displayName",placeholder:"Name",validators:[n4.required],config:{autocorrect:"on",spellcheck:"on"}},{fieldName:"description",placeholder:"Description (optional)",config:{autocorrect:"on",spellcheck:"on"}}],{promise:a,resolve:r}=Promise.withResolvers(),l=yield this.prompt.prompt(n,"Name your new timeline",a,"Continue",null,i),f=(0,KA.find)(this.accountService.getRootFolder().ChildItemVOs,{type:"type.folder.root.public"}),m=new H1({displayName:l.displayName,description:l.description,view:"folder.view.timeline",sort:"sort.display_date_asc",parentFolder_linkId:f.folder_linkId}),h=yield this.api.folder.post([m]);this.ga.sendEvent(b3.PUBLISH.PublishByUrl.initiated.params);let g=h.getFolderVO();r(void 0),yield this.router.navigate(["/public",g.archiveNbr,g.folder_linkId]),this.upload.promptForFiles();let v=this.upload.uploadSession.progress.subscribe(M=>A(this,null,function*(){if(M.sessionStatus===w0.Done){try{this.dialog.open(WA,{data:{folder:g},height:"auto"})}catch(b){}v.unsubscribe()}else M.sessionStatus>w0.Done&&v.unsubscribe()}))})}checkShareByUrl(){return A(this,null,function*(){if(this.route.snapshot.queryParams.shareByUrl){let e=this.route.snapshot.queryParams.shareByUrl,i=!1,n=!1;try{let r=(yield this.api.share.checkShareLink(e)).getShareByUrlVO(),l=r.ShareVO,f=r.FolderVO||r.RecordVO,m=r.AccountVO;if(l&&l.status.includes("ok")?n=!0:l&&l.status.includes("pending")&&(i=!0),n)f.isRecord?this.router.navigate(["/shares","withme"]):f.isFolder&&this.router.navigate(["/shares","withme",f.archiveNbr,f.folder_linkId]);else if(i){let h=`You have already requested access to ${f.displayName}. ${m.fullName} must approve your request.`;this.prompt.confirm("OK",h),this.router.navigate(["."],{relativeTo:this.route,queryParams:{shareByUrl:null}})}else{let h=`Request access to ${f.displayName} shared by ${m.fullName}?`;try{let{promise:g,resolve:v}=Promise.withResolvers();yield this.prompt.confirm("Request access",h,g);try{yield this.api.share.requestShareAccess(e),v(void 0),this.messageService.showMessage({message:"Access requested.",style:"success"})}catch(M){v(void 0),M instanceof g4&&(M.messageIncludesPhrase("share.already_exists")?this.messageService.showError({message:"You have already requested access to this item."}):M.messageIncludesPhrase("same")&&this.messageService.showError({message:"You do not need to request access to your own item."}))}}finally{this.router.navigate(["."],{relativeTo:this.route,queryParams:{shareByUrl:null}})}}}catch(a){if(a instanceof g4)this.messageService.showError({message:"Invalid share URL."}),this.router.navigate(["."],{relativeTo:this.route,queryParams:{shareByUrl:null}});else throw a}}})}onDragEnter(e){if(!this.isDraggingFile){this.isDraggingFile=!0;let i={type:"start",targetTypes:["folder"],srcComponent:this,event:e};this.drag.dispatch(i)}}onDragLeave(e){if(this.isDraggingFile&&e.screenX===0&&e.clientX===0){let i={type:"end",targetTypes:["folder"],srcComponent:this,event:e};this.drag.dispatch(i),this.isDraggingFile=!1}}onDrop(e,i){return A(this,null,function*(){let n=i.event.dataTransfer.files;if(this.isDraggingFile=!1,!n?.length)return;let a=i.event.dataTransfer.items,r=a[0].webkitGetAsEntry!==null,l=Array.from(a).map(m=>m.webkitGetAsEntry&&m.webkitGetAsEntry()),f;if(e?f=this.drag.getDestinationFromDropTarget(e):f=this.data.currentFolder,f.type.includes("public"))try{yield this.prompt.confirm("Upload to public","This is a public folder. Are you sure you want to upload here?")}catch(m){return}l.length&&r?this.upload.uploadFolders(f,l):this.upload.uploadFiles(f,Array.from(n))})}
779setDocumentCursor(){document.body.style.cursor=this.isNavigating?"wait":"auto"}static{this.\u0275fac=function(i){return new(i||t)($(e4),$(ce),$(C4),$(YA),$(ee),$(a3),$(ZA,8),$(g2),$(c8),$(t8),$(Sc,8),$(P0))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-main"]],viewQuery:function(i,n){if(i&1&&k4(TQ,5)(ra,5),i&2){let a;q1(a=Y1())&&(n.mainContentElement=a.first),q1(a=Y1())&&(n.portalOutlet=a.first)}},hostBindings:function(i,n){i&1&&e1("dragenter",function(r){return n.onDragEnter(r)})("dragleave",function(r){return n.onDragLeave(r)})},standalone:!1,decls:13,vars:5,consts:[["nav",""],["mainContent",""],[3,"isVisibleChange","isVisible"],[1,"main-panel"],[1,"main-content",3,"ngClass"],["name","dialog"]],template:function(i,n){if(i&1){let a=z1();T(0,"pr-left-menu",2),L6("isVisibleChange",function(l){a1(a);let f=v0(3);return z6(f.hambugerMenuVisible,l)||(f.hambugerMenuVisible=l),s1(l)}),D(),T(1,"div",3),O1(2,"pr-nav",null,0),T(4,"div",4,1),O1(6,"router-outlet")(7,"router-outlet",5)(8,"pr-user-checklist"),D()(),O1(9,"pr-mobile-banner")(10,"pr-upload-progress")(11,"pr-folder-picker")(12,"pr-prompt")}if(i&2){let a=v0(3);g6("isVisible",a.hambugerMenuVisible),k(4),t1("ngClass",K5(2,DQ,n.isNavigating,n.uploadProgressVisible))}},styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}.main-content[_ngcontent-%COMP%]{opacity:1}.main-content.navigating[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;transition:.1s ease-in opacity}.main-content.uploading[_ngcontent-%COMP%]{padding-bottom:80px}pr-folder-picker[_ngcontent-%COMP%]{z-index:1010}@media screen and (min-width:900px){[_nghost-%COMP%]{display:flex;height:100vh;overflow-y:hidden}.main-panel[_ngcontent-%COMP%]{flex:1 1 auto;max-width:calc(100% - 13.75rem);display:flex;flex-direction:column}.main-content[_ngcontent-%COMP%]{padding-top:0;padding-left:1.25rem;padding-right:1.25rem}.main-content.uploading[_ngcontent-%COMP%]{padding-bottom:0}pr-nav[_ngcontent-%COMP%]{flex:0 0 10rem}}"]})}}return t})();var XA=o2(x8());var Sc=(()=>{class t{constructor(e,i,n,a,r){this.document=e,this.dataService=i,this.accountService=n,this.ngZone=r,this.subject=new E1,this.hasFiles=!1,this.debug=(0,XA.default)("service:drag"),this.renderer=a.createRenderer(null,null),this.mouseMoveHandler=(0,Dd.throttle)(l=>{this.setCursorPosition(l)},8),this.dropHandler=l=>{l.stopPropagation(),l.preventDefault(),this.dispatch({type:"end",targetTypes:["folder"],srcComponent:this.dragSrc,event:l})},h5("events",this.debug,this.subject)}dispatch(e,i=0){if(i)return setTimeout(()=>{this.dispatch(e)},i);switch(e.type){case"start":this.onDragStart(e);break;case"end":this.onDragEnd(e);break;case"enter":this.onDragEnter(e);break;case"leave":this.onDragLeave(e);break}this.subject.next(e),e.type==="end"&&(this.dropTarget||this.hasFiles)&&(e.srcComponent.onDrop(this.dropTarget,e),this.dropTarget=null)}events(){return this.subject.asObservable()}cancelEvent(e){e.preventDefault()}onDragStart(e){this.dragSrc=e.srcComponent,this.createDragCursor(e.event),this.updateItemLabelText(e.event),this.updateActionLabelText(),this.ngZone.runOutsideAngular(()=>{this.document.addEventListener("mousemove",this.mouseMoveHandler)}),this.renderer.addClass(this.document.body,"dragging"),this.hasFiles=e.srcComponent instanceof _n,this.hasFiles&&(this.document.addEventListener("drop",this.dropHandler),this.document.addEventListener("dragover",this.cancelEvent),this.document.addEventListener("dragenter",this.cancelEvent),this.createOutline())}onDragEnd(e){this.document.removeEventListener("mousemove",this.mouseMoveHandler),this.destroyDragCursor(),this.dragSrc=null,this.renderer.removeClass(this.document.body,"dragging"),this.hasFiles&&(this.document.removeEventListener("drop",this.dropHandler),this.document.removeEventListener("dragover",this.cancelEvent),this.document.removeEventListener("dragenter",this.cancelEvent),this.destroyOutline())}onDragEnter(e){this.dropTarget=e.srcComponent,this.updateActionLabelText()}onDragLeave(e){this.dropTarget=null,this.updateActionLabelText()}createOutline(){this.screenOutlineElement=this.renderer.createElement("div"),this.renderer.addClass(this.screenOutlineElement,"drag-service-screen-outline"),this.renderer.appendChild(this.document.body,this.screenOutlineElement),A8.from(this.screenOutlineElement,{opacity:0,duration:.125})}destroyOutline(){let e=this.screenOutlineElement,i=1/6,n=()=>{this.renderer.removeChild(e.parentNode,e)};A8.to(e,{duration:i,opacity:0,ease:"ease",onComplete:n})}createDragCursor(e){let i=this.renderer.createElement("div"),n=this.renderer.createElement("div"),a=this.renderer.createElement("div");this.renderer.addClass(i,"drag-service-cursor"),this.renderer.addClass(a,"drag-service-cursor-item"),this.renderer.addClass(n,"drag-service-cursor-action"),this.renderer.appendChild(i,a),this.renderer.appendChild(i,n),this.renderer.appendChild(this.document.body,i),this.dragCursorElement=i,this.actionLabelElement=n,this.itemsLabelElement=a,this.setCursorPosition(e),this.dragSrc instanceof W7?this.renderer.addClass(this.dragCursorElement,"for-file-list-item"):this.dragSrc instanceof _n&&this.renderer.addClass(this.dragCursorElement,"for-file-upload"),A8.from(this.dragCursorElement,{opacity:0,duration:.125})}setCursorPosition(e){if(!(this.dragSrc instanceof _n)){let i=this.dragCursorElement.clientWidth,n=e.clientX-i/2,a=e.clientY-5;this.renderer.setStyle(this.dragCursorElement,"transform",`translate(${n}px, ${a}px)`)}}
779destroyDragCursor(){let e=!!this.dropTarget,i=this.dragCursorElement,n=()=>{this.renderer.removeChild(i.parentNode,i)},a=1/6;!e||this.hasFiles?A8.to(i,{duration:a,opacity:0,ease:"ease",onComplete:n}):A8.to(i,{duration:a,rotate:-5,opacity:0,scale:.5,ease:"ease",onComplete:n})}updateItemLabelText(e){let i="";if(this.dragSrc instanceof W7){let n=this.dragSrc.item,a=this.dataService.getSelectedItems(),r=a.has(n);a.size>1&&r?i=`${a.size} items`:i=n.displayName}else this.dragSrc instanceof _n&&(i="Drop files to upload");this.itemsLabelElement.innerText=i}updateActionLabelText(){let e="";this.dragSrc instanceof W7?this.dropTarget?this.dropTarget instanceof W7?e=`Move to ${this.dropTarget.item.displayName}`:this.dropTarget instanceof rM?e=`Move to ${this.dropTarget.breadcrumb.text}`:this.dropTarget instanceof oM&&(e=`Move to ${this.dropTarget.linkText}`):e="":this.dragSrc instanceof _n&&(this.dropTarget?this.dropTarget instanceof W7&&(e=`Upload to ${this.dropTarget.item.displayName}`):e=`Upload to ${this.dataService.currentFolder.displayName}`),this.actionLabelElement.innerText=e}getDestinationFromDropTarget(e){let i;if(e instanceof W7)i=e.item;else if(e instanceof rM)if(e.breadcrumb.folder_linkId)i=new H1({folder_linkId:e.breadcrumb.folder_linkId,archiveNbr:e.breadcrumb.archiveNbr,displayName:e.breadcrumb.text});else switch(e.breadcrumb.routerPath){case"/private":i=this.accountService.getPrivateRoot();break;case"/public":i=this.accountService.getPublicRoot();break}else if(e instanceof oM){let n=e.getFolderTypeFromLink(),a=this.accountService.getRootFolder();i=(0,Dd.find)(a.ChildItemVOs,{type:n})}return i}static{this.\u0275fac=function(i){return new(i||t)(p1(p2),p1(P0),p1(e4),p1(C8),p1(n2))}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();var $d={};Hr($d,{Century:()=>Bd,Date:()=>O4,Decade:()=>Hd,Interval:()=>xn,List:()=>Sn,Season:()=>bn,Set:()=>Ud,Year:()=>Vd});function QA(t,c){return JA(!!t,!0,c||`expected "${t}" to be ok`)}function JA(t,c,e){if(t==c||Number.isNaN(t)&&Number.isNaN(c))return!0;throw new Error(e||`expected "${t}" to equal "${c}"`)}QA.equal=JA;var E2=QA;var OQ=/^days?$/i,EQ=/^months?$/i,IQ=/^years?$/i,PQ=/^[xX]$/,RQ=/[xX]/g,FQ=/^[0-9xXdDmMyY]{8}$/,VQ="YYYYMMDD".split(""),Od=[31,29,31,30,31,30,31,31,30,31,30,31],{floor:HQ,pow:eT,max:Ed,min:lM}=Math,A1=class t{static test(c,e){return this.convert(c)&this.convert(e)}static convert(c=0){if(c=c||0,c instanceof t)return c.value;switch(typeof c){case"number":return c;case"boolean":return c?t.YMD:0;case"string":if(OQ.test(c))return t.DAY;if(EQ.test(c))return t.MONTH;if(IQ.test(c))return t.YEAR;if(FQ.test(c))return t.compute(c);default:throw new Error(`invalid value: ${c}`)}}static compute(c){return c.split("").reduce((e,i,n)=>e|(PQ.test(i)?eT(2,n):0),0)}static values(c,e=0,i=!0){let n=t.numbers(c,e).split(""),a=[Number(n.slice(0,4).join(""))];return n.length>4&&a.push(Number(n.slice(4,6).join(""))),n.length>6&&a.push(Number(n.slice(6,8).join(""))),i?t.normalize(a):a}static numbers(c,e=0){return c.replace(RQ,e)}static normalize(c){return c.length>1&&(c[1]=lM(11,Ed(0,c[1]-1))),c.length>2&&(c[2]=lM(Od[c[1]]||NaN,Ed(1,c[2]))),c}constructor(c=0){this.value=t.convert(c)}test(c=0){return this.value&t.convert(c)}bit(c){return this.value&eT(2,c)}get day(){return this.test(t.DAY)}get month(){return this.test(t.MONTH)}get year(){return this.test(t.YEAR)}add(c){return this.value=this.value|t.convert(c),this}set(c=0){return this.value=t.convert(c),this}mask(c=VQ,e=0,i="X"){return c.map((n,a)=>this.bit(e+a)?i:n)}masks(c,e="X"){let i=0;return c.map(n=>{let a=this.mask(n.split(""),i,e);return i=i+a.length,a.join("")})}max([c,e,i]){if(!c)return[];if(c=Number(this.test(t.YEAR)?this.masks([c],"9")[0]:c),!e)return[c];switch(e=Number(e)-1,this.test(t.MONTH)){case t.MONTH:e=11;break;case t.MX:e=e<9?8:11;break;case t.XM:e=(e+1)%10,e=e<3?e+9:e-1;break}if(!i)return[c,e];switch(i=Number(i),this.test(t.DAY)){case t.DAY:i=Od[e];break;case t.DX:i=lM(Od[e],i+(9-i%10));break;case t.XD:i=i%10,e===1?i=i===9&&!cT(c)?i+10:i+20:(i=i<2?i+30:i+20,i>Od[e]&&(i=i-10));break}return e===1&&i>28&&!cT(c)&&(i=28),[c,e,i]}
779min([c,e,i]){if(!c)return[];if(c=Number(this.test(t.YEAR)?this.masks([c],"0")[0]:c),e==null)return[c];switch(e=Number(e)-1,this.test(t.MONTH)){case t.MONTH:case t.XM:e=0;break;case t.MX:e=e<9?0:9;break}if(!i)return[c,e];switch(i=Number(i),this.test(t.DAY)){case t.DAY:i=1;break;case t.DX:i=Ed(1,HQ(i/10)*10);break;case t.XD:i=Ed(1,i%10);break}return[c,e,i]}marks(c,e="?"){return c.map((i,n)=>[this.qualified(n*2)?e:"",i,this.qualified(n*2+1)?e:""].join(""))}qualified(c){switch(c){case 1:return this.value===t.YEAR||this.value&t.YEAR&&!(this.value&t.MONTH);case 2:return this.value===t.MONTH||this.value&t.MONTH&&!(this.value&t.YEAR);case 3:return this.value===t.YM;case 4:return this.value===t.DAY||this.value&t.DAY&&this.value!==t.YMD;case 5:return this.value===t.YMD;default:return!1}}qualify(c){return this.value=this.value|t.UA[c],this}toJSON(){return this.value}toString(c="X"){return this.masks(["YYYY","MM","DD"],c).join("-")}};A1.prototype.is=A1.prototype.test;function cT(t){return t%4>0?!1:t%100>0?!0:!(t%400>0)}A1.DAY=A1.D=A1.compute("yyyymmxx");A1.MONTH=A1.M=A1.compute("yyyyxxdd");A1.YEAR=A1.Y=A1.compute("xxxxmmdd");A1.MD=A1.M|A1.D;A1.YMD=A1.Y|A1.MD;A1.YM=A1.Y|A1.M;A1.YYXX=A1.compute("yyxxmmdd");A1.YYYX=A1.compute("yyyxmmdd");A1.XXXX=A1.compute("xxxxmmdd");A1.DX=A1.compute("yyyymmdx");A1.XD=A1.compute("yyyymmxd");A1.MX=A1.compute("yyyymxdd");A1.XM=A1.compute("yyyyxmdd");A1.UA=[A1.YEAR,A1.YEAR,A1.MONTH,A1.YM,A1.DAY,A1.YMD];var aT=o2(iT(),1);var G7={level:2,offset:!0,types:[],seasonIntervals:!1,seasonUncertainty:!1};var{assign:ls}=Object;function s0(t){return Number(Array.isArray(t)?t.join(""):t)}function d2(t){return t.join("")}function fM(){return 0}function fs(){return null}function ye(...t){return t.length===1?c=>c[t[0]]:c=>BQ(c,t)}function Cn(...t){return c=>t.map(e=>c[e])}function BQ(t,c=t.keys()){return Array.from(c).reduce((e,i)=>t[i]!==null?e.concat(t[i]):e,[])}function M5(...t){if(typeof t[t.length-1]=="object")var c=t.pop();return e=>ls(t.reduce((i,n)=>ls(i,e[n]),{}),c)}function v5(t){return c=>({values:[c[0],c[2]],type:"Interval",level:t})}function N6(t="unspecified",c="X",e=!0){return(i,n,a)=>{i=i.join("");let r=i.startsWith("-"),l=i.replace(/-/g,"");if(l.indexOf(c)===-1)return a;let f=A1.values(l,0,e);return r&&(f[0]=-f[0]),{values:f,[t]:A1.compute(l)}}}function k6(t,c=0,e=null){return ls({type:"Date",level:c,values:A1.normalize(t.map(Number))},e)}function yn(t,c=1,e=null){return ls({type:"Year",level:c,values:t.map(Number)},e)}function Pd(t,c=0){return{type:"Century",level:c,values:[t]}}function Rd(t,c=2){return{type:"Decade",level:c,values:[t]}}function UQ(t){let c=t<0?"-":"+",e=Math.abs(t),i=String(Math.floor(e/60)).padStart(2,"0"),n=String(e%60).padStart(2,"0");return`${c}${i}:${n}`}function nT(t){let c=t[3],e=A1.normalize(t[0].map(Number)).concat(t[2]),i;return c==null&&G7.offset?typeof G7.offset=="number"?c=G7.offset:c=-1*new Date(...e).getTimezoneOffset():c!=null&&(i=UQ(c)),{level:0,offset:c,timeZone:i,type:"Date",values:e}}function Fd(t,c=1){return{type:"Season",level:c,values:t.map(Number)}}function dM(t){return ls({values:t[1],level:2},t[0],t[2])}function ds(t,c=2){return([e],i,n)=>{let a={uncertain:new A1,approximate:new A1},r=e.map(([l,f,m],h)=>{for(let g in l)a[g].qualify(h*2);for(let g in m)a[g].qualify(1+h*2);return f});return!a.uncertain.value&&!a.approximate.value?n:m1(E({},t(r,c)),{uncertain:a.uncertain.value,approximate:a.approximate.value})}}function f1(t){return t[0]}var{DAY:wM1,MONTH:SM1,YEAR:NM1,YMD:kM1,YM:AM1,MD:TM1,YYXX:DM1,YYYX:OM1,XXXX:EM1}=A1,$Q,jQ=[{name:"edtf",symbols:["L0"],postprocess:f1},{name:"edtf",symbols:["L1"],postprocess:f1},{name:"edtf",symbols:["L2"],postprocess:f1},{name:"edtf",symbols:["L3"],postprocess:f1},{name:"L0",symbols:["date_time"],postprocess:f1},{name:"L0",symbols:["century"],postprocess:f1},{name:"L0",symbols:["L0i"],postprocess:f1},{name:"L0i",symbols:["date_time",{literal:"/"},"date_time"],postprocess:v5(0)},{name:"century",symbols:["positive_century"],postprocess:t=>Pd(t[0])},{name:"century$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"century",symbols:["century$string$1"],postprocess:t=>Pd(0)},{name:"century",symbols:[{literal:"-"},"positive_century"],postprocess:t=>Pd(-t[1])},{name:"positive_century",symbols:["positive_digit","digit"],postprocess:s0},{name:"positive_century",symbols:[{literal:"0"},"positive_digit"],postprocess:s0},{name:"date_time",symbols:["date"],postprocess:f1},{name:"date_time",symbols:["datetime"],postprocess:f1},{name:"date",symbols:["year"],postprocess:t=>k6(t)},{name:"date",symbols:["year_month"],postprocess:t=>k6(t[0])},{name:"date",symbols:["year_month_day"],postprocess:t=>k6(t[0])},{name:"year",symbols:["positive_year"],postprocess:f1},{name:"year",symbols:["negative_year"],postprocess:f1},{name:"year$string$1",symbols:[{literal:"0"},{literal:"0"},{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"year",symbols:["year$string$1"],postprocess:d2},{name:"positive_year",symbols:["positive_digit","digit","digit","digit"],postprocess:d2},{name:"positive_year",symbols:[{literal:"0"},"positive_digit","digit","digit"],postprocess:d2},{name:"positive_year$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_year",symbols:["positive_year$string$1","positive_digit","digit"],postprocess:d2},{name:"positive_year$string$2",symbols:[{literal:"0"},{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_year",symbols:["positive_year$string$2","positive_digit"],postprocess:d2},{name:"negative_year",symbols:[{literal:"-"},"positive_year"],postprocess:d2},{name:"year_month",symbols:["year",{literal:"-"},"month"],postprocess:ye(0,2)},{name:"year_month_day",symbols:["year",{literal:"-"},"month_day"],postprocess:ye(0,2)},{name:"month",symbols:["d01_12"],postprocess:f1},{name:"month_day",symbols:["m31",{literal:"-"},"day"],postprocess:ye(0,2)},{name:"month_day",symbols:["m30",{literal:"-"},"d01_30"],postprocess:ye(0,2)},{name:"month_day$string$1",symbols:[{literal:"0"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"month_day",symbols:["month_day$string$1",{literal:"-"},"d01_29"],postprocess:ye(0,2)},{name:"day",symbols:["d01_31"],postprocess:f1},{name:"datetime$ebnf$1$subexpression$1",symbols:["timezone"],postprocess:f1},{name:"datetime$ebnf$1",symbols:["datetime$ebnf$1$subexpression$1"],postprocess:f1},{name:"datetime$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"datetime",symbols:["year_month_day",{literal:"T"},"time","datetime$ebnf$1"],postprocess:nT},{name:"time",symbols:["hours",{literal:":"},"minutes",{literal:":"},"seconds","milliseconds"],postprocess:ye(0,2,4,5)},{name:"time",symbols:["hours",{literal:":"},"minutes"],postprocess:ye(0,2)},{name:"time$string$1",symbols:[{literal:"2"},{literal:"4"},{literal:":"},{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"time$ebnf$1$string$1",symbols:[{literal:":"},{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"time$ebnf$1",symbols:["time$ebnf$1$string$1"],postprocess:f1},{name:"time$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"time",symbols:["time$string$1","time$ebnf$1"],postprocess:()=>[24,0,0]},{name:"hours",symbols:["d00_23"],postprocess:s0},{name:"minutes",symbols:["d00_59"],postprocess:s0},{name:"seconds",symbols:["d00_59"],postprocess:s0},{name:"milliseconds",symbols:[]},{name:"milliseconds",symbols:[{literal:"."},"d3s"],postprocess:t=>s0(t.slice(1))},{name:"timezone",symbols:[{literal:"Z"}],postprocess:fM},{name:"timezone$subexpression$1",symbols:[{literal:"-"}]},{name:"timezone$subexpression$1",symbols:[{literal:"\u2212"}]},{name:"timezone",symbols:["timezone$subexpression$1","offset"],postprocess:t=>-t[1]},{name:"timezone",symbols:[{literal:"+"},"positive_offset"],postprocess:ye(1)},{name:"positive_offset",symbols:["offset"],postprocess:f1},{name:"positive_offset$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_offset$ebnf$1",symbols:[{literal:":"}],postprocess:f1},{name:"positive_offset$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"positive_offset$string$2",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_offset",symbols:["positive_offset$string$1","positive_offset$ebnf$1","positive_offset$string$2"],postprocess:fM},{name:"positive_offset$subexpression$1$string$1",symbols:[{literal:"1"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"positive_offset$subexpression$1",symbols:["positive_offset$subexpression$1$string$1"]},{name:"positive_offset$subexpression$1$string$2",symbols:[{literal:"1"},{literal:"3"}],postprocess:function(c){return c.join("")}},{name:"positive_offset$subexpression$1",symbols:["positive_offset$subexpression$1$string$2"]},{name:"positive_offset$ebnf$2",symbols:[{literal:":"}],postprocess:f1},{name:"positive_offset$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"positive_offset",symbols:["positive_offset$subexpression$1","positive_offset$ebnf$2","minutes"],postprocess:t=>s0(t[0])*60+t[2]},{name:"positive_offset$string$3",symbols:[{literal:"1"},{literal:"4"}],postprocess:function(c){return c.join("")}},{name:"positive_offset$ebnf$3",symbols:[{literal:":"}],postprocess:f1},{name:"positive_offset$ebnf$3",symbols:[],postprocess:function(t){return null}},{name:"positive_offset$string$4",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_offset",symbols:["positive_offset$string$3","positive_offset$ebnf$3","positive_offset$string$4"],postprocess:()=>840},{name:"positive_offset",symbols:["d00_14"],postprocess:t=>s0(t[0])*60},{name:"offset$ebnf$1",symbols:[{literal:":"}],postprocess:f1},{name:"offset$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"offset",symbols:["d01_11","offset$ebnf$1","minutes"],postprocess:t=>s0(t[0])*60+t[2]},{name:"offset$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"offset$ebnf$2",symbols:[{literal:":"}],postprocess:f1},{name:"offset$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"offset",symbols:["offset$string$1","offset$ebnf$2","d01_59"],postprocess:t=>s0(t[2])},{name:"offset$string$2",symbols:[{literal:"1"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"offset$ebnf$3",symbols:[{literal:":"}],postprocess:f1},{name:"offset$ebnf$3",symbols:[],postprocess:function(t){return null}},{name:"offset$string$3",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"offset",symbols:["offset$string$2","offset$ebnf$3","offset$string$3"],postprocess:()=>720},{name:"offset",symbols:["d01_12"],postprocess:t=>s0(t[0])*60},{name:"L1",symbols:["L1d"],postprocess:f1},{name:"L1",symbols:["L1Y"],postprocess:f1},{name:"L1",symbols:["L1S"],postprocess:f1},{name:"L1",symbols:["L1i"],postprocess:f1},{name:"L1d",symbols:["date_ua"],postprocess:f1},{name:"L1d",symbols:["L1X"],postprocess:M5(0,{type:"Date",level:1})},{name:"date_ua",symbols:["date","UA"],postprocess:M5(0,1,{level:1})},{name:"L1i",symbols:["L1i_date",{literal:"/"},"L1i_date"],postprocess:v5(1)},{name:"L1i",symbols:["date_time",{literal:"/"},"L1i_date"],postprocess:v5(1)},{name:"L1i",symbols:["L1i_date",{literal:"/"},"date_time"],postprocess:v5(1)},{name:"L1i_date",symbols:[],postprocess:fs},{name:"L1i_date",symbols:["date_ua"],postprocess:f1},{name:"L1i_date",symbols:["INFINITY"],postprocess:f1},{name:"INFINITY$string$1",symbols:[{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"INFINITY",symbols:["INFINITY$string$1"],postprocess:()=>1/0},{name:"L1X$string$1",symbols:[{literal:"-"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["nd4",{literal:"-"}
779,"md","L1X$string$1"],postprocess:N6()},{name:"L1X$string$2",symbols:[{literal:"-"},{literal:"X"},{literal:"X"},{literal:"-"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["nd4","L1X$string$2"],postprocess:N6()},{name:"L1X$string$3",symbols:[{literal:"X"},{literal:"X"},{literal:"X"},{literal:"X"},{literal:"-"},{literal:"X"},{literal:"X"},{literal:"-"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["L1X$string$3"],postprocess:N6()},{name:"L1X$string$4",symbols:[{literal:"-"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["nd4","L1X$string$4"],postprocess:N6()},{name:"L1X$string$5",symbols:[{literal:"X"},{literal:"X"},{literal:"X"},{literal:"X"},{literal:"-"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["L1X$string$5"],postprocess:N6()},{name:"L1X$string$6",symbols:[{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["nd2","L1X$string$6"],postprocess:N6()},{name:"L1X",symbols:["nd3",{literal:"X"}],postprocess:N6()},{name:"L1X$string$7",symbols:[{literal:"X"},{literal:"X"},{literal:"X"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"L1X",symbols:["L1X$string$7"],postprocess:N6()},{name:"L1Y",symbols:[{literal:"Y"},"d5+"],postprocess:t=>yn([s0(t[1])],1)},{name:"L1Y$string$1",symbols:[{literal:"Y"},{literal:"-"}],postprocess:function(c){return c.join("")}},{name:"L1Y",symbols:["L1Y$string$1","d5+"],postprocess:t=>yn([-s0(t[1])],1)},{name:"UA",symbols:[{literal:"?"}],postprocess:()=>({uncertain:!0})},{name:"UA",symbols:[{literal:"~"}],postprocess:()=>({approximate:!0})},{name:"UA",symbols:[{literal:"%"}],postprocess:()=>({approximate:!0,uncertain:!0})},{name:"L1S",symbols:["year",{literal:"-"},"d21_24"],postprocess:t=>Fd([t[0],t[2]],1)},{name:"L2",symbols:["L2d"],postprocess:f1},{name:"L2",symbols:["L2Y"],postprocess:f1},{name:"L2",symbols:["L2S"],postprocess:f1},{name:"L2",symbols:["L2D"],postprocess:f1},{name:"L2",symbols:["L2C"],postprocess:f1},{name:"L2",symbols:["L2i"],postprocess:f1},{name:"L2",symbols:["set"],postprocess:f1},{name:"L2",symbols:["list"],postprocess:f1},{name:"L2d",symbols:["ua_date"],postprocess:f1},{name:"L2d",symbols:["L2X"],postprocess:M5(0,{type:"Date",level:2})},{name:"L2D",symbols:["decade"],postprocess:f1},{name:"L2D",symbols:["decade","UA"],postprocess:M5(0,1)},{name:"L2C",symbols:["century"],postprocess:f1},{name:"L2C",symbols:["century","UA"],postprocess:M5(0,1,{level:2})},{name:"ua_date",symbols:["ua_year"],postprocess:ds(k6)},{name:"ua_date",symbols:["ua_year_month"],postprocess:ds(k6)},{name:"ua_date",symbols:["ua_year_month_day"],postprocess:ds(k6)},{name:"ua_year",symbols:["UA","year"],postprocess:t=>[t]},{name:"ua_year_month$macrocall$2",symbols:["year"]},{name:"ua_year_month$macrocall$1$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_year_month$macrocall$1$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month$macrocall$1$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_year_month$macrocall$1$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month$macrocall$1",symbols:["ua_year_month$macrocall$1$ebnf$1","ua_year_month$macrocall$2","ua_year_month$macrocall$1$ebnf$2"]},{name:"ua_year_month$macrocall$4",symbols:["month"]},{name:"ua_year_month$macrocall$3$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_year_month$macrocall$3$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month$macrocall$3$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_year_month$macrocall$3$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month$macrocall$3",symbols:["ua_year_month$macrocall$3$ebnf$1","ua_year_month$macrocall$4","ua_year_month$macrocall$3$ebnf$2"]},{name:"ua_year_month",symbols:["ua_year_month$macrocall$1",{literal:"-"},"ua_year_month$macrocall$3"],postprocess:Cn(0,2)},{name:"ua_year_month_day$macrocall$2",symbols:["year"]},{name:"ua_year_month_day$macrocall$1$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_year_month_day$macrocall$1$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month_day$macrocall$1$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_year_month_day$macrocall$1$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_year_month_day$macrocall$1",symbols:["ua_year_month_day$macrocall$1$ebnf$1","ua_year_month_day$macrocall$2","ua_year_month_day$macrocall$1$ebnf$2"]},{name:"ua_year_month_day",symbols:["ua_year_month_day$macrocall$1",{literal:"-"},"ua_month_day"],postprocess:t=>[t[0],...t[2]]},{name:"ua_month_day$macrocall$2",symbols:["m31"]},{name:"ua_month_day$macrocall$1$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$1$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$1$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$1$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$1",symbols:["ua_month_day$macrocall$1$ebnf$1","ua_month_day$macrocall$2","ua_month_day$macrocall$1$ebnf$2"]},{name:"ua_month_day$macrocall$4",symbols:["day"]},{name:"ua_month_day$macrocall$3$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$3$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$3$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$3$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$3",symbols:["ua_month_day$macrocall$3$ebnf$1","ua_month_day$macrocall$4","ua_month_day$macrocall$3$ebnf$2"]},{name:"ua_month_day",symbols:["ua_month_day$macrocall$1",{literal:"-"},"ua_month_day$macrocall$3"],postprocess:Cn(0,2)},{name:"ua_month_day$macrocall$6",symbols:["m30"]},{name:"ua_month_day$macrocall$5$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$5$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$5$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$5$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$5",symbols:["ua_month_day$macrocall$5$ebnf$1","ua_month_day$macrocall$6","ua_month_day$macrocall$5$ebnf$2"]},{name:"ua_month_day$macrocall$8",symbols:["d01_30"]},{name:"ua_month_day$macrocall$7$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$7$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$7$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$7$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$7",symbols:["ua_month_day$macrocall$7$ebnf$1","ua_month_day$macrocall$8","ua_month_day$macrocall$7$ebnf$2"]},{name:"ua_month_day",symbols:["ua_month_day$macrocall$5",{literal:"-"},"ua_month_day$macrocall$7"],postprocess:Cn(0,2)},{name:"ua_month_day$macrocall$10$string$1",symbols:[{literal:"0"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"ua_month_day$macrocall$10",symbols:["ua_month_day$macrocall$10$string$1"]},{name:"ua_month_day$macrocall$9$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$9$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$9$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$9$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$9",symbols:["ua_month_day$macrocall$9$ebnf$1","ua_month_day$macrocall$10","ua_month_day$macrocall$9$ebnf$2"]},{name:"ua_month_day$macrocall$12",symbols:["d01_29"]},{name:"ua_month_day$macrocall$11$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$11$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$11$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_month_day$macrocall$11$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_month_day$macrocall$11",symbols:["ua_month_day$macrocall$11$ebnf$1","ua_month_day$macrocall$12","ua_month_day$macrocall$11$ebnf$2"]},{name:"ua_month_day",symbols:["ua_month_day$macrocall$9",{literal:"-"},"ua_month_day$macrocall$11"],postprocess:Cn(0,2)},{name:"L2X",symbols:["dx4"],postprocess:N6()},{name:"L2X",symbols:["dx4",{literal:"-"},"mx"],postprocess:N6()},{name:"L2X",symbols:["dx4",{literal:"-"},"mdx"],postprocess:N6()},{name:"mdx",symbols:["m31x",{literal:"-"},"d31x"],postprocess:d2},{name:"mdx",symbols:["m30x",{literal:"-"},"d30x"],postprocess:d2},{name:"mdx$string$1",symbols:[{literal:"0"},{literal:"2"},{literal:"-"}],postprocess:function(c){return c.join("")}},{name:"mdx",symbols:["mdx$string$1","d29x"],postprocess:d2},{name:"L2i",symbols:["L2i_date",{literal:"/"},"L2i_date"],postprocess:v5(2)},{name:"L2i",symbols:["date_time",{literal:"/"},"L2i_date"],postprocess:v5(2)},{name:"L2i",symbols:["L2i_date",{literal:"/"},"date_time"],postprocess:v5(2)},{name:"L2i_date",symbols:[],postprocess:fs},{name:"L2i_date",symbols:["ua_date"],postprocess:f1},{name:"L2i_date",symbols:["L2X"],postprocess:f1},{name:"L2i_date",symbols:["INFINITY"],postprocess:f1},{name:"L2Y",symbols:["exp_year"],postprocess:f1},{name:"L2Y",symbols:["exp_year","significant_digits"],postprocess:M5(0,1)},{name:"L2Y",symbols:["L1Y","significant_digits"],postprocess:M5(0,1,{level:2})},{name:"L2Y",symbols:["year","significant_digits"],postprocess:t=>yn([t[0]],2,t[1])},{name:"significant_digits",symbols:[{literal:"S"},"positive_digit"],postprocess:t=>({significant:s0(t[1])})},{name:"exp_year",symbols:[{literal:"Y"},"exp"],postprocess:t=>yn([t[1]],2)},{name:"exp_year$string$1",symbols:[{literal:"Y"},{literal:"-"}],postprocess:function(c){return c.join("")}},{name:"exp_year",symbols:["exp_year$string$1","exp"],postprocess:t=>yn([-t[1]],2)},{name:"exp",symbols:["digits",{literal:"E"},"digits"],postprocess:t=>s0(t[0])*Math.pow(10,s0(t[2]))},{name:"L2S",symbols:["year",{literal:"-"},"d25_41"],postprocess:t=>Fd([t[0],t[2]],2)},{name:"decade",symbols:["positive_decade"],postprocess:t=>Rd(t[0])},{name:"decade$string$1",symbols:[{literal:"0"},{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"decade",symbols:["decade$string$1"],postprocess:()=>Rd(0)},{name:"decade",symbols:[{literal:"-"},"positive_decade"],postprocess:t=>Rd(-t[1])},{name:"positive_decade",symbols:["positive_digit","digit","digit"],postprocess:s0},{name:"positive_decade",symbols:[{literal:"0"},"positive_digit","digit"],postprocess:s0},{name:"positive_decade$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"positive_decade",symbols:["positive_decade$string$1","positive_digit"],postprocess:s0},{name:"set",symbols:["LSB","OL","RSB"],postprocess:dM},{name:"list",symbols:["LLB","OL","RLB"],postprocess:dM},{name:"LSB",symbols:[{literal:"["}],postprocess:()=>({type:"Set"})},{name:"LSB$string$1",symbols:[{literal:"["},{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"LSB",symbols:["LSB$string$1"],postprocess:()=>({type:"Set",earlier:!0})},{name:"LLB",symbols:[{literal:"{"}],postprocess:()=>({type:"List"})},{name:"LLB$string$1",symbols:[{literal:"{"},{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"LLB",symbols:["LLB$string$1"],postprocess:()=>({type:"List",earlier:!0})},{name:"RSB",symbols:[{literal:"]"}],postprocess:fs},{name:"RSB$string$1",symbols:[{literal:"."},{literal:"."},{literal:"]"}],postprocess:function(c){return c.join("")}},{name:"RSB",symbols:["RSB$string$1"],postprocess:()=>({later:!0})},{name:"RLB",symbols:[{literal:"}"}
779],postprocess:fs},{name:"RLB$string$1",symbols:[{literal:"."},{literal:"."},{literal:"}"}],postprocess:function(c){return c.join("")}},{name:"RLB",symbols:["RLB$string$1"],postprocess:()=>({later:!0})},{name:"OL",symbols:["LI"],postprocess:t=>[t[0]]},{name:"OL",symbols:["OL","_",{literal:","},"_","LI"],postprocess:t=>[...t[0],t[4]]},{name:"LI",symbols:["date"],postprocess:f1},{name:"LI",symbols:["ua_date"],postprocess:f1},{name:"LI",symbols:["L2X"],postprocess:f1},{name:"LI",symbols:["consecutives"],postprocess:f1},{name:"consecutives$string$1",symbols:[{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"consecutives",symbols:["year_month_day","consecutives$string$1","year_month_day"],postprocess:t=>[k6(t[0]),k6(t[2])]},{name:"consecutives$string$2",symbols:[{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"consecutives",symbols:["year_month","consecutives$string$2","year_month"],postprocess:t=>[k6(t[0]),k6(t[2])]},{name:"consecutives$string$3",symbols:[{literal:"."},{literal:"."}],postprocess:function(c){return c.join("")}},{name:"consecutives",symbols:["year","consecutives$string$3","year"],postprocess:t=>[k6([t[0]]),k6([t[2]])]},{name:"L3",symbols:["L3i"],postprocess:f1},{name:"L3",symbols:["L3S"],postprocess:f1},{name:"L3i",symbols:["L3s",{literal:"/"},"L3s"],postprocess:v5(3)},{name:"L3s",symbols:["L1S"],postprocess:f1},{name:"L3s",symbols:["L2S"],postprocess:f1},{name:"L3s",symbols:["L3S"],postprocess:f1},{name:"L3S",symbols:["ua_season"],postprocess:ds(Fd,3)},{name:"L3S",symbols:["xx_season"],postprocess:M5(0,{type:"Season",level:3})},{name:"ua_season$macrocall$2",symbols:["year"]},{name:"ua_season$macrocall$1$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_season$macrocall$1$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_season$macrocall$1$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_season$macrocall$1$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_season$macrocall$1",symbols:["ua_season$macrocall$1$ebnf$1","ua_season$macrocall$2","ua_season$macrocall$1$ebnf$2"]},{name:"ua_season$macrocall$4",symbols:["d21_41"]},{name:"ua_season$macrocall$3$ebnf$1",symbols:["UA"],postprocess:f1},{name:"ua_season$macrocall$3$ebnf$1",symbols:[],postprocess:function(t){return null}},{name:"ua_season$macrocall$3$ebnf$2",symbols:["UA"],postprocess:f1},{name:"ua_season$macrocall$3$ebnf$2",symbols:[],postprocess:function(t){return null}},{name:"ua_season$macrocall$3",symbols:["ua_season$macrocall$3$ebnf$1","ua_season$macrocall$4","ua_season$macrocall$3$ebnf$2"]},{name:"ua_season",symbols:["ua_season$macrocall$1",{literal:"-"},"ua_season$macrocall$3"],postprocess:Cn(0,2)},{name:"xx_season",symbols:["dx4",{literal:"-"},"d21_41"],postprocess:N6("unspecified","X",!1)},{name:"digit",symbols:["positive_digit"],postprocess:f1},{name:"digit",symbols:[{literal:"0"}],postprocess:f1},{name:"digits",symbols:["digit"],postprocess:f1},{name:"digits",symbols:["digits","digit"],postprocess:d2},{name:"nd4",symbols:["d4"]},{name:"nd4",symbols:[{literal:"-"},"d4"],postprocess:d2},{name:"nd3",symbols:["d3"]},{name:"nd3",symbols:[{literal:"-"},"d3"],postprocess:d2},{name:"nd2",symbols:["d2"]},{name:"nd2",symbols:[{literal:"-"},"d2"],postprocess:d2},{name:"d4",symbols:["d2","d2"],postprocess:d2},{name:"d3",symbols:["d2","digit"],postprocess:d2},{name:"d2",symbols:["digit","digit"],postprocess:d2},{name:"d3s",symbols:["digit"],postprocess:f1},{name:"d3s",symbols:["d2"],postprocess:f1},{name:"d3s",symbols:["d3"],postprocess:f1},{name:"d3s",symbols:["d3","digits"],postprocess:ye(0)},{name:"d5+",symbols:["positive_digit","d3","digits"],postprocess:s0},{name:"d1x",symbols:[/[1-9X]/],postprocess:f1},{name:"dx",symbols:["d1x"],postprocess:f1},{name:"dx",symbols:[{literal:"0"}],postprocess:f1},{name:"dx2",symbols:["dx","dx"],postprocess:d2},{name:"dx4",symbols:["dx2","dx2"],postprocess:d2},{name:"dx4",symbols:[{literal:"-"},"dx2","dx2"],postprocess:d2},{name:"md",symbols:["m31"],postprocess:f1},{name:"md",symbols:["m30"],postprocess:f1},{name:"md$string$1",symbols:[{literal:"0"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"md",symbols:["md$string$1"],postprocess:f1},{name:"mx",symbols:[{literal:"0"},"d1x"],postprocess:d2},{name:"mx",symbols:[/[1X]/,/[012X]/],postprocess:d2},{name:"m31x",symbols:[/[0X]/,/[13578X]/],postprocess:d2},{name:"m31x",symbols:[/[1X]/,/[02]/],postprocess:d2},{name:"m31x$string$1",symbols:[{literal:"1"},{literal:"X"}],postprocess:function(c){return c.join("")}},{name:"m31x",symbols:["m31x$string$1"],postprocess:f1},{name:"m30x",symbols:[/[0X]/,/[469]/],postprocess:d2},{name:"m30x$string$1",symbols:[{literal:"1"},{literal:"1"}],postprocess:function(c){return c.join("")}},{name:"m30x",symbols:["m30x$string$1"],postprocess:d2},{name:"d29x",symbols:[{literal:"0"},"d1x"],postprocess:d2},{name:"d29x",symbols:[/[1-2X]/,"dx"],postprocess:d2},{name:"d30x",symbols:["d29x"],postprocess:d2},{name:"d30x$string$1",symbols:[{literal:"3"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"d30x",symbols:["d30x$string$1"],postprocess:f1},{name:"d31x",symbols:["d30x"],postprocess:f1},{name:"d31x",symbols:[{literal:"3"},/[1X]/],postprocess:d2},{name:"positive_digit",symbols:[/[1-9]/],postprocess:f1},{name:"m31$subexpression$1$string$1",symbols:[{literal:"0"},{literal:"1"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$1"]},{name:"m31$subexpression$1$string$2",symbols:[{literal:"0"},{literal:"3"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$2"]},{name:"m31$subexpression$1$string$3",symbols:[{literal:"0"},{literal:"5"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$3"]},{name:"m31$subexpression$1$string$4",symbols:[{literal:"0"},{literal:"7"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$4"]},{name:"m31$subexpression$1$string$5",symbols:[{literal:"0"},{literal:"8"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$5"]},{name:"m31$subexpression$1$string$6",symbols:[{literal:"1"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$6"]},{name:"m31$subexpression$1$string$7",symbols:[{literal:"1"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"m31$subexpression$1",symbols:["m31$subexpression$1$string$7"]},{name:"m31",symbols:["m31$subexpression$1"],postprocess:f1},{name:"m30$subexpression$1$string$1",symbols:[{literal:"0"},{literal:"4"}],postprocess:function(c){return c.join("")}},{name:"m30$subexpression$1",symbols:["m30$subexpression$1$string$1"]},{name:"m30$subexpression$1$string$2",symbols:[{literal:"0"},{literal:"6"}],postprocess:function(c){return c.join("")}},{name:"m30$subexpression$1",symbols:["m30$subexpression$1$string$2"]},{name:"m30$subexpression$1$string$3",symbols:[{literal:"0"},{literal:"9"}],postprocess:function(c){return c.join("")}},{name:"m30$subexpression$1",symbols:["m30$subexpression$1$string$3"]},{name:"m30$subexpression$1$string$4",symbols:[{literal:"1"},{literal:"1"}],postprocess:function(c){return c.join("")}},{name:"m30$subexpression$1",symbols:["m30$subexpression$1$string$4"]},{name:"m30",symbols:["m30$subexpression$1"],postprocess:f1},{name:"d01_11",symbols:[{literal:"0"},"positive_digit"],postprocess:d2},{name:"d01_11",symbols:[{literal:"1"},/[0-1]/],postprocess:d2},{name:"d01_12",symbols:["d01_11"],postprocess:f1},{name:"d01_12$string$1",symbols:[{literal:"1"},{literal:"2"}],postprocess:function(c){return c.join("")}},{name:"d01_12",symbols:["d01_12$string$1"],postprocess:f1},{name:"d01_13",symbols:["d01_12"],postprocess:f1},{name:"d01_13$string$1",symbols:[{literal:"1"},{literal:"3"}],postprocess:function(c){return c.join("")}},{name:"d01_13",symbols:["d01_13$string$1"],postprocess:f1},{name:"d00_14$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"d00_14",symbols:["d00_14$string$1"],postprocess:f1},{name:"d00_14",symbols:["d01_13"],postprocess:f1},{name:"d00_14$string$2",symbols:[{literal:"1"},{literal:"4"}],postprocess:function(c){return c.join("")}},{name:"d00_14",symbols:["d00_14$string$2"],postprocess:f1},{name:"d00_23$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"d00_23",symbols:["d00_23$string$1"],postprocess:f1},{name:"d00_23",symbols:["d01_23"],postprocess:f1},{name:"d01_23",symbols:[{literal:"0"},"positive_digit"],postprocess:d2},{name:"d01_23",symbols:[{literal:"1"},"digit"],postprocess:d2},{name:"d01_23",symbols:[{literal:"2"},/[0-3]/],postprocess:d2},{name:"d01_29",symbols:[{literal:"0"},"positive_digit"],postprocess:d2},{name:"d01_29",symbols:[/[1-2]/,"digit"],postprocess:d2},{name:"d01_30",symbols:["d01_29"],postprocess:f1},{name:"d01_30$string$1",symbols:[{literal:"3"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"d01_30",symbols:["d01_30$string$1"],postprocess:f1},{name:"d01_31",symbols:["d01_30"],postprocess:f1},{name:"d01_31$string$1",symbols:[{literal:"3"},{literal:"1"}],postprocess:function(c){return c.join("")}},{name:"d01_31",symbols:["d01_31$string$1"],postprocess:f1},{name:"d00_59$string$1",symbols:[{literal:"0"},{literal:"0"}],postprocess:function(c){return c.join("")}},{name:"d00_59",symbols:["d00_59$string$1"],postprocess:f1},{name:"d00_59",symbols:["d01_59"],postprocess:f1},{name:"d01_59",symbols:["d01_29"],postprocess:f1},{name:"d01_59",symbols:[/[345]/,"digit"],postprocess:d2},{name:"d21_24",symbols:[{literal:"2"},/[1-4]/],postprocess:d2},{name:"d25_41",symbols:[{literal:"2"},/[5-9]/],postprocess:d2},{name:"d25_41",symbols:[{literal:"3"},"digit"],postprocess:d2},{name:"d25_41",symbols:[{literal:"4"},/[01]/],postprocess:d2},{name:"d21_41",symbols:["d21_24"],postprocess:f1},{name:"d21_41",symbols:["d25_41"],postprocess:f1},{name:"_$ebnf$1",symbols:[]},{name:"_$ebnf$1",symbols:["_$ebnf$1",{literal:" "}],postprocess:function(c){return c[0].concat([c[1]])}},{name:"_",symbols:["_$ebnf$1"]}],WQ="edtf",mM={Lexer:$Q,ParserRules:jQ,ParserStart:WQ};function GQ(t,c){return t.level<c.level?-1:t.level>c.level?1:0}function qQ(t,c={}){if(!t.length)return t;let{level:e,types:i,seasonIntervals:n,seasonUncertainty:a}=E(E({},G7),c);return t.filter(r=>n&&YQ(r)||a&&ZQ(r)?!0:!(r.level>e||i.length&&!i.includes(r.type)))}function YQ({type:t,values:c}){return t==="Interval"&&c[0].type==="Season"}function ZQ({type:t,level:c}){return t==="Season"&&c>=3}function KQ(t){return t.length<2?t[0]:t.sort(GQ)[0]}function q7(t,c={}){try{let e=XQ(),i=KQ(qQ(e.feed(t).results,c));
779if(!i)throw new Error("edtf: No possible parsings (@EOS)");return i}catch(e){throw e.message+=` for "${t}"`,e}}function XQ(){return new aT.default.Parser(mM.ParserRules,mM.ParserStart)}var $2=class{static get type(){return this.name}static parse(c){return q7(c,{types:[this.type]})}static from(c){return c instanceof this?c:new this(c)}static UTC(...c){let e=Date.UTC(...c);return c[0]>=0&&c[0]<100&&(e=QQ(new Date(e))),e}get type(){return this.constructor.type}get edtf(){return this.toEDTF()}get isEDTF(){return!0}toJSON(){return this.toEDTF()}toString(){return this.toEDTF()}toLocaleString(...c){return this.localize(...c)}inspect(){return this.toEDTF()}valueOf(){return this.min}[Symbol.toPrimitive](c){return c==="number"?this.valueOf():this.toEDTF()}covers(c){return this.min<=c.min&&this.max>=c.max}compare(c){if(c.min==null||c.max==null)return null;let[e,i,n,a]=[this.min,this.max,c.min,c.max];return e!==n?e<n?-1:1:i!==a?i<a?-1:1:0}includes(c){let e=this.covers(c);if(!e||!this[Symbol.iterator])return e;for(let i of this)if(i.edtf===c.edtf)return!0;return!1}*until(c){yield this,this.compare(c)&&(yield*f7(this.between(c)))}*through(c){yield*f7(this.until(c)),this.compare(c)&&(yield c)}*between(c){c=this.constructor.from(c);let e=this,i=this.compare(c);if(i)for(;e=e.next(-i),e.compare(c)===i;)yield e}};function QQ(t,c=1900){return t.setUTCFullYear(t.getUTCFullYear()-c),t.getTime()}var JQ=Reflect.ownKeys.bind(Reflect),eJ=Object.getOwnPropertyDescriptor.bind(Object),cJ=Object.defineProperty.bind(Object),tJ=Object.prototype.hasOwnProperty;function rT(t,...c){for(let e of c)sT(t,e),sT(t.prototype,e.prototype);return t}function sT(t,c){for(let e of JQ(c))tJ.call(t,e)||cJ(t,e,eJ(c,e))}var gT=o2(pT(),1);var{assign:pJ}=Object,gJ=[{day:"numeric",month:"numeric",year:"numeric",timeZoneName:void 0,hour:"numeric",minute:"numeric",second:"numeric"},{year:"numeric",timeZone:"UTC",timeZoneName:void 0},{month:"numeric",year:"numeric",timeZone:"UTC",timeZoneName:void 0},{day:"numeric",month:"numeric",year:"numeric",timeZone:"UTC",timeZoneName:void 0}],zJ=[{},{month:void 0,day:void 0,weekday:void 0,hour:void 0,minute:void 0,second:void 0},{day:void 0,weekday:void 0,hour:void 0,minute:void 0,second:void 0},{hour:void 0,minute:void 0,second:void 0}];function LJ(...t){let c=[];for(let e of t)e&&typeof e=="object"?c.push(MJ(e)):c.push(e);return JSON.stringify(c)}function MJ(t){let c=[],e=Object.getOwnPropertyNames(t);for(let i of e.sort())c.push({[i]:t[i]});return c}function vJ(t,c,e){let i=pJ({},gJ[t.precision],e,zJ[t.precision]),n=LJ(c,i);return Y7.cache.has(n)||Y7.cache.set(n,new Intl.DateTimeFormat(c,i)),Y7.cache.get(n)}function _J(t){let{locale:c,weekday:e,month:i,year:n}=t.resolvedOptions(),a=gT.default[c];if(a==null)return null;let r=e||i==="long"?"long":!i||n==="2-digit"?"short":"medium";return{approximate:a.date.approximate[r],uncertain:a.date.uncertain[r]}}function CJ(t){return t==="day"||t==="month"||t==="year"}function yJ(t,c){let e="";for(let{type:i,value:n}of c)e+=CJ(i)&&t.unspecified.is(i)?n.replace(/./g,"X"):n;return e}function Y7(t,c="en-US",e={}){t.timeZone&&!e.timeZone&&(e=m1(E({timeZoneName:"short"},e),{timeZone:t.timeZone}));let i=vJ(t,c,e),n=_J(i);if(!t.isEDTF||n==null)return i.format(t);if(t.type==="Interval"){if(t.finite)return i.formatRange(t.lower,t.upper);throw new Error("cannot format infinite intervals")}let a=!t.unspecified.value||!i.formatToParts?i.format(t):yJ(t,i.formatToParts(t));return t.approximate.value&&(a=n.approximate.replace("%D",a)),t.uncertain.value&&(a=n.uncertain.replace("%D",a)),a}Y7.cache=new Map;var{abs:bJ}=Math,{isArray:xJ}=Array,zT=new WeakMap,LT=new WeakMap,MT=new WeakMap,vT=new WeakMap,_T=new WeakMap,wJ=[A1.YMD,A1.Y,A1.YM,A1.YMD],O4=class t extends globalThis.Date{constructor(...c){let e=0,i,n,a,r;switch(c.length){case 0:break;case 1:switch(typeof c[0]){case"number":break;case"string":c=[t.parse(c[0])];case"object":xJ(c[0])&&(c[0]={values:c[0]});{let l=c[0];if(E2(l!=null),l.type&&E2.equal("Date",l.type),l.values&&l.values.length){if(e=l.values.length,c=l.values.slice(),c.length<2&&c.push(0),l.offset){for(c.length<3&&c.push(1);c.length<5;)c.push(0);c[4]=c[4]-l.offset}c=[$2.UTC(...c)]}({uncertain:i,approximate:n,unspecified:a,timeZone:r}=l)}break;default:throw new RangeError("Invalid time value")}break;default:e=c.length}super(...c),this.precision=e,this.uncertain=i,this.approximate=n,this.unspecified=a,this.timeZone=r}set precision(c){zT.set(this,c>
7793?0:Number(c))}get precision(){return zT.get(this)}set uncertain(c){LT.set(this,this.bits(c))}get uncertain(){return LT.get(this)}set approximate(c){MT.set(this,this.bits(c))}get approximate(){return MT.get(this)}set unspecified(c){vT.set(this,new A1(c))}get unspecified(){return vT.get(this)}set timeZone(c){_T.set(this,c)}get timeZone(){return _T.get(this)}get atomic(){return!(this.precision||this.unspecified.value)}get min(){if(this.unspecified.value&&this.year<0){let c=this.unspecified.max(this.values.map(t.pad));return c[0]=-c[0],new t({values:c}).getTime()}return this.getTime()}get max(){return this.atomic?this.getTime():this.next().getTime()-1}get year(){return this.getUTCFullYear()}get month(){return this.getUTCMonth()}get date(){return this.getUTCDate()}get hours(){return this.getUTCHours()}get minutes(){return this.getUTCMinutes()}get seconds(){return this.getUTCSeconds()}get values(){switch(this.precision){case 1:return[this.year];case 2:return[this.year,this.month];case 3:return[this.year,this.month,this.date];default:return[this.year,this.month,this.date,this.hours,this.minutes,this.seconds]}}next(c=1){let{values:e,unspecified:i,uncertain:n,approximate:a}=this;if(i.value){let r=e[0]<0;e=c<0^r?i.min(e.map(t.pad)):i.max(e.map(t.pad)),r&&(e[0]=-e[0])}return e.push(e.pop()+c),new t({values:e,unspecified:i,uncertain:n,approximate:a})}prev(c=1){return this.next(-c)}*[Symbol.iterator](){let c=this;for(;c<=this.max;)yield c,c=c.next()}toEDTF(){if(!this.precision)return this.toISOString();let c=this.year<0?"-":"",e=this.values.map(t.pad);return this.unspecified.value?c+this.unspecified.masks(e).join("-"):(this.uncertain.value&&(e=this.uncertain.marks(e,"?")),this.approximate.value&&(e=this.approximate.marks(e,"~").map(i=>i.replace(/(~\?)|(\?~)/,"%"))),c+e.join("-"))}format(...c){return Y7(this,...c)}static pad(c,e=0){if(!e){let i=bJ(c);return i<10?`000${i}`:i<100?`00${i}`:i<1e3?`0${i}`:`${i}`}return e===1&&(c=c+1),c<10?`0${c}`:`${c}`}bits(c){return c===!0&&(c=wJ[this.precision]),new A1(c)}};rT(O4,$2);var ms=O4.pad;var{abs:SJ}=Math,CT=new WeakMap,yT=new WeakMap,Vd=class t extends $2{constructor(c){switch(super(),CT.set(this,[]),typeof c){case"number":this.year=c;break;case"string":c=t.parse(c);case"object":Array.isArray(c)&&(c={values:c}),E2(c!==null),c.type&&E2.equal("Year",c.type),E2(c.values),E2(c.values.length),this.year=c.values[0],this.significant=c.significant;break;case"undefined":this.year=new Date().getUTCFullYear();break;default:throw new RangeError("Invalid year value")}}get year(){return this.values[0]}set year(c){this.values[0]=Number(c)}get significant(){return yT.get(this)}set significant(c){yT.set(this,Number(c))}get values(){return CT.get(this)}get min(){return $2.UTC(this.year,0)}get max(){return $2.UTC(this.year+1,0)-1}toEDTF(){let c=SJ(this.year),e=this.significant?`S${this.significant}`:"";return c<=9999?`${this.year<0?"-":""}${ms(this.year)}${e}`:`Y${this.year}${e}`}};var{abs:bT,floor:NJ}=Math,xT=new WeakMap,Hd=class t extends $2{constructor(c){switch(super(),xT.set(this,[]),this.uncertain=!1,this.approximate=!1,typeof c){case"number":this.decade=c;break;case"string":c=t.parse(c);case"object":Array.isArray(c)&&(c={values:c}),E2(c!==null),c.type&&E2.equal("Decade",c.type),E2(c.values),E2(c.values.length===1),this.decade=c.values[0],this.uncertain=!!c.uncertain,this.approximate=!!c.approximate;break;case"undefined":this.year=new Date().getUTCFullYear();break;default:throw new RangeError("Invalid decade value")}}get decade(){return this.values[0]}set decade(c){c=NJ(Number(c)),E2(bT(c)<1e3,`invalid decade: ${c}`),this.values[0]=c}get year(){return this.values[0]*10}set year(c){this.decade=c/10}get values(){return xT.get(this)}get min(){return O4.UTC(this.year,0)}get max(){return O4.UTC(this.year+10,0)-1}toEDTF(){let c=t.pad(this.decade);return this.uncertain&&(c=c+"?"),this.approximate&&(c=(c+"~").replace(/\?~/,"%")),c}static pad(c){let e=bT(c),i=e===c?"":"-";return e<10?`${i}00${e}`:e<100?`${i}0${e}`:`${c}`}};var{abs:wT,floor:kJ}=Math,ST=new WeakMap,Bd=class t extends $2{constructor(c){switch(super(),ST.set(this,[]),this.uncertain=!1,this.approximate=!1,typeof c){case"number":this.century=c;break;case"string":c=t.parse(c);case"object":Array.isArray(c)&&(c={values:c}),E2(c!==null),c.type&&E2.equal("Century",c.type),E2(c.values),E2(c.values.length===1),this.century=c.values[0],this.uncertain=!!c.uncertain,this.approximate=!!c.approximate;break;case"undefined":this.year=new Date().getUTCFullYear();break;default:throw new RangeError("Invalid century value")}}get century(){return this.values[0]}set century(c){c=kJ(Number(c)),E2(wT(c)<100,`invalid century: ${c}`),this.values[0]=c}get year(){return this.values[0]*100}
779set year(c){this.century=c/100}get values(){return ST.get(this)}get min(){return O4.UTC(this.year,0)}get max(){return O4.UTC(this.year+100,0)-1}toEDTF(){let c=t.pad(this.century);return this.uncertain&&(c=c+"?"),this.approximate&&(c=(c+"~").replace(/\?~/,"%")),c}static pad(c){let e=wT(c),i=e===c?"":"-";return e<10?`${i}0${e}`:`${c}`}};var NT=new WeakMap,kT=new WeakMap,AT=new WeakMap,TT=new WeakMap,bn=class t extends $2{constructor(c){super();let e,i,n;switch(AT.set(this,[]),typeof c){case"number":this.year=c,this.season=arguments[1]||21;break;case"string":c=t.parse(c);case"object":Array.isArray(c)&&(c={values:c}),E2(c!==null),c.type&&E2.equal("Season",c.type),E2(c.values),E2.equal(2,c.values.length),this.year=c.values[0],this.season=c.values[1],{unspecified:n,uncertain:e,approximate:i}=c;break;case"undefined":this.year=new Date().getUTCFullYear(),this.season=21;break;default:throw new RangeError("Invalid season value")}this.unspecified=n,this.uncertain=e,this.approximate=i}get year(){return this.values[0]}set year(c){this.values[0]=Number(c)}get season(){return this.values[1]}set season(c){this.values[1]=DT(Number(c))}get values(){return AT.get(this)}set uncertain(c){kT.set(this,new A1(c))}get uncertain(){return kT.get(this)}set approximate(c){NT.set(this,new A1(c))}get approximate(){return NT.get(this)}set unspecified(c){TT.set(this,new A1(c))}get unspecified(){return TT.get(this)}next(c=1){let{season:e,year:i,unspecified:n,approximate:a,uncertain:r}=this;switch(!0){case(e>=21&&e<=36):[i,e]=pM(i,e,c,e-(e-21)%4,4);break;case(e>=37&&e<=39):[i,e]=pM(i,e,c,37,3);break;case(e>=40&&e<=41):[i,e]=pM(i,e,c,40,2);break;default:throw new RangeError(`Cannot compute next/prev for season ${e}`)}return new t({values:[i,e],approximate:a,uncertain:r,unspecified:n})}prev(c=1){return this.next(-c)}get min(){switch(this.season){case 21:case 25:case 32:case 33:case 40:case 37:return $2.UTC(this.year,0);case 22:case 26:case 31:case 34:return $2.UTC(this.year,3);case 23:case 27:case 30:case 35:case 41:return $2.UTC(this.year,6);case 24:case 28:case 29:case 36:return $2.UTC(this.year,9);case 38:return $2.UTC(this.year,4);case 39:return $2.UTC(this.year,8);default:return $2.UTC(this.year,0)}}get max(){let[c]=this.unspecified.max([ms(this.year)]);switch(this.season){case 21:case 25:case 32:case 33:return $2.UTC(c,3)-1;case 22:case 26:case 31:case 34:case 40:return $2.UTC(c,6)-1;case 23:case 27:case 30:case 35:return $2.UTC(c,9)-1;case 24:case 28:case 29:case 36:case 41:case 39:return $2.UTC(c+1,0)-1;case 37:return $2.UTC(c,5)-1;case 38:return $2.UTC(c,9)-1;default:return $2.UTC(c+1,0)-1}}toEDTF(){let c=this.year<0?"-":"",e=[ms(this.year),String(this.season)];return this.unspecified.value?c+this.unspecified.masks(e).join("-"):(this.uncertain.value&&(e=this.uncertain.marks(e,"?")),this.approximate.value&&(e=this.approximate.marks(e,"~").map(i=>i.replace(/(~\?)|(\?~)/,"%"))),c+e.join("-"))}};function DT(t){if(isNaN(t)||t<21||t===1/0)throw new RangeError(`invalid division of year: ${t}`);return t}function pM(t,c,e,i,n){let a=c+e-i;return[t+Math.floor(a/n),DT(i+(a%n+n)%n)]}var OT=new WeakMap,xn=class t extends $2{constructor(...c){switch(super(),OT.set(this,[null,null]),c.length){case 2:this.lower=c[0],this.upper=c[1];break;case 1:switch(typeof c[0]){case"string":c[0]=t.parse(c[0]);case"object":Array.isArray(c[0])&&(c[0]={values:c[0]});{let[e]=c;E2(e!==null),e.type&&E2.equal("Interval",e.type),E2(e.values),E2(e.values.length<3),this.lower=e.values[0],this.upper=e.values[1],this.earlier=e.earlier,this.later=e.later}break;default:this.lower=c[0]}break;case 0:break;default:throw new RangeError(`invalid interval value: ${c}`)}}get lower(){return this.values[0]}set lower(c){if(c==null)return this.values[0]=null;if(c===1/0||c===-1/0)return this.values[0]=1/0;if(c=ET(c),c>=this.upper&&this.upper!=null)throw new RangeError(`invalid lower bound: ${c}`);this.values[0]=c}get upper(){return this.values[1]}set upper(c){if(c==null)return this.values[1]=null;if(c===1/0)return this.values[1]=1/0;if(c=ET(c),this.lower!==null&&this.lower!==1/0&&c<=this.lower)throw new RangeError(`invalid upper bound: ${c}`);this.values[1]=c}get finite(){return this.lower!=null&&this.lower!==1/0&&this.upper!=null&&this.upper!==1/0}get precision(){return this.lower?.precision??this.upper?.precision??0}*[Symbol.iterator](){if(!this.finite)throw Error("cannot iterate infinite interval");yield*f7(this.lower.through(this.upper))}get values(){return OT.get(this)}get min(){let c=this.lower;return c?c===1/0?-1/0:c.min:null}get max(){let c=this.upper;return c?c===1/0?1/0:c.max:null}get isEDTFInterval(){return!0}toEDTF(){return this.values.map(c=>c===1/0?"..":c?c.edtf:"").join("/")}};function ET(t){try{return O4.from(t)}catch(c){return bn.from(t)}}var{isArray:wn}=Array,IT=new WeakMap,Sn=class extends $2{constructor(...c){if(super(),IT.set(this,[]),c.length>1&&(c=[c]),c.length)switch(typeof c[0]){case"string":c[0]=new.target.parse(c[0]);case"object":wn(c[0])&&(c[0]={values:c[0]});{let[e]=c;E2(e!==null),e.type&&E2.equal(this.type,e.type),E2(e.values),this.concat(...e.values),this.earlier=!!e.earlier,this.later=!!e.later}break;default:throw new RangeError(`invalid ${this.type} value: ${c}`)}}get values(){return IT.get(this)}get length(){return this.values.length}get empty(){return this.length===0}get first(){let c=this.values[0];return wn(c)?c[0]:c}get last(){let c=this.values[this.length-1];return wn(c)?c[0]:c}clear(){return this.values.length=0,this}concat(...c){for(let e of c)this.push(e);return this}push(c){return wn(c)?(E2.equal(2,c.length),this.values.push(c.map(e=>O4.from(e)))):this.values.push(O4.from(c))}*[Symbol.iterator](){for(let c of this.values)wn(c)?yield*f7(c[0].through(c[1])):yield c}get min(){return this.earlier?-1/0:this.empty?0:this.first.min}get max(){return this.later?1/0:this.empty?0:this.last.max}content(){return this.values.map(c=>wn(c)?c.map(e=>e.edtf).join(".."):c.edtf).join(",")}toEDTF(){return this.wrap(this.empty?"":`${this.earlier?"..":""}${this.content()}${this.later?"..":""}`)}wrap(c){return`{${c}}`}};var Ud=class extends Sn{static parse(c){return q7(c,{types:["Set"]})}get type(){return"Set"}wrap(c){return`[${c}]`}};var AJ=/^\d{5,}$/;function Nn(...t){if(!t.length)return new O4;if(t.length===1)switch(typeof t[0]){case"object":return new($d[t[0].type]||O4)(t[0]);case"number":return new O4(t[0]);case"string":if(AJ.test(t[0]))return new O4(Number(t[0]))}let c=q7(...t);return new $d[c.type](c)}var TJ=(function(t){return t.Approximate="approximate",t.Uncertain="uncertain",t.Unknown="unknown",t})(TJ||{}),c_1={am:"AM",pm:"PM",h24:"24H"},kn=(function(t){return t[t.Time=0]="Time",t[t.Year=1]="Year",t[t.Month=2]="Month",t[t.Day=3]="Day",t})(kn||{}),DJ="XXXX-XX-XX",gM="Month must be between 1 and 12.",zM="Day must be between 1 and 31.",PT="That day does not exist in the selected month and year.",OJ=/^\d*$/,LM={hours:"",minutes:"",seconds:"",format:"am"},MM={approximate:!1,uncertain:!1,unknown:!1},RT=(()=>{class t{toDateTimeModel(e){try{if(!e)return null;if(e.includes("/"))return this.parseInterval(e);let i=this.hasUnspecifiedDigits(e),{base:n,approximate:a,uncertain:r}=i?this.parseTrailingQualifier(e):{base:e,approximate:!1,uncertain:!1}
779;if(/^X{4}-X{2}-X{2}$/i.test(n))return{qualifiers:m1(E({},MM),{unknown:!0}),date:{year:"",month:"",day:""},time:E({},LM)};let l=this.normalizeForParsing(n),f=Nn(l);if(!(f instanceof O4))return null;let m=this.extDateToDateTimeModel(f,n);return i&&m.qualifiers&&!m.qualifiers.unknown&&(m.qualifiers.approximate=a,m.qualifiers.uncertain=r),m}catch(i){throw new Error(this.toHumanReadableError(i))}}getEdtfIntervalStartDate(e){if(!e)return"";if(!e.includes("/"))return e;let[i]=e.split("/");return i===".."?"":i??""}parseInterval(e){let[i,n]=e.split("/"),a=this.hasUnspecifiedDigits(e),r=a?this.parseTrailingQualifier(i??""):{base:i??"",approximate:!1,uncertain:!1},l=a?this.parseTrailingQualifier(n??""):{base:n??"",approximate:!1,uncertain:!1},f=r.base===".."||r.base===""?r.base:this.normalizeForParsing(r.base),m=l.base===".."||l.base===""?l.base:this.normalizeForParsing(l.base);try{let h=Nn(`${f}/${m}`);if(!(h instanceof xn))return null;let g=this.intervalToDateTimeModel(h,r.base,l.base);return a&&(g.qualifiers&&!g.qualifiers.unknown&&(g.qualifiers.approximate=r.approximate,g.qualifiers.uncertain=r.uncertain),g.endQualifiers&&!g.endQualifiers.unknown&&(g.endQualifiers.approximate=l.approximate,g.endQualifiers.uncertain=l.uncertain)),g}catch(h){return null}}normalizeForParsing(e){return e.replace(/T(\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?)(?:Z|[+-]\d{2}:\d{2})?$/,"T$1Z")}toEdtfDate(e){try{let{date:i,time:n,qualifiers:a,endQualifiers:r,endDate:l,endTime:f}=e,m=!!l;if(!m&&a?.unknown)return DJ;let h=this.isEmptyDateTime(i,n),g=m&&this.isEmptyDateTime(l,f);if(h&&!m)return"";let v=a?.unknown?"":h?"..":this.normalizeEdtfString(i,n,a),M=null;m&&(M=r?.unknown?"":g?"..":this.normalizeEdtfString(l,f,r));let b=M===null?v:`${v}/${M}`;return Nn(this.hasUnspecifiedDigits(b)?this.stripGroupQualifiers(b):b),b}catch(i){throw new Error(this.toHumanReadableError(i))}}normalizeEdtfString(e,i,n){let a=!!(e.year&&e.month&&e.day),r=!!i?.hours;if(r&&!a)throw new Error("A complete date is required when time is provided.");let l=this.buildDateString(e),m=Nn(l).toEDTF().replace(/T.*$/,""),h=r?this.buildTimeString(i):"";return h&&(m=`${m}${h}`),m+=this.buildQualifierSuffix(n),m}hasUnspecifiedDigits(e){return/X/i.test(e)}buildQualifierSuffix(e){return e?.approximate&&e?.uncertain?"%":e?.approximate?"~":e?.uncertain?"?":""}parseTrailingQualifier(e){let i=e.slice(-1);return i==="%"?{base:e.slice(0,-1),approximate:!0,uncertain:!0}:i==="~"?{base:e.slice(0,-1),approximate:!0,uncertain:!1}:i==="?"?{base:e.slice(0,-1),approximate:!1,uncertain:!0}:{base:e,approximate:!1,uncertain:!1}}stripGroupQualifiers(e){return e.replace(/[%~?](?=\/|$)/g,"")}buildDateString(e){let i=!!e.year,n=!!e.month,a=!!e.day;if(!i&&!n&&!a)return"";if(e.month==="0")throw new Error(gM);if(e.day==="0")throw new Error(zM);let r=this.padWithX(e.year,4);if(!n&&!a)return r;let l=n?this.padMonthOrDay(e.month):"XX";if(!a)return`${r}-${l}`;let f=this.padMonthOrDay(e.day),m=`${r}-${l}-${f}`,h=parseInt(l,10),g=parseInt(f,10);if(/^\d{4}-\d{2}-\d{2}$/.test(m)&&h>=1&&h<=12&&g>=1&&g<=31&&!R8(L5(m,"yyyy-MM-dd",new Date)))throw new Error(PT);return m}padMonthOrDay(e){return/^[1-9]$/.test(e)?`0${e}`:this.padWithX(e,2)}padWithX(e,i){let n=e??"";return n.length>=i?n:n+"X".repeat(i-n.length)}formatDateForDisplay(e){let i=e.year??"",n=e.month??"",a=e.day??"",r=!!i,l=!!n,f=!!a&&parseInt(a,10)!==0;if(!r&&!l&&!f)return"";let m=this.padWithX(i,4),h=l?this.padMonthOrDay(n):"XX",g=/^\d{2}$/.test(h)?wA(new Date(2e3,parseInt(h,10)-1),"MMMM"):null,v=f?this.padMonthOrDay(a):"";if(g&&f)return`${g} ${v}, ${m}`;if(g)return`${g} ${m}`;if(!l&&!f)return m;let M=[m,h];return f&&M.push(v),M.join("-")}buildTimeString(e){if(!e?.hours)return"";let i=this.parseTimeAs24Hour(e);if(!i)throw new Error("Invalid time");let n=e.timezoneOffset??this.localTimezoneOffset(),a=r=>String(r).padStart(2,"0");return`T${a(i.hour)}:${a(i.minute)}:${a(i.second)}${n}`}localTimezoneOffset(){let e=-new Date().getTimezoneOffset(),i=e<0?"-":"+",n=Math.abs(e),a=String(Math.floor(n/60)).padStart(2,"0"),r=String(n%60).padStart(2,"0");return`${i}${a}:${r}`}extDateToDateTimeModel(e,i){let n=e.toEDTF(),a=e.precision,l=(n.match(/^-?\d*X*/)?.[0]||String(e.year)).replace(/X/g,""),f=a===kn.Time||a>=kn.Month,m=a===kn.Time||a>=kn.Day,h=f?n.split("-")[1]?.replace(/[^0-9X]/g,""):void 0,g=m?n.split("-")[2]?.replace(/[^0-9X]/g,"").substring(0,2):void 0,v=(h??"").replace(/X+$/i,""),M=(g??"").replace(/X+$/i,""),b=a===kn.Time||n.includes("T"),C=b?this.extractRawTime(i):null,S=C?.hours??0,P=C?.minutes??0,V=C?.seconds??0,q=S>=12,W=S%12||12;return{qualifiers:{approximate:e.approximate?.value>0,uncertain:e.uncertain?.value>0,unknown:e.unspecified?.value>0&&!l&&!v&&!M},date:{year:l,month:v,day:M},time:{hours:b?String(W).padStart(2,"0"):"",minutes:b?String(P).padStart(2,"0"):"",seconds:b?String(V).padStart(2,"0"):"",format:b&&q?"pm":"am",timezoneOffset:C?.timezoneOffset}}}extractRawTime(e){let i=e.match(/T(\d{2}):(\d{2})(?::(\d{2}))?(?:\.\d+)?([+-]\d{2}:\d{2})?/);return i?{hours:parseInt(i[1],10),minutes:parseInt(i[2],10),seconds:i[3]?parseInt(i[3],10):0,timezoneOffset:i[4]}:null}isEmptyDateTime(e,i){return!e.year&&!e.month&&!e.day&&!i?.hours}toHumanReadableError(e){let i=e instanceof Error?e.message.toLowerCase():"";return i.includes("invalid interval")||i.includes("invalid lower bound")||i.includes("invalid upper bound")?"The date range is not val
779id. Please make sure the start date is before the end date.":i.includes("complete date is required")?"A complete date is required when time is provided.":"The date entered is not valid. Please check the values and try again."}intervalToDateTimeModel(e,i,n){let a=e.lower,r=e.upper,l=i==="",f=n==="",m=i==="..",h=n==="..",g;if(l?g={qualifiers:m1(E({},MM),{unknown:!0}),date:{year:"",month:"",day:""},time:E({},LM)}:m||a===null||typeof a=="number"?g={date:{year:""},time:{format:"am"}}:g=this.extDateToDateTimeModel(a,i),f)g.endQualifiers=m1(E({},MM),{unknown:!0}),g.endDate={year:"",month:"",day:""},g.endTime=E({},LM);else if(h||r===null||typeof r=="number")g.endDate={year:""},g.endTime={format:"am"};else if(r){let v=this.extDateToDateTimeModel(r,n);g.endQualifiers=v.qualifiers,g.endDate=v.date,g.endTime=v.time}return g}buildReferenceDate(e,i){let n=parseInt(e?.year??"",10);if(Number.isNaN(n))return new Date;let a=e.month?parseInt(e.month,10)-1:0,r=e.day?parseInt(e.day,10):1,l=i?.hours?this.parseTimeAs24Hour(i):null;return new Date(n,a,r,l?.hour??0,l?.minute??0,l?.second??0)}browserTimezoneAbbreviation(e,i){if(!i?.hours)return"";try{let n=this.buildReferenceDate(e,i),r=new Intl.DateTimeFormat("en-US",{timeZoneName:"short"}).formatToParts(n).find(l=>l.type==="timeZoneName")?.value??"";return this.normalizeTimezoneOffsetDisplay(r)}catch(n){return""}}normalizeTimezoneOffsetDisplay(e){let i=/([+-])(\d{1,2})(?::(\d{2}))?/.exec(e);if(!i)return e;let[n,a,r,l]=i,f=`${a}${r.padStart(2,"0")}:${l??"00"}`;return e.replace(n,f)}parseTimeAs24Hour(e){let i=e.minutes||"0",n=e.seconds||"0";if(e.format==="h24"){let f=L5(`${e.hours||"0"}:${i}:${n}`,"H:m:s",new Date);return R8(f)?{hour:cM(f),minute:tM(f),second:iM(f)}:null}let a=e.hours||"12",r=e.format==="pm"?"PM":"AM",l=L5(`${a}:${i}:${n} ${r}`,"h:m:s a",new Date);return R8(l)?{hour:cM(l),minute:tM(l),second:iM(l)}:null}isValidHour(e,i=!1){return i?e.length===1?parseInt(e,10)<=2:R8(L5(`${e}:00`,"HH:mm",new Date)):e.length===1?parseInt(e,10)<=1:R8(L5(`${e}:00 AM`,"hh:mm a",new Date))}isValidMinutesSeconds(e){return e.length===1?parseInt(e,10)<=5:R8(L5(`12:${e}:00 AM`,"hh:mm:ss a",new Date))}isValidYear(e){return e===""?!0:/^\d{1,4}$/.test(e)}isValidMonth(e){return e===""?!0:/^\d$/.test(e)?parseInt(e,10)<=1:R8(L5(e,"MM",new Date))}isValidDay(e,i,n){if(e===""||/^\d$/.test(e))return!0;let a=i.length===4?i:"2000",r=n?n.padStart(2,"0"):"01",l=e.padStart(2,"0");return R8(L5(`${a}-${r}-${l}`,"yyyy-MM-dd",new Date))}getSegmentError(e,i){return e===""?null:OJ.test(e)?e.length<2?null:i.isWithinRange&&!i.isWithinRange(e)?i.rangeMessage??null:null:i.invalidCharsMessage}getMonthError(e,i){return e==="0"?gM:this.getSegmentError(e,{invalidCharsMessage:i.invalidCharsMessage,isWithinRange:n=>this.isValidMonth(n),rangeMessage:gM})}getDayError(e,i,n,a){if(e==="0")return zM;let r=this.getSegmentError(e,{invalidCharsMessage:a.invalidCharsMessage,isWithinRange:l=>this.isDayInRange(l),rangeMessage:zM});return r||(e.length===2&&this.isResolvableMonth(n)&&!this.isValidDay(e,i,n)?PT:null)}isDayInRange(e){let i=parseInt(e,10);return i>=1&&i<=31}isResolvableMonth(e){if(!/^\d{1,2}$/.test(e))return!1;let i=parseInt(e,10);return i>=1&&i<=12}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var IJ=.3,jd=(()=>{class t{constructor(e,i){this.renderer=i,this.fadeIn=!1,this.element=e.nativeElement}ngOnInit(){this.setBgImage(),this.bgSrc||(this.fadeIn=!0)}ngOnChanges(e){this.setBgImage(e)}loadBgImage(){let e=new Image;e.onload=()=>{this.renderer.setStyle(this.element,"background-image",`url(${this.bgSrc})`),this.renderer.addClass(this.element,"bg-image-loaded"),this.fadeIn&&(this.fadeIn=!1,A8.from(this.element,{duration:IJ,opacity:0,ease:"Power4.easeOut"}))},e.src=this.bgSrc}setBgImage(e){this.bgSrc?this.loadBgImage():(this.renderer.setStyle(this.element,"background-image",""),this.renderer.removeClass(this.element,"bg-image-loaded")),this.cover?this.renderer.addClass(this.element,"bg-image-cover"):this.renderer.removeClass(this.element,"bg-image-cover")}static{this.\u0275fac=function(i){return new(i||t)($(Q1),$(h6))}}static{this.\u0275dir=v1({type:t,selectors:[["","prBgImage",""]],inputs:{bgSrc:"bgSrc",cover:"cover"},standalone:!1,features:[R2]})}}return t})();function Wd(t){t||(t=B(d7));let c=new j6(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(s4(c))}function l_1(t){t===void 0&&(t=B(S2));let c=t.get(vC);return e=>new j6(i=>{let n=c.add(),a=!1;function r(){a||(n(),a=!0)}let l=e.subscribe({next:f=>{i.next(f),r()},complete:()=>{i.complete(),r()},error:f=>{i.error(f),r()}});return l.add(()=>{i.unsubscribe(),r()}),l})}var Gd=(()=>{class t{constructor(){this.animation=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var h0="top",Z0="bottom",R0="right",S0="left",qd="auto",Nc=[h0,Z0,R0,S0],_5="start",Z7="end",VT="clippingParents",Yd="viewport",An="popper",HT="reference",vM=Nc.reduce(function(t,c){return t.concat([c+"-"+_5,c+"-"+Z7])},[]),Zd=[].concat(Nc,[qd]).reduce(function(t,c){return t.concat([c,c+"-"+_5,c+"-"+Z7])},[]),PJ="beforeRead",RJ="read",FJ="afterRead",VJ="beforeMain",HJ="main",BJ="afterMain",UJ="beforeWrite",$J="write",jJ="afterWrite",BT=[PJ,RJ,FJ,VJ,HJ,BJ,UJ,$J,jJ];
vendor: 5,574 bytes, line 779
779function F0(t){return t?(t.nodeName||"").toLowerCase():null}function E4(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var c=t.ownerDocument;return c&&c.defaultView||window}return t}function r8(t){var c=E4(t).Element;return t instanceof c||t instanceof Element}function N0(t){var c=E4(t).HTMLElement;return t instanceof c||t instanceof HTMLElement}function Tn(t){if(typeof ShadowRoot>"u")return!1;var c=E4(t).ShadowRoot;return t instanceof c||t instanceof ShadowRoot}function WJ(t){var c=t.state;Object.keys(c.elements).forEach(function(e){var i=c.styles[e]||{},n=c.attributes[e]||{},a=c.elements[e];!N0(a)||!F0(a)||(Object.assign(a.style,i),Object.keys(n).forEach(function(r){var l=n[r];l===!1?a.removeAttribute(r):a.setAttribute(r,l===!0?"":l)}))})}function GJ(t){var c=t.state,e={popper:{position:c.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(c.elements.popper.style,e.popper),c.styles=e,c.elements.arrow&&Object.assign(c.elements.arrow.style,e.arrow),function(){Object.keys(c.elements).forEach(function(i){var n=c.elements[i],a=c.attributes[i]||{},r=Object.keys(c.styles.hasOwnProperty(i)?c.styles[i]:e[i]),l=r.reduce(function(f,m){return f[m]="",f},{});!N0(n)||!F0(n)||(Object.assign(n.style,l),Object.keys(a).forEach(function(f){n.removeAttribute(f)}))})}}var UT={name:"applyStyles",enabled:!0,phase:"write",fn:WJ,effect:GJ,requires:["computeStyles"]};function V0(t){return t.split("-")[0]}var F8=Math.max,K7=Math.min,C5=Math.round;function Dn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(c){return c.brand+"/"+c.version}).join(" "):navigator.userAgent}function us(){return!/^((?!chrome|android).)*safari/i.test(Dn())}function o8(t,c,e){c===void 0&&(c=!1),e===void 0&&(e=!1);var i=t.getBoundingClientRect(),n=1,a=1;c&&N0(t)&&(n=t.offsetWidth>0&&C5(i.width)/t.offsetWidth||1,a=t.offsetHeight>0&&C5(i.height)/t.offsetHeight||1);var r=r8(t)?E4(t):window,l=r.visualViewport,f=!us()&&e,m=(i.left+(f&&l?l.offsetLeft:0))/n,h=(i.top+(f&&l?l.offsetTop:0))/a,g=i.width/n,v=i.height/a;return{width:g,height:v,top:h,right:m+g,bottom:h+v,left:m,x:m,y:h}}function X7(t){var c=o8(t),e=t.offsetWidth,i=t.offsetHeight;return Math.abs(c.width-e)<=1&&(e=c.width),Math.abs(c.height-i)<=1&&(i=c.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:i}}function hs(t,c){var e=c.getRootNode&&c.getRootNode();if(t.contains(c))return!0;if(e&&Tn(e)){var i=c;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function D3(t){return E4(t).getComputedStyle(t)}function _M(t){return["table","td","th"].indexOf(F0(t))>=0}function K0(t){return((r8(t)?t.ownerDocument:t.document)||window.document).documentElement}function y5(t){return F0(t)==="html"?t:t.assignedSlot||t.parentNode||(Tn(t)?t.host:null)||K0(t)}function $T(t){return!N0(t)||D3(t).position==="fixed"?null:t.offsetParent}function qJ(t){var c=/firefox/i.test(Dn()),e=/Trident/i.test(Dn());if(e&&N0(t)){var i=D3(t);if(i.position==="fixed")return null}var n=y5(t);for(Tn(n)&&(n=n.host);N0(n)&&["html","body"].indexOf(F0(n))<0;){var a=D3(n);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||c&&a.willChange==="filter"||c&&a.filter&&a.filter!=="none")return n;n=n.parentNode}return null}function V8(t){for(var c=E4(t),e=$T(t);e&&_M(e)&&D3(e).position==="static";)e=$T(e);return e&&(F0(e)==="html"||F0(e)==="body"&&D3(e).position==="static")?c:e||qJ(t)||c}function Q7(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function J7(t,c,e){return F8(t,K7(c,e))}function jT(t,c,e){var i=J7(t,c,e);return i>e?e:i}function ps(){return{top:0,right:0,bottom:0,left:0}}function gs(t){return Object.assign({},ps(),t)}function zs(t,c){return c.reduce(function(e,i){return e[i]=t,e},{})}var YJ=function(c,e){return c=typeof c=="function"?c(Object.assign({},e.rects,{placement:e.placement})):c,gs(typeof c!="number"?c:zs(c,Nc))};function ZJ(t){var c,e=t.state,i=t.name,n=t.options,a=e.elements.arrow,r=e.modifiersData.popperOffsets,l=V0(e.placement),f=Q7(l),m=[S0,R0].indexOf(l)>=0,h=m?"height":"width";if(!(!a||!r)){var g=YJ(n.padding,e),v=X7(a),M=f==="y"?h0:S0,b=f==="y"?Z0:R0,C=e.rects.reference[h]+e.rects.reference[f]-r[f]-e.rects.popper[h],S=r[f]-e.rects.reference[f],P=V8(a),V=P?f==="y"?P.clientHeight||0:P.clientWidth||0:0,q=C/2-S/2,W=g[M],G=V-v[h]-g[b],Q=V/2-v[h]/2+q,l1=J7(W,Q,G),c1=f;e.modifiersData[i]=(c={},c[c1]=l1,c.centerOffset=l1-Q,c)}}function KJ(t){var c=t.state,e=t.options,i=e.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=c.elements.popper.querySelector(n),!n)||hs(c.elements.popper,n)&&(c.elements.arrow=n))}var CM={name:"arrow",enabled:!0,phase:"main",fn:ZJ,effect:KJ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function l8(t){return t.split("-")[1]}var XJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function QJ(t,c){var e=t.x,i=t.y,n=c.devicePixelRatio||1;return{x:C5(e*n)/n||0,y:C5(i*n)/n||0}}function WT(t){var c,e=t.popper,i=t.popperRect,n=t.placement,a=t.variation,r=t.offsets,l=t.position,f=t.gpuAcceleration,m=t.adaptive,h=t.roundOffsets,g=t.isFixed,v=r.x,M=v===void 0?0:v,b=r.y,C=b===void 0?0:b,S=typeof h=="function"?h({x:M,y:C}):{x:M,y:C};M=S.x,C=S.y;var P=r.hasOwnProperty("x"),V=r.hasOwnProperty("y"),q=S0,W=h0,G=window;if(m){var Q=V8(e),l1="clientHeight",c1="clientWidth";if(Q===E4(e)&&(Q=K0(e),D3(Q).position!=="static"&&l==="absolute"&&(l1="scrollHeight",c1="scrollWidth")),Q=Q,n===h0||(n===S0||n===R0)&&a===Z7){W=Z0;
vendor: 2,413 bytes, line 779
779var n1=g&&Q===G&&G.visualViewport?G.visualViewport.height:Q[l1];C-=n1-i.height,C*=f?1:-1}if(n===S0||(n===h0||n===Z0)&&a===Z7){q=R0;var _1=g&&Q===G&&G.visualViewport?G.visualViewport.width:Q[c1];M-=_1-i.width,M*=f?1:-1}}var P1=Object.assign({position:l},m&&XJ),X1=h===!0?QJ({x:M,y:C},E4(e)):{x:M,y:C};if(M=X1.x,C=X1.y,f){var F1;return Object.assign({},P1,(F1={},F1[W]=V?"0":"",F1[q]=P?"0":"",F1.transform=(G.devicePixelRatio||1)<=1?"translate("+M+"px, "+C+"px)":"translate3d("+M+"px, "+C+"px, 0)",F1))}return Object.assign({},P1,(c={},c[W]=V?C+"px":"",c[q]=P?M+"px":"",c.transform="",c))}function JJ(t){var c=t.state,e=t.options,i=e.gpuAcceleration,n=i===void 0?!0:i,a=e.adaptive,r=a===void 0?!0:a,l=e.roundOffsets,f=l===void 0?!0:l,m={placement:V0(c.placement),variation:l8(c.placement),popper:c.elements.popper,popperRect:c.rects.popper,gpuAcceleration:n,isFixed:c.options.strategy==="fixed"};c.modifiersData.popperOffsets!=null&&(c.styles.popper=Object.assign({},c.styles.popper,WT(Object.assign({},m,{offsets:c.modifiersData.popperOffsets,position:c.options.strategy,adaptive:r,roundOffsets:f})))),c.modifiersData.arrow!=null&&(c.styles.arrow=Object.assign({},c.styles.arrow,WT(Object.assign({},m,{offsets:c.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),c.attributes.popper=Object.assign({},c.attributes.popper,{"data-popper-placement":c.placement})}var GT={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JJ,data:{}};var Kd={passive:!0};function e11(t){var c=t.state,e=t.instance,i=t.options,n=i.scroll,a=n===void 0?!0:n,r=i.resize,l=r===void 0?!0:r,f=E4(c.elements.popper),m=[].concat(c.scrollParents.reference,c.scrollParents.popper);return a&&m.forEach(function(h){h.addEventListener("scroll",e.update,Kd)}),l&&f.addEventListener("resize",e.update,Kd),function(){a&&m.forEach(function(h){h.removeEventListener("scroll",e.update,Kd)}),l&&f.removeEventListener("resize",e.update,Kd)}}var qT={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:e11,data:{}};var c11={left:"right",right:"left",bottom:"top",top:"bottom"};function On(t){return t.replace(/left|right|bottom|top/g,function(c){return c11[c]})}var t11={start:"end",end:"start"};function Xd(t){return t.replace(/start|end/g,function(c){return t11[c]})}function et(t){var c=E4(t),e=c.pageXOffset,i=c.pageYOffset;return{scrollLeft:e,scrollTop:i}}function ct(t){return o8(K0(t)).left+et(t).scrollLeft}
vendor: 4,314 bytes, line 779
779function yM(t,c){var e=E4(t),i=K0(t),n=e.visualViewport,a=i.clientWidth,r=i.clientHeight,l=0,f=0;if(n){a=n.width,r=n.height;var m=us();(m||!m&&c==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:r,x:l+ct(t),y:f}}function bM(t){var c,e=K0(t),i=et(t),n=(c=t.ownerDocument)==null?void 0:c.body,a=F8(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=F8(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),l=-i.scrollLeft+ct(t),f=-i.scrollTop;return D3(n||e).direction==="rtl"&&(l+=F8(e.clientWidth,n?n.clientWidth:0)-a),{width:a,height:r,x:l,y:f}}function tt(t){var c=D3(t),e=c.overflow,i=c.overflowX,n=c.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+i)}function Qd(t){return["html","body","#document"].indexOf(F0(t))>=0?t.ownerDocument.body:N0(t)&&tt(t)?t:Qd(y5(t))}function kc(t,c){var e;c===void 0&&(c=[]);var i=Qd(t),n=i===((e=t.ownerDocument)==null?void 0:e.body),a=E4(i),r=n?[a].concat(a.visualViewport||[],tt(i)?i:[]):i,l=c.concat(r);return n?l:l.concat(kc(y5(r)))}function En(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function i11(t,c){var e=o8(t,!1,c==="fixed");return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function YT(t,c,e){return c===Yd?En(yM(t,e)):r8(c)?i11(c,e):En(bM(K0(t)))}function n11(t){var c=kc(y5(t)),e=["absolute","fixed"].indexOf(D3(t).position)>=0,i=e&&N0(t)?V8(t):t;return r8(i)?c.filter(function(n){return r8(n)&&hs(n,i)&&F0(n)!=="body"}):[]}function xM(t,c,e,i){var n=c==="clippingParents"?n11(t):[].concat(c),a=[].concat(n,[e]),r=a[0],l=a.reduce(function(f,m){var h=YT(t,m,i);return f.top=F8(h.top,f.top),f.right=K7(h.right,f.right),f.bottom=K7(h.bottom,f.bottom),f.left=F8(h.left,f.left),f},YT(t,r,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ls(t){var c=t.reference,e=t.element,i=t.placement,n=i?V0(i):null,a=i?l8(i):null,r=c.x+c.width/2-e.width/2,l=c.y+c.height/2-e.height/2,f;switch(n){case h0:f={x:r,y:c.y-e.height};break;case Z0:f={x:r,y:c.y+c.height};break;case R0:f={x:c.x+c.width,y:l};break;case S0:f={x:c.x-e.width,y:l};break;default:f={x:c.x,y:c.y}}var m=n?Q7(n):null;if(m!=null){var h=m==="y"?"height":"width";switch(a){case _5:f[m]=f[m]-(c[h]/2-e[h]/2);break;case Z7:f[m]=f[m]+(c[h]/2-e[h]/2);break;default:}}return f}function Ac(t,c){c===void 0&&(c={});var e=c,i=e.placement,n=i===void 0?t.placement:i,a=e.strategy,r=a===void 0?t.strategy:a,l=e.boundary,f=l===void 0?VT:l,m=e.rootBoundary,h=m===void 0?Yd:m,g=e.elementContext,v=g===void 0?An:g,M=e.altBoundary,b=M===void 0?!1:M,C=e.padding,S=C===void 0?0:C,P=gs(typeof S!="number"?S:zs(S,Nc)),V=v===An?HT:An,q=t.rects.popper,W=t.elements[b?V:v],G=xM(r8(W)?W:W.contextElement||K0(t.elements.popper),f,h,r),Q=o8(t.elements.reference),l1=Ls({reference:Q,element:q,strategy:"absolute",placement:n}),c1=En(Object.assign({},q,l1)),n1=v===An?c1:Q,_1={top:G.top-n1.top+P.top,bottom:n1.bottom-G.bottom+P.bottom,left:G.left-n1.left+P.left,right:n1.right-G.right+P.right},P1=t.modifiersData.offset;if(v===An&&P1){var X1=P1[n];Object.keys(_1).forEach(function(F1){var j2=[R0,Z0].indexOf(F1)>=0?1:-1,c2=[h0,Z0].indexOf(F1)>=0?"y":"x";_1[F1]+=X1[c2]*j2})}return _1}function wM(t,c){c===void 0&&(c={});var e=c,i=e.placement,n=e.boundary,a=e.rootBoundary,r=e.padding,l=e.flipVariations,f=e.allowedAutoPlacements,m=f===void 0?Zd:f,h=l8(i),g=h?l?vM:vM.filter(function(b){return l8(b)===h}):Nc,v=g.filter(function(b){return m.indexOf(b)>=0});v.length===0&&(v=g);var M=v.reduce(function(b,C){return b[C]=Ac(t,{placement:C,boundary:n,rootBoundary:a,padding:r})[V0(C)],b},{});return Object.keys(M).sort(function(b,C){return M[b]-M[C]})}function a11(t){if(V0(t)===qd)return[];var c=On(t);return[Xd(t),c,Xd(c)]}function s11(t){var c=t.state,e=t.options,i=t.name;if(!c.modifiersData[i]._skip){for(var n=e.mainAxis,a=n===void 0?!0:n,r=e.altAxis,l=r===void 0?!0:r,f=e.fallbackPlacements,m=e.padding,h=e.boundary,g=e.rootBoundary,v=e.altBoundary,M=e.flipVariations,b=M===void 0?!0:M,C=e.allowedAutoPlacements,S=c.options.placement,P=V0(S),V=P===S,q=f||(V||!b?[On(S)]:a11(S)),W=[S].concat(q).reduce(function(y4,I4){return y4.concat(V0(I4)===qd?wM(c,{placement:I4,boun
vendor: 4,246 bytes, line 779
779dary:h,rootBoundary:g,padding:m,flipVariations:b,allowedAutoPlacements:C}):I4)},[]),G=c.rects.reference,Q=c.rects.popper,l1=new Map,c1=!0,n1=W[0],_1=0;_1<W.length;_1++){var P1=W[_1],X1=V0(P1),F1=l8(P1)===_5,j2=[h0,Z0].indexOf(X1)>=0,c2=j2?"width":"height",W1=Ac(c,{placement:P1,boundary:h,rootBoundary:g,altBoundary:v,padding:m}),t2=j2?F1?R0:S0:F1?Z0:h0;G[c2]>Q[c2]&&(t2=On(t2));var a4=On(t2),Q4=[];if(a&&Q4.push(W1[X1]<=0),l&&Q4.push(W1[t2]<=0,W1[a4]<=0),Q4.every(function(y4){return y4})){n1=P1,c1=!1;break}l1.set(P1,Q4)}if(c1)for(var M4=b?3:1,l3=function(I4){var T6=W.find(function(s6){var f3=l1.get(s6);if(f3)return f3.slice(0,I4).every(function(Dc){return Dc})});if(T6)return n1=T6,"break"},W4=M4;W4>0;W4--){var S1=l3(W4);if(S1==="break")break}c.placement!==n1&&(c.modifiersData[i]._skip=!0,c.placement=n1,c.reset=!0)}}var SM={name:"flip",enabled:!0,phase:"main",fn:s11,requiresIfExists:["offset"],data:{_skip:!1}};function r11(t,c,e){var i=V0(t),n=[S0,h0].indexOf(i)>=0?-1:1,a=typeof e=="function"?e(Object.assign({},c,{placement:t})):e,r=a[0],l=a[1];return r=r||0,l=(l||0)*n,[S0,R0].indexOf(i)>=0?{x:l,y:r}:{x:r,y:l}}function o11(t){var c=t.state,e=t.options,i=t.name,n=e.offset,a=n===void 0?[0,0]:n,r=Zd.reduce(function(h,g){return h[g]=r11(g,c.rects,a),h},{}),l=r[c.placement],f=l.x,m=l.y;c.modifiersData.popperOffsets!=null&&(c.modifiersData.popperOffsets.x+=f,c.modifiersData.popperOffsets.y+=m),c.modifiersData[i]=r}var NM={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o11};function l11(t){var c=t.state,e=t.name;c.modifiersData[e]=Ls({reference:c.rects.reference,element:c.rects.popper,strategy:"absolute",placement:c.placement})}var ZT={name:"popperOffsets",enabled:!0,phase:"read",fn:l11,data:{}};function kM(t){return t==="x"?"y":"x"}function f11(t){var c=t.state,e=t.options,i=t.name,n=e.mainAxis,a=n===void 0?!0:n,r=e.altAxis,l=r===void 0?!1:r,f=e.boundary,m=e.rootBoundary,h=e.altBoundary,g=e.padding,v=e.tether,M=v===void 0?!0:v,b=e.tetherOffset,C=b===void 0?0:b,S=Ac(c,{boundary:f,rootBoundary:m,padding:g,altBoundary:h}),P=V0(c.placement),V=l8(c.placement),q=!V,W=Q7(P),G=kM(W),Q=c.modifiersData.popperOffsets,l1=c.rects.reference,c1=c.rects.popper,n1=typeof C=="function"?C(Object.assign({},c.rects,{placement:c.placement})):C,_1=typeof n1=="number"?{mainAxis:n1,altAxis:n1}:Object.assign({mainAxis:0,altAxis:0},n1),P1=c.modifiersData.offset?c.modifiersData.offset[c.placement]:null,X1={x:0,y:0};if(Q){if(a){var F1,j2=W==="y"?h0:S0,c2=W==="y"?Z0:R0,W1=W==="y"?"height":"width",t2=Q[W],a4=t2+S[j2],Q4=t2-S[c2],M4=M?-c1[W1]/2:0,l3=V===_5?l1[W1]:c1[W1],W4=V===_5?-c1[W1]:-l1[W1],S1=c.elements.arrow,y4=M&&S1?X7(S1):{width:0,height:0},I4=c.modifiersData["arrow#persistent"]?c.modifiersData["arrow#persistent"].padding:ps(),T6=I4[j2],s6=I4[c2],f3=J7(0,l1[W1],y4[W1]),Dc=q?l1[W1]/2-M4-f3-T6-_1.mainAxis:l3-f3-T6-_1.mainAxis,x5=q?-l1[W1]/2+M4+f3+s6+_1.mainAxis:W4+f3+s6+_1.mainAxis,U8=c.elements.arrow&&V8(c.elements.arrow),st=U8?W==="y"?U8.clientTop||0:U8.clientLeft||0:0,Q0=(F1=P1?.[W])!=null?F1:0,Se=t2+Dc-Q0-st,Hn=t2+x5-Q0,O3=J7(M?K7(a4,Se):a4,t2,M?F8(Q4,Hn):Q4);Q[W]=O3,X1[W]=O3-t2}if(l){var Oc,rt=W==="x"?h0:S0,r0=W==="x"?Z0:R0,P4=Q[G],D6=G==="y"?"height":"width",Ne=P4+S[rt],Ec=P4-S[r0],R4=[h0,S0].indexOf(P)!==-1,Ic=(Oc=P1?.[G])!=null?Oc:0,O6=R4?Ne:P4-l1[D6]-c1[D6]-Ic+_1.altAxis,E3=R4?P4+l1[D6]+c1[D6]-Ic-_1.altAxis:Ec,W2=M&&R4?jT(O6,P4,E3):J7(M?O6:Ne,P4,M?E3:Ec);Q[G]=W2,X1[G]=W2-P4}c.modifiersData[i]=X1}}var AM={name:"preventOverflow",enabled:!0,phase:"main",fn:f11,requiresIfExists:["offset"]};function TM(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function DM(t){return t===E4(t)||!N0(t)?et(t):TM(t)}function d11(t){var c=t.getBoundingClientRect(),e=C5(c.width)/t.offsetWidth||1,i=C5(c.height)/t.offsetHeight||1;return e!==1||i!==1}function OM(t,c,e){e===void 0&&(e=!1);var i=N0(c),n=N0(c)&&d11(c),a=K0(c),r=o8(t,n,e),l={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!e)&&((F0(c)!=="body"||tt(a))&&(l=DM(c)),N0(c)?(f=o8(c,!0),f.x+=c.clientLeft,f.y+=c.clientTop):a&&(f.x=ct(a))),{x:r.left+l.scrollLeft-f.x,y:r.top+l.scrollTop-f.y,width:r.width,height:r.height}}function m11(t){var c=new Map,e=new Set,i=[];t.forEach(function(a){c.set(a.name,a)});function n(a){e.add(a.name);
779var r=[].concat(a.requires||[],a.requiresIfExists||[]);r.forEach(function(l){if(!e.has(l)){var f=c.get(l);f&&n(f)}}),i.push(a)}return t.forEach(function(a){e.has(a.name)||n(a)}),i}function EM(t){var c=m11(t);return BT.reduce(function(e,i){return e.concat(c.filter(function(n){return n.phase===i}))},[])}function IM(t){var c;return function(){return c||(c=new Promise(function(e){Promise.resolve().then(function(){c=void 0,e(t())})})),c}}function PM(t){var c=t.reduce(function(e,i){var n=e[i.name];return e[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,e},{});return Object.keys(c).map(function(e){return c[e]})}var KT={placement:"bottom",modifiers:[],strategy:"absolute"};function XT(){for(var t=arguments.length,c=new Array(t),e=0;e<t;e++)c[e]=arguments[e];return!c.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function QT(t){t===void 0&&(t={});var c=t,e=c.defaultModifiers,i=e===void 0?[]:e,n=c.defaultOptions,a=n===void 0?KT:n;return function(l,f,m){m===void 0&&(m=a);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},KT,a),modifiersData:{},elements:{reference:l,popper:f},attributes:{},styles:{}},g=[],v=!1,M={state:h,setOptions:function(P){var V=typeof P=="function"?P(h.options):P;C(),h.options=Object.assign({},a,h.options,V),h.scrollParents={reference:r8(l)?kc(l):l.contextElement?kc(l.contextElement):[],popper:kc(f)};var q=EM(PM([].concat(i,h.options.modifiers)));return h.orderedModifiers=q.filter(function(W){return W.enabled}),b(),M.update()},forceUpdate:function(){if(!v){var P=h.elements,V=P.reference,q=P.popper;if(XT(V,q)){h.rects={reference:OM(V,V8(q),h.options.strategy==="fixed"),popper:X7(q)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(_1){return h.modifiersData[_1.name]=Object.assign({},_1.data)});for(var W=0;W<h.orderedModifiers.length;W++){if(h.reset===!0){h.reset=!1,W=-1;continue}var G=h.orderedModifiers[W],Q=G.fn,l1=G.options,c1=l1===void 0?{}:l1,n1=G.name;typeof Q=="function"&&(h=Q({state:h,options:c1,name:n1,instance:M})||h)}}}},update:IM(function(){return new Promise(function(S){M.forceUpdate(),S(h)})}),destroy:function(){C(),v=!0}};if(!XT(l,f))return M;M.setOptions(m).then(function(S){!v&&m.onFirstUpdate&&m.onFirstUpdate(S)});function b(){h.orderedModifiers.forEach(function(S){var P=S.name,V=S.options,q=V===void 0?{}:V,W=S.effect;if(typeof W=="function"){var G=W({state:h,name:P,instance:M,options:q}),Q=function(){};g.push(G||Q)}})}function C(){g.forEach(function(S){return S()}),g=[]}return M}}var u11=[qT,ZT,GT,UT],RM=QT({defaultModifiers:u11});var h11=(()=>{class t{constructor(){this._element=B(p2).documentElement}isRTL(){return(this._element.getAttribute("dir")||"").toLowerCase()==="rtl"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),p11=/\s+/,g11=/ +/gi,z11={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]};function L11(t,c){let[e,i]=z11[t];return c&&i||e}var M11=/^left/,v11=/^right/,_11=/^start/,C11=/^end/;function y11(t,c){let[e,i]=c.split("-"),n=e.replace(M11,"start").replace(v11,"end"),a=[n];if(i){let r=i;(e==="left"||e==="right")&&(r=r.replace(_11,"top").replace(C11,"bottom")),a.push(`${n}-${r}`)}return t&&(a=a.map(r=>`${t}-${r}`)),a.join(" ")}function JT({placement:t,baseClass:c},e){let i=Array.isArray(t)?t:t.split(p11),n=["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"],a=i.findIndex(m=>m==="auto");a>
779=0&&n.forEach(function(m){i.find(h=>h.search("^"+m)!==-1)==null&&i.splice(a++,1,m)});let r=i.map(m=>L11(m,e.isRTL()));return{placement:r.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!c,phase:"write",fn({state:m}){let h=new RegExp(c+"(-[a-z]+)*","gi"),g=m.elements.popper,v=m.placement,M=g.className;M=M.replace(h,""),M+=` ${y11(c,v)}`,M=M.trim().replace(g11," "),g.className=M}},SM,AM,CM,{enabled:!0,name:"flip",options:{fallbackPlacements:r}}]}}function eD(t){return t}function vs(){let t=B(h11),c=null;return{createPopper(e){if(!c){let n=(e.updatePopperOptions||eD)(JT(e,t));c=RM(e.hostElement,e.targetElement,n)}},update(){c&&c.update()},setOptions(e){if(c){let n=(e.updatePopperOptions||eD)(JT(e,t));c.setOptions(n)}},destroy(){c&&(c.destroy(),c=null)}}}function A6(t){return parseInt(`${t}`,10)}function tD(t,c,e=0){return Math.max(Math.min(t,c),e)}function In(t){return typeof t=="string"}function X0(t){return!isNaN(A6(t))}function N4(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function cm(t){return t!=null}function iD(t){return t&&t.then}function Pn(t){return X0(t)?`0${t}`.slice(-2):""}function b11(t,c){return!c||typeof t.closest>"u"?null:t.closest(c)}function FM(t){return(t||document.body).getBoundingClientRect()}function x11(t){return c=>new j6(e=>{let i=r=>t.run(()=>e.next(r)),n=r=>t.run(()=>e.error(r)),a=()=>t.run(()=>e.complete());return c.subscribe({next:i,error:n,complete:a})})}function VM(t=document){let c=t?.activeElement;return c?c.shadowRoot?VM(c.shadowRoot):c:null}function w11(t){let{transitionDelay:c,transitionDuration:e}=window.getComputedStyle(t),i=parseFloat(c),n=parseFloat(e);return(i+n)*1e3}var S11=()=>{},N11={getTransitionTimerDelayMs:()=>5},Ms=new Map,xe=(t,c,e,i)=>{let n=i.context||{},a=Ms.get(c);if(a)switch(i.runningTransition){case"continue":return Br;case"stop":t.run(()=>a.transition$.complete()),n=Object.assign(a.context,n),Ms.delete(c)}let r=e(c,i.animation,n)||S11;if(!i.animation||window.getComputedStyle(c).transitionProperty==="none")return t.run(()=>r()),We(void 0).pipe(x11(t));let l=new E1,f=new E1,m=l.pipe(zC(!0));Ms.set(c,{transition$:l,complete:()=>{f.next(),f.complete()},context:n});let h=w11(c);return t.runOutsideAngular(()=>{let g=z0(c,"transitionend").pipe(s4(m),q4(({target:M})=>M===c)),v=uC(h+N11.getTransitionTimerDelayMs()).pipe(s4(m));Eh(v,g,f).pipe(s4(m)).subscribe(()=>{Ms.delete(c),t.run(()=>{r(),l.next(),l.complete()})})}),l.asObservable()},HM=t=>{Ms.get(t)?.complete()};var Jd=(t,c)=>c?c.some(e=>e.contains(t)):!1,cD=(t,c)=>!c||b11(t,c)!=null,k11=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,c=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||c()):!1})(),A11=t=>k11?()=>setTimeout(()=>t(),100):t;function _s(t,c,e,i,n,a,r,l){e&&t.runOutsideAngular(A11(()=>{let f=v=>{let M=v.target;return v.button===2||Jd(M,r)?!1:e==="inside"?Jd(M,a)&&cD(M,l):e==="outside"?!Jd(M,a):cD(M,l)||!Jd(M,a)},m=z0(c,"keydown").pipe(s4(n),q4(v=>v.key==="Escape"),w9(v=>v.preventDefault())),h=z0(c,"mousedown").pipe(m4(f),s4(n)),g=z0(c,"mouseup").pipe(qr(h),q4(([v,M])=>M),gC(0),s4(n));Eh([m.pipe(m4(v=>0)),g.pipe(m4(v=>1))]).subscribe(v=>t.run(()=>i(v)))}))}var BM=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function UM(t){let c=Array.from(t.querySelectorAll(BM)).filter(e=>e.tabIndex!==-1);return[c[0],c[c.length-1]]}var $M=(t,c,e,i=!1)=>{t.runOutsideAngular(()=>
779{let n=z0(c,"focusin").pipe(s4(e),m4(a=>a.target));z0(c,"keydown").pipe(s4(e),q4(a=>a.key==="Tab"),qr(n)).subscribe(([a,r])=>{let[l,f]=UM(c);(r===l||r===c)&&a.shiftKey&&(f.focus(),a.preventDefault()),r===f&&!a.shiftKey&&(l.focus(),a.preventDefault())}),i&&z0(c,"click").pipe(s4(e),qr(n),m4(a=>a[1])).subscribe(a=>a.focus())})};function Cs(t){return c=>(c.modifiers.push(NM,{name:"offset",options:{offset:()=>t}}),c)}var be=class{constructor(c,e,i){this.nodes=c,this.viewRef=e,this.componentRef=i}},em=class{constructor(c){this._componentType=c,this._windowRef=null,this._contentRef=null,this._document=B(p2),this._applicationRef=B(y8),this._injector=B(S2),this._viewContainerRef=B(Z5),this._ngZone=B(n2)}open(c,e,i=!1){this._windowRef||(this._contentRef=this._getContentRef(c,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));let{nativeElement:n}=this._windowRef.location,a=new E1;L0({mixedReadWrite:()=>{a.next(),a.complete()}},{injector:this._injector});let r=a.pipe(lC(()=>xe(this._ngZone,n,({classList:l})=>l.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(c=!1){return this._windowRef?xe(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:c,runningTransition:"stop"}).pipe(w9(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):We(void 0)}_getContentRef(c,e){if(c)if(c instanceof f0){let i=c.createEmbeddedView(e);return this._applicationRef.attachView(i),new be([i.rootNodes],i)}else return new be([[this._document.createTextNode(`${c}`)]]);else return new be([])}},nD=(()=>{class t{constructor(){this._document=B(p2)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,n=i.style,{overflow:a,paddingRight:r}=n;if(e>0){let l=parseFloat(window.getComputedStyle(i).paddingRight);n.paddingRight=`${l+e}px`}return n.overflow="hidden",()=>{e>0&&(n.paddingRight=r),n.overflow=a}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),T11={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function D11(t){let c=(t||"").trim();if(c.length===0)return[];let e=c.split(/\s+/).map(n=>n.split(":")).map(n=>T11[n[0]]||n),i=e.filter(n=>n.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(i.length===1&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:e}function aD(t,c,e,i,n,a=0,r=0,l=Br,f=Br){let m=D11(c);if(m.length===0)return()=>{};let h=new Set,g=[],v;function M(C,S){t.addEventListener(C,S),g.push(()=>t.removeEventListener(C,S))}function b(C,S){clearTimeout(v),S>0?v=setTimeout(C,S):C()}for(let[C,S]of m)if(S?(M(C,()=>{h.add(C),b(()=>h.size>0&&i(),a)}),M(S,()=>{h.delete(C),b(()=>h.size===0&&n(),r)})):M(C,()=>e()?b(n,r):b(i,a)),C==="mouseenter"&&S==="mouseleave"&&r>0){let P=l.subscribe(()=>{h.delete(C),clearTimeout(v)}),V=f.subscribe(()=>{h.delete(C),b(()=>h.size===0&&n(),r)});g.push(()=>P.unsubscribe(),()=>V.unsubscribe())}return g.push(()=>clearTimeout(v)),()=>g.forEach(C=>C())}var jM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var WM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var GM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var qM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var O11=["ngbDatepickerDayView",""],E11=["month"],I11=["year"];function P11(t,c){if(t&1&&(r2(0,"option",3),F(1),x2()),t&2){let e=c.$implicit,i=O();J2("value",e),T2("aria-label",i.i18n.getMonthFullName(e,i.date.year)),k(),_2(i.i18n.getMonthShortName(e,i.date.year))}}function R11(t,c){if(t&1&&(r2(0,"option",3),F(1),x2()),t&2){let e=c.$implicit,i=O();J2("value",e),k(),_2(i.i18n.getYearNumerals(e))}}function rD(t,c){return this.idMonth(c)}function F11(t,c){if(t&1){let e=z1();T(0,"ngb-datepicker-navigation-select",7),e1("select",function(n){a1(e);let a=O();return s1(a.select.emit(n))}),D()}if(t&2){let e=O();t1("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function V11(t,c){t&1&&O1(0,"div",8)}function H11(t,c){t&1&&O1(0,"div",8)}function B11(t,c){if(t&1&&(Y(0,V11,1,0,"div",8),T(1,"div",9),F(2),D(),Y(3,H11,1,0,"div",8)),t&2){let e=c.$implicit,i=c.$index,n=O(2);Z(i>0?0:-1),k(2),I1(" ",n.i18n.getMonthLabel(e.firstDate)," "),k(),Z(i!==n.months.length-1?3:-1)}}function U11(t,c){if(t&1&&a2(0,B11,4,3,null,null,rD,!0),t&2){let e=O();s2(e.months)}}function $11(t,c){if(t&1&&(T(0,"span"),F(1),D()),t&2){let e=c.$implicit,i=O();k(),_2(i.i18n.getMonthLabel(e.firstDate))}}function j11(t,c){if(t&1&&(T(0,"div",1),F(1),D()),t&2){let e=O(2);k(),_2(e.i18n.getWeekLabel())}}function W11(t,c){if(t&1&&(T(0,"div",2),F(1),D()),t&2){let e=c.$implicit;k(),_2(e)}}function G11(t,c){if(t&1&&(T(0,"div",0),Y(1,j11,2,1,"div",1),a2(2,W11,2,1,"div",2,k9),D()),t&2){let e=O();k(),Z(e.datepicker.showWeekNumbers?1:-1),k(),s2(e.viewModel.weekdays)}}function q11(t,c){if(t&1&&(T(0,"div",4),F(1),D()),t&2){let e=O(2).$implicit,i=O();
779k(),_2(i.i18n.getWeekNumerals(e.number))}}function Y11(t,c){}function Z11(t,c){if(t&1&&Y4(0,Y11,0,0,"ng-template",7),t&2){let e=O().$implicit,i=O(3);t1("ngTemplateOutlet",i.datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function K11(t,c){if(t&1){let e=z1();T(0,"div",6),e1("click",function(n){let a=a1(e).$implicit;return O(3).doSelect(a),s1(n.preventDefault())}),Y(1,Z11,1,2,null,7),D()}if(t&2){let e=c.$implicit;M1("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),t1("tabindex",e.tabindex),T2("aria-label",e.ariaLabel)("aria-disabled",e.context.disabled)("aria-selected",e.context.selected),k(),Z(e.hidden?-1:1)}}function X11(t,c){if(t&1&&(T(0,"div",3),Y(1,q11,2,1,"div",4),a2(2,K11,2,11,"div",5,Q2),D()),t&2){let e=O().$implicit,i=O();k(),Z(i.datepicker.showWeekNumbers?1:-1),k(),s2(e.days)}}function Q11(t,c){if(t&1&&Y(0,X11,4,1,"div",3),t&2){let e=c.$implicit;Z(e.collapsed?-1:0)}}var J11=["defaultDayTemplate"],e21=["content"],c21=t=>({$implicit:t});function t21(t,c){if(t&1&&O1(0,"div",8),t&2){let e=c.date,i=c.currentMonth,n=c.selected,a=c.disabled,r=c.focused;t1("date",e)("currentMonth",i)("selected",n)("disabled",a)("focused",r)}}function i21(t,c){if(t&1&&(T(0,"div",10),F(1),D()),t&2){let e=O().$implicit,i=O(2);k(),I1(" ",i.i18n.getMonthLabel(e.firstDate)," ")}}function n21(t,c){if(t&1&&(T(0,"div",9),Y(1,i21,2,1,"div",10),O1(2,"ngb-datepicker-month",11),D()),t&2){let e=c.$implicit,i=O(2);k(),Z(i.navigation==="none"||i.displayMonths>1&&i.navigation==="select"?1:-1),k(),t1("month",e.firstDate)}}function a21(t,c){if(t&1&&a2(0,n21,3,2,"div",9,Q2),t&2){let e=O();s2(e.model.months)}}function s21(t,c){if(t&1){let e=z1();T(0,"ngb-datepicker-navigation",12),e1("navigate",function(n){a1(e);let a=O();return s1(a.onNavigateEvent(n))})("select",function(n){a1(e);let a=O();return s1(a.onNavigateDateSelect(n))}),D()}if(t&2){let e=O();t1("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect",e.model.navigation==="select")("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function r21(t,c){}function o21(t,c){}var H8=class t{static from(c){return c instanceof t?c:c?new t(c.year,c.month,c.day):null}constructor(c,e,i){this.year=N4(c)?c:null,this.month=N4(e)?e:null,this.day=N4(i)?i:null}equals(c){return c!=null&&this.year===c.year&&this.month===c.month&&this.day===c.day}before(c){return c?this.year===c.year?this.month===c.month?this.day===c.day?!1:this.day<c.day:this.month<c.month:this.year<c.year:!1}after(c){return c?this.year===c.year?this.month===c.month?this.day===c.day?!1:this.day>c.day:this.month>c.month:this.year>c.year:!1}};function sD(t){return new H8(t.getFullYear(),t.getMonth()+1,t.getDate())}function tm(t){let c=new Date(t.year,t.month-1,t.day,12);return isNaN(c.getTime())||c.setFullYear(t.year),c}function l21(){return new f21}var KM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:()=>l21(),providedIn:"root"})}}return t})(),f21=(()=>{class t extends KM{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,i="d",n=1){let a=tm(e),r=!0,l=a.getMonth();switch(i){case"y":a.setFullYear(a.getFullYear()+n);break;case"m":l+=n,a.setMonth(l),l=l%12,l<0&&(l=l+12);break;case"d":a.setDate(a.getDate()+n),r=!1;break;default:return e}return r&&a.getMonth()!==l&&a.setDate(0),sD(a)}getPrev(e,i="d",n=1){return this.getNext(e,i,-n)}getWeekday(e){let n=tm(e).getDay();return n===0?7:n}getWeekNumber(e,i){i===7&&(i=0);let n=(11-i)%7,a=e[n],r=tm(a);r.setDate(r.getDate()+4-(r.getDay()||7));let l=r.getTime();return r.setMonth(0),r.setDate(1),Math.floor(Math.round((l-r.getTime())/864e5)/7)+1}getToday(){return sD(new Date)}isValid(e){if(!e||!N4(e.year)||!N4(e.month)||!N4(e.day)||e.year===0)return!1;let i=tm(e);return!isNaN(i.getTime())&&i.getFullYear()===e.year&&i.getMonth()+1===e.month&&i.getDate()===e.day}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})();function Rn(t,c){return!d21(t,c)}function oD(t,c){return!t&&!c?!1:!t||!c?!0:t.year!==c.year||t.month!==c.month}function d21(t,c){return!t&&!c||!!t&&!!c&&t.equals(c)}function m21(t,c){if(c&&t&&c.before(t))throw new Error(`'maxDate' ${c} should be greater than 'minDate' ${t}`)}function im(t,c,e){return t&&c&&t.before(c)?c:t&&e&&t.after(e)?e:t||null}function YM(t,c){let{minDate:e,maxDate:i,disabled:n,markDisabled:a}=c;return!(t==null||n||a&&a(t,{year:t.year,month:t.month})||e&&t.before(e)||i&&t.after(i))}function u21(t,c,e,i){if(!c)return[];let n=t.getMonths(c.year);if(e&&c.year===e.year){let a=n.findIndex(r=>r===e.month);n=n.slice(a)}if(i&&c.year===i.year){let a=n.findIndex(r=>r===i.month);n=n.slice(0,a+1)}return n}function h21(t,c,e){if(!t)return[];let i=c?Math.max(c.year,t.year-500):t.year-10,a=(e?Math.min(e.year,t.year+500):t.year+10)-i+1,r=Array(a);for(let l=0;l<a;l++)r[l]=i+l;return r}function p21(t,c,e){let i=Object.assign(t.getNext(c,"m"),{day:1});return e!=null&&i.after(e)}function g21(t,c,e){let i=Object.assign(t.getPrev(c,"m"),{day:1});return e!=null&&(i.year===e.year&&i.month<e.month||i.year<e.year&&e.month===1)}function z21(t,c,e,i,n){let{displayMonths:a,months:r}=e,l=r.splice(0,r.length);return Array.from({length:a},(m,h)=>{let g=Object.assign(t.getNext(c,"m",h),{day:1});if(r[h]=null,!n){let v=l.findIndex(M=>M.firstDate.equals(g));v!==-1&&(r[h]=l.splice(v,1)[0])}return g}
779).forEach((m,h)=>{r[h]===null&&(r[h]=L21(t,m,e,i,l.shift()||{}))}),r}function L21(t,c,e,i,n={}){let{dayTemplateData:a,minDate:r,maxDate:l,firstDayOfWeek:f,markDisabled:m,outsideDays:h,weekdayWidth:g,weekdaysVisible:v}=e,M=t.getToday();n.firstDate=null,n.lastDate=null,n.number=c.month,n.year=c.year,n.weeks=n.weeks||[],n.weekdays=n.weekdays||[],c=M21(t,c,f),v||(n.weekdays.length=0);for(let b=0;b<t.getWeeksPerMonth();b++){let C=n.weeks[b];C||(C=n.weeks[b]={number:0,days:[],collapsed:!0});let S=C.days;for(let P=0;P<t.getDaysPerWeek();P++){b===0&&v&&(n.weekdays[P]=i.getWeekdayLabel(t.getWeekday(c),g));let V=new H8(c.year,c.month,c.day),q=t.getNext(V),W=i.getDayAriaLabel(V),G=!!(r&&V.before(r)||l&&V.after(l));!G&&m&&(G=m(V,{month:n.number,year:n.year}));let Q=V.equals(M),l1=a?a(V,{month:n.number,year:n.year}):void 0;n.firstDate===null&&V.month===n.number&&(n.firstDate=V),V.month===n.number&&q.month!==n.number&&(n.lastDate=V);let c1=S[P];c1||(c1=S[P]={}),c1.date=V,c1.context=Object.assign(c1.context||{},{$implicit:V,date:V,data:l1,currentMonth:n.number,currentYear:n.year,disabled:G,focused:!1,selected:!1,today:Q}),c1.tabindex=-1,c1.ariaLabel=W,c1.hidden=!1,c=q}C.number=t.getWeekNumber(S.map(P=>P.date),f),C.collapsed=h==="collapsed"&&S[0].date.month!==n.number&&S[S.length-1].date.month!==n.number}return n}function M21(t,c,e){let i=t.getDaysPerWeek(),n=new H8(c.year,c.month,1),a=t.getWeekday(n)%i;return t.getPrev(n,"d",(i+a-e)%i)}var it=(()=>{class t{getMonthLabel(e){return`${this.getMonthFullName(e.month,e.year)} ${this.getYearNumerals(e.year)}`}getDayNumerals(e){return`${e.day}`}getWeekNumerals(e){return`${e}`}getYearNumerals(e){return`${e}`}getWeekLabel(){return""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:()=>new v21,providedIn:"root"})}}return t})(),v21=(()=>{class t extends it{constructor(){super(...arguments),this._locale=B(co),this._monthsShort=[...Array(12).keys()].map(e=>Intl.DateTimeFormat(this._locale,{month:"short",timeZone:"UTC"}).format(Date.UTC(2e3,e))),this._monthsFull=[...Array(12).keys()].map(e=>Intl.DateTimeFormat(this._locale,{month:"long",timeZone:"UTC"}).format(Date.UTC(2e3,e)))}getWeekdayLabel(e,i="narrow"){return[1,2,3,4,5,6,7].map(a=>Intl.DateTimeFormat(this._locale,{weekday:i,timeZone:"UTC"}).format(Date.UTC(2e3,4,a)))[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){let i=new Date(e.year,e.month-1,e.day);return T9(i,"fullDate",this._locale)}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),ZM=(()=>{class t{constructor(){this._VALIDATORS={dayTemplateData:e=>{if(this._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:e=>{if(e=A6(e),N4(e)&&e>0&&this._state.displayMonths!==e)return{displayMonths:e}},disabled:e=>{if(this._state.disabled!==e)return{disabled:e}},firstDayOfWeek:e=>{if(e=A6(e),N4(e)&&e>=0&&this._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:e=>{if(this._state.focusVisible!==e&&!this._state.disabled)return{focusVisible:e}},markDisabled:e=>{if(this._state.markDisabled!==e)return{markDisabled:e}},maxDate:e=>{let i=this.toValidDate(e,null);if(Rn(this._state.maxDate,i))return{maxDate:i}},minDate:e=>{let i=this.toValidDate(e,null);if(Rn(this._state.minDate,i))return{minDate:i}},navigation:e=>{if(this._state.navigation!==e)return{navigation:e}},outsideDays:e=>{if(this._state.outsideDays!==e)return{outsideDays:e}},weekdays:e=>{let i=e===!0||e===!1?"narrow":e,n=e===!0||e===!1?e:!0;if(this._state.weekdayWidth!==i||this._state.weekdaysVisible!==n)return{weekdayWidth:i,weekdaysVisible:n}}},this._calendar=B(KM),this._i18n=B(it),this._model$=new E1,this._dateSelect$=new E1,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:"narrow",weekdaysVisible:!0}}get model$(){return this._model$.pipe(q4(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(q4(e=>e!==null))}set(e){let i=Object.keys(e).map(n=>this._VALIDATORS[n](e[n])).reduce((n,a)=>E(E({},n),a),{});Object.keys(i).length>0&&this._nextState(i)}focus(e){let i=this.toValidDate(e,null);i!=null&&!this._state.disabled&&Rn(this._state.focusDate,i)&&this._nextState({focusDate:e})}focusSelect(){YM(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){let i=this.toValidDate(e,this._calendar.getToday());i!=null&&!this._state.disabled&&(!this._state.firstDate||oD(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(e,i={}){let n=this.toValidDate(e,null);n!=null&&!this._state.disabled&&(Rn(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),i.emitEvent&&YM(n,this._state)&&this._dateSelect$.next(n))}toValidDate(e,i){let n=H8.from(e);return i===void 0&&(i=this._calendar.getToday()),this._calendar.isValid(n)?n:i}getMonth(e){for(let i of this._state.months)if(e.month===i.number&&e.year===i.year)return i;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){let i=this._updateState(e);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(e){let{months:i,displayMonths:n,selectedDate:a,focusDate:r,focusVisible:l,disabled:f,outsideDays:m}=e;e.months.forEach(h=>{h.weeks.forEach(g=>{g.days.forEach(v=>{r&&(v.context.focused=r.equals(v.date)&&l),v.tabindex=!f&&r&&v.date.equals(r)&&r.month===h.number?0:-1,f===!0&&(v.context.disabled=!0),a!==void 0&&(v.context.selected=a!==null&&a.equals(v.date)),h.number!==v.date.month&&(v.hidden=m==="hidden"||m==="collapsed"||n>1&&v.date.after(i[0].firstDate)&&v.date.before(i[n-1].lastDate))})})})}_updateState(e){let i=Object.assign({},this._state,e),n=i.firstDate;if(("minDate"in e||"maxDate"in e)&&(m21(i.minDate,i.maxDate),i.focusDate=im(i.focusDate,i.minDate,i.maxDate),i.firstDate=im(i.firstDate,i.minDate,i.maxDate),n=i.focusDate),"disabled"in e&&(i.focusVisible=!1),"selectedDate"in e&&this._state.months.length===0&&(n=i.selectedDate),"focu
779sVisible"in e||"focusDate"in e&&(i.focusDate=im(i.focusDate,i.minDate,i.maxDate),n=i.focusDate,i.months.length!==0&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in e&&(i.firstDate=im(i.firstDate,i.minDate,i.maxDate),n=i.firstDate),n){let a="dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e||"weekdaysVisible"in e,r=z21(this._calendar,n,i,this._i18n,a);i.months=r,i.firstDate=r[0].firstDate,i.lastDate=r[r.length-1].lastDate,"selectedDate"in e&&!YM(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in e&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=n);let l=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,f=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;i.navigation==="select"?(("minDate"in e||"maxDate"in e||i.selectBoxes.years.length===0||l)&&(i.selectBoxes.years=h21(i.firstDate,i.minDate,i.maxDate)),("minDate"in e||"maxDate"in e||i.selectBoxes.months.length===0||l)&&(i.selectBoxes.months=u21(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},(i.navigation==="arrows"||i.navigation==="select")&&(f||l||"minDate"in e||"maxDate"in e||"disabled"in e)&&(i.prevDisabled=i.disabled||g21(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||p21(this._calendar,i.lastDate,i.maxDate))}return i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),nm=(function(t){return t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT",t})(nm||{}),_21=(()=>{class t{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays="narrow"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function C21(){return new y21}var lD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:()=>C21(),providedIn:"root"})}}return t})(),y21=(()=>{class t extends lD{fromModel(e){return e&&N4(e.year)&&N4(e.month)&&N4(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&N4(e.year)&&N4(e.month)&&N4(e.day)?{year:e.year,month:e.month,day:e.day}:null}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),b21=(()=>{class t{processKey(e,i){let{state:n,calendar:a}=i;switch(e.key){case"PageUp":i.focusDate(a.getPrev(n.focusedDate,e.shiftKey?"y":"m",1));break;case"PageDown":i.focusDate(a.getNext(n.focusedDate,e.shiftKey?"y":"m",1));break;case"End":i.focusDate(e.shiftKey?n.maxDate:n.lastDate);break;case"Home":i.focusDate(e.shiftKey?n.minDate:n.firstDate);break;case"ArrowLeft":i.focusDate(a.getPrev(n.focusedDate,"d",1));break;case"ArrowUp":i.focusDate(a.getPrev(n.focusedDate,"d",a.getDaysPerWeek()));break;case"ArrowRight":i.focusDate(a.getNext(n.focusedDate,"d",1));break;case"ArrowDown":i.focusDate(a.getNext(n.focusedDate,"d",a.getDaysPerWeek()));break;case"Enter":case" ":i.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),x21=(()=>{class t{constructor(){this.i18n=B(it)}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(i,n){i&2&&M1("bg-primary",n.selected)("text-white",n.selected)("text-muted",n.isMuted())("outside",n.isMuted())("active",n.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:O11,decls:1,vars:1,template:function(i,n){i&1&&F(0),i&2&&_2(n.i18n.getDayNumerals(n.date))},styles:[`[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-tertiary-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5} 780`],encapsulation:2,changeDetection:0})}}return t})(),w21=(()=>{class t{constructor(){this._month=-1,this._year=-1,this.i18n=B(it),this.select=new N1}changeMonth(e){this.select.emit(new H8(this.date.year,A6(e),1))}changeYear(e){this.select.emit(new H8(A6(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this.monthSelect.nativeElement.value=`${this._month}`),this.date.year!==this._year&&(this._year=this.date.year,this.yearSelect.nativeElement.value=`${this._year}`))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(i,n){if(i&1&&k4(E11,7,Q1)(I11,7,Q1),i&2){let a;q1(a=Y1())&&(n.monthSelect=a.first),q1(a=Y1())&&(n.yearSelect=a.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:8,vars:2,consts:()=>{let e;e=$localize`:@@ngb.datepicker.select-month:Select month`;let i;i=$localize`:@@ngb.datepicker.select-month:Select month`;let n;n=$localize`:@@ngb.datepicker.select-year:Select year`;let a;return a=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",e,"title",i,1,"form-select",3,"change","disabled"],[3,"value"],["aria-label",n,"title",a,1,"form-select",3,"change","disabled"]]},template:function(i,n){i&1&&(r2(0,"select",2,0),M0("change",function(r){return n.changeMonth(r.target.value)}),a2(2,P11,2,3,"option",3,Q2),x2(),r2(4,"select",4,1),M0("change",function(r){return n.changeYear(r.target.value)}),a2(6,R11,2,2,"option",3,Q2),x2()),i&2&&(J2("disabled",n.disabled),k(2),s2(n.months),k(2),J2("disabled",n.disabled),k(2),s2(n.years))},styles:[`ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important} 781`],encapsulation:2,changeDetection:0})}}return t})(),S21=(()=>{class t{constructor(){this.navigation=nm,this.i18n=B(it),this.months=[],this.navigate=new N1,this.select=new N1}
781onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}idMonth(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:11,vars:4,consts:()=>{let e;e=$localize`:@@ngb.datepicker.previous-month:Previous month`;let i;i=$localize`:@@ngb.datepicker.previous-month:Previous month`;let n;n=$localize`:@@ngb.datepicker.next-month:Next month`;let a;return a=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow","ngb-dp-arrow-prev"],["type","button","aria-label",e,"title",i,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years"],["aria-live","polite",1,"visually-hidden"],[1,"ngb-dp-arrow","ngb-dp-arrow-next"],["type","button","aria-label",n,"title",a,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],[1,"ngb-dp-arrow"],[1,"ngb-dp-month-name"]]},template:function(i,n){i&1&&(T(0,"div",0)(1,"button",1),e1("click",function(r){return n.onClickPrev(r)}),O1(2,"span",2),D()(),Y(3,F11,1,4,"ngb-datepicker-navigation-select",3),Y(4,U11,2,0),T(5,"div",4),a2(6,$11,2,1,"span",null,rD,!0),D(),T(8,"div",5)(9,"button",6),e1("click",function(r){return n.onClickNext(r)}),O1(10,"span",2),D()()),i&2&&(k(),t1("disabled",n.prevDisabled),k(2),Z(n.showSelect?3:-1),k(),Z(n.showSelect?-1:4),k(2),s2(n.months),k(3),t1("disabled",n.nextDisabled))},dependencies:[w21],styles:[`ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow-next{justify-content:flex-end}.ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem} 782`],encapsulation:2,changeDetection:0})}}return t})(),N21=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbDatepickerContent",""]]})}}return t})(),k21=(()=>{class t{constructor(){this._keyboardService=B(b21),this._service=B(ZM),this.i18n=B(it),this.datepicker=B(A21)}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){!e.context.disabled&&!e.hidden&&this.datepicker.onDateSelect(e.date)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(i,n){i&1&&e1("keydown",function(r){return n.onKeyDown(r)})},inputs:{month:"month"},decls:3,vars:1,consts:[["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["role","row",1,"ngb-dp-week"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"disabled","tabindex","hidden","ngb-dp-today"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(Y(0,G11,4,1,"div",0),a2(1,Q11,1,1,null,null,Q2)),i&2&&(Z(n.viewModel.weekdays.length>0?0:-1),k(),s2(n.viewModel.weeks))},dependencies:[D9],styles:[`ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-tertiary-bg)}
782.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1} 783`],encapsulation:2})}}return t})(),A21=(()=>{class t{constructor(){this.injector=B(S2),this._service=B(ZM),this._calendar=B(KM),this._i18n=B(it),this._config=B(_21),this._nativeElement=B(Q1).nativeElement,this._ngbDateAdapter=B(lD),this._ngZone=B(n2),this._destroyRef=B(d7),this._injector=B(S2),this._controlValue=null,this._publicState={},this._initialized=!1,this.dayTemplate=this._config.dayTemplate,this.dayTemplateData=this._config.dayTemplateData,this.displayMonths=this._config.displayMonths,this.firstDayOfWeek=this._config.firstDayOfWeek,this.footerTemplate=this._config.footerTemplate,this.markDisabled=this._config.markDisabled,this.maxDate=this._config.maxDate,this.minDate=this._config.minDate,this.navigation=this._config.navigation,this.outsideDays=this._config.outsideDays,this.showWeekNumbers=this._config.showWeekNumbers,this.startDate=this._config.startDate,this.weekdays=this._config.weekdays,this.navigate=new N1,this.dateSelect=new N1,this.onChange=i=>{},this.onTouched=()=>{};let e=B(_0);this._service.dateSelect$.pipe(Wd()).subscribe(i=>{this.dateSelect.emit(i)}),this._service.model$.pipe(Wd()).subscribe(i=>{let n=i.firstDate,a=this.model?this.model.firstDate:null;this._publicState={maxDate:i.maxDate,minDate:i.minDate,firstDate:i.firstDate,lastDate:i.lastDate,focusedDate:i.focusDate,months:i.months.map(h=>h.firstDate)};let r=!1;if(!n.equals(a)&&(this.navigate.emit({current:a?{year:a.year,month:a.month}:null,next:{year:n.year,month:n.month},preventDefault:()=>r=!0}),r&&a!==null)){this._service.open(a);return}let l=i.selectedDate,f=i.focusDate,m=this.model?this.model.focusDate:null;this.model=i,Rn(l,this._controlValue)&&(this._controlValue=l,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(l))),Rn(f,m)&&m&&i.focusVisible&&this.focus(),e.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(e){this._service.focus(H8.from(e))}focusSelect(){this._service.focusSelect()}focus(){L0({read:()=>{this._nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]')?.focus()}},{injector:this._injector})}navigateTo(e){this._service.open(H8.from(e?e.day?e:m1(E({},e),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{let e=z0(this._contentEl.nativeElement,"focusin"),i=z0(this._contentEl.nativeElement,"focusout");hC(e,i).pipe(q4(n=>{let a=n.target,r=n.relatedTarget;return!(a?.classList.contains("ngb-dp-day")&&r?.classList.contains("ngb-dp-day")&&this._nativeElement.contains(a)&&this._nativeElement.contains(r))}),Wd(this._destroyRef)).subscribe(({type:n})=>this._ngZone.run(()=>this._service.set({focusVisible:n==="focusin"})))})}ngOnInit(){if(this.model===void 0){let e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>e[i]=this[i]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate),this._initialized=!0}ngOnChanges(e){let i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(n=>n in e).forEach(n=>i[n]=this[n]),this._service.set(i),"startDate"in e&&this._initialized){let{currentValue:n,previousValue:a}=e.startDate;oD(a,n)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case nm.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case nm.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1));break}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=H8.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-datepicker"]],contentQueries:function(i,n,a){if(i&1&&$3(a,N21,7),i&2){let r;q1(r=Y1())&&(n.contentTemplateFromContent=r.first)}},viewQuery:function(i,n){if(i&1&&k4(J11,7)(e21,7),i&2){let a;q1(a=Y1())&&(n._defaultDayTemplate=a.first),q1(a=Y1())&&(n._contentEl=a.first)}},hostVars:2,hostBindings:function(i,n){i&2&&M1("disabled",n.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[H2([{provide:M6,useExisting:H4(()=>t),multi:!0},ZM]),R2],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],[1,"ngb-dp-month"],[1,"ngb-dp-month-name"],[3,"month"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]
783],template:function(i,n){if(i&1&&(Y4(0,t21,1,5,"ng-template",null,0,C3)(2,a21,2,0,"ng-template",null,1,C3),T(4,"div",3),Y(5,s21,1,7,"ngb-datepicker-navigation",4),D(),T(6,"div",5,2),Y4(8,r21,0,0,"ng-template",6),D(),Y4(9,o21,0,0,"ng-template",7)),i&2){let a=v0(3);k(5),Z(n.navigation!=="none"?5:-1),k(),M1("ngb-dp-months",!n.contentTemplate),k(2),t1("ngTemplateOutlet",n.contentTemplate||(n.contentTemplateFromContent==null?null:n.contentTemplateFromContent.templateRef)||a)("ngTemplateOutletContext",_3(7,c21,n))("ngTemplateOutletInjector",n.injector),k(),t1("ngTemplateOutlet",n.footerTemplate)}},dependencies:[D9,x21,k21,S21],styles:[`ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-tertiary-bg)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-tertiary-bg)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem} 784`],encapsulation:2,changeDetection:0})}}return t})();var Ax1=new Date(1882,10,12),Tx1=new Date(2174,10,25);var Dx1=1e3*60*60*24;var XM=1080,T21=24*XM,D21=12*XM+793,Ox1=29*T21+D21,Ex1=11*XM+204;var QM=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var O21=(()=>{class t{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=e=>e,this.container=null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),E21=(()=>{class t{constructor(){this._disabled=!1,this.nativeElement=B(Q1).nativeElement,this.tabindex=0}set disabled(e){this._disabled=e===""||e===!0}get disabled(){return this._disabled}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(i,n){i&2&&(J2("tabIndex",n.disabled?-1:n.tabindex),M1("disabled",n.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"}})}}return t})();var I21=(()=>{class t{constructor(){this.dropdown=B(fD),this.nativeElement=B(Q1).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(i,n,a){if(i&1&&$3(a,E21,4),i&2){let r;q1(r=Y1())&&(n.menuItems=r)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(i,n){i&1&&e1("keydown.ArrowUp",function(r){return n.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return n.dropdown.onKeyDown(r)})("keydown.Home",function(r){return n.dropdown.onKeyDown(r)})("keydown.End",function(r){return n.dropdown.onKeyDown(r)})("keydown.Enter",function(r){return n.dropdown.onKeyDown(r)})("keydown.Space",function(r){return n.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return n.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return n.dropdown.onKeyDown(r)}),i&2&&M1("show",n.dropdown.isOpen())}})}}return t})(),JM=(()=>{class t{constructor(){this.dropdown=B(fD),this.nativeElement=B(Q1).nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&2&&(T2("aria-expanded",n.dropdown.isOpen()),M1("show",n.dropdown.isOpen()))}})}}return t})(),Yx1=(()=>{class t extends JM{static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275dir=v1({type:t,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,n){i&1&&e1("click",function(){return n.dropdown.toggle()})("keydown.ArrowUp",function(r){return n.dropdown.onKeyDown(r)})("keydown.ArrowDown",function(r){return n.dropdown.onKeyDown(r)})("keydown.Home",function(r){return n.dropdown.onKeyDown(r)})("keydown.End",function(r){return n.dropdown.onKeyDown(r)})("keydown.Tab",function(r){return n.dropdown.onKeyDown(r)})("keydown.Shift.Tab",function(r){return n.dropdown.onKeyDown(r)}),i&2&&(T2("aria-expanded",n.dropdown.isOpen()),M1("show",n.dropdown.isOpen()))},features:[H2([{provide:JM,useExisting:H4(()=>t)}]),i4]})}}return t})(),fD=(()=>{class t{constructor(){this._changeDetector=B(_0),this._config=B(O21),this._document=B(p2),this._injector=B(S2),this._ngZone=B(n2),this._nativeElement=B(Q1).nativeElement,this._destroyCloseHandlers$=new E1,this._bodyContainer=null,this._positioning=vs(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new N1}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".
784navbar")?"static":"dynamic")}ngAfterContentInit(){L0({write:()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()}},{injector:this._injector})}ngOnChanges(e){if(e.container&&this._open&&this._applyContainer(this.container),e.placement&&!e.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),e.dropdownClass){let{currentValue:i,previousValue:n}=e.dropdownClass;this._applyCustomDropdownClass(i,n)}e.autoClose&&this._open&&(this.autoClose=e.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),this.display==="dynamic"&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:e=>this.popperOptions(Cs([0,2])(e))}),this._applyPlacementClasses(),this._afterRenderRef=N9({write:()=>{this._positionMenu()}},{injector:this._injector})})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),_s(this._ngZone,this._document,this.autoClose,e=>{this.close(),e===0&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._afterRenderRef?.destroy(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(e){let{key:i}=e,n=this._getMenuElements(),a=-1,r=null,l=this._isEventFromToggle(e);if(!l&&n.length&&n.forEach((f,m)=>{f.contains(e.target)&&(r=f),f===VM(this._document)&&(a=m)}),i===" "||i==="Enter"){r&&(this.autoClose===!0||this.autoClose==="inside")&&z0(r,"click").pipe(U3(1)).subscribe(()=>this.close());return}if(i==="Tab"){if(e.target&&this.isOpen()&&this.autoClose)if(this._anchor.nativeElement===e.target){this.container==="body"&&!e.shiftKey?(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")):e.shiftKey&&this.close();return}else if(this.container==="body"){let f=this._menu.nativeElement.querySelectorAll(BM);e.shiftKey&&e.target===f[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):!e.shiftKey&&e.target===f[f.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else z0(e.target,"focusout").pipe(U3(1)).subscribe(({relatedTarget:f})=>{this._nativeElement.contains(f)||this.close()});return}if(l||r){if(this.open(),n.length){switch(i){case"ArrowDown":a=Math.min(a+1,n.length-1);break;case"ArrowUp":if(this._isDropup()&&a===-1){a=n.length-1;break}a=Math.max(a-1,0);break;case"Home":a=0;break;case"End":a=n.length-1;break}n[a].focus()}e.preventDefault()}}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(e){return this._anchor.nativeElement.contains(e.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:e})=>!e).map(({nativeElement:e})=>e):[]}_positionMenu(){let e=this._menu;this.isOpen()&&e&&(this.display==="dynamic"?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(e){return Array.isArray(e)?e[0]:e.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(e=null){if(this._resetContainer(),e==="body"){let i=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||this._document.createElement("div");n.style.position="absolute",i.style.position="static",n.style.zIndex="1055",n.appendChild(i),this._document.body.appendChild(n)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(e,i){let n=this.container==="body"?this._bodyContainer:this._nativeElement;n&&(i&&n.classList.remove(i),e&&n.classList.add(e))}_applyPlacementClasses(e){if(this._menu){e||(e=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),this.display==="static"?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");let i=e.search("^top")!==-1?"dropup":"dropdown";this._nativeElement.classList.add(i),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(i))}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","ngbDropdown",""]],contentQueries:function(i,n,a){if(i&1&&$3(a,I21,5)(a,JM,5),i&2){let r;q1(r=Y1())&&(n._menu=r.first),q1(r=Y1())&&(n._anchor=r.first)}},hostVars:2,hostBindings:function(i,n){i&2&&M1("show",n.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",dis
784play:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[R2]})}}return t})();var ev=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var P21=["dialog"],R21=["*"],F21=(()=>{class t{constructor(){this._ngbConfig=B(Gd),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),V21=["animation","backdropClass"],H21=(()=>{class t{constructor(){this._nativeElement=B(Q1).nativeElement,this._zone=B(n2),this._injector=B(S2),this._cdRef=B(_0)}ngOnInit(){L0({mixedReadWrite:()=>xe(this._zone,this._nativeElement,(e,i)=>{i&&FM(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return xe(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(e){V21.forEach(i=>{cm(e[i])&&(this[i]=e[i])}),this._cdRef.markForCheck()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,n){i&2&&(v3("modal-backdrop"+(n.backdropClass?" "+n.backdropClass:"")),M1("show",!n.animation)("fade",n.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(i,n){},encapsulation:2})}}return t})(),am=class{update(c){}close(c){}dismiss(c){}},cv=class{update(c){this._windowCmptRef.instance.updateOptions(c),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(c)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(s4(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(s4(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(c,e,i,n){this._windowCmptRef=c,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=n,this._closed=new E1,this._dismissed=new E1,this._hidden=new E1,c.instance.dismissEvent.subscribe(a=>{this.dismiss(a)}),this.result=new Promise((a,r)=>{this._resolve=a,this._reject=r}),this.result.then(null,()=>{})}close(c){this._windowCmptRef&&(this._closed.next(c),this._resolve(c),this._removeModalElements())}_dismiss(c){this._dismissed.next(c),this._reject(c),this._removeModalElements()}dismiss(c){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(c);else{let e=this._beforeDismiss();iD(e)?e.then(i=>{i!==!1&&this._dismiss(c)},()=>{}):e!==!1&&this._dismiss(c)}}_removeModalElements(){let c=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():We(void 0);c.subscribe(()=>{let{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),jr(c,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},tv=(function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t})(tv||{}),B21=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],U21=(()=>{class t{constructor(){this._document=B(p2),this._elRef=B(Q1),this._zone=B(n2),this._injector=B(S2),this._cdRef=B(_0),this._closed$=new E1,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new N1,this.shown=new E1,this.hidden=new E1}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":In(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,L0({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},n=xe(this._zone,e,()=>e.classList.remove("show"),i),a=xe(this._zone,this._dialogEl.nativeElement,()=>{},i),r=jr(n,a);return r.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),r}
784updateOptions(e){B21.forEach(i=>{cm(e[i])&&(this[i]=e[i])}),this._cdRef.markForCheck()}_show(){let e={animation:this.animation,runningTransition:"continue"},i=xe(this._zone,this._elRef.nativeElement,(a,r)=>{r&&FM(a),a.classList.add("show")},e),n=xe(this._zone,this._dialogEl.nativeElement,()=>{},e);jr(i,n).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{z0(e,"keydown").pipe(s4(this._closed$),q4(n=>n.key==="Escape")).subscribe(n=>{this.keyboard?requestAnimationFrame(()=>{n.defaultPrevented||this._zone.run(()=>this.dismiss(tv.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let i=!1;z0(this._dialogEl.nativeElement,"mousedown").pipe(s4(this._closed$),w9(()=>i=!1),x9(()=>z0(e,"mouseup").pipe(s4(this._closed$),U3(1))),q4(({target:n})=>e===n)).subscribe(()=>{i=!0}),z0(e,"click").pipe(s4(this._closed$)).subscribe(({target:n})=>{e===n&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!i&&this._zone.run(()=>this.dismiss(tv.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let i=e.querySelector("[ngbAutofocus]"),n=UM(e)[0];(i||n||e).focus()}}_restoreFocus(){let e=this._document.body,i=this._elWithFocus,n;i&&i.focus&&e.contains(i)?n=i:n=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&xe(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(i,n){if(i&1&&k4(P21,7),i&2){let a;q1(a=Y1())&&(n._dialogEl=a.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(i,n){i&2&&(T2("aria-modal",!0)("aria-labelledby",n.ariaLabelledBy)("aria-describedby",n.ariaDescribedBy)("role",n.role),v3("modal d-block"+(n.windowClass?" "+n.windowClass:"")),M1("fade",n.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:R21,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,n){i&1&&(B0(),r2(0,"div",1,0)(2,"div",2),D0(3),x2()()),i&2&&v3("modal-dialog"+(n.size?" modal-"+n.size:"")+(n.centered?" modal-dialog-centered":"")+n.fullscreenClass+(n.scrollable?" modal-dialog-scrollable":"")+(n.modalDialogClass?" "+n.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden} 785`],encapsulation:2})}}return t})(),$21=(()=>{class t{constructor(){this._applicationRef=B(y8),this._injector=B(S2),this._environmentInjector=B(Ge),this._document=B(p2),this._scrollBar=B(nD),this._activeWindowCmptHasChanged=new E1,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new N1;let e=B(n2);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let i=this._windowCmpts[this._windowCmpts.length-1];$M(e,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){let e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,n){let a=n.container instanceof HTMLElement?n.container:cm(n.container)?this._document.querySelector(n.container):this._document.body;if(!a)throw new Error(`The specified modal container "${n.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let r=new am;e=n.injector||e;let l=e.get(Ge,null)||this._environmentInjector,f=this._getContentRef(e,l,i,r,n),m=n.backdrop!==!1?this._attachBackdrop(a):void 0,h=this._attachWindowComponent(a,f.nodes),g=new cv(h,f,m,n.beforeDismiss);return this._registerModalRef(g),this._registerWindowCmpt(h),g.hidden.pipe(U3(1)).subscribe(()=>Promise.resolve(!0).then(()=>
785{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),r.close=v=>{g.close(v)},r.dismiss=v=>{g.dismiss(v)},r.update=v=>{g.update(v)},g.update(n),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),m&&m.instance&&m.changeDetectorRef.detectChanges(),h.changeDetectorRef.detectChanges(),g}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let i=X5(H21,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let n=X5(U21,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_getContentRef(e,i,n,a,r){return n?n instanceof f0?this._createFromTemplateRef(n,a):In(n)?this._createFromString(n):this._createFromComponent(e,i,n,a,r):new be([])}_createFromTemplateRef(e,i){let n={$implicit:i,close(r){i.close(r)},dismiss(r){i.dismiss(r)}},a=e.createEmbeddedView(n);return this._applicationRef.attachView(a),new be([a.rootNodes],a)}_createFromString(e){let i=this._document.createTextNode(`${e}`);return new be([[i]])}_createFromComponent(e,i,n,a,r){let l=S2.create({providers:[{provide:am,useValue:a}],parent:e}),f=X5(n,{environmentInjector:i,elementInjector:l}),m=f.location.nativeElement;return r.scrollable&&m.classList.add("component-host-scrollable"),this._applicationRef.attachView(f.hostView),new be([[m]],f.hostView,f)}_setAriaHidden(e){let i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(n=>{n!==e&&n.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){let i=()=>{let n=this._modalRefs.indexOf(e);n>-1&&(this._modalRefs.splice(n,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{let i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),j21=(()=>{class t{constructor(){this._injector=B(S2),this._modalStack=B($21),this._config=B(F21)}open(e,i={}){let n=E(m1(E({},this._config),{animation:this._config.animation}),i);return this._modalStack.open(this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),iv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({providers:[j21]})}}return t})();var nv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var G21=(t,c,e)=>({$implicit:t,pages:c,disabled:e}),q21=t=>({disabled:!0,currentPage:t}),Y21=(t,c,e)=>({disabled:t,$implicit:c,currentPage:e}),av=(t,c)=>({disabled:t,currentPage:c}),Z21=t=>({disabled:t});function K21(t,c){t&1&&(T(0,"span",13),M3(1,7),D())}function X21(t,c){t&1&&(T(0,"span",13),M3(1,8),D())}function Q21(t,c){t&1&&(T(0,"span",13),M3(1,9),D())}function J21(t,c){t&1&&(T(0,"span",13),M3(1,10),D())}function e41(t,c){t&1&&F(0,"...")}function c41(t,c){if(t&1&&F(0),t&2){let e=c.$implicit;_2(e)}}function t41(t,c){}function i41(t,c){if(t&1&&(T(0,"a",16),Y4(1,t41,0,0,"ng-template",12),D()),t&2){let e=O(2).$implicit,i=O(),n=v0(9);k(),t1("ngTemplateOutlet",(i.tplEllipsis==null?null:i.tplEllipsis.templateRef)||n)("ngTemplateOutletContext",_3(2,q21,e))}}function n41(t,c){}function a41(t,c){if(t&1){let e=z1();T(0,"a",18),e1("click",function(n){a1(e);let a=O().$implicit;return O(2).selectPage(a),s1(n.preventDefault())}),Y4(1,n41,0,0,"ng-template",12),D()}if(t&2){let e=O().$implicit,i=O(),n=i.$implicit,a=i.disabled,r=O(),l=v0(11);T2("tabindex",a?"-1":null)("aria-disabled",a?"true":null)("aria-current",e===n?"page":null),k(),t1("ngTemplateOutlet",(r.tplNumber==null?null:r.tplNumber.templateRef)||l)("ngTemplateOutletContext",Jr(5,Y21,a,e,n))}}function s41(t,c){if(t&1&&(T(0,"li",15),Y(1,i41,2,4,"a",16)(2,a41,2,9,"a",17),D()),t&2){let e=c.$implicit,i=O(),n=i.$implicit,a=i.disabled,r=O();M1("active",e===n)("disabled",r.isEllipsis(e)||a),k(),Z(r.isEllipsis(e)?1:2)}}function r41(t,c){if(t&1&&a2(0,s41,3,5,"li",14,k9),t&2){let e=c.pages;s2(e)}}function o41(t,c){}function l41(t,c){if(t&1){let e=z1();T(0,"li",15)(1,"a",19),e1("click",function(n){return a1(e),O().selectPage(1),s1(n.preventDefault())}),Y4(2,o41,0,0,"ng-template",12),D()()}if(t&2){let e=O(),i=v0(1);M1("disabled",e.previousDisabled()),k(),T2("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),k(),t1("ngTemplateOutlet",(e.tplFirst==null?null:e.tplFirst.templateRef)||i)("ngTemplateOutletContext",K5(6,av,e.previousDisabled(),e.page))}}function f41(t,c){}function d41(t,c){if(t&1){let e=z1();T(0,"li",15)(1,"a",20),e1("click",function(n){a1(e);let a=O();return a.selectPage(a.page-1),s1(n.preventDefault())}),Y4(2,f41,0,0,"ng-template",12),D()()}if(t&2){let e=O(),i=v0(3);M1("disabled",e.previousDisabled()),k(),T2("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),k(),t1("ngTemplateOutlet",(e.tplPrevious==null?null:e.tplPrevious.templateRef)||i)("ngTemplateOutletContext",_3(6,Z21,e.previousDisabled()))}}function m41(t,c){}function u41(t,c){}function h41(t,c){if(t&1){let e=z1();T(0,"li",15)(1,"a",21),e1("click",function(n){a1(e);let a=O();return a.selectPage(a.page+1),s1(n.preventDefault())}),Y4(2,u41,0,0,"ng-template",12),D()()}if(t&2){let e=O(),i=v0(5);M1("disabled",e.nextDisabled()),k(),T2("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),k(),t1("ngTemplateOutlet",(e.tplNext==null?null:e.tplNext.templateRef)||i)("ngTemplateOutletContext",K5(6,av,e.nextDisabled(),e.page))}}function p41(t,c){}function g41(t,c){if(t&1){let e=z1();T(0,"li",15)(1,"a",22),e1("click",function(n){a1(e);let a=O();return a.selectPage(a.pageCount),s1(n.preventDefault())}),Y4(2,p41,0,0,"ng-template",12),D()()}if(t&2){let e=O(),i=v0(7);M1("disabled",e.nextDisabled()),k(),T2("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),k(),t1("ngTemplateOutlet",(e.tplLast==null?null:e.tplLast.templateRef)||i)("ngTemplateOutletContext",K5(6,av,e.nextDisabled(),e.page))}}var z41=(()=>{class t{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),L41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationEllipsis",""]]})}}return t})(),M41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationFirst",""]]})}}return t})(),v41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationLast",""]]})}}return t})(),_41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationNext",""]]})}}return t})(),C41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationNumber",""]]})}}return t})(),y41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationPrevious",""]]})}}return t})(),b41=(()=>{class t{constructor(){this.templateRef=B(f0)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["ng-template","ngbPaginationPages",""]]})}}return t})(),Cw1=(()=>{class t{constructor(){this._config=B(z41),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boun
785daryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new N1(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(e){this._updatePages(e)}ngOnChanges(e){this._updatePages(this.page)}isEllipsis(e){return e===-1}_applyEllipses(e,i){this.ellipses&&(e>0&&(e>2?this.pages.unshift(-1):e===2&&this.pages.unshift(2),this.pages.unshift(1)),i<this.pageCount&&(i<this.pageCount-2?this.pages.push(-1):i===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let e=0,i=this.pageCount,n=Math.floor(this.maxSize/2),a=this.maxSize%2===0?n-1:n;return this.page<=n?i=this.maxSize:this.pageCount-this.page<n?e=this.pageCount-this.maxSize:(e=this.page-n-1,i=this.page+a),[e,i]}_applyPagination(){let i=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize,n=i+this.maxSize;return[i,n]}_setPageInRange(e){let i=this.page;this.page=tD(e,this.pageCount,1),this.page!==i&&X0(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(e){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),X0(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let i=1;i<=this.pageCount;i++)this.pages.push(i);if(this._setPageInRange(e),this.maxSize>0&&this.pageCount>this.maxSize){let i=0,n=this.pageCount;this.rotate?[i,n]=this._applyRotation():[i,n]=this._applyPagination(),this.pages=this.pages.slice(i,n),this._applyEllipses(i,n)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-pagination"]],contentQueries:function(i,n,a){if(i&1&&$3(a,L41,5)(a,M41,5)(a,v41,5)(a,_41,5)(a,C41,5)(a,y41,5)(a,b41,5),i&2){let r;q1(r=Y1())&&(n.tplEllipsis=r.first),q1(r=Y1())&&(n.tplFirst=r.first),q1(r=Y1())&&(n.tplLast=r.first),q1(r=Y1())&&(n.tplNext=r.first),q1(r=Y1())&&(n.tplNumber=r.first),q1(r=Y1())&&(n.tplPrevious=r.first),q1(r=Y1())&&(n.tplPages=r.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},features:[R2],decls:20,vars:12,consts:()=>{let e;e=$localize`:@@ngb.pagination.first:««`;let i;i=$localize`:@@ngb.pagination.previous:«`;let n;n=$localize`:@@ngb.pagination.next:»`;let a;a=$localize`:@@ngb.pagination.last:»»`;let r;r=$localize`:@@ngb.pagination.first-aria:First`;let l;l=$localize`:@@ngb.pagination.previous-aria:Previous`;let f;f=$localize`:@@ngb.pagination.next-aria:Next`;let m;return m=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],e,i,n,a,[1,"page-item",3,"disabled"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],[1,"page-item",3,"active","disabled"],[1,"page-item"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",r,"href","",1,"page-link",3,"click"],["aria-label",l,"href","",1,"page-link",3,"click"],["aria-label",f,"href","",1,"page-link",3,"click"],["aria-label",m,"href","",1,"page-link",3,"click"]]},template:function(i,n){if(i&1&&(Y4(0,K21,2,0,"ng-template",null,0,C3)(2,X21,2,0,"ng-template",null,1,C3)(4,Q21,2,0,"ng-template",null,2,C3)(6,J21,2,0,"ng-template",null,3,C3)(8,e41,1,0,"ng-template",null,4,C3)(10,c41,1,1,"ng-template",null,5,C3)(12,r41,2,0,"ng-template",null,6,C3),T(14,"ul"),Y(15,l41,3,9,"li",11),Y(16,d41,3,8,"li",11),Y4(17,m41,0,0,"ng-template",12),Y(18,h41,3,9,"li",11),Y(19,g41,3,9,"li",11),D()),i&2){let a=v0(13);k(14),v3("pagination"+(n.size?" pagination-"+n.size:"")),k(),Z(n.boundaryLinks?15:-1),k(),Z(n.directionLinks?16:-1),k(),t1("ngTemplateOutlet",(n.tplPages==null?null:n.tplPages.templateRef)||a)("ngTemplateOutletContext",Jr(8,G21,n.page,
785n.pages,n.disabled)),k(),Z(n.directionLinks?18:-1),k(),Z(n.boundaryLinks?19:-1)}},dependencies:[D9],encapsulation:2,changeDetection:0})}}return t})();var sv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var rv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var ov=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var lv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var fv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();function x41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O();return s1(n.changeHour(n.hourStep))}),p6(1,"span",16),r2(2,"span",17),M3(3,0),x2()()}if(t&2){let e=O();M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function w41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O();return s1(n.changeHour(-n.hourStep))}),p6(1,"span",18),r2(2,"span",17),M3(3,1),x2()()}if(t&2){let e=O();M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function S41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O();return s1(n.changeMinute(n.minuteStep))}),p6(1,"span",16),r2(2,"span",17),M3(3,2),x2()()}if(t&2){let e=O();M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function N41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O();return s1(n.changeMinute(-n.minuteStep))}),p6(1,"span",18),r2(2,"span",17),M3(3,3),x2()()}if(t&2){let e=O();M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function k41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O(2);return s1(n.changeSecond(n.secondStep))}),p6(1,"span",16),r2(2,"span",17),M3(3,4),x2()()}if(t&2){let e=O(2);M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function A41(t,c){if(t&1){let e=z1();r2(0,"button",15),M0("click",function(){a1(e);let n=O(2);return s1(n.changeSecond(-n.secondStep))}),p6(1,"span",18),r2(2,"span",17),M3(3,5),x2()()}if(t&2){let e=O(2);M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled)}}function T41(t,c){if(t&1){let e=z1();r2(0,"div",12),F(1,":"),x2(),r2(2,"div",19),Y(3,k41,4,7,"button",10),r2(4,"input",20),M0("change",function(n){a1(e);let a=O();return s1(a.updateSecond(n.target.value))})("blur",function(){a1(e);let n=O();return s1(n.handleBlur())})("input",function(n){a1(e);let a=O();return s1(a.formatInput(n.target))})("keydown.ArrowUp",function(n){a1(e);let a=O();return a.changeSecond(a.secondStep),s1(n.preventDefault())})("keydown.ArrowDown",function(n){a1(e);let a=O();return a.changeSecond(-a.secondStep),s1(n.preventDefault())}),x2(),Y(5,A41,4,7,"button",10),x2()}if(t&2){let e=O();k(3),Z(e.spinners?3:-1),k(),M1("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),J2("value",e.formatMinSec(e.model==null?null:e.model.second))("readOnly",e.readonlyInputs)("disabled",e.disabled),k(),Z(e.spinners?5:-1)}}function D41(t,c){if(t&1&&(Zr(0),M3(1,6),Kr()),t&2){let e=O(2);k(),Xr(e.i18n.getAfternoonPeriod()),Qr(1)}}function O41(t,c){if(t&1&&(Zr(0),F(1),Kr()),t&2){let e=O(2);k(),_2(e.i18n.getMorningPeriod())}}function E41(t,c){if(t&1){let e=z1();p6(0,"div",12),r2(1,"div",21)(2,"button",22),M0("click",function(){a1(e);let n=O();return s1(n.toggleMeridian())}),Y(3,D41,2,1,"ng-container")(4,O41,2,1,"ng-container"),x2()()}if(t&2){let e=O();k(2),M1("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),J2("disabled",e.disabled),k(),Z(e.model&&e.model.hour>=12?3:4)}}var sm=class{constructor(c,e,i){this.hour=A6(c),this.minute=A6(e),this.second=A6(i)}changeHour(c=1){this.updateHour((isNaN(this.hour)?0:this.hour)+c)}updateHour(c){X0(c)?this.hour=(c<0?24+c:c)%24:this.hour=NaN}changeMinute(c=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+c)}updateMinute(c){X0(c)?(this.minute=c%60<0?60+c%60:c%60,this.changeHour(Math.floor(c/60))):this.minute=NaN}changeSecond(c=1){this.updateSecond((isNaN(this.second)?0:this.second)+c)}updateSecond(c){X0(c)?(this.second=c<0?60+c%60:c%60,this.changeMinute(Math.floor(c/60))):this.second=NaN}isValid(c=!0){return X0(this.hour)&&X0(this.minute)&&(c?X0(this.second):!0)}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}},I41=(()=>{class t{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInput
785s=!1,this.size="medium"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function P41(){return new R41}var dD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:()=>P41(),providedIn:"root"})}}return t})(),R41=(()=>{class t extends dD{fromModel(e){return e&&N4(e.hour)&&N4(e.minute)?{hour:e.hour,minute:e.minute,second:N4(e.second)?e.second:null}:null}toModel(e){return e&&N4(e.hour)&&N4(e.minute)?{hour:e.hour,minute:e.minute,second:N4(e.second)?e.second:null}:null}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),mD=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:()=>new F41,providedIn:"root"})}}return t})(),F41=(()=>{class t extends mD{constructor(){super(...arguments),this._locale=B(co),this._periods=[T9(new Date(36e5),"a",this._locale,"UTC"),T9(new Date(36e5*13),"a",this._locale,"UTC")]}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=_4(t)))(n||t)}})()}static{this.\u0275prov=K({token:t,factory:t.\u0275fac})}}return t})(),V41=/[^0-9]/g,Vw1=(()=>{class t{set hourStep(e){this._hourStep=N4(e)?e:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(e){this._minuteStep=N4(e)?e:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(e){this._secondStep=N4(e)?e:this._config.secondStep}get secondStep(){return this._secondStep}constructor(e,i,n,a){this._config=e,this._ngbTimeAdapter=i,this._cd=n,this.i18n=a,this.onChange=r=>{},this.onTouched=()=>{},this.meridian=e.meridian,this.spinners=e.spinners,this.seconds=e.seconds,this.hourStep=e.hourStep,this.minuteStep=e.minuteStep,this.secondStep=e.secondStep,this.disabled=e.disabled,this.readonlyInputs=e.readonlyInputs,this.size=e.size}writeValue(e){let i=this._ngbTimeAdapter.fromModel(e);this.model=i?new sm(i.hour,i.minute,i.second):new sm,!this.seconds&&(!i||!X0(i.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}changeHour(e){this.model?.changeHour(e),this.propagateModelChange()}changeMinute(e){this.model?.changeMinute(e),this.propagateModelChange()}changeSecond(e){this.model?.changeSecond(e),this.propagateModelChange()}updateHour(e){let i=this.model?this.model.hour>=12:!1,n=A6(e);this.meridian&&(i&&n<12||!i&&n===12)?this.model?.updateHour(n+12):this.model?.updateHour(n),this.propagateModelChange()}updateMinute(e){this.model?.updateMinute(A6(e)),this.propagateModelChange()}updateSecond(e){this.model?.updateSecond(A6(e)),this.propagateModelChange()}toggleMeridian(){this.model&&X0(this.model.hour)&&this.meridian&&this.changeHour(12)}formatInput(e){e.value=e.value.replace(V41,"")}formatHour(e){return X0(e)?this.meridian?Pn(e%12===0?12:e%12):Pn(e%24):Pn(NaN)}formatMinSec(e){return Pn(X0(e)?e:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return this.size==="small"}get isLargeSize(){return this.size==="large"}ngOnChanges(e){e.seconds&&!this.seconds&&this.model&&!X0(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(e=!0){e&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}static{this.\u0275fac=function(i){return new(i||t)($(I41),$(dD),$(_0),$(mD))}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],features:[H2([{provide:M6,useExisting:H4(()=>t),multi:!0}]),R2],decls:14,vars:23,consts:()=>{let e;e=$localize`:@@ngb.timepicker.HH:HH`;let i;i=$localize`:@@ngb.timepicker.hours:Hours`;let n;n=$localize`:@@ngb.timepicker.MM:MM`;let a;a=$localize`:@@ngb.timepicker.minutes:Minutes`;let r;r=$localize`:@@ngb.timepicker.increment-hours:Increment hours`;let l;l=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`;let f;f=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`;let m;m=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`;let h;h=$localize`:@@ngb.timepicker.SS:SS`;let g;g=$localize`:@@ngb.timepicker.seconds:Seconds`;let v;v=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`;let M;M=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`;let b;return b=$localize`:@@ngb.timepicker.PM:${"\uFFFD0\uFFFD"}:INTERPOLATION:`,[r,l,f,m,v,M,b,[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button",1,"btn","btn-link",3,"btn-sm","btn-lg","disabled"],["type","text","maxlength","2","inputmode","numeric","placeholder",e,"aria-label",i,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",n,"aria-label",a,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],["tabindex","-1","type","button",1,"btn","btn-link",3,"click","disabled"],[1,"chevron","
785ngb-tp-chevron"],[1,"visually-hidden"],[1,"chevron","ngb-tp-chevron","bottom"],[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",h,"aria-label",g,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"click","disabled"]]},template:function(i,n){i&1&&(r2(0,"fieldset",7)(1,"div",8)(2,"div",9),Y(3,x41,4,7,"button",10),r2(4,"input",11),M0("change",function(r){return n.updateHour(r.target.value)})("blur",function(){return n.handleBlur()})("input",function(r){return n.formatInput(r.target)})("keydown.ArrowUp",function(r){return n.changeHour(n.hourStep),r.preventDefault()})("keydown.ArrowDown",function(r){return n.changeHour(-n.hourStep),r.preventDefault()}),x2(),Y(5,w41,4,7,"button",10),x2(),r2(6,"div",12),F(7,":"),x2(),r2(8,"div",13),Y(9,S41,4,7,"button",10),r2(10,"input",14),M0("change",function(r){return n.updateMinute(r.target.value)})("blur",function(){return n.handleBlur()})("input",function(r){return n.formatInput(r.target)})("keydown.ArrowUp",function(r){return n.changeMinute(n.minuteStep),r.preventDefault()})("keydown.ArrowDown",function(r){return n.changeMinute(-n.minuteStep),r.preventDefault()}),x2(),Y(11,N41,4,7,"button",10),x2(),Y(12,T41,6,9),Y(13,E41,5,8),x2()()),i&2&&(M1("disabled",n.disabled),J2("disabled",n.disabled),k(3),Z(n.spinners?3:-1),k(),M1("form-control-sm",n.isSmallSize)("form-control-lg",n.isLargeSize),J2("value",n.formatHour(n.model==null?null:n.model.hour))("readOnly",n.readonlyInputs)("disabled",n.disabled),k(),Z(n.spinners?5:-1),k(4),Z(n.spinners?9:-1),k(),M1("form-control-sm",n.isSmallSize)("form-control-lg",n.isLargeSize),J2("value",n.formatMinSec(n.model==null?null:n.model.minute))("readOnly",n.readonlyInputs)("disabled",n.disabled),k(),Z(n.spinners?11:-1),k(),Z(n.seconds?12:-1),k(),Z(n.meridian?13:-1))},styles:[`ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center} 786`],encapsulation:2})}}return t})(),dv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var mv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var H41=["*"],B41=(()=>{class t{constructor(){this._ngbConfig=B(Gd),this.autoClose=!0,this.placement="auto",this.popperOptions=e=>e,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),U41=0,$41=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=y1({type:t,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(i,n){i&1&&e1("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()}),i&2&&(J2("id",n.id),v3("tooltip"+(n.tooltipClass?" "+n.tooltipClass:"")),M1("fade",n.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave"},ngContentSelectors:H41,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(i,n){i&1&&(B0(),p6(0,"div",0),r2(1,"div",1),D0(2),x2())},styles:[`ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-en
786d{padding-top:0;padding-bottom:0} 787`],encapsulation:2,changeDetection:0})}}return t})(),uD=(()=>{class t{constructor(){this._config=B(B41),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new N1,this.hidden=new N1,this._nativeElement=B(Q1).nativeElement,this._ngZone=B(n2),this._document=B(p2),this._changeDetector=B(_0),this._injector=B(S2),this._ngbTooltipWindowId=`ngb-tooltip-${U41++}`,this._popupService=new em($41),this._windowRef=null,this._positioning=vs(),this._mouseEnterTooltip=new E1,this._mouseLeaveTooltip=new E1,this._opening=!0,this._transitioning=!1}set ngbTooltip(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(e){if(!this._opening&&this._transitioning&&(this._transitioning=!1,HM(this._windowRef.location.nativeElement)),!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){let{windowRef:i,transition$:n}=this._popupService.open(this._ngbTooltip,e??this.tooltipContext,this.animation);this._opening=!0,this._transitioning=!0,this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._windowRef.setInput("onMouseEnter",()=>this._mouseEnterTooltip.next()),this._windowRef.setInput("onMouseLeave",()=>this._mouseLeaveTooltip.next()),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),this.container==="body"&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:a=>this.popperOptions(Cs([0,6])(a))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=N9({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),_s(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),n.subscribe(()=>{this._transitioning&&(this._transitioning=!1,this.shown.emit())})}}close(e=this.animation){this._opening&&this._transitioning&&(this._transitioning=!1,HM(this._windowRef.location.nativeElement)),this._windowRef!=null&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._opening=!1,this._transitioning=!0,this._popupService.close(e).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._afterRenderRef?.destroy(),this._transitioning&&(this._transitioning=!1,this.hidden.emit()),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return this._windowRef!=null}ngOnInit(){this._unregisterListenersFn=aD(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay,this._mouseEnterTooltip,this._mouseLeaveTooltip)}ngOnChanges({tooltipClass:e}){e&&this.isOpen()&&this._windowRef.setInput("tooltipClass",e.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(In(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[R2]})}}return t})(),uv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var hv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var pv=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var j41=[WM,GM,qM,jM,QM,ev,iv,nv,pv,sv,rv,ov,lv,fv,dv,mv,uv,hv],CS1=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({imports:[j41,WM,GM,qM,jM,QM,ev,iv,nv,pv,sv,rv,ov,lv,fv,dv,mv,uv,hv]})}}return t})();var G41=typeof global=="object"&&global&&global.Object===Object&&global,hD=G41;var q41=typeof self=="object"&&self&&self.Object===Object&&self,Y41=hD||q41||Function("return this")(),pD=Y41;
787var Z41=pD.Symbol,b5=Z41;var gD=Object.prototype,K41=gD.hasOwnProperty,X41=gD.toString,ys=b5?b5.toStringTag:void 0;function Q41(t){var c=K41.call(t,ys),e=t[ys];try{t[ys]=void 0;var i=!0}catch(a){}var n=X41.call(t);return i&&(c?t[ys]=e:delete t[ys]),n}var zD=Q41;var J41=Object.prototype,e01=J41.toString;function c01(t){return e01.call(t)}var LD=c01;var t01="[object Null]",i01="[object Undefined]",MD=b5?b5.toStringTag:void 0;function n01(t){return t==null?t===void 0?i01:t01:MD&&MD in Object(t)?zD(t):LD(t)}var we=n01;function a01(t){return t!=null&&typeof t=="object"}var Tc=a01;var s01="[object Symbol]";function r01(t){return typeof t=="symbol"||Tc(t)&&we(t)==s01}var vD=r01;function o01(t,c){for(var e=-1,i=t==null?0:t.length,n=Array(i);++e<i;)n[e]=c(t[e],e,t);return n}var _D=o01;var l01=Array.isArray,rm=l01;var f01=1/0,CD=b5?b5.prototype:void 0,yD=CD?CD.toString:void 0;function bD(t){if(typeof t=="string")return t;if(rm(t))return _D(t,bD)+"";if(vD(t))return yD?yD.call(t):"";var c=t+"";return c=="0"&&1/t==-f01?"-0":c}var xD=bD;function d01(t){var c=typeof t;return t!=null&&(c=="object"||c=="function")}var wD=d01;var m01="[object AsyncFunction]",u01="[object Function]",h01="[object GeneratorFunction]",p01="[object Proxy]";function g01(t){if(!wD(t))return!1;var c=we(t);return c==u01||c==h01||c==m01||c==p01}var gv=g01;function z01(t){return t==null?"":xD(t)}var SD=z01;var L01="[object String]";function M01(t){return typeof t=="string"||!rm(t)&&Tc(t)&&we(t)==L01}var zv=M01;var v01="[object Boolean]";function _01(t){return t===!0||t===!1||Tc(t)&&we(t)==v01}var Lv=_01;var C01="[object Number]";function y01(t){return typeof t=="number"||Tc(t)&&we(t)==C01}var Mv=y01;function b01(t){return t==null}var om=b01;var x01=0;function w01(t){var c=++x01;return SD(t)+c}var vv=w01;var ND=(()=>{class t{constructor(){this.destroyed$$=new Oh(1),this.destroyed$=this.destroyed$$.asObservable()}ngOnDestroy(){this.destroyed$$&&!this.destroyed$$.closed&&(this.destroyed$$.next(),this.destroyed$$.complete())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","inViewportDestroyable",""]]})}}return t})(),S01=t=>Object.prototype.toString.call(t)==="[object Object]",_v=new WeakMap,N01="in-viewport-empty-check-fn",Cv=class{#e;#c;get value(){return this.#e}get id(){return this.#c}constructor(c){this.#e=gv(c)?c:void 0;let e=_v.get(c)??N01;!om(c)&&!_v.has(c)&&_v.set(c,e=vv("in-viewport-check-fn-")),this.#c=e}},fm=(function(t){return t.BOTH="both",t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t})(fm||{}),yv=class extends TypeError{constructor(){let c=Object.values(fm).join("|");super(`The provided value for the direction is incorrect. The value must be any of \`${c}\`.`)}},bv=class extends TypeError{constructor(){super("The provided value for the rootMargin is incorrect. The value must be specified in pixels or percent.")}},xv=class extends TypeError{constructor(){super("The provided value for the root is incorrect. The value must be of type '(Document or Element)'.")}},wv=class extends TypeError{constructor(){super("The provided values for the threshold are incorrect. The values must be numbers between 0 and 1.")}},Sv=class{#e;get value(){return this.#e}constructor(c=fm.VERTICAL){if(!Object.values(fm).includes(c))throw new yv;this.#e=c}},Nv=class{#e;get value(){return this.#e}constructor(c){this.#e=Lv(c)?c:!0}},kv=class t{#e;get value(){return this.#e}constructor(c){this.#e=t.parse(c)}static parse(c){let i=(zv(c)?c.trim():"0px").split(/\s+/);if(i.length<=4&&i.every(n=>
787/^-?\d*\.?\d+(px|%)$/.test(n))){let[n,a=n,r=n,l=a]=i;return`${n} ${a} ${r} ${l}`}throw new bv}},Av=class t{#e;get value(){return this.#e}constructor(c){this.#e=t.validate(c)}static validate(c){if(om(c))return null;if(c instanceof Element&&c.nodeType===Node.ELEMENT_NODE)return c;throw new xv}},Tv=class t{#e;get value(){return this.#e}constructor(c){this.#e=t.validate(c??[0,1])}static validate(c){if(t.isValid(c))return[c];if(Array.isArray(c)&&c.every(e=>t.isValid(e)))return c.sort();throw new wv}static isValid(c){return Mv(c)&&c>=0&&c<=1}},kD=Symbol("InViewportCheckFnId"),lm=Symbol("InViewportConfigHash"),dm=class{#e;#c;get root(){return this.#e.root.value}get rootMargin(){return this.#e.rootMargin.value}get threshold(){return this.#e.threshold.value}get partial(){return this.#e.partial.value}get direction(){return this.#e.direction.value}get checkFn(){return this.#e.checkFn.value}get[kD](){return this.#e.checkFn.id}get[lm](){return this.#c}constructor(c){c??={},this.#e=Object.freeze({root:new Av(c.root),rootMargin:new kv(c.rootMargin),threshold:new Tv(c.threshold),partial:new Nv(c.partial),direction:new Sv(c.direction),checkFn:new Cv(c.checkFn)}),this.#c=k01(Ev({rootMargin:this.rootMargin,threshold:this.threshold,partial:this.partial,direction:this.direction,checkFn:this[kD]}))}},Dv=class{#e=new Set;#c;#t;constructor(c,e){this.#c=new IntersectionObserver((...i)=>{e.next(...i)},{root:c.root,rootMargin:c.rootMargin,threshold:[...c.threshold]}),this.#t=()=>{this.#c.disconnect(),e.complete()}}addNode(c){this.#e.add(c),this.#c.observe(c)}deleteNode(c){this.#e.delete(c),this.#e.size?this.#c.unobserve(c):this.#t()}},Ov=class t{static#e=Object.create(null);#c=new WeakMap;#t;constructor(c){this.#t=c}addNode(c,e){let i=this.#c.get(e.root??t.#e)??this.create(e),n=e[lm];i.has(n)||this.insert(i,e),i.get(n).addNode(c)}deleteNode(c,e){let i=this.#c.get(e.root??t.#e),n=e[lm];i&&i.has(n)&&i.get(n).deleteNode(c),i&&i.size===0&&this.#c.delete(e.root??t.#e)}create(c){let e=new Map;return this.#c.set(c.root??t.#e,e),this.insert(e,c),e}insert(c,e){let i=e[lm],n=new Dv(e,{next:(...a)=>{this.#t(...a)},complete:()=>{c.delete(i)}});c.set(i,n)}},Ev=t=>Array.isArray(t)?`[${t.map(Ev).join(",")}]`:S01(t)?Object.entries(t).sort(([c],[e])=>String(c).localeCompare(String(e))).map(([c,e])=>`${c}:${Ev(e)}`).join("|"):String(t),k01=t=>{try{let c=globalThis.encodeURI(t);return globalThis.btoa(c)}catch(c){return t}},A01=(()=>{class t{#e;#c;constructor(){this.#e=new E1,this.trigger$=this.#e.asObservable(),this.zone=B(n2),this.zone.runOutsideAngular(()=>{this.#c=new Ov(e=>this.onIntersectionEvent(e))})}register(e,i){this.zone.runOutsideAngular(()=>{this.#c.addNode(e,i)})}unregister(e,i){this.zone.runOutsideAngular(()=>{this.#c.deleteNode(e,i)})}onIntersectionEvent(e=[]){this.zone.run(()=>e.forEach(i=>this.#e.next(i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),T01=Symbol("InViewportMetadata"),AD=(()=>{class t{constructor(){this.inViewportAction=new N1,this.inViewportCustomCheck=new N1,this.config=new dm({}),this.platformId=B(Y5),this.changeDetectorRef=B(_0),this.elementRef=B(Q1),this.destroyable=B(ND,{self:!0}),this.inViewportService=B(A01)}set options(e){this.config=new dm(e)}get nativeElement(){return this.elementRef.nativeElement}ngAfterViewInit(){if(!Ye(this.platformId)){this.emit(void 0,!0,!0);return}this.inViewportService.trigger$.pipe(q4(e=>e.target===this.nativeElement),s4(this.destroyable.destroyed$)).subscribe(e=>{this.emit(e,!1),this.changeDetectorRef.markForCheck()}),this.inViewportService.register(this.nativeElement,this.config)}ngOnDestroy(){Ye(this.platformId)&&(this.inViewportService.unregister(this.nativeElement,this.config),this.emit(void 0,!0,!1))}isVisible(e){return this.config.partial?e.isIntersecting||e.intersectionRatio>0:e.intersectionRatio>=1}emit(e,i,n){this.inViewportAction.emit({[T01]:{entry:e},target:this.nativeElement,visible:i?!!n:!e||this.isVisible(e)}),this.config.checkFn&&this.inViewportCustomCheck.emit(this.config.checkFn(e,{force:i,forcedValue:i?!!n:void 0,config:this.config}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=v1({type:t,selectors:[["","inViewport",""]],inputs:{options:[0,"inViewportOptions","options"]},outputs:{inViewportAction:"inViewportAction",inViewportCustomCheck:"inViewportCustomCheck"},features:[Fh([ND])]})}}return t})(),GN1=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=D1({type:t})}static{this.\u0275inj=T1({})}}return t})();var TD=(()=>{class t{constructor(e){this.prConstants=e}transform(e,i){return e&&this.prConstants.translate(e)}static{this.\u0275fac=function(i){return new(i||t)($(Y6,16))}}static{this.\u0275pipe=i3({name:"prConstants",type:t,pure:!0,standalone:!1})}}return t})();var um=o2(Bp());var mm={full:"YYYY-MM-DD hh:mm A",fullSeconds:"YYYY-MM-DD hh:mm:ss A",full24:"YYYY-MM-DD HH:mm",date:"YYYY-MM-DD",time:"hh:mm A",time24:"HH:mm"};var DD=(()=>{class t{transform(e,i,n){if(!e)return;if(typeof e=="string"&&!e.includes("T"))return n==="time"?void 0:um.default.utc(e).format(mm.date);let a=um.default.utc(e),r,l="";switch(i?(l=a.clone().local().isDST()?i.dstAbbrev:i.stdAbbrev,r=Mx(e,i)):r=um.default.utc(e).local(),n){case"date":return r.format(mm.date);case"time":return r.format(mm.time+` [${l}]`);default:return r.format(mm.full+` [${l}]`)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"prDate",type:t,pure:!0,standalone:!1})}}return t})();var ED=o2(u4());var OD={fileList:{actions:{delete:{enabled:"Delete selected item(s)",disabled:"You do not have permission to delete"},unshare:{enabled:"Remove the current archive from this share",disabled:"You do not have permission to unshare"},copy:{enabled:"Copy selected item(s)",disabled:"You do not have permission to copy"},move:{enabled:"Move selected item(s)",disabled:"You do not have permission to move"},share:{enabled:"Share selected item",disabled:"You do not have permission to share",disabledMulti:"Items must be shared individually"},publish:{enabled:"Publish selected item",disabled:"You do not have permission to publish",disabledMulti:"Items must be published individually"},getLink:{enabled:"Get public link for selected item",disabled:"You do not have permission to get this link",disabledMulti:"Items have individual links"},upload:{enabled:"Upload files and folders to the current folder",disabled:"You do not have permission to upload to the current folder"},newFolder:{enabled:"Create a new folder in the current folder",disabled:"You do not have permission to create a folder in the current folder"},download:{enabled:"Download selected file",disabled:"Only single files can be downloaded"}},sort:{name:{asc:"Sort by name (A to Z)",desc:"Sort by name (Z to A)"},type:{asc:"Sort by type (A to Z)",desc:"Sort by type (Z to A)"},date:{asc:"Sort by date (earliest to latest)",desc:"Sort by date (latest to earliest)"},save:"Save current sort as default for this folder",singleCol:"Choose sort for this folder"},col:{access:"This archive's access level to a shared item",archive:"The archive that shared the item"},viewToggle:{list:"Switch to list view",grid:"Switch to grid view"},icons:{share:"This item is shared"}},sidebar:{share:{disabled:{public:"Items in Public cannot be shared",access:"You do not have permission to manage this share"}},views:{disabled:{public:"Views can currently only be applied folders in Public"}}},nav:{addStorage:"Add storage",help:"Help"},members:{viewer:"A member with permission to view files and folders only",contributor:"A member with permission to view and create files and folders (e.g. upload only)",editor:"A member with permission to view, create, and edit metadata",curator:"A member with permission to view, create, edit, move, copy, and delete files and folders",manager:"A member with all file and folder permissions and the permission to modify membership",owner:"a member with all permissions including transferring ownership or deleting the archive"}};var ID=(()=>{class t{transform(e,i){return(0,ED.get)(OD,e)||e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"prTooltip",type:t,pure:!0,standalone:!1})}}return t})();var PD=(()=>{class t{transform(e,i){if(e instanceof C2)switch(e.type){case"type.record.image":return"image";case"type.record.audio":return"audiotrack";case"type.record.video":return"videocam";case"type.record.presentation":return"show_chart";case"type.record.document":case"type.record.pdf":return"article";default:return"insert_drive_file"}else if(e instanceof H1)return e.view==="folder.view.timeline"?"timeline":"folder"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"itemTypeIcon",type:t,pure:!0,standalone:!1})}}return t})();var RD=(()=>{class t{transform(e){return q6(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=i3({name:"getThumbnail",type:t,pure:!0,standalone:!1})}}return t})();var F01=["name"],V01=(t,c,e,i,n,a,r)=>({"grid-view":t,selected:c,"drag-target":e,"drop-target":i,dragging:n,disabled:a,"public-archive":r}),H01=()=>[0],B01=t=>({threshold:t,rootMargin:"100px"}),U01=t=>({"name-expanded":t}),$01=t=>({"public-archive-name-container":t}),j01=(t,c)=>({"item-name-hovered":t,"public-archive-name":c}),W01=()=>["fas","file-archive"];function G01(t,c){t&1&&(T(0,"div",16)(1,"i",18),F(2,"folder"),D()())}function q01(t,c){if(t&1&&(T(0,"i",18),F(1),D()),t&2){let e=O(3);k(),_2(e.folderContentsType)}}function Y01(t,c){if(t&1&&(T(0,"div",17),Y(1,q01,2,1,"i",18),D()),t&2){let e=O(2);t1("bgSrc",!e.showFolderIcon()&&e.getThumbnailPath())("cover",e.inGridView),k(),Z(e.showFolderIcon()?1:-1)}}function Z01(t,c){if(t&1&&(Y(0,G01,3,0,"div",16),Y(1,Y01,2,3,"div",17)),t&2){let e=O();Z(e.inGridView?-1:0),k(),Z(e.inGridView?1:-1)}}function K01(t,c){t&1&&(T(0,"div",2),O1(1,"fa-icon",19),D()),t&2&&(k(),t1("icon",Vh(1,W01))
787)}function X01(t,c){if(t&1&&O1(0,"div",3),t&2){let e=O();t1("bgSrc",e.recordThumbnailUrl)("cover",e.inGridView)}}function Q01(t,c){if(t&1&&(T(0,"div",4)(1,"i",18),F(2),O0(3,"itemTypeIcon"),D()()),t&2){let e=O();t1("@ngIfFadeInAnimation",void 0),k(2),_2(eo(3,2,e.item,e.item.view))}}function J01(t,c){if(t&1&&(T(0,"span",7),F(1),D()),t&2){let e=O();k(),_2(e.date)}}function e31(t,c){t&1&&(T(0,"i",9),O0(1,"prTooltip"),F(2,"group"),D()),t&2&&t1("@ngIfFadeInAnimation",void 0)("ngbTooltip",W6(1,2,"fileList.icons.share"))}function c31(t,c){if(t&1&&(T(0,"span"),F(1),O0(2,"prDate"),D()),t&2){let e=O(2);t1("@ngIfFadeInAnimation",void 0),k(),_2(A9(2,2,e.startDisplayTime,e.item.TimezoneVO,"time"))}}function t31(t,c){if(t&1&&(T(0,"span"),F(1),O0(2,"prDate"),Y(3,c31,3,6,"span"),D()),t&2){let e=O();k(),I1(" ",A9(2,2,e.startDisplayTime,e.item.TimezoneVO,"date")," "),k(2),Z(e.item.dataStatus>0?3:-1)}}function i31(t,c){if(t&1&&(T(0,"span"),F(1),D()),t&2){let e=O();k(),I1(" Shared by The ",e.item.ShareArchiveVO==null?null:e.item.ShareArchiveVO.fullName," Archive ")}}function n31(t,c){if(t&1&&(T(0,"div",11),F(1),O0(2,"prConstants"),O0(3,"titlecase"),D()),t&2){let e=O();k(),I1(" ",W6(3,3,W6(2,1,e.item.type))," ")}}function a31(t,c){if(t&1&&(T(0,"div",20),F(1),O0(2,"prDate"),D()),t&2){let e=O(2);t1("@ngIfFadeInAnimation",void 0),k(),I1(" ",A9(2,2,e.startDisplayTime,e.item.TimezoneVO,"date")," ")}}function s31(t,c){if(t&1&&(T(0,"div",21),F(1),O0(2,"prDate"),D()),t&2){let e=O(2);t1("@ngIfFadeInAnimation",void 0),k(),I1(" ",A9(2,2,e.startDisplayTime,e.item.TimezoneVO,"time")," ")}}function r31(t,c){if(t&1&&(T(0,"div",12),Y(1,a31,3,6,"div",20),Y(2,s31,3,6,"div",21),D()),t&2){let e=O();k(),Z(e.item.dataStatus>0?1:-1),k(),Z(e.item.dataStatus>0?2:-1)}}function o31(t,c){if(t&1&&(T(0,"div",13),F(1),O0(2,"prConstants"),O0(3,"titlecase"),D()),t&2){let e=O();k(),I1(" ",W6(3,3,W6(2,1,e.item.accessRole))," ")}}function l31(t,c){if(t&1&&(O1(0,"div",22),O0(1,"getThumbnail"),T(2,"span"),F(3),D()),t&2){let e=O(2);t1("bgSrc",W6(1,3,e.item.ShareArchiveVO))("cover",!0),k(3),I1("The ",e.item.ShareArchiveVO==null?null:e.item.ShareArchiveVO.fullName," Archive")}}function f31(t,c){if(t&1&&(T(0,"div",14),Y(1,l31,4,5),D()),t&2){let e=O();k(),Z(e.item.ShareArchiveVO?1:-1)}}function d31(t,c){if(t&1){let e=z1();T(0,"div",15)(1,"button",23),e1("click",function(n){a1(e);let a=O();return s1(a.showActions(n))}),O1(2,"span",24),D()()}}var B8={Rename:{buttonName:"rename",buttonText:"Rename"},Copy:{buttonName:"copy",buttonText:"Copy"},Move:{buttonName:"move",buttonText:"Move"},Download:{buttonName:"download",buttonText:"Download"},Delete:{buttonName:"delete",buttonText:"Delete",class:"btn-danger"},Share:{buttonName:"share",buttonText:"Share"},Unshare:{buttonName:"unshare",buttonText:"Remove",class:"btn-danger"},Publish:{buttonName:"publish",buttonText:"Publish"},GetLink:{buttonName:"publish",buttonText:"Get link"},SetFolderView:{buttonName:"setFolderView",buttonText:"Set folder view"},Tags:{buttonName:"tags",buttonText:"Keywords"}},a6=(function(t){return t.NORMAL="",t.EMPTY_FOLDER="folder_open",t.BROKEN_THUMBNAILS="folder",t.SUBFOLDERS="perm_media",t.MIXED_FILES="description",t})(a6||{}),m31=100,u31=350,h31=500,p31=1,W7=(()=>{class t{getRandomPreviewImage(){return`assets/img/preview/preview-${Math.floor(Math.random()*10)+1}.jpg`}constructor(e,i,n,a,r,l,f,m,h,g,v,M,b,C,S,P,V,q){this.dataService=e,this.api=i,this.router=n,this.route=a,this.element=r,this.message=l,this.prompt=f,this.edit=m,this.accountService=h,this.folderPicker=g,this.dialog=v,this.device=M,this.drag=b,this.storage=C,this.document=S,this.shareLinksService=P,this.edtfService=V,this.featureFlagService=q,this.allowNavigation=!0,this.isShareRoot=!1,this.multiSelect=!1,this.isSelected=!1,this.showAccess=!1,this.canSelect=!0,this.showFolderThumbnails=!1,this.isMultiSelected=!1,this.isDragTarget=!1,this.isDropTarget=!1,this.isDragging=!1,this.isDisabled=!1,this.isNameHovered=!1,this.isTextOverflowing=!1,this.isPublicArchive=!1,this.inGridView=!1,this.itemUnshared=new N1,this.itemClicked=new N1,this.itemVisible=new N1,this.refreshView=new N1,this.allowActions=!0,this.isMyItem=!0,this.canEdit=!0,this.isZip=!1,this.date="",this.isUnlistedShare=!1,this.folderContentsType=a6.NORMAL,this.waitingForDoubleClick=!1,this.subscriptions=[]}get startDisplayTime(){let e=this.edtfService.getEdtfIntervalStartDate(this.item.displayTime);return this.featureFlagService.isEnabled("edtf-date")?e:e||this.item.displayDT}ngOnInit(){return A(this,null,function*(){this.isInSharePreview=this.router.routerState.snapshot.url.includes("/share/");let e=new Date(this.startDisplayTime);this.date=vx(e),this.isInSharePreview&&(this.isUnlistedShare=yield this.shareLinksService.isUnlistedShare()),this.initializeThumbnail(),this.dataService.registerItem(this.item),this.item.type.includes("app")&&(this.allowActions=!1),this.router.routerState.snapshot.url.includes("/p/")&&(this.allowActions=!1,this.isPublicArchive=!0),this.isInSharePreview&&(this.allowActions=!1),this.router.routerState.snapshot.url.includes("/apps")&&(this.isInApps=!0),this.router.routerState.snapshot.url.includes("/public")&&(this.isInMyPublic=!0),this.item.isFolder&&this.getFolderThumbnail();
787let i=this.route.snapshot.data;i.isPublic&&(this.isInPublic=!0),i.isPublicArchive&&(this.isInPublicArchive=!0),i.checkFolderViewOnNavigate&&(this.checkFolderView=!0),this.router.routerState.snapshot.url.includes("/shares")&&(this.isInShares=!0,this.isMyItem=this.accountService.getArchive().archiveId===this.item.archiveId),this.accountService.checkMinimumAccess(this.item.accessRole,t0.Editor)||(this.canEdit=!1),this.inGridView=this.folderView===Je.Grid,this.isZip=this.item.type==="type.record.archive",this.drag&&this.subscriptions.push(this.drag.events().subscribe(n=>{this.onDragServiceEvent(n)}))})}ngAfterViewInit(){this.item.isNewlyCreated&&setTimeout(()=>{this.item.isNewlyCreated=!1});let e=this.name.nativeElement;this.isTextOverflowing=e.scrollWidth>e.clientWidth}ngOnChanges(){this.inGridView=this.folderView===Je.Grid,this.multiSelect||(this.isMultiSelected=!1)}ngOnDestroy(){wi(this.subscriptions)}onDrop(e){return A(this,null,function*(){let i=this.drag.getDestinationFromDropTarget(e);if(i){this.isDisabled=!0;let n=this.dataService.getSelectedItems(),a=n.has(this.item),r=n.size>1,l,f;r&&a?(l=Array.from(n.keys()),f=`${n.size} items`):(l=[this.item],f=this.item.displayName);try{yield this.prompt.confirm("Move",`Move ${f} to ${i.displayName}?`),yield this.edit.moveItems(l,i)}catch(m){this.isDisabled=!1,(m instanceof n6||m instanceof D4)&&this.message.showError({message:m.getMessage()})}}})}onDragServiceEvent(e){if(e.srcComponent!==this){if(e.srcComponent instanceof t){let i=e.srcComponent.item,n=this.dataService.getSelectedItems(),a=n.has(i),r=n.size>1;if(a&&r&&this.isSelected){this.isDragging=e.type==="start";return}}switch(e.type){case"start":case"end":{let i=e.type==="start";this.item.isRecord&&e.targetTypes.includes("record")&&(this.isDragTarget=i),this.item.isFolder&&e.targetTypes.includes("folder")&&(this.isDragTarget=i),i||(this.isDropTarget=!1);break}}}}onItemMouseDown(e){if(this.isShareRoot||this.isInApps)return;let i=n=>{clearTimeout(this.mouseDownDragTimeout)};this.document.addEventListener("mouseup",i),this.mouseDownDragTimeout=setTimeout(()=>{this.document.removeEventListener("mouseup",i);let n=["folder"],a=!1,r=f=>{this.drag.dispatch({type:"end",srcComponent:this,event:f,targetTypes:n}),this.document.removeEventListener("mouseup",r),setTimeout(()=>{this.isDragging=!1})},l=f=>{f.preventDefault(),a||(a=Math.abs(f.clientY-e.clientY)>p31,a&&(this.drag.dispatch({type:"start",srcComponent:this,event:f,targetTypes:n}),this.isDragging=!0,this.document.addEventListener("mouseup",r),this.document.removeEventListener("mousemove",l)))};this.document.addEventListener("mousemove",l)},h31)}onItemMouseEnterLeave(e,i=!0){if(this.isDragTarget){let n;i?n="enter":n="leave",this.drag.dispatch({type:n,srcComponent:this,event:e},e.type==="dragenter"?1:0),this.isDropTarget=i}}onItemClick(e){if(this.isUnlistedShare){this.goToItem();return}this.device.isMobileWidth()||!this.canSelect?(this.goToItem(),this.itemClicked.emit({item:this.item,event:e,selectable:!1})):this.onItemSingleClick(e)}onItemDoubleClick(){this.singleClickTimeout&&(clearTimeout(this.singleClickTimeout),this.singleClickTimeout=null),this.goToItem()}goToItem(){return A(this,null,function*(){if(!this.allowNavigation&&!this.isUnlistedShare)return!1;if(this.multiSelect){this.isMultiSelected=!this.isMultiSelected,this.onMultiSelectChange();return}if(this.item.dataStatus<$0.Lean&&!this.isUnlistedShare)return this.dataService.beginPreparingForNavigate(),this.item.isFetching||this.dataService.fetchLeanItems([this.item]),yield this.item.fetched.then(i=>{this.goToItem()});let e;if(this.isInApps?e="/apps":this.isInShares&&!this.isMyItem?e="/shares":this.isInSharePreview?e="/share":this.isInPublic?e="/p":this.router.routerState.snapshot.url.includes("/public")?e="/public":e="/private",this.item.isFolder){if(this.isUnlistedShare){this.itemClicked.emit({item:this.item,selectable:!1});return}this.checkFolderView&&this.isFolderViewSet()?this.router.navigate([e,"view",this.getFolderViewUrl(),this.item.archiveNbr,this.item.folder_linkId]):this.isInPublic&&!this.isInPublicArchive&&this.router.navigate([this.item.archiveNbr,this.item.folder_linkId],{relativeTo:this.route.parent.parent}),this.isInSharePreview||this.isInPublicArchive?this.router.navigate([this.item.archiveNbr,this.item.folder_linkId],{relativeTo:this.route.parent}):this.router.navigate([e,this.item.archiveNbr,this.item.folder_linkId])}else!this.isInSharePreview&&!this.isMyItem&&this.dataService.currentFolder.type==="type.folder.root.share"?this.router.navigate(["/shares/record",this.item.archiveNbr]):this.isUnlistedShare?this.router.navigate(["view/record",this.item.archiveNbr],{relativeTo:this.route}):this.router.navigate(["record",this.item.archiveNbr],{relativeTo:this.route})})}onItemSingleClick(e){if(!this.isDragging){if(this.waitingForDoubleClick)return this.waitingForDoubleClick=!1,this.onItemDoubleClick();this.waitingForDoubleClick=!0,this.singleClickTimeout=setTimeout(()=>
787{this.itemClicked.emit({item:this.item,event:e,selectable:!0})},m31),setTimeout(()=>{this.waitingForDoubleClick=!1},u31)}}onItemTouchStart(e){this.touchStartEvent=e}onItemTouchEnd(e){if(!this.touchStartEvent)return;if(e.target.classList.contains("right-menu-toggler-icon")){this.touchStartEvent=null;return}let i=this.touchStartEvent.touches.item(0).clientX,n=e.changedTouches.item(0).clientX,a=this.touchStartEvent.touches.item(0).clientY,r=e.changedTouches.item(0).clientY;Math.sqrt(Math.pow(i-n,2)+Math.pow(a-r,2))>15||(e.preventDefault(),this.touchStartEvent=null,this.onItemClick(e))}isFolderViewSet(){return this.item.isFolder?this.item.view===Je.Timeline:!1}getFolderViewUrl(){return this.item.view===Je.Timeline?"timeline":!1}showActions(e){e.preventDefault(),e.stopPropagation();let i=[],{promise:n,resolve:a}=Promise.withResolvers(),r=this.accountService.checkMinimumAccess(this.item.accessRole,t0.Curator),l=this.accountService.checkMinimumAccess(this.item.accessRole,t0.Owner);if(this.canEdit&&(i.push(B8.Rename),r&&(i.push(B8.Copy),this.isShareRoot||i.push(B8.Move)),l&&!this.isInMyPublic&&i.push(B8.Share),this.isInShares||(this.isInMyPublic?(i.push(B8.GetLink),this.item.isFolder&&i.push(B8.SetFolderView)):l&&i.push(B8.Publish)),i.push(B8.Tags),this.item.isRecord&&i.push(B8.Download)),!this.isShareRoot&&r?i.push(B8.Delete):this.isShareRoot&&!this.isMyItem&&this.accountService.checkMinimumArchiveAccess(t0.Curator)&&i.push(B8.Unshare),i.length)this.prompt.promptButtons(i,this.item.displayName,n).then(f=>{this.onActionClick(f,a)}).catch();else try{this.prompt.confirm("OK",this.item.displayName,null,null,"<p>No actions available</p>")}catch(f){}return!1}onActionClick(e,i){return A(this,null,function*(){switch(e){case"delete":return yield this.deleteItem(i);case"rename":i(),this.promptForUpdate();break;case"move":i(),this.openFolderPicker(x0.Move);break;case"copy":i(),this.openFolderPicker(x0.Copy);break;case"download":this.dataService.downloadFile(this.item).then(()=>{i()});break;case"share":this.api.share.getShareLink(this.item).then(n=>{i(),this.dialog.open(ts,{data:{item:this.item,link:n.getShareByUrlVO()}})});break;case"unshare":yield this.unshareItem(),i();break;case"publish":i(),this.dialog.open(Af,{data:{item:this.item},height:"auto"});break;case"tags":i(),this.dialog.open(Ef,{data:{item:this.item},height:"auto"});break;case"setFolderView":i(),this.promptForFolderView();break}})}preventDefault(e){e.stopPropagation()}deleteItem(e){return A(this,null,function*(){let i=this.getFileOrFolderSize();return yield this.edit.deleteItems([this.item]).then(()=>{this.accountService.deductAccountStorage(-i),this.dataService.refreshCurrentFolder(),e()}).catch(()=>{e()})})}getFileOrFolderSize(){let e=0;return this.item instanceof H1?this.api.folder.get([this.item]).then(i=>{e=i.getFolderVO().FolderSizeVO.allFileSizeDeep}):e=this.item.size,e}moveItem(e){return A(this,null,function*(){return yield this.edit.moveItems([this.item],e)})}copyItem(e){return A(this,null,function*(){return yield this.edit.copyItems([this.item],e)})}unshareItem(){return A(this,null,function*(){let e=new w4({folder_linkId:this.item.folder_linkId,archiveId:this.accountService.getArchive().archiveId});yield this.api.share.remove(e),this.message.showMessage({message:"Item removed from shares.",style:"success"}),this.itemUnshared.emit(this.item)})}openFolderPicker(e){if(!this.folderPicker)return!1;let{promise:i,resolve:n,reject:a}=Promise.withResolvers(),r=this.accountService.getRootFolder();this.folderPicker.chooseFolder(r,e,i).then(l=>A(this,null,function*(){switch(e){case x0.Copy:return yield this.copyItem(l);case x0.Move:return yield this.moveItem(l)}})).then(()=>{setTimeout(()=>{n(void 0);let l=`${this.item.isFolder?"Folder":"File"} ${this.item.displayName} ${e===x0.Copy?"copied":"moved"} successfully.`;this.message.showMessage({message:l,style:"success"}),(e===x0.Move||this.item.isFolder)&&this.dataService.refreshCurrentFolder(),this.refreshView.emit()},500)}).catch(l=>{a(),this.message.showError({message:l.getMessage(),translate:!0})})}promptForUpdate(){return A(this,null,function*(){let{promise:e,resolve:i,reject:n}=Promise.withResolvers(),a=[{fieldName:"displayName",validators:[n4.required],placeholder:"Name",initialValue:this.item.displayName,config:{autocapitalize:"off",autocorrect:"off",autocomplete:"off",spellcheck:"off",autoselect:!0}}];try{let r=yield this.prompt.prompt(a,`Rename "${this.item.displayName}"`,e,"Rename","Cancel");this.saveUpdates(r,{resolve:i,reject:n})}catch(r){if(r)throw r}})}promptForFolderView(){let{promise:e,resolve:i,reject:n}=Promise.withResolvers(),a=[Fx(this.item.view)];this.prompt.prompt(a,`Set folder view for "${this.item.displayName}"`,e,"Save","Cancel").then(r=>{this.saveUpdates(r,{resolve:i,reject:n})}).catch()}saveUpdates(a,r){return A(this,arguments,function*(e,{resolve:i,reject:n}){let l={};return Object.keys(e).forEach(f=>{this.item[f]===e[f]?delete e[f]:l[f]=this.item[f]}),Object.keys(e).length?(this.item.update(e),yield this.edit.updateItems([this.item]).then(()=>{i()}).catch(f=>{n(),this.item.update(l),f.getMessage&&this.message.showError({message:f.getMessage(),translate:!0})}
787)):i()})}onMultiSelectChange(){this.dataService.setItemMultiSelectStatus(this.item,this.isMultiSelected)}onIntersection({target:e,visible:i}){this.item.dataStatus>$0.Placeholder||this.item.isFetching||this.itemVisible.emit({visible:i,component:this,element:this.element.nativeElement})}initializeThumbnail(){if(this.isInSharePreview&&!this.isUnlistedShare){this.recordThumbnailUrl=this.getRandomPreviewImage();return}this.recordThumbnailUrl=q6(this.item),this.subscriptions.push(this.dataService.thumbnailUpdated$().pipe(q4(e=>e===this.item)).subscribe(()=>{this.recordThumbnailUrl=q6(this.item)}))}getFolderThumbnail(){if(!this.showFolderThumbnails){this.folderContentsType=a6.BROKEN_THUMBNAILS;return}let e=["type.record.image","type.record.video","type.record.presentation","type.record.pdf"],i=a=>{let r=e.indexOf(a.type);return r<0?1/0:r},n=new Fn(this.storage);if(n.hasThumbnail(this.item)){let a=n.getThumbnail(this.item);this.folderContentsType=a.folderContentsType,this.folderThumb=a.folderThumb}else this.api.folder.getWithChildren([this.item]).then(a=>{if(a.isSuccessful){let r=a.Results[0].data[0].FolderVO,l=r.ChildItemVOs,f=r.ChildItemVOs.filter(h=>h.type.includes("type.record"));f.sort((h,g)=>i(h)-i(g));let m=f.shift();m?e.includes(m.type)?q6(m)?this.folderThumb=q6(m):this.folderContentsType=a6.BROKEN_THUMBNAILS:this.folderContentsType=a6.MIXED_FILES:l.length===0?this.folderContentsType=a6.EMPTY_FOLDER:this.folderContentsType=a6.SUBFOLDERS}else this.folderContentsType=a6.BROKEN_THUMBNAILS}).catch(a=>{this.folderContentsType=a6.BROKEN_THUMBNAILS}).finally(()=>{n.saveThumbnail(this.item,{folderThumb:this.folderThumb,folderContentsType:this.folderContentsType})})}getThumbnailPath(){return this.showFolderIcon()?"":this.item.isFolder?this.folderThumb?this.folderThumb:"":q6(this.item)}showFolderIcon(){return this.item.isFolder&&this.folderContentsType!==a6.NORMAL}onMouseOverName(){this.isNameHovered=!0}onMouseLeaveName(){this.isNameHovered=!1}static{this.\u0275fac=function(i){return new(i||t)($(P0),$(g2),$(ce),$(ee),$(Q1),$(C4),$(a3),$(Pf,8),$(e4),$(xc,8),$(c8),$(xi),$(Sc,8),$(oe),$(p2),$(kd),$(RT),$(vn))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-file-list-item"]],viewQuery:function(i,n){if(i&1&&k4(F01,7),i&2){let a;q1(a=Y1())&&(n.name=a.first)}},hostVars:2,hostBindings:function(i,n){i&2&&M1("grid-view",n.inGridView)},inputs:{item:"item",folderView:"folderView",allowNavigation:"allowNavigation",isShareRoot:"isShareRoot",multiSelect:"multiSelect",isSelected:"isSelected",showAccess:"showAccess",canSelect:"canSelect",showFolderThumbnails:"showFolderThumbnails"},outputs:{itemUnshared:"itemUnshared",itemClicked:"itemClicked",itemVisible:"itemVisible",refreshView:"refreshView"},standalone:!1,features:[R2],decls:21,vars:37,consts:[["name",""],["inViewport","",1,"file-list-item",3,"click","mousedown","touchstart","touchend","mouseenter","mouseleave","dragenter","dragleave","inViewportAction","ngClass","inViewportOptions"],[1,"file-list-item-folder-icon","zip-icon"],["prBgImage","",3,"bgSrc","cover"],[1,"grid-item-type-icon"],[1,"name",3,"ngClass"],[1,"first-row",3,"ngClass"],[1,"public-archive-date"],[1,"item-name",3,"mouseenter","mouseleave","ngClass"],[1,"material-icons","migrated-ionicon",3,"ngbTooltip"],[1,"second-row"],[1,"type"],[1,"date"],[1,"access"],[1,"shared-by"],[1,"actions"],[1,"file-list-item-folder-icon"],["prBgImage","",1,"file-list-item-folder-icon",3,"bgSrc","cover"],[1,"material-icons"],[3,"icon"],[1,"date-top"],[1,"date-bottom"],["prBgImage","",1,"archive-thumb",3,"bgSrc","cover"],[1,"right-menu-toggler",3,"click"],[1,"right-menu-toggler-icon","right-menu-toggler-icon-dark"]],template:function(i,n){i&1&&(T(0,"div",1),e1("click",function(r){return n.onItemClick(r)})("mousedown",function(r){return n.onItemMouseDown(r)})("touchstart",function(r){return n.onItemTouchStart(r)})("touchend",function(r){return n.onItemTouchEnd(r)})("mouseenter",function(r){return n.onItemMouseEnterLeave(r)})("mouseleave",function(r){return n.onItemMouseEnterLeave(r,!1)})("dragenter",function(r){return n.onItemMouseEnterLeave(r)})("dragleave",function(r){return n.onItemMouseEnterLeave(r,!1)})("inViewportAction",function(r){return n.onIntersection(r)}),NC(1),Y(2,Z01,2,2),Y(3,K01,2,2,"div",2),Y(4,X01,1,2,"div",3),kC(),Y(5,Q01,4,5,"div",4),T(6,"div",5)(7,"div",6),Y(8,J01,2,1,"span",7),T(9,"p",8,0),e1("mouseenter",function(){return n.onMouseOverName()})("mouseleave",function(){return n.onMouseLeaveName()}),F(11),D(),Y(12,e31,3,4,"i",9),D(),T(13,"div",10),Y(14,t31,4,6,"span"),Y(15,i31,2,1,"span"),D()(),Y(16,n31,4,5,"div",11),Y(17,r31,3,2,"div",12),Y(18,o31,4,5,"div",13),Y(19,f31,2,1,"div",14),Y(20,d31,3,0,"div",15),D()),i&2&&(t1("ngClass",TC(19,V01,n.inGridView,n.isSelected,n.isDragTarget,n.isDropTarget,n.isDragging,n.item.isPendingAction,n.isPublicArchive))("inViewportOptions",_3(28,B01,Vh(27,H01))),k(2),Z(n.item.isFolder?2:-1),k(),Z(!n.item.isFolder&&n.isZip?3:-1),k(),Z(!n.item.isFolder&&!n.isZip?4:-1),k(),Z(!(n.inGridView&&n.item.isFolder)||n.item.view?5:-1),k(),t1("ngClass",_3(30,U01,n.isNameHovered&&n.isTextOverflowing)),k(),t1("ngClass",_3(32,$01,n.isPublicArchive)),k(),Z(n.isPublicArchive?8:-1),k(),t1("ngClass",K5(34,j01,n.isNameHovered,n.isPublicArchive)),k(2),I1(" ",n.item.displayName," "),k(),Z(!n.showAccess&&(n.item.ShareVOs!=null&&n.item.ShareVOs.length)&&!n.isUnlistedShare?12:-1),k(2),Z(!n.showAccess||!n.item.ShareArchiveVO?14:-1),k(),Z(n.showAccess||n.item.ShareArchiveVO?15:-1),k(),Z(!n.showAccess&&!n.inGridView?16:-1),k(),Z(n.showAccess?-1:17),k(),Z(n.showAccess&&!n.inGridView?18:-1),k(),Z(n.showAccess&&!n.inGridView?19:-1),k(),Z(n.allowActions?20:-1))}
787,dependencies:[Qt,jd,uD,AD,Eo,OC,TD,DD,ID,PD,RD],styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}[_nghost-%COMP%]{display:block}.grid-view[_nghost-%COMP%]{width:50%;float:left;padding-bottom:5px}@media screen and (min-width:38.5rem){.grid-view[_nghost-%COMP%]{width:33.3333333333%}}@media screen and (min-width:51rem){.grid-view[_nghost-%COMP%]{width:25%}}@media screen and (min-width:63.5rem){.grid-view[_nghost-%COMP%]{width:20%}}@media screen and (min-width:76rem){.grid-view[_nghost-%COMP%]{width:16.6666666667%}}@media screen and (min-width:88.5rem){.grid-view[_nghost-%COMP%]{width:14.2857142857%}}@media screen and (min-width:101rem){.grid-view[_nghost-%COMP%]{width:12.5%}}@media screen and (min-width:113.5rem){.grid-view[_nghost-%COMP%]{width:11.1111111111%}}@media screen and (min-width:126rem){.grid-view[_nghost-%COMP%]{width:10%}}.grid-view[_nghost-%COMP%]{padding:0 .625rem;margin-bottom:1.25rem}@media screen and (max-width:899px){.grid-view[_nghost-%COMP%]{padding:0 .3125rem;margin-bottom:.625rem}}@media screen and (min-width:800px){.share-preview-content .grid-view[_nghost-%COMP%]{width:25%}}.show-sidebar .grid-view[_nghost-%COMP%]{width:50%}@media screen and (min-width:71rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:50%}}@media screen and (min-width:89.75rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:33.3333333333%}}@media screen and (min-width:108.5rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:25%}}@media screen and (min-width:127.25rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:20%}}@media screen and (min-width:146rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:16.6666666667%}}@media screen and (min-width:164.75rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:14.2857142857%}}@media screen and (min-width:183.5rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:12.5%}}@media screen and (min-width:202.25rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:11.1111111111%}}@media screen and (min-width:221rem){.show-sidebar .grid-view[_nghost-%COMP%]{width:10%}}@media screen and (min-width:61rem){.public-content .grid-view[_nghost-%COMP%]{width:50%}}@media screen and (min-width:79.75rem){.public-content .grid-view[_nghost-%COMP%]{width:33.3333333333%}}@media screen and (min-width:98.5rem){.public-content .grid-view[_nghost-%COMP%]{width:25%}}@media screen and (min-width:117.25rem){.public-content .grid-view[_nghost-%COMP%]{width:20%}}@media screen and (min-width:136rem){.public-content .grid-view[_nghost-%COMP%]{width:16.6666666667%}}@media screen and (min-width:154.75rem){.public-content .grid-view[_nghost-%COMP%]{width:14.2857142857%}}@media screen and (min-width:173.5rem){.public-content .grid-view[_nghost-%COMP%]{width:12.5%}}@media screen and (min-width:192.25rem){.public-content .grid-view[_nghost-%COMP%]{width:11.1111111111%}}@media screen and (min-width:211rem){.public-content .grid-view[_nghost-%COMP%]{width:10%}}.file-list-item[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid #dee2e6;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color 75ms cubic-bezier(.63,.01,.3,1);background-color:#fff0;overflow-y:hidden;min-height:3.75rem}.file-list-item.grid-view[_ngcontent-%COMP%]{border-bottom:none;background-color:#fff;flex-wrap:wrap;padding-bottom:3.75rem;position:relative}.file-list-item.selected[_ngcontent-%COMP%], .file-list-item.selected[_ngcontent-%COMP%]:hover{background-color:#f933;transition:background-color 0s}.file-list-item[_ngcontent-%COMP%]:hover{transition:background-color 0s}.file-list-item[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.file-list-item.drop-target[_ngcontent-%COMP%], .file-list-item.drop-target[_ngcontent-%COMP%]:hover{transition:background-color 0s;background-color:#8000804d}.file-list-item.dragging[_ngcontent-%COMP%], .file-list-item.dragging[_ngcontent-%COMP%]:hover, .file-list-item.disabled[_ngcontent-%COMP%], .file-list-item.disabled[_ngcontent-%COMP%]:hover{opacity:.5;transition:opacity 75ms ease-in}.file-list-item.drag-target[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.name[_ngcontent-%COMP%], .type[_ngcontent-%COMP%], .date[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.name[_ngcontent-%COMP%]{flex:1 1 30rem}@media screen and (min-width:1200px){.name[_ngcontent-%COMP%]{padding-right:.5rem;flex-grow:0;flex-basis:calc(100vw - 49.75rem)}}.name-expanded[_ngcontent-%COMP%]{height:fit-content!important}.name[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;line-height:1.25;max-width:100%}.name[_ngcontent-%COMP%] >
787 div[_ngcontent-%COMP%] .item-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical;width:100%}.name[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .item-name-hovered[_ngcontent-%COMP%]{-webkit-line-clamp:initial;-webkit-box-orien:initial;text-overflow:initial;overflow:auto;white-space:initial;overflow-wrap:break-word;-ms-overflow-style:none;scrollbar-width:none}.name[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .item-name-hovered[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.name[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .name[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{flex:0 0 auto;margin-left:.625rem;margin-right:.625rem}.name[_ngcontent-%COMP%] .second-row[_ngcontent-%COMP%]{font-size:.875rem;color:var(--bs-secondary-color)}@media screen and (min-width:900px){.name[_ngcontent-%COMP%] .second-row[_ngcontent-%COMP%]{display:none}}.grid-view[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{height:3.75rem;position:absolute;bottom:0;background:#fff;left:0;right:0;min-width:0;display:flex;align-items:center;font-weight:600}.grid-view[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] .second-row[_ngcontent-%COMP%]{display:none}@media screen and (max-width:899px){.grid-view[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{padding-right:32px}}.type[_ngcontent-%COMP%], .date[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-view[_ngcontent-%COMP%] .type[_ngcontent-%COMP%], .grid-view[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{display:none}.shared-icon[_ngcontent-%COMP%]{min-width:2rem;width:2rem;flex:0 0 2rem}@media screen and (max-width:1199px){.shared-icon[_ngcontent-%COMP%]{display:none}}.type[_ngcontent-%COMP%]{width:8rem;flex:0 0 8rem}@media screen and (max-width:1199px){.type[_ngcontent-%COMP%]{display:none}}.date[_ngcontent-%COMP%]{width:8rem;flex:0 0 8rem}@media screen and (max-width:1199px){.date[_ngcontent-%COMP%]{display:none}}.date[_ngcontent-%COMP%]{font-size:.875rem}.access[_ngcontent-%COMP%]{width:8rem;flex:0 0 8rem}@media screen and (max-width:1199px){.access[_ngcontent-%COMP%]{display:none}}.shared-by[_ngcontent-%COMP%]{width:20rem;flex:0 0 20rem}@media screen and (max-width:1199px){.shared-by[_ngcontent-%COMP%]{display:none}}.shared-by[_ngcontent-%COMP%]{display:flex;align-items:center}.shared-by[_ngcontent-%COMP%] .archive-thumb[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem;flex:0 0 2.5rem;border-radius:50%;margin-right:10px}.actions[_ngcontent-%COMP%] .right-menu-toggler[_ngcontent-%COMP%]{padding:0px .5rem;height:3.75rem}.grid-view[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;margin:0;padding:0}.grid-view[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .right-menu-toggler[_ngcontent-%COMP%]{padding:0;height:3.75rem}.multi-select[_ngcontent-%COMP%]{margin-right:.5rem;height:100%;display:flex;align-items:center}[prBgImage][_ngcontent-%COMP%], .file-list-item-folder-icon[_ngcontent-%COMP%]{height:3.125rem;width:3.125rem;flex:0 0 3.125rem;margin:.3125rem}.grid-view[_ngcontent-%COMP%] [prBgImage][_ngcontent-%COMP%], .grid-view[_ngcontent-%COMP%] .file-list-item-folder-icon[_ngcontent-%COMP%]{flex:0 0 100%;width:100%;padding-top:100%;margin:0;box-shadow:inset 0 0 0 2px #dee2e6;transition:box-shadow 75ms cubic-bezier(.63,.01,.3,1);border-radius:.625rem;overflow:hidden}.grid-view[_ngcontent-%COMP%]:hover [prBgImage][_ngcontent-%COMP%], .grid-view[_ngcontent-%COMP%]:hover .file-list-item-folder-icon[_ngcontent-%COMP%]{transition:box-shadow 0ms cubic-bezier(.63,.01,.3,1);box-shadow:inset 0 0 0 2px #c1c9d0}.grid-view.selected[_ngcontent-%COMP%] [prBgImage][_ngcontent-%COMP%], .grid-view.selected[_ngcontent-%COMP%] .file-list-item-folder-icon[_ngcontent-%COMP%]{transition:box-shadow 0ms cubic-bezier(.63,.01,.3,1);box-shadow:inset 0 0 0 3px #f93}.file-list-item-folder-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:#f7c985}.file-list-item-folder-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:3.4375rem}.grid-view[_ngcontent-%COMP%] .file-list-item-folder-icon[_ngcontent-%COMP%]{position:relative;font-size:8rem}.grid-view[_ngcontent-%COMP%] .file-list-item-folder-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%], .grid-view[_ngcontent-%COMP%] .file-list-item-folder-icon[_ngcontent-%COMP%] > fa-icon[_ngcontent-%COMP%]{font-size:7rem;position:absolute;top:0;bottom:0;display:flex;align-items:center}.file-list-item-folder-icon[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:#000;font-size:2em}.grid-item-type-icon[_ngcontent-%COMP%]{display:none}.grid-view[_ngcontent-%COMP%] .grid-item-type-icon[_ngcontent-%COMP%]{position:absolute;bottom:4.375rem;right:.625rem;background:#fff;height:2.5rem;width:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid #dee2e6;box-shadow:0 .125rem .25rem #00000013}.grid-view[_ngcontent-%COMP%] .grid-item-type-icon[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:#131b4a;font-size:18px;transition:color 75ms cubic-bezier(.63,.01,.3,1)}.selected[_ngcontent-%COMP%] .grid-view[_ngcontent-%COMP%] .grid-item-type-icon[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:#f93;transition:color 0ms cubic-bezier(.63,.01,.3,1)}
787@media screen and (min-width:900px){.actions[_ngcontent-%COMP%]{display:none}[prBgImage][_ngcontent-%COMP%], .file-list-item-folder-icon[_ngcontent-%COMP%]{margin-right:1.5625rem}}@supports (padding-left: env(safe-area-inset-left)){[_nghost-%COMP%] .file-list-item[_ngcontent-%COMP%]{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}.select[_ngcontent-%COMP%]{height:30px;width:30px;border-radius:50%;border:1px solid #dee2e6}.select[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{visibility:hidden}.select.exists[_ngcontent-%COMP%]{opacity:0}.select[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;width:100%;height:100%;position:relative}.select[_ngcontent-%COMP%] .select-active[_ngcontent-%COMP%]{height:20px;width:20px;border-radius:50%;position:absolute;top:50%;left:50%;background:#131b4a;transform:translate(-50%,-50%)}.public-archive-name[_ngcontent-%COMP%]{font-family:Usual;font-size:1rem;font-weight:600;line-height:24px;letter-spacing:-.02em;text-align:left}.public-archive-name-container[_ngcontent-%COMP%]{margin-top:20px;display:flex;flex-direction:column}.public-archive-date[_ngcontent-%COMP%]{font-family:Usual;font-size:.7rem;font-weight:600;line-height:24px;font-style:normal;letter-spacing:.08em;text-align:left;color:#999}.public-archive[_ngcontent-%COMP%]{margin-bottom:5rem}"],data:{animation:[Ko]}})}}return t})();var Vn=(function(t){return t.Image="image",t.Icon="icon",t})(Vn||{});function FD(t){return typeof t=="object"&&t!==null&&"type"in t&&Object.values(Vn).some(c=>c===t.type)}var Fn=class{constructor(c){this.storage=c,this.entriesByFolderLinkId=new Map,this.STORAGE_KEY="folderThumbnailCache",this.loadEntriesFromStorage()}saveThumbnail(c,e){this.loadEntriesFromStorage(),e.folderContentsType===a6.NORMAL?this.entriesByFolderLinkId.set(c.folder_linkId,{type:Vn.Image,url:e.folderThumb}):this.entriesByFolderLinkId.set(c.folder_linkId,{type:Vn.Icon,icon:e.folderContentsType}),this.saveEntriesToStorage()}getThumbnail(c){if(this.entriesByFolderLinkId.has(c.folder_linkId)){let e=this.entriesByFolderLinkId.get(c.folder_linkId);if(FD(e)){if(e.type===Vn.Image)return{folderThumb:e.url,folderContentsType:a6.NORMAL};if(e.type===Vn.Icon)return{folderThumb:"",folderContentsType:e.icon}}this.entriesByFolderLinkId.delete(c.folder_linkId),this.saveEntriesToStorage()}return{folderThumb:"",folderContentsType:a6.BROKEN_THUMBNAILS}}hasThumbnail(c){return this.entriesByFolderLinkId.has(c.folder_linkId)?FD(this.entriesByFolderLinkId.get(c.folder_linkId))?!0:(this.entriesByFolderLinkId.delete(c.folder_linkId),this.saveEntriesToStorage(),!1):!1}invalidateFolder(c){this.entriesByFolderLinkId.has(c)&&(this.entriesByFolderLinkId.delete(c),this.saveEntriesToStorage())}loadEntriesFromStorage(){let c=this.storage.session.get(this.STORAGE_KEY);c&&Array.isArray(c)?this.entriesByFolderLinkId=new Map(c):this.entriesByFolderLinkId=new Map}saveEntriesToStorage(){this.storage.session.set(this.STORAGE_KEY,Array.from(this.entriesByFolderLinkId.entries()))}};var Iv=class{isInstance(c){return typeof c=="object"&&"urls"in c&&c.urls instanceof Array&&typeof c.urls.length=="number"&&"uploadId"in c&&typeof c.uploadId=="string"&&"key"in c&&typeof c.key=="string"}constructor(c){this.urls=[],this.isInstance(c)&&(this.urls=c.urls,this.uploadId=c.uploadId,this.key=c.key)}},g31=t=>t.type?.includes("type.tag.metadata")?`${t.type.split(".").pop()}:${t.name}`:t.name,Pv=(t,c)=>new re({tagId:Number.parseInt(t.id,10),name:g31(t),type:t.type,archiveId:Number.parseInt(c,10)}),z31=t=>m1(E({},t),{fileId:Number.parseInt(t.fileId,10),fileURL:t.fileUrl,downloadURL:t.downloadUrl}),Rv=t=>new w4({shareId:t.id,status:t.status,accessRole:t.accessRole,ArchiveVO:{archiveId:t.archive.id,fullName:t.archive.name,thumbURL200:t.archive.thumbURL200}}),Fv=t=>{if(!t?.id)return null;let a=t,{state:c,precision:e}=a,i=je(a,["state","precision"]),n=[t.streetNumber,t.streetName].filter(Boolean).join(" ")||void 0;return m1(E({},i),{locnId:Number.parseInt(t.id,10),adminOneName:c??void 0,locationPrecision:e??void 0,name:t.name??t.displayName??void 0,sublocation:t.sublocation??n,city:t.city??t.locality??void 0,country:t.country??t.countryCode??void 0})},hm=t=>{let i=t,{accessRole:c}=i,e=je(i,["accessRole"]);return new C2(m1(E(m1(E({},e),{thumbURL200:t.thumbnailUrls?.["200"]??t.thumbURL200,thumbURL500:t.thumbnailUrls?.["500"]??t.thumbURL500,thumbURL1000:t.thumbnailUrls?.["1000"]??t.thumbURL1000,thumbURL2000:t.thumbnailUrls?.["2000"]??t.thumbURL2000,thumbnail256:t.thumbnailUrls?.["256"]??t.thumbnail256,TagVOs:(t.tags??[]).map(n=>Pv(n,t.archiveId)),archiveNbr:t.archiveNumber}),Po(c)),{displayDT:t.displayDate,displayTime:t.displayTime,folder_linkId:Number.parseInt(t.folderLinkId,10),folder_linkType:t.folderLinkType,LocnVO:Fv(t.location),FileVOs:t.files?.map(z31
787),createdDT:t.createdAt,updatedDT:t.updatedAt,locnId:t.location?.id||null,parentFolder_linkId:t.parentFolderLinkId,TextDataVOs:[],ArchiveVOs:[],timeZoneId:pm.timeZoneId,TimezoneVO:pm,ShareVOs:(t.shares??[]).map(Rv)}))},rl=class extends N2{getRecordIdByArchiveNbr(c){return A(this,null,function*(){return(yield this.http.sendRequestPromise("/record/get",[{RecordVO:new C2({archiveNbr:c})}],{ResponseClass:n6})).getRecordVO().recordId})}get(c,e=null){return A(this,null,function*(){let n={recordIds:yield Promise.all(c.map(f=>A(this,null,function*(){return f.recordId??(yield this.getRecordIdByArchiveNbr(f.archiveNbr))})))},a;e&&(a=yield P2(this.httpV2.get("v2/record",n,null,{authToken:!1,shareToken:e}))),(!a||!a.length)&&(a=yield P2(this.httpV2.get("v2/record",n)));let r=a.map(f=>({data:[{RecordVO:hm(f)}],message:["Record retrieved"],status:!0,resultDT:new Date().toISOString(),createdDT:null,updatedDT:null}));return new n6({isSuccessful:!0,isSystemUp:!0,Results:r})})}getRecordShareLink(c){return A(this,null,function*(){let e=c.recordId??(yield this.getRecordIdByArchiveNbr(c.archiveNbr));return(yield P2(this.httpV2.get(`v2/record/${e}/share-links`)))[0].items})}getLean(c,e){return A(this,null,function*(){let i=c.map(n=>{let a=new C2(n);return a.dataWhitelist=e||Sx,{RecordVO:a}});return yield this.http.sendRequestPromise("/record/getLean",i,{ResponseClass:n6})})}getPresignedUrl(c,e){return A(this,null,function*(){return yield this.http.sendRequestPromise("/record/getPresignedUrl",[{RecordVO:c,SimpleVO:{key:"type",value:e}}])})}registerRecord(c,e,i){return A(this,null,function*(){return(yield P2(this.httpV2.post("/record/registerRecord",{displayName:c.displayName,parentFolderId:c.parentFolderId,uploadFileName:c.uploadFileName,size:c.size,s3url:e,archiveId:i},C2)))[0]})}getMultipartUploadURLs(c){return A(this,null,function*(){return yield d0(this.httpV2.post("/record/getMultipartUploadUrls",{fileSizeInBytes:c},Iv)).toPromise()})}registerMultipartRecord(c,e,i,n,a){return A(this,null,function*(){let r={archiveId:a,displayName:c.displayName,parentFolderId:c.parentFolderId,uploadFileName:c.uploadFileName,size:c.size,multipartUploadData:{uploadId:e,key:i,parts:n.map((l,f)=>({PartNumber:f+1,ETag:l}))}};return yield d0(this.httpV2.post("/record/registerRecord",r)).toPromise()})}update(c,e){return A(this,null,function*(){return yield P2(this.httpV2.post("/record/update",this.prepareUpdateRecordRequest(c,e),null))})}prepareUpdateRecordRequest(c,e){let i=Object.assign({},c[0]);return i.displayDt=i.displayDT,i.displayEndDt=i.displayEndDT,i.publicDt=i.publicDT,delete i.displayDT,delete i.displayEndDT,delete i.publicDT,m1(E({},i),{archiveId:e})}delete(c){return A(this,null,function*(){let e=c.map(n=>({RecordVO:new C2(n).getCleanVO()})),i=this.getThumbnailCache();for(let n of c)n.parentFolder_linkId&&i.invalidateFolder(n.parentFolder_linkId);return yield this.http.sendRequestPromise("/record/delete",e,{ResponseClass:n6})})}move(c,e){return A(this,null,function*(){let i=c.map(n=>({RecordVO:new C2(n).getCleanVO(),FolderDestVO:{folder_linkId:e.folder_linkId}}));return e.folder_linkId&&this.getThumbnailCache().invalidateFolder(e.folder_linkId),yield this.http.sendRequestPromise("/record/move",i,{ResponseClass:n6,useAuthorizationHeader:!0})})}copy(c,e){return A(this,null,function*(){let i=c.map(n=>({RecordVO:new C2(n).getCleanVO(),FolderDestVO:{folder_linkId:e.folder_linkId}}));return e.folder_linkId&&this.getThumbnailCache().invalidateFolder(e.folder_linkId),yield this.http.sendRequestPromise("/record/copy",i,{ResponseClass:n6,useAuthorizationHeader:!0})})}updateStelaRecord(c){return A(this,null,function*(){let e=c.recordId??(yield this.getRecordIdByArchiveNbr(c.archiveNbr)),n=(yield P2(this.httpV2.patch(`v2/records/${e}`,{displayTime:c.displayTime}))).map(a=>({data:[{RecordVO:hm(a)}],message:["Record updated"],status:!0,resultDT:new Date().toISOString(),createdDT:null,updatedDT:null}));return new n6({isSuccessful:!0,isSystemUp:!0,Results:n})})}getThumbnailCache(){let c=new oe;return new Fn(c)}},n6=class extends l2{getRecordVO(){let c=this.getResultsData();return!c||!c.length?null:new C2(c[0][0].RecordVO)}getRecordVOs(){return this.getResultsData().map(e=>new C2(e[0].RecordVO))}};var Vv=["folderId","archiveNbr","folder_linkId"],gm=[...Vv,"displayName","description","displayDT","displayEndDT","view"],pm={timeZoneId:88,displayName:"Central Time",timeZonePlace:"America/Chicago",stdName:"Central Standard Time",stdAbbrev:"CST",stdOffset:"-06:00",dstName:"Central Daylight Time",dstAbbrev:"CDT",dstOffset:"-05:00"},VD=t=>t&&"recordId"in t,HD=t=>{if(typeof t=="number")return Number.isFinite(t)?t:void 0;if(t==null||t.trim()==="")return;let c=Number(t);return Number.isFinite(c)?c:void 0},L31=t=>{let c={pathAsText:[],pathAsArchiveNbr:[],pathAsFolder_linkId:[]};
787return(t?.names??[]).forEach((e,i)=>{let n=t.archiveNumbers?.[i],a=HD(t.folderLinkIds?.[i]);!n||a===void 0||(c.pathAsText.push(e),c.pathAsArchiveNbr.push(n),c.pathAsFolder_linkId.push(a))}),c},zm=t=>{t.children??=[];let c=t.children.filter(r=>!VD(r)).map(zm),e=t.children.filter(VD).map(hm),a=t,{accessRole:i}=a,n=je(a,["accessRole"]);return new H1(m1(E(m1(E(m1(E({},n),{folderId:t.folderId,archiveId:t.archive?.id,archiveNbr:t.archiveNumber,folder_linkId:HD(t.folderLinkId),displayName:t.displayName,displayDT:t.displayTimestamp,displayEndDT:t.displayEndTimestamp,displayTime:t.displayTime,derivedDT:t.displayTimestamp,derivedEndDT:t.displayEndTimestamp,createdDT:t.createdAt,updatedDT:t.updatedAt,note:"",description:t.description,sort:t.sort,locnId:t.location?.id,timeZoneId:88,view:t.view,imageRatio:t.imageRatio,type:t.type}),Po(i)),{thumbStatus:t.status,thumbURL200:t.thumbnailUrls?.["200"],thumbURL500:t.thumbnailUrls?.["500"],thumbURL1000:t.thumbnailUrls?.["1000"],thumbURL2000:t.thumbnailUrls?.["2000"],thumbDT:t.displayTimestamp,thumbnail256:t.thumbnailUrls?.["256"],thumbnail256CloudPath:t.thumbnailUrls?.["256"],status:t.status,publicDT:t.publicAt,parentFolderId:t.parentFolder?.id}),L31(t.paths)),{ParentFolderVOs:[new H1({folderId:t.parentFolder?.id})],ChildFolderVOs:c,RecordVOs:e,LocnVO:Fv(t.location),TimezoneVO:pm,TagVOs:(t.tags??[]).map(r=>Pv(r,t.archive?.id)),ChildItemVOs:[...e,...c],ShareVOs:(t.shares??[]).map(Rv),isFolder:!0}))},ol=class extends N2{getRoot(){return A(this,null,function*(){return yield this.http.sendRequestPromise("/folder/getRoot",[],{ResponseClass:D4})})}get(c){return A(this,null,function*(){let e=c.map(i=>({FolderVO:{archiveNbr:i.archiveNbr,folder_linkId:i.folder_linkId,folderId:i.folderId}}));return yield this.http.sendRequestPromise("/folder/get",e,{ResponseClass:D4})})}getStelaFolderVOs(c,e=null){return A(this,null,function*(){let n=(yield this.getStelaFolders(c,e)).map(a=>({data:[{FolderVO:zm(a)}]}));return new D4({Results:n})})}getStelaFolders(c,e=null){return A(this,null,function*(){let i=c.map(r=>r.folderId).filter(r=>r!=null);if(!i.length)return[];let n={folderIds:i},a;return e&&(a=(yield P2(this.httpV2.get("v2/folder",n,null,{authToken:!1,shareToken:e})))[0]),a?.items?.[0]||(a=(yield P2(this.httpV2.get("v2/folder",n)))[0]),a?.items||[]})}updateStelaFolder(c){return A(this,null,function*(){let e={displayTime:c.displayTime},n=(yield P2(this.httpV2.patch(`v2/folder/${c.folderId}`,e)))[0],a=zm(n);return new D4({Results:[[{FolderVO:a}]]})})}getStelaFolderChildren(c,e=null){return A(this,null,function*(){let i={pageSize:99999999},n;return e&&(n=(yield P2(this.httpV2.get(`v2/folder/${c.folderId}/children`,i,null,{authToken:!1,shareToken:e})))[0]),n?.items||(n=(yield P2(this.httpV2.get(`v2/folder/${c.folderId}/children`,i)))[0]),n.items})}getFolderShareLink(c){return A(this,null,function*(){return(yield P2(this.httpV2.get(`v2/folder/${c.folderId}/share_links`)))[0].items})}getWithChildren(c,e=null){return A(this,null,function*(){let i=c.map(l=>A(this,null,function*(){let f=yield this.getStelaFolders([l],e),m=yield this.getStelaFolderChildren(l,e),h=f[0];if(!h)throw new Error("No folder returned from getStelaFolders");return m1(E({},h),{children:m})})),a=(yield Promise.all(i)).flat().map(l=>({data:[{FolderVO:zm(l)}],message:["Folder retrieved"],status:!0,resultDT:new Date().toISOString(),createdDT:null,updatedDT:null}));return new D4({isSuccessful:!0,isSystemUp:!0,Results:a})})}getWithChildrenByIdentifier(c){return A(this,null,function*(){if(c.folderId)return yield this.getWithChildren([c]);let e=yield this.get([c]);if(!e.isSuccessful)throw e;return yield this.getWithChildren([e.getFolderVO()])})}navigateLean(c){let e=[{FolderVO:new H1(c)}];return this.http.sendRequest("/folder/navigateLean",e,{ResponseClass:D4})}post(c){return A(this,null,function*(){let e=c.map(i=>({FolderVO:new H1(i)}));return yield this.http.sendRequestPromise("/folder/post",e,{ResponseClass:D4})})}update(i){return A(this,arguments,function*(c,e=gm){e!==gm&&(e=[...e,...Vv]);let n=c.map(a=>{let r={};for(let l of e)a[l]!==void 0&&(r[l]=a[l]);return{FolderVO:new H1(r)}
787});return yield this.http.sendRequestPromise("/folder/update",n,{ResponseClass:D4})})}updateRoot(i){return A(this,arguments,function*(c,e=gm){e!==gm&&(e=[...e,...Vv]);let n=c.map(a=>{let r={};for(let l of e)a[l]!==void 0&&(r[l]=a[l]);return{FolderVO:new H1(r)}});return yield this.http.sendRequestPromise("/folder/updateRootColumns",n,{ResponseClass:D4})})}delete(c){return A(this,null,function*(){let e=c.map(i=>({FolderVO:new H1(i)}));return yield this.http.sendRequestPromise("/folder/delete",e,{ResponseClass:D4})})}move(c,e){return A(this,null,function*(){let i=c.map(n=>({FolderVO:new H1(n),FolderDestVO:{folder_linkId:e.folder_linkId}}));return yield this.http.sendRequestPromise("/folder/move",i,{ResponseClass:D4,useAuthorizationHeader:!0})})}copy(c,e){return A(this,null,function*(){let i=c.map(n=>({FolderVO:new H1(n),FolderDestVO:{folder_linkId:e.folder_linkId}}));return yield this.http.sendRequestPromise("/folder/copy",i,{ResponseClass:D4,useAuthorizationHeader:!0})})}getPublicRoot(c){return A(this,null,function*(){let e=[{ArchiveVO:{archiveNbr:c}}];return yield this.http.sendRequestPromise("/folder/getPublicRoot",e,{ResponseClass:D4})})}sort(c){return A(this,null,function*(){let e=c.map(i=>({FolderVO:new H1({folder_linkId:i.folder_linkId,sort:i.sort})}));return yield this.http.sendRequestPromise("/folder/sort",e,{ResponseClass:D4})})}createZip(c){return A(this,null,function*(){let e=[{ZipVO:{items:c.map(i=>i.archiveNbr).join(",")}}];return yield this.http.sendRequestPromise("/zip/post",e,{ResponseClass:D4})})}},D4=class extends l2{getFolderVO(c,e=$0.Placeholder){let i=this.getResultsData();return!i||!i.length?null:new H1(i[0][0].FolderVO,c,e)}getFolderVOs(c){return this.getResultsData().map(i=>new H1(i[0].FolderVO,c))}};var BD=o2(u4());var ll=class extends N2{send(c,e){return A(this,null,function*(){let i={email:c.email,fullName:c.fullName,relationship:c.relationship,byArchiveId:e.archiveId};return yield P2(this.httpV2.post("/invite/inviteSend",i,null))})}sendMemberInvite(c,e){return A(this,null,function*(){let i={accessRole:c.accessRole,byArchiveId:e.archiveId,email:c.primaryEmail,fullName:c.fullName,type:"type.invite.archive"};return yield P2(this.httpV2.post("/invite/byEmailAddress",i,null))})}sendShareInvite(c,e){return A(this,null,function*(){let i={email:c.email,byArchiveId:c.byArchiveId,fullName:c.fullName,accessRole:c.accessRole,folderLinkId:e.folder_linkId,relationship:c.relationship};return e instanceof C2&&e.isRecord?i.recordId=e.recordId:e instanceof H1&&e.isFolder&&(i.folderId=e.folderId),yield P2(this.httpV2.post("/invite/share",i,null))})}getShareInviteInfo(c,e,i,n){return A(this,null,function*(){let a=[{primaryEmail:c,inviteCode:e,shid:i,tp:n}];return yield this.http.sendRequestPromise("/invite/getShareInviteInfo",a,{ResponseClass:wc})})}getFullShareInvite(c){return A(this,null,function*(){let e=[{token:c}];return yield this.http.sendRequestPromise("/invite/getFullShareInvite",e,{ResponseClass:wc})})}getInvites(){return A(this,null,function*(){return yield this.http.sendRequestPromise("/invite/getMyInvites",[{}],{ResponseClass:wc})})}resendInvites(c){return A(this,null,function*(){let e=c.map(i=>({InviteVO:i}));return yield this.http.sendRequestPromise("/invite/inviteResend",e,{ResponseClass:wc})})}},wc=class extends l2{getInviteVO(){let c=this.getResultsData();return!c||!c.length?null:new nc(c[0][0].InviteVO)}getInviteVOs(){let e=this.getResultsData().map(i=>i.map(n=>n.InviteVO));return(0,BD.flatten)(e)}};var fl=class extends N2{geomapLatLng(c,e){return A(this,null,function*(){let n=[{LocnVO:{latitude:c,longitude:e}}];return yield this.http.sendRequestPromise("/locn/geomapLatLong",n,{ResponseClass:bs})})}create(c){return A(this,null,function*(){let e=[{LocnVO:c}];return yield this.http.sendRequestPromise("/locn/post",e,{ResponseClass:bs})})}update(c){return A(this,null,function*(){let e=[{LocnVO:c}];return yield this.http.sendRequestPromise("/locn/update",e,{ResponseClass:bs})})}},bs=class extends l2{getLocnVO(){let c=this.getResultsData();return!c||!c.length?null:c[0][0].LocnVO}getLocnVOs(){let c=this.getResultsData();return c[0]?c[0].map(e=>e.LocnVO):[]}};var dl=class extends N2{getNotifications(){return A(this,null,function*(){return yield this.http.sendRequestPromise("/notification/getMyNotifications",[{}],{ResponseClass:xs})})}getNotificationsSince(c){return A(this,null,function*(){let e={NotificationVO:c};return yield this.http.sendRequestPromise("/notification/getMyNotificationsSince",[e],{ResponseClass:xs})})}update(c){return A(this,null,function*(){let e=c.map(i=>({NotificationVO:i}));return yield this.http.sendRequestPromise("/notification/updateNotification",e,{ResponseClass:xs})})}},xs=class extends l2{getNotificationVOs(){let c=this.getResultsData();return c.length?c[0].map(e=>e.NotificationVO):[]}};var ml=class extends N2{getResource(c){return A(this,null,function*(){let e=[{PublishurlVO:{urltoken:c}}];return yield this.http.sendRequestPromise("/publish/getResource",e,{ResponseClass:ws})})}publishToInternetArchive(c){return A(this,null,function*(){let e=[{Publish_iaVO:c}];return yield this.http.sendRequestPromise("/publish_ia/publish",e,{ResponseClass:ws})})}getInternetArchiveLink(c){return A(this,null,function*(){let e=[{Publish_iaVO:c}];return yield this.http.sendRequestPromise("/publish_ia/getLink",e,{ResponseClass:ws})})}},ws=class extends l2{getRecordVO(){let c=this.getResultsData();return!c||!c.length||!c[0][0].RecordVO?null:new C2(c[0][0].RecordVO)}getFolderVO(c){let e=this.getResultsData();return!e||!e.length||!e[0][0].FolderVO?null:new H1(e[0][0].FolderVO,c)}getPublishIaVO(){let c=this.getResultsData();return!c?.length||!c[0][0].Publish_iaVO?null:c[0][0].Publish_iaVO}};var UD=o2(u4());var ul=class extends N2{getAll(c){return A(this,null,function*(){let e=[{RelationVO:{archiveId:c.archiveId}}];return yield this.http.sendRequestPromise("/relation/getAll",e,{ResponseClass:nt})})}create(c){return A(this,null,function*(){let e={RelationVO:{relationArchiveId:c.relationArchiveId,type:c.type}};return yield this.http.sendRequestPromise("/relation/post",[e],{ResponseClass:nt})})}update(c){return A(this,null,function*(){let e={RelationVO:{relationId:c.relationId,type:c.type}};return yield this.http.sendRequestPromise("/relation/update",[e],{ResponseClass:nt})})}accept(c,e){return A(this,null,function*(){let i={RelationVO:{relationId:c.relationId},RelationMyVO:e};return yield this.http.sendRequestPromise("/relation/acceptRelation",[i],{ResponseClass:nt})})}delete(c){return A(this,null,function*(){let e={RelationVO:{relationId:c.relationId}};return yield this.http.sendRequestPromise("/relation/delete",[e],{ResponseClass:nt})})}},nt=class extends l2{getRelationVO(){let c=this.getResultsData();return!c||!c.length||!c[0]?null:new _i(c[0][0].RelationVO)}getRelationVOs(){let c=this.getResultsData();if(!c||!c.length||!c[0])return[];let e=c.map(i=>i.map(n=>new _i(n.RelationVO)));return(0,UD.flatten)(e)}};var $D=o2(u4());
787var hl=class extends N2{archiveByEmail(c){let e=[{SearchVO:{query:c}}];return this.http.sendRequest("/search/archiveByEmail",e,{ResponseClass:Ss})}archiveByNameObservable(c){let e=[{SearchVO:{query:c}}];return this.http.sendRequest("/search/archive",e,{ResponseClass:Ss})}itemsByNameObservable(c,e=[],i){let n={SearchVO:{query:c,TagVOs:e,numberOfResults:i}};return this.http.sendRequest("/search/folderAndRecord",[n],{ResponseClass:Ss})}itemsByNameInPublicArchiveObservable(c,e=[],i,n){let a=e.reduce((l,f,m)=>(l[`tags[${m}][tagId]`]=f.tagId,l),{}),r=E({query:c,archiveId:i,publicOnly:!0},a);return n&&(r.numberOfResults=n),d0(this.httpV2.get("/search/folderAndRecord",r,null,{authToken:!1}))}getPublicArchiveTags(c){return this.httpV2.get(`v2/archive/${c}/tags/public`)}},Ss=class extends l2{getArchiveVOs(){let c=this.getResultsData();if(!c||!c.length)return[];let e=c.map(i=>i.map(n=>new Z2(n.ArchiveVO)));return(0,$D.flatten)(e)}getItemVOs(c){let e=this.getResultsData();return e.length?e[0][0].SearchVO.ChildItemVOs.map(n=>n.recordId?new C2(n):new H1(n,c)):[]}getRecordVOs(){let c=this.getResultsData();return c.length?c[0].map(e=>new C2(e.RecordVO)):[]}};var Hv=class extends l2{},pl=class extends N2{logError(c){return A(this,null,function*(){let i=[{SystemExceptionVO:{errorType:"M-dot UI Error",errorCode:0,thrownBy:c.stack?.substr(0,128),caughtBy:"",detail:c.stack?.substr(0,2e3)}}];return yield this.http.sendRequestPromise("/system/logError",i,{ResponseClass:Hv})})}};var gl=class extends N2{create(c,e){return A(this,null,function*(){let i=[{TagVO:{name:c.name},TagLinkVO:e}];return yield this.http.sendRequestPromise("/tag/post",i,{ResponseClass:at})})}deleteTagLink(c,e){return A(this,null,function*(){let i=[{TagVO:c,TagLinkVO:e}];return yield this.http.sendRequestPromise("/tag/deleteTagLink",i,{ResponseClass:at})})}getTagsByArchive(c){return A(this,null,function*(){let e=[{ArchiveVO:{archiveId:c.archiveId}}];return yield this.http.sendRequestPromise("/tag/getTagsByArchive",e,{ResponseClass:at})})}delete(c){return A(this,null,function*(){let e=[];return Array.isArray(c)?e=c.map(i=>({TagVO:new re(i)})):e.push({TagVO:new re(c)}),yield this.http.sendRequestPromise("/tag/delete",e,{ResponseClass:at})})}update(c){return A(this,null,function*(){let e=[];return Array.isArray(c)?e=c.map(i=>({TagVO:new re(i)})):e.push({TagVO:new re(c)}),yield this.http.sendRequestPromise("/tag/updateTag",e,{ResponseClass:at})})}},at=class extends l2{getTagVOData(){let c=this.getResultsData();return!c||!c.length?null:c[0][0].TagVO}getTagVOsData(){let c=this.getResultsData();return c[0]?c[0].map(e=>e.TagVO):[]}getTagVOs(){return this.getTagVOsData().map(c=>new re(c))}};var zl=class extends N2{getTwoFactorMethods(){return A(this,null,function*(){return yield P2(this.httpV2.get("/v2/idpuser"))})}sendEnableCode(c,e){return A(this,null,function*(){return yield P2(this.httpV2.post("/v2/idpuser/se
787nd-enable-code",{method:c,value:e},void 0,{responseType:"text"}))})}enableTwoFactor(c,e,i){return A(this,null,function*(){return yield P2(this.httpV2.post("/v2/idpuser/enable-two-factor",{method:c,value:e,code:i},void 0,{responseType:"text"}))})}sendDisableCode(c){return A(this,null,function*(){return yield P2(this.httpV2.post("/v2/idpuser/send-disable-code",{methodId:c},void 0,{responseType:"text"}))})}disableTwoFactor(c,e){return A(this,null,function*(){return yield P2(this.httpV2.post("/v2/idpuser/disable-two-factor",{code:e,methodId:c},void 0,{responseType:"text"}))})}};var M31=t=>({visible:t}),v31=t=>({navigating:t});function _31(t,c){if(t&1){let e=z1();T(0,"div",11),e1("click",function(){a1(e);let n=O();return s1(n.onBackClick())}),T(1,"i",12),F(2,"chevron_left"),D(),F(3," Back "),D()}}function C31(t,c){t&1&&O1(0,"div",3)}function y31(t,c){t&1&&O1(0,"div",5)}function b31(t,c){t&1&&(T(0,"div",16)(1,"i",19),F(2,"folder"),D()())}function x31(t,c){if(t&1&&O1(0,"div",17),t&2){let e=O().$implicit,i=O(2);t1("bgSrc",i.getThumbnailUrl(e))}}function w31(t,c){if(t&1){let e=z1();T(0,"div",15),e1("click",function(n){let a=a1(e).$implicit,r=O(2);return s1(r.onItemClick(a,n))}),Y(1,b31,3,0,"div",16)(2,x31,1,1,"div",17),T(3,"div",18),F(4),D()()}if(t&2){let e,i=c.$implicit;k(),Z((e=i.isFolder)===!0?1:2),k(3),_2(i.displayName)}}function S31(t,c){if(t&1&&(T(0,"div",14),F(1),D()),t&2){let e=O(2);k(),I1(" ",e.allowRecords?"This folder is empty":"No subfolders"," ")}}function N31(t,c){if(t&1&&(T(0,"div",6),a2(1,w31,5,2,"div",13,Q2),Y(3,S31,2,1,"div",14),D()),t&2){let e=O();t1("ngClass",_3(2,v31,e.waiting)),k(),s2(e.currentFolder.ChildItemVOs),k(2),Z(!e.currentFolder.ChildItemVOs||!e.currentFolder.ChildItemVOs.length?3:-1)}}function k31(t,c){if(t&1&&(T(0,"div",7),O1(1,"div",17),D()),t&2){let e=O();k(),t1("bgSrc",e.getThumbnailUrl(e.selectedRecord))}}var x0=(function(t){return t[t.Move=1]="Move",t[t.Copy=2]="Copy",t[t.ChooseRecord=3]="ChooseRecord",t})(x0||{}),qA1=(()=>{class t{constructor(e,i,n,a,r){this.dataService=e,this.api=i,this.message=n,this.folderPickerService=a,this.prompt=r,this.isRootFolder=!0,this.allowRecords=!1,this.visitedFolders=[],this.folderPickerService.registerComponent(this)}show(e,i,n,a=null,r=!1){return A(this,null,function*(){switch(this.cancelResetTimeout&&(clearTimeout(this.cancelResetTimeout),this.cancelResetTimeout=null),this.visible=!0,this.operation=i,this.allowRecords=r,this.savePromise=n,this.filterFolderLinkIds=a,i){case x0.Move:this.operationName="Move";break;case x0.Copy:this.operationName="Copy";break;case x0.ChooseRecord:this.operationName="Choose file";break}this.visitedFolders=[],this.setFolderAndLoadChildData(e);let{promise:l,resolve:f}=Promise.withResolvers();return this.chooseFolderPromise=l,this.chooseFolderResolve=f,yield this.chooseFolderPromise})}onItemClick(e,i){return e instanceof H1?this.navigate(e):this.showRecord(e),i.stopPropagation(),i.preventDefault(),!1}navigate(e){return A(this,null,function*(){let i=this.currentFolder;(yield this.setFolderAndLoadChildData(e))&&i&&this.visitedFolders.push(i)})}showRecord(e){this.selectedRecord=e}getThumbnailUrl(e){return q6(e)}setFolder(e){return A(this,null,function*(){this.waiting=!0;try{let i=this.isRootRootFolder(e)?yield this.api.folder.getRoot():yield this.api.folder.getWithChildren([new H1({folder_linkId:e.folder_linkId,folderId:e.folderId,archiveNbr:e.archiveNbr})]);return this.currentFolder=i.getFolderVO(!0),this.currentFolder.folder_linkId??=e.folder_linkId,this.currentFolder.archiveNbr??=e.archiveNbr,this.isRootFolder=this.currentFolder.type.includes("type.folder.root.root"),this.allowRecords||(0,Ns.remove)(this.currentFolder.ChildItemVOs,"isRecord"),this.filterFolderLinkIds&&this.filterFolderLinkIds.length&&(0,Ns.remove)(this.currentFolder.ChildItemVOs,n=>this.filterFolderLinkIds.includes(n.folder_linkId)),(0,Ns.remove)(this.currentFolder.ChildItemVOs,n=>n.type.includes("type.folder.root.app")),(0,Ns.remove)(this.currentFolder.ChildItemVOs,n=>n.type.includes("type.folder.root.vault")),!0}catch(i){return i instanceof D4?this.message.showError({message:i.getMessage(),translate:!0}):this.message.showError({message:"error.generic.internal",translate:!0}),!1}finally{this.waiting=!1}})}onBackClick(){this.selectedRecord?this.selectedRecord=null:this.goToParentFolder()}goToParentFolder(){return A(this,null,function*(){let e=this.visitedFolders[this.visitedFolders.length-1];(yield this.setFolderAndLoadChildData(e??new H1({type:"type.folder.root.root"})))&&e&&this.visitedFolders.pop()})}loadCurrentFolderChildData(){return A(this,null,function*(){return yield this.dataService.fetchLeanItems(this.currentFolder.ChildItemVOs,this.currentFolder)})}setFolderAndLoadChildData(e){return A(this,null,function*(){let i=yield this.setFolder(e);return i&&this.loadCurrentFolderChildData(),i})}chooseFolder(){this.shouldConfirmFolderSelection()?this.prompt.confirm("Yes",`This folder is publicly accessible by others. Are you sure you would like to ${this.operationName.toLocaleLowerCase()} to this location?`).then(()=>{this.setChosenFolder()}).catch(()=>{}):this.setChosenFolder()}hide(){this.visible=!1,this.selectedRecord=null,this.cancelResetTimeout=setTimeout(()=>{this.currentFolder=null,this.chooseFolderPromise=null,this.chooseFolderResolve=null,this.isRootFolder=!0,this.visitedFolders=[],this.cancelResetTimeout=null},500)}ngOnDestroy(){this.folderPickerService.unregisterComponent()}cannotCopyToFolder(){return this.isRootFolder||this.currentFolder?.type.includes("root.app")}setChosenFolder(){this.selectedRecord?this.chooseFolderResolve(this.selectedRecord):this.currentFolder&&this.chooseFolderResolve(this.currentFolder),this.savePromise?(this.saving=!0,this.savePromise.then(()=>{this.saving=!1,this.hide()}).catch(()=>{this.saving=!1,this.hide()})):this.hide()}shouldConfirmFolderSelection(){return this.currentFolder.type.endsWith("public")}isRootRootFolder(e){return!!e.type?.includes("type.folder.root.root")}static{this.\u0275fac=function(i){return new(i||t)($(P0),$(g2),$(C4),$(xc),$(a3))}}static{this.\u0275cmp=y1({type:t,selectors:[["pr-folder-picker"]],standalone:!1,decls:15,vars:12,consts:[[1,"menu-wrapper",3,"ngClass"],[1,"menu","folder-picker"],[1,"picker-header"],[1,"picker-back"],[1,"picker-folder-name"],[1,"picker-contents"],[1,"picker-contents",3,"ngClass"],[1,"picker-contents","picker-selected-record"],[1,"picker-footer"],[1,"btn","btn-secondary",3,"click","disabled"],[1,"btn","btn-primary",3,"click","disabled"],[1,"picker-back",3,"click"],[1,"material-icons","migrated-ionicon"],[1,"picker-row"],[1,"picker-empty"],[1,"picker-row",3,"click"],[1,"folder-icon"],["prBgImage","",3,"bgSrc"],[1,"name"],[1,"material-icons"]],template:function(i,n){i&1&&(T(0,"div",0)(1,"div",1)(2,"div",2),Y(3,_31,4,0,"div",3),T(4,"div",4),F(5),D(),Y(6,C31,1,0,"div",3),D(),Y(7,y31,1,0,"div",5),Y(8,N31,4,4,"div",6),Y(9,k31,2,1,"div",7),T(10,"div",8)(11,"button",9),e1("click",function(){return n.hide()}),F(12," Cancel "),D(),T(13,"button",10),e1("click",function(){return n.chooseFolder()}),F(14),D()()()()),i&2&&(t1("ngClass",_3(10,M31,n.visible)),k(3),Z(!n.isRootFolder||n.selectedRecord?3:-1),k(2),I1(" ",n.currentFolder?n.selectedRecord?n.selectedRecord.displayName:n.currentFolder.dis
787playName:"Loading..."," "),k(),Z(!n.isRootFolder||n.selectedRecord?6:-1),k(),Z(n.currentFolder?-1:7),k(),Z(n.currentFolder&&!n.selectedRecord?8:-1),k(),Z(n.selectedRecord?9:-1),k(2),t1("disabled",n.saving),k(2),t1("disabled",n.saving||n.waiting||n.operation===3&&!n.selectedRecord||n.cannotCopyToFolder()),k(),I1(" ",n.operation?n.operationName:"Choose"," "))},dependencies:[Qt,jd],styles:[".fullscreen[_ngcontent-%COMP%]{position:fixed;inset:0}@media screen and (min-width:900px){.hide-desktop[_ngcontent-%COMP%]{display:none!important}}@media screen and (max-width:899px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}.folder-picker[_ngcontent-%COMP%]{inset:40px 20px;transform:translateY(100%);border-radius:.375rem;display:flex;flex-direction:column}@media screen and (min-width:900px){.menu-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.folder-picker[_ngcontent-%COMP%]{opacity:0;position:relative;inset:0;width:400px;height:500px;max-height:calc(100vh - 80px)}}.visible[_ngcontent-%COMP%] .folder-picker[_ngcontent-%COMP%]{opacity:1}.picker-contents[_ngcontent-%COMP%]{flex:1 0;overflow:hidden;overflow-y:auto;position:relative;z-index:0}.picker-contents.navigating[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.picker-selected-record[_ngcontent-%COMP%]{background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px}.picker-selected-record[_ngcontent-%COMP%] [prBgImage][_ngcontent-%COMP%]{flex:1 1 auto;width:100%}.picker-empty[_ngcontent-%COMP%]{text-align:center;padding-top:10px}.picker-header[_ngcontent-%COMP%], .picker-footer[_ngcontent-%COMP%]{box-shadow:0 .125rem .25rem #00000013}.picker-header[_ngcontent-%COMP%]{padding:10px;display:flex}.picker-header[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.picker-folder-name[_ngcontent-%COMP%]{font-weight:600;text-align:center;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.picker-back[_ngcontent-%COMP%]{flex:0 0 3.5rem;cursor:pointer}.picker-footer[_ngcontent-%COMP%]{padding:0 10px;display:flex}.picker-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:100%}.picker-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(:first-child){margin-left:10px}.picker-footer[_ngcontent-%COMP%] button.btn-secondary[_ngcontent-%COMP%]{flex:0 0 33.33%}[_nghost-%COMP%]{display:block}.picker-row[_ngcontent-%COMP%]{display:flex;align-items:center;border-bottom:1px solid #dee2e6;cursor:pointer;-webkit-user-select:none;user-select:none}.picker-row[_ngcontent-%COMP%] [prBgImage][_ngcontent-%COMP%], .picker-row[_ngcontent-%COMP%] pr-thumbnail[_ngcontent-%COMP%], .picker-row[_ngcontent-%COMP%] .folder-icon[_ngcontent-%COMP%]{height:1.875rem;width:1.875rem;flex:0 0 1.875rem;margin:5px}.picker-row[_ngcontent-%COMP%] .folder-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:#f7c985}.picker-row[_ngcontent-%COMP%] .folder-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:2.1875rem}.name[_ngcontent-%COMP%]{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]})}}return t})();var xc=(()=>{class t{registerComponent(e){if(this.component)throw new Error("FolderPickerService - Folder picker component already registered");this.component=e}unregisterComponent(){this.component=null}chooseFolder(e,i,n,a=null){return A(this,null,function*(){if(!this.component)throw new Error("FolderPickerService - Folder picker component missing");return yield this.component.show(e,i,n,a)})}chooseRecord(e){return A(this,null,function*(){if(!this.component)throw new Error("FolderPickerService - Folder picker component missing");return yield this.component.show(e,x0.ChooseRecord,null,null,!0)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{N8 as a,jU as b,_6 as c,o4 as d,WU as e,q51 as f,U1 as g,i0 as h,GU as i,M7 as j,Qp as k,Jp as l,qU as m,x8 as n,nf as o,zf as p,uY as q,Yo as r,t0 as s,Fp as t,Vp as u,u4 as v,Y6 as w,C4 as x,UR as y,po as z,n4 as A,sy as B,G31 as C,oF as D,ii as E,Y31 as F,Jh as G,Z31 as H,mF as I,pF as J,LF as K,vF as L,CF as M,hy as N,K31 as O,X31 as P,kF as Q,TF as R,OF as S,IF as T,PF as U,Lo as V,Q31 as W,J31 as X,di as Y,pU as Z,Eo as _,dx as $,w61 as aa,S61 as ba,N61 as ca,k61 as da,A61 as ea,T61 as fa,D61 as ga,O61 as ha,E61 as ia,I61 as ja,P61 as ka,R61 as la,F61 as ma,V61 as na,H61 as oa,B61 as pa,h4 as qa,$0 as ra,Bp as
787sa,s81 as ta,r81 as ua,o81 as va,l81 as wa,Mx as xa,f81 as ya,_x as za,C2 as Aa,H1 as Ba,Z2 as Ca,Cx as Da,Mi as Ea,nc as Fa,_i as Ga,re as Ha,SU as Ia,q6 as Ja,Se1 as Ka,h5 as La,ic as Ma,oe as Na,le as Oa,l2 as Pa,e5 as Qa,ta as Ra,m0 as Sa,ia as Ta,W3 as Ua,Ex as Va,RU as Wa,xi as Xa,O51 as Ya,E51 as Za,I51 as _a,t5 as $a,Je as ab,Kp as bb,Zo as cb,B51 as db,Vx as eb,U51 as fb,a3 as gb,xc as hb,A8 as ib,jd as jb,x0 as kb,qA1 as lb,wi as mb,B4 as nb,tc1 as ob,ic1 as pb,Ko as qb,nc1 as rb,Xo as sb,Qo as tb,YU as ub,ac1 as vb,sc1 as wb,rc1 as xb,oc1 as yb,lc1 as zb,g4 as Ab,b3 as Bb,_c1 as Cb,ra as Db,oa as Eb,C71 as Fb,ow as Gb,sl as Hb,O$ as Ib,E$ as Jb,S4 as Kb,j0 as Lb,F$ as Mb,Kt1 as Nb,AS as Ob,c8 as Pb,_c as Qb,e4 as Rb,t8 as Sb,lk as Tb,Sf as Ub,ts as Vb,on as Wb,ln as Xb,bc as Yb,Of as Zb,Nk as _b,Ak as $b,Ef as ac,Kf1 as bc,Vk as cc,gK as dc,Hk as ec,Bk as fc,$k as gc,_d1 as hc,Cd1 as ic,yd1 as jc,bd1 as kc,xd1 as lc,wd1 as mc,Sd1 as nc,Nd1 as oc,iA as pc,J1 as qc,PA as rc,vn as sc,RA as tc,hL1 as uc,Pf as vc,kd as wc,rM as xc,oM as yc,UA as zc,w0 as Ac,jA as Bc,YA as Cc,ZA as Dc,_n as Ec,Sc as Fc,TJ as Gc,c_1 as Hc,DJ as Ic,LM as Jc,MM as Kc,RT as Lc,l_1 as Mc,H8 as Nc,_21 as Oc,A21 as Pc,QM as Qc,O21 as Rc,I21 as Sc,Yx1 as Tc,fD as Uc,ev as Vc,Cw1 as Wc,sv as Xc,I41 as Yc,Vw1 as Zc,dv as _c,B41 as $c,uD as ad,uv as bd,CS1 as cd,GN1 as dd,TD as ed,DD as fd,ID as gd,RD as hd,W7 as id,n6 as jd,HD as kd,D4 as ld,wc as md,nt as nd,Ss as od,g2 as pd,P0 as qd};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.