@agridea/suibi-module 0.1.0-preview.21 → 0.1.0-preview.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/elements/browser/main.js +67 -59
- package/dist/elements/browser/suibi-module-latest.js +67 -59
- package/dist/elements/browser/suibi-module.v0.1.0-preview.22.js +75 -0
- package/dist/elements/browser/version.txt +1 -1
- package/dist/types/app/app.d.ts +2 -0
- package/dist/types/app/core/error/global-error-handler.d.ts +6 -0
- package/dist/types/app/core/telemetry/telemetry.service.d.ts +12 -0
- package/dist/types/environments/environment.d.ts +6 -0
- package/package.json +2 -1
- package/dist/elements/browser/suibi-module.v0.1.0-preview.21.js +0 -67
- /package/dist/elements/browser/{suibi-module.v0.1.0-preview.21.css → suibi-module.v0.1.0-preview.22.css} +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var Mme=Object.create;var bR=Object.defineProperty,kme=Object.defineProperties,Rme=Object.getOwnPropertyDescriptor,Pme=Object.getOwnPropertyDescriptors,Nme=Object.getOwnPropertyNames,xE=Object.getOwnPropertySymbols,Ome=Object.getPrototypeOf,CR=Object.prototype.hasOwnProperty,K$=Object.prototype.propertyIsEnumerable;var W$=(t,n,e)=>n in t?bR(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,G=(t,n)=>{for(var e in n||={})CR.call(n,e)&&W$(t,e,n[e]);if(xE)for(var e of xE(n))K$.call(n,e)&&W$(t,e,n[e]);return t},Fe=(t,n)=>kme(t,Pme(n));var bm=(t,n)=>{var e={};for(var i in t)CR.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&xE)for(var i of xE(t))n.indexOf(i)<0&&K$.call(t,i)&&(e[i]=t[i]);return e};var y=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var Fme=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Nme(n))!CR.call(t,r)&&r!==e&&bR(t,r,{get:()=>n[r],enumerable:!(i=Rme(n,r))||i.enumerable});return t};var Zt=(t,n,e)=>(e=t!=null?Mme(Ome(t)):{},Fme(n||!t||!t.__esModule?bR(e,"default",{value:t,enumerable:!0}):e,t));var as=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{s(e.next(l))}catch(c){r(c)}},a=l=>{try{s(e.throw(l))}catch(c){r(c)}},s=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,a);s((e=e.apply(t,n)).next())});var o0=y((m0t,j8)=>{"use strict";var ACe=Object.prototype;function MCe(t){var n=t&&t.constructor,e=typeof n=="function"&&n.prototype||ACe;return t===e}j8.exports=MCe});var TF=y((p0t,U8)=>{"use strict";function kCe(t,n){return function(e){return t(n(e))}}U8.exports=kCe});var H8=y((h0t,z8)=>{"use strict";var RCe=TF(),PCe=RCe(Object.keys,Object);z8.exports=PCe});var Dx=y((g0t,$8)=>{"use strict";var NCe=o0(),OCe=H8(),FCe=Object.prototype,LCe=FCe.hasOwnProperty;function VCe(t){if(!NCe(t))return OCe(t);var n=[];for(var e in Object(t))LCe.call(t,e)&&e!="constructor"&&n.push(e);return n}$8.exports=VCe});var IF=y((_0t,G8)=>{"use strict";var BCe=typeof global=="object"&&global&&global.Object===Object&&global;G8.exports=BCe});var ko=y((v0t,q8)=>{"use strict";var jCe=IF(),UCe=typeof self=="object"&&self&&self.Object===Object&&self,zCe=jCe||UCe||Function("return this")();q8.exports=zCe});var pp=y((y0t,Y8)=>{"use strict";var HCe=ko(),$Ce=HCe.Symbol;Y8.exports=$Ce});var Q8=y((b0t,X8)=>{"use strict";var W8=pp(),K8=Object.prototype,GCe=K8.hasOwnProperty,qCe=K8.toString,a0=W8?W8.toStringTag:void 0;function YCe(t){var n=GCe.call(t,a0),e=t[a0];try{t[a0]=void 0;var i=!0}catch{}var r=qCe.call(t);return i&&(n?t[a0]=e:delete t[a0]),r}X8.exports=YCe});var J8=y((C0t,Z8)=>{"use strict";var WCe=Object.prototype,KCe=WCe.toString;function XCe(t){return KCe.call(t)}Z8.exports=XCe});var md=y((D0t,nW)=>{"use strict";var eW=pp(),QCe=Q8(),ZCe=J8(),JCe="[object Null]",eDe="[object Undefined]",tW=eW?eW.toStringTag:void 0;function tDe(t){return t==null?t===void 0?eDe:JCe:tW&&tW in Object(t)?QCe(t):ZCe(t)}nW.exports=tDe});var ka=y((E0t,iW)=>{"use strict";function nDe(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}iW.exports=nDe});var Zg=y((S0t,rW)=>{"use strict";var iDe=md(),rDe=ka(),oDe="[object AsyncFunction]",aDe="[object Function]",sDe="[object GeneratorFunction]",lDe="[object Proxy]";function cDe(t){if(!rDe(t))return!1;var n=iDe(t);return n==aDe||n==sDe||n==oDe||n==lDe}rW.exports=cDe});var aW=y((w0t,oW)=>{"use strict";var dDe=ko(),uDe=dDe["__core-js_shared__"];oW.exports=uDe});var cW=y((x0t,lW)=>{"use strict";var AF=aW(),sW=(function(){var t=/[^.]+$/.exec(AF&&AF.keys&&AF.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function fDe(t){return!!sW&&sW in t}lW.exports=fDe});var MF=y((T0t,dW)=>{"use strict";var mDe=Function.prototype,pDe=mDe.toString;function hDe(t){if(t!=null){try{return pDe.call(t)}catch{}try{return t+""}catch{}}return""}dW.exports=hDe});var fW=y((I0t,uW)=>{"use strict";var gDe=Zg(),_De=cW(),vDe=ka(),yDe=MF(),bDe=/[\\^$.*+?()[\]{}|]/g,CDe=/^\[object .+?Constructor\]$/,DDe=Function.prototype,EDe=Object.prototype,SDe=DDe.toString,wDe=EDe.hasOwnProperty,xDe=RegExp("^"+SDe.call(wDe).replace(bDe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function TDe(t){if(!vDe(t)||_De(t))return!1;var n=gDe(t)?xDe:CDe;return n.test(yDe(t))}uW.exports=TDe});var pW=y((A0t,mW)=>{"use strict";function IDe(t,n){return t?.[n]}mW.exports=IDe});var zu=y((M0t,hW)=>{"use strict";var ADe=fW(),MDe=pW();function kDe(t,n){var e=MDe(t,n);return ADe(e)?e:void 0}hW.exports=kDe});var _W=y((k0t,gW)=>{"use strict";var RDe=zu(),PDe=ko(),NDe=RDe(PDe,"DataView");gW.exports=NDe});var Ex=y((R0t,vW)=>{"use strict";var ODe=zu(),FDe=ko(),LDe=ODe(FDe,"Map");vW.exports=LDe});var bW=y((P0t,yW)=>{"use strict";var VDe=zu(),BDe=ko(),jDe=VDe(BDe,"Promise");yW.exports=jDe});var DW=y((N0t,CW)=>{"use strict";var UDe=zu(),zDe=ko(),HDe=UDe(zDe,"Set");CW.exports=HDe});var kF=y((O0t,EW)=>{"use strict";var $De=zu(),GDe=ko(),qDe=$De(GDe,"WeakMap");EW.exports=qDe});var Hu=y((F0t,MW)=>{"use strict";var RF=_W(),PF=Ex(),NF=bW(),OF=DW(),FF=kF(),AW=md(),Jg=MF(),SW="[object Map]",YDe="[object Object]",wW="[object Promise]",xW="[object Set]",TW="[object WeakMap]",IW="[object DataView]",WDe=Jg(RF),KDe=Jg(PF),XDe=Jg(NF),QDe=Jg(OF),ZDe=Jg(FF),hp=AW;(RF&&hp(new RF(new ArrayBuffer(1)))!=IW||PF&&hp(new PF)!=SW||NF&&hp(NF.resolve())!=wW||OF&&hp(new OF)!=xW||FF&&hp(new FF)!=TW)&&(hp=function(t){var n=AW(t),e=n==YDe?t.constructor:void 0,i=e?Jg(e):"";if(i)switch(i){case WDe:return IW;case KDe:return SW;case XDe:return wW;case QDe:return xW;case ZDe:return TW}return n});MW.exports=hp});var na=y((L0t,kW)=>{"use strict";function JDe(t){return t!=null&&typeof t=="object"}kW.exports=JDe});var PW=y((V0t,RW)=>{"use strict";var eEe=md(),tEe=na(),nEe="[object Arguments]";function iEe(t){return tEe(t)&&eEe(t)==nEe}RW.exports=iEe});var e_=y((B0t,FW)=>{"use strict";var NW=PW(),rEe=na(),OW=Object.prototype,oEe=OW.hasOwnProperty,aEe=OW.propertyIsEnumerable,sEe=NW((function(){return arguments})())?NW:function(t){return rEe(t)&&oEe.call(t,"callee")&&!aEe.call(t,"callee")};FW.exports=sEe});var Oi=y((j0t,LW)=>{"use strict";var lEe=Array.isArray;LW.exports=lEe});var Sx=y((U0t,VW)=>{"use strict";var cEe=9007199254740991;function dEe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=cEe}VW.exports=dEe});var pd=y((z0t,BW)=>{"use strict";var uEe=Zg(),fEe=Sx();function mEe(t){return t!=null&&fEe(t.length)&&!uEe(t)}BW.exports=mEe});var UW=y((H0t,jW)=>{"use strict";function pEe(){return!1}jW.exports=pEe});var n_=y((s0,t_)=>{"use strict";var hEe=ko(),gEe=UW(),$W=typeof s0=="object"&&s0&&!s0.nodeType&&s0,zW=$W&&typeof t_=="object"&&t_&&!t_.nodeType&&t_,_Ee=zW&&zW.exports===$W,HW=_Ee?hEe.Buffer:void 0,vEe=HW?HW.isBuffer:void 0,yEe=vEe||gEe;t_.exports=yEe});var qW=y(($0t,GW)=>{"use strict";var bEe=md(),CEe=Sx(),DEe=na(),EEe="[object Arguments]",SEe="[object Array]",wEe="[object Boolean]",xEe="[object Date]",TEe="[object Error]",IEe="[object Function]",AEe="[object Map]",MEe="[object Number]",kEe="[object Object]",REe="[object RegExp]",PEe="[object Set]",NEe="[object String]",OEe="[object WeakMap]",FEe="[object ArrayBuffer]",LEe="[object DataView]",VEe="[object Float32Array]",BEe="[object Float64Array]",jEe="[object Int8Array]",UEe="[object Int16Array]",zEe="[object Int32Array]",HEe="[object Uint8Array]",$Ee="[object Uint8ClampedArray]",GEe="[object Uint16Array]",qEe="[object Uint32Array]",ui={};ui[VEe]=ui[BEe]=ui[jEe]=ui[UEe]=ui[zEe]=ui[HEe]=ui[$Ee]=ui[GEe]=ui[qEe]=!0;ui[EEe]=ui[SEe]=ui[FEe]=ui[wEe]=ui[LEe]=ui[xEe]=ui[TEe]=ui[IEe]=ui[AEe]=ui[MEe]=ui[kEe]=ui[REe]=ui[PEe]=ui[NEe]=ui[OEe]=!1;function YEe(t){return DEe(t)&&CEe(t.length)&&!!ui[bEe(t)]}GW.exports=YEe});var wx=y((G0t,YW)=>{"use strict";function WEe(t){return function(n){return t(n)}}YW.exports=WEe});var xx=y((l0,i_)=>{"use strict";var KEe=IF(),WW=typeof l0=="object"&&l0&&!l0.nodeType&&l0,c0=WW&&typeof i_=="object"&&i_&&!i_.nodeType&&i_,XEe=c0&&c0.exports===WW,LF=XEe&&KEe.process,QEe=(function(){try{var t=c0&&c0.require&&c0.require("util").types;return t||LF&&LF.binding&&LF.binding("util")}catch{}})();i_.exports=QEe});var d0=y((q0t,QW)=>{"use strict";var ZEe=qW(),JEe=wx(),KW=xx(),XW=KW&&KW.isTypedArray,eSe=XW?JEe(XW):ZEe;QW.exports=eSe});var VF=y((Y0t,ZW)=>{"use strict";var tSe=Dx(),nSe=Hu(),iSe=e_(),rSe=Oi(),oSe=pd(),aSe=n_(),sSe=o0(),lSe=d0(),cSe="[object Map]",dSe="[object Set]",uSe=Object.prototype,fSe=uSe.hasOwnProperty;function mSe(t){if(t==null)return!0;if(oSe(t)&&(rSe(t)||typeof t=="string"||typeof t.splice=="function"||aSe(t)||lSe(t)||iSe(t)))return!t.length;var n=nSe(t);if(n==cSe||n==dSe)return!t.size;if(sSe(t))return!tSe(t).length;for(var e in t)if(fSe.call(t,e))return!1;return!0}ZW.exports=mSe});var BF=y((W0t,JW)=>{"use strict";function pSe(t,n,e,i){var r=-1,o=t==null?0:t.length;for(i&&o&&(e=t[++r]);++r<o;)e=n(e,t[r],r,t);return e}JW.exports=pSe});var t6=y((K0t,e6)=>{"use strict";function hSe(t){return function(n){return t?.[n]}}e6.exports=hSe});var i6=y((X0t,n6)=>{"use strict";var gSe=t6(),_Se={\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"},vSe=gSe(_Se);n6.exports=vSe});var u0=y((Q0t,r6)=>{"use strict";function ySe(t,n){for(var e=-1,i=t==null?0:t.length,r=Array(i);++e<i;)r[e]=n(t[e],e,t);return r}r6.exports=ySe});var gp=y((Z0t,o6)=>{"use strict";var bSe=md(),CSe=na(),DSe="[object Symbol]";function ESe(t){return typeof t=="symbol"||CSe(t)&&bSe(t)==DSe}o6.exports=ESe});var jF=y((J0t,d6)=>{"use strict";var a6=pp(),SSe=u0(),wSe=Oi(),xSe=gp(),TSe=1/0,s6=a6?a6.prototype:void 0,l6=s6?s6.toString:void 0;function c6(t){if(typeof t=="string")return t;if(wSe(t))return SSe(t,c6)+"";if(xSe(t))return l6?l6.call(t):"";var n=t+"";return n=="0"&&1/t==-TSe?"-0":n}d6.exports=c6});var _p=y((eCt,u6)=>{"use strict";var ISe=jF();function ASe(t){return t==null?"":ISe(t)}u6.exports=ASe});var m6=y((tCt,f6)=>{"use strict";var MSe=i6(),kSe=_p(),RSe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,PSe="\\u0300-\\u036f",NSe="\\ufe20-\\ufe2f",OSe="\\u20d0-\\u20ff",FSe=PSe+NSe+OSe,LSe="["+FSe+"]",VSe=RegExp(LSe,"g");function BSe(t){return t=kSe(t),t&&t.replace(RSe,MSe).replace(VSe,"")}f6.exports=BSe});var h6=y((nCt,p6)=>{"use strict";var jSe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function USe(t){return t.match(jSe)||[]}p6.exports=USe});var _6=y((iCt,g6)=>{"use strict";var zSe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function HSe(t){return zSe.test(t)}g6.exports=HSe});var F6=y((rCt,O6)=>{"use strict";var D6="\\ud800-\\udfff",$Se="\\u0300-\\u036f",GSe="\\ufe20-\\ufe2f",qSe="\\u20d0-\\u20ff",YSe=$Se+GSe+qSe,E6="\\u2700-\\u27bf",S6="a-z\\xdf-\\xf6\\xf8-\\xff",WSe="\\xac\\xb1\\xd7\\xf7",KSe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",XSe="\\u2000-\\u206f",QSe=" \\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",w6="A-Z\\xc0-\\xd6\\xd8-\\xde",ZSe="\\ufe0e\\ufe0f",x6=WSe+KSe+XSe+QSe,T6="['\u2019]",v6="["+x6+"]",JSe="["+YSe+"]",I6="\\d+",ewe="["+E6+"]",A6="["+S6+"]",M6="[^"+D6+x6+I6+E6+S6+w6+"]",twe="\\ud83c[\\udffb-\\udfff]",nwe="(?:"+JSe+"|"+twe+")",iwe="[^"+D6+"]",k6="(?:\\ud83c[\\udde6-\\uddff]){2}",R6="[\\ud800-\\udbff][\\udc00-\\udfff]",r_="["+w6+"]",rwe="\\u200d",y6="(?:"+A6+"|"+M6+")",owe="(?:"+r_+"|"+M6+")",b6="(?:"+T6+"(?:d|ll|m|re|s|t|ve))?",C6="(?:"+T6+"(?:D|LL|M|RE|S|T|VE))?",P6=nwe+"?",N6="["+ZSe+"]?",awe="(?:"+rwe+"(?:"+[iwe,k6,R6].join("|")+")"+N6+P6+")*",swe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lwe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",cwe=N6+P6+awe,dwe="(?:"+[ewe,k6,R6].join("|")+")"+cwe,uwe=RegExp([r_+"?"+A6+"+"+b6+"(?="+[v6,r_,"$"].join("|")+")",owe+"+"+C6+"(?="+[v6,r_+y6,"$"].join("|")+")",r_+"?"+y6+"+"+b6,r_+"+"+C6,lwe,swe,I6,dwe].join("|"),"g");function fwe(t){return t.match(uwe)||[]}O6.exports=fwe});var V6=y((oCt,L6)=>{"use strict";var mwe=h6(),pwe=_6(),hwe=_p(),gwe=F6();function _we(t,n,e){return t=hwe(t),n=e?void 0:n,n===void 0?pwe(t)?gwe(t):mwe(t):t.match(n)||[]}L6.exports=_we});var j6=y((aCt,B6)=>{"use strict";var vwe=BF(),ywe=m6(),bwe=V6(),Cwe="['\u2019]",Dwe=RegExp(Cwe,"g");function Ewe(t){return function(n){return vwe(bwe(ywe(n).replace(Dwe,"")),t,"")}}B6.exports=Ewe});var UF=y((sCt,U6)=>{"use strict";function Swe(t,n,e){var i=-1,r=t.length;n<0&&(n=-n>r?0:r+n),e=e>r?r:e,e<0&&(e+=r),r=n>e?0:e-n>>>0,n>>>=0;for(var o=Array(r);++i<r;)o[i]=t[i+n];return o}U6.exports=Swe});var H6=y((lCt,z6)=>{"use strict";var wwe=UF();function xwe(t,n,e){var i=t.length;return e=e===void 0?i:e,!n&&e>=i?t:wwe(t,n,e)}z6.exports=xwe});var zF=y((cCt,$6)=>{"use strict";var Twe="\\ud800-\\udfff",Iwe="\\u0300-\\u036f",Awe="\\ufe20-\\ufe2f",Mwe="\\u20d0-\\u20ff",kwe=Iwe+Awe+Mwe,Rwe="\\ufe0e\\ufe0f",Pwe="\\u200d",Nwe=RegExp("["+Pwe+Twe+kwe+Rwe+"]");function Owe(t){return Nwe.test(t)}$6.exports=Owe});var q6=y((dCt,G6)=>{"use strict";function Fwe(t){return t.split("")}G6.exports=Fwe});var e9=y((uCt,J6)=>{"use strict";var Y6="\\ud800-\\udfff",Lwe="\\u0300-\\u036f",Vwe="\\ufe20-\\ufe2f",Bwe="\\u20d0-\\u20ff",jwe=Lwe+Vwe+Bwe,Uwe="\\ufe0e\\ufe0f",zwe="["+Y6+"]",HF="["+jwe+"]",$F="\\ud83c[\\udffb-\\udfff]",Hwe="(?:"+HF+"|"+$F+")",W6="[^"+Y6+"]",K6="(?:\\ud83c[\\udde6-\\uddff]){2}",X6="[\\ud800-\\udbff][\\udc00-\\udfff]",$we="\\u200d",Q6=Hwe+"?",Z6="["+Uwe+"]?",Gwe="(?:"+$we+"(?:"+[W6,K6,X6].join("|")+")"+Z6+Q6+")*",qwe=Z6+Q6+Gwe,Ywe="(?:"+[W6+HF+"?",HF,K6,X6,zwe].join("|")+")",Wwe=RegExp($F+"(?="+$F+")|"+Ywe+qwe,"g");function Kwe(t){return t.match(Wwe)||[]}J6.exports=Kwe});var n9=y((fCt,t9)=>{"use strict";var Xwe=q6(),Qwe=zF(),Zwe=e9();function Jwe(t){return Qwe(t)?Zwe(t):Xwe(t)}t9.exports=Jwe});var r9=y((mCt,i9)=>{"use strict";var exe=H6(),txe=zF(),nxe=n9(),ixe=_p();function rxe(t){return function(n){n=ixe(n);var e=txe(n)?nxe(n):void 0,i=e?e[0]:n.charAt(0),r=e?exe(e,1).join(""):n.slice(1);return i[t]()+r}}i9.exports=rxe});var a9=y((pCt,o9)=>{"use strict";var oxe=r9(),axe=oxe("toUpperCase");o9.exports=axe});var GF=y((hCt,s9)=>{"use strict";var sxe=j6(),lxe=a9(),cxe=sxe(function(t,n,e){return t+(e?" ":"")+lxe(n)});s9.exports=cxe});var c9=y((gCt,l9)=>{"use strict";function dxe(t,n){for(var e=-1,i=Array(t);++e<t;)i[e]=n(e);return i}l9.exports=dxe});var vp=y((_Ct,d9)=>{"use strict";var uxe=9007199254740991,fxe=/^(?:0|[1-9]\d*)$/;function mxe(t,n){var e=typeof t;return n=n??uxe,!!n&&(e=="number"||e!="symbol"&&fxe.test(t))&&t>-1&&t%1==0&&t<n}d9.exports=mxe});var qF=y((vCt,u9)=>{"use strict";var pxe=c9(),hxe=e_(),gxe=Oi(),_xe=n_(),vxe=vp(),yxe=d0(),bxe=Object.prototype,Cxe=bxe.hasOwnProperty;function Dxe(t,n){var e=gxe(t),i=!e&&hxe(t),r=!e&&!i&&_xe(t),o=!e&&!i&&!r&&yxe(t),a=e||i||r||o,s=a?pxe(t.length,String):[],l=s.length;for(var c in t)(n||Cxe.call(t,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||vxe(c,l)))&&s.push(c);return s}u9.exports=Dxe});var tc=y((yCt,f9)=>{"use strict";var Exe=qF(),Sxe=Dx(),wxe=pd();function xxe(t){return wxe(t)?Exe(t):Sxe(t)}f9.exports=xxe});var p9=y((bCt,m9)=>{"use strict";var Txe=Math.ceil,Ixe=Math.max;function Axe(t,n,e,i){for(var r=-1,o=Ixe(Txe((n-t)/(e||1)),0),a=Array(o);o--;)a[i?o:++r]=t,t+=e;return a}m9.exports=Axe});var o_=y((CCt,h9)=>{"use strict";function Mxe(t,n){return t===n||t!==t&&n!==n}h9.exports=Mxe});var Tx=y((DCt,g9)=>{"use strict";var kxe=o_(),Rxe=pd(),Pxe=vp(),Nxe=ka();function Oxe(t,n,e){if(!Nxe(e))return!1;var i=typeof n;return(i=="number"?Rxe(e)&&Pxe(n,e.length):i=="string"&&n in e)?kxe(e[n],t):!1}g9.exports=Oxe});var v9=y((ECt,_9)=>{"use strict";var Fxe=/\s/;function Lxe(t){for(var n=t.length;n--&&Fxe.test(t.charAt(n)););return n}_9.exports=Lxe});var b9=y((SCt,y9)=>{"use strict";var Vxe=v9(),Bxe=/^\s+/;function jxe(t){return t&&t.slice(0,Vxe(t)+1).replace(Bxe,"")}y9.exports=jxe});var S9=y((wCt,E9)=>{"use strict";var Uxe=b9(),C9=ka(),zxe=gp(),D9=NaN,Hxe=/^[-+]0x[0-9a-f]+$/i,$xe=/^0b[01]+$/i,Gxe=/^0o[0-7]+$/i,qxe=parseInt;function Yxe(t){if(typeof t=="number")return t;if(zxe(t))return D9;if(C9(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=C9(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=Uxe(t);var e=$xe.test(t);return e||Gxe.test(t)?qxe(t.slice(2),e?2:8):Hxe.test(t)?D9:+t}E9.exports=Yxe});var YF=y((xCt,x9)=>{"use strict";var Wxe=S9(),w9=1/0,Kxe=17976931348623157e292;function Xxe(t){if(!t)return t===0?t:0;if(t=Wxe(t),t===w9||t===-w9){var n=t<0?-1:1;return n*Kxe}return t===t?t:0}x9.exports=Xxe});var I9=y((TCt,T9)=>{"use strict";var Qxe=p9(),Zxe=Tx(),WF=YF();function Jxe(t){return function(n,e,i){return i&&typeof i!="number"&&Zxe(n,e,i)&&(e=i=void 0),n=WF(n),e===void 0?(e=n,n=0):e=WF(e),i=i===void 0?n<e?1:-1:WF(i),Qxe(n,e,i,t)}}T9.exports=Jxe});var M9=y((ICt,A9)=>{"use strict";var eTe=I9(),tTe=eTe();A9.exports=tTe});var Ix=y((ACt,k9)=>{"use strict";var nTe=Oi(),iTe=gp(),rTe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,oTe=/^\w*$/;function aTe(t,n){if(nTe(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||iTe(t)?!0:oTe.test(t)||!rTe.test(t)||n!=null&&t in Object(n)}k9.exports=aTe});var f0=y((MCt,R9)=>{"use strict";var sTe=zu(),lTe=sTe(Object,"create");R9.exports=lTe});var O9=y((kCt,N9)=>{"use strict";var P9=f0();function cTe(){this.__data__=P9?P9(null):{},this.size=0}N9.exports=cTe});var L9=y((RCt,F9)=>{"use strict";function dTe(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}F9.exports=dTe});var B9=y((PCt,V9)=>{"use strict";var uTe=f0(),fTe="__lodash_hash_undefined__",mTe=Object.prototype,pTe=mTe.hasOwnProperty;function hTe(t){var n=this.__data__;if(uTe){var e=n[t];return e===fTe?void 0:e}return pTe.call(n,t)?n[t]:void 0}V9.exports=hTe});var U9=y((NCt,j9)=>{"use strict";var gTe=f0(),_Te=Object.prototype,vTe=_Te.hasOwnProperty;function yTe(t){var n=this.__data__;return gTe?n[t]!==void 0:vTe.call(n,t)}j9.exports=yTe});var H9=y((OCt,z9)=>{"use strict";var bTe=f0(),CTe="__lodash_hash_undefined__";function DTe(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=bTe&&n===void 0?CTe:n,this}z9.exports=DTe});var G9=y((FCt,$9)=>{"use strict";var ETe=O9(),STe=L9(),wTe=B9(),xTe=U9(),TTe=H9();function a_(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}a_.prototype.clear=ETe;a_.prototype.delete=STe;a_.prototype.get=wTe;a_.prototype.has=xTe;a_.prototype.set=TTe;$9.exports=a_});var Y9=y((LCt,q9)=>{"use strict";function ITe(){this.__data__=[],this.size=0}q9.exports=ITe});var m0=y((VCt,W9)=>{"use strict";var ATe=o_();function MTe(t,n){for(var e=t.length;e--;)if(ATe(t[e][0],n))return e;return-1}W9.exports=MTe});var X9=y((BCt,K9)=>{"use strict";var kTe=m0(),RTe=Array.prototype,PTe=RTe.splice;function NTe(t){var n=this.__data__,e=kTe(n,t);if(e<0)return!1;var i=n.length-1;return e==i?n.pop():PTe.call(n,e,1),--this.size,!0}K9.exports=NTe});var Z9=y((jCt,Q9)=>{"use strict";var OTe=m0();function FTe(t){var n=this.__data__,e=OTe(n,t);return e<0?void 0:n[e][1]}Q9.exports=FTe});var eK=y((UCt,J9)=>{"use strict";var LTe=m0();function VTe(t){return LTe(this.__data__,t)>-1}J9.exports=VTe});var nK=y((zCt,tK)=>{"use strict";var BTe=m0();function jTe(t,n){var e=this.__data__,i=BTe(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}tK.exports=jTe});var p0=y((HCt,iK)=>{"use strict";var UTe=Y9(),zTe=X9(),HTe=Z9(),$Te=eK(),GTe=nK();function s_(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}s_.prototype.clear=UTe;s_.prototype.delete=zTe;s_.prototype.get=HTe;s_.prototype.has=$Te;s_.prototype.set=GTe;iK.exports=s_});var aK=y(($Ct,oK)=>{"use strict";var rK=G9(),qTe=p0(),YTe=Ex();function WTe(){this.size=0,this.__data__={hash:new rK,map:new(YTe||qTe),string:new rK}}oK.exports=WTe});var lK=y((GCt,sK)=>{"use strict";function KTe(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}sK.exports=KTe});var h0=y((qCt,cK)=>{"use strict";var XTe=lK();function QTe(t,n){var e=t.__data__;return XTe(n)?e[typeof n=="string"?"string":"hash"]:e.map}cK.exports=QTe});var uK=y((YCt,dK)=>{"use strict";var ZTe=h0();function JTe(t){var n=ZTe(this,t).delete(t);return this.size-=n?1:0,n}dK.exports=JTe});var mK=y((WCt,fK)=>{"use strict";var eIe=h0();function tIe(t){return eIe(this,t).get(t)}fK.exports=tIe});var hK=y((KCt,pK)=>{"use strict";var nIe=h0();function iIe(t){return nIe(this,t).has(t)}pK.exports=iIe});var _K=y((XCt,gK)=>{"use strict";var rIe=h0();function oIe(t,n){var e=rIe(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}gK.exports=oIe});var Ax=y((QCt,vK)=>{"use strict";var aIe=aK(),sIe=uK(),lIe=mK(),cIe=hK(),dIe=_K();function l_(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}l_.prototype.clear=aIe;l_.prototype.delete=sIe;l_.prototype.get=lIe;l_.prototype.has=cIe;l_.prototype.set=dIe;vK.exports=l_});var CK=y((ZCt,bK)=>{"use strict";var yK=Ax(),uIe="Expected a function";function KF(t,n){if(typeof t!="function"||n!=null&&typeof n!="function")throw new TypeError(uIe);var e=function(){var i=arguments,r=n?n.apply(this,i):i[0],o=e.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return e.cache=o.set(r,a)||o,a};return e.cache=new(KF.Cache||yK),e}KF.Cache=yK;bK.exports=KF});var EK=y((JCt,DK)=>{"use strict";var fIe=CK(),mIe=500;function pIe(t){var n=fIe(t,function(i){return e.size===mIe&&e.clear(),i}),e=n.cache;return n}DK.exports=pIe});var XF=y((eDt,SK)=>{"use strict";var hIe=EK(),gIe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_Ie=/\\(\\)?/g,vIe=hIe(function(t){var n=[];return t.charCodeAt(0)===46&&n.push(""),t.replace(gIe,function(e,i,r,o){n.push(r?o.replace(_Ie,"$1"):i||e)}),n});SK.exports=vIe});var g0=y((tDt,wK)=>{"use strict";var yIe=Oi(),bIe=Ix(),CIe=XF(),DIe=_p();function EIe(t,n){return yIe(t)?t:bIe(t,n)?[t]:CIe(DIe(t))}wK.exports=EIe});var $u=y((nDt,xK)=>{"use strict";var SIe=gp(),wIe=1/0;function xIe(t){if(typeof t=="string"||SIe(t))return t;var n=t+"";return n=="0"&&1/t==-wIe?"-0":n}xK.exports=xIe});var Mx=y((iDt,TK)=>{"use strict";var TIe=g0(),IIe=$u();function AIe(t,n){n=TIe(n,t);for(var e=0,i=n.length;t!=null&&e<i;)t=t[IIe(n[e++])];return e&&e==i?t:void 0}TK.exports=AIe});var _0=y((rDt,IK)=>{"use strict";var MIe=Mx();function kIe(t,n,e){var i=t==null?void 0:MIe(t,n);return i===void 0?e:i}IK.exports=kIe});var MK=y((oDt,AK)=>{"use strict";var RIe=Object.prototype,PIe=RIe.hasOwnProperty;function NIe(t,n){return t!=null&&PIe.call(t,n)}AK.exports=NIe});var QF=y((aDt,kK)=>{"use strict";var OIe=g0(),FIe=e_(),LIe=Oi(),VIe=vp(),BIe=Sx(),jIe=$u();function UIe(t,n,e){n=OIe(n,t);for(var i=-1,r=n.length,o=!1;++i<r;){var a=jIe(n[i]);if(!(o=t!=null&&e(t,a)))break;t=t[a]}return o||++i!=r?o:(r=t==null?0:t.length,!!r&&BIe(r)&&VIe(a,r)&&(LIe(t)||FIe(t)))}kK.exports=UIe});var PK=y((sDt,RK)=>{"use strict";var zIe=MK(),HIe=QF();function $Ie(t,n){return t!=null&&HIe(t,n,zIe)}RK.exports=$Ie});var OK=y((lDt,NK)=>{"use strict";var GIe=p0();function qIe(){this.__data__=new GIe,this.size=0}NK.exports=qIe});var LK=y((cDt,FK)=>{"use strict";function YIe(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}FK.exports=YIe});var BK=y((dDt,VK)=>{"use strict";function WIe(t){return this.__data__.get(t)}VK.exports=WIe});var UK=y((uDt,jK)=>{"use strict";function KIe(t){return this.__data__.has(t)}jK.exports=KIe});var HK=y((fDt,zK)=>{"use strict";var XIe=p0(),QIe=Ex(),ZIe=Ax(),JIe=200;function eAe(t,n){var e=this.__data__;if(e instanceof XIe){var i=e.__data__;if(!QIe||i.length<JIe-1)return i.push([t,n]),this.size=++e.size,this;e=this.__data__=new ZIe(i)}return e.set(t,n),this.size=e.size,this}zK.exports=eAe});var v0=y((mDt,$K)=>{"use strict";var tAe=p0(),nAe=OK(),iAe=LK(),rAe=BK(),oAe=UK(),aAe=HK();function c_(t){var n=this.__data__=new tAe(t);this.size=n.size}c_.prototype.clear=nAe;c_.prototype.delete=iAe;c_.prototype.get=rAe;c_.prototype.has=oAe;c_.prototype.set=aAe;$K.exports=c_});var qK=y((pDt,GK)=>{"use strict";var sAe="__lodash_hash_undefined__";function lAe(t){return this.__data__.set(t,sAe),this}GK.exports=lAe});var WK=y((hDt,YK)=>{"use strict";function cAe(t){return this.__data__.has(t)}YK.exports=cAe});var XK=y((gDt,KK)=>{"use strict";var dAe=Ax(),uAe=qK(),fAe=WK();function kx(t){var n=-1,e=t==null?0:t.length;for(this.__data__=new dAe;++n<e;)this.add(t[n])}kx.prototype.add=kx.prototype.push=uAe;kx.prototype.has=fAe;KK.exports=kx});var ZF=y((_Dt,QK)=>{"use strict";function mAe(t,n){for(var e=-1,i=t==null?0:t.length;++e<i;)if(n(t[e],e,t))return!0;return!1}QK.exports=mAe});var JK=y((vDt,ZK)=>{"use strict";function pAe(t,n){return t.has(n)}ZK.exports=pAe});var JF=y((yDt,e7)=>{"use strict";var hAe=XK(),gAe=ZF(),_Ae=JK(),vAe=1,yAe=2;function bAe(t,n,e,i,r,o){var a=e&vAe,s=t.length,l=n.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),d=o.get(n);if(c&&d)return c==n&&d==t;var u=-1,m=!0,f=e&yAe?new hAe:void 0;for(o.set(t,n),o.set(n,t);++u<s;){var p=t[u],g=n[u];if(i)var _=a?i(g,p,u,n,t,o):i(p,g,u,t,n,o);if(_!==void 0){if(_)continue;m=!1;break}if(f){if(!gAe(n,function(v,D){if(!_Ae(f,D)&&(p===v||r(p,v,e,i,o)))return f.push(D)})){m=!1;break}}else if(!(p===g||r(p,g,e,i,o))){m=!1;break}}return o.delete(t),o.delete(n),m}e7.exports=bAe});var eL=y((bDt,t7)=>{"use strict";var CAe=ko(),DAe=CAe.Uint8Array;t7.exports=DAe});var tL=y((CDt,n7)=>{"use strict";function EAe(t){var n=-1,e=Array(t.size);return t.forEach(function(i,r){e[++n]=[r,i]}),e}n7.exports=EAe});var r7=y((DDt,i7)=>{"use strict";function SAe(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=i}),e}i7.exports=SAe});var c7=y((EDt,l7)=>{"use strict";var o7=pp(),a7=eL(),wAe=o_(),xAe=JF(),TAe=tL(),IAe=r7(),AAe=1,MAe=2,kAe="[object Boolean]",RAe="[object Date]",PAe="[object Error]",NAe="[object Map]",OAe="[object Number]",FAe="[object RegExp]",LAe="[object Set]",VAe="[object String]",BAe="[object Symbol]",jAe="[object ArrayBuffer]",UAe="[object DataView]",s7=o7?o7.prototype:void 0,nL=s7?s7.valueOf:void 0;function zAe(t,n,e,i,r,o,a){switch(e){case UAe:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case jAe:return!(t.byteLength!=n.byteLength||!o(new a7(t),new a7(n)));case kAe:case RAe:case OAe:return wAe(+t,+n);case PAe:return t.name==n.name&&t.message==n.message;case FAe:case VAe:return t==n+"";case NAe:var s=TAe;case LAe:var l=i&AAe;if(s||(s=IAe),t.size!=n.size&&!l)return!1;var c=a.get(t);if(c)return c==n;i|=MAe,a.set(t,n);var d=xAe(s(t),s(n),i,r,o,a);return a.delete(t),d;case BAe:if(nL)return nL.call(t)==nL.call(n)}return!1}l7.exports=zAe});var Rx=y((SDt,d7)=>{"use strict";function HAe(t,n){for(var e=-1,i=n.length,r=t.length;++e<i;)t[r+e]=n[e];return t}d7.exports=HAe});var iL=y((wDt,u7)=>{"use strict";var $Ae=Rx(),GAe=Oi();function qAe(t,n,e){var i=n(t);return GAe(t)?i:$Ae(i,e(t))}u7.exports=qAe});var rL=y((xDt,f7)=>{"use strict";function YAe(t,n){for(var e=-1,i=t==null?0:t.length,r=0,o=[];++e<i;){var a=t[e];n(a,e,t)&&(o[r++]=a)}return o}f7.exports=YAe});var oL=y((TDt,m7)=>{"use strict";function WAe(){return[]}m7.exports=WAe});var Px=y((IDt,h7)=>{"use strict";var KAe=rL(),XAe=oL(),QAe=Object.prototype,ZAe=QAe.propertyIsEnumerable,p7=Object.getOwnPropertySymbols,JAe=p7?function(t){return t==null?[]:(t=Object(t),KAe(p7(t),function(n){return ZAe.call(t,n)}))}:XAe;h7.exports=JAe});var aL=y((ADt,g7)=>{"use strict";var eMe=iL(),tMe=Px(),nMe=tc();function iMe(t){return eMe(t,nMe,tMe)}g7.exports=iMe});var y7=y((MDt,v7)=>{"use strict";var _7=aL(),rMe=1,oMe=Object.prototype,aMe=oMe.hasOwnProperty;function sMe(t,n,e,i,r,o){var a=e&rMe,s=_7(t),l=s.length,c=_7(n),d=c.length;if(l!=d&&!a)return!1;for(var u=l;u--;){var m=s[u];if(!(a?m in n:aMe.call(n,m)))return!1}var f=o.get(t),p=o.get(n);if(f&&p)return f==n&&p==t;var g=!0;o.set(t,n),o.set(n,t);for(var _=a;++u<l;){m=s[u];var v=t[m],D=n[m];if(i)var O=a?i(D,v,m,n,t,o):i(v,D,m,t,n,o);if(!(O===void 0?v===D||r(v,D,e,i,o):O)){g=!1;break}_||(_=m=="constructor")}if(g&&!_){var B=t.constructor,F=n.constructor;B!=F&&"constructor"in t&&"constructor"in n&&!(typeof B=="function"&&B instanceof B&&typeof F=="function"&&F instanceof F)&&(g=!1)}return o.delete(t),o.delete(n),g}v7.exports=sMe});var T7=y((kDt,x7)=>{"use strict";var sL=v0(),lMe=JF(),cMe=c7(),dMe=y7(),b7=Hu(),C7=Oi(),D7=n_(),uMe=d0(),fMe=1,E7="[object Arguments]",S7="[object Array]",Nx="[object Object]",mMe=Object.prototype,w7=mMe.hasOwnProperty;function pMe(t,n,e,i,r,o){var a=C7(t),s=C7(n),l=a?S7:b7(t),c=s?S7:b7(n);l=l==E7?Nx:l,c=c==E7?Nx:c;var d=l==Nx,u=c==Nx,m=l==c;if(m&&D7(t)){if(!D7(n))return!1;a=!0,d=!1}if(m&&!d)return o||(o=new sL),a||uMe(t)?lMe(t,n,e,i,r,o):cMe(t,n,l,e,i,r,o);if(!(e&fMe)){var f=d&&w7.call(t,"__wrapped__"),p=u&&w7.call(n,"__wrapped__");if(f||p){var g=f?t.value():t,_=p?n.value():n;return o||(o=new sL),r(g,_,e,i,o)}}return m?(o||(o=new sL),dMe(t,n,e,i,r,o)):!1}x7.exports=pMe});var Ox=y((RDt,M7)=>{"use strict";var hMe=T7(),I7=na();function A7(t,n,e,i,r){return t===n?!0:t==null||n==null||!I7(t)&&!I7(n)?t!==t&&n!==n:hMe(t,n,e,i,A7,r)}M7.exports=A7});var R7=y((PDt,k7)=>{"use strict";var gMe=v0(),_Me=Ox(),vMe=1,yMe=2;function bMe(t,n,e,i){var r=e.length,o=r,a=!i;if(t==null)return!o;for(t=Object(t);r--;){var s=e[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){s=e[r];var l=s[0],c=t[l],d=s[1];if(a&&s[2]){if(c===void 0&&!(l in t))return!1}else{var u=new gMe;if(i)var m=i(c,d,l,t,n,u);if(!(m===void 0?_Me(d,c,vMe|yMe,i,u):m))return!1}}return!0}k7.exports=bMe});var lL=y((NDt,P7)=>{"use strict";var CMe=ka();function DMe(t){return t===t&&!CMe(t)}P7.exports=DMe});var O7=y((ODt,N7)=>{"use strict";var EMe=lL(),SMe=tc();function wMe(t){for(var n=SMe(t),e=n.length;e--;){var i=n[e],r=t[i];n[e]=[i,r,EMe(r)]}return n}N7.exports=wMe});var cL=y((FDt,F7)=>{"use strict";function xMe(t,n){return function(e){return e==null?!1:e[t]===n&&(n!==void 0||t in Object(e))}}F7.exports=xMe});var V7=y((LDt,L7)=>{"use strict";var TMe=R7(),IMe=O7(),AMe=cL();function MMe(t){var n=IMe(t);return n.length==1&&n[0][2]?AMe(n[0][0],n[0][1]):function(e){return e===t||TMe(e,t,n)}}L7.exports=MMe});var j7=y((VDt,B7)=>{"use strict";function kMe(t,n){return t!=null&&n in Object(t)}B7.exports=kMe});var z7=y((BDt,U7)=>{"use strict";var RMe=j7(),PMe=QF();function NMe(t,n){return t!=null&&PMe(t,n,RMe)}U7.exports=NMe});var $7=y((jDt,H7)=>{"use strict";var OMe=Ox(),FMe=_0(),LMe=z7(),VMe=Ix(),BMe=lL(),jMe=cL(),UMe=$u(),zMe=1,HMe=2;function $Me(t,n){return VMe(t)&&BMe(n)?jMe(UMe(t),n):function(e){var i=FMe(e,t);return i===void 0&&i===n?LMe(e,t):OMe(n,i,zMe|HMe)}}H7.exports=$Me});var y0=y((UDt,G7)=>{"use strict";function GMe(t){return t}G7.exports=GMe});var Y7=y((zDt,q7)=>{"use strict";function qMe(t){return function(n){return n?.[t]}}q7.exports=qMe});var K7=y((HDt,W7)=>{"use strict";var YMe=Mx();function WMe(t){return function(n){return YMe(n,t)}}W7.exports=WMe});var Q7=y(($Dt,X7)=>{"use strict";var KMe=Y7(),XMe=K7(),QMe=Ix(),ZMe=$u();function JMe(t){return QMe(t)?KMe(ZMe(t)):XMe(t)}X7.exports=JMe});var hd=y((GDt,Z7)=>{"use strict";var eke=V7(),tke=$7(),nke=y0(),ike=Oi(),rke=Q7();function oke(t){return typeof t=="function"?t:t==null?nke:typeof t=="object"?ike(t)?tke(t[0],t[1]):eke(t):rke(t)}Z7.exports=oke});var eX=y((qDt,J7)=>{"use strict";var ake=hd(),ske=pd(),lke=tc();function cke(t){return function(n,e,i){var r=Object(n);if(!ske(n)){var o=ake(e,3);n=lke(n),e=function(s){return o(r[s],s,r)}}var a=t(n,e,i);return a>-1?r[o?n[a]:a]:void 0}}J7.exports=cke});var dL=y((YDt,tX)=>{"use strict";function dke(t,n,e,i){for(var r=t.length,o=e+(i?1:-1);i?o--:++o<r;)if(n(t[o],o,t))return o;return-1}tX.exports=dke});var d_=y((WDt,nX)=>{"use strict";var uke=YF();function fke(t){var n=uke(t),e=n%1;return n===n?e?n-e:n:0}nX.exports=fke});var rX=y((KDt,iX)=>{"use strict";var mke=dL(),pke=hd(),hke=d_(),gke=Math.max;function _ke(t,n,e){var i=t==null?0:t.length;if(!i)return-1;var r=e==null?0:hke(e);return r<0&&(r=gke(i+r,0)),mke(t,pke(n,3),r)}iX.exports=_ke});var aX=y((XDt,oX)=>{"use strict";var vke=eX(),yke=rX(),bke=vke(yke);oX.exports=bke});var lX=y((QDt,sX)=>{"use strict";function Cke(t){return t!==t}sX.exports=Cke});var dX=y((ZDt,cX)=>{"use strict";function Dke(t,n,e){for(var i=e-1,r=t.length;++i<r;)if(t[i]===n)return i;return-1}cX.exports=Dke});var uL=y((JDt,uX)=>{"use strict";var Eke=dL(),Ske=lX(),wke=dX();function xke(t,n,e){return n===n?wke(t,n,e):Eke(t,Ske,e)}uX.exports=xke});var mX=y((eEt,fX)=>{"use strict";var Tke=md(),Ike=Oi(),Ake=na(),Mke="[object String]";function kke(t){return typeof t=="string"||!Ike(t)&&Ake(t)&&Tke(t)==Mke}fX.exports=kke});var hX=y((tEt,pX)=>{"use strict";var Rke=u0();function Pke(t,n){return Rke(n,function(e){return t[e]})}pX.exports=Pke});var _X=y((nEt,gX)=>{"use strict";var Nke=hX(),Oke=tc();function Fke(t){return t==null?[]:Nke(t,Oke(t))}gX.exports=Fke});var yX=y((iEt,vX)=>{"use strict";var Lke=uL(),Vke=pd(),Bke=mX(),jke=d_(),Uke=_X(),zke=Math.max;function Hke(t,n,e,i){t=Vke(t)?t:Uke(t),e=e&&!i?jke(e):0;var r=t.length;return e<0&&(e=zke(r+e,0)),Bke(t)?e<=r&&t.indexOf(n,e)>-1:!!r&&Lke(t,n,e)>-1}vX.exports=Hke});var D0=y(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.regexpCode=In.getEsmExportName=In.getProperty=In.safeStringify=In.stringify=In.strConcat=In.addCodeArg=In.str=In._=In.nil=In._Code=In.Name=In.IDENTIFIER=In._CodeOrName=void 0;var b0=class{};In._CodeOrName=b0;In.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var yp=class extends b0{constructor(n){if(super(),!In.IDENTIFIER.test(n))throw new Error("CodeGen: name must be a valid identifier");this.str=n}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};In.Name=yp;var ys=class extends b0{constructor(n){super(),this._items=typeof n=="string"?[n]:n}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let n=this._items[0];return n===""||n==='""'}get str(){var n;return(n=this._str)!==null&&n!==void 0?n:this._str=this._items.reduce((e,i)=>`${e}${i}`,"")}get names(){var n;return(n=this._names)!==null&&n!==void 0?n:this._names=this._items.reduce((e,i)=>(i instanceof yp&&(e[i.str]=(e[i.str]||0)+1),e),{})}};In._Code=ys;In.nil=new ys("");function bX(t,...n){let e=[t[0]],i=0;for(;i<n.length;)mL(e,n[i]),e.push(t[++i]);return new ys(e)}In._=bX;var fL=new ys("+");function CX(t,...n){let e=[C0(t[0])],i=0;for(;i<n.length;)e.push(fL),mL(e,n[i]),e.push(fL,C0(t[++i]));return $ke(e),new ys(e)}In.str=CX;function mL(t,n){n instanceof ys?t.push(...n._items):n instanceof yp?t.push(n):t.push(Yke(n))}In.addCodeArg=mL;function $ke(t){let n=1;for(;n<t.length-1;){if(t[n]===fL){let e=Gke(t[n-1],t[n+1]);if(e!==void 0){t.splice(n-1,3,e);continue}t[n++]="+"}n++}}function Gke(t,n){if(n==='""')return t;if(t==='""')return n;if(typeof t=="string")return n instanceof yp||t[t.length-1]!=='"'?void 0:typeof n!="string"?`${t.slice(0,-1)}${n}"`:n[0]==='"'?t.slice(0,-1)+n.slice(1):void 0;if(typeof n=="string"&&n[0]==='"'&&!(t instanceof yp))return`"${t}${n.slice(1)}`}function qke(t,n){return n.emptyStr()?t:t.emptyStr()?n:CX`${t}${n}`}In.strConcat=qke;function Yke(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:C0(Array.isArray(t)?t.join(","):t)}function Wke(t){return new ys(C0(t))}In.stringify=Wke;function C0(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}In.safeStringify=C0;function Kke(t){return typeof t=="string"&&In.IDENTIFIER.test(t)?new ys(`.${t}`):bX`[${t}]`}In.getProperty=Kke;function Xke(t){if(typeof t=="string"&&In.IDENTIFIER.test(t))return new ys(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}In.getEsmExportName=Xke;function Qke(t){return new ys(t.toString())}In.regexpCode=Qke});var gL=y(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.ValueScope=ra.ValueScopeName=ra.Scope=ra.varKinds=ra.UsedValueState=void 0;var ia=D0(),pL=class extends Error{constructor(n){super(`CodeGen: "code" for ${n} not defined`),this.value=n.value}},Fx=(function(t){return t[t.Started=0]="Started",t[t.Completed=1]="Completed",t})(Fx||(ra.UsedValueState=Fx={}));ra.varKinds={const:new ia.Name("const"),let:new ia.Name("let"),var:new ia.Name("var")};var Lx=class{constructor({prefixes:n,parent:e}={}){this._names={},this._prefixes=n,this._parent=e}toName(n){return n instanceof ia.Name?n:this.name(n)}name(n){return new ia.Name(this._newName(n))}_newName(n){let e=this._names[n]||this._nameGroup(n);return`${n}${e.index++}`}_nameGroup(n){var e,i;if(!((i=(e=this._parent)===null||e===void 0?void 0:e._prefixes)===null||i===void 0)&&i.has(n)||this._prefixes&&!this._prefixes.has(n))throw new Error(`CodeGen: prefix "${n}" is not allowed in this scope`);return this._names[n]={prefix:n,index:0}}};ra.Scope=Lx;var Vx=class extends ia.Name{constructor(n,e){super(e),this.prefix=n}setValue(n,{property:e,itemIndex:i}){this.value=n,this.scopePath=(0,ia._)`.${new ia.Name(e)}[${i}]`}};ra.ValueScopeName=Vx;var Zke=(0,ia._)`\n`,hL=class extends Lx{constructor(n){super(n),this._values={},this._scope=n.scope,this.opts=Fe(G({},n),{_n:n.lines?Zke:ia.nil})}get(){return this._scope}name(n){return new Vx(n,this._newName(n))}value(n,e){var i;if(e.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(n),{prefix:o}=r,a=(i=e.key)!==null&&i!==void 0?i:e.ref,s=this._values[o];if(s){let d=s.get(a);if(d)return d}else s=this._values[o]=new Map;s.set(a,r);let l=this._scope[o]||(this._scope[o]=[]),c=l.length;return l[c]=e.ref,r.setValue(e,{property:o,itemIndex:c}),r}getValue(n,e){let i=this._values[n];if(i)return i.get(e)}scopeRefs(n,e=this._values){return this._reduceValues(e,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return(0,ia._)`${n}${i.scopePath}`})}scopeCode(n=this._values,e,i){return this._reduceValues(n,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},e,i)}_reduceValues(n,e,i={},r){let o=ia.nil;for(let a in n){let s=n[a];if(!s)continue;let l=i[a]=i[a]||new Map;s.forEach(c=>{if(l.has(c))return;l.set(c,Fx.Started);let d=e(c);if(d){let u=this.opts.es5?ra.varKinds.var:ra.varKinds.const;o=(0,ia._)`${o}${u} ${c} = ${d};${this.opts._n}`}else if(d=r?.(c))o=(0,ia._)`${o}${d}${this.opts._n}`;else throw new pL(c);l.set(c,Fx.Completed)})}return o}};ra.ValueScope=hL});var Xt=y(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.or=sn.and=sn.not=sn.CodeGen=sn.operators=sn.varKinds=sn.ValueScopeName=sn.ValueScope=sn.Scope=sn.Name=sn.regexpCode=sn.stringify=sn.getProperty=sn.nil=sn.strConcat=sn.str=sn._=void 0;var vn=D0(),pl=gL(),Gu=D0();Object.defineProperty(sn,"_",{enumerable:!0,get:function(){return Gu._}});Object.defineProperty(sn,"str",{enumerable:!0,get:function(){return Gu.str}});Object.defineProperty(sn,"strConcat",{enumerable:!0,get:function(){return Gu.strConcat}});Object.defineProperty(sn,"nil",{enumerable:!0,get:function(){return Gu.nil}});Object.defineProperty(sn,"getProperty",{enumerable:!0,get:function(){return Gu.getProperty}});Object.defineProperty(sn,"stringify",{enumerable:!0,get:function(){return Gu.stringify}});Object.defineProperty(sn,"regexpCode",{enumerable:!0,get:function(){return Gu.regexpCode}});Object.defineProperty(sn,"Name",{enumerable:!0,get:function(){return Gu.Name}});var Hx=gL();Object.defineProperty(sn,"Scope",{enumerable:!0,get:function(){return Hx.Scope}});Object.defineProperty(sn,"ValueScope",{enumerable:!0,get:function(){return Hx.ValueScope}});Object.defineProperty(sn,"ValueScopeName",{enumerable:!0,get:function(){return Hx.ValueScopeName}});Object.defineProperty(sn,"varKinds",{enumerable:!0,get:function(){return Hx.varKinds}});sn.operators={GT:new vn._Code(">"),GTE:new vn._Code(">="),LT:new vn._Code("<"),LTE:new vn._Code("<="),EQ:new vn._Code("==="),NEQ:new vn._Code("!=="),NOT:new vn._Code("!"),OR:new vn._Code("||"),AND:new vn._Code("&&"),ADD:new vn._Code("+")};var gd=class{optimizeNodes(){return this}optimizeNames(n,e){return this}},_L=class extends gd{constructor(n,e,i){super(),this.varKind=n,this.name=e,this.rhs=i}render({es5:n,_n:e}){let i=n?pl.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${r};`+e}optimizeNames(n,e){if(n[this.name.str])return this.rhs&&(this.rhs=u_(this.rhs,n,e)),this}get names(){return this.rhs instanceof vn._CodeOrName?this.rhs.names:{}}},jx=class extends gd{constructor(n,e,i){super(),this.lhs=n,this.rhs=e,this.sideEffects=i}render({_n:n}){return`${this.lhs} = ${this.rhs};`+n}optimizeNames(n,e){if(!(this.lhs instanceof vn.Name&&!n[this.lhs.str]&&!this.sideEffects))return this.rhs=u_(this.rhs,n,e),this}get names(){let n=this.lhs instanceof vn.Name?{}:G({},this.lhs.names);return zx(n,this.rhs)}},vL=class extends jx{constructor(n,e,i,r){super(n,i,r),this.op=e}render({_n:n}){return`${this.lhs} ${this.op}= ${this.rhs};`+n}},yL=class extends gd{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`${this.label}:`+n}},bL=class extends gd{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`break${this.label?` ${this.label}`:""};`+n}},CL=class extends gd{constructor(n){super(),this.error=n}render({_n:n}){return`throw ${this.error};`+n}get names(){return this.error.names}},DL=class extends gd{constructor(n){super(),this.code=n}render({_n:n}){return`${this.code};`+n}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(n,e){return this.code=u_(this.code,n,e),this}get names(){return this.code instanceof vn._CodeOrName?this.code.names:{}}},E0=class extends gd{constructor(n=[]){super(),this.nodes=n}render(n){return this.nodes.reduce((e,i)=>e+i.render(n),"")}optimizeNodes(){let{nodes:n}=this,e=n.length;for(;e--;){let i=n[e].optimizeNodes();Array.isArray(i)?n.splice(e,1,...i):i?n[e]=i:n.splice(e,1)}return n.length>0?this:void 0}optimizeNames(n,e){let{nodes:i}=this,r=i.length;for(;r--;){let o=i[r];o.optimizeNames(n,e)||(Jke(n,o.names),i.splice(r,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((n,e)=>bp(n,e.names),{})}},_d=class extends E0{render(n){return"{"+n._n+super.render(n)+"}"+n._n}},EL=class extends E0{},SL=(()=>{class t extends _d{}return t.kind="else",t})(),Bx=(()=>{class t extends _d{constructor(e,i){super(i),this.condition=e}render(e){let i=`if(${this.condition})`+super.render(e);return this.else&&(i+="else "+this.else.render(e)),i}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(e===!0)return this.nodes;let i=this.else;if(i){let r=i.optimizeNodes();i=this.else=Array.isArray(r)?new SL(r):r}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(xX(e),i instanceof t?[i]:i.nodes);if(!(e===!1||!this.nodes.length))return this}optimizeNames(e,i){var r;if(this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,i),!!(super.optimizeNames(e,i)||this.else))return this.condition=u_(this.condition,e,i),this}get names(){let e=super.names;return zx(e,this.condition),this.else&&bp(e,this.else.names),e}}return t.kind="if",t})(),$x=(()=>{class t extends _d{}return t.kind="for",t})(),wL=class extends $x{constructor(n){super(),this.iteration=n}render(n){return`for(${this.iteration})`+super.render(n)}optimizeNames(n,e){if(super.optimizeNames(n,e))return this.iteration=u_(this.iteration,n,e),this}get names(){return bp(super.names,this.iteration.names)}},xL=class extends $x{constructor(n,e,i,r){super(),this.varKind=n,this.name=e,this.from=i,this.to=r}render(n){let e=n.es5?pl.varKinds.var:this.varKind,{name:i,from:r,to:o}=this;return`for(${e} ${i}=${r}; ${i}<${o}; ${i}++)`+super.render(n)}get names(){let n=zx(super.names,this.from);return zx(n,this.to)}},Ux=class extends $x{constructor(n,e,i,r){super(),this.loop=n,this.varKind=e,this.name=i,this.iterable=r}render(n){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(n)}optimizeNames(n,e){if(super.optimizeNames(n,e))return this.iterable=u_(this.iterable,n,e),this}get names(){return bp(super.names,this.iterable.names)}},DX=(()=>{class t extends _d{constructor(e,i,r){super(),this.name=e,this.args=i,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}return t.kind="func",t})(),EX=(()=>{class t extends E0{render(e){return"return "+super.render(e)}}return t.kind="return",t})(),TL=class extends _d{render(n){let e="try"+super.render(n);return this.catch&&(e+=this.catch.render(n)),this.finally&&(e+=this.finally.render(n)),e}optimizeNodes(){var n,e;return super.optimizeNodes(),(n=this.catch)===null||n===void 0||n.optimizeNodes(),(e=this.finally)===null||e===void 0||e.optimizeNodes(),this}optimizeNames(n,e){var i,r;return super.optimizeNames(n,e),(i=this.catch)===null||i===void 0||i.optimizeNames(n,e),(r=this.finally)===null||r===void 0||r.optimizeNames(n,e),this}get names(){let n=super.names;return this.catch&&bp(n,this.catch.names),this.finally&&bp(n,this.finally.names),n}},SX=(()=>{class t extends _d{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}return t.kind="catch",t})(),wX=(()=>{class t extends _d{render(e){return"finally"+super.render(e)}}return t.kind="finally",t})(),IL=class{constructor(n,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts=Fe(G({},e),{_n:e.lines?`
|
|
2
|
+
`:""}),this._extScope=n,this._scope=new pl.Scope({parent:n}),this._nodes=[new EL]}toString(){return this._root.render(this.opts)}name(n){return this._scope.name(n)}scopeName(n){return this._extScope.name(n)}scopeValue(n,e){let i=this._extScope.value(n,e);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}getScopeValue(n,e){return this._extScope.getValue(n,e)}scopeRefs(n){return this._extScope.scopeRefs(n,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(n,e,i,r){let o=this._scope.toName(e);return i!==void 0&&r&&(this._constants[o.str]=i),this._leafNode(new _L(n,o,i)),o}const(n,e,i){return this._def(pl.varKinds.const,n,e,i)}let(n,e,i){return this._def(pl.varKinds.let,n,e,i)}var(n,e,i){return this._def(pl.varKinds.var,n,e,i)}assign(n,e,i){return this._leafNode(new jx(n,e,i))}add(n,e){return this._leafNode(new vL(n,sn.operators.ADD,e))}code(n){return typeof n=="function"?n():n!==vn.nil&&this._leafNode(new DL(n)),this}object(...n){let e=["{"];for(let[i,r]of n)e.length>1&&e.push(","),e.push(i),(i!==r||this.opts.es5)&&(e.push(":"),(0,vn.addCodeArg)(e,r));return e.push("}"),new vn._Code(e)}if(n,e,i){if(this._blockNode(new Bx(n)),e&&i)this.code(e).else().code(i).endIf();else if(e)this.code(e).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(n){return this._elseNode(new Bx(n))}else(){return this._elseNode(new SL)}endIf(){return this._endBlockNode(Bx,SL)}_for(n,e){return this._blockNode(n),e&&this.code(e).endFor(),this}for(n,e){return this._for(new wL(n),e)}forRange(n,e,i,r,o=this.opts.es5?pl.varKinds.var:pl.varKinds.let){let a=this._scope.toName(n);return this._for(new xL(o,a,e,i),()=>r(a))}forOf(n,e,i,r=pl.varKinds.const){let o=this._scope.toName(n);if(this.opts.es5){let a=e instanceof vn.Name?e:this.var("_arr",e);return this.forRange("_i",0,(0,vn._)`${a}.length`,s=>{this.var(o,(0,vn._)`${a}[${s}]`),i(o)})}return this._for(new Ux("of",r,o,e),()=>i(o))}forIn(n,e,i,r=this.opts.es5?pl.varKinds.var:pl.varKinds.const){if(this.opts.ownProperties)return this.forOf(n,(0,vn._)`Object.keys(${e})`,i);let o=this._scope.toName(n);return this._for(new Ux("in",r,o,e),()=>i(o))}endFor(){return this._endBlockNode($x)}label(n){return this._leafNode(new yL(n))}break(n){return this._leafNode(new bL(n))}return(n){let e=new EX;if(this._blockNode(e),this.code(n),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(EX)}try(n,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new TL;if(this._blockNode(r),this.code(n),e){let o=this.name("e");this._currNode=r.catch=new SX(o),e(o)}return i&&(this._currNode=r.finally=new wX,this.code(i)),this._endBlockNode(SX,wX)}throw(n){return this._leafNode(new CL(n))}block(n,e){return this._blockStarts.push(this._nodes.length),n&&this.code(n).endBlock(e),this}endBlock(n){let e=this._blockStarts.pop();if(e===void 0)throw new Error("CodeGen: not in self-balancing block");let i=this._nodes.length-e;if(i<0||n!==void 0&&i!==n)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${n} expected`);return this._nodes.length=e,this}func(n,e=vn.nil,i,r){return this._blockNode(new DX(n,e,i)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(DX)}optimize(n=1){for(;n-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(n){return this._currNode.nodes.push(n),this}_blockNode(n){this._currNode.nodes.push(n),this._nodes.push(n)}_endBlockNode(n,e){let i=this._currNode;if(i instanceof n||e&&i instanceof e)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${e?`${n.kind}/${e.kind}`:n.kind}"`)}_elseNode(n){let e=this._currNode;if(!(e instanceof Bx))throw new Error('CodeGen: "else" without "if"');return this._currNode=e.else=n,this}get _root(){return this._nodes[0]}get _currNode(){let n=this._nodes;return n[n.length-1]}set _currNode(n){let e=this._nodes;e[e.length-1]=n}};sn.CodeGen=IL;function bp(t,n){for(let e in n)t[e]=(t[e]||0)+(n[e]||0);return t}function zx(t,n){return n instanceof vn._CodeOrName?bp(t,n.names):t}function u_(t,n,e){if(t instanceof vn.Name)return i(t);if(!r(t))return t;return new vn._Code(t._items.reduce((o,a)=>(a instanceof vn.Name&&(a=i(a)),a instanceof vn._Code?o.push(...a._items):o.push(a),o),[]));function i(o){let a=e[o.str];return a===void 0||n[o.str]!==1?o:(delete n[o.str],a)}function r(o){return o instanceof vn._Code&&o._items.some(a=>a instanceof vn.Name&&n[a.str]===1&&e[a.str]!==void 0)}}function Jke(t,n){for(let e in n)t[e]=(t[e]||0)-(n[e]||0)}function xX(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,vn._)`!${AL(t)}`}sn.not=xX;var eRe=TX(sn.operators.AND);function tRe(...t){return t.reduce(eRe)}sn.and=tRe;var nRe=TX(sn.operators.OR);function iRe(...t){return t.reduce(nRe)}sn.or=iRe;function TX(t){return(n,e)=>n===vn.nil?e:e===vn.nil?n:(0,vn._)`${AL(n)} ${t} ${AL(e)}`}function AL(t){return t instanceof vn.Name?t:(0,vn._)`(${t})`}});var An=y(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.checkStrictMode=un.getErrorPath=un.Type=un.useFunc=un.setEvaluated=un.evaluatedPropsToName=un.mergeEvaluated=un.eachItem=un.unescapeJsonPointer=un.escapeJsonPointer=un.escapeFragment=un.unescapeFragment=un.schemaRefOrVal=un.schemaHasRulesButRef=un.schemaHasRules=un.checkUnknownRules=un.alwaysValidSchema=un.toHash=void 0;var ei=Xt(),rRe=D0();function oRe(t){let n={};for(let e of t)n[e]=!0;return n}un.toHash=oRe;function aRe(t,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(MX(t,n),!kX(n,t.self.RULES.all))}un.alwaysValidSchema=aRe;function MX(t,n=t.schema){let{opts:e,self:i}=t;if(!e.strictSchema||typeof n=="boolean")return;let r=i.RULES.keywords;for(let o in n)r[o]||NX(t,`unknown keyword: "${o}"`)}un.checkUnknownRules=MX;function kX(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(n[e])return!0;return!1}un.schemaHasRules=kX;function sRe(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&n.all[e])return!0;return!1}un.schemaHasRulesButRef=sRe;function lRe({topSchemaRef:t,schemaPath:n},e,i,r){if(!r){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return(0,ei._)`${e}`}return(0,ei._)`${t}${n}${(0,ei.getProperty)(i)}`}un.schemaRefOrVal=lRe;function cRe(t){return RX(decodeURIComponent(t))}un.unescapeFragment=cRe;function dRe(t){return encodeURIComponent(kL(t))}un.escapeFragment=dRe;function kL(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}un.escapeJsonPointer=kL;function RX(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}un.unescapeJsonPointer=RX;function uRe(t,n){if(Array.isArray(t))for(let e of t)n(e);else n(t)}un.eachItem=uRe;function IX({mergeNames:t,mergeToName:n,mergeValues:e,resultToName:i}){return(r,o,a,s)=>{let l=a===void 0?o:a instanceof ei.Name?(o instanceof ei.Name?t(r,o,a):n(r,o,a),a):o instanceof ei.Name?(n(r,a,o),o):e(o,a);return s===ei.Name&&!(l instanceof ei.Name)?i(r,l):l}}un.mergeEvaluated={props:IX({mergeNames:(t,n,e)=>t.if((0,ei._)`${e} !== true && ${n} !== undefined`,()=>{t.if((0,ei._)`${n} === true`,()=>t.assign(e,!0),()=>t.assign(e,(0,ei._)`${e} || {}`).code((0,ei._)`Object.assign(${e}, ${n})`))}),mergeToName:(t,n,e)=>t.if((0,ei._)`${e} !== true`,()=>{n===!0?t.assign(e,!0):(t.assign(e,(0,ei._)`${e} || {}`),RL(t,e,n))}),mergeValues:(t,n)=>t===!0?!0:G(G({},t),n),resultToName:PX}),items:IX({mergeNames:(t,n,e)=>t.if((0,ei._)`${e} !== true && ${n} !== undefined`,()=>t.assign(e,(0,ei._)`${n} === true ? true : ${e} > ${n} ? ${e} : ${n}`)),mergeToName:(t,n,e)=>t.if((0,ei._)`${e} !== true`,()=>t.assign(e,n===!0?!0:(0,ei._)`${e} > ${n} ? ${e} : ${n}`)),mergeValues:(t,n)=>t===!0?!0:Math.max(t,n),resultToName:(t,n)=>t.var("items",n)})};function PX(t,n){if(n===!0)return t.var("props",!0);let e=t.var("props",(0,ei._)`{}`);return n!==void 0&&RL(t,e,n),e}un.evaluatedPropsToName=PX;function RL(t,n,e){Object.keys(e).forEach(i=>t.assign((0,ei._)`${n}${(0,ei.getProperty)(i)}`,!0))}un.setEvaluated=RL;var AX={};function fRe(t,n){return t.scopeValue("func",{ref:n,code:AX[n.code]||(AX[n.code]=new rRe._Code(n.code))})}un.useFunc=fRe;var ML=(function(t){return t[t.Num=0]="Num",t[t.Str=1]="Str",t})(ML||(un.Type=ML={}));function mRe(t,n,e){if(t instanceof ei.Name){let i=n===ML.Num;return e?i?(0,ei._)`"[" + ${t} + "]"`:(0,ei._)`"['" + ${t} + "']"`:i?(0,ei._)`"/" + ${t}`:(0,ei._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?(0,ei.getProperty)(t).toString():"/"+kL(t)}un.getErrorPath=mRe;function NX(t,n,e=t.opts.strictSchema){if(e){if(n=`strict mode: ${n}`,e===!0)throw new Error(n);t.self.logger.warn(n)}}un.checkStrictMode=NX});var vd=y(PL=>{"use strict";Object.defineProperty(PL,"__esModule",{value:!0});var so=Xt(),pRe={data:new so.Name("data"),valCxt:new so.Name("valCxt"),instancePath:new so.Name("instancePath"),parentData:new so.Name("parentData"),parentDataProperty:new so.Name("parentDataProperty"),rootData:new so.Name("rootData"),dynamicAnchors:new so.Name("dynamicAnchors"),vErrors:new so.Name("vErrors"),errors:new so.Name("errors"),this:new so.Name("this"),self:new so.Name("self"),scope:new so.Name("scope"),json:new so.Name("json"),jsonPos:new so.Name("jsonPos"),jsonLen:new so.Name("jsonLen"),jsonPart:new so.Name("jsonPart")};PL.default=pRe});var S0=y(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.extendErrors=lo.resetErrorsCount=lo.reportExtraError=lo.reportError=lo.keyword$DataError=lo.keywordError=void 0;var wn=Xt(),Gx=An(),Ro=vd();lo.keywordError={message:({keyword:t})=>(0,wn.str)`must pass "${t}" keyword validation`};lo.keyword$DataError={message:({keyword:t,schemaType:n})=>n?(0,wn.str)`"${t}" keyword must be ${n} ($data)`:(0,wn.str)`"${t}" keyword is invalid ($data)`};function hRe(t,n=lo.keywordError,e,i){let{it:r}=t,{gen:o,compositeRule:a,allErrors:s}=r,l=LX(t,n,e);i??(a||s)?OX(o,l):FX(r,(0,wn._)`[${l}]`)}lo.reportError=hRe;function gRe(t,n=lo.keywordError,e){let{it:i}=t,{gen:r,compositeRule:o,allErrors:a}=i,s=LX(t,n,e);OX(r,s),o||a||FX(i,Ro.default.vErrors)}lo.reportExtraError=gRe;function _Re(t,n){t.assign(Ro.default.errors,n),t.if((0,wn._)`${Ro.default.vErrors} !== null`,()=>t.if(n,()=>t.assign((0,wn._)`${Ro.default.vErrors}.length`,n),()=>t.assign(Ro.default.vErrors,null)))}lo.resetErrorsCount=_Re;function vRe({gen:t,keyword:n,schemaValue:e,data:i,errsCount:r,it:o}){if(r===void 0)throw new Error("ajv implementation error");let a=t.name("err");t.forRange("i",r,Ro.default.errors,s=>{t.const(a,(0,wn._)`${Ro.default.vErrors}[${s}]`),t.if((0,wn._)`${a}.instancePath === undefined`,()=>t.assign((0,wn._)`${a}.instancePath`,(0,wn.strConcat)(Ro.default.instancePath,o.errorPath))),t.assign((0,wn._)`${a}.schemaPath`,(0,wn.str)`${o.errSchemaPath}/${n}`),o.opts.verbose&&(t.assign((0,wn._)`${a}.schema`,e),t.assign((0,wn._)`${a}.data`,i))})}lo.extendErrors=vRe;function OX(t,n){let e=t.const("err",n);t.if((0,wn._)`${Ro.default.vErrors} === null`,()=>t.assign(Ro.default.vErrors,(0,wn._)`[${e}]`),(0,wn._)`${Ro.default.vErrors}.push(${e})`),t.code((0,wn._)`${Ro.default.errors}++`)}function FX(t,n){let{gen:e,validateName:i,schemaEnv:r}=t;r.$async?e.throw((0,wn._)`new ${t.ValidationError}(${n})`):(e.assign((0,wn._)`${i}.errors`,n),e.return(!1))}var Cp={keyword:new wn.Name("keyword"),schemaPath:new wn.Name("schemaPath"),params:new wn.Name("params"),propertyName:new wn.Name("propertyName"),message:new wn.Name("message"),schema:new wn.Name("schema"),parentSchema:new wn.Name("parentSchema")};function LX(t,n,e){let{createErrors:i}=t.it;return i===!1?(0,wn._)`{}`:yRe(t,n,e)}function yRe(t,n,e={}){let{gen:i,it:r}=t,o=[bRe(r,e),CRe(t,e)];return DRe(t,n,o),i.object(...o)}function bRe({errorPath:t},{instancePath:n}){let e=n?(0,wn.str)`${t}${(0,Gx.getErrorPath)(n,Gx.Type.Str)}`:t;return[Ro.default.instancePath,(0,wn.strConcat)(Ro.default.instancePath,e)]}function CRe({keyword:t,it:{errSchemaPath:n}},{schemaPath:e,parentSchema:i}){let r=i?n:(0,wn.str)`${n}/${t}`;return e&&(r=(0,wn.str)`${r}${(0,Gx.getErrorPath)(e,Gx.Type.Str)}`),[Cp.schemaPath,r]}function DRe(t,{params:n,message:e},i){let{keyword:r,data:o,schemaValue:a,it:s}=t,{opts:l,propertyName:c,topSchemaRef:d,schemaPath:u}=s;i.push([Cp.keyword,r],[Cp.params,typeof n=="function"?n(t):n||(0,wn._)`{}`]),l.messages&&i.push([Cp.message,typeof e=="function"?e(t):e]),l.verbose&&i.push([Cp.schema,a],[Cp.parentSchema,(0,wn._)`${d}${u}`],[Ro.default.data,o]),c&&i.push([Cp.propertyName,c])}});var BX=y(f_=>{"use strict";Object.defineProperty(f_,"__esModule",{value:!0});f_.boolOrEmptySchema=f_.topBoolOrEmptySchema=void 0;var ERe=S0(),SRe=Xt(),wRe=vd(),xRe={message:"boolean schema is false"};function TRe(t){let{gen:n,schema:e,validateName:i}=t;e===!1?VX(t,!1):typeof e=="object"&&e.$async===!0?n.return(wRe.default.data):(n.assign((0,SRe._)`${i}.errors`,null),n.return(!0))}f_.topBoolOrEmptySchema=TRe;function IRe(t,n){let{gen:e,schema:i}=t;i===!1?(e.var(n,!1),VX(t)):e.var(n,!0)}f_.boolOrEmptySchema=IRe;function VX(t,n){let{gen:e,data:i}=t,r={gen:e,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:t};(0,ERe.reportError)(r,xRe,void 0,n)}});var NL=y(m_=>{"use strict";Object.defineProperty(m_,"__esModule",{value:!0});m_.getRules=m_.isJSONType=void 0;var ARe=["string","number","integer","boolean","null","object","array"],MRe=new Set(ARe);function kRe(t){return typeof t=="string"&&MRe.has(t)}m_.isJSONType=kRe;function RRe(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:Fe(G({},t),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}m_.getRules=RRe});var OL=y(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.shouldUseRule=qu.shouldUseGroup=qu.schemaHasRulesForType=void 0;function PRe({schema:t,self:n},e){let i=n.RULES.types[e];return i&&i!==!0&&jX(t,i)}qu.schemaHasRulesForType=PRe;function jX(t,n){return n.rules.some(e=>UX(t,e))}qu.shouldUseGroup=jX;function UX(t,n){var e;return t[n.keyword]!==void 0||((e=n.definition.implements)===null||e===void 0?void 0:e.some(i=>t[i]!==void 0))}qu.shouldUseRule=UX});var w0=y(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.reportTypeError=co.checkDataTypes=co.checkDataType=co.coerceAndCheckDataType=co.getJSONTypes=co.getSchemaTypes=co.DataType=void 0;var NRe=NL(),ORe=OL(),FRe=S0(),tn=Xt(),zX=An(),p_=(function(t){return t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong",t})(p_||(co.DataType=p_={}));function LRe(t){let n=HX(t.type);if(n.includes("null")){if(t.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!n.length&&t.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');t.nullable===!0&&n.push("null")}return n}co.getSchemaTypes=LRe;function HX(t){let n=Array.isArray(t)?t:t?[t]:[];if(n.every(NRe.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}co.getJSONTypes=HX;function VRe(t,n){let{gen:e,data:i,opts:r}=t,o=BRe(n,r.coerceTypes),a=n.length>0&&!(o.length===0&&n.length===1&&(0,ORe.schemaHasRulesForType)(t,n[0]));if(a){let s=LL(n,i,r.strictNumbers,p_.Wrong);e.if(s,()=>{o.length?jRe(t,n,o):VL(t)})}return a}co.coerceAndCheckDataType=VRe;var $X=new Set(["string","number","integer","boolean","null"]);function BRe(t,n){return n?t.filter(e=>$X.has(e)||n==="array"&&e==="array"):[]}function jRe(t,n,e){let{gen:i,data:r,opts:o}=t,a=i.let("dataType",(0,tn._)`typeof ${r}`),s=i.let("coerced",(0,tn._)`undefined`);o.coerceTypes==="array"&&i.if((0,tn._)`${a} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>i.assign(r,(0,tn._)`${r}[0]`).assign(a,(0,tn._)`typeof ${r}`).if(LL(n,r,o.strictNumbers),()=>i.assign(s,r))),i.if((0,tn._)`${s} !== undefined`);for(let c of e)($X.has(c)||c==="array"&&o.coerceTypes==="array")&&l(c);i.else(),VL(t),i.endIf(),i.if((0,tn._)`${s} !== undefined`,()=>{i.assign(r,s),URe(t,s)});function l(c){switch(c){case"string":i.elseIf((0,tn._)`${a} == "number" || ${a} == "boolean"`).assign(s,(0,tn._)`"" + ${r}`).elseIf((0,tn._)`${r} === null`).assign(s,(0,tn._)`""`);return;case"number":i.elseIf((0,tn._)`${a} == "boolean" || ${r} === null
|
|
3
|
+
|| (${a} == "string" && ${r} && ${r} == +${r})`).assign(s,(0,tn._)`+${r}`);return;case"integer":i.elseIf((0,tn._)`${a} === "boolean" || ${r} === null
|
|
4
|
+
|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(s,(0,tn._)`+${r}`);return;case"boolean":i.elseIf((0,tn._)`${r} === "false" || ${r} === 0 || ${r} === null`).assign(s,!1).elseIf((0,tn._)`${r} === "true" || ${r} === 1`).assign(s,!0);return;case"null":i.elseIf((0,tn._)`${r} === "" || ${r} === 0 || ${r} === false`),i.assign(s,null);return;case"array":i.elseIf((0,tn._)`${a} === "string" || ${a} === "number"
|
|
5
|
+
|| ${a} === "boolean" || ${r} === null`).assign(s,(0,tn._)`[${r}]`)}}}function URe({gen:t,parentData:n,parentDataProperty:e},i){t.if((0,tn._)`${n} !== undefined`,()=>t.assign((0,tn._)`${n}[${e}]`,i))}function FL(t,n,e,i=p_.Correct){let r=i===p_.Correct?tn.operators.EQ:tn.operators.NEQ,o;switch(t){case"null":return(0,tn._)`${n} ${r} null`;case"array":o=(0,tn._)`Array.isArray(${n})`;break;case"object":o=(0,tn._)`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":o=a((0,tn._)`!(${n} % 1) && !isNaN(${n})`);break;case"number":o=a();break;default:return(0,tn._)`typeof ${n} ${r} ${t}`}return i===p_.Correct?o:(0,tn.not)(o);function a(s=tn.nil){return(0,tn.and)((0,tn._)`typeof ${n} == "number"`,s,e?(0,tn._)`isFinite(${n})`:tn.nil)}}co.checkDataType=FL;function LL(t,n,e,i){if(t.length===1)return FL(t[0],n,e,i);let r,o=(0,zX.toHash)(t);if(o.array&&o.object){let a=(0,tn._)`typeof ${n} != "object"`;r=o.null?a:(0,tn._)`!${n} || ${a}`,delete o.null,delete o.array,delete o.object}else r=tn.nil;o.number&&delete o.integer;for(let a in o)r=(0,tn.and)(r,FL(a,n,e,i));return r}co.checkDataTypes=LL;var zRe={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:n})=>typeof t=="string"?(0,tn._)`{type: ${t}}`:(0,tn._)`{type: ${n}}`};function VL(t){let n=HRe(t);(0,FRe.reportError)(n,zRe)}co.reportTypeError=VL;function HRe(t){let{gen:n,data:e,schema:i}=t,r=(0,zX.schemaRefOrVal)(t,i,"type");return{gen:n,keyword:"type",data:e,schema:i.type,schemaCode:r,schemaValue:r,parentSchema:i,params:{},it:t}}});var qX=y(qx=>{"use strict";Object.defineProperty(qx,"__esModule",{value:!0});qx.assignDefaults=void 0;var h_=Xt(),$Re=An();function GRe(t,n){let{properties:e,items:i}=t.schema;if(n==="object"&&e)for(let r in e)GX(t,r,e[r].default);else n==="array"&&Array.isArray(i)&&i.forEach((r,o)=>GX(t,o,r.default))}qx.assignDefaults=GRe;function GX(t,n,e){let{gen:i,compositeRule:r,data:o,opts:a}=t;if(e===void 0)return;let s=(0,h_._)`${o}${(0,h_.getProperty)(n)}`;if(r){(0,$Re.checkStrictMode)(t,`default is ignored for: ${s}`);return}let l=(0,h_._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,h_._)`${l} || ${s} === null || ${s} === ""`),i.if(l,(0,h_._)`${s} = ${(0,h_.stringify)(e)}`)}});var bs=y(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.validateUnion=Kn.validateArray=Kn.usePattern=Kn.callValidateCode=Kn.schemaProperties=Kn.allSchemaProperties=Kn.noPropertyInData=Kn.propertyInData=Kn.isOwnProperty=Kn.hasPropFunc=Kn.reportMissingProp=Kn.checkMissingProp=Kn.checkReportMissingProp=void 0;var fi=Xt(),BL=An(),Yu=vd(),qRe=An();function YRe(t,n){let{gen:e,data:i,it:r}=t;e.if(UL(e,i,n,r.opts.ownProperties),()=>{t.setParams({missingProperty:(0,fi._)`${n}`},!0),t.error()})}Kn.checkReportMissingProp=YRe;function WRe({gen:t,data:n,it:{opts:e}},i,r){return(0,fi.or)(...i.map(o=>(0,fi.and)(UL(t,n,o,e.ownProperties),(0,fi._)`${r} = ${o}`)))}Kn.checkMissingProp=WRe;function KRe(t,n){t.setParams({missingProperty:n},!0),t.error()}Kn.reportMissingProp=KRe;function YX(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,fi._)`Object.prototype.hasOwnProperty`})}Kn.hasPropFunc=YX;function jL(t,n,e){return(0,fi._)`${YX(t)}.call(${n}, ${e})`}Kn.isOwnProperty=jL;function XRe(t,n,e,i){let r=(0,fi._)`${n}${(0,fi.getProperty)(e)} !== undefined`;return i?(0,fi._)`${r} && ${jL(t,n,e)}`:r}Kn.propertyInData=XRe;function UL(t,n,e,i){let r=(0,fi._)`${n}${(0,fi.getProperty)(e)} === undefined`;return i?(0,fi.or)(r,(0,fi.not)(jL(t,n,e))):r}Kn.noPropertyInData=UL;function WX(t){return t?Object.keys(t).filter(n=>n!=="__proto__"):[]}Kn.allSchemaProperties=WX;function QRe(t,n){return WX(n).filter(e=>!(0,BL.alwaysValidSchema)(t,n[e]))}Kn.schemaProperties=QRe;function ZRe({schemaCode:t,data:n,it:{gen:e,topSchemaRef:i,schemaPath:r,errorPath:o},it:a},s,l,c){let d=c?(0,fi._)`${t}, ${n}, ${i}${r}`:n,u=[[Yu.default.instancePath,(0,fi.strConcat)(Yu.default.instancePath,o)],[Yu.default.parentData,a.parentData],[Yu.default.parentDataProperty,a.parentDataProperty],[Yu.default.rootData,Yu.default.rootData]];a.opts.dynamicRef&&u.push([Yu.default.dynamicAnchors,Yu.default.dynamicAnchors]);let m=(0,fi._)`${d}, ${e.object(...u)}`;return l!==fi.nil?(0,fi._)`${s}.call(${l}, ${m})`:(0,fi._)`${s}(${m})`}Kn.callValidateCode=ZRe;var JRe=(0,fi._)`new RegExp`;function ePe({gen:t,it:{opts:n}},e){let i=n.unicodeRegExp?"u":"",{regExp:r}=n.code,o=r(e,i);return t.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,fi._)`${r.code==="new RegExp"?JRe:(0,qRe.useFunc)(t,r)}(${e}, ${i})`})}Kn.usePattern=ePe;function tPe(t){let{gen:n,data:e,keyword:i,it:r}=t,o=n.name("valid");if(r.allErrors){let s=n.let("valid",!0);return a(()=>n.assign(s,!1)),s}return n.var(o,!0),a(()=>n.break()),o;function a(s){let l=n.const("len",(0,fi._)`${e}.length`);n.forRange("i",0,l,c=>{t.subschema({keyword:i,dataProp:c,dataPropType:BL.Type.Num},o),n.if((0,fi.not)(o),s)})}}Kn.validateArray=tPe;function nPe(t){let{gen:n,schema:e,keyword:i,it:r}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(e.some(l=>(0,BL.alwaysValidSchema)(r,l))&&!r.opts.unevaluated)return;let a=n.let("valid",!1),s=n.name("_valid");n.block(()=>e.forEach((l,c)=>{let d=t.subschema({keyword:i,schemaProp:c,compositeRule:!0},s);n.assign(a,(0,fi._)`${a} || ${s}`),t.mergeValidEvaluated(d,s)||n.if((0,fi.not)(a))})),t.result(a,()=>t.reset(),()=>t.error(!0))}Kn.validateUnion=nPe});var QX=y(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.validateKeywordUsage=nc.validSchemaType=nc.funcKeywordCode=nc.macroKeywordCode=void 0;var Po=Xt(),Dp=vd(),iPe=bs(),rPe=S0();function oPe(t,n){let{gen:e,keyword:i,schema:r,parentSchema:o,it:a}=t,s=n.macro.call(a.self,r,o,a),l=XX(e,i,s);a.opts.validateSchema!==!1&&a.self.validateSchema(s,!0);let c=e.name("valid");t.subschema({schema:s,schemaPath:Po.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}nc.macroKeywordCode=oPe;function aPe(t,n){var e;let{gen:i,keyword:r,schema:o,parentSchema:a,$data:s,it:l}=t;lPe(l,n);let c=!s&&n.compile?n.compile.call(l.self,o,a,l):n.validate,d=XX(i,r,c),u=i.let("valid");t.block$data(u,m),t.ok((e=n.valid)!==null&&e!==void 0?e:u);function m(){if(n.errors===!1)g(),n.modifying&&KX(t),_(()=>t.error());else{let v=n.async?f():p();n.modifying&&KX(t),_(()=>sPe(t,v))}}function f(){let v=i.let("ruleErrs",null);return i.try(()=>g((0,Po._)`await `),D=>i.assign(u,!1).if((0,Po._)`${D} instanceof ${l.ValidationError}`,()=>i.assign(v,(0,Po._)`${D}.errors`),()=>i.throw(D))),v}function p(){let v=(0,Po._)`${d}.errors`;return i.assign(v,null),g(Po.nil),v}function g(v=n.async?(0,Po._)`await `:Po.nil){let D=l.opts.passContext?Dp.default.this:Dp.default.self,O=!("compile"in n&&!s||n.schema===!1);i.assign(u,(0,Po._)`${v}${(0,iPe.callValidateCode)(t,d,D,O)}`,n.modifying)}function _(v){var D;i.if((0,Po.not)((D=n.valid)!==null&&D!==void 0?D:u),v)}}nc.funcKeywordCode=aPe;function KX(t){let{gen:n,data:e,it:i}=t;n.if(i.parentData,()=>n.assign(e,(0,Po._)`${i.parentData}[${i.parentDataProperty}]`))}function sPe(t,n){let{gen:e}=t;e.if((0,Po._)`Array.isArray(${n})`,()=>{e.assign(Dp.default.vErrors,(0,Po._)`${Dp.default.vErrors} === null ? ${n} : ${Dp.default.vErrors}.concat(${n})`).assign(Dp.default.errors,(0,Po._)`${Dp.default.vErrors}.length`),(0,rPe.extendErrors)(t)},()=>t.error())}function lPe({schemaEnv:t},n){if(n.async&&!t.$async)throw new Error("async keyword in sync schema")}function XX(t,n,e){if(e===void 0)throw new Error(`keyword "${n}" failed to compile`);return t.scopeValue("keyword",typeof e=="function"?{ref:e}:{ref:e,code:(0,Po.stringify)(e)})}function cPe(t,n,e=!1){return!n.length||n.some(i=>i==="array"?Array.isArray(t):i==="object"?t&&typeof t=="object"&&!Array.isArray(t):typeof t==i||e&&typeof t>"u")}nc.validSchemaType=cPe;function dPe({schema:t,opts:n,self:e,errSchemaPath:i},r,o){if(Array.isArray(r.keyword)?!r.keyword.includes(o):r.keyword!==o)throw new Error("ajv implementation error");let a=r.dependencies;if(a?.some(s=>!Object.prototype.hasOwnProperty.call(t,s)))throw new Error(`parent schema must have dependencies of ${o}: ${a.join(",")}`);if(r.validateSchema&&!r.validateSchema(t[o])){let l=`keyword "${o}" value is invalid at path "${i}": `+e.errorsText(r.validateSchema.errors);if(n.validateSchema==="log")e.logger.error(l);else throw new Error(l)}}nc.validateKeywordUsage=dPe});var JX=y(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.extendSubschemaMode=Wu.extendSubschemaData=Wu.getSubschema=void 0;var ic=Xt(),ZX=An();function uPe(t,{keyword:n,schemaProp:e,schema:i,schemaPath:r,errSchemaPath:o,topSchemaRef:a}){if(n!==void 0&&i!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(n!==void 0){let s=t.schema[n];return e===void 0?{schema:s,schemaPath:(0,ic._)`${t.schemaPath}${(0,ic.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${n}`}:{schema:s[e],schemaPath:(0,ic._)`${t.schemaPath}${(0,ic.getProperty)(n)}${(0,ic.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${n}/${(0,ZX.escapeFragment)(e)}`}}if(i!==void 0){if(r===void 0||o===void 0||a===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:r,topSchemaRef:a,errSchemaPath:o}}throw new Error('either "keyword" or "schema" must be passed')}Wu.getSubschema=uPe;function fPe(t,n,{dataProp:e,dataPropType:i,data:r,dataTypes:o,propertyName:a}){if(r!==void 0&&e!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:s}=n;if(e!==void 0){let{errorPath:c,dataPathArr:d,opts:u}=n,m=s.let("data",(0,ic._)`${n.data}${(0,ic.getProperty)(e)}`,!0);l(m),t.errorPath=(0,ic.str)`${c}${(0,ZX.getErrorPath)(e,i,u.jsPropertySyntax)}`,t.parentDataProperty=(0,ic._)`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(r!==void 0){let c=r instanceof ic.Name?r:s.let("data",r,!0);l(c),a!==void 0&&(t.propertyName=a)}o&&(t.dataTypes=o);function l(c){t.data=c,t.dataLevel=n.dataLevel+1,t.dataTypes=[],n.definedProperties=new Set,t.parentData=n.data,t.dataNames=[...n.dataNames,c]}}Wu.extendSubschemaData=fPe;function mPe(t,{jtdDiscriminator:n,jtdMetadata:e,compositeRule:i,createErrors:r,allErrors:o}){i!==void 0&&(t.compositeRule=i),r!==void 0&&(t.createErrors=r),o!==void 0&&(t.allErrors=o),t.jtdDiscriminator=n,t.jtdMetadata=e}Wu.extendSubschemaMode=mPe});var zL=y((DEt,eQ)=>{"use strict";eQ.exports=function t(n,e){if(n===e)return!0;if(n&&e&&typeof n=="object"&&typeof e=="object"){if(n.constructor!==e.constructor)return!1;var i,r,o;if(Array.isArray(n)){if(i=n.length,i!=e.length)return!1;for(r=i;r--!==0;)if(!t(n[r],e[r]))return!1;return!0}if(n.constructor===RegExp)return n.source===e.source&&n.flags===e.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===e.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===e.toString();if(o=Object.keys(n),i=o.length,i!==Object.keys(e).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;for(r=i;r--!==0;){var a=o[r];if(!t(n[a],e[a]))return!1}return!0}return n!==n&&e!==e}});var nQ=y((EEt,tQ)=>{"use strict";var Ku=tQ.exports=function(t,n,e){typeof n=="function"&&(e=n,n={}),e=n.cb||e;var i=typeof e=="function"?e:e.pre||function(){},r=e.post||function(){};Yx(n,i,r,t,"",t)};Ku.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Ku.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ku.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ku.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function Yx(t,n,e,i,r,o,a,s,l,c){if(i&&typeof i=="object"&&!Array.isArray(i)){n(i,r,o,a,s,l,c);for(var d in i){var u=i[d];if(Array.isArray(u)){if(d in Ku.arrayKeywords)for(var m=0;m<u.length;m++)Yx(t,n,e,u[m],r+"/"+d+"/"+m,o,r,d,i,m)}else if(d in Ku.propsKeywords){if(u&&typeof u=="object")for(var f in u)Yx(t,n,e,u[f],r+"/"+d+"/"+pPe(f),o,r,d,i,f)}else(d in Ku.keywords||t.allKeys&&!(d in Ku.skipKeywords))&&Yx(t,n,e,u,r+"/"+d,o,r,d,i)}e(i,r,o,a,s,l,c)}}function pPe(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var x0=y(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.getSchemaRefs=oa.resolveUrl=oa.normalizeId=oa._getFullPath=oa.getFullPath=oa.inlineRef=void 0;var hPe=An(),gPe=zL(),_Pe=nQ(),vPe=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function yPe(t,n=!0){return typeof t=="boolean"?!0:n===!0?!HL(t):n?iQ(t)<=n:!1}oa.inlineRef=yPe;var bPe=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function HL(t){for(let n in t){if(bPe.has(n))return!0;let e=t[n];if(Array.isArray(e)&&e.some(HL)||typeof e=="object"&&HL(e))return!0}return!1}function iQ(t){let n=0;for(let e in t){if(e==="$ref")return 1/0;if(n++,!vPe.has(e)&&(typeof t[e]=="object"&&(0,hPe.eachItem)(t[e],i=>n+=iQ(i)),n===1/0))return 1/0}return n}function rQ(t,n="",e){e!==!1&&(n=g_(n));let i=t.parse(n);return oQ(t,i)}oa.getFullPath=rQ;function oQ(t,n){return t.serialize(n).split("#")[0]+"#"}oa._getFullPath=oQ;var CPe=/#\/?$/;function g_(t){return t?t.replace(CPe,""):""}oa.normalizeId=g_;function DPe(t,n,e){return e=g_(e),t.resolve(n,e)}oa.resolveUrl=DPe;var EPe=/^[a-z_][-a-z0-9._]*$/i;function SPe(t,n){if(typeof t=="boolean")return{};let{schemaId:e,uriResolver:i}=this.opts,r=g_(t[e]||n),o={"":r},a=rQ(i,r,!1),s={},l=new Set;return _Pe(t,{allKeys:!0},(u,m,f,p)=>{if(p===void 0)return;let g=a+m,_=o[p];typeof u[e]=="string"&&(_=v.call(this,u[e])),D.call(this,u.$anchor),D.call(this,u.$dynamicAnchor),o[m]=_;function v(O){let B=this.opts.uriResolver.resolve;if(O=g_(_?B(_,O):O),l.has(O))throw d(O);l.add(O);let F=this.refs[O];return typeof F=="string"&&(F=this.refs[F]),typeof F=="object"?c(u,F.schema,O):O!==g_(g)&&(O[0]==="#"?(c(u,s[O],O),s[O]=u):this.refs[O]=g),O}function D(O){if(typeof O=="string"){if(!EPe.test(O))throw new Error(`invalid anchor "${O}"`);v.call(this,`#${O}`)}}}),s;function c(u,m,f){if(m!==void 0&&!gPe(u,m))throw d(f)}function d(u){return new Error(`reference "${u}" resolves to more than one schema`)}}oa.getSchemaRefs=SPe});var A0=y(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.getData=Xu.KeywordCxt=Xu.validateFunctionCode=void 0;var dQ=BX(),aQ=w0(),GL=OL(),Wx=w0(),wPe=qX(),I0=QX(),$L=JX(),gt=Xt(),jt=vd(),xPe=x0(),yd=An(),T0=S0();function TPe(t){if(mQ(t)&&(pQ(t),fQ(t))){MPe(t);return}uQ(t,()=>(0,dQ.topBoolOrEmptySchema)(t))}Xu.validateFunctionCode=TPe;function uQ({gen:t,validateName:n,schema:e,schemaEnv:i,opts:r},o){r.code.es5?t.func(n,(0,gt._)`${jt.default.data}, ${jt.default.valCxt}`,i.$async,()=>{t.code((0,gt._)`"use strict"; ${sQ(e,r)}`),APe(t,r),t.code(o)}):t.func(n,(0,gt._)`${jt.default.data}, ${IPe(r)}`,i.$async,()=>t.code(sQ(e,r)).code(o))}function IPe(t){return(0,gt._)`{${jt.default.instancePath}="", ${jt.default.parentData}, ${jt.default.parentDataProperty}, ${jt.default.rootData}=${jt.default.data}${t.dynamicRef?(0,gt._)`, ${jt.default.dynamicAnchors}={}`:gt.nil}}={}`}function APe(t,n){t.if(jt.default.valCxt,()=>{t.var(jt.default.instancePath,(0,gt._)`${jt.default.valCxt}.${jt.default.instancePath}`),t.var(jt.default.parentData,(0,gt._)`${jt.default.valCxt}.${jt.default.parentData}`),t.var(jt.default.parentDataProperty,(0,gt._)`${jt.default.valCxt}.${jt.default.parentDataProperty}`),t.var(jt.default.rootData,(0,gt._)`${jt.default.valCxt}.${jt.default.rootData}`),n.dynamicRef&&t.var(jt.default.dynamicAnchors,(0,gt._)`${jt.default.valCxt}.${jt.default.dynamicAnchors}`)},()=>{t.var(jt.default.instancePath,(0,gt._)`""`),t.var(jt.default.parentData,(0,gt._)`undefined`),t.var(jt.default.parentDataProperty,(0,gt._)`undefined`),t.var(jt.default.rootData,jt.default.data),n.dynamicRef&&t.var(jt.default.dynamicAnchors,(0,gt._)`{}`)})}function MPe(t){let{schema:n,opts:e,gen:i}=t;uQ(t,()=>{e.$comment&&n.$comment&&gQ(t),OPe(t),i.let(jt.default.vErrors,null),i.let(jt.default.errors,0),e.unevaluated&&kPe(t),hQ(t),VPe(t)})}function kPe(t){let{gen:n,validateName:e}=t;t.evaluated=n.const("evaluated",(0,gt._)`${e}.evaluated`),n.if((0,gt._)`${t.evaluated}.dynamicProps`,()=>n.assign((0,gt._)`${t.evaluated}.props`,(0,gt._)`undefined`)),n.if((0,gt._)`${t.evaluated}.dynamicItems`,()=>n.assign((0,gt._)`${t.evaluated}.items`,(0,gt._)`undefined`))}function sQ(t,n){let e=typeof t=="object"&&t[n.schemaId];return e&&(n.code.source||n.code.process)?(0,gt._)`/*# sourceURL=${e} */`:gt.nil}function RPe(t,n){if(mQ(t)&&(pQ(t),fQ(t))){PPe(t,n);return}(0,dQ.boolOrEmptySchema)(t,n)}function fQ({schema:t,self:n}){if(typeof t=="boolean")return!t;for(let e in t)if(n.RULES.all[e])return!0;return!1}function mQ(t){return typeof t.schema!="boolean"}function PPe(t,n){let{schema:e,gen:i,opts:r}=t;r.$comment&&e.$comment&&gQ(t),FPe(t),LPe(t);let o=i.const("_errs",jt.default.errors);hQ(t,o),i.var(n,(0,gt._)`${o} === ${jt.default.errors}`)}function pQ(t){(0,yd.checkUnknownRules)(t),NPe(t)}function hQ(t,n){if(t.opts.jtd)return lQ(t,[],!1,n);let e=(0,aQ.getSchemaTypes)(t.schema),i=(0,aQ.coerceAndCheckDataType)(t,e);lQ(t,e,!i,n)}function NPe(t){let{schema:n,errSchemaPath:e,opts:i,self:r}=t;n.$ref&&i.ignoreKeywordsWithRef&&(0,yd.schemaHasRulesButRef)(n,r.RULES)&&r.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function OPe(t){let{schema:n,opts:e}=t;n.default!==void 0&&e.useDefaults&&e.strictSchema&&(0,yd.checkStrictMode)(t,"default is ignored in the schema root")}function FPe(t){let n=t.schema[t.opts.schemaId];n&&(t.baseId=(0,xPe.resolveUrl)(t.opts.uriResolver,t.baseId,n))}function LPe(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function gQ({gen:t,schemaEnv:n,schema:e,errSchemaPath:i,opts:r}){let o=e.$comment;if(r.$comment===!0)t.code((0,gt._)`${jt.default.self}.logger.log(${o})`);else if(typeof r.$comment=="function"){let a=(0,gt.str)`${i}/$comment`,s=t.scopeValue("root",{ref:n.root});t.code((0,gt._)`${jt.default.self}.opts.$comment(${o}, ${a}, ${s}.schema)`)}}function VPe(t){let{gen:n,schemaEnv:e,validateName:i,ValidationError:r,opts:o}=t;e.$async?n.if((0,gt._)`${jt.default.errors} === 0`,()=>n.return(jt.default.data),()=>n.throw((0,gt._)`new ${r}(${jt.default.vErrors})`)):(n.assign((0,gt._)`${i}.errors`,jt.default.vErrors),o.unevaluated&&BPe(t),n.return((0,gt._)`${jt.default.errors} === 0`))}function BPe({gen:t,evaluated:n,props:e,items:i}){e instanceof gt.Name&&t.assign((0,gt._)`${n}.props`,e),i instanceof gt.Name&&t.assign((0,gt._)`${n}.items`,i)}function lQ(t,n,e,i){let{gen:r,schema:o,data:a,allErrors:s,opts:l,self:c}=t,{RULES:d}=c;if(o.$ref&&(l.ignoreKeywordsWithRef||!(0,yd.schemaHasRulesButRef)(o,d))){r.block(()=>vQ(t,"$ref",d.all.$ref.definition));return}l.jtd||jPe(t,n),r.block(()=>{for(let m of d.rules)u(m);u(d.post)});function u(m){(0,GL.shouldUseGroup)(o,m)&&(m.type?(r.if((0,Wx.checkDataType)(m.type,a,l.strictNumbers)),cQ(t,m),n.length===1&&n[0]===m.type&&e&&(r.else(),(0,Wx.reportTypeError)(t)),r.endIf()):cQ(t,m),s||r.if((0,gt._)`${jt.default.errors} === ${i||0}`))}}function cQ(t,n){let{gen:e,schema:i,opts:{useDefaults:r}}=t;r&&(0,wPe.assignDefaults)(t,n.type),e.block(()=>{for(let o of n.rules)(0,GL.shouldUseRule)(i,o)&&vQ(t,o.keyword,o.definition,n.type)})}function jPe(t,n){t.schemaEnv.meta||!t.opts.strictTypes||(UPe(t,n),t.opts.allowUnionTypes||zPe(t,n),HPe(t,t.dataTypes))}function UPe(t,n){if(n.length){if(!t.dataTypes.length){t.dataTypes=n;return}n.forEach(e=>{_Q(t.dataTypes,e)||qL(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),GPe(t,n)}}function zPe(t,n){n.length>1&&!(n.length===2&&n.includes("null"))&&qL(t,"use allowUnionTypes to allow union type keyword")}function HPe(t,n){let e=t.self.RULES.all;for(let i in e){let r=e[i];if(typeof r=="object"&&(0,GL.shouldUseRule)(t.schema,r)){let{type:o}=r.definition;o.length&&!o.some(a=>$Pe(n,a))&&qL(t,`missing type "${o.join(",")}" for keyword "${i}"`)}}}function $Pe(t,n){return t.includes(n)||n==="number"&&t.includes("integer")}function _Q(t,n){return t.includes(n)||n==="integer"&&t.includes("number")}function GPe(t,n){let e=[];for(let i of t.dataTypes)_Q(n,i)?e.push(i):n.includes("integer")&&i==="number"&&e.push("integer");t.dataTypes=e}function qL(t,n){let e=t.schemaEnv.baseId+t.errSchemaPath;n+=` at "${e}" (strictTypes)`,(0,yd.checkStrictMode)(t,n,t.opts.strictTypes)}var Kx=class{constructor(n,e,i){if((0,I0.validateKeywordUsage)(n,e,i),this.gen=n.gen,this.allErrors=n.allErrors,this.keyword=i,this.data=n.data,this.schema=n.schema[i],this.$data=e.$data&&n.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,yd.schemaRefOrVal)(n,this.schema,i,this.$data),this.schemaType=e.schemaType,this.parentSchema=n.schema,this.params={},this.it=n,this.def=e,this.$data)this.schemaCode=n.gen.const("vSchema",yQ(this.$data,n));else if(this.schemaCode=this.schemaValue,!(0,I0.validSchemaType)(this.schema,e.schemaType,e.allowUndefined))throw new Error(`${i} value must be ${JSON.stringify(e.schemaType)}`);("code"in e?e.trackErrors:e.errors!==!1)&&(this.errsCount=n.gen.const("_errs",jt.default.errors))}result(n,e,i){this.failResult((0,gt.not)(n),e,i)}failResult(n,e,i){this.gen.if(n),i?i():this.error(),e?(this.gen.else(),e(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(n,e){this.failResult((0,gt.not)(n),void 0,e)}fail(n){if(n===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(n),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(n){if(!this.$data)return this.fail(n);let{schemaCode:e}=this;this.fail((0,gt._)`${e} !== undefined && (${(0,gt.or)(this.invalid$data(),n)})`)}error(n,e,i){if(e){this.setParams(e),this._error(n,i),this.setParams({});return}this._error(n,i)}_error(n,e){(n?T0.reportExtraError:T0.reportError)(this,this.def.error,e)}$dataError(){(0,T0.reportError)(this,this.def.$dataError||T0.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,T0.resetErrorsCount)(this.gen,this.errsCount)}ok(n){this.allErrors||this.gen.if(n)}setParams(n,e){e?Object.assign(this.params,n):this.params=n}block$data(n,e,i=gt.nil){this.gen.block(()=>{this.check$data(n,i),e()})}check$data(n=gt.nil,e=gt.nil){if(!this.$data)return;let{gen:i,schemaCode:r,schemaType:o,def:a}=this;i.if((0,gt.or)((0,gt._)`${r} === undefined`,e)),n!==gt.nil&&i.assign(n,!0),(o.length||a.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),n!==gt.nil&&i.assign(n,!1)),i.else()}invalid$data(){let{gen:n,schemaCode:e,schemaType:i,def:r,it:o}=this;return(0,gt.or)(a(),s());function a(){if(i.length){if(!(e instanceof gt.Name))throw new Error("ajv implementation error");let l=Array.isArray(i)?i:[i];return(0,gt._)`${(0,Wx.checkDataTypes)(l,e,o.opts.strictNumbers,Wx.DataType.Wrong)}`}return gt.nil}function s(){if(r.validateSchema){let l=n.scopeValue("validate$data",{ref:r.validateSchema});return(0,gt._)`!${l}(${e})`}return gt.nil}}subschema(n,e){let i=(0,$L.getSubschema)(this.it,n);(0,$L.extendSubschemaData)(i,this.it,n),(0,$L.extendSubschemaMode)(i,n);let r=Fe(G(G({},this.it),i),{items:void 0,props:void 0});return RPe(r,e),r}mergeEvaluated(n,e){let{it:i,gen:r}=this;i.opts.unevaluated&&(i.props!==!0&&n.props!==void 0&&(i.props=yd.mergeEvaluated.props(r,n.props,i.props,e)),i.items!==!0&&n.items!==void 0&&(i.items=yd.mergeEvaluated.items(r,n.items,i.items,e)))}mergeValidEvaluated(n,e){let{it:i,gen:r}=this;if(i.opts.unevaluated&&(i.props!==!0||i.items!==!0))return r.if(e,()=>this.mergeEvaluated(n,gt.Name)),!0}};Xu.KeywordCxt=Kx;function vQ(t,n,e,i){let r=new Kx(t,e,n);"code"in e?e.code(r,i):r.$data&&e.validate?(0,I0.funcKeywordCode)(r,e):"macro"in e?(0,I0.macroKeywordCode)(r,e):(e.compile||e.validate)&&(0,I0.funcKeywordCode)(r,e)}var qPe=/^\/(?:[^~]|~0|~1)*$/,YPe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function yQ(t,{dataLevel:n,dataNames:e,dataPathArr:i}){let r,o;if(t==="")return jt.default.rootData;if(t[0]==="/"){if(!qPe.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);r=t,o=jt.default.rootData}else{let c=YPe.exec(t);if(!c)throw new Error(`Invalid JSON-pointer: ${t}`);let d=+c[1];if(r=c[2],r==="#"){if(d>=n)throw new Error(l("property/index",d));return i[n-d]}if(d>n)throw new Error(l("data",d));if(o=e[n-d],!r)return o}let a=o,s=r.split("/");for(let c of s)c&&(o=(0,gt._)`${o}${(0,gt.getProperty)((0,yd.unescapeJsonPointer)(c))}`,a=(0,gt._)`${a} && ${o}`);return a;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${n}`}}Xu.getData=yQ});var Xx=y(WL=>{"use strict";Object.defineProperty(WL,"__esModule",{value:!0});var YL=class extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}};WL.default=YL});var M0=y(QL=>{"use strict";Object.defineProperty(QL,"__esModule",{value:!0});var KL=x0(),XL=class extends Error{constructor(n,e,i,r){super(r||`can't resolve reference ${i} from id ${e}`),this.missingRef=(0,KL.resolveUrl)(n,e,i),this.missingSchema=(0,KL.normalizeId)((0,KL.getFullPath)(n,this.missingRef))}};QL.default=XL});var Zx=y(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.resolveSchema=Cs.getCompilingSchema=Cs.resolveRef=Cs.compileSchema=Cs.SchemaEnv=void 0;var hl=Xt(),WPe=Xx(),Ep=vd(),gl=x0(),bQ=An(),KPe=A0(),__=class{constructor(n){var e;this.refs={},this.dynamicAnchors={};let i;typeof n.schema=="object"&&(i=n.schema),this.schema=n.schema,this.schemaId=n.schemaId,this.root=n.root||this,this.baseId=(e=n.baseId)!==null&&e!==void 0?e:(0,gl.normalizeId)(i?.[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=i?.$async,this.refs={}}};Cs.SchemaEnv=__;function JL(t){let n=CQ.call(this,t);if(n)return n;let e=(0,gl.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:r}=this.opts.code,{ownProperties:o}=this.opts,a=new hl.CodeGen(this.scope,{es5:i,lines:r,ownProperties:o}),s;t.$async&&(s=a.scopeValue("Error",{ref:WPe.default,code:(0,hl._)`require("ajv/dist/runtime/validation_error").default`}));let l=a.scopeName("validate");t.validateName=l;let c={gen:a,allErrors:this.opts.allErrors,data:Ep.default.data,parentData:Ep.default.parentData,parentDataProperty:Ep.default.parentDataProperty,dataNames:[Ep.default.data],dataPathArr:[hl.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,hl.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:s,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:hl.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,hl._)`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),(0,KPe.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);let u=a.toString();d=`${a.scopeRefs(Ep.default.scope)}return ${u}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let f=new Function(`${Ep.default.self}`,`${Ep.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:f}),f.errors=null,f.schema=t.schema,f.schemaEnv=t,t.$async&&(f.$async=!0),this.opts.code.source===!0&&(f.source={validateName:l,validateCode:u,scopeValues:a._values}),this.opts.unevaluated){let{props:p,items:g}=c;f.evaluated={props:p instanceof hl.Name?void 0:p,items:g instanceof hl.Name?void 0:g,dynamicProps:p instanceof hl.Name,dynamicItems:g instanceof hl.Name},f.source&&(f.source.evaluated=(0,hl.stringify)(f.evaluated))}return t.validate=f,t}catch(u){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),u}finally{this._compilations.delete(t)}}Cs.compileSchema=JL;function XPe(t,n,e){var i;e=(0,gl.resolveUrl)(this.opts.uriResolver,n,e);let r=t.refs[e];if(r)return r;let o=JPe.call(this,t,e);if(o===void 0){let a=(i=t.localRefs)===null||i===void 0?void 0:i[e],{schemaId:s}=this.opts;a&&(o=new __({schema:a,schemaId:s,root:t,baseId:n}))}if(o!==void 0)return t.refs[e]=QPe.call(this,o)}Cs.resolveRef=XPe;function QPe(t){return(0,gl.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:JL.call(this,t)}function CQ(t){for(let n of this._compilations)if(ZPe(n,t))return n}Cs.getCompilingSchema=CQ;function ZPe(t,n){return t.schema===n.schema&&t.root===n.root&&t.baseId===n.baseId}function JPe(t,n){let e;for(;typeof(e=this.refs[n])=="string";)n=e;return e||this.schemas[n]||Qx.call(this,t,n)}function Qx(t,n){let e=this.opts.uriResolver.parse(n),i=(0,gl._getFullPath)(this.opts.uriResolver,e),r=(0,gl.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===r)return ZL.call(this,e,t);let o=(0,gl.normalizeId)(i),a=this.refs[o]||this.schemas[o];if(typeof a=="string"){let s=Qx.call(this,t,a);return typeof s?.schema!="object"?void 0:ZL.call(this,e,s)}if(typeof a?.schema=="object"){if(a.validate||JL.call(this,a),o===(0,gl.normalizeId)(n)){let{schema:s}=a,{schemaId:l}=this.opts,c=s[l];return c&&(r=(0,gl.resolveUrl)(this.opts.uriResolver,r,c)),new __({schema:s,schemaId:l,root:t,baseId:r})}return ZL.call(this,e,a)}}Cs.resolveSchema=Qx;var e1e=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function ZL(t,{baseId:n,schema:e,root:i}){var r;if(((r=t.fragment)===null||r===void 0?void 0:r[0])!=="/")return;for(let s of t.fragment.slice(1).split("/")){if(typeof e=="boolean")return;let l=e[(0,bQ.unescapeFragment)(s)];if(l===void 0)return;e=l;let c=typeof e=="object"&&e[this.opts.schemaId];!e1e.has(s)&&c&&(n=(0,gl.resolveUrl)(this.opts.uriResolver,n,c))}let o;if(typeof e!="boolean"&&e.$ref&&!(0,bQ.schemaHasRulesButRef)(e,this.RULES)){let s=(0,gl.resolveUrl)(this.opts.uriResolver,n,e.$ref);o=Qx.call(this,i,s)}let{schemaId:a}=this.opts;if(o=o||new __({schema:e,schemaId:a,root:i,baseId:n}),o.schema!==o.root.schema)return o}});var DQ=y((MEt,t1e)=>{t1e.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var t2=y((kEt,xQ)=>{"use strict";var n1e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),SQ=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function e2(t){let n="",e=0,i=0;for(i=0;i<t.length;i++)if(e=t[i].charCodeAt(0),e!==48){if(!(e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102))return"";n+=t[i];break}for(i+=1;i<t.length;i++){if(e=t[i].charCodeAt(0),!(e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102))return"";n+=t[i]}return n}var i1e=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function EQ(t){return t.length=0,!0}function r1e(t,n,e){if(t.length){let i=e2(t);if(i!=="")n.push(i);else return e.error=!0,!1;t.length=0}return!0}function o1e(t){let n=0,e={error:!1,address:"",zone:""},i=[],r=[],o=!1,a=!1,s=r1e;for(let l=0;l<t.length;l++){let c=t[l];if(!(c==="["||c==="]"))if(c===":"){if(o===!0&&(a=!0),!s(r,i,e))break;if(++n>7){e.error=!0;break}l>0&&t[l-1]===":"&&(o=!0),i.push(":");continue}else if(c==="%"){if(!s(r,i,e))break;s=EQ}else{r.push(c);continue}}return r.length&&(s===EQ?e.zone=r.join(""):a?i.push(r.join("")):i.push(e2(r))),e.address=i.join(""),e}function wQ(t){if(a1e(t,":")<2)return{host:t,isIPV6:!1};let n=o1e(t);if(n.error)return{host:t,isIPV6:!1};{let e=n.address,i=n.address;return n.zone&&(e+="%"+n.zone,i+="%25"+n.zone),{host:e,isIPV6:!0,escapedHost:i}}}function a1e(t,n){let e=0;for(let i=0;i<t.length;i++)t[i]===n&&e++;return e}function s1e(t){let n=t,e=[],i=-1,r=0;for(;r=n.length;){if(r===1){if(n===".")break;if(n==="/"){e.push("/");break}else{e.push(n);break}}else if(r===2){if(n[0]==="."){if(n[1]===".")break;if(n[1]==="/"){n=n.slice(2);continue}}else if(n[0]==="/"&&(n[1]==="."||n[1]==="/")){e.push("/");break}}else if(r===3&&n==="/.."){e.length!==0&&e.pop(),e.push("/");break}if(n[0]==="."){if(n[1]==="."){if(n[2]==="/"){n=n.slice(3);continue}}else if(n[1]==="/"){n=n.slice(2);continue}}else if(n[0]==="/"&&n[1]==="."){if(n[2]==="/"){n=n.slice(2);continue}else if(n[2]==="."&&n[3]==="/"){n=n.slice(3),e.length!==0&&e.pop();continue}}if((i=n.indexOf("/",1))===-1){e.push(n);break}else e.push(n.slice(0,i)),n=n.slice(i)}return e.join("")}function l1e(t,n){let e=n!==!0?escape:unescape;return t.scheme!==void 0&&(t.scheme=e(t.scheme)),t.userinfo!==void 0&&(t.userinfo=e(t.userinfo)),t.host!==void 0&&(t.host=e(t.host)),t.path!==void 0&&(t.path=e(t.path)),t.query!==void 0&&(t.query=e(t.query)),t.fragment!==void 0&&(t.fragment=e(t.fragment)),t}function c1e(t){let n=[];if(t.userinfo!==void 0&&(n.push(t.userinfo),n.push("@")),t.host!==void 0){let e=unescape(t.host);if(!SQ(e)){let i=wQ(e);i.isIPV6===!0?e=`[${i.escapedHost}]`:e=t.host}n.push(e)}return(typeof t.port=="number"||typeof t.port=="string")&&(n.push(":"),n.push(String(t.port))),n.length?n.join(""):void 0}xQ.exports={nonSimpleDomain:i1e,recomposeAuthority:c1e,normalizeComponentEncoding:l1e,removeDotSegments:s1e,isIPv4:SQ,isUUID:n1e,normalizeIPv6:wQ,stringArrayToHexStripped:e2}});var kQ=y((REt,MQ)=>{"use strict";var{isUUID:d1e}=t2(),u1e=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,f1e=["http","https","ws","wss","urn","urn:uuid"];function m1e(t){return f1e.indexOf(t)!==-1}function n2(t){return t.secure===!0?!0:t.secure===!1?!1:t.scheme?t.scheme.length===3&&(t.scheme[0]==="w"||t.scheme[0]==="W")&&(t.scheme[1]==="s"||t.scheme[1]==="S")&&(t.scheme[2]==="s"||t.scheme[2]==="S"):!1}function TQ(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function IQ(t){let n=String(t.scheme).toLowerCase()==="https";return(t.port===(n?443:80)||t.port==="")&&(t.port=void 0),t.path||(t.path="/"),t}function p1e(t){return t.secure=n2(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function h1e(t){if((t.port===(n2(t)?443:80)||t.port==="")&&(t.port=void 0),typeof t.secure=="boolean"&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){let[n,e]=t.resourceName.split("?");t.path=n&&n!=="/"?n:void 0,t.query=e,t.resourceName=void 0}return t.fragment=void 0,t}function g1e(t,n){if(!t.path)return t.error="URN can not be parsed",t;let e=t.path.match(u1e);if(e){let i=n.scheme||t.scheme||"urn";t.nid=e[1].toLowerCase(),t.nss=e[2];let r=`${i}:${n.nid||t.nid}`,o=i2(r);t.path=void 0,o&&(t=o.parse(t,n))}else t.error=t.error||"URN can not be parsed.";return t}function _1e(t,n){if(t.nid===void 0)throw new Error("URN without nid cannot be serialized");let e=n.scheme||t.scheme||"urn",i=t.nid.toLowerCase(),r=`${e}:${n.nid||i}`,o=i2(r);o&&(t=o.serialize(t,n));let a=t,s=t.nss;return a.path=`${i||n.nid}:${s}`,n.skipEscape=!0,a}function v1e(t,n){let e=t;return e.uuid=e.nss,e.nss=void 0,!n.tolerant&&(!e.uuid||!d1e(e.uuid))&&(e.error=e.error||"UUID is not valid."),e}function y1e(t){let n=t;return n.nss=(t.uuid||"").toLowerCase(),n}var AQ={scheme:"http",domainHost:!0,parse:TQ,serialize:IQ},b1e={scheme:"https",domainHost:AQ.domainHost,parse:TQ,serialize:IQ},Jx={scheme:"ws",domainHost:!0,parse:p1e,serialize:h1e},C1e={scheme:"wss",domainHost:Jx.domainHost,parse:Jx.parse,serialize:Jx.serialize},D1e={scheme:"urn",parse:g1e,serialize:_1e,skipNormalize:!0},E1e={scheme:"urn:uuid",parse:v1e,serialize:y1e,skipNormalize:!0},eT={http:AQ,https:b1e,ws:Jx,wss:C1e,urn:D1e,"urn:uuid":E1e};Object.setPrototypeOf(eT,null);function i2(t){return t&&(eT[t]||eT[t.toLowerCase()])||void 0}MQ.exports={wsIsSecure:n2,SCHEMES:eT,isValidSchemeName:m1e,getSchemeHandler:i2}});var NQ=y((PEt,nT)=>{"use strict";var{normalizeIPv6:S1e,removeDotSegments:k0,recomposeAuthority:w1e,normalizeComponentEncoding:tT,isIPv4:x1e,nonSimpleDomain:T1e}=t2(),{SCHEMES:I1e,getSchemeHandler:RQ}=kQ();function A1e(t,n){return typeof t=="string"?t=rc(bd(t,n),n):typeof t=="object"&&(t=bd(rc(t,n),n)),t}function M1e(t,n,e){let i=e?Object.assign({scheme:"null"},e):{scheme:"null"},r=PQ(bd(t,i),bd(n,i),i,!0);return i.skipEscape=!0,rc(r,i)}function PQ(t,n,e,i){let r={};return i||(t=bd(rc(t,e),e),n=bd(rc(n,e),e)),e=e||{},!e.tolerant&&n.scheme?(r.scheme=n.scheme,r.userinfo=n.userinfo,r.host=n.host,r.port=n.port,r.path=k0(n.path||""),r.query=n.query):(n.userinfo!==void 0||n.host!==void 0||n.port!==void 0?(r.userinfo=n.userinfo,r.host=n.host,r.port=n.port,r.path=k0(n.path||""),r.query=n.query):(n.path?(n.path[0]==="/"?r.path=k0(n.path):((t.userinfo!==void 0||t.host!==void 0||t.port!==void 0)&&!t.path?r.path="/"+n.path:t.path?r.path=t.path.slice(0,t.path.lastIndexOf("/")+1)+n.path:r.path=n.path,r.path=k0(r.path)),r.query=n.query):(r.path=t.path,n.query!==void 0?r.query=n.query:r.query=t.query),r.userinfo=t.userinfo,r.host=t.host,r.port=t.port),r.scheme=t.scheme),r.fragment=n.fragment,r}function k1e(t,n,e){return typeof t=="string"?(t=unescape(t),t=rc(tT(bd(t,e),!0),Fe(G({},e),{skipEscape:!0}))):typeof t=="object"&&(t=rc(tT(t,!0),Fe(G({},e),{skipEscape:!0}))),typeof n=="string"?(n=unescape(n),n=rc(tT(bd(n,e),!0),Fe(G({},e),{skipEscape:!0}))):typeof n=="object"&&(n=rc(tT(n,!0),Fe(G({},e),{skipEscape:!0}))),t.toLowerCase()===n.toLowerCase()}function rc(t,n){let e={host:t.host,scheme:t.scheme,userinfo:t.userinfo,port:t.port,path:t.path,query:t.query,nid:t.nid,nss:t.nss,uuid:t.uuid,fragment:t.fragment,reference:t.reference,resourceName:t.resourceName,secure:t.secure,error:""},i=Object.assign({},n),r=[],o=RQ(i.scheme||e.scheme);o&&o.serialize&&o.serialize(e,i),e.path!==void 0&&(i.skipEscape?e.path=unescape(e.path):(e.path=escape(e.path),e.scheme!==void 0&&(e.path=e.path.split("%3A").join(":")))),i.reference!=="suffix"&&e.scheme&&r.push(e.scheme,":");let a=w1e(e);if(a!==void 0&&(i.reference!=="suffix"&&r.push("//"),r.push(a),e.path&&e.path[0]!=="/"&&r.push("/")),e.path!==void 0){let s=e.path;!i.absolutePath&&(!o||!o.absolutePath)&&(s=k0(s)),a===void 0&&s[0]==="/"&&s[1]==="/"&&(s="/%2F"+s.slice(2)),r.push(s)}return e.query!==void 0&&r.push("?",e.query),e.fragment!==void 0&&r.push("#",e.fragment),r.join("")}var R1e=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function bd(t,n){let e=Object.assign({},n),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},r=!1;e.reference==="suffix"&&(e.scheme?t=e.scheme+":"+t:t="//"+t);let o=t.match(R1e);if(o){if(i.scheme=o[1],i.userinfo=o[3],i.host=o[4],i.port=parseInt(o[5],10),i.path=o[6]||"",i.query=o[7],i.fragment=o[8],isNaN(i.port)&&(i.port=o[5]),i.host)if(x1e(i.host)===!1){let l=S1e(i.host);i.host=l.host.toLowerCase(),r=l.isIPV6}else r=!0;i.scheme===void 0&&i.userinfo===void 0&&i.host===void 0&&i.port===void 0&&i.query===void 0&&!i.path?i.reference="same-document":i.scheme===void 0?i.reference="relative":i.fragment===void 0?i.reference="absolute":i.reference="uri",e.reference&&e.reference!=="suffix"&&e.reference!==i.reference&&(i.error=i.error||"URI is not a "+e.reference+" reference.");let a=RQ(e.scheme||i.scheme);if(!e.unicodeSupport&&(!a||!a.unicodeSupport)&&i.host&&(e.domainHost||a&&a.domainHost)&&r===!1&&T1e(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(s){i.error=i.error||"Host's domain name can not be converted to ASCII: "+s}(!a||a&&!a.skipNormalize)&&(t.indexOf("%")!==-1&&(i.scheme!==void 0&&(i.scheme=unescape(i.scheme)),i.host!==void 0&&(i.host=unescape(i.host))),i.path&&(i.path=escape(unescape(i.path))),i.fragment&&(i.fragment=encodeURI(decodeURIComponent(i.fragment)))),a&&a.parse&&a.parse(i,e)}else i.error=i.error||"URI can not be parsed.";return i}var r2={SCHEMES:I1e,normalize:A1e,resolve:M1e,resolveComponent:PQ,equal:k1e,serialize:rc,parse:bd};nT.exports=r2;nT.exports.default=r2;nT.exports.fastUri=r2});var FQ=y(o2=>{"use strict";Object.defineProperty(o2,"__esModule",{value:!0});var OQ=NQ();OQ.code='require("ajv/dist/runtime/uri").default';o2.default=OQ});var $Q=y(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.CodeGen=jr.Name=jr.nil=jr.stringify=jr.str=jr._=jr.KeywordCxt=void 0;var P1e=A0();Object.defineProperty(jr,"KeywordCxt",{enumerable:!0,get:function(){return P1e.KeywordCxt}});var v_=Xt();Object.defineProperty(jr,"_",{enumerable:!0,get:function(){return v_._}});Object.defineProperty(jr,"str",{enumerable:!0,get:function(){return v_.str}});Object.defineProperty(jr,"stringify",{enumerable:!0,get:function(){return v_.stringify}});Object.defineProperty(jr,"nil",{enumerable:!0,get:function(){return v_.nil}});Object.defineProperty(jr,"Name",{enumerable:!0,get:function(){return v_.Name}});Object.defineProperty(jr,"CodeGen",{enumerable:!0,get:function(){return v_.CodeGen}});var N1e=Xx(),UQ=M0(),O1e=NL(),R0=Zx(),F1e=Xt(),P0=x0(),iT=w0(),s2=An(),LQ=DQ(),L1e=FQ(),zQ=(t,n)=>new RegExp(t,n);zQ.code="new RegExp";var V1e=["removeAdditional","useDefaults","coerceTypes"],B1e=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),j1e={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},U1e={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},VQ=200;function z1e(t){var n,e,i,r,o,a,s,l,c,d,u,m,f,p,g,_,v,D,O,B,F,W,j,k,Y;let Q=t.strict,ce=(n=t.code)===null||n===void 0?void 0:n.optimize,ie=ce===!0||ce===void 0?1:ce||0,X=(i=(e=t.code)===null||e===void 0?void 0:e.regExp)!==null&&i!==void 0?i:zQ,w=(r=t.uriResolver)!==null&&r!==void 0?r:L1e.default;return{strictSchema:(a=(o=t.strictSchema)!==null&&o!==void 0?o:Q)!==null&&a!==void 0?a:!0,strictNumbers:(l=(s=t.strictNumbers)!==null&&s!==void 0?s:Q)!==null&&l!==void 0?l:!0,strictTypes:(d=(c=t.strictTypes)!==null&&c!==void 0?c:Q)!==null&&d!==void 0?d:"log",strictTuples:(m=(u=t.strictTuples)!==null&&u!==void 0?u:Q)!==null&&m!==void 0?m:"log",strictRequired:(p=(f=t.strictRequired)!==null&&f!==void 0?f:Q)!==null&&p!==void 0?p:!1,code:t.code?Fe(G({},t.code),{optimize:ie,regExp:X}):{optimize:ie,regExp:X},loopRequired:(g=t.loopRequired)!==null&&g!==void 0?g:VQ,loopEnum:(_=t.loopEnum)!==null&&_!==void 0?_:VQ,meta:(v=t.meta)!==null&&v!==void 0?v:!0,messages:(D=t.messages)!==null&&D!==void 0?D:!0,inlineRefs:(O=t.inlineRefs)!==null&&O!==void 0?O:!0,schemaId:(B=t.schemaId)!==null&&B!==void 0?B:"$id",addUsedSchema:(F=t.addUsedSchema)!==null&&F!==void 0?F:!0,validateSchema:(W=t.validateSchema)!==null&&W!==void 0?W:!0,validateFormats:(j=t.validateFormats)!==null&&j!==void 0?j:!0,unicodeRegExp:(k=t.unicodeRegExp)!==null&&k!==void 0?k:!0,int32range:(Y=t.int32range)!==null&&Y!==void 0?Y:!0,uriResolver:w}}var N0=class{constructor(n={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,n=this.opts=G(G({},n),z1e(n));let{es5:e,lines:i}=this.opts.code;this.scope=new F1e.ValueScope({scope:{},prefixes:B1e,es5:e,lines:i}),this.logger=W1e(n.logger);let r=n.validateFormats;n.validateFormats=!1,this.RULES=(0,O1e.getRules)(),BQ.call(this,j1e,n,"NOT SUPPORTED"),BQ.call(this,U1e,n,"DEPRECATED","warn"),this._metaOpts=q1e.call(this),n.formats&&$1e.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),n.keywords&&G1e.call(this,n.keywords),typeof n.meta=="object"&&this.addMetaSchema(n.meta),H1e.call(this),n.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:n,meta:e,schemaId:i}=this.opts,r=LQ;i==="id"&&(r=G({},LQ),r.id=r.$id,delete r.$id),e&&n&&this.addMetaSchema(r,r[i],!1)}defaultMeta(){let{meta:n,schemaId:e}=this.opts;return this.opts.defaultMeta=typeof n=="object"?n[e]||n:void 0}validate(n,e){let i;if(typeof n=="string"){if(i=this.getSchema(n),!i)throw new Error(`no schema with key or ref "${n}"`)}else i=this.compile(n);let r=i(e);return"$async"in i||(this.errors=i.errors),r}compile(n,e){let i=this._addSchema(n,e);return i.validate||this._compileSchemaEnv(i)}compileAsync(n,e){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:i}=this.opts;return r.call(this,n,e);function r(d,u){return as(this,null,function*(){yield o.call(this,d.$schema);let m=this._addSchema(d,u);return m.validate||a.call(this,m)})}function o(d){return as(this,null,function*(){d&&!this.getSchema(d)&&(yield r.call(this,{$ref:d},!0))})}function a(d){return as(this,null,function*(){try{return this._compileSchemaEnv(d)}catch(u){if(!(u instanceof UQ.default))throw u;return s.call(this,u),yield l.call(this,u.missingSchema),a.call(this,d)}})}function s({missingSchema:d,missingRef:u}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${u} cannot be resolved`)}function l(d){return as(this,null,function*(){let u=yield c.call(this,d);this.refs[d]||(yield o.call(this,u.$schema)),this.refs[d]||this.addSchema(u,d,e)})}function c(d){return as(this,null,function*(){let u=this._loading[d];if(u)return u;try{return yield this._loading[d]=i(d)}finally{delete this._loading[d]}})}}addSchema(n,e,i,r=this.opts.validateSchema){if(Array.isArray(n)){for(let a of n)this.addSchema(a,void 0,i,r);return this}let o;if(typeof n=="object"){let{schemaId:a}=this.opts;if(o=n[a],o!==void 0&&typeof o!="string")throw new Error(`schema ${a} must be string`)}return e=(0,P0.normalizeId)(e||o),this._checkUnique(e),this.schemas[e]=this._addSchema(n,i,e,r,!0),this}addMetaSchema(n,e,i=this.opts.validateSchema){return this.addSchema(n,e,!0,i),this}validateSchema(n,e){if(typeof n=="boolean")return!0;let i;if(i=n.$schema,i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this.opts.defaultMeta||this.defaultMeta(),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let r=this.validate(i,n);if(!r&&e){let o="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(o);else throw new Error(o)}return r}getSchema(n){let e;for(;typeof(e=jQ.call(this,n))=="string";)n=e;if(e===void 0){let{schemaId:i}=this.opts,r=new R0.SchemaEnv({schema:{},schemaId:i});if(e=R0.resolveSchema.call(this,r,n),!e)return;this.refs[n]=e}return e.validate||this._compileSchemaEnv(e)}removeSchema(n){if(n instanceof RegExp)return this._removeAllSchemas(this.schemas,n),this._removeAllSchemas(this.refs,n),this;switch(typeof n){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let e=jQ.call(this,n);return typeof e=="object"&&this._cache.delete(e.schema),delete this.schemas[n],delete this.refs[n],this}case"object":{let e=n;this._cache.delete(e);let i=n[this.opts.schemaId];return i&&(i=(0,P0.normalizeId)(i),delete this.schemas[i],delete this.refs[i]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(n){for(let e of n)this.addKeyword(e);return this}addKeyword(n,e){let i;if(typeof n=="string")i=n,typeof e=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),e.keyword=i);else if(typeof n=="object"&&e===void 0){if(e=n,i=e.keyword,Array.isArray(i)&&!i.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(X1e.call(this,i,e),!e)return(0,s2.eachItem)(i,o=>a2.call(this,o)),this;Z1e.call(this,e);let r=Fe(G({},e),{type:(0,iT.getJSONTypes)(e.type),schemaType:(0,iT.getJSONTypes)(e.schemaType)});return(0,s2.eachItem)(i,r.type.length===0?o=>a2.call(this,o,r):o=>r.type.forEach(a=>a2.call(this,o,r,a))),this}getKeyword(n){let e=this.RULES.all[n];return typeof e=="object"?e.definition:!!e}removeKeyword(n){let{RULES:e}=this;delete e.keywords[n],delete e.all[n];for(let i of e.rules){let r=i.rules.findIndex(o=>o.keyword===n);r>=0&&i.rules.splice(r,1)}return this}addFormat(n,e){return typeof e=="string"&&(e=new RegExp(e)),this.formats[n]=e,this}errorsText(n=this.errors,{separator:e=", ",dataVar:i="data"}={}){return!n||n.length===0?"No errors":n.map(r=>`${i}${r.instancePath} ${r.message}`).reduce((r,o)=>r+e+o)}$dataMetaSchema(n,e){let i=this.RULES.all;n=JSON.parse(JSON.stringify(n));for(let r of e){let o=r.split("/").slice(1),a=n;for(let s of o)a=a[s];for(let s in i){let l=i[s];if(typeof l!="object")continue;let{$data:c}=l.definition,d=a[s];c&&d&&(a[s]=HQ(d))}}return n}_removeAllSchemas(n,e){for(let i in n){let r=n[i];(!e||e.test(i))&&(typeof r=="string"?delete n[i]:r&&!r.meta&&(this._cache.delete(r.schema),delete n[i]))}}_addSchema(n,e,i,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let a,{schemaId:s}=this.opts;if(typeof n=="object")a=n[s];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof n!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(n);if(l!==void 0)return l;i=(0,P0.normalizeId)(a||i);let c=P0.getSchemaRefs.call(this,n,i);return l=new R0.SchemaEnv({schema:n,schemaId:s,meta:e,baseId:i,localRefs:c}),this._cache.set(l.schema,l),o&&!i.startsWith("#")&&(i&&this._checkUnique(i),this.refs[i]=l),r&&this.validateSchema(n,!0),l}_checkUnique(n){if(this.schemas[n]||this.refs[n])throw new Error(`schema with key or id "${n}" already exists`)}_compileSchemaEnv(n){if(n.meta?this._compileMetaSchema(n):R0.compileSchema.call(this,n),!n.validate)throw new Error("ajv implementation error");return n.validate}_compileMetaSchema(n){let e=this.opts;this.opts=this._metaOpts;try{R0.compileSchema.call(this,n)}finally{this.opts=e}}};N0.ValidationError=N1e.default;N0.MissingRefError=UQ.default;jr.default=N0;function BQ(t,n,e,i="error"){for(let r in t){let o=r;o in n&&this.logger[i](`${e}: option ${r}. ${t[o]}`)}}function jQ(t){return t=(0,P0.normalizeId)(t),this.schemas[t]||this.refs[t]}function H1e(){let t=this.opts.schemas;if(t)if(Array.isArray(t))this.addSchema(t);else for(let n in t)this.addSchema(t[n],n)}function $1e(){for(let t in this.opts.formats){let n=this.opts.formats[t];n&&this.addFormat(t,n)}}function G1e(t){if(Array.isArray(t)){this.addVocabulary(t);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let n in t){let e=t[n];e.keyword||(e.keyword=n),this.addKeyword(e)}}function q1e(){let t=G({},this.opts);for(let n of V1e)delete t[n];return t}var Y1e={log(){},warn(){},error(){}};function W1e(t){if(t===!1)return Y1e;if(t===void 0)return console;if(t.log&&t.warn&&t.error)return t;throw new Error("logger must implement log, warn and error methods")}var K1e=/^[a-z_$][a-z0-9_$:-]*$/i;function X1e(t,n){let{RULES:e}=this;if((0,s2.eachItem)(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!K1e.test(i))throw new Error(`Keyword ${i} has invalid name`)}),!!n&&n.$data&&!("code"in n||"validate"in n))throw new Error('$data keyword must have "code" or "validate" function')}function a2(t,n,e){var i;let r=n?.post;if(e&&r)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:o}=this,a=r?o.post:o.rules.find(({type:l})=>l===e);if(a||(a={type:e,rules:[]},o.rules.push(a)),o.keywords[t]=!0,!n)return;let s={keyword:t,definition:Fe(G({},n),{type:(0,iT.getJSONTypes)(n.type),schemaType:(0,iT.getJSONTypes)(n.schemaType)})};n.before?Q1e.call(this,a,s,n.before):a.rules.push(s),o.all[t]=s,(i=n.implements)===null||i===void 0||i.forEach(l=>this.addKeyword(l))}function Q1e(t,n,e){let i=t.rules.findIndex(r=>r.keyword===e);i>=0?t.rules.splice(i,0,n):(t.rules.push(n),this.logger.warn(`rule ${e} is not defined`))}function Z1e(t){let{metaSchema:n}=t;n!==void 0&&(t.$data&&this.opts.$data&&(n=HQ(n)),t.validateSchema=this.compile(n,!0))}var J1e={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function HQ(t){return{anyOf:[t,J1e]}}});var GQ=y(l2=>{"use strict";Object.defineProperty(l2,"__esModule",{value:!0});var eNe={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};l2.default=eNe});var KQ=y(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.callRef=Sp.getValidate=void 0;var tNe=M0(),qQ=bs(),aa=Xt(),y_=vd(),YQ=Zx(),rT=An(),nNe={keyword:"$ref",schemaType:"string",code(t){let{gen:n,schema:e,it:i}=t,{baseId:r,schemaEnv:o,validateName:a,opts:s,self:l}=i,{root:c}=o;if((e==="#"||e==="#/")&&r===c.baseId)return u();let d=YQ.resolveRef.call(l,c,r,e);if(d===void 0)throw new tNe.default(i.opts.uriResolver,r,e);if(d instanceof YQ.SchemaEnv)return m(d);return f(d);function u(){if(o===c)return oT(t,a,o,o.$async);let p=n.scopeValue("root",{ref:c});return oT(t,(0,aa._)`${p}.validate`,c,c.$async)}function m(p){let g=WQ(t,p);oT(t,g,p,p.$async)}function f(p){let g=n.scopeValue("schema",s.code.source===!0?{ref:p,code:(0,aa.stringify)(p)}:{ref:p}),_=n.name("valid"),v=t.subschema({schema:p,dataTypes:[],schemaPath:aa.nil,topSchemaRef:g,errSchemaPath:e},_);t.mergeEvaluated(v),t.ok(_)}}};function WQ(t,n){let{gen:e}=t;return n.validate?e.scopeValue("validate",{ref:n.validate}):(0,aa._)`${e.scopeValue("wrapper",{ref:n})}.validate`}Sp.getValidate=WQ;function oT(t,n,e,i){let{gen:r,it:o}=t,{allErrors:a,schemaEnv:s,opts:l}=o,c=l.passContext?y_.default.this:aa.nil;i?d():u();function d(){if(!s.$async)throw new Error("async schema referenced by sync schema");let p=r.let("valid");r.try(()=>{r.code((0,aa._)`await ${(0,qQ.callValidateCode)(t,n,c)}`),f(n),a||r.assign(p,!0)},g=>{r.if((0,aa._)`!(${g} instanceof ${o.ValidationError})`,()=>r.throw(g)),m(g),a||r.assign(p,!1)}),t.ok(p)}function u(){t.result((0,qQ.callValidateCode)(t,n,c),()=>f(n),()=>m(n))}function m(p){let g=(0,aa._)`${p}.errors`;r.assign(y_.default.vErrors,(0,aa._)`${y_.default.vErrors} === null ? ${g} : ${y_.default.vErrors}.concat(${g})`),r.assign(y_.default.errors,(0,aa._)`${y_.default.vErrors}.length`)}function f(p){var g;if(!o.opts.unevaluated)return;let _=(g=e?.validate)===null||g===void 0?void 0:g.evaluated;if(o.props!==!0)if(_&&!_.dynamicProps)_.props!==void 0&&(o.props=rT.mergeEvaluated.props(r,_.props,o.props));else{let v=r.var("props",(0,aa._)`${p}.evaluated.props`);o.props=rT.mergeEvaluated.props(r,v,o.props,aa.Name)}if(o.items!==!0)if(_&&!_.dynamicItems)_.items!==void 0&&(o.items=rT.mergeEvaluated.items(r,_.items,o.items));else{let v=r.var("items",(0,aa._)`${p}.evaluated.items`);o.items=rT.mergeEvaluated.items(r,v,o.items,aa.Name)}}}Sp.callRef=oT;Sp.default=nNe});var XQ=y(c2=>{"use strict";Object.defineProperty(c2,"__esModule",{value:!0});var iNe=GQ(),rNe=KQ(),oNe=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",iNe.default,rNe.default];c2.default=oNe});var QQ=y(d2=>{"use strict";Object.defineProperty(d2,"__esModule",{value:!0});var aT=Xt(),Qu=aT.operators,sT={maximum:{okStr:"<=",ok:Qu.LTE,fail:Qu.GT},minimum:{okStr:">=",ok:Qu.GTE,fail:Qu.LT},exclusiveMaximum:{okStr:"<",ok:Qu.LT,fail:Qu.GTE},exclusiveMinimum:{okStr:">",ok:Qu.GT,fail:Qu.LTE}},aNe={message:({keyword:t,schemaCode:n})=>(0,aT.str)`must be ${sT[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,aT._)`{comparison: ${sT[t].okStr}, limit: ${n}}`},sNe={keyword:Object.keys(sT),type:"number",schemaType:"number",$data:!0,error:aNe,code(t){let{keyword:n,data:e,schemaCode:i}=t;t.fail$data((0,aT._)`${e} ${sT[n].fail} ${i} || isNaN(${e})`)}};d2.default=sNe});var ZQ=y(u2=>{"use strict";Object.defineProperty(u2,"__esModule",{value:!0});var O0=Xt(),lNe={message:({schemaCode:t})=>(0,O0.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,O0._)`{multipleOf: ${t}}`},cNe={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:lNe,code(t){let{gen:n,data:e,schemaCode:i,it:r}=t,o=r.opts.multipleOfPrecision,a=n.let("res"),s=o?(0,O0._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${o}`:(0,O0._)`${a} !== parseInt(${a})`;t.fail$data((0,O0._)`(${i} === 0 || (${a} = ${e}/${i}, ${s}))`)}};u2.default=cNe});var eZ=y(f2=>{"use strict";Object.defineProperty(f2,"__esModule",{value:!0});function JQ(t){let n=t.length,e=0,i=0,r;for(;i<n;)e++,r=t.charCodeAt(i++),r>=55296&&r<=56319&&i<n&&(r=t.charCodeAt(i),(r&64512)===56320&&i++);return e}f2.default=JQ;JQ.code='require("ajv/dist/runtime/ucs2length").default'});var tZ=y(m2=>{"use strict";Object.defineProperty(m2,"__esModule",{value:!0});var wp=Xt(),dNe=An(),uNe=eZ(),fNe={message({keyword:t,schemaCode:n}){let e=t==="maxLength"?"more":"fewer";return(0,wp.str)`must NOT have ${e} than ${n} characters`},params:({schemaCode:t})=>(0,wp._)`{limit: ${t}}`},mNe={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:fNe,code(t){let{keyword:n,data:e,schemaCode:i,it:r}=t,o=n==="maxLength"?wp.operators.GT:wp.operators.LT,a=r.opts.unicode===!1?(0,wp._)`${e}.length`:(0,wp._)`${(0,dNe.useFunc)(t.gen,uNe.default)}(${e})`;t.fail$data((0,wp._)`${a} ${o} ${i}`)}};m2.default=mNe});var nZ=y(p2=>{"use strict";Object.defineProperty(p2,"__esModule",{value:!0});var pNe=bs(),lT=Xt(),hNe={message:({schemaCode:t})=>(0,lT.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,lT._)`{pattern: ${t}}`},gNe={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:hNe,code(t){let{data:n,$data:e,schema:i,schemaCode:r,it:o}=t,a=o.opts.unicodeRegExp?"u":"",s=e?(0,lT._)`(new RegExp(${r}, ${a}))`:(0,pNe.usePattern)(t,i);t.fail$data((0,lT._)`!${s}.test(${n})`)}};p2.default=gNe});var iZ=y(h2=>{"use strict";Object.defineProperty(h2,"__esModule",{value:!0});var F0=Xt(),_Ne={message({keyword:t,schemaCode:n}){let e=t==="maxProperties"?"more":"fewer";return(0,F0.str)`must NOT have ${e} than ${n} properties`},params:({schemaCode:t})=>(0,F0._)`{limit: ${t}}`},vNe={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:_Ne,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxProperties"?F0.operators.GT:F0.operators.LT;t.fail$data((0,F0._)`Object.keys(${e}).length ${r} ${i}`)}};h2.default=vNe});var rZ=y(g2=>{"use strict";Object.defineProperty(g2,"__esModule",{value:!0});var L0=bs(),V0=Xt(),yNe=An(),bNe={message:({params:{missingProperty:t}})=>(0,V0.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,V0._)`{missingProperty: ${t}}`},CNe={keyword:"required",type:"object",schemaType:"array",$data:!0,error:bNe,code(t){let{gen:n,schema:e,schemaCode:i,data:r,$data:o,it:a}=t,{opts:s}=a;if(!o&&e.length===0)return;let l=e.length>=s.loopRequired;if(a.allErrors?c():d(),s.strictRequired){let f=t.parentSchema.properties,{definedProperties:p}=t.it;for(let g of e)if(f?.[g]===void 0&&!p.has(g)){let _=a.schemaEnv.baseId+a.errSchemaPath,v=`required property "${g}" is not defined at "${_}" (strictRequired)`;(0,yNe.checkStrictMode)(a,v,a.opts.strictRequired)}}function c(){if(l||o)t.block$data(V0.nil,u);else for(let f of e)(0,L0.checkReportMissingProp)(t,f)}function d(){let f=n.let("missing");if(l||o){let p=n.let("valid",!0);t.block$data(p,()=>m(f,p)),t.ok(p)}else n.if((0,L0.checkMissingProp)(t,e,f)),(0,L0.reportMissingProp)(t,f),n.else()}function u(){n.forOf("prop",i,f=>{t.setParams({missingProperty:f}),n.if((0,L0.noPropertyInData)(n,r,f,s.ownProperties),()=>t.error())})}function m(f,p){t.setParams({missingProperty:f}),n.forOf(f,i,()=>{n.assign(p,(0,L0.propertyInData)(n,r,f,s.ownProperties)),n.if((0,V0.not)(p),()=>{t.error(),n.break()})},V0.nil)}}};g2.default=CNe});var oZ=y(_2=>{"use strict";Object.defineProperty(_2,"__esModule",{value:!0});var B0=Xt(),DNe={message({keyword:t,schemaCode:n}){let e=t==="maxItems"?"more":"fewer";return(0,B0.str)`must NOT have ${e} than ${n} items`},params:({schemaCode:t})=>(0,B0._)`{limit: ${t}}`},ENe={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:DNe,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxItems"?B0.operators.GT:B0.operators.LT;t.fail$data((0,B0._)`${e}.length ${r} ${i}`)}};_2.default=ENe});var cT=y(v2=>{"use strict";Object.defineProperty(v2,"__esModule",{value:!0});var aZ=zL();aZ.code='require("ajv/dist/runtime/equal").default';v2.default=aZ});var sZ=y(b2=>{"use strict";Object.defineProperty(b2,"__esModule",{value:!0});var y2=w0(),Ur=Xt(),SNe=An(),wNe=cT(),xNe={message:({params:{i:t,j:n}})=>(0,Ur.str)`must NOT have duplicate items (items ## ${n} and ${t} are identical)`,params:({params:{i:t,j:n}})=>(0,Ur._)`{i: ${t}, j: ${n}}`},TNe={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:xNe,code(t){let{gen:n,data:e,$data:i,schema:r,parentSchema:o,schemaCode:a,it:s}=t;if(!i&&!r)return;let l=n.let("valid"),c=o.items?(0,y2.getSchemaTypes)(o.items):[];t.block$data(l,d,(0,Ur._)`${a} === false`),t.ok(l);function d(){let p=n.let("i",(0,Ur._)`${e}.length`),g=n.let("j");t.setParams({i:p,j:g}),n.assign(l,!0),n.if((0,Ur._)`${p} > 1`,()=>(u()?m:f)(p,g))}function u(){return c.length>0&&!c.some(p=>p==="object"||p==="array")}function m(p,g){let _=n.name("item"),v=(0,y2.checkDataTypes)(c,_,s.opts.strictNumbers,y2.DataType.Wrong),D=n.const("indices",(0,Ur._)`{}`);n.for((0,Ur._)`;${p}--;`,()=>{n.let(_,(0,Ur._)`${e}[${p}]`),n.if(v,(0,Ur._)`continue`),c.length>1&&n.if((0,Ur._)`typeof ${_} == "string"`,(0,Ur._)`${_} += "_"`),n.if((0,Ur._)`typeof ${D}[${_}] == "number"`,()=>{n.assign(g,(0,Ur._)`${D}[${_}]`),t.error(),n.assign(l,!1).break()}).code((0,Ur._)`${D}[${_}] = ${p}`)})}function f(p,g){let _=(0,SNe.useFunc)(n,wNe.default),v=n.name("outer");n.label(v).for((0,Ur._)`;${p}--;`,()=>n.for((0,Ur._)`${g} = ${p}; ${g}--;`,()=>n.if((0,Ur._)`${_}(${e}[${p}], ${e}[${g}])`,()=>{t.error(),n.assign(l,!1).break(v)})))}}};b2.default=TNe});var lZ=y(D2=>{"use strict";Object.defineProperty(D2,"__esModule",{value:!0});var C2=Xt(),INe=An(),ANe=cT(),MNe={message:"must be equal to constant",params:({schemaCode:t})=>(0,C2._)`{allowedValue: ${t}}`},kNe={keyword:"const",$data:!0,error:MNe,code(t){let{gen:n,data:e,$data:i,schemaCode:r,schema:o}=t;i||o&&typeof o=="object"?t.fail$data((0,C2._)`!${(0,INe.useFunc)(n,ANe.default)}(${e}, ${r})`):t.fail((0,C2._)`${o} !== ${e}`)}};D2.default=kNe});var cZ=y(E2=>{"use strict";Object.defineProperty(E2,"__esModule",{value:!0});var j0=Xt(),RNe=An(),PNe=cT(),NNe={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,j0._)`{allowedValues: ${t}}`},ONe={keyword:"enum",schemaType:"array",$data:!0,error:NNe,code(t){let{gen:n,data:e,$data:i,schema:r,schemaCode:o,it:a}=t;if(!i&&r.length===0)throw new Error("enum must have non-empty array");let s=r.length>=a.opts.loopEnum,l,c=()=>l??(l=(0,RNe.useFunc)(n,PNe.default)),d;if(s||i)d=n.let("valid"),t.block$data(d,u);else{if(!Array.isArray(r))throw new Error("ajv implementation error");let f=n.const("vSchema",o);d=(0,j0.or)(...r.map((p,g)=>m(f,g)))}t.pass(d);function u(){n.assign(d,!1),n.forOf("v",o,f=>n.if((0,j0._)`${c()}(${e}, ${f})`,()=>n.assign(d,!0).break()))}function m(f,p){let g=r[p];return typeof g=="object"&&g!==null?(0,j0._)`${c()}(${e}, ${f}[${p}])`:(0,j0._)`${e} === ${g}`}}};E2.default=ONe});var dZ=y(S2=>{"use strict";Object.defineProperty(S2,"__esModule",{value:!0});var FNe=QQ(),LNe=ZQ(),VNe=tZ(),BNe=nZ(),jNe=iZ(),UNe=rZ(),zNe=oZ(),HNe=sZ(),$Ne=lZ(),GNe=cZ(),qNe=[FNe.default,LNe.default,VNe.default,BNe.default,jNe.default,UNe.default,zNe.default,HNe.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},$Ne.default,GNe.default];S2.default=qNe});var x2=y(U0=>{"use strict";Object.defineProperty(U0,"__esModule",{value:!0});U0.validateAdditionalItems=void 0;var xp=Xt(),w2=An(),YNe={message:({params:{len:t}})=>(0,xp.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,xp._)`{limit: ${t}}`},WNe={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:YNe,code(t){let{parentSchema:n,it:e}=t,{items:i}=n;if(!Array.isArray(i)){(0,w2.checkStrictMode)(e,'"additionalItems" is ignored when "items" is not an array of schemas');return}uZ(t,i)}};function uZ(t,n){let{gen:e,schema:i,data:r,keyword:o,it:a}=t;a.items=!0;let s=e.const("len",(0,xp._)`${r}.length`);if(i===!1)t.setParams({len:n.length}),t.pass((0,xp._)`${s} <= ${n.length}`);else if(typeof i=="object"&&!(0,w2.alwaysValidSchema)(a,i)){let c=e.var("valid",(0,xp._)`${s} <= ${n.length}`);e.if((0,xp.not)(c),()=>l(c)),t.ok(c)}function l(c){e.forRange("i",n.length,s,d=>{t.subschema({keyword:o,dataProp:d,dataPropType:w2.Type.Num},c),a.allErrors||e.if((0,xp.not)(c),()=>e.break())})}}U0.validateAdditionalItems=uZ;U0.default=WNe});var T2=y(z0=>{"use strict";Object.defineProperty(z0,"__esModule",{value:!0});z0.validateTuple=void 0;var fZ=Xt(),dT=An(),KNe=bs(),XNe={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:n,it:e}=t;if(Array.isArray(n))return mZ(t,"additionalItems",n);e.items=!0,!(0,dT.alwaysValidSchema)(e,n)&&t.ok((0,KNe.validateArray)(t))}};function mZ(t,n,e=t.schema){let{gen:i,parentSchema:r,data:o,keyword:a,it:s}=t;d(r),s.opts.unevaluated&&e.length&&s.items!==!0&&(s.items=dT.mergeEvaluated.items(i,e.length,s.items));let l=i.name("valid"),c=i.const("len",(0,fZ._)`${o}.length`);e.forEach((u,m)=>{(0,dT.alwaysValidSchema)(s,u)||(i.if((0,fZ._)`${c} > ${m}`,()=>t.subschema({keyword:a,schemaProp:m,dataProp:m},l)),t.ok(l))});function d(u){let{opts:m,errSchemaPath:f}=s,p=e.length,g=p===u.minItems&&(p===u.maxItems||u[n]===!1);if(m.strictTuples&&!g){let _=`"${a}" is ${p}-tuple, but minItems or maxItems/${n} are not specified or different at path "${f}"`;(0,dT.checkStrictMode)(s,_,m.strictTuples)}}}z0.validateTuple=mZ;z0.default=XNe});var pZ=y(I2=>{"use strict";Object.defineProperty(I2,"__esModule",{value:!0});var QNe=T2(),ZNe={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,QNe.validateTuple)(t,"items")};I2.default=ZNe});var gZ=y(A2=>{"use strict";Object.defineProperty(A2,"__esModule",{value:!0});var hZ=Xt(),JNe=An(),eOe=bs(),tOe=x2(),nOe={message:({params:{len:t}})=>(0,hZ.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,hZ._)`{limit: ${t}}`},iOe={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:nOe,code(t){let{schema:n,parentSchema:e,it:i}=t,{prefixItems:r}=e;i.items=!0,!(0,JNe.alwaysValidSchema)(i,n)&&(r?(0,tOe.validateAdditionalItems)(t,r):t.ok((0,eOe.validateArray)(t)))}};A2.default=iOe});var _Z=y(M2=>{"use strict";Object.defineProperty(M2,"__esModule",{value:!0});var Ds=Xt(),uT=An(),rOe={message:({params:{min:t,max:n}})=>n===void 0?(0,Ds.str)`must contain at least ${t} valid item(s)`:(0,Ds.str)`must contain at least ${t} and no more than ${n} valid item(s)`,params:({params:{min:t,max:n}})=>n===void 0?(0,Ds._)`{minContains: ${t}}`:(0,Ds._)`{minContains: ${t}, maxContains: ${n}}`},oOe={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:rOe,code(t){let{gen:n,schema:e,parentSchema:i,data:r,it:o}=t,a,s,{minContains:l,maxContains:c}=i;o.opts.next?(a=l===void 0?1:l,s=c):a=1;let d=n.const("len",(0,Ds._)`${r}.length`);if(t.setParams({min:a,max:s}),s===void 0&&a===0){(0,uT.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,uT.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,uT.alwaysValidSchema)(o,e)){let g=(0,Ds._)`${d} >= ${a}`;s!==void 0&&(g=(0,Ds._)`${g} && ${d} <= ${s}`),t.pass(g);return}o.items=!0;let u=n.name("valid");s===void 0&&a===1?f(u,()=>n.if(u,()=>n.break())):a===0?(n.let(u,!0),s!==void 0&&n.if((0,Ds._)`${r}.length > 0`,m)):(n.let(u,!1),m()),t.result(u,()=>t.reset());function m(){let g=n.name("_valid"),_=n.let("count",0);f(g,()=>n.if(g,()=>p(_)))}function f(g,_){n.forRange("i",0,d,v=>{t.subschema({keyword:"contains",dataProp:v,dataPropType:uT.Type.Num,compositeRule:!0},g),_()})}function p(g){n.code((0,Ds._)`${g}++`),s===void 0?n.if((0,Ds._)`${g} >= ${a}`,()=>n.assign(u,!0).break()):(n.if((0,Ds._)`${g} > ${s}`,()=>n.assign(u,!1).break()),a===1?n.assign(u,!0):n.if((0,Ds._)`${g} >= ${a}`,()=>n.assign(u,!0)))}}};M2.default=oOe});var bZ=y(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});oc.validateSchemaDeps=oc.validatePropertyDeps=oc.error=void 0;var k2=Xt(),aOe=An(),H0=bs();oc.error={message:({params:{property:t,depsCount:n,deps:e}})=>{let i=n===1?"property":"properties";return(0,k2.str)`must have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:n,deps:e,missingProperty:i}})=>(0,k2._)`{property: ${t},
|
|
6
|
+
missingProperty: ${i},
|
|
7
|
+
depsCount: ${n},
|
|
8
|
+
deps: ${e}}`};var sOe={keyword:"dependencies",type:"object",schemaType:"object",error:oc.error,code(t){let[n,e]=lOe(t);vZ(t,n),yZ(t,e)}};function lOe({schema:t}){let n={},e={};for(let i in t){if(i==="__proto__")continue;let r=Array.isArray(t[i])?n:e;r[i]=t[i]}return[n,e]}function vZ(t,n=t.schema){let{gen:e,data:i,it:r}=t;if(Object.keys(n).length===0)return;let o=e.let("missing");for(let a in n){let s=n[a];if(s.length===0)continue;let l=(0,H0.propertyInData)(e,i,a,r.opts.ownProperties);t.setParams({property:a,depsCount:s.length,deps:s.join(", ")}),r.allErrors?e.if(l,()=>{for(let c of s)(0,H0.checkReportMissingProp)(t,c)}):(e.if((0,k2._)`${l} && (${(0,H0.checkMissingProp)(t,s,o)})`),(0,H0.reportMissingProp)(t,o),e.else())}}oc.validatePropertyDeps=vZ;function yZ(t,n=t.schema){let{gen:e,data:i,keyword:r,it:o}=t,a=e.name("valid");for(let s in n)(0,aOe.alwaysValidSchema)(o,n[s])||(e.if((0,H0.propertyInData)(e,i,s,o.opts.ownProperties),()=>{let l=t.subschema({keyword:r,schemaProp:s},a);t.mergeValidEvaluated(l,a)},()=>e.var(a,!0)),t.ok(a))}oc.validateSchemaDeps=yZ;oc.default=sOe});var DZ=y(R2=>{"use strict";Object.defineProperty(R2,"__esModule",{value:!0});var CZ=Xt(),cOe=An(),dOe={message:"property name must be valid",params:({params:t})=>(0,CZ._)`{propertyName: ${t.propertyName}}`},uOe={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:dOe,code(t){let{gen:n,schema:e,data:i,it:r}=t;if((0,cOe.alwaysValidSchema)(r,e))return;let o=n.name("valid");n.forIn("key",i,a=>{t.setParams({propertyName:a}),t.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},o),n.if((0,CZ.not)(o),()=>{t.error(!0),r.allErrors||n.break()})}),t.ok(o)}};R2.default=uOe});var N2=y(P2=>{"use strict";Object.defineProperty(P2,"__esModule",{value:!0});var fT=bs(),_l=Xt(),fOe=vd(),mT=An(),mOe={message:"must NOT have additional properties",params:({params:t})=>(0,_l._)`{additionalProperty: ${t.additionalProperty}}`},pOe={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:mOe,code(t){let{gen:n,schema:e,parentSchema:i,data:r,errsCount:o,it:a}=t;if(!o)throw new Error("ajv implementation error");let{allErrors:s,opts:l}=a;if(a.props=!0,l.removeAdditional!=="all"&&(0,mT.alwaysValidSchema)(a,e))return;let c=(0,fT.allSchemaProperties)(i.properties),d=(0,fT.allSchemaProperties)(i.patternProperties);u(),t.ok((0,_l._)`${o} === ${fOe.default.errors}`);function u(){n.forIn("key",r,_=>{!c.length&&!d.length?p(_):n.if(m(_),()=>p(_))})}function m(_){let v;if(c.length>8){let D=(0,mT.schemaRefOrVal)(a,i.properties,"properties");v=(0,fT.isOwnProperty)(n,D,_)}else c.length?v=(0,_l.or)(...c.map(D=>(0,_l._)`${_} === ${D}`)):v=_l.nil;return d.length&&(v=(0,_l.or)(v,...d.map(D=>(0,_l._)`${(0,fT.usePattern)(t,D)}.test(${_})`))),(0,_l.not)(v)}function f(_){n.code((0,_l._)`delete ${r}[${_}]`)}function p(_){if(l.removeAdditional==="all"||l.removeAdditional&&e===!1){f(_);return}if(e===!1){t.setParams({additionalProperty:_}),t.error(),s||n.break();return}if(typeof e=="object"&&!(0,mT.alwaysValidSchema)(a,e)){let v=n.name("valid");l.removeAdditional==="failing"?(g(_,v,!1),n.if((0,_l.not)(v),()=>{t.reset(),f(_)})):(g(_,v),s||n.if((0,_l.not)(v),()=>n.break()))}}function g(_,v,D){let O={keyword:"additionalProperties",dataProp:_,dataPropType:mT.Type.Str};D===!1&&Object.assign(O,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(O,v)}}};P2.default=pOe});var wZ=y(F2=>{"use strict";Object.defineProperty(F2,"__esModule",{value:!0});var hOe=A0(),EZ=bs(),O2=An(),SZ=N2(),gOe={keyword:"properties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,parentSchema:i,data:r,it:o}=t;o.opts.removeAdditional==="all"&&i.additionalProperties===void 0&&SZ.default.code(new hOe.KeywordCxt(o,SZ.default,"additionalProperties"));let a=(0,EZ.allSchemaProperties)(e);for(let u of a)o.definedProperties.add(u);o.opts.unevaluated&&a.length&&o.props!==!0&&(o.props=O2.mergeEvaluated.props(n,(0,O2.toHash)(a),o.props));let s=a.filter(u=>!(0,O2.alwaysValidSchema)(o,e[u]));if(s.length===0)return;let l=n.name("valid");for(let u of s)c(u)?d(u):(n.if((0,EZ.propertyInData)(n,r,u,o.opts.ownProperties)),d(u),o.allErrors||n.else().var(l,!0),n.endIf()),t.it.definedProperties.add(u),t.ok(l);function c(u){return o.opts.useDefaults&&!o.compositeRule&&e[u].default!==void 0}function d(u){t.subschema({keyword:"properties",schemaProp:u,dataProp:u},l)}}};F2.default=gOe});var AZ=y(L2=>{"use strict";Object.defineProperty(L2,"__esModule",{value:!0});var xZ=bs(),pT=Xt(),TZ=An(),IZ=An(),_Oe={keyword:"patternProperties",type:"object",schemaType:"object",code(t){let{gen:n,schema:e,data:i,parentSchema:r,it:o}=t,{opts:a}=o,s=(0,xZ.allSchemaProperties)(e),l=s.filter(g=>(0,TZ.alwaysValidSchema)(o,e[g]));if(s.length===0||l.length===s.length&&(!o.opts.unevaluated||o.props===!0))return;let c=a.strictSchema&&!a.allowMatchingProperties&&r.properties,d=n.name("valid");o.props!==!0&&!(o.props instanceof pT.Name)&&(o.props=(0,IZ.evaluatedPropsToName)(n,o.props));let{props:u}=o;m();function m(){for(let g of s)c&&f(g),o.allErrors?p(g):(n.var(d,!0),p(g),n.if(d))}function f(g){for(let _ in c)new RegExp(g).test(_)&&(0,TZ.checkStrictMode)(o,`property ${_} matches pattern ${g} (use allowMatchingProperties)`)}function p(g){n.forIn("key",i,_=>{n.if((0,pT._)`${(0,xZ.usePattern)(t,g)}.test(${_})`,()=>{let v=l.includes(g);v||t.subschema({keyword:"patternProperties",schemaProp:g,dataProp:_,dataPropType:IZ.Type.Str},d),o.opts.unevaluated&&u!==!0?n.assign((0,pT._)`${u}[${_}]`,!0):!v&&!o.allErrors&&n.if((0,pT.not)(d),()=>n.break())})})}}};L2.default=_Oe});var MZ=y(V2=>{"use strict";Object.defineProperty(V2,"__esModule",{value:!0});var vOe=An(),yOe={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:n,schema:e,it:i}=t;if((0,vOe.alwaysValidSchema)(i,e)){t.fail();return}let r=n.name("valid");t.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},r),t.failResult(r,()=>t.reset(),()=>t.error())},error:{message:"must NOT be valid"}};V2.default=yOe});var kZ=y(B2=>{"use strict";Object.defineProperty(B2,"__esModule",{value:!0});var bOe=bs(),COe={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:bOe.validateUnion,error:{message:"must match a schema in anyOf"}};B2.default=COe});var RZ=y(j2=>{"use strict";Object.defineProperty(j2,"__esModule",{value:!0});var hT=Xt(),DOe=An(),EOe={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,hT._)`{passingSchemas: ${t.passing}}`},SOe={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:EOe,code(t){let{gen:n,schema:e,parentSchema:i,it:r}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");if(r.opts.discriminator&&i.discriminator)return;let o=e,a=n.let("valid",!1),s=n.let("passing",null),l=n.name("_valid");t.setParams({passing:s}),n.block(c),t.result(a,()=>t.reset(),()=>t.error(!0));function c(){o.forEach((d,u)=>{let m;(0,DOe.alwaysValidSchema)(r,d)?n.var(l,!0):m=t.subschema({keyword:"oneOf",schemaProp:u,compositeRule:!0},l),u>0&&n.if((0,hT._)`${l} && ${a}`).assign(a,!1).assign(s,(0,hT._)`[${s}, ${u}]`).else(),n.if(l,()=>{n.assign(a,!0),n.assign(s,u),m&&t.mergeEvaluated(m,hT.Name)})})}}};j2.default=SOe});var PZ=y(U2=>{"use strict";Object.defineProperty(U2,"__esModule",{value:!0});var wOe=An(),xOe={keyword:"allOf",schemaType:"array",code(t){let{gen:n,schema:e,it:i}=t;if(!Array.isArray(e))throw new Error("ajv implementation error");let r=n.name("valid");e.forEach((o,a)=>{if((0,wOe.alwaysValidSchema)(i,o))return;let s=t.subschema({keyword:"allOf",schemaProp:a},r);t.ok(r),t.mergeEvaluated(s)})}};U2.default=xOe});var FZ=y(z2=>{"use strict";Object.defineProperty(z2,"__esModule",{value:!0});var gT=Xt(),OZ=An(),TOe={message:({params:t})=>(0,gT.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,gT._)`{failingKeyword: ${t.ifClause}}`},IOe={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:TOe,code(t){let{gen:n,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&(0,OZ.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let r=NZ(i,"then"),o=NZ(i,"else");if(!r&&!o)return;let a=n.let("valid",!0),s=n.name("_valid");if(l(),t.reset(),r&&o){let d=n.let("ifClause");t.setParams({ifClause:d}),n.if(s,c("then",d),c("else",d))}else r?n.if(s,c("then")):n.if((0,gT.not)(s),c("else"));t.pass(a,()=>t.error(!0));function l(){let d=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);t.mergeEvaluated(d)}function c(d,u){return()=>{let m=t.subschema({keyword:d},s);n.assign(a,s),t.mergeValidEvaluated(m,a),u?n.assign(u,(0,gT._)`${d}`):t.setParams({ifClause:d})}}}};function NZ(t,n){let e=t.schema[n];return e!==void 0&&!(0,OZ.alwaysValidSchema)(t,e)}z2.default=IOe});var LZ=y(H2=>{"use strict";Object.defineProperty(H2,"__esModule",{value:!0});var AOe=An(),MOe={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:n,it:e}){n.if===void 0&&(0,AOe.checkStrictMode)(e,`"${t}" without "if" is ignored`)}};H2.default=MOe});var VZ=y($2=>{"use strict";Object.defineProperty($2,"__esModule",{value:!0});var kOe=x2(),ROe=pZ(),POe=T2(),NOe=gZ(),OOe=_Z(),FOe=bZ(),LOe=DZ(),VOe=N2(),BOe=wZ(),jOe=AZ(),UOe=MZ(),zOe=kZ(),HOe=RZ(),$Oe=PZ(),GOe=FZ(),qOe=LZ();function YOe(t=!1){let n=[UOe.default,zOe.default,HOe.default,$Oe.default,GOe.default,qOe.default,LOe.default,VOe.default,FOe.default,BOe.default,jOe.default];return t?n.push(ROe.default,NOe.default):n.push(kOe.default,POe.default),n.push(OOe.default),n}$2.default=YOe});var BZ=y(G2=>{"use strict";Object.defineProperty(G2,"__esModule",{value:!0});var Fi=Xt(),WOe={message:({schemaCode:t})=>(0,Fi.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,Fi._)`{format: ${t}}`},KOe={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:WOe,code(t,n){let{gen:e,data:i,$data:r,schema:o,schemaCode:a,it:s}=t,{opts:l,errSchemaPath:c,schemaEnv:d,self:u}=s;if(!l.validateFormats)return;r?m():f();function m(){let p=e.scopeValue("formats",{ref:u.formats,code:l.code.formats}),g=e.const("fDef",(0,Fi._)`${p}[${a}]`),_=e.let("fType"),v=e.let("format");e.if((0,Fi._)`typeof ${g} == "object" && !(${g} instanceof RegExp)`,()=>e.assign(_,(0,Fi._)`${g}.type || "string"`).assign(v,(0,Fi._)`${g}.validate`),()=>e.assign(_,(0,Fi._)`"string"`).assign(v,g)),t.fail$data((0,Fi.or)(D(),O()));function D(){return l.strictSchema===!1?Fi.nil:(0,Fi._)`${a} && !${v}`}function O(){let B=d.$async?(0,Fi._)`(${g}.async ? await ${v}(${i}) : ${v}(${i}))`:(0,Fi._)`${v}(${i})`,F=(0,Fi._)`(typeof ${v} == "function" ? ${B} : ${v}.test(${i}))`;return(0,Fi._)`${v} && ${v} !== true && ${_} === ${n} && !${F}`}}function f(){let p=u.formats[o];if(!p){D();return}if(p===!0)return;let[g,_,v]=O(p);g===n&&t.pass(B());function D(){if(l.strictSchema===!1){u.logger.warn(F());return}throw new Error(F());function F(){return`unknown format "${o}" ignored in schema at path "${c}"`}}function O(F){let W=F instanceof RegExp?(0,Fi.regexpCode)(F):l.code.formats?(0,Fi._)`${l.code.formats}${(0,Fi.getProperty)(o)}`:void 0,j=e.scopeValue("formats",{key:o,ref:F,code:W});return typeof F=="object"&&!(F instanceof RegExp)?[F.type||"string",F.validate,(0,Fi._)`${j}.validate`]:["string",F,j]}function B(){if(typeof p=="object"&&!(p instanceof RegExp)&&p.async){if(!d.$async)throw new Error("async format in sync schema");return(0,Fi._)`await ${v}(${i})`}return typeof _=="function"?(0,Fi._)`${v}(${i})`:(0,Fi._)`${v}.test(${i})`}}}};G2.default=KOe});var jZ=y(q2=>{"use strict";Object.defineProperty(q2,"__esModule",{value:!0});var XOe=BZ(),QOe=[XOe.default];q2.default=QOe});var UZ=y(b_=>{"use strict";Object.defineProperty(b_,"__esModule",{value:!0});b_.contentVocabulary=b_.metadataVocabulary=void 0;b_.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];b_.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var HZ=y(Y2=>{"use strict";Object.defineProperty(Y2,"__esModule",{value:!0});var ZOe=XQ(),JOe=dZ(),eFe=VZ(),tFe=jZ(),zZ=UZ(),nFe=[ZOe.default,JOe.default,(0,eFe.default)(),tFe.default,zZ.metadataVocabulary,zZ.contentVocabulary];Y2.default=nFe});var GZ=y(_T=>{"use strict";Object.defineProperty(_T,"__esModule",{value:!0});_T.DiscrError=void 0;var $Z=(function(t){return t.Tag="tag",t.Mapping="mapping",t})($Z||(_T.DiscrError=$Z={}))});var YZ=y(K2=>{"use strict";Object.defineProperty(K2,"__esModule",{value:!0});var C_=Xt(),W2=GZ(),qZ=Zx(),iFe=M0(),rFe=An(),oFe={message:({params:{discrError:t,tagName:n}})=>t===W2.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in oneOf`,params:({params:{discrError:t,tag:n,tagName:e}})=>(0,C_._)`{error: ${t}, tag: ${e}, tagValue: ${n}}`},aFe={keyword:"discriminator",type:"object",schemaType:"object",error:oFe,code(t){let{gen:n,data:e,schema:i,parentSchema:r,it:o}=t,{oneOf:a}=r;if(!o.opts.discriminator)throw new Error("discriminator: requires discriminator option");let s=i.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");let l=n.let("valid",!1),c=n.const("tag",(0,C_._)`${e}${(0,C_.getProperty)(s)}`);n.if((0,C_._)`typeof ${c} == "string"`,()=>d(),()=>t.error(!1,{discrError:W2.DiscrError.Tag,tag:c,tagName:s})),t.ok(l);function d(){let f=m();n.if(!1);for(let p in f)n.elseIf((0,C_._)`${c} === ${p}`),n.assign(l,u(f[p]));n.else(),t.error(!1,{discrError:W2.DiscrError.Mapping,tag:c,tagName:s}),n.endIf()}function u(f){let p=n.name("valid"),g=t.subschema({keyword:"oneOf",schemaProp:f},p);return t.mergeEvaluated(g,C_.Name),p}function m(){var f;let p={},g=v(r),_=!0;for(let B=0;B<a.length;B++){let F=a[B];if(F?.$ref&&!(0,rFe.schemaHasRulesButRef)(F,o.self.RULES)){let j=F.$ref;if(F=qZ.resolveRef.call(o.self,o.schemaEnv.root,o.baseId,j),F instanceof qZ.SchemaEnv&&(F=F.schema),F===void 0)throw new iFe.default(o.opts.uriResolver,o.baseId,j)}let W=(f=F?.properties)===null||f===void 0?void 0:f[s];if(typeof W!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);_=_&&(g||v(F)),D(W,B)}if(!_)throw new Error(`discriminator: "${s}" must be required`);return p;function v({required:B}){return Array.isArray(B)&&B.includes(s)}function D(B,F){if(B.const)O(B.const,F);else if(B.enum)for(let W of B.enum)O(W,F);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function O(B,F){if(typeof B!="string"||B in p)throw new Error(`discriminator: "${s}" values must be unique strings`);p[B]=F}}}};K2.default=aFe});var WZ=y((ESt,sFe)=>{sFe.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var $0=y((mi,X2)=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.MissingRefError=mi.ValidationError=mi.CodeGen=mi.Name=mi.nil=mi.stringify=mi.str=mi._=mi.KeywordCxt=mi.Ajv=void 0;var lFe=$Q(),cFe=HZ(),dFe=YZ(),KZ=WZ(),uFe=["/properties"],vT="http://json-schema.org/draft-07/schema",D_=class extends lFe.default{_addVocabularies(){super._addVocabularies(),cFe.default.forEach(n=>this.addVocabulary(n)),this.opts.discriminator&&this.addKeyword(dFe.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let n=this.opts.$data?this.$dataMetaSchema(KZ,uFe):KZ;this.addMetaSchema(n,vT,!1),this.refs["http://json-schema.org/schema"]=vT}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(vT)?vT:void 0)}};mi.Ajv=D_;X2.exports=mi=D_;X2.exports.Ajv=D_;Object.defineProperty(mi,"__esModule",{value:!0});mi.default=D_;var fFe=A0();Object.defineProperty(mi,"KeywordCxt",{enumerable:!0,get:function(){return fFe.KeywordCxt}});var E_=Xt();Object.defineProperty(mi,"_",{enumerable:!0,get:function(){return E_._}});Object.defineProperty(mi,"str",{enumerable:!0,get:function(){return E_.str}});Object.defineProperty(mi,"stringify",{enumerable:!0,get:function(){return E_.stringify}});Object.defineProperty(mi,"nil",{enumerable:!0,get:function(){return E_.nil}});Object.defineProperty(mi,"Name",{enumerable:!0,get:function(){return E_.Name}});Object.defineProperty(mi,"CodeGen",{enumerable:!0,get:function(){return E_.CodeGen}});var mFe=Xx();Object.defineProperty(mi,"ValidationError",{enumerable:!0,get:function(){return mFe.default}});var pFe=M0();Object.defineProperty(mi,"MissingRefError",{enumerable:!0,get:function(){return pFe.default}})});var tJ=y(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.formatNames=ac.fastFormats=ac.fullFormats=void 0;function S_(t,n){return{validate:t,compare:n}}ac.fullFormats={date:S_(ZZ,J2),time:S_(JZ,eV),"date-time":S_(vFe,eJ),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:CFe,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:IFe,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:DFe,int32:{type:"number",validate:wFe},int64:{type:"number",validate:xFe},float:{type:"number",validate:QZ},double:{type:"number",validate:QZ},password:!0,binary:!0};ac.fastFormats=Fe(G({},ac.fullFormats),{date:S_(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,J2),time:S_(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,eV),"date-time":S_(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,eJ),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i});ac.formatNames=Object.keys(ac.fullFormats);function hFe(t){return t%4===0&&(t%100!==0||t%400===0)}var gFe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,_Fe=[0,31,28,31,30,31,30,31,31,30,31,30,31];function ZZ(t){let n=gFe.exec(t);if(!n)return!1;let e=+n[1],i=+n[2],r=+n[3];return i>=1&&i<=12&&r>=1&&r<=(i===2&&hFe(e)?29:_Fe[i])}function J2(t,n){if(t&&n)return t>n?1:t<n?-1:0}var Q2=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function JZ(t,n){let e=Q2.exec(t);if(!e)return!1;let i=+e[1],r=+e[2],o=+e[3],a=e[5];return(i<=23&&r<=59&&o<=59||i===23&&r===59&&o===60)&&(!n||a!=="")}function eV(t,n){if(!(t&&n))return;let e=Q2.exec(t),i=Q2.exec(n);if(e&&i)return t=e[1]+e[2]+e[3]+(e[4]||""),n=i[1]+i[2]+i[3]+(i[4]||""),t>n?1:t<n?-1:0}var Z2=/t|\s/i;function vFe(t){let n=t.split(Z2);return n.length===2&&ZZ(n[0])&&JZ(n[1],!0)}function eJ(t,n){if(!(t&&n))return;let[e,i]=t.split(Z2),[r,o]=n.split(Z2),a=J2(e,r);if(a!==void 0)return a||eV(i,o)}var yFe=/\/|:/,bFe=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function CFe(t){return yFe.test(t)&&bFe.test(t)}var XZ=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function DFe(t){return XZ.lastIndex=0,XZ.test(t)}var EFe=-(2**31),SFe=2**31-1;function wFe(t){return Number.isInteger(t)&&t<=SFe&&t>=EFe}function xFe(t){return Number.isInteger(t)}function QZ(){return!0}var TFe=/[^\\]\\Z/;function IFe(t){if(TFe.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var nJ=y(w_=>{"use strict";Object.defineProperty(w_,"__esModule",{value:!0});w_.formatLimitDefinition=void 0;var AFe=$0(),vl=Xt(),Zu=vl.operators,yT={formatMaximum:{okStr:"<=",ok:Zu.LTE,fail:Zu.GT},formatMinimum:{okStr:">=",ok:Zu.GTE,fail:Zu.LT},formatExclusiveMaximum:{okStr:"<",ok:Zu.LT,fail:Zu.GTE},formatExclusiveMinimum:{okStr:">",ok:Zu.GT,fail:Zu.LTE}},MFe={message:({keyword:t,schemaCode:n})=>vl.str`should be ${yT[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>vl._`{comparison: ${yT[t].okStr}, limit: ${n}}`};w_.formatLimitDefinition={keyword:Object.keys(yT),type:"string",schemaType:"string",$data:!0,error:MFe,code(t){let{gen:n,data:e,schemaCode:i,keyword:r,it:o}=t,{opts:a,self:s}=o;if(!a.validateFormats)return;let l=new AFe.KeywordCxt(o,s.RULES.all.format.definition,"format");l.$data?c():d();function c(){let m=n.scopeValue("formats",{ref:s.formats,code:a.code.formats}),f=n.const("fmt",vl._`${m}[${l.schemaCode}]`);t.fail$data(vl.or(vl._`typeof ${f} != "object"`,vl._`${f} instanceof RegExp`,vl._`typeof ${f}.compare != "function"`,u(f)))}function d(){let m=l.schema,f=s.formats[m];if(!f||f===!0)return;if(typeof f!="object"||f instanceof RegExp||typeof f.compare!="function")throw new Error(`"${r}": format "${m}" does not define "compare" function`);let p=n.scopeValue("formats",{key:m,ref:f,code:a.code.formats?vl._`${a.code.formats}${vl.getProperty(m)}`:void 0});t.fail$data(u(p))}function u(m){return vl._`${m}.compare(${e}, ${i}) ${yT[r].fail} 0`}},dependencies:["format"]};var kFe=t=>(t.addKeyword(w_.formatLimitDefinition),t);w_.default=kFe});var aJ=y((G0,oJ)=>{"use strict";Object.defineProperty(G0,"__esModule",{value:!0});var x_=tJ(),RFe=nJ(),tV=Xt(),iJ=new tV.Name("fullFormats"),PFe=new tV.Name("fastFormats"),nV=(t,n={keywords:!0})=>{if(Array.isArray(n))return rJ(t,n,x_.fullFormats,iJ),t;let[e,i]=n.mode==="fast"?[x_.fastFormats,PFe]:[x_.fullFormats,iJ],r=n.formats||x_.formatNames;return rJ(t,r,e,i),n.keywords&&RFe.default(t),t};nV.get=(t,n="full")=>{let i=(n==="fast"?x_.fastFormats:x_.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function rJ(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=tV._`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}oJ.exports=G0=nV;Object.defineProperty(G0,"__esModule",{value:!0});G0.default=nV});var lJ=y((TSt,sJ)=>{"use strict";function NFe(t){return function(n,e,i){for(var r=-1,o=Object(n),a=i(n),s=a.length;s--;){var l=a[t?s:++r];if(e(o[l],l,o)===!1)break}return n}}sJ.exports=NFe});var iV=y((ISt,cJ)=>{"use strict";var OFe=lJ(),FFe=OFe();cJ.exports=FFe});var uJ=y((ASt,dJ)=>{"use strict";var LFe=iV(),VFe=tc();function BFe(t,n){return t&&LFe(t,n,VFe)}dJ.exports=BFe});var mJ=y((MSt,fJ)=>{"use strict";var jFe=pd();function UFe(t,n){return function(e,i){if(e==null)return e;if(!jFe(e))return t(e,i);for(var r=e.length,o=n?r:-1,a=Object(e);(n?o--:++o<r)&&i(a[o],o,a)!==!1;);return e}}fJ.exports=UFe});var bT=y((kSt,pJ)=>{"use strict";var zFe=uJ(),HFe=mJ(),$Fe=HFe(zFe);pJ.exports=$Fe});var gJ=y((RSt,hJ)=>{"use strict";var GFe=bT();function qFe(t,n){var e=[];return GFe(t,function(i,r,o){n(i,r,o)&&e.push(i)}),e}hJ.exports=qFe});var vJ=y((PSt,_J)=>{"use strict";var YFe=rL(),WFe=gJ(),KFe=hd(),XFe=Oi();function QFe(t,n){var e=XFe(t)?YFe:WFe;return e(t,KFe(n,3))}_J.exports=QFe});var rV=y((NSt,yJ)=>{"use strict";var ZFe=Ox();function JFe(t,n){return ZFe(t,n)}yJ.exports=JFe});var oV=y((OSt,bJ)=>{"use strict";var eLe=zu(),tLe=(function(){try{var t=eLe(Object,"defineProperty");return t({},"",{}),t}catch{}})();bJ.exports=tLe});var CT=y((FSt,DJ)=>{"use strict";var CJ=oV();function nLe(t,n,e){n=="__proto__"&&CJ?CJ(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}DJ.exports=nLe});var aV=y((LSt,EJ)=>{"use strict";var iLe=CT(),rLe=o_();function oLe(t,n,e){(e!==void 0&&!rLe(t[n],e)||e===void 0&&!(n in t))&&iLe(t,n,e)}EJ.exports=oLe});var sV=y((q0,T_)=>{"use strict";var aLe=ko(),TJ=typeof q0=="object"&&q0&&!q0.nodeType&&q0,SJ=TJ&&typeof T_=="object"&&T_&&!T_.nodeType&&T_,sLe=SJ&&SJ.exports===TJ,wJ=sLe?aLe.Buffer:void 0,xJ=wJ?wJ.allocUnsafe:void 0;function lLe(t,n){if(n)return t.slice();var e=t.length,i=xJ?xJ(e):new t.constructor(e);return t.copy(i),i}T_.exports=lLe});var DT=y((VSt,AJ)=>{"use strict";var IJ=eL();function cLe(t){var n=new t.constructor(t.byteLength);return new IJ(n).set(new IJ(t)),n}AJ.exports=cLe});var lV=y((BSt,MJ)=>{"use strict";var dLe=DT();function uLe(t,n){var e=n?dLe(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}MJ.exports=uLe});var I_=y((jSt,kJ)=>{"use strict";function fLe(t,n){var e=-1,i=t.length;for(n||(n=Array(i));++e<i;)n[e]=t[e];return n}kJ.exports=fLe});var Y0=y((USt,PJ)=>{"use strict";var mLe=ka(),RJ=Object.create,pLe=(function(){function t(){}return function(n){if(!mLe(n))return{};if(RJ)return RJ(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}})();PJ.exports=pLe});var ET=y((zSt,NJ)=>{"use strict";var hLe=TF(),gLe=hLe(Object.getPrototypeOf,Object);NJ.exports=gLe});var cV=y((HSt,OJ)=>{"use strict";var _Le=Y0(),vLe=ET(),yLe=o0();function bLe(t){return typeof t.constructor=="function"&&!yLe(t)?_Le(vLe(t)):{}}OJ.exports=bLe});var LJ=y(($St,FJ)=>{"use strict";var CLe=pd(),DLe=na();function ELe(t){return DLe(t)&&CLe(t)}FJ.exports=ELe});var dV=y((GSt,BJ)=>{"use strict";var SLe=md(),wLe=ET(),xLe=na(),TLe="[object Object]",ILe=Function.prototype,ALe=Object.prototype,VJ=ILe.toString,MLe=ALe.hasOwnProperty,kLe=VJ.call(Object);function RLe(t){if(!xLe(t)||SLe(t)!=TLe)return!1;var n=wLe(t);if(n===null)return!0;var e=MLe.call(n,"constructor")&&n.constructor;return typeof e=="function"&&e instanceof e&&VJ.call(e)==kLe}BJ.exports=RLe});var uV=y((qSt,jJ)=>{"use strict";function PLe(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}jJ.exports=PLe});var ST=y((YSt,UJ)=>{"use strict";var NLe=CT(),OLe=o_(),FLe=Object.prototype,LLe=FLe.hasOwnProperty;function VLe(t,n,e){var i=t[n];(!(LLe.call(t,n)&&OLe(i,e))||e===void 0&&!(n in t))&&NLe(t,n,e)}UJ.exports=VLe});var A_=y((WSt,zJ)=>{"use strict";var BLe=ST(),jLe=CT();function ULe(t,n,e,i){var r=!e;e||(e={});for(var o=-1,a=n.length;++o<a;){var s=n[o],l=i?i(e[s],t[s],s,e,t):void 0;l===void 0&&(l=t[s]),r?jLe(e,s,l):BLe(e,s,l)}return e}zJ.exports=ULe});var $J=y((KSt,HJ)=>{"use strict";function zLe(t){var n=[];if(t!=null)for(var e in Object(t))n.push(e);return n}HJ.exports=zLe});var qJ=y((XSt,GJ)=>{"use strict";var HLe=ka(),$Le=o0(),GLe=$J(),qLe=Object.prototype,YLe=qLe.hasOwnProperty;function WLe(t){if(!HLe(t))return GLe(t);var n=$Le(t),e=[];for(var i in t)i=="constructor"&&(n||!YLe.call(t,i))||e.push(i);return e}GJ.exports=WLe});var M_=y((QSt,YJ)=>{"use strict";var KLe=qF(),XLe=qJ(),QLe=pd();function ZLe(t){return QLe(t)?KLe(t,!0):XLe(t)}YJ.exports=ZLe});var KJ=y((ZSt,WJ)=>{"use strict";var JLe=A_(),e2e=M_();function t2e(t){return JLe(t,e2e(t))}WJ.exports=t2e});var tee=y((JSt,eee)=>{"use strict";var XJ=aV(),n2e=sV(),i2e=lV(),r2e=I_(),o2e=cV(),QJ=e_(),ZJ=Oi(),a2e=LJ(),s2e=n_(),l2e=Zg(),c2e=ka(),d2e=dV(),u2e=d0(),JJ=uV(),f2e=KJ();function m2e(t,n,e,i,r,o,a){var s=JJ(t,e),l=JJ(n,e),c=a.get(l);if(c){XJ(t,e,c);return}var d=o?o(s,l,e+"",t,n,a):void 0,u=d===void 0;if(u){var m=ZJ(l),f=!m&&s2e(l),p=!m&&!f&&u2e(l);d=l,m||f||p?ZJ(s)?d=s:a2e(s)?d=r2e(s):f?(u=!1,d=n2e(l,!0)):p?(u=!1,d=i2e(l,!0)):d=[]:d2e(l)||QJ(l)?(d=s,QJ(s)?d=f2e(s):(!c2e(s)||l2e(s))&&(d=o2e(l))):u=!1}u&&(a.set(l,d),r(d,l,i,o,a),a.delete(l)),XJ(t,e,d)}eee.exports=m2e});var ree=y((ewt,iee)=>{"use strict";var p2e=v0(),h2e=aV(),g2e=iV(),_2e=tee(),v2e=ka(),y2e=M_(),b2e=uV();function nee(t,n,e,i,r){t!==n&&g2e(n,function(o,a){if(r||(r=new p2e),v2e(o))_2e(t,n,a,e,nee,i,r);else{var s=i?i(b2e(t,a),o,a+"",t,n,r):void 0;s===void 0&&(s=o),h2e(t,a,s)}},y2e)}iee.exports=nee});var wT=y((twt,oee)=>{"use strict";function C2e(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}oee.exports=C2e});var fV=y((nwt,see)=>{"use strict";var D2e=wT(),aee=Math.max;function E2e(t,n,e){return n=aee(n===void 0?t.length-1:n,0),function(){for(var i=arguments,r=-1,o=aee(i.length-n,0),a=Array(o);++r<o;)a[r]=i[n+r];r=-1;for(var s=Array(n+1);++r<n;)s[r]=i[r];return s[n]=e(a),D2e(t,this,s)}}see.exports=E2e});var cee=y((iwt,lee)=>{"use strict";function S2e(t){return function(){return t}}lee.exports=S2e});var fee=y((rwt,uee)=>{"use strict";var w2e=cee(),dee=oV(),x2e=y0(),T2e=dee?function(t,n){return dee(t,"toString",{configurable:!0,enumerable:!1,value:w2e(n),writable:!0})}:x2e;uee.exports=T2e});var mV=y((owt,mee)=>{"use strict";var I2e=800,A2e=16,M2e=Date.now;function k2e(t){var n=0,e=0;return function(){var i=M2e(),r=A2e-(i-e);if(e=i,r>0){if(++n>=I2e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}mee.exports=k2e});var xT=y((awt,pee)=>{"use strict";var R2e=fee(),P2e=mV(),N2e=P2e(R2e);pee.exports=N2e});var gee=y((swt,hee)=>{"use strict";var O2e=y0(),F2e=fV(),L2e=xT();function V2e(t,n){return L2e(F2e(t,n,O2e),t+"")}hee.exports=V2e});var vee=y((lwt,_ee)=>{"use strict";var B2e=gee(),j2e=Tx();function U2e(t){return B2e(function(n,e){var i=-1,r=e.length,o=r>1?e[r-1]:void 0,a=r>2?e[2]:void 0;for(o=t.length>3&&typeof o=="function"?(r--,o):void 0,a&&j2e(e[0],e[1],a)&&(o=r<3?void 0:o,r=1),n=Object(n);++i<r;){var s=e[i];s&&t(n,s,i,o)}return n})}_ee.exports=U2e});var TT=y((cwt,yee)=>{"use strict";var z2e=ree(),H2e=vee(),$2e=H2e(function(t,n,e){z2e(t,n,e)});yee.exports=$2e});var IT=y((dwt,bee)=>{"use strict";function G2e(t,n){for(var e=-1,i=t==null?0:t.length;++e<i&&n(t[e],e,t)!==!1;);return t}bee.exports=G2e});var pV=y((uwt,Cee)=>{"use strict";var q2e=A_(),Y2e=tc();function W2e(t,n){return t&&q2e(n,Y2e(n),t)}Cee.exports=W2e});var Eee=y((fwt,Dee)=>{"use strict";var K2e=A_(),X2e=M_();function Q2e(t,n){return t&&K2e(n,X2e(n),t)}Dee.exports=Q2e});var wee=y((mwt,See)=>{"use strict";var Z2e=A_(),J2e=Px();function eVe(t,n){return Z2e(t,J2e(t),n)}See.exports=eVe});var hV=y((pwt,xee)=>{"use strict";var tVe=Rx(),nVe=ET(),iVe=Px(),rVe=oL(),oVe=Object.getOwnPropertySymbols,aVe=oVe?function(t){for(var n=[];t;)tVe(n,iVe(t)),t=nVe(t);return n}:rVe;xee.exports=aVe});var Iee=y((hwt,Tee)=>{"use strict";var sVe=A_(),lVe=hV();function cVe(t,n){return sVe(t,lVe(t),n)}Tee.exports=cVe});var Mee=y((gwt,Aee)=>{"use strict";var dVe=iL(),uVe=hV(),fVe=M_();function mVe(t){return dVe(t,fVe,uVe)}Aee.exports=mVe});var Ree=y((_wt,kee)=>{"use strict";var pVe=Object.prototype,hVe=pVe.hasOwnProperty;function gVe(t){var n=t.length,e=new t.constructor(n);return n&&typeof t[0]=="string"&&hVe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}kee.exports=gVe});var Nee=y((vwt,Pee)=>{"use strict";var _Ve=DT();function vVe(t,n){var e=n?_Ve(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}Pee.exports=vVe});var Fee=y((ywt,Oee)=>{"use strict";var yVe=/\w*$/;function bVe(t){var n=new t.constructor(t.source,yVe.exec(t));return n.lastIndex=t.lastIndex,n}Oee.exports=bVe});var Uee=y((bwt,jee)=>{"use strict";var Lee=pp(),Vee=Lee?Lee.prototype:void 0,Bee=Vee?Vee.valueOf:void 0;function CVe(t){return Bee?Object(Bee.call(t)):{}}jee.exports=CVe});var Hee=y((Cwt,zee)=>{"use strict";var DVe=DT(),EVe=Nee(),SVe=Fee(),wVe=Uee(),xVe=lV(),TVe="[object Boolean]",IVe="[object Date]",AVe="[object Map]",MVe="[object Number]",kVe="[object RegExp]",RVe="[object Set]",PVe="[object String]",NVe="[object Symbol]",OVe="[object ArrayBuffer]",FVe="[object DataView]",LVe="[object Float32Array]",VVe="[object Float64Array]",BVe="[object Int8Array]",jVe="[object Int16Array]",UVe="[object Int32Array]",zVe="[object Uint8Array]",HVe="[object Uint8ClampedArray]",$Ve="[object Uint16Array]",GVe="[object Uint32Array]";function qVe(t,n,e){var i=t.constructor;switch(n){case OVe:return DVe(t);case TVe:case IVe:return new i(+t);case FVe:return EVe(t,e);case LVe:case VVe:case BVe:case jVe:case UVe:case zVe:case HVe:case $Ve:case GVe:return xVe(t,e);case AVe:return new i;case MVe:case PVe:return new i(t);case kVe:return SVe(t);case RVe:return new i;case NVe:return wVe(t)}}zee.exports=qVe});var Gee=y((Dwt,$ee)=>{"use strict";var YVe=Hu(),WVe=na(),KVe="[object Map]";function XVe(t){return WVe(t)&&YVe(t)==KVe}$ee.exports=XVe});var Kee=y((Ewt,Wee)=>{"use strict";var QVe=Gee(),ZVe=wx(),qee=xx(),Yee=qee&&qee.isMap,JVe=Yee?ZVe(Yee):QVe;Wee.exports=JVe});var Qee=y((Swt,Xee)=>{"use strict";var eBe=Hu(),tBe=na(),nBe="[object Set]";function iBe(t){return tBe(t)&&eBe(t)==nBe}Xee.exports=iBe});var tte=y((wwt,ete)=>{"use strict";var rBe=Qee(),oBe=wx(),Zee=xx(),Jee=Zee&&Zee.isSet,aBe=Jee?oBe(Jee):rBe;ete.exports=aBe});var MT=y((xwt,ote)=>{"use strict";var sBe=v0(),lBe=IT(),cBe=ST(),dBe=pV(),uBe=Eee(),fBe=sV(),mBe=I_(),pBe=wee(),hBe=Iee(),gBe=aL(),_Be=Mee(),vBe=Hu(),yBe=Ree(),bBe=Hee(),CBe=cV(),DBe=Oi(),EBe=n_(),SBe=Kee(),wBe=ka(),xBe=tte(),TBe=tc(),IBe=M_(),ABe=1,MBe=2,kBe=4,nte="[object Arguments]",RBe="[object Array]",PBe="[object Boolean]",NBe="[object Date]",OBe="[object Error]",ite="[object Function]",FBe="[object GeneratorFunction]",LBe="[object Map]",VBe="[object Number]",rte="[object Object]",BBe="[object RegExp]",jBe="[object Set]",UBe="[object String]",zBe="[object Symbol]",HBe="[object WeakMap]",$Be="[object ArrayBuffer]",GBe="[object DataView]",qBe="[object Float32Array]",YBe="[object Float64Array]",WBe="[object Int8Array]",KBe="[object Int16Array]",XBe="[object Int32Array]",QBe="[object Uint8Array]",ZBe="[object Uint8ClampedArray]",JBe="[object Uint16Array]",eje="[object Uint32Array]",ri={};ri[nte]=ri[RBe]=ri[$Be]=ri[GBe]=ri[PBe]=ri[NBe]=ri[qBe]=ri[YBe]=ri[WBe]=ri[KBe]=ri[XBe]=ri[LBe]=ri[VBe]=ri[rte]=ri[BBe]=ri[jBe]=ri[UBe]=ri[zBe]=ri[QBe]=ri[ZBe]=ri[JBe]=ri[eje]=!0;ri[OBe]=ri[ite]=ri[HBe]=!1;function AT(t,n,e,i,r,o){var a,s=n&ABe,l=n&MBe,c=n&kBe;if(e&&(a=r?e(t,i,r,o):e(t)),a!==void 0)return a;if(!wBe(t))return t;var d=DBe(t);if(d){if(a=yBe(t),!s)return mBe(t,a)}else{var u=vBe(t),m=u==ite||u==FBe;if(EBe(t))return fBe(t,s);if(u==rte||u==nte||m&&!r){if(a=l||m?{}:CBe(t),!s)return l?hBe(t,uBe(a,t)):pBe(t,dBe(a,t))}else{if(!ri[u])return r?t:{};a=bBe(t,u,s)}}o||(o=new sBe);var f=o.get(t);if(f)return f;o.set(t,a),xBe(t)?t.forEach(function(_){a.add(AT(_,n,e,_,t,o))}):SBe(t)&&t.forEach(function(_,v){a.set(v,AT(_,n,e,v,t,o))});var p=c?l?_Be:gBe:l?IBe:TBe,g=d?void 0:p(t);return lBe(g||t,function(_,v){g&&(v=_,_=t[v]),cBe(a,v,AT(_,n,e,v,t,o))}),a}ote.exports=AT});var kT=y((Twt,ate)=>{"use strict";var tje=MT(),nje=1,ije=4;function rje(t){return tje(t,nje|ije)}ate.exports=rje});var ste=y(sa=>{"use strict";sa.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"};sa.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]};sa.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]};sa.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2};sa.iterateeRearg={mapKeys:[1],reduceRight:[1,0]};sa.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]};sa.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}};sa.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}};sa.realToAlias=(function(){var t=Object.prototype.hasOwnProperty,n=sa.aliasToReal,e={};for(var i in n){var r=n[i];t.call(e,r)?e[r].push(i):e[r]=[i]}return e})();sa.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"};sa.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0};sa.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}});var RT=y((Awt,lte)=>{"use strict";lte.exports={}});var fte=y((Mwt,ute)=>{"use strict";var ur=ste(),oje=RT(),cte=Array.prototype.push;function aje(t,n){return n==2?function(e,i){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function gV(t,n){return n==2?function(e,i){return t(e,i)}:function(e){return t(e)}}function dte(t){for(var n=t?t.length:0,e=Array(n);n--;)e[n]=t[n];return e}function sje(t){return function(n){return t({},n)}}function lje(t,n){return function(){for(var e=arguments.length,i=e-1,r=Array(e);e--;)r[e]=arguments[e];var o=r[n],a=r.slice(0,n);return o&&cte.apply(a,o),n!=i&&cte.apply(a,r.slice(n+1)),t.apply(this,a)}}function _V(t,n){return function(){var e=arguments.length;if(e){for(var i=Array(e);e--;)i[e]=arguments[e];var r=i[0]=n.apply(void 0,i);return t.apply(void 0,i),r}}}function vV(t,n,e,i){var r=typeof n=="function",o=n===Object(n);if(o&&(i=e,e=n,n=void 0),e==null)throw new TypeError;i||(i={});var a={cap:"cap"in i?i.cap:!0,curry:"curry"in i?i.curry:!0,fixed:"fixed"in i?i.fixed:!0,immutable:"immutable"in i?i.immutable:!0,rearg:"rearg"in i?i.rearg:!0},s=r?e:oje,l="curry"in i&&i.curry,c="fixed"in i&&i.fixed,d="rearg"in i&&i.rearg,u=r?e.runInContext():void 0,m=r?e:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},f=m.ary,p=m.assign,g=m.clone,_=m.curry,v=m.forEach,D=m.isArray,O=m.isError,B=m.isFunction,F=m.isWeakMap,W=m.keys,j=m.rearg,k=m.toInteger,Y=m.toPath,Q=W(ur.aryMethod),ce={castArray:function(L){return function(){var H=arguments[0];return D(H)?L(dte(H)):L.apply(void 0,arguments)}},iteratee:function(L){return function(){var H=arguments[0],$=arguments[1],oe=L(H,$),me=oe.length;return a.cap&&typeof $=="number"?($=$>2?$-2:1,me&&me<=$?oe:gV(oe,$)):oe}},mixin:function(L){return function(H){var $=this;if(!B($))return L($,Object(H));var oe=[];return v(W(H),function(me){B(H[me])&&oe.push([me,$.prototype[me]])}),L($,Object(H)),v(oe,function(me){var Ye=me[1];B(Ye)?$.prototype[me[0]]=Ye:delete $.prototype[me[0]]}),$}},nthArg:function(L){return function(H){var $=H<0?1:k(H)+1;return _(L(H),$)}},rearg:function(L){return function(H,$){var oe=$?$.length:0;return _(L(H,$),oe)}},runInContext:function(L){return function(H){return vV(t,L(H),i)}}};function ie(L,H){if(a.cap){var $=ur.iterateeRearg[L];if($)return Ie(H,$);var oe=!r&&ur.iterateeAry[L];if(oe)return ne(H,oe)}return H}function X(L,H,$){return l||a.curry&&$>1?_(H,$):H}function w(L,H,$){if(a.fixed&&(c||!ur.skipFixed[L])){var oe=ur.methodSpread[L],me=oe&&oe.start;return me===void 0?f(H,$):lje(H,me)}return H}function P(L,H,$){return a.rearg&&$>1&&(d||!ur.skipRearg[L])?j(H,ur.methodRearg[L]||ur.aryRearg[$]):H}function A(L,H){H=Y(H);for(var $=-1,oe=H.length,me=oe-1,Ye=g(Object(L)),ut=Ye;ut!=null&&++$<oe;){var nn=H[$],Rt=ut[nn];Rt!=null&&!(B(Rt)||O(Rt)||F(Rt))&&(ut[nn]=g($==me?Rt:Object(Rt))),ut=ut[nn]}return Ye}function R(L){return M.runInContext.convert(L)(void 0)}function I(L,H){var $=ur.aliasToReal[L]||L,oe=ur.remap[$]||$,me=i;return function(Ye){var ut=r?u:m,nn=r?u[oe]:H,Rt=p(p({},me),Ye);return vV(ut,$,nn,Rt)}}function ne(L,H){return we(L,function($){return typeof $=="function"?gV($,H):$})}function Ie(L,H){return we(L,function($){var oe=H.length;return aje(j(gV($,oe),H),oe)})}function we(L,H){return function(){var $=arguments.length;if(!$)return L();for(var oe=Array($);$--;)oe[$]=arguments[$];var me=a.rearg?0:$-1;return oe[me]=H(oe[me]),L.apply(void 0,oe)}}function ee(L,H,$){var oe,me=ur.aliasToReal[L]||L,Ye=H,ut=ce[me];return ut?Ye=ut(H):a.immutable&&(ur.mutate.array[me]?Ye=_V(H,dte):ur.mutate.object[me]?Ye=_V(H,sje(H)):ur.mutate.set[me]&&(Ye=_V(H,A))),v(Q,function(nn){return v(ur.aryMethod[nn],function(Rt){if(me==Rt){var rn=ur.methodSpread[me],Tn=rn&&rn.afterRearg;return oe=Tn?w(me,P(me,Ye,nn),nn):P(me,w(me,Ye,nn),nn),oe=ie(me,oe),oe=X(me,oe,nn),!1}}),!oe}),oe||(oe=Ye),oe==H&&(oe=l?_(oe,1):function(){return H.apply(this,arguments)}),oe.convert=I(me,H),oe.placeholder=H.placeholder=$,oe}if(!o)return ee(n,e,s);var M=e,T=[];return v(Q,function(L){v(ur.aryMethod[L],function(H){var $=M[ur.remap[H]||H];$&&T.push([H,ee(H,$,M)])})}),v(W(M),function(L){var H=M[L];if(typeof H=="function"){for(var $=T.length;$--;)if(T[$][0]==L)return;H.convert=I(L,H),T.push([L,H])}}),v(T,function(L){M[L[0]]=L[1]}),M.convert=R,M.placeholder=M,v(W(M),function(L){v(ur.realToAlias[L]||[],function(H){M[H]=M[L]})}),M}ute.exports=vV});var yV=y((kwt,pte)=>{"use strict";var mte=kF(),cje=mte&&new mte;pte.exports=cje});var bV=y((Rwt,gte)=>{"use strict";var dje=y0(),hte=yV(),uje=hte?function(t,n){return hte.set(t,n),t}:dje;gte.exports=uje});var W0=y((Pwt,_te)=>{"use strict";var fje=Y0(),mje=ka();function pje(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=fje(t.prototype),i=t.apply(e,n);return mje(i)?i:e}}_te.exports=pje});var yte=y((Nwt,vte)=>{"use strict";var hje=W0(),gje=ko(),_je=1;function vje(t,n,e){var i=n&_je,r=hje(t);function o(){var a=this&&this!==gje&&this instanceof o?r:t;return a.apply(i?e:this,arguments)}return o}vte.exports=vje});var CV=y((Owt,bte)=>{"use strict";var yje=Math.max;function bje(t,n,e,i){for(var r=-1,o=t.length,a=e.length,s=-1,l=n.length,c=yje(o-a,0),d=Array(l+c),u=!i;++s<l;)d[s]=n[s];for(;++r<a;)(u||r<o)&&(d[e[r]]=t[r]);for(;c--;)d[s++]=t[r++];return d}bte.exports=bje});var DV=y((Fwt,Cte)=>{"use strict";var Cje=Math.max;function Dje(t,n,e,i){for(var r=-1,o=t.length,a=-1,s=e.length,l=-1,c=n.length,d=Cje(o-s,0),u=Array(d+c),m=!i;++r<d;)u[r]=t[r];for(var f=r;++l<c;)u[f+l]=n[l];for(;++a<s;)(m||r<o)&&(u[f+e[a]]=t[r++]);return u}Cte.exports=Dje});var Ete=y((Lwt,Dte)=>{"use strict";function Eje(t,n){for(var e=t.length,i=0;e--;)t[e]===n&&++i;return i}Dte.exports=Eje});var PT=y((Vwt,Ste)=>{"use strict";function Sje(){}Ste.exports=Sje});var OT=y((Bwt,wte)=>{"use strict";var wje=Y0(),xje=PT(),Tje=4294967295;function NT(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Tje,this.__views__=[]}NT.prototype=wje(xje.prototype);NT.prototype.constructor=NT;wte.exports=NT});var Tte=y((jwt,xte)=>{"use strict";function Ije(){}xte.exports=Ije});var EV=y((Uwt,Ate)=>{"use strict";var Ite=yV(),Aje=Tte(),Mje=Ite?function(t){return Ite.get(t)}:Aje;Ate.exports=Mje});var kte=y((zwt,Mte)=>{"use strict";var kje={};Mte.exports=kje});var Nte=y((Hwt,Pte)=>{"use strict";var Rte=kte(),Rje=Object.prototype,Pje=Rje.hasOwnProperty;function Nje(t){for(var n=t.name+"",e=Rte[n],i=Pje.call(Rte,n)?e.length:0;i--;){var r=e[i],o=r.func;if(o==null||o==t)return r.name}return n}Pte.exports=Nje});var SV=y(($wt,Ote)=>{"use strict";var Oje=Y0(),Fje=PT();function FT(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}FT.prototype=Oje(Fje.prototype);FT.prototype.constructor=FT;Ote.exports=FT});var Lte=y((Gwt,Fte)=>{"use strict";var Lje=OT(),Vje=SV(),Bje=I_();function jje(t){if(t instanceof Lje)return t.clone();var n=new Vje(t.__wrapped__,t.__chain__);return n.__actions__=Bje(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}Fte.exports=jje});var jte=y((qwt,Bte)=>{"use strict";var Uje=OT(),Vte=SV(),zje=PT(),Hje=Oi(),$je=na(),Gje=Lte(),qje=Object.prototype,Yje=qje.hasOwnProperty;function LT(t){if($je(t)&&!Hje(t)&&!(t instanceof Uje)){if(t instanceof Vte)return t;if(Yje.call(t,"__wrapped__"))return Gje(t)}return new Vte(t)}LT.prototype=zje.prototype;LT.prototype.constructor=LT;Bte.exports=LT});var zte=y((Ywt,Ute)=>{"use strict";var Wje=OT(),Kje=EV(),Xje=Nte(),Qje=jte();function Zje(t){var n=Xje(t),e=Qje[n];if(typeof e!="function"||!(n in Wje.prototype))return!1;if(t===e)return!0;var i=Kje(e);return!!i&&t===i[0]}Ute.exports=Zje});var wV=y((Wwt,Hte)=>{"use strict";var Jje=bV(),eUe=mV(),tUe=eUe(Jje);Hte.exports=tUe});var Gte=y((Kwt,$te)=>{"use strict";var nUe=/\{\n\/\* \[wrapped with (.+)\] \*/,iUe=/,? & /;function rUe(t){var n=t.match(nUe);return n?n[1].split(iUe):[]}$te.exports=rUe});var Yte=y((Xwt,qte)=>{"use strict";var oUe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function aUe(t,n){var e=n.length;if(!e)return t;var i=e-1;return n[i]=(e>1?"& ":"")+n[i],n=n.join(e>2?", ":" "),t.replace(oUe,`{
|
|
9
|
+
/* [wrapped with `+n+`] */
|
|
10
|
+
`)}qte.exports=aUe});var Kte=y((Qwt,Wte)=>{"use strict";var sUe=uL();function lUe(t,n){var e=t==null?0:t.length;return!!e&&sUe(t,n,0)>-1}Wte.exports=lUe});var Qte=y((Zwt,Xte)=>{"use strict";var cUe=IT(),dUe=Kte(),uUe=1,fUe=2,mUe=8,pUe=16,hUe=32,gUe=64,_Ue=128,vUe=256,yUe=512,bUe=[["ary",_Ue],["bind",uUe],["bindKey",fUe],["curry",mUe],["curryRight",pUe],["flip",yUe],["partial",hUe],["partialRight",gUe],["rearg",vUe]];function CUe(t,n){return cUe(bUe,function(e){var i="_."+e[0];n&e[1]&&!dUe(t,i)&&t.push(i)}),t.sort()}Xte.exports=CUe});var xV=y((Jwt,Zte)=>{"use strict";var DUe=Gte(),EUe=Yte(),SUe=xT(),wUe=Qte();function xUe(t,n,e){var i=n+"";return SUe(t,EUe(i,wUe(DUe(i),e)))}Zte.exports=xUe});var TV=y((ext,tne)=>{"use strict";var TUe=zte(),IUe=wV(),AUe=xV(),MUe=1,kUe=2,RUe=4,PUe=8,Jte=32,ene=64;function NUe(t,n,e,i,r,o,a,s,l,c){var d=n&PUe,u=d?a:void 0,m=d?void 0:a,f=d?o:void 0,p=d?void 0:o;n|=d?Jte:ene,n&=~(d?ene:Jte),n&RUe||(n&=~(MUe|kUe));var g=[t,n,r,f,u,p,m,s,l,c],_=e.apply(void 0,g);return TUe(t)&&IUe(_,g),_.placeholder=i,AUe(_,t,n)}tne.exports=NUe});var IV=y((txt,nne)=>{"use strict";function OUe(t){var n=t;return n.placeholder}nne.exports=OUe});var rne=y((nxt,ine)=>{"use strict";var FUe=I_(),LUe=vp(),VUe=Math.min;function BUe(t,n){for(var e=t.length,i=VUe(n.length,e),r=FUe(t);i--;){var o=n[i];t[i]=LUe(o,e)?r[o]:void 0}return t}ine.exports=BUe});var VT=y((ixt,ane)=>{"use strict";var one="__lodash_placeholder__";function jUe(t,n){for(var e=-1,i=t.length,r=0,o=[];++e<i;){var a=t[e];(a===n||a===one)&&(t[e]=one,o[r++]=e)}return o}ane.exports=jUe});var AV=y((rxt,cne)=>{"use strict";var UUe=CV(),zUe=DV(),HUe=Ete(),sne=W0(),$Ue=TV(),GUe=IV(),qUe=rne(),YUe=VT(),WUe=ko(),KUe=1,XUe=2,QUe=8,ZUe=16,JUe=128,eze=512;function lne(t,n,e,i,r,o,a,s,l,c){var d=n&JUe,u=n&KUe,m=n&XUe,f=n&(QUe|ZUe),p=n&eze,g=m?void 0:sne(t);function _(){for(var v=arguments.length,D=Array(v),O=v;O--;)D[O]=arguments[O];if(f)var B=GUe(_),F=HUe(D,B);if(i&&(D=UUe(D,i,r,f)),o&&(D=zUe(D,o,a,f)),v-=F,f&&v<c){var W=YUe(D,B);return $Ue(t,n,lne,_.placeholder,e,D,W,s,l,c-v)}var j=u?e:this,k=m?j[t]:t;return v=D.length,s?D=qUe(D,s):p&&v>1&&D.reverse(),d&&l<v&&(D.length=l),this&&this!==WUe&&this instanceof _&&(k=g||sne(k)),k.apply(j,D)}return _}cne.exports=lne});var une=y((oxt,dne)=>{"use strict";var tze=wT(),nze=W0(),ize=AV(),rze=TV(),oze=IV(),aze=VT(),sze=ko();function lze(t,n,e){var i=nze(t);function r(){for(var o=arguments.length,a=Array(o),s=o,l=oze(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:aze(a,l);if(o-=c.length,o<e)return rze(t,n,ize,r.placeholder,void 0,a,c,void 0,void 0,e-o);var d=this&&this!==sze&&this instanceof r?i:t;return tze(d,this,a)}return r}dne.exports=lze});var mne=y((axt,fne)=>{"use strict";var cze=wT(),dze=W0(),uze=ko(),fze=1;function mze(t,n,e,i){var r=n&fze,o=dze(t);function a(){for(var s=-1,l=arguments.length,c=-1,d=i.length,u=Array(d+l),m=this&&this!==uze&&this instanceof a?o:t;++c<d;)u[c]=i[c];for(;l--;)u[c++]=arguments[++s];return cze(m,r?e:this,u)}return a}fne.exports=mze});var yne=y((sxt,vne)=>{"use strict";var pze=CV(),hze=DV(),pne=VT(),hne="__lodash_placeholder__",MV=1,gze=2,_ze=4,gne=8,K0=128,_ne=256,vze=Math.min;function yze(t,n){var e=t[1],i=n[1],r=e|i,o=r<(MV|gze|K0),a=i==K0&&e==gne||i==K0&&e==_ne&&t[7].length<=n[8]||i==(K0|_ne)&&n[7].length<=n[8]&&e==gne;if(!(o||a))return t;i&MV&&(t[2]=n[2],r|=e&MV?0:_ze);var s=n[3];if(s){var l=t[3];t[3]=l?pze(l,s,n[4]):s,t[4]=l?pne(t[3],hne):n[4]}return s=n[5],s&&(l=t[5],t[5]=l?hze(l,s,n[6]):s,t[6]=l?pne(t[5],hne):n[6]),s=n[7],s&&(t[7]=s),i&K0&&(t[8]=t[8]==null?n[8]:vze(t[8],n[8])),t[9]==null&&(t[9]=n[9]),t[0]=n[0],t[1]=r,t}vne.exports=yze});var BT=y((lxt,Sne)=>{"use strict";var bze=bV(),Cze=yte(),Dze=une(),Eze=AV(),Sze=mne(),wze=EV(),xze=yne(),Tze=wV(),Ize=xV(),bne=d_(),Aze="Expected a function",Cne=1,Mze=2,kV=8,RV=16,PV=32,Dne=64,Ene=Math.max;function kze(t,n,e,i,r,o,a,s){var l=n&Mze;if(!l&&typeof t!="function")throw new TypeError(Aze);var c=i?i.length:0;if(c||(n&=~(PV|Dne),i=r=void 0),a=a===void 0?a:Ene(bne(a),0),s=s===void 0?s:bne(s),c-=r?r.length:0,n&Dne){var d=i,u=r;i=r=void 0}var m=l?void 0:wze(t),f=[t,n,e,i,r,d,u,o,a,s];if(m&&xze(f,m),t=f[0],n=f[1],e=f[2],i=f[3],r=f[4],s=f[9]=f[9]===void 0?l?0:t.length:Ene(f[9]-c,0),!s&&n&(kV|RV)&&(n&=~(kV|RV)),!n||n==Cne)var p=Cze(t,n,e);else n==kV||n==RV?p=Dze(t,n,s):(n==PV||n==(Cne|PV))&&!r.length?p=Sze(t,n,e,i):p=Eze.apply(void 0,f);var g=m?bze:Tze;return Ize(g(p,f),t,n)}Sne.exports=kze});var xne=y((cxt,wne)=>{"use strict";var Rze=BT(),Pze=128;function Nze(t,n,e){return n=e?void 0:n,n=t&&n==null?t.length:n,Rze(t,Pze,void 0,void 0,void 0,void 0,n)}wne.exports=Nze});var Ine=y((dxt,Tne)=>{"use strict";var Oze=MT(),Fze=4;function Lze(t){return Oze(t,Fze)}Tne.exports=Lze});var Mne=y((uxt,Ane)=>{"use strict";var Vze=BT(),Bze=8;function NV(t,n,e){n=e?void 0:n;var i=Vze(t,Bze,void 0,void 0,void 0,void 0,void 0,n);return i.placeholder=NV.placeholder,i}NV.placeholder={};Ane.exports=NV});var Rne=y((fxt,kne)=>{"use strict";var jze=md(),Uze=na(),zze=dV(),Hze="[object DOMException]",$ze="[object Error]";function Gze(t){if(!Uze(t))return!1;var n=jze(t);return n==$ze||n==Hze||typeof t.message=="string"&&typeof t.name=="string"&&!zze(t)}kne.exports=Gze});var Nne=y((mxt,Pne)=>{"use strict";var qze=Hu(),Yze=na(),Wze="[object WeakMap]";function Kze(t){return Yze(t)&&qze(t)==Wze}Pne.exports=Kze});var Fne=y((pxt,One)=>{"use strict";var Xze=MT(),Qze=hd(),Zze=1;function Jze(t){return Qze(typeof t=="function"?t:Xze(t,Zze))}One.exports=Jze});var jne=y((hxt,Bne)=>{"use strict";var Lne=pp(),eHe=e_(),tHe=Oi(),Vne=Lne?Lne.isConcatSpreadable:void 0;function nHe(t){return tHe(t)||eHe(t)||!!(Vne&&t&&t[Vne])}Bne.exports=nHe});var Hne=y((gxt,zne)=>{"use strict";var iHe=Rx(),rHe=jne();function Une(t,n,e,i,r){var o=-1,a=t.length;for(e||(e=rHe),r||(r=[]);++o<a;){var s=t[o];n>0&&e(s)?n>1?Une(s,n-1,e,i,r):iHe(r,s):i||(r[r.length]=s)}return r}zne.exports=Une});var Gne=y((_xt,$ne)=>{"use strict";var oHe=Hne();function aHe(t){var n=t==null?0:t.length;return n?oHe(t,1):[]}$ne.exports=aHe});var Yne=y((vxt,qne)=>{"use strict";var sHe=Gne(),lHe=fV(),cHe=xT();function dHe(t){return cHe(lHe(t,void 0,sHe),t+"")}qne.exports=dHe});var Kne=y((yxt,Wne)=>{"use strict";var uHe=BT(),fHe=Yne(),mHe=256,pHe=fHe(function(t,n){return uHe(t,mHe,void 0,void 0,void 0,n)});Wne.exports=pHe});var Qne=y((bxt,Xne)=>{"use strict";var hHe=u0(),gHe=I_(),_He=Oi(),vHe=gp(),yHe=XF(),bHe=$u(),CHe=_p();function DHe(t){return _He(t)?hHe(t,bHe):vHe(t)?[t]:gHe(yHe(CHe(t)))}Xne.exports=DHe});var Jne=y((Cxt,Zne)=>{"use strict";Zne.exports={ary:xne(),assign:pV(),clone:Ine(),curry:Mne(),forEach:IT(),isArray:Oi(),isError:Rne(),isFunction:Zg(),isWeakMap:Nne(),iteratee:Fne(),keys:Dx(),rearg:Kne(),toInteger:d_(),toPath:Qne()}});var OV=y((Dxt,eie)=>{"use strict";var EHe=fte(),SHe=Jne();function wHe(t,n,e){return EHe(SHe,t,n,e)}eie.exports=wHe});var iie=y((Ext,nie)=>{"use strict";var xHe=ST(),THe=g0(),IHe=vp(),tie=ka(),AHe=$u();function MHe(t,n,e,i){if(!tie(t))return t;n=THe(n,t);for(var r=-1,o=n.length,a=o-1,s=t;s!=null&&++r<o;){var l=AHe(n[r]),c=e;if(l==="__proto__"||l==="constructor"||l==="prototype")return t;if(r!=a){var d=s[l];c=i?i(d,l,s):void 0,c===void 0&&(c=tie(d)?d:IHe(n[r+1])?[]:{})}xHe(s,l,c),s=s[l]}return t}nie.exports=MHe});var oie=y((Sxt,rie)=>{"use strict";var kHe=iie();function RHe(t,n,e){return t==null?t:kHe(t,n,e)}rie.exports=RHe});var lie=y((wxt,sie)=>{"use strict";var PHe=OV(),aie=PHe("set",oie());aie.placeholder=RT();sie.exports=aie});var FV=y((xxt,cie)=>{"use strict";function NHe(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}cie.exports=NHe});var uie=y((Txt,die)=>{"use strict";var OHe=Mx(),FHe=UF();function LHe(t,n){return n.length<2?t:OHe(t,FHe(n,0,-1))}die.exports=LHe});var LV=y((Ixt,fie)=>{"use strict";var VHe=g0(),BHe=FV(),jHe=uie(),UHe=$u();function zHe(t,n){return n=VHe(n,t),t=jHe(t,n),t==null||delete t[UHe(BHe(n))]}fie.exports=zHe});var pie=y((Axt,mie)=>{"use strict";var HHe=LV();function $He(t,n){return t==null?!0:HHe(t,n)}mie.exports=$He});var _ie=y((Mxt,gie)=>{"use strict";var GHe=OV(),hie=GHe("unset",pie());hie.placeholder=RT();gie.exports=hie});var yie=y((kxt,vie)=>{"use strict";var qHe=gp();function YHe(t,n,e){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=n(o);if(a!=null&&(s===void 0?a===a&&!qHe(a):e(a,s)))var s=a,l=o}return l}vie.exports=YHe});var Cie=y((Rxt,bie)=>{"use strict";function WHe(t,n){return t>n}bie.exports=WHe});var VV=y((Pxt,Die)=>{"use strict";var KHe=yie(),XHe=Cie(),QHe=hd();function ZHe(t,n){return t&&t.length?KHe(t,QHe(n,2),XHe):void 0}Die.exports=ZHe});var Sie=y((Nxt,Eie)=>{"use strict";var JHe=LV(),e$e=vp(),t$e=Array.prototype,n$e=t$e.splice;function i$e(t,n){for(var e=t?n.length:0,i=e-1;e--;){var r=n[e];if(e==i||r!==o){var o=r;e$e(r)?n$e.call(t,r,1):JHe(t,r)}}return t}Eie.exports=i$e});var xie=y((Oxt,wie)=>{"use strict";var r$e=hd(),o$e=Sie();function a$e(t,n){var e=[];if(!(t&&t.length))return e;var i=-1,r=[],o=t.length;for(n=r$e(n,3);++i<o;){var a=t[i];n(a,i,t)&&(e.push(a),r.push(i))}return o$e(t,r),e}wie.exports=a$e});var Iie=y((Fxt,Tie)=>{"use strict";function s$e(t,n,e){return t===t&&(e!==void 0&&(t=t<=e?t:e),n!==void 0&&(t=t>=n?t:n)),t}Tie.exports=s$e});var Mie=y((Lxt,Aie)=>{"use strict";var l$e=Iie(),c$e=jF(),d$e=d_(),u$e=_p();function f$e(t,n,e){t=u$e(t),n=c$e(n);var i=t.length;e=e===void 0?i:l$e(d$e(e),0,i);var r=e;return e-=n.length,e>=0&&t.slice(e,r)==n}Aie.exports=f$e});var Rie=y((Vxt,kie)=>{"use strict";function m$e(t,n,e,i,r){return r(t,function(o,a,s){e=i?(i=!1,o):n(e,o,a,s)}),e}kie.exports=m$e});var Nie=y((Bxt,Pie)=>{"use strict";var p$e=BF(),h$e=bT(),g$e=hd(),_$e=Rie(),v$e=Oi();function y$e(t,n,e){var i=v$e(t)?p$e:_$e,r=arguments.length<3;return i(t,g$e(n,4),e,r,h$e)}Pie.exports=y$e});var Fie=y((jxt,Oie)=>{"use strict";var b$e=u0();function C$e(t,n){return b$e(n,function(e){return[e,t[e]]})}Oie.exports=C$e});var Vie=y((Uxt,Lie)=>{"use strict";function D$e(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=[i,i]}),e}Lie.exports=D$e});var jie=y((zxt,Bie)=>{"use strict";var E$e=Fie(),S$e=Hu(),w$e=tL(),x$e=Vie(),T$e="[object Map]",I$e="[object Set]";function A$e(t){return function(n){var e=S$e(n);return e==T$e?w$e(n):e==I$e?x$e(n):E$e(n,t(n))}}Bie.exports=A$e});var zie=y((Hxt,Uie)=>{"use strict";var M$e=jie(),k$e=tc(),R$e=M$e(k$e);Uie.exports=R$e});var $ie=y(($xt,Hie)=>{"use strict";function P$e(t){return t===void 0}Hie.exports=P$e});var Soe=y((BTt,_I)=>{"use strict";(function(t,n,e,i){"use strict";var r=["","webkit","Moz","MS","ms","o"],o=n.createElement("div"),a="function",s=Math.round,l=Math.abs,c=Date.now;function d(b,S,N){return setTimeout(D(b,N),S)}function u(b,S,N){return Array.isArray(b)?(m(b,N[S],N),!0):!1}function m(b,S,N){var Z;if(b)if(b.forEach)b.forEach(S,N);else if(b.length!==i)for(Z=0;Z<b.length;)S.call(N,b[Z],Z,b),Z++;else for(Z in b)b.hasOwnProperty(Z)&&S.call(N,b[Z],Z,b)}function f(b,S,N){var Z="DEPRECATED METHOD: "+S+`
|
|
11
|
+
`+N+` AT
|
|
12
|
+
`;return function(){var Me=new Error("get-stack-trace"),ot=Me&&Me.stack?Me.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",mn=t.console&&(t.console.warn||t.console.log);return mn&&mn.call(t.console,Z,ot),b.apply(this,arguments)}}var p;typeof Object.assign!="function"?p=function(S){if(S===i||S===null)throw new TypeError("Cannot convert undefined or null to object");for(var N=Object(S),Z=1;Z<arguments.length;Z++){var Me=arguments[Z];if(Me!==i&&Me!==null)for(var ot in Me)Me.hasOwnProperty(ot)&&(N[ot]=Me[ot])}return N}:p=Object.assign;var g=f(function(S,N,Z){for(var Me=Object.keys(N),ot=0;ot<Me.length;)(!Z||Z&&S[Me[ot]]===i)&&(S[Me[ot]]=N[Me[ot]]),ot++;return S},"extend","Use `assign`."),_=f(function(S,N){return g(S,N,!0)},"merge","Use `assign`.");function v(b,S,N){var Z=S.prototype,Me;Me=b.prototype=Object.create(Z),Me.constructor=b,Me._super=Z,N&&p(Me,N)}function D(b,S){return function(){return b.apply(S,arguments)}}function O(b,S){return typeof b==a?b.apply(S&&S[0]||i,S):b}function B(b,S){return b===i?S:b}function F(b,S,N){m(Y(S),function(Z){b.addEventListener(Z,N,!1)})}function W(b,S,N){m(Y(S),function(Z){b.removeEventListener(Z,N,!1)})}function j(b,S){for(;b;){if(b==S)return!0;b=b.parentNode}return!1}function k(b,S){return b.indexOf(S)>-1}function Y(b){return b.trim().split(/\s+/g)}function Q(b,S,N){if(b.indexOf&&!N)return b.indexOf(S);for(var Z=0;Z<b.length;){if(N&&b[Z][N]==S||!N&&b[Z]===S)return Z;Z++}return-1}function ce(b){return Array.prototype.slice.call(b,0)}function ie(b,S,N){for(var Z=[],Me=[],ot=0;ot<b.length;){var mn=S?b[ot][S]:b[ot];Q(Me,mn)<0&&Z.push(b[ot]),Me[ot]=mn,ot++}return N&&(S?Z=Z.sort(function(Nr,Eo){return Nr[S]>Eo[S]}):Z=Z.sort()),Z}function X(b,S){for(var N,Z,Me=S[0].toUpperCase()+S.slice(1),ot=0;ot<r.length;){if(N=r[ot],Z=N?N+Me:S,Z in b)return Z;ot++}return i}var w=1;function P(){return w++}function A(b){var S=b.ownerDocument||b;return S.defaultView||S.parentWindow||t}var R=/mobile|tablet|ip(ad|hone|od)|android/i,I="ontouchstart"in t,ne=X(t,"PointerEvent")!==i,Ie=I&&R.test(navigator.userAgent),we="touch",ee="pen",M="mouse",T="kinect",L=25,H=1,$=2,oe=4,me=8,Ye=1,ut=2,nn=4,Rt=8,rn=16,Tn=ut|nn,Ai=Rt|rn,rr=Tn|Ai,le=["x","y"],ze=["clientX","clientY"];function rt(b,S){var N=this;this.manager=b,this.callback=S,this.element=b.element,this.target=b.options.inputTarget,this.domHandler=function(Z){O(b.options.enable,[b])&&N.handler(Z)},this.init()}rt.prototype={handler:function(){},init:function(){this.evEl&&F(this.element,this.evEl,this.domHandler),this.evTarget&&F(this.target,this.evTarget,this.domHandler),this.evWin&&F(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&W(this.element,this.evEl,this.domHandler),this.evTarget&&W(this.target,this.evTarget,this.domHandler),this.evWin&&W(A(this.element),this.evWin,this.domHandler)}};function at(b){var S,N=b.options.inputClass;return N?S=N:ne?S=ct:Ie?S=Yo:I?S=Ll:S=Ys,new S(b,z)}function z(b,S,N){var Z=N.pointers.length,Me=N.changedPointers.length,ot=S&H&&Z-Me===0,mn=S&(oe|me)&&Z-Me===0;N.isFirst=!!ot,N.isFinal=!!mn,ot&&(b.session={}),N.eventType=S,se(b,N),b.emit("hammer.input",N),b.recognize(N),b.session.prevInput=N}function se(b,S){var N=b.session,Z=S.pointers,Me=Z.length;N.firstInput||(N.firstInput=ke(S)),Me>1&&!N.firstMultiple?N.firstMultiple=ke(S):Me===1&&(N.firstMultiple=!1);var ot=N.firstInput,mn=N.firstMultiple,_r=mn?mn.center:ot.center,Nr=S.center=st(Z);S.timeStamp=c(),S.deltaTime=S.timeStamp-ot.timeStamp,S.angle=_n(_r,Nr),S.distance=Ct(_r,Nr),ye(N,S),S.offsetDirection=Ut(S.deltaX,S.deltaY);var Eo=ht(S.deltaTime,S.deltaX,S.deltaY);S.overallVelocityX=Eo.x,S.overallVelocityY=Eo.y,S.overallVelocity=l(Eo.x)>l(Eo.y)?Eo.x:Eo.y,S.scale=mn?$i(mn.pointers,Z):1,S.rotation=mn?qn(mn.pointers,Z):0,S.maxPointers=N.prevInput?S.pointers.length>N.prevInput.maxPointers?S.pointers.length:N.prevInput.maxPointers:S.pointers.length,ve(N,S);var Bl=b.element;j(S.srcEvent.target,Bl)&&(Bl=S.srcEvent.target),S.target=Bl}function ye(b,S){var N=S.center,Z=b.offsetDelta||{},Me=b.prevDelta||{},ot=b.prevInput||{};(S.eventType===H||ot.eventType===oe)&&(Me=b.prevDelta={x:ot.deltaX||0,y:ot.deltaY||0},Z=b.offsetDelta={x:N.x,y:N.y}),S.deltaX=Me.x+(N.x-Z.x),S.deltaY=Me.y+(N.y-Z.y)}function ve(b,S){var N=b.lastInterval||S,Z=S.timeStamp-N.timeStamp,Me,ot,mn,_r;if(S.eventType!=me&&(Z>L||N.velocity===i)){var Nr=S.deltaX-N.deltaX,Eo=S.deltaY-N.deltaY,Bl=ht(Z,Nr,Eo);ot=Bl.x,mn=Bl.y,Me=l(Bl.x)>l(Bl.y)?Bl.x:Bl.y,_r=Ut(Nr,Eo),b.lastInterval=S}else Me=N.velocity,ot=N.velocityX,mn=N.velocityY,_r=N.direction;S.velocity=Me,S.velocityX=ot,S.velocityY=mn,S.direction=_r}function ke(b){for(var S=[],N=0;N<b.pointers.length;)S[N]={clientX:s(b.pointers[N].clientX),clientY:s(b.pointers[N].clientY)},N++;return{timeStamp:c(),pointers:S,center:st(S),deltaX:b.deltaX,deltaY:b.deltaY}}function st(b){var S=b.length;if(S===1)return{x:s(b[0].clientX),y:s(b[0].clientY)};for(var N=0,Z=0,Me=0;Me<S;)N+=b[Me].clientX,Z+=b[Me].clientY,Me++;return{x:s(N/S),y:s(Z/S)}}function ht(b,S,N){return{x:S/b||0,y:N/b||0}}function Ut(b,S){return b===S?Ye:l(b)>=l(S)?b<0?ut:nn:S<0?Rt:rn}function Ct(b,S,N){N||(N=le);var Z=S[N[0]]-b[N[0]],Me=S[N[1]]-b[N[1]];return Math.sqrt(Z*Z+Me*Me)}function _n(b,S,N){N||(N=le);var Z=S[N[0]]-b[N[0]],Me=S[N[1]]-b[N[1]];return Math.atan2(Me,Z)*180/Math.PI}function qn(b,S){return _n(S[1],S[0],ze)+_n(b[1],b[0],ze)}function $i(b,S){return Ct(S[0],S[1],ze)/Ct(b[0],b[1],ze)}var is={mousedown:H,mousemove:$,mouseup:oe},rs="mousedown",Wr="mousemove mouseup";function Ys(){this.evEl=rs,this.evWin=Wr,this.pressed=!1,rt.apply(this,arguments)}v(Ys,rt,{handler:function(S){var N=is[S.type];N&H&&S.button===0&&(this.pressed=!0),N&$&&S.which!==1&&(N=oe),this.pressed&&(N&oe&&(this.pressed=!1),this.callback(this.manager,N,{pointers:[S],changedPointers:[S],pointerType:M,srcEvent:S}))}});var Fh={pointerdown:H,pointermove:$,pointerup:oe,pointercancel:me,pointerout:me},q={2:we,3:ee,4:M,5:T},de="pointerdown",Ue="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(de="MSPointerDown",Ue="MSPointerMove MSPointerUp MSPointerCancel");function ct(){this.evEl=de,this.evWin=Ue,rt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}v(ct,rt,{handler:function(S){var N=this.store,Z=!1,Me=S.type.toLowerCase().replace("ms",""),ot=Fh[Me],mn=q[S.pointerType]||S.pointerType,_r=mn==we,Nr=Q(N,S.pointerId,"pointerId");ot&H&&(S.button===0||_r)?Nr<0&&(N.push(S),Nr=N.length-1):ot&(oe|me)&&(Z=!0),!(Nr<0)&&(N[Nr]=S,this.callback(this.manager,ot,{pointers:N,changedPointers:[S],pointerType:mn,srcEvent:S}),Z&&N.splice(Nr,1))}});var vt={touchstart:H,touchmove:$,touchend:oe,touchcancel:me},wt="touchstart",hn="touchstart touchmove touchend touchcancel";function Qn(){this.evTarget=wt,this.evWin=hn,this.started=!1,rt.apply(this,arguments)}v(Qn,rt,{handler:function(S){var N=vt[S.type];if(N===H&&(this.started=!0),!!this.started){var Z=Kr.call(this,S,N);N&(oe|me)&&Z[0].length-Z[1].length===0&&(this.started=!1),this.callback(this.manager,N,{pointers:Z[0],changedPointers:Z[1],pointerType:we,srcEvent:S})}}});function Kr(b,S){var N=ce(b.touches),Z=ce(b.changedTouches);return S&(oe|me)&&(N=ie(N.concat(Z),"identifier",!0)),[N,Z]}var zt={touchstart:H,touchmove:$,touchend:oe,touchcancel:me},hm="touchstart touchmove touchend touchcancel";function Yo(){this.evTarget=hm,this.targetIds={},rt.apply(this,arguments)}v(Yo,rt,{handler:function(S){var N=zt[S.type],Z=gm.call(this,S,N);Z&&this.callback(this.manager,N,{pointers:Z[0],changedPointers:Z[1],pointerType:we,srcEvent:S})}});function gm(b,S){var N=ce(b.touches),Z=this.targetIds;if(S&(H|$)&&N.length===1)return Z[N[0].identifier]=!0,[N,N];var Me,ot,mn=ce(b.changedTouches),_r=[],Nr=this.target;if(ot=N.filter(function(Eo){return j(Eo.target,Nr)}),S===H)for(Me=0;Me<ot.length;)Z[ot[Me].identifier]=!0,Me++;for(Me=0;Me<mn.length;)Z[mn[Me].identifier]&&_r.push(mn[Me]),S&(oe|me)&&delete Z[mn[Me].identifier],Me++;if(_r.length)return[ie(ot.concat(_r),"identifier",!0),_r]}var Uc=2500,Lh=25;function Ll(){rt.apply(this,arguments);var b=D(this.handler,this);this.touch=new Yo(this.manager,b),this.mouse=new Ys(this.manager,b),this.primaryTouch=null,this.lastTouches=[]}v(Ll,rt,{handler:function(S,N,Z){var Me=Z.pointerType==we,ot=Z.pointerType==M;if(!(ot&&Z.sourceCapabilities&&Z.sourceCapabilities.firesTouchEvents)){if(Me)_E.call(this,N,Z);else if(ot&&yE.call(this,Z))return;this.callback(S,N,Z)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function _E(b,S){b&H?(this.primaryTouch=S.changedPointers[0].identifier,vE.call(this,S)):b&(oe|me)&&vE.call(this,S)}function vE(b){var S=b.changedPointers[0];if(S.identifier===this.primaryTouch){var N={x:S.clientX,y:S.clientY};this.lastTouches.push(N);var Z=this.lastTouches,Me=function(){var ot=Z.indexOf(N);ot>-1&&Z.splice(ot,1)};setTimeout(Me,Uc)}}function yE(b){for(var S=b.srcEvent.clientX,N=b.srcEvent.clientY,Z=0;Z<this.lastTouches.length;Z++){var Me=this.lastTouches[Z],ot=Math.abs(S-Me.x),mn=Math.abs(N-Me.y);if(ot<=Lh&&mn<=Lh)return!0}return!1}var _m=X(o.style,"touchAction"),vm=_m!==i,du="compute",bE="auto",ym="manipulation",Ws="none",_i="pan-x",xa="pan-y",CE=xme();function pR(b,S){this.manager=b,this.set(S)}pR.prototype={set:function(b){b==du&&(b=this.compute()),vm&&this.manager.element.style&&CE[b]&&(this.manager.element.style[_m]=b),this.actions=b.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var b=[];return m(this.manager.recognizers,function(S){O(S.options.enable,[S])&&(b=b.concat(S.getTouchAction()))}),wme(b.join(" "))},preventDefaults:function(b){var S=b.srcEvent,N=b.offsetDirection;if(this.manager.session.prevented){S.preventDefault();return}var Z=this.actions,Me=k(Z,Ws)&&!CE[Ws],ot=k(Z,xa)&&!CE[xa],mn=k(Z,_i)&&!CE[_i];if(Me){var _r=b.pointers.length===1,Nr=b.distance<2,Eo=b.deltaTime<250;if(_r&&Nr&&Eo)return}if(!(mn&&ot)&&(Me||ot&&N&Tn||mn&&N&Ai))return this.preventSrc(S)},preventSrc:function(b){this.manager.session.prevented=!0,b.preventDefault()}};function wme(b){if(k(b,Ws))return Ws;var S=k(b,_i),N=k(b,xa);return S&&N?Ws:S||N?S?_i:xa:k(b,ym)?ym:bE}function xme(){if(!vm)return!1;var b={},S=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(N){b[N]=S?t.CSS.supports("touch-action",N):!0}),b}var DE=1,os=2,Vh=4,uu=8,zc=uu,jy=16,Vl=32;function Hc(b){this.options=p({},this.defaults,b||{}),this.id=P(),this.manager=null,this.options.enable=B(this.options.enable,!0),this.state=DE,this.simultaneous={},this.requireFail=[]}Hc.prototype={defaults:{},set:function(b){return p(this.options,b),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(b){if(u(b,"recognizeWith",this))return this;var S=this.simultaneous;return b=EE(b,this),S[b.id]||(S[b.id]=b,b.recognizeWith(this)),this},dropRecognizeWith:function(b){return u(b,"dropRecognizeWith",this)?this:(b=EE(b,this),delete this.simultaneous[b.id],this)},requireFailure:function(b){if(u(b,"requireFailure",this))return this;var S=this.requireFail;return b=EE(b,this),Q(S,b)===-1&&(S.push(b),b.requireFailure(this)),this},dropRequireFailure:function(b){if(u(b,"dropRequireFailure",this))return this;b=EE(b,this);var S=Q(this.requireFail,b);return S>-1&&this.requireFail.splice(S,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(b){return!!this.simultaneous[b.id]},emit:function(b){var S=this,N=this.state;function Z(Me){S.manager.emit(Me,b)}N<uu&&Z(S.options.event+$$(N)),Z(S.options.event),b.additionalEvent&&Z(b.additionalEvent),N>=uu&&Z(S.options.event+$$(N))},tryEmit:function(b){if(this.canEmit())return this.emit(b);this.state=Vl},canEmit:function(){for(var b=0;b<this.requireFail.length;){if(!(this.requireFail[b].state&(Vl|DE)))return!1;b++}return!0},recognize:function(b){var S=p({},b);if(!O(this.options.enable,[this,S])){this.reset(),this.state=Vl;return}this.state&(zc|jy|Vl)&&(this.state=DE),this.state=this.process(S),this.state&(os|Vh|uu|jy)&&this.tryEmit(S)},process:function(b){},getTouchAction:function(){},reset:function(){}};function $$(b){return b&jy?"cancel":b&uu?"end":b&Vh?"move":b&os?"start":""}function G$(b){return b==rn?"down":b==Rt?"up":b==ut?"left":b==nn?"right":""}function EE(b,S){var N=S.manager;return N?N.get(b):b}function Ks(){Hc.apply(this,arguments)}v(Ks,Hc,{defaults:{pointers:1},attrTest:function(b){var S=this.options.pointers;return S===0||b.pointers.length===S},process:function(b){var S=this.state,N=b.eventType,Z=S&(os|Vh),Me=this.attrTest(b);return Z&&(N&me||!Me)?S|jy:Z||Me?N&oe?S|uu:S&os?S|Vh:os:Vl}});function SE(){Ks.apply(this,arguments),this.pX=null,this.pY=null}v(SE,Ks,{defaults:{event:"pan",threshold:10,pointers:1,direction:rr},getTouchAction:function(){var b=this.options.direction,S=[];return b&Tn&&S.push(xa),b&Ai&&S.push(_i),S},directionTest:function(b){var S=this.options,N=!0,Z=b.distance,Me=b.direction,ot=b.deltaX,mn=b.deltaY;return Me&S.direction||(S.direction&Tn?(Me=ot===0?Ye:ot<0?ut:nn,N=ot!=this.pX,Z=Math.abs(b.deltaX)):(Me=mn===0?Ye:mn<0?Rt:rn,N=mn!=this.pY,Z=Math.abs(b.deltaY))),b.direction=Me,N&&Z>S.threshold&&Me&S.direction},attrTest:function(b){return Ks.prototype.attrTest.call(this,b)&&(this.state&os||!(this.state&os)&&this.directionTest(b))},emit:function(b){this.pX=b.deltaX,this.pY=b.deltaY;var S=G$(b.direction);S&&(b.additionalEvent=this.options.event+S),this._super.emit.call(this,b)}});function hR(){Ks.apply(this,arguments)}v(hR,Ks,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ws]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.scale-1)>this.options.threshold||this.state&os)},emit:function(b){if(b.scale!==1){var S=b.scale<1?"in":"out";b.additionalEvent=this.options.event+S}this._super.emit.call(this,b)}});function gR(){Hc.apply(this,arguments),this._timer=null,this._input=null}v(gR,Hc,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[bE]},process:function(b){var S=this.options,N=b.pointers.length===S.pointers,Z=b.distance<S.threshold,Me=b.deltaTime>S.time;if(this._input=b,!Z||!N||b.eventType&(oe|me)&&!Me)this.reset();else if(b.eventType&H)this.reset(),this._timer=d(function(){this.state=zc,this.tryEmit()},S.time,this);else if(b.eventType&oe)return zc;return Vl},reset:function(){clearTimeout(this._timer)},emit:function(b){this.state===zc&&(b&&b.eventType&oe?this.manager.emit(this.options.event+"up",b):(this._input.timeStamp=c(),this.manager.emit(this.options.event,this._input)))}});function _R(){Ks.apply(this,arguments)}v(_R,Ks,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ws]},attrTest:function(b){return this._super.attrTest.call(this,b)&&(Math.abs(b.rotation)>this.options.threshold||this.state&os)}});function vR(){Ks.apply(this,arguments)}v(vR,Ks,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Tn|Ai,pointers:1},getTouchAction:function(){return SE.prototype.getTouchAction.call(this)},attrTest:function(b){var S=this.options.direction,N;return S&(Tn|Ai)?N=b.overallVelocity:S&Tn?N=b.overallVelocityX:S&Ai&&(N=b.overallVelocityY),this._super.attrTest.call(this,b)&&S&b.offsetDirection&&b.distance>this.options.threshold&&b.maxPointers==this.options.pointers&&l(N)>this.options.velocity&&b.eventType&oe},emit:function(b){var S=G$(b.offsetDirection);S&&this.manager.emit(this.options.event+S,b),this.manager.emit(this.options.event,b)}});function wE(){Hc.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}v(wE,Hc,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ym]},process:function(b){var S=this.options,N=b.pointers.length===S.pointers,Z=b.distance<S.threshold,Me=b.deltaTime<S.time;if(this.reset(),b.eventType&H&&this.count===0)return this.failTimeout();if(Z&&Me&&N){if(b.eventType!=oe)return this.failTimeout();var ot=this.pTime?b.timeStamp-this.pTime<S.interval:!0,mn=!this.pCenter||Ct(this.pCenter,b.center)<S.posThreshold;this.pTime=b.timeStamp,this.pCenter=b.center,!mn||!ot?this.count=1:this.count+=1,this._input=b;var _r=this.count%S.taps;if(_r===0)return this.hasRequireFailures()?(this._timer=d(function(){this.state=zc,this.tryEmit()},S.interval,this),os):zc}return Vl},failTimeout:function(){return this._timer=d(function(){this.state=Vl},this.options.interval,this),Vl},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==zc&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function $c(b,S){return S=S||{},S.recognizers=B(S.recognizers,$c.defaults.preset),new yR(b,S)}$c.VERSION="2.0.7",$c.defaults={domEvents:!1,touchAction:du,enable:!0,inputTarget:null,inputClass:null,preset:[[_R,{enable:!1}],[hR,{enable:!1},["rotate"]],[vR,{direction:Tn}],[SE,{direction:Tn},["swipe"]],[wE],[wE,{event:"doubletap",taps:2},["tap"]],[gR]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Tme=1,q$=2;function yR(b,S){this.options=p({},$c.defaults,S||{}),this.options.inputTarget=this.options.inputTarget||b,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=b,this.input=at(this),this.touchAction=new pR(this,this.options.touchAction),Y$(this,!0),m(this.options.recognizers,function(N){var Z=this.add(new N[0](N[1]));N[2]&&Z.recognizeWith(N[2]),N[3]&&Z.requireFailure(N[3])},this)}yR.prototype={set:function(b){return p(this.options,b),b.touchAction&&this.touchAction.update(),b.inputTarget&&(this.input.destroy(),this.input.target=b.inputTarget,this.input.init()),this},stop:function(b){this.session.stopped=b?q$:Tme},recognize:function(b){var S=this.session;if(!S.stopped){this.touchAction.preventDefaults(b);var N,Z=this.recognizers,Me=S.curRecognizer;(!Me||Me&&Me.state&zc)&&(Me=S.curRecognizer=null);for(var ot=0;ot<Z.length;)N=Z[ot],S.stopped!==q$&&(!Me||N==Me||N.canRecognizeWith(Me))?N.recognize(b):N.reset(),!Me&&N.state&(os|Vh|uu)&&(Me=S.curRecognizer=N),ot++}},get:function(b){if(b instanceof Hc)return b;for(var S=this.recognizers,N=0;N<S.length;N++)if(S[N].options.event==b)return S[N];return null},add:function(b){if(u(b,"add",this))return this;var S=this.get(b.options.event);return S&&this.remove(S),this.recognizers.push(b),b.manager=this,this.touchAction.update(),b},remove:function(b){if(u(b,"remove",this))return this;if(b=this.get(b),b){var S=this.recognizers,N=Q(S,b);N!==-1&&(S.splice(N,1),this.touchAction.update())}return this},on:function(b,S){if(b!==i&&S!==i){var N=this.handlers;return m(Y(b),function(Z){N[Z]=N[Z]||[],N[Z].push(S)}),this}},off:function(b,S){if(b!==i){var N=this.handlers;return m(Y(b),function(Z){S?N[Z]&&N[Z].splice(Q(N[Z],S),1):delete N[Z]}),this}},emit:function(b,S){this.options.domEvents&&Ime(b,S);var N=this.handlers[b]&&this.handlers[b].slice();if(!(!N||!N.length)){S.type=b,S.preventDefault=function(){S.srcEvent.preventDefault()};for(var Z=0;Z<N.length;)N[Z](S),Z++}},destroy:function(){this.element&&Y$(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Y$(b,S){var N=b.element;if(N.style){var Z;m(b.options.cssProps,function(Me,ot){Z=X(N.style,ot),S?(b.oldCssProps[Z]=N.style[Z],N.style[Z]=Me):N.style[Z]=b.oldCssProps[Z]||""}),S||(b.oldCssProps={})}}function Ime(b,S){var N=n.createEvent("Event");N.initEvent(b,!0,!0),N.gesture=S,S.target.dispatchEvent(N)}p($c,{INPUT_START:H,INPUT_MOVE:$,INPUT_END:oe,INPUT_CANCEL:me,STATE_POSSIBLE:DE,STATE_BEGAN:os,STATE_CHANGED:Vh,STATE_ENDED:uu,STATE_RECOGNIZED:zc,STATE_CANCELLED:jy,STATE_FAILED:Vl,DIRECTION_NONE:Ye,DIRECTION_LEFT:ut,DIRECTION_RIGHT:nn,DIRECTION_UP:Rt,DIRECTION_DOWN:rn,DIRECTION_HORIZONTAL:Tn,DIRECTION_VERTICAL:Ai,DIRECTION_ALL:rr,Manager:yR,Input:rt,TouchAction:pR,TouchInput:Yo,MouseInput:Ys,PointerEventInput:ct,TouchMouseInput:Ll,SingleTouchInput:Qn,Recognizer:Hc,AttrRecognizer:Ks,Tap:wE,Pan:SE,Swipe:vR,Pinch:hR,Rotate:_R,Press:gR,on:F,off:W,each:m,merge:_,extend:g,assign:p,inherit:v,bindFn:D,prefixed:X});var Ame=typeof t<"u"?t:typeof self<"u"?self:{};Ame.Hammer=$c,typeof define=="function"&&define.amd?define(function(){return $c}):typeof _I<"u"&&_I.exports?_I.exports=$c:t[e]=$c})(window,document,"Hammer")});var nse=y((Rj,Pj)=>{"use strict";(function(t,n){typeof Rj=="object"&&typeof Pj<"u"?Pj.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=n()})(Rj,function(){"use strict";var t=1e3,n=6e4,e=36e5,i="millisecond",r="second",o="minute",a="hour",s="day",l="week",c="month",d="quarter",u="year",m="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ie){var X=["th","st","nd","rd"],w=ie%100;return"["+ie+(X[(w-20)%10]||X[w]||X[0])+"]"}},v=function(ie,X,w){var P=String(ie);return!P||P.length>=X?ie:""+Array(X+1-P.length).join(w)+ie},D={s:v,z:function(ie){var X=-ie.utcOffset(),w=Math.abs(X),P=Math.floor(w/60),A=w%60;return(X<=0?"+":"-")+v(P,2,"0")+":"+v(A,2,"0")},m:function ie(X,w){if(X.date()<w.date())return-ie(w,X);var P=12*(w.year()-X.year())+(w.month()-X.month()),A=X.clone().add(P,c),R=w-A<0,I=X.clone().add(P+(R?-1:1),c);return+(-(P+(w-A)/(R?A-I:I-A))||0)},a:function(ie){return ie<0?Math.ceil(ie)||0:Math.floor(ie)},p:function(ie){return{M:c,y:u,w:l,d:s,D:m,h:a,m:o,s:r,ms:i,Q:d}[ie]||String(ie||"").toLowerCase().replace(/s$/,"")},u:function(ie){return ie===void 0}},O="en",B={};B[O]=_;var F="$isDayjsObject",W=function(ie){return ie instanceof Q||!(!ie||!ie[F])},j=function ie(X,w,P){var A;if(!X)return O;if(typeof X=="string"){var R=X.toLowerCase();B[R]&&(A=R),w&&(B[R]=w,A=R);var I=X.split("-");if(!A&&I.length>1)return ie(I[0])}else{var ne=X.name;B[ne]=X,A=ne}return!P&&A&&(O=A),A||!P&&O},k=function(ie,X){if(W(ie))return ie.clone();var w=typeof X=="object"?X:{};return w.date=ie,w.args=arguments,new Q(w)},Y=D;Y.l=j,Y.i=W,Y.w=function(ie,X){return k(ie,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var Q=(function(){function ie(w){this.$L=j(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[F]=!0}var X=ie.prototype;return X.parse=function(w){this.$d=(function(P){var A=P.date,R=P.utc;if(A===null)return new Date(NaN);if(Y.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var I=A.match(p);if(I){var ne=I[2]-1||0,Ie=(I[7]||"0").substring(0,3);return R?new Date(Date.UTC(I[1],ne,I[3]||1,I[4]||0,I[5]||0,I[6]||0,Ie)):new Date(I[1],ne,I[3]||1,I[4]||0,I[5]||0,I[6]||0,Ie)}}return new Date(A)})(w),this.init()},X.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},X.$utils=function(){return Y},X.isValid=function(){return this.$d.toString()!==f},X.isSame=function(w,P){var A=k(w);return this.startOf(P)<=A&&A<=this.endOf(P)},X.isAfter=function(w,P){return k(w)<this.startOf(P)},X.isBefore=function(w,P){return this.endOf(P)<k(w)},X.$g=function(w,P,A){return Y.u(w)?this[P]:this.set(A,w)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(w,P){var A=this,R=!!Y.u(P)||P,I=Y.p(w),ne=function($,oe){var me=Y.w(A.$u?Date.UTC(A.$y,oe,$):new Date(A.$y,oe,$),A);return R?me:me.endOf(s)},Ie=function($,oe){return Y.w(A.toDate()[$].apply(A.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(oe)),A)},we=this.$W,ee=this.$M,M=this.$D,T="set"+(this.$u?"UTC":"");switch(I){case u:return R?ne(1,0):ne(31,11);case c:return R?ne(1,ee):ne(0,ee+1);case l:var L=this.$locale().weekStart||0,H=(we<L?we+7:we)-L;return ne(R?M-H:M+(6-H),ee);case s:case m:return Ie(T+"Hours",0);case a:return Ie(T+"Minutes",1);case o:return Ie(T+"Seconds",2);case r:return Ie(T+"Milliseconds",3);default:return this.clone()}},X.endOf=function(w){return this.startOf(w,!1)},X.$set=function(w,P){var A,R=Y.p(w),I="set"+(this.$u?"UTC":""),ne=(A={},A[s]=I+"Date",A[m]=I+"Date",A[c]=I+"Month",A[u]=I+"FullYear",A[a]=I+"Hours",A[o]=I+"Minutes",A[r]=I+"Seconds",A[i]=I+"Milliseconds",A)[R],Ie=R===s?this.$D+(P-this.$W):P;if(R===c||R===u){var we=this.clone().set(m,1);we.$d[ne](Ie),we.init(),this.$d=we.set(m,Math.min(this.$D,we.daysInMonth())).$d}else ne&&this.$d[ne](Ie);return this.init(),this},X.set=function(w,P){return this.clone().$set(w,P)},X.get=function(w){return this[Y.p(w)]()},X.add=function(w,P){var A,R=this;w=Number(w);var I=Y.p(P),ne=function(ee){var M=k(R);return Y.w(M.date(M.date()+Math.round(ee*w)),R)};if(I===c)return this.set(c,this.$M+w);if(I===u)return this.set(u,this.$y+w);if(I===s)return ne(1);if(I===l)return ne(7);var Ie=(A={},A[o]=n,A[a]=e,A[r]=t,A)[I]||1,we=this.$d.getTime()+w*Ie;return Y.w(we,this)},X.subtract=function(w,P){return this.add(-1*w,P)},X.format=function(w){var P=this,A=this.$locale();if(!this.isValid())return A.invalidDate||f;var R=w||"YYYY-MM-DDTHH:mm:ssZ",I=Y.z(this),ne=this.$H,Ie=this.$m,we=this.$M,ee=A.weekdays,M=A.months,T=A.meridiem,L=function(oe,me,Ye,ut){return oe&&(oe[me]||oe(P,R))||Ye[me].slice(0,ut)},H=function(oe){return Y.s(ne%12||12,oe,"0")},$=T||function(oe,me,Ye){var ut=oe<12?"AM":"PM";return Ye?ut.toLowerCase():ut};return R.replace(g,function(oe,me){return me||(function(Ye){switch(Ye){case"YY":return String(P.$y).slice(-2);case"YYYY":return Y.s(P.$y,4,"0");case"M":return we+1;case"MM":return Y.s(we+1,2,"0");case"MMM":return L(A.monthsShort,we,M,3);case"MMMM":return L(M,we);case"D":return P.$D;case"DD":return Y.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return L(A.weekdaysMin,P.$W,ee,2);case"ddd":return L(A.weekdaysShort,P.$W,ee,3);case"dddd":return ee[P.$W];case"H":return String(ne);case"HH":return Y.s(ne,2,"0");case"h":return H(1);case"hh":return H(2);case"a":return $(ne,Ie,!0);case"A":return $(ne,Ie,!1);case"m":return String(Ie);case"mm":return Y.s(Ie,2,"0");case"s":return String(P.$s);case"ss":return Y.s(P.$s,2,"0");case"SSS":return Y.s(P.$ms,3,"0");case"Z":return I}return null})(oe)||I.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(w,P,A){var R,I=this,ne=Y.p(P),Ie=k(w),we=(Ie.utcOffset()-this.utcOffset())*n,ee=this-Ie,M=function(){return Y.m(I,Ie)};switch(ne){case u:R=M()/12;break;case c:R=M();break;case d:R=M()/3;break;case l:R=(ee-we)/6048e5;break;case s:R=(ee-we)/864e5;break;case a:R=ee/e;break;case o:R=ee/n;break;case r:R=ee/t;break;default:R=ee}return A?R:Y.a(R)},X.daysInMonth=function(){return this.endOf(c).$D},X.$locale=function(){return B[this.$L]},X.locale=function(w,P){if(!w)return this.$L;var A=this.clone(),R=j(w,P,!0);return R&&(A.$L=R),A},X.clone=function(){return Y.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},ie})(),ce=Q.prototype;return k.prototype=ce,[["$ms",i],["$s",r],["$m",o],["$H",a],["$W",s],["$M",c],["$y",u],["$D",m]].forEach(function(ie){ce[ie[1]]=function(X){return this.$g(X,ie[0],ie[1])}}),k.extend=function(ie,X){return ie.$i||(ie(X,Q,k),ie.$i=!0),k},k.locale=j,k.isDayjs=W,k.unix=function(ie){return k(1e3*ie)},k.en=B[O],k.Ls=B,k.p={},k})});var ise=y((Nj,Oj)=>{"use strict";(function(t,n){typeof Nj=="object"&&typeof Oj<"u"?Oj.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=n()})(Nj,function(){"use strict";var t={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"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,e=/\d/,i=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(p){return(p=+p)+(p>68?1900:2e3)},l=function(p){return function(g){this[p]=+g}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=(function(g){if(!g||g==="Z")return 0;var _=g.match(/([+-]|\d\d)/g),v=60*_[1]+(+_[2]||0);return v===0?0:_[0]==="+"?-v:v})(p)}],d=function(p){var g=a[p];return g&&(g.indexOf?g:g.s.concat(g.f))},u=function(p,g){var _,v=a.meridiem;if(v){for(var D=1;D<=24;D+=1)if(p.indexOf(v(D,0,g))>-1){_=D>12;break}}else _=p===(g?"pm":"PM");return _},m={A:[o,function(p){this.afternoon=u(p,!1)}],a:[o,function(p){this.afternoon=u(p,!0)}],Q:[e,function(p){this.month=3*(p-1)+1}],S:[e,function(p){this.milliseconds=100*+p}],SS:[i,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[r,l("seconds")],ss:[r,l("seconds")],m:[r,l("minutes")],mm:[r,l("minutes")],H:[r,l("hours")],h:[r,l("hours")],HH:[r,l("hours")],hh:[r,l("hours")],D:[r,l("day")],DD:[i,l("day")],Do:[o,function(p){var g=a.ordinal,_=p.match(/\d+/);if(this.day=_[0],g)for(var v=1;v<=31;v+=1)g(v).replace(/\[|\]/g,"")===p&&(this.day=v)}],w:[r,l("week")],ww:[i,l("week")],M:[r,l("month")],MM:[i,l("month")],MMM:[o,function(p){var g=d("months"),_=(d("monthsShort")||g.map(function(v){return v.slice(0,3)})).indexOf(p)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[o,function(p){var g=d("months").indexOf(p)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,l("year")],YY:[i,function(p){this.year=s(p)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function f(p){var g,_;g=p,_=a&&a.formats;for(var v=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(k,Y,Q){var ce=Q&&Q.toUpperCase();return Y||_[Q]||t[Q]||_[ce].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,X,w){return X||w.slice(1)})})).match(n),D=v.length,O=0;O<D;O+=1){var B=v[O],F=m[B],W=F&&F[0],j=F&&F[1];v[O]=j?{regex:W,parser:j}:B.replace(/^\[|\]$/g,"")}return function(k){for(var Y={},Q=0,ce=0;Q<D;Q+=1){var ie=v[Q];if(typeof ie=="string")ce+=ie.length;else{var X=ie.regex,w=ie.parser,P=k.slice(ce),A=X.exec(P)[0];w.call(Y,A),k=k.replace(A,"")}}return(function(R){var I=R.afternoon;if(I!==void 0){var ne=R.hours;I?ne<12&&(R.hours+=12):ne===12&&(R.hours=0),delete R.afternoon}})(Y),Y}}return function(p,g,_){_.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var v=g.prototype,D=v.parse;v.parse=function(O){var B=O.date,F=O.utc,W=O.args;this.$u=F;var j=W[1];if(typeof j=="string"){var k=W[2]===!0,Y=W[3]===!0,Q=k||Y,ce=W[2];Y&&(ce=W[2]),a=this.$locale(),!k&&ce&&(a=_.Ls[ce]),this.$d=(function(P,A,R,I){try{if(["x","X"].indexOf(A)>-1)return new Date((A==="X"?1e3:1)*P);var ne=f(A)(P),Ie=ne.year,we=ne.month,ee=ne.day,M=ne.hours,T=ne.minutes,L=ne.seconds,H=ne.milliseconds,$=ne.zone,oe=ne.week,me=new Date,Ye=ee||(Ie||we?1:me.getDate()),ut=Ie||me.getFullYear(),nn=0;Ie&&!we||(nn=we>0?we-1:me.getMonth());var Rt,rn=M||0,Tn=T||0,Ai=L||0,rr=H||0;return $?new Date(Date.UTC(ut,nn,Ye,rn,Tn,Ai,rr+60*$.offset*1e3)):R?new Date(Date.UTC(ut,nn,Ye,rn,Tn,Ai,rr)):(Rt=new Date(ut,nn,Ye,rn,Tn,Ai,rr),oe&&(Rt=I(Rt).week(oe).toDate()),Rt)}catch{return new Date("")}})(B,j,F,_),this.init(),ce&&ce!==!0&&(this.$L=this.locale(ce).$L),Q&&B!=this.format(j)&&(this.$d=new Date("")),a={}}else if(j instanceof Array)for(var ie=j.length,X=1;X<=ie;X+=1){W[1]=j[X-1];var w=_.apply(this,W);if(w.isValid()){this.$d=w.$d,this.$L=w.$L,this.init();break}X===ie&&(this.$d=new Date(""))}else D.call(this,O)}}})});var ose=y((MNt,rse)=>{"use strict";var _Ye=bT();function vYe(t,n){var e;return _Ye(t,function(i,r,o){return e=n(i,r,o),!e}),!!e}rse.exports=vYe});var sse=y((kNt,ase)=>{"use strict";var yYe=ZF(),bYe=hd(),CYe=ose(),DYe=Oi(),EYe=Tx();function SYe(t,n,e){var i=DYe(t)?yYe:CYe;return e&&EYe(t,n,e)&&(n=void 0),i(t,bYe(n,3))}ase.exports=SYe});var ole=y(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.formatNames=yc.fastFormats=yc.fullFormats=void 0;function vc(t,n){return{validate:t,compare:n}}yc.fullFormats={date:vc(tle,Qj),time:vc(Kj(!0),Zj),"date-time":vc(Zse(!0),ile),"iso-time":vc(Kj(),nle),"iso-date-time":vc(Zse(),rle),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:QWe,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:r6e,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:ZWe,int32:{type:"number",validate:t6e},int64:{type:"number",validate:n6e},float:{type:"number",validate:ele},double:{type:"number",validate:ele},password:!0,binary:!0};yc.fastFormats=Fe(G({},yc.fullFormats),{date:vc(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,Qj),time:vc(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Zj),"date-time":vc(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,ile),"iso-time":vc(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,nle),"iso-date-time":vc(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,rle),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i});yc.formatNames=Object.keys(yc.fullFormats);function qWe(t){return t%4===0&&(t%100!==0||t%400===0)}var YWe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,WWe=[0,31,28,31,30,31,30,31,31,30,31,30,31];function tle(t){let n=YWe.exec(t);if(!n)return!1;let e=+n[1],i=+n[2],r=+n[3];return i>=1&&i<=12&&r>=1&&r<=(i===2&&qWe(e)?29:WWe[i])}function Qj(t,n){if(t&&n)return t>n?1:t<n?-1:0}var Wj=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function Kj(t){return function(e){let i=Wj.exec(e);if(!i)return!1;let r=+i[1],o=+i[2],a=+i[3],s=i[4],l=i[5]==="-"?-1:1,c=+(i[6]||0),d=+(i[7]||0);if(c>23||d>59||t&&!s)return!1;if(r<=23&&o<=59&&a<60)return!0;let u=o-d*l,m=r-c*l-(u<0?1:0);return(m===23||m===-1)&&(u===59||u===-1)&&a<61}}function Zj(t,n){if(!(t&&n))return;let e=new Date("2020-01-01T"+t).valueOf(),i=new Date("2020-01-01T"+n).valueOf();if(e&&i)return e-i}function nle(t,n){if(!(t&&n))return;let e=Wj.exec(t),i=Wj.exec(n);if(e&&i)return t=e[1]+e[2]+e[3],n=i[1]+i[2]+i[3],t>n?1:t<n?-1:0}var Xj=/t|\s/i;function Zse(t){let n=Kj(t);return function(i){let r=i.split(Xj);return r.length===2&&tle(r[0])&&n(r[1])}}function ile(t,n){if(!(t&&n))return;let e=new Date(t).valueOf(),i=new Date(n).valueOf();if(e&&i)return e-i}function rle(t,n){if(!(t&&n))return;let[e,i]=t.split(Xj),[r,o]=n.split(Xj),a=Qj(e,r);if(a!==void 0)return a||Zj(i,o)}var KWe=/\/|:/,XWe=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function QWe(t){return KWe.test(t)&&XWe.test(t)}var Jse=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function ZWe(t){return Jse.lastIndex=0,Jse.test(t)}var JWe=-(2**31),e6e=2**31-1;function t6e(t){return Number.isInteger(t)&&t<=e6e&&t>=JWe}function n6e(t){return Number.isInteger(t)}function ele(){return!0}var i6e=/[^\\]\\Z/;function r6e(t){if(i6e.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ale=y(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});fv.formatLimitDefinition=void 0;var o6e=$0(),Cl=Xt(),hf=Cl.operators,QI={formatMaximum:{okStr:"<=",ok:hf.LTE,fail:hf.GT},formatMinimum:{okStr:">=",ok:hf.GTE,fail:hf.LT},formatExclusiveMaximum:{okStr:"<",ok:hf.LT,fail:hf.GTE},formatExclusiveMinimum:{okStr:">",ok:hf.GT,fail:hf.LTE}},a6e={message:({keyword:t,schemaCode:n})=>(0,Cl.str)`should be ${QI[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,Cl._)`{comparison: ${QI[t].okStr}, limit: ${n}}`};fv.formatLimitDefinition={keyword:Object.keys(QI),type:"string",schemaType:"string",$data:!0,error:a6e,code(t){let{gen:n,data:e,schemaCode:i,keyword:r,it:o}=t,{opts:a,self:s}=o;if(!a.validateFormats)return;let l=new o6e.KeywordCxt(o,s.RULES.all.format.definition,"format");l.$data?c():d();function c(){let m=n.scopeValue("formats",{ref:s.formats,code:a.code.formats}),f=n.const("fmt",(0,Cl._)`${m}[${l.schemaCode}]`);t.fail$data((0,Cl.or)((0,Cl._)`typeof ${f} != "object"`,(0,Cl._)`${f} instanceof RegExp`,(0,Cl._)`typeof ${f}.compare != "function"`,u(f)))}function d(){let m=l.schema,f=s.formats[m];if(!f||f===!0)return;if(typeof f!="object"||f instanceof RegExp||typeof f.compare!="function")throw new Error(`"${r}": format "${m}" does not define "compare" function`);let p=n.scopeValue("formats",{key:m,ref:f,code:a.code.formats?(0,Cl._)`${a.code.formats}${(0,Cl.getProperty)(m)}`:void 0});t.fail$data(u(p))}function u(m){return(0,Cl._)`${m}.compare(${e}, ${i}) ${QI[r].fail} 0`}},dependencies:["format"]};var s6e=t=>(t.addKeyword(fv.formatLimitDefinition),t);fv.default=s6e});var dle=y((SC,cle)=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});var mv=ole(),l6e=ale(),Jj=Xt(),sle=new Jj.Name("fullFormats"),c6e=new Jj.Name("fastFormats"),eU=(t,n={keywords:!0})=>{if(Array.isArray(n))return lle(t,n,mv.fullFormats,sle),t;let[e,i]=n.mode==="fast"?[mv.fastFormats,c6e]:[mv.fullFormats,sle],r=n.formats||mv.formatNames;return lle(t,r,e,i),n.keywords&&(0,l6e.default)(t),t};eU.get=(t,n="full")=>{let i=(n==="fast"?mv.fastFormats:mv.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function lle(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=(0,Jj._)`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}cle.exports=SC=eU;Object.defineProperty(SC,"__esModule",{value:!0});SC.default=eU});function Lme(t,n){for(let e=1,i=1;e<t.length;e++,i++)if(n[i]==="\\")i++;else if(t[e]===":")return e;throw new Error(`Unterminated $localize metadata block in "${n}".`)}var TE=function(t,...n){if(TE.translate){let i=TE.translate(t,n);t=i[0],n=i[1]}let e=X$(t[0],t.raw[0]);for(let i=1;i<t.length;i++)e+=n[i-1]+X$(t[i],t.raw[i]);return e},Vme=":";function X$(t,n){return n.charAt(0)===Vme?t.substring(Lme(t,n)+1):t}globalThis.$localize=TE;var DR;function IE(){return DR}function jl(t){let n=DR;return DR=t,n}var Q$=Symbol("NotFound");function Bh(t){return t===Q$||t?.name==="\u0275NotFound"}function PE(t,n){return Object.is(t,n)}var Xr=null,AE=!1,ER=1,Bme=null,or=Symbol("SIGNAL");function Pt(t){let n=Xr;return Xr=t,n}function NE(){return Xr}var Cm={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dm(t){if(AE)throw new Error("");if(Xr===null)return;Xr.consumerOnSignalRead(t);let n=Xr.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Xr.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Xr.producers,e!==void 0&&e.producer===t)){Xr.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Xr&&(!i||Ume(r,Xr)))return;let o=jh(Xr),a={producer:t,consumer:Xr,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Xr.producersTail=a,n!==void 0?n.nextProducer=a:Xr.producers=a,o&&J$(t,a)}function Z$(){ER++}function OE(t){if(!(jh(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ER)){if(!t.producerMustRecompute(t)&&!Sm(t)){RE(t);return}t.producerRecomputeValue(t),RE(t)}}function SR(t){if(t.consumers===void 0)return;let n=AE;AE=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||jme(i)}}finally{AE=n}}function wR(){return Xr?.consumerAllowSignalWrites!==!1}function jme(t){t.dirty=!0,SR(t),t.consumerMarkedDirty?.(t)}function RE(t){t.dirty=!1,t.lastCleanEpoch=ER}function fu(t){return t&&(t.producersTail=void 0,t.recomputing=!0),Pt(t)}function Em(t,n){if(Pt(n),!t)return;t.recomputing=!1;let e=t.producersTail,i=e!==void 0?e.nextProducer:t.producers;if(i!==void 0){if(jh(t))do i=xR(i);while(i!==void 0);e!==void 0?e.nextProducer=void 0:t.producers=void 0}}function Sm(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(OE(e),i!==e.version))return!0}return!1}function mu(t){if(jh(t)){let n=t.producers;for(;n!==void 0;)n=xR(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function J$(t,n){let e=t.consumersTail,i=jh(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!i)for(let r=t.producers;r!==void 0;r=r.nextProducer)J$(r.producer,r)}function xR(t){let n=t.producer,e=t.nextProducer,i=t.nextConsumer,r=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:n.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(n.consumers=i,!jh(n)){let o=n.producers;for(;o!==void 0;)o=xR(o)}return e}function jh(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function FE(t){Bme?.(t)}function Ume(t,n){let e=n.producersTail;if(e!==void 0){let i=n.producers;do{if(i===t)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function zy(t,n){let e=Object.create(zme);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(OE(e),Dm(e),e.value===Uy)throw e.error;return e.value};return i[or]=e,FE(e),i}var ME=Symbol("UNSET"),kE=Symbol("COMPUTING"),Uy=Symbol("ERRORED"),zme=Fe(G({},Cm),{value:ME,dirty:!0,error:null,equal:PE,kind:"computed",producerMustRecompute(t){return t.value===ME||t.value===kE},producerRecomputeValue(t){if(t.value===kE)throw new Error("");let n=t.value;t.value=kE;let e=fu(t),i,r=!1;try{i=t.computation(),Pt(null),r=n!==ME&&n!==Uy&&i!==Uy&&t.equal(n,i)}catch(o){i=Uy,t.error=o}finally{Em(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function Hme(){throw new Error}var e3=Hme;function t3(t){e3(t)}function TR(t){e3=t}var $me=null;function IR(t,n){let e=Object.create(Hy);e.value=t,n!==void 0&&(e.equal=n);let i=()=>n3(e);return i[or]=e,FE(e),[i,a=>Uh(e,a),a=>AR(e,a)]}function n3(t){return Dm(t),t.value}function Uh(t,n){wR()||t3(t),t.equal(t.value,n)||(t.value=n,Gme(t))}function AR(t,n){wR()||t3(t),Uh(t,n(t.value))}var Hy=Fe(G({},Cm),{equal:PE,value:void 0,kind:"signal"});function Gme(t){t.version++,Z$(),SR(t),$me?.(t)}function At(t){return typeof t=="function"}function LE(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var VE=LE(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
13
|
+
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
14
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function wm(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var tt=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(At(i))try{i()}catch(o){n=o instanceof VE?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{i3(o)}catch(a){n=n??[],a instanceof VE?n=[...n,...a.errors]:n.push(a)}}if(n)throw new VE(n)}}add(n){var e;if(n&&n!==this)if(this.closed)i3(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&wm(e,n)}remove(n){let{_finalizers:e}=this;e&&wm(e,n),n instanceof t&&n._removeParent(this)}};tt.EMPTY=(()=>{let t=new tt;return t.closed=!0,t})();var MR=tt.EMPTY;function BE(t){return t instanceof tt||t&&"closed"in t&&At(t.remove)&&At(t.add)&&At(t.unsubscribe)}function i3(t){At(t)?t():t.unsubscribe()}var Xs={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var zh={setTimeout(t,n,...e){let{delegate:i}=zh;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=zh;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function jE(t){zh.setTimeout(()=>{let{onUnhandledError:n}=Xs;if(n)n(t);else throw t})}function xm(){}var r3=kR("C",void 0,void 0);function o3(t){return kR("E",void 0,t)}function a3(t){return kR("N",t,void 0)}function kR(t,n,e){return{kind:t,value:n,error:e}}var Tm=null;function Hh(t){if(Xs.useDeprecatedSynchronousErrorHandling){let n=!Tm;if(n&&(Tm={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Tm;if(Tm=null,e)throw i}}else t()}function s3(t){Xs.useDeprecatedSynchronousErrorHandling&&Tm&&(Tm.errorThrown=!0,Tm.error=t)}var Im=class extends tt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,BE(n)&&n.add(this)):this.destination=Wme}static create(n,e,i){return new Gc(n,e,i)}next(n){this.isStopped?PR(a3(n),this):this._next(n)}error(n){this.isStopped?PR(o3(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?PR(r3,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qme=Function.prototype.bind;function RR(t,n){return qme.call(t,n)}var NR=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){UE(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){UE(i)}else UE(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){UE(e)}}},Gc=class extends Im{constructor(n,e,i){super();let r;if(At(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Xs.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&RR(n.next,o),error:n.error&&RR(n.error,o),complete:n.complete&&RR(n.complete,o)}):r=n}this.destination=new NR(r)}};function UE(t){Xs.useDeprecatedSynchronousErrorHandling?s3(t):jE(t)}function Yme(t){throw t}function PR(t,n){let{onStoppedNotification:e}=Xs;e&&zh.setTimeout(()=>e(t,n))}var Wme={closed:!0,next:xm,error:Yme,complete:xm};var $h=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Qs(t){return t}function l3(t){return t.length===0?Qs:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var yt=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=Xme(e)?e:new Gc(e,i,r);return Hh(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=c3(i),new i((r,o)=>{let a=new Gc({next:s=>{try{e(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[$h](){return this}pipe(...e){return l3(e)(this)}toPromise(e){return e=c3(e),new e((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return t.create=n=>new t(n),t})();function c3(t){var n;return(n=t??Xs.Promise)!==null&&n!==void 0?n:Promise}function Kme(t){return t&&At(t.next)&&At(t.error)&&At(t.complete)}function Xme(t){return t&&t instanceof Im||Kme(t)&&BE(t)}function OR(t){return At(t?.lift)}function on(t){return n=>{if(OR(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Jt(t,n,e,i,r){return new FR(t,n,e,i,r)}var FR=class extends Im{constructor(n,e,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function d3(){return on((t,n)=>{let e=null;t._refCount++;let i=Jt(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var $y=class extends yt{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,OR(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new tt;let e=this.getSubject();n.add(this.source.subscribe(Jt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=tt.EMPTY)}return n}refCount(){return d3()(this)}};var Gh={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=Gh;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(o=>{e=void 0,t(o)});return new tt(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=Gh;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Gh;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var u3=LE(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _e=(()=>{class t extends yt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new zE(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new u3}next(e){Hh(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Hh(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Hh(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?MR:(this.currentObservers=null,o.push(e),new tt(()=>{this.currentObservers=null,wm(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new yt;return e.source=this,e}}return t.create=(n,e)=>new zE(n,e),t})(),zE=class extends _e{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:MR}};var Wo=class extends _e{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}};var Gy={now(){return(Gy.delegate||Date).now()},delegate:void 0};var Am=class extends _e{constructor(n=1/0,e=1/0,i=Gy){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;e||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let a=e.now(),s=0;for(let l=1;l<i.length&&i[l]<=a;l+=2)s=l;s&&i.splice(0,s+1)}}};var HE=class extends tt{constructor(n,e){super()}schedule(n,e=0){return this}};var qy={setInterval(t,n,...e){let{delegate:i}=qy;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=qy;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var qh=class extends HE{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return qy.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&qy.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,wm(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var Yh=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};Yh.now=Gy.now;var Wh=class extends Yh{constructor(n,e=Yh.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}};var qc=new Wh(qh),f3=qc;var $E=class extends qh{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return i!==null&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Gh.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);let{actions:o}=n;e!=null&&e===n._scheduled&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Gh.cancelAnimationFrame(e),n._scheduled=void 0)}};var GE=class extends Wh{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:i}=this,r;n=n||i.shift();do if(r=n.execute(n.state,n.delay))break;while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}};var qE=new GE($E);var Zs=new yt(t=>t.complete());function YE(t){return t&&At(t.schedule)}function LR(t){return t[t.length-1]}function WE(t){return At(LR(t))?t.pop():void 0}function Ul(t){return YE(LR(t))?t.pop():void 0}function m3(t,n){return typeof LR(t)=="number"?t.pop():n}function h3(t,n,e,i){function r(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(d){try{c(i.next(d))}catch(u){a(u)}}function l(d){try{c(i.throw(d))}catch(u){a(u)}}function c(d){d.done?o(d.value):r(d.value).then(s,l)}c((i=i.apply(t,n||[])).next())})}function p3(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mm(t){return this instanceof Mm?(this.v=t,this):new Mm(t)}function g3(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(f){return function(p){return Promise.resolve(p).then(f,u)}}function s(f,p){i[f]&&(r[f]=function(g){return new Promise(function(_,v){o.push([f,g,_,v])>1||l(f,g)})},p&&(r[f]=p(r[f])))}function l(f,p){try{c(i[f](p))}catch(g){m(o[0][3],g)}}function c(f){f.value instanceof Mm?Promise.resolve(f.value.v).then(d,u):m(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function m(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function _3(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof p3=="function"?p3(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Kh=t=>t&&typeof t.length=="number"&&typeof t!="function";function KE(t){return At(t?.then)}function XE(t){return At(t[$h])}function QE(t){return Symbol.asyncIterator&&At(t?.[Symbol.asyncIterator])}function ZE(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Qme(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var JE=Qme();function eS(t){return At(t?.[JE])}function tS(t){return g3(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Mm(e.read());if(r)return yield Mm(void 0);yield yield Mm(i)}}finally{e.releaseLock()}})}function nS(t){return At(t?.getReader)}function Pn(t){if(t instanceof yt)return t;if(t!=null){if(XE(t))return Zme(t);if(Kh(t))return Jme(t);if(KE(t))return epe(t);if(QE(t))return v3(t);if(eS(t))return tpe(t);if(nS(t))return npe(t)}throw ZE(t)}function Zme(t){return new yt(n=>{let e=t[$h]();if(At(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jme(t){return new yt(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function epe(t){return new yt(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,jE)})}function tpe(t){return new yt(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function v3(t){return new yt(n=>{ipe(t,n).catch(e=>n.error(e))})}function npe(t){return v3(tS(t))}function ipe(t,n){var e,i,r,o;return h3(this,void 0,void 0,function*(){try{for(e=_3(t);i=yield e.next(),!i.done;){let a=i.value;if(n.next(a),n.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}function Ko(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function iS(t,n=0){return on((e,i)=>{e.subscribe(Jt(i,r=>Ko(i,t,()=>i.next(r),n),()=>Ko(i,t,()=>i.complete(),n),r=>Ko(i,t,()=>i.error(r),n)))})}function rS(t,n=0){return on((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function y3(t,n){return Pn(t).pipe(rS(n),iS(n))}function b3(t,n){return Pn(t).pipe(rS(n),iS(n))}function C3(t,n){return new yt(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function D3(t,n){return new yt(e=>{let i;return Ko(e,n,()=>{i=t[JE](),Ko(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){e.error(a);return}o?e.complete():e.next(r)},0,!0)}),()=>At(i?.return)&&i.return()})}function oS(t,n){if(!t)throw new Error("Iterable cannot be null");return new yt(e=>{Ko(e,n,()=>{let i=t[Symbol.asyncIterator]();Ko(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function E3(t,n){return oS(tS(t),n)}function S3(t,n){if(t!=null){if(XE(t))return y3(t,n);if(Kh(t))return C3(t,n);if(KE(t))return b3(t,n);if(QE(t))return oS(t,n);if(eS(t))return D3(t,n);if(nS(t))return E3(t,n)}throw ZE(t)}function ss(t,n){return n?S3(t,n):Pn(t)}function li(...t){let n=Ul(t);return ss(t,n)}function VR(t,n){let e=At(t)?t:()=>t,i=r=>r.error(e());return new yt(n?r=>n.schedule(i,0,r):i)}function aS(t){return!!t&&(t instanceof yt||At(t.lift)&&At(t.subscribe))}function w3(t){return t instanceof Date&&!isNaN(t)}function Gt(t,n){return on((e,i)=>{let r=0;e.subscribe(Jt(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:rpe}=Array;function ope(t,n){return rpe(n)?t(...n):t(n)}function Xh(t){return Gt(n=>ope(t,n))}var{isArray:ape}=Array,{getPrototypeOf:spe,prototype:lpe,keys:cpe}=Object;function sS(t){if(t.length===1){let n=t[0];if(ape(n))return{args:n,keys:null};if(dpe(n)){let e=cpe(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function dpe(t){return t&&typeof t=="object"&&spe(t)===lpe}function lS(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function BR(...t){let n=Ul(t),e=WE(t),{args:i,keys:r}=sS(t);if(i.length===0)return ss([],n);let o=new yt(upe(i,n,r?a=>lS(r,a):Qs));return e?o.pipe(Xh(e)):o}function upe(t,n,e=Qs){return i=>{x3(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)x3(n,()=>{let c=ss(t[l],n),d=!1;c.subscribe(Jt(i,u=>{o[l]=u,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function x3(t,n,e){t?Ko(e,t,n):n()}function T3(t,n,e,i,r,o,a,s){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&n.complete()},f=g=>c<i?p(g):l.push(g),p=g=>{o&&n.next(g),c++;let _=!1;Pn(e(g,d++)).subscribe(Jt(n,v=>{r?.(v),o?f(v):n.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){let v=l.shift();a?Ko(n,a,()=>p(v)):p(v)}m()}catch(v){n.error(v)}}))};return t.subscribe(Jt(n,f,()=>{u=!0,m()})),()=>{s?.()}}function zl(t,n,e=1/0){return At(n)?zl((i,r)=>Gt((o,a)=>n(i,o,r,a))(Pn(t(i,r))),e):(typeof n=="number"&&(e=n),on((i,r)=>T3(i,r,t,e)))}function cS(t=1/0){return zl(Qs,t)}function I3(){return cS(1)}function pu(...t){return I3()(ss(t,Ul(t)))}function Yy(t){return new yt(n=>{Pn(t()).subscribe(n)})}function Wy(...t){let n=WE(t),{args:e,keys:i}=sS(t),r=new yt(o=>{let{length:a}=e;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let d=0;d<a;d++){let u=!1;Pn(e[d]).subscribe(Jt(o,m=>{u||(u=!0,c--),s[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?lS(i,s):s),o.complete())}))}});return n?r.pipe(Xh(n)):r}var fpe=["addListener","removeListener"],mpe=["addEventListener","removeEventListener"],ppe=["on","off"];function Ky(t,n,e,i){if(At(e)&&(i=e,e=void 0),i)return Ky(t,n,e).pipe(Xh(i));let[r,o]=_pe(t)?mpe.map(a=>s=>t[a](n,s,e)):hpe(t)?fpe.map(A3(t,n)):gpe(t)?ppe.map(A3(t,n)):[];if(!r&&Kh(t))return zl(a=>Ky(a,n,e))(Pn(t));if(!r)throw new TypeError("Invalid event target");return new yt(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function A3(t,n){return e=>i=>t[e](n,i)}function hpe(t){return At(t.addListener)&&At(t.removeListener)}function gpe(t){return At(t.on)&&At(t.off)}function _pe(t){return At(t.addEventListener)&&At(t.removeEventListener)}function Yc(t=0,n,e=f3){let i=-1;return n!=null&&(YE(n)?e=n:i=n),new yt(r=>{let o=w3(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function jR(t=0,n=qc){return t<0&&(t=0),Yc(t,t,n)}function Nn(...t){let n=Ul(t),e=m3(t,1/0),i=t;return i.length?i.length===1?Pn(i[0]):cS(e)(ss(i,n)):Zs}function cn(t,n){return on((e,i)=>{let r=0;e.subscribe(Jt(i,o=>t.call(n,o,r++)&&i.next(o)))})}function M3(t){return on((n,e)=>{let i=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};n.subscribe(Jt(e,c=>{i=!0,r=c,o||Pn(t(c)).subscribe(o=Jt(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function dS(t,n=qc){return M3(()=>Yc(t,n))}function uS(t){return on((n,e)=>{let i=null,r=!1,o;i=n.subscribe(Jt(e,void 0,void 0,a=>{o=Pn(t(a,uS(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function UR(t,n){return At(n)?zl(t,n,1):zl(t,1)}function Js(t,n=qc){return on((e,i)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=a+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}s()}e.subscribe(Jt(i,c=>{o=c,a=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function Gi(t){return t<=0?()=>Zs:on((n,e)=>{let i=0;n.subscribe(Jt(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function k3(){return on((t,n)=>{t.subscribe(Jt(n,xm))})}function Qh(t){return Gt(()=>t)}function zR(t,n){return n?e=>pu(n.pipe(Gi(1),k3()),e.pipe(zR(t))):zl((e,i)=>Pn(t(e,i)).pipe(Gi(1),Qh(e)))}function HR(t,n=qc){let e=Yc(t,n);return zR(()=>e)}function fS(t,n=Qs){return t=t??vpe,on((e,i)=>{let r,o=!0;e.subscribe(Jt(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function vpe(t,n){return t===n}function mS(t){return on((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function pS(){return on((t,n)=>{let e,i=!1;t.subscribe(Jt(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function Xy(t={}){let{connector:n=()=>new _e,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,d=!1,u=!1,m=()=>{s?.unsubscribe(),s=void 0},f=()=>{m(),a=l=void 0,d=u=!1},p=()=>{let g=a;f(),g?.unsubscribe()};return on((g,_)=>{c++,!u&&!d&&m();let v=l=l??n();_.add(()=>{c--,c===0&&!u&&!d&&(s=$R(p,r))}),v.subscribe(_),!a&&c>0&&(a=new Gc({next:D=>v.next(D),error:D=>{u=!0,m(),s=$R(f,e,D),v.error(D)},complete:()=>{d=!0,m(),s=$R(f,i),v.complete()}}),Pn(g).subscribe(a))})(o)}}function $R(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Gc({next:()=>{i.unsubscribe(),t()}});return Pn(n(...e)).subscribe(i)}function hS(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Xy({connector:()=>new Am(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function km(t){return cn((n,e)=>t<=e)}function Vn(...t){let n=Ul(t);return on((e,i)=>{(n?pu(t,e,n):pu(t,e)).subscribe(i)})}function Qr(t,n){return on((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(Jt(i,l=>{r?.unsubscribe();let c=0,d=o++;Pn(t(l,d)).subscribe(r=Jt(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Nt(t){return on((n,e)=>{Pn(t).subscribe(Jt(e,()=>e.complete(),xm)),!e.closed&&n.subscribe(e)})}function GR(t,n=!1){return on((e,i)=>{let r=0;e.subscribe(Jt(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function el(t,n,e){let i=At(t)||n||e?{next:t,error:n,complete:e}:t;return i?on((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(Jt(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Qs}function R3(t){let n=Pt(null);try{return t()}finally{Pt(n)}}var P3=Fe(G({},Cm),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,kind:"effect"});function N3(t){if(t.dirty=!1,t.hasRun&&!Sm(t))return;t.hasRun=!0;let n=fu(t);try{t.cleanup(),t.fn()}finally{Em(t,n)}}var bS="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Pe=class extends Error{code;constructor(n,e){super(Kc(n,e)),this.code=n}};function ype(t){return`NG0${Math.abs(t)}`}function Kc(t,n){return`${ype(t)}${n?": "+n:""}`}var Jh=globalThis;function Yn(t){for(let n in t)if(t[n]===Yn)return n;throw Error("")}function L3(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function hu(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(hu).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
|
|
15
|
+
`);return i>=0?e.slice(0,i):e}function CS(t,n){return t?n?`${t} ${n}`:t:n||""}var bpe=Yn({__forward_ref__:Yn});function bi(t){return t.__forward_ref__=bi,t.toString=function(){return hu(this())},t}function Or(t){return iP(t)?t():t}function iP(t){return typeof t=="function"&&t.hasOwnProperty(bpe)&&t.__forward_ref__===bi}function V3(t,n,e){t!=n&&DS(e,t,n,"==")}function B3(t,n){t==null&&DS(n,t,null,"!=")}function DS(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(i==null?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}function pe(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function et(t){return{providers:t.providers||[],imports:t.imports||[]}}function ES(t){return Cpe(t,SS)}function Cpe(t,n){return t.hasOwnProperty(n)&&t[n]||null}function Dpe(t){let n=t?.[SS]??null;return n||null}function YR(t){return t&&t.hasOwnProperty(_S)?t[_S]:null}var SS=Yn({\u0275prov:Yn}),_S=Yn({\u0275inj:Yn}),te=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=pe({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function rP(t){return t&&!!t.\u0275providers}var oP=Yn({\u0275cmp:Yn}),aP=Yn({\u0275dir:Yn}),sP=Yn({\u0275pipe:Yn});var Jy=Yn({\u0275fac:Yn}),Fm=Yn({__NG_ELEMENT_ID__:Yn}),O3=Yn({__NG_ENV_ID__:Yn});function Lm(t){return typeof t=="string"?t:t==null?"":String(t)}function vS(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Lm(t)}var lP=Yn({ngErrorCode:Yn}),j3=Yn({ngErrorMessage:Yn}),Zy=Yn({ngTokenPath:Yn});function cP(t,n){return U3("",-200,n)}function wS(t,n){throw new Pe(-201,!1)}function Epe(t,n){t[Zy]??=[];let e=t[Zy],i;typeof n=="object"&&"multi"in n&&n?.multi===!0?(B3(n.provide,"Token with multi: true should have a provide property"),i=vS(n.provide)):i=vS(n),e[0]!==i&&t[Zy].unshift(i)}function Spe(t,n){let e=t[Zy],i=t[lP],r=t[j3]||t.message;return t.message=xpe(r,i,e,n),t}function U3(t,n,e){let i=new Pe(n,t);return i[lP]=n,i[j3]=t,e&&(i[Zy]=e),i}function wpe(t){return t[lP]}function xpe(t,n,e=[],i=null){let r="";e&&e.length>1&&(r=` Path: ${e.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return Kc(n,`${t}${o}${r}`)}var WR;function z3(){return WR}function So(t){let n=WR;return WR=t,n}function dP(t,n,e){let i=ES(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(n!==void 0)return n;wS(t,"Injector")}var Tpe={},Rm=Tpe,KR="__NG_DI_FLAG__",XR=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Pm(e)||0;try{return this.injector.get(n,i&8?null:Rm,i)}catch(r){if(Bh(r))return r;throw r}}};function Ipe(t,n=0){let e=IE();if(e===void 0)throw new Pe(-203,!1);if(e===null)return dP(t,void 0,n);{let i=Ape(n),r=e.retrieve(t,i);if(Bh(r)){if(i.optional)return null;throw r}return r}}function bt(t,n=0){return(z3()||Ipe)(Or(t),n)}function h(t,n){return bt(t,Pm(n))}function Pm(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ape(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function QR(t){let n=[];for(let e=0;e<t.length;e++){let i=Or(t[e]);if(Array.isArray(i)){if(i.length===0)throw new Pe(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let s=i[a],l=Mpe(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s}n.push(bt(r,o))}else n.push(bt(i))}return n}function uP(t,n){return t[KR]=n,t.prototype[KR]=n,t}function Mpe(t){return t[KR]}function gu(t,n){let e=t.hasOwnProperty(Jy);return e?t[Jy]:null}function H3(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function $3(t){return t.flat(Number.POSITIVE_INFINITY)}function xS(t,n){t.forEach(e=>Array.isArray(e)?xS(e,n):n(e))}function fP(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function nb(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function G3(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function q3(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function TS(t,n,e){let i=eg(t,n);return i>=0?t[i|1]=e:(i=~i,q3(t,i,n,e)),i}function IS(t,n){let e=eg(t,n);if(e>=0)return t[e|1]}function eg(t,n){return kpe(t,n,1)}function kpe(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),a=t[o<<e];if(n===a)return o<<e;a>n?r=o:i=o+1}return~(r<<e)}var vu={},Fr=[],Xc=new te(""),mP=new te("",-1),pP=new te(""),eb=class{get(n,e=Rm){if(e===Rm){let r=U3("",-201);throw r.name="\u0275NotFound",r}return e}};function yu(t){return t[oP]||null}function hP(t){return t[aP]||null}function Y3(t){return t[sP]||null}function Vm(t){return{\u0275providers:t}}function W3(t){return Vm([{provide:Xc,multi:!0,useValue:t}])}function K3(...t){return{\u0275providers:gP(!0,t),\u0275fromNgModule:!0}}function gP(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return xS(n,a=>{let s=a;yS(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&X3(r,o),e}function X3(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];_P(r,o=>{n(o,i)})}}function yS(t,n,e,i){if(t=Or(t),!t)return!1;let r=null,o=YR(t),a=!o&&yu(t);if(!o&&!a){let l=t.ngModule;if(o=YR(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)yS(c,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;try{xS(o.imports,d=>{yS(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&X3(c,n)}if(!s){let c=gu(r)||(()=>new r);n({provide:r,useFactory:c,deps:Fr},r),n({provide:pP,useValue:r,multi:!0},r),n({provide:Xc,useValue:()=>bt(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;_P(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function _P(t,n){for(let e of t)rP(e)&&(e=e.\u0275providers),Array.isArray(e)?_P(e,n):n(e)}var Rpe=Yn({provide:String,useValue:Yn});function Q3(t){return t!==null&&typeof t=="object"&&Rpe in t}function Ppe(t){return!!(t&&t.useExisting)}function Npe(t){return!!(t&&t.useFactory)}function Nm(t){return typeof t=="function"}function Z3(t){return!!t.useClass}var ib=new te(""),gS={},F3={},qR;function tg(){return qR===void 0&&(qR=new eb),qR}var Mi=class{},Om=class extends Mi{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,JR(n,a=>this.processProvider(a)),this.records.set(mP,Zh(void 0,this)),r.has("environment")&&this.records.set(Mi,Zh(void 0,this));let o=this.records.get(ib);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(pP,Fr,{self:!0}))}retrieve(n,e){let i=Pm(e)||0;try{return this.get(n,Rm,i)}catch(r){if(Bh(r))return r;throw r}}destroy(){Qy(this),this._destroyed=!0;let n=Pt(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Pt(n)}}onDestroy(n){return Qy(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Qy(this);let e=jl(this),i=So(void 0),r;try{return n()}finally{jl(e),So(i)}}get(n,e=Rm,i){if(Qy(this),n.hasOwnProperty(O3))return n[O3](this);let r=Pm(i),o,a=jl(this),s=So(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=Bpe(n)&&ES(n);d&&this.injectableDefInScope(d)?c=Zh(ZR(n),gS):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?tg():this.parent;return e=r&8&&e===Rm?null:e,l.get(n,e)}catch(l){let c=wpe(l);throw c===-200||c===-201?new Pe(c,null):l}finally{So(s),jl(a)}}resolveInjectorInitializers(){let n=Pt(null),e=jl(this),i=So(void 0),r;try{let o=this.get(Xc,Fr,{self:!0});for(let a of o)a()}finally{jl(e),So(i),Pt(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(hu(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Or(n);let e=Nm(n)?n:Or(n&&n.provide),i=Fpe(n);if(!Nm(n)&&n.multi===!0){let r=this.records.get(e);r||(r=Zh(void 0,gS,!0),r.factory=()=>QR(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=Pt(null);try{if(e.value===F3)throw cP(hu(n));return e.value===gS&&(e.value=F3,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&Vpe(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Pt(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Or(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function ZR(t){let n=ES(t),e=n!==null?n.factory:gu(t);if(e!==null)return e;if(t instanceof te)throw new Pe(204,!1);if(t instanceof Function)return Ope(t);throw new Pe(204,!1)}function Ope(t){if(t.length>0)throw new Pe(204,!1);let e=Dpe(t);return e!==null?()=>e.factory(t):()=>new t}function Fpe(t){if(Q3(t))return Zh(void 0,t.useValue);{let n=vP(t);return Zh(n,gS)}}function vP(t,n,e){let i;if(Nm(t)){let r=Or(t);return gu(r)||ZR(r)}else if(Q3(t))i=()=>Or(t.useValue);else if(Npe(t))i=()=>t.useFactory(...QR(t.deps||[]));else if(Ppe(t))i=(r,o)=>bt(Or(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Or(t&&(t.useClass||t.provide));if(Lpe(t))i=()=>new r(...QR(t.deps));else return gu(r)||ZR(r)}return i}function Qy(t){if(t.destroyed)throw new Pe(205,!1)}function Zh(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Lpe(t){return!!t.deps}function Vpe(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Bpe(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function JR(t,n){for(let e of t)Array.isArray(e)?JR(e,n):e&&rP(e)?JR(e.\u0275providers,n):n(e)}function rb(t,n){let e;t instanceof Om?(Qy(t),e=t):e=new XR(t);let i,r=jl(e),o=So(void 0);try{return n()}finally{jl(r),So(o)}}function J3(){return z3()!==void 0||IE()!=null}var tl=0,xt=1,Mt=2,ar=3,ls=4,Zr=5,Bm=6,ng=7,ki=8,jm=9,Qc=10,Bn=11,ig=12,yP=13,Um=14,Jr=15,bu=16,zm=17,Hl=18,ob=19,bP=20,Wc=21,AS=22,Zc=23,Ta=24,Hm=25,Wn=26,eG=1,CP=6,Cu=7,ab=8,$m=9,vr=10;function $l(t){return Array.isArray(t)&&typeof t[eG]=="object"}function nl(t){return Array.isArray(t)&&t[eG]===!0}function DP(t){return(t.flags&4)!==0}function Jc(t){return t.componentOffset>-1}function rg(t){return(t.flags&1)===1}function Gl(t){return!!t.template}function og(t){return(t[Mt]&512)!==0}function Gm(t){return(t[Mt]&256)===256}var EP="svg",tG="math";function Ia(t){for(;Array.isArray(t);)t=t[tl];return t}function SP(t,n){return Ia(n[t])}function cs(t,n){return Ia(n[t.index])}function sb(t,n){return t.data[n]}function lb(t,n){return t[n]}function wP(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function ds(t,n){let e=n[t];return $l(e)?e:e[tl]}function nG(t){return(t[Mt]&4)===4}function MS(t){return(t[Mt]&128)===128}function iG(t){return nl(t[ar])}function Qo(t,n){return n==null?null:t[n]}function xP(t){t[zm]=0}function kS(t){t[Mt]&1024||(t[Mt]|=1024,MS(t)&&Du(t))}function rG(t,n){for(;t>0;)n=n[Um],t--;return n}function ag(t){return!!(t[Mt]&9216||t[Ta]?.dirty)}function RS(t){t[Qc].changeDetectionScheduler?.notify(8),t[Mt]&64&&(t[Mt]|=1024),ag(t)&&Du(t)}function Du(t){t[Qc].changeDetectionScheduler?.notify(0);let n=_u(t);for(;n!==null&&!(n[Mt]&8192||(n[Mt]|=8192,!MS(n)));)n=_u(n)}function TP(t,n){if(Gm(t))throw new Pe(911,!1);t[Wc]===null&&(t[Wc]=[]),t[Wc].push(n)}function oG(t,n){if(t[Wc]===null)return;let e=t[Wc].indexOf(n);e!==-1&&t[Wc].splice(e,1)}function _u(t){let n=t[ar];return nl(n)?n[ar]:n}function IP(t){return t[ng]??=[]}function AP(t){return t.cleanup??=[]}function aG(t,n,e,i){let r=IP(n);r.push(e),t.firstCreatePass&&AP(t).push(i,r.length-1)}var qt={lFrame:_G(null),bindingsEnabled:!0,skipHydrationRootTNode:null},cb=(function(t){return t[t.Off=0]="Off",t[t.Exhaustive=1]="Exhaustive",t[t.OnlyDirtyViews=2]="OnlyDirtyViews",t})(cb||{}),jpe=0,eP=!1;function sG(){return qt.lFrame.elementDepthCount}function lG(){qt.lFrame.elementDepthCount++}function MP(){qt.lFrame.elementDepthCount--}function PS(){return qt.bindingsEnabled}function kP(){return qt.skipHydrationRootTNode!==null}function RP(t){return qt.skipHydrationRootTNode===t}function PP(){qt.skipHydrationRootTNode=null}function Dt(){return qt.lFrame.lView}function Zn(){return qt.lFrame.tView}function he(t){return qt.lFrame.contextLView=t,t[ki]}function ge(t){return qt.lFrame.contextLView=null,t}function sr(){let t=NP();for(;t!==null&&t.type===64;)t=t.parent;return t}function NP(){return qt.lFrame.currentTNode}function sg(){let t=qt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function ed(t,n){let e=qt.lFrame;e.currentTNode=t,e.isParent=n}function OP(){return qt.lFrame.isParent}function FP(){qt.lFrame.isParent=!1}function cG(){return qt.lFrame.contextLView}function LP(t){DS("Must never be called in production mode"),jpe=t}function VP(){return eP}function lg(t){let n=eP;return eP=t,n}function cg(){let t=qt.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function dG(){return qt.lFrame.bindingIndex}function uG(t){return qt.lFrame.bindingIndex=t}function ql(){return qt.lFrame.bindingIndex++}function NS(t){let n=qt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function fG(){return qt.lFrame.inI18n}function BP(t){qt.lFrame.inI18n=t}function mG(t,n){let e=qt.lFrame;e.bindingIndex=e.bindingRootIndex=t,OS(n)}function pG(){return qt.lFrame.currentDirectiveIndex}function OS(t){qt.lFrame.currentDirectiveIndex=t}function hG(t){let n=qt.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function FS(){return qt.lFrame.currentQueryIndex}function db(t){qt.lFrame.currentQueryIndex=t}function Upe(t){let n=t[xt];return n.type===2?n.declTNode:n.type===1?t[Zr]:null}function jP(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=Upe(o),r===null||(o=o[Um],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=qt.lFrame=gG();return i.currentTNode=n,i.lView=t,!0}function LS(t){let n=gG(),e=t[xt];qt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function gG(){let t=qt.lFrame,n=t===null?null:t.child;return n===null?_G(t):n}function _G(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function vG(){let t=qt.lFrame;return qt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var UP=vG;function VS(){let t=vG();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function yG(t){return(qt.lFrame.contextLView=rG(t,qt.lFrame.contextLView))[ki]}function Yl(){return qt.lFrame.selectedIndex}function Eu(t){qt.lFrame.selectedIndex=t}function dg(){let t=qt.lFrame;return sb(t.tView,t.selectedIndex)}function eo(){qt.lFrame.currentNamespace=EP}function Su(){zpe()}function zpe(){qt.lFrame.currentNamespace=null}function bG(){return qt.lFrame.currentNamespace}var CG=!0;function ub(){return CG}function ug(t){CG=t}var Hpe={elements:void 0};function BS(){return Hpe}function tP(t,n=null,e=null,i){let r=DG(t,n,e,i);return r.resolveInjectorInitializers(),r}function DG(t,n=null,e=null,i,r=new Set){let o=[e||Fr,K3(t)];return i=i||(typeof t=="object"?void 0:hu(t)),new Om(o,n||tg(),i||null,r)}var ft=class t{static THROW_IF_NOT_FOUND=Rm;static NULL=new eb;static create(n,e){if(Array.isArray(n))return tP({name:""},e,n,"");{let i=n.name??"";return tP({name:i},n.parent,n.providers,i)}}static \u0275prov=pe({token:t,providedIn:"any",factory:()=>bt(mP)});static __NG_ELEMENT_ID__=-1},dt=new te(""),wo=(()=>{class t{static __NG_ELEMENT_ID__=$pe;static __NG_ENV_ID__=e=>e}return t})(),tb=class extends wo{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Gm(this._lView)}onDestroy(n){let e=this._lView;return TP(e,n),()=>oG(e,n)}};function $pe(){return new tb(Dt())}var qi=class{_console=console;handleError(n){this._console.error("ERROR",n)}},il=new te("",{providedIn:"root",factory:()=>{let t=h(Mi),n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(qi),n.handleError(e))}}}),EG={provide:Xc,useValue:()=>void h(qi),multi:!0},Gpe=new te("",{providedIn:"root",factory:()=>{let t=h(dt).defaultView;if(!t)return;let n=h(il),e=o=>{n(o.reason),o.preventDefault()},i=o=>{o.error?n(o.error):n(new Error(o.message,{cause:o})),o.preventDefault()},r=()=>{t.addEventListener("unhandledrejection",e),t.addEventListener("error",i)};typeof Zone<"u"?Zone.root.run(r):r(),h(wo).onDestroy(()=>{t.removeEventListener("error",i),t.removeEventListener("unhandledrejection",e)})}});function zP(){return Vm([W3(()=>void h(Gpe))])}function Wl(t){return typeof t=="function"&&t[or]!==void 0}function Be(t,n){let[e,i,r]=IR(t,n?.equal),o=e,a=o[or];return o.set=i,o.update=r,o.asReadonly=HP.bind(o),o}function HP(){let t=this[or];if(t.readonlyFn===void 0){let n=()=>this();n[or]=t,t.readonlyFn=n}return t.readonlyFn}function $P(t){return Wl(t)&&typeof t.set=="function"}var Xo=class{},fg=new te("",{providedIn:"root",factory:()=>!1});var GP=new te(""),jS=new te("");var qm=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=qpe}return t})();function qpe(){return new qm(Dt(),sr())}var Ym=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Wo(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new yt(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=pe({token:t,providedIn:"root",factory:()=>new t})}return t})();function Wm(...t){}var fb=(()=>{class t{static \u0275prov=pe({token:t,providedIn:"root",factory:()=>new nP})}return t})(),nP=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,i]of this.queues)e===null?n||=this.flushQueue(i):n||=e.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let i of n)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}};function Dg(t){return{toString:t}.toString()}var US="__parameters__";function ehe(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function JG(t,n,e){return Dg(()=>{let i=ehe(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(l,c,d){let u=l.hasOwnProperty(US)?l[US]:Object.defineProperty(l,US,{value:[]})[US];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Eg=uP(JG("Optional"),8);var dw=uP(JG("SkipSelf"),4);function the(t){return typeof t=="function"}var XS=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function e4(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var Yt=(()=>{let t=()=>t4;return t.ngInherit=!0,t})();function t4(t){return t.type.prototype.ngOnChanges&&(t.setInput=ihe),nhe}function nhe(){let t=i4(this),n=t?.current;if(n){let e=t.previous;if(e===vu)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function ihe(t,n,e,i,r){let o=this.declaredInputs[i],a=i4(t)||rhe(t,{previous:vu,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new XS(c&&c.currentValue,e,l===vu),e4(t,n,r,e)}var n4="__ngSimpleChanges__";function i4(t){return t[n4]||null}function rhe(t,n){return t[n4]=n}var SG=[];var Un=function(t,n=null,e){for(let i=0;i<SG.length;i++){let r=SG[i];r(t,n,e)}};function ohe(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=t4(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function r4(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function GS(t,n,e){o4(t,n,3,e)}function qS(t,n,e,i){(t[Mt]&3)===e&&o4(t,n,e,i)}function qP(t,n){let e=t[Mt];(e&3)===n&&(e&=16383,e+=1,t[Mt]=e)}function o4(t,n,e,i){let r=i!==void 0?t[zm]&65535:0,o=i??-1,a=n.length-1,s=0;for(let l=r;l<a;l++)if(typeof n[l+1]=="number"){if(s=n[l],i!=null&&s>=i)break}else n[l]<0&&(t[zm]+=65536),(s<o||o==-1)&&(ahe(t,e,n,l),t[zm]=(t[zm]&4294901760)+l+2),l++}function wG(t,n){Un(4,t,n);let e=Pt(null);try{n.call(t)}finally{Pt(e),Un(5,t,n)}}function ahe(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[Mt]>>14<t[zm]>>16&&(t[Mt]&3)===n&&(t[Mt]+=16384,wG(s,o)):wG(s,o)}var pg=-1,Xm=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};function she(t){return(t.flags&8)!==0}function lhe(t){return(t.flags&16)!==0}function che(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],a=e[i++],s=e[i++];t.setAttribute(n,a,s,o)}else{let o=r,a=e[++i];dhe(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function a4(t){return t===3||t===4||t===6}function dhe(t){return t.charCodeAt(0)===64}function hg(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?xG(t,e,r,null,n[++i]):xG(t,e,r,null,null))}}return t}function xG(t,n,e,i,r){let o=0,a=t.length;if(n===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===n){a=-1;break}else if(s>n){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(t.splice(a,0,n),o=a+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function s4(t){return t!==pg}function QS(t){return t&32767}function uhe(t){return t>>16}function ZS(t,n){let e=uhe(t),i=n;for(;e>0;)i=i[Um],e--;return i}var o1=!0;function JS(t){let n=o1;return o1=t,n}var fhe=256,l4=fhe-1,c4=5,mhe=0,Kl={};function phe(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Fm)&&(i=e[Fm]),i==null&&(i=e[Fm]=mhe++);let r=i&l4,o=1<<r;n.data[t+(r>>c4)]|=o}function ew(t,n){let e=d4(t,n);if(e!==-1)return e;let i=n[xt];i.firstCreatePass&&(t.injectorIndex=n.length,YP(i.data,t),YP(n,null),YP(i.blueprint,null));let r=Q1(t,n),o=t.injectorIndex;if(s4(r)){let a=QS(r),s=ZS(r,n),l=s[xt].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function YP(t,n){t.push(0,0,0,0,0,0,0,0,n)}function d4(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Q1(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=h4(r),i===null)return pg;if(e++,r=r[Um],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return pg}function a1(t,n,e){phe(t,n,e)}function hhe(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(a4(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function u4(t,n,e){if(e&8||t!==void 0)return t;wS(n,"NodeInjector")}function f4(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[jm],o=So(void 0);try{return r?r.get(n,i,e&8):dP(n,i,e&8)}finally{So(o)}}return u4(i,n,e)}function m4(t,n,e,i=0,r){if(t!==null){if(n[Mt]&2048&&!(i&2)){let a=yhe(t,n,e,i,Kl);if(a!==Kl)return a}let o=p4(t,n,e,i,Kl);if(o!==Kl)return o}return f4(n,e,i,r)}function p4(t,n,e,i,r){let o=_he(e);if(typeof o=="function"){if(!jP(n,t,i))return i&1?u4(r,e,i):f4(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&8))wS(e);else return a}finally{UP()}}else if(typeof o=="number"){let a=null,s=d4(t,n),l=pg,c=i&1?n[Jr][Zr]:null;for((s===-1||i&4)&&(l=s===-1?Q1(t,n):n[s+8],l===pg||!IG(i,!1)?s=-1:(a=n[xt],s=QS(l),n=ZS(l,n)));s!==-1;){let d=n[xt];if(TG(o,s,d.data)){let u=ghe(s,n,e,a,i,c);if(u!==Kl)return u}l=n[s+8],l!==pg&&IG(i,n[xt].data[s+8]===c)&&TG(o,s,n)?(a=d,s=QS(l),n=ZS(l,n)):s=-1}}return r}function ghe(t,n,e,i,r,o){let a=n[xt],s=a.data[t+8],l=i==null?Jc(s)&&o1:i!=a&&(s.type&3)!==0,c=r&1&&o===s,d=YS(s,a,e,l,c);return d!==null?gb(n,a,d,s,r):Kl}function YS(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=i?s:s+d,m=r?s+d:c;for(let f=u;f<m;f++){let p=a[f];if(f<l&&e===p||f>=l&&p.type===e)return f}if(r){let f=a[l];if(f&&Gl(f)&&f.type===e)return l}return null}function gb(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof Xm){let s=o;if(s.resolving){let f=vS(a[e]);throw cP(f)}let l=JS(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],d,u=s.injectImpl?So(s.injectImpl):null,m=jP(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&ohe(e,a[e],n)}finally{u!==null&&So(u),JS(l),s.resolving=!1,UP()}}return o}function _he(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Fm)?t[Fm]:void 0;return typeof n=="number"?n>=0?n&l4:vhe:n}function TG(t,n,e){let i=1<<t;return!!(e[n+(t>>c4)]&i)}function IG(t,n){return!(t&2)&&!(t&1&&n)}var Km=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return m4(this._tNode,this._lView,n,Pm(i),e)}};function vhe(){return new Km(sr(),Dt())}function Ot(t){return Dg(()=>{let n=t.prototype.constructor,e=n[Jy]||s1(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Jy]||s1(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function s1(t){return iP(t)?()=>{let n=s1(Or(t));return n&&n()}:gu(t)}function yhe(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[Mt]&2048&&!og(a);){let s=p4(o,a,e,i|2,Kl);if(s!==Kl)return s;let l=o.parent;if(!l){let c=a[bP];if(c){let d=c.get(e,Kl,i);if(d!==Kl)return d}l=h4(a),a=a[Um]}o=l}return r}function h4(t){let n=t[xt],e=n.type;return e===2?n.declTNode:e===1?t[Zr]:null}function Z1(t){return hhe(sr(),t)}function bhe(){return Sg(sr(),Dt())}function Sg(t,n){return new Te(cs(t,n))}var Te=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=bhe}return t})();function g4(t){return t instanceof Te?t.nativeElement:t}function Che(){return this._results[Symbol.iterator]()}var Aa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new _e}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=$3(n);(this._changesDetected=!H3(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Che};function _4(t){return(t.flags&128)===128}var J1=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(J1||{}),v4=new Map,Dhe=0;function Ehe(){return Dhe++}function She(t){v4.set(t[ob],t)}function l1(t){v4.delete(t[ob])}var AG="__ngContext__";function gg(t,n){$l(n)?(t[AG]=n[ob],She(n)):t[AG]=n}function y4(t){return C4(t[ig])}function b4(t){return C4(t[ls])}function C4(t){for(;t!==null&&!nl(t);)t=t[ls];return t}var c1;function eN(t){c1=t}function tN(){if(c1!==void 0)return c1;if(typeof document<"u")return document;throw new Pe(210,!1)}var Tu=new te("",{providedIn:"root",factory:()=>whe}),whe="ng",uw=new te(""),Iu=new te("",{providedIn:"platform",factory:()=>"unknown"});var Au=new te(""),wg=new te("",{providedIn:"root",factory:()=>tN().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var xhe="h",The="b";var D4="r";var E4="di";var S4=!1,w4=new te("",{providedIn:"root",factory:()=>S4});var Ihe=(t,n,e,i)=>{};function Ahe(t,n,e,i){Ihe(t,n,e,i)}function fw(t){return(t.flags&32)===32}var Mhe=()=>null;function x4(t,n,e=!1){return Mhe(t,n,e)}function T4(t,n){let e=t.contentQueries;if(e!==null){let i=Pt(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],a=e[r+1];if(a!==-1){let s=t.data[a];db(o),s.contentQueries(2,n[a],a)}}}finally{Pt(i)}}}function d1(t,n,e){db(0);let i=Pt(null);try{n(t,e)}finally{Pt(i)}}function nN(t,n,e){if(DP(n)){let i=Pt(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let l=e[a];s.contentQueries(1,l,a)}}}finally{Pt(i)}}}var nd=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})(nd||{}),zS;function khe(){if(zS===void 0&&(zS=null,Jh.trustedTypes))try{zS=Jh.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zS}function mw(t){return khe()?.createHTML(t)||t}var id=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bS})`}},u1=class extends id{getTypeName(){return"HTML"}},f1=class extends id{getTypeName(){return"Style"}},m1=class extends id{getTypeName(){return"Script"}},p1=class extends id{getTypeName(){return"URL"}},h1=class extends id{getTypeName(){return"ResourceURL"}};function rd(t){return t instanceof id?t.changingThisBreaksApplicationSecurity:t}function Zm(t,n){let e=I4(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${bS})`)}return e===n}function I4(t){return t instanceof id&&t.getTypeName()||null}function iN(t){return new u1(t)}function rN(t){return new f1(t)}function oN(t){return new m1(t)}function aN(t){return new p1(t)}function sN(t){return new h1(t)}function A4(t){let n=new _1(t);return Rhe()?new g1(n):n}var g1=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(mw(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},_1=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=mw(n),e}};function Rhe(){try{return!!new window.DOMParser().parseFromString(mw(""),"text/html")}catch{return!1}}var Phe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Eb(t){return t=String(t),t.match(Phe)?t:"unsafe:"+t}function od(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Sb(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var M4=od("area,br,col,hr,img,wbr"),k4=od("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),R4=od("rp,rt"),Nhe=Sb(R4,k4),Ohe=Sb(k4,od("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Fhe=Sb(R4,od("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),v1=Sb(M4,Ohe,Fhe,Nhe),lN=od("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Lhe=od("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Vhe=od("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),P4=Sb(lN,Lhe,Vhe),Bhe=od("script,style,template"),y1=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=zhe(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=Uhe(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=MG(n).toLowerCase();if(!v1.hasOwnProperty(e))return this.sanitizedSomething=!0,!Bhe.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),a=o.name,s=a.toLowerCase();if(!P4.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;lN[s]&&(l=Eb(l)),this.buf.push(" ",a,'="',kG(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=MG(n).toLowerCase();v1.hasOwnProperty(e)&&!M4.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(kG(n))}};function jhe(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Uhe(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw N4(n);return n}function zhe(t){let n=t.firstChild;if(n&&jhe(t,n))throw N4(n);return n}function MG(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function N4(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Hhe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$he=/([^\#-~ |!])/g;function kG(t){return t.replace(/&/g,"&").replace(Hhe,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace($he,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var HS;function cN(t,n){let e=null;try{HS=HS||A4(t);let i=n?String(n):"";e=HS.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=HS.getInertBodyElement(i)}while(i!==o);let s=new y1().sanitizeChildren(b1(e)||e);return mw(s)}finally{if(e){let i=b1(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function b1(t){return"content"in t&&Ghe(t)?t.content:null}function Ghe(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var To=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(To||{});var qhe=/^>|^->|<!--|-->|--!>|<!-$/g,Yhe=/(<|>)/g,Whe="\u200B$1\u200B";function Khe(t){return t.replace(qhe,n=>n.replace(Yhe,Whe))}function Xhe(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}var O4="ng-template";function Qhe(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&Xhe(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(dN(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function dN(t){return t.type===4&&t.value!==O4}function Zhe(t,n,e){let i=t.type===4&&!e?O4:t.value;return n===i}function Jhe(t,n,e){let i=4,r=t.attrs,o=r!==null?nge(r):0,a=!1;for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number"){if(!a&&!rl(i)&&!rl(l))return!1;if(a&&rl(l))continue;a=!1,i=l|i&1;continue}if(!a)if(i&4){if(i=2|i&1,l!==""&&!Zhe(t,l,e)||l===""&&n.length===1){if(rl(i))return!1;a=!0}}else if(i&8){if(r===null||!Qhe(t,r,l,e)){if(rl(i))return!1;a=!0}}else{let c=n[++s],d=ege(l,r,dN(t),e);if(d===-1){if(rl(i))return!1;a=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if(rl(i))return!1;a=!0}}}}return rl(i)||a}function rl(t){return(t&1)===0}function ege(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let a=n[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=n[++r];for(;typeof s=="string";)s=n[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return ige(n,t)}function F4(t,n,e=!1){for(let i=0;i<n.length;i++)if(Jhe(t,n[i],e))return!0;return!1}function tge(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function nge(t){for(let n=0;n<t.length;n++){let e=t[n];if(a4(e))return n}return t.length}function ige(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function rge(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function RG(t,n){return t?":not("+n.trim()+")":n}function oge(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let a=t[e];if(typeof a=="string")if(i&2){let s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else i&8?r+="."+a:i&4&&(r+=" "+a);else r!==""&&!rl(a)&&(n+=RG(o,r),r=""),i=a,o=o||!rl(i);e++}return r!==""&&(n+=RG(o,r)),n}function age(t){return t.map(oge).join(",")}function sge(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!rl(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var to={};function L4(t,n){return t.createText(n)}function lge(t,n,e){t.setValue(n,e)}function V4(t,n){return t.createComment(Khe(n))}function uN(t,n,e){return t.createElement(n,e)}function _g(t,n,e,i,r){t.insertBefore(n,e,i,r)}function B4(t,n,e){t.appendChild(n,e)}function PG(t,n,e,i,r){i!==null?_g(t,n,e,i,r):B4(t,n,e)}function j4(t,n,e){t.removeChild(null,n,e)}function cge(t,n,e){t.setAttribute(n,"style",e)}function dge(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function U4(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&che(t,n,i),r!==null&&dge(t,n,r),o!==null&&cge(t,n,o)}function fN(t,n,e,i,r,o,a,s,l,c,d){let u=Wn+i,m=u+r,f=uge(u,m),p=typeof c=="function"?c():c;return f[xt]={type:t,blueprint:f,template:e,queries:null,viewQuery:s,declTNode:n,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}function uge(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:to);return e}function fge(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=fN(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function mN(t,n,e,i,r,o,a,s,l,c,d){let u=n.blueprint.slice();return u[tl]=r,u[Mt]=i|4|128|8|64|1024,(c!==null||t&&t[Mt]&2048)&&(u[Mt]|=2048),xP(u),u[ar]=u[Um]=t,u[ki]=e,u[Qc]=a||t&&t[Qc],u[Bn]=s||t&&t[Bn],u[jm]=l||t&&t[jm]||null,u[Zr]=o,u[ob]=Ehe(),u[Bm]=d,u[bP]=c,u[Jr]=n.type==2?t[Jr]:u,u}function mge(t,n,e){let i=cs(n,t),r=fge(e),o=t[Qc].rendererFactory,a=pN(t,mN(t,r,null,z4(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function z4(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function wb(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function pN(t,n){return t[ig]?t[yP][ls]=n:t[ig]=n,t[yP]=n,n}function E(t=1){H4(Zn(),Dt(),Yl()+t,!1)}function H4(t,n,e,i){if(!i)if((n[Mt]&3)===3){let o=t.preOrderCheckHooks;o!==null&&GS(n,o,e)}else{let o=t.preOrderHooks;o!==null&&qS(n,o,0,e)}Eu(e)}var pw=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(pw||{});function C1(t,n,e,i){let r=Pt(null);try{let[o,a,s]=t.inputs[e],l=null;(a&pw.SignalBased)!==0&&(l=n[o][or]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):s!==null&&(i=s.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):e4(n,l,o,i)}finally{Pt(r)}}var al=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(al||{}),D1;function hN(t,n){return D1(t,n)}function pge(t){D1===void 0&&(D1=t())}function mg(t,n,e,i,r){if(i!=null){let o,a=!1;nl(i)?o=i:$l(i)&&(a=!0,i=i[tl]);let s=Ia(i);t===0&&e!==null?r==null?B4(n,e,s):_g(n,e,s,r||null,!0):t===1&&e!==null?_g(n,e,s,r||null,!0):t===2?j4(n,s,a):t===3&&n.destroyNode(s),o!=null&&Cge(n,t,o,e,r)}}function hge(t,n){$4(t,n),n[tl]=null,n[Zr]=null}function gge(t,n,e,i,r,o){i[tl]=r,i[Zr]=n,gw(t,i,e,1,r,o)}function $4(t,n){n[Qc].changeDetectionScheduler?.notify(9),gw(t,n,n[Bn],2,null,null)}function _ge(t){let n=t[ig];if(!n)return WP(t[xt],t);for(;n;){let e=null;if($l(n))e=n[ig];else{let i=n[vr];i&&(e=i)}if(!e){for(;n&&!n[ls]&&n!==t;)$l(n)&&WP(n[xt],n),n=n[ar];n===null&&(n=t),$l(n)&&WP(n[xt],n),e=n&&n[ls]}n=e}}function gN(t,n){let e=t[$m],i=e.indexOf(n);e.splice(i,1)}function hw(t,n){if(Gm(n))return;let e=n[Bn];e.destroyNode&&gw(t,n,e,3,null,null),_ge(n)}function WP(t,n){if(Gm(n))return;let e=Pt(null);try{n[Mt]&=-129,n[Mt]|=256,n[Ta]&&mu(n[Ta]),yge(t,n),vge(t,n),n[xt].type===1&&n[Bn].destroy();let i=n[bu];if(i!==null&&nl(n[ar])){i!==n[ar]&&gN(i,n);let r=n[Hl];r!==null&&r.detachView(t)}l1(n)}finally{Pt(e)}}function vge(t,n){let e=t.cleanup,i=n[ng];if(e!==null)for(let a=0;a<e.length-1;a+=2)if(typeof e[a]=="string"){let s=e[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else{let s=i[e[a+1]];e[a].call(s)}i!==null&&(n[ng]=null);let r=n[Wc];if(r!==null){n[Wc]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[Zc];if(o!==null){n[Zc]=null;for(let a of o)a.destroy()}}function yge(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof Xm)){let o=e[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],l=o[a+1];Un(4,s,l);try{l.call(s)}finally{Un(5,s,l)}}else{Un(4,r,o);try{o.call(r)}finally{Un(5,r,o)}}}}}function G4(t,n,e){return q4(t,n.parent,e)}function q4(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[tl];if(Jc(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===nd.None||r===nd.Emulated)return null}return cs(i,e)}function Y4(t,n,e){return K4(t,n,e)}function W4(t,n,e){return t.type&40?cs(t,e):null}var K4=W4,E1;function X4(t,n){K4=t,E1=n}function _N(t,n,e,i){let r=G4(t,i,n),o=n[Bn],a=i.parent||n[Zr],s=Y4(a,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)PG(o,r,e[l],s,!1);else PG(o,r,e,s,!1);E1!==void 0&&E1(o,i,n,e,r)}function mb(t,n){if(n!==null){let e=n.type;if(e&3)return cs(n,t);if(e&4)return S1(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return mb(t,i);{let r=t[n.index];return nl(r)?S1(-1,r):Ia(r)}}else{if(e&128)return mb(t,n.next);if(e&32)return hN(n,t)()||Ia(t[n.index]);{let i=Q4(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=_u(t[Jr]);return mb(r,i)}else return mb(t,n.next)}}}return null}function Q4(t,n){if(n!==null){let i=t[Jr][Zr],r=n.projection;return i.projection[r]}return null}function S1(t,n){let e=vr+t+1;if(e<n.length){let i=n[e],r=i[xt].firstChild;if(r!==null)return mb(i,r)}return n[Cu]}function vN(t,n,e,i,r,o,a){for(;e!=null;){if(e.type===128){e=e.next;continue}let s=i[e.index],l=e.type;if(a&&n===0&&(s&&gg(Ia(s),i),e.flags|=2),!fw(e))if(l&8)vN(t,n,e.child,i,r,o,!1),mg(n,t,r,s,o);else if(l&32){let c=hN(e,i),d;for(;d=c();)mg(n,t,r,d,o);mg(n,t,r,s,o)}else l&16?Z4(t,n,i,e,r,o):mg(n,t,r,s,o);e=a?e.projectionNext:e.next}}function gw(t,n,e,i,r,o){vN(e,i,t.firstChild,n,r,o,!1)}function bge(t,n,e){let i=n[Bn],r=G4(t,e,n),o=e.parent||n[Zr],a=Y4(o,e,n);Z4(i,0,n,e,r,a)}function Z4(t,n,e,i,r,o){let a=e[Jr],l=a[Zr].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];mg(n,t,r,d,o)}else{let c=l,d=a[ar];_4(i)&&(c.flags|=128),vN(t,n,c,d,r,o,!0)}}function Cge(t,n,e,i,r){let o=e[Cu],a=Ia(e);o!==a&&mg(n,t,i,o,r);for(let s=vr;s<e.length;s++){let l=e[s];gw(l[xt],l,t,n,i,o)}}function Dge(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:al.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=al.Important),t.setStyle(e,i,r,o))}}function J4(t,n,e,i,r){let o=Yl(),a=i&2;try{Eu(-1),a&&n.length>Wn&&H4(t,n,Wn,!1),Un(a?2:0,r,e),e(i,r)}finally{Eu(o),Un(a?3:1,r,e)}}function _w(t,n,e){Tge(t,n,e),(e.flags&64)===64&&Ige(t,n,e)}function xb(t,n,e=cs){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let a=i[o+1],s=a===-1?e(n,t):t[a];t[r++]=s}}}function Ege(t,n,e,i){let o=i.get(w4,S4)||e===nd.ShadowDom,a=t.selectRootElement(n,o);return Sge(a),a}function Sge(t){wge(t)}var wge=()=>null;function xge(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function eq(t,n,e,i,r,o){let a=n[xt];if(vw(t,a,n,e,i)){Jc(t)&&nq(n,t.index);return}t.type&3&&(e=xge(e)),tq(t,n,e,i,r,o)}function tq(t,n,e,i,r,o){if(t.type&3){let a=cs(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(a,e,i)}else t.type&12}function nq(t,n){let e=ds(n,t);e[Mt]&16||(e[Mt]|=64)}function Tge(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Jc(e)&&mge(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||ew(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],l=gb(n,t,a,e);if(gg(l,n),o!==null&&kge(n,a-i,l,s,e,o),Gl(s)){let c=ds(e.index,n);c[ki]=gb(n,t,a,e)}}}function Ige(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=pG();try{Eu(o);for(let s=i;s<r;s++){let l=t.data[s],c=n[s];OS(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Age(l,c)}}finally{Eu(-1),OS(a)}}function Age(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function yN(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];F4(n,o.selectors,!1)&&(i??=[],Gl(o)?i.unshift(o):i.push(o))}return i}function Mge(t,n,e,i,r,o){let a=cs(t,n);iq(n[Bn],a,o,t.value,e,i,r)}function iq(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?Lm(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function kge(t,n,e,i,r,o){let a=o[n];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],c=a[s+1];C1(i,e,l,c)}}function bN(t,n,e,i,r){let o=Wn+e,a=n[xt],s=r(a,n,t,i,e);n[o]=s,ed(t,!0);let l=t.type===2;return l?(U4(n[Bn],s,t),(sG()===0||rg(t))&&gg(s,n),lG()):gg(s,n),ub()&&(!l||!fw(t))&&_N(a,n,s,t),t}function CN(t){let n=t;return OP()?FP():(n=n.parent,ed(n,!1)),n}function Rge(t,n){let e=t[jm];if(!e)return;let i;try{i=e.get(il,null)}catch{i=null}i?.(n)}function vw(t,n,e,i,r){let o=t.inputs?.[i],a=t.hostDirectiveInputs?.[i],s=!1;if(a)for(let l=0;l<a.length;l+=2){let c=a[l],d=a[l+1],u=n.data[c];C1(u,e[c],d,r),s=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];C1(d,c,i,r),s=!0}return s}function Pge(t,n){let e=ds(n,t),i=e[xt];Nge(i,e);let r=e[tl];r!==null&&e[Bm]===null&&(e[Bm]=x4(r,e[jm])),Un(18),DN(i,e,e[ki]),Un(19,e[ki])}function Nge(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function DN(t,n,e){LS(n);try{let i=t.viewQuery;i!==null&&d1(1,i,e);let r=t.template;r!==null&&J4(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Hl]?.finishViewCreation(t),t.staticContentQueries&&T4(t,n),t.staticViewQueries&&d1(2,t.viewQuery,e);let o=t.components;o!==null&&Oge(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Mt]&=-5,VS()}}function Oge(t,n){for(let e=0;e<n.length;e++)Pge(t,n[e])}function Tb(t,n,e,i){let r=Pt(null);try{let o=n.tView,s=t[Mt]&4096?4096:16,l=mN(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[bu]=c;let d=t[Hl];return d!==null&&(l[Hl]=d.createEmbeddedView(o)),DN(o,l,e),l}finally{Pt(r)}}function vg(t,n){return!n||n.firstChild===null||_4(t)}var NG=!1,Fge=new te("");function _b(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Ia(o)),nl(o)&&rq(o,i);let a=e.type;if(a&8)_b(t,n,e.child,i);else if(a&32){let s=hN(e,n),l;for(;l=s();)i.push(l)}else if(a&16){let s=Q4(n,e);if(Array.isArray(s))i.push(...s);else{let l=_u(n[Jr]);_b(l[xt],l,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function rq(t,n){for(let e=vr;e<t.length;e++){let i=t[e],r=i[xt].firstChild;r!==null&&_b(i[xt],i,r,n)}t[Cu]!==t[tl]&&n.push(t[Cu])}function oq(t){if(t[Hm]!==null){for(let n of t[Hm])n.impl.addSequence(n);t[Hm].length=0}}var aq=[];function Lge(t){return t[Ta]??Vge(t)}function Vge(t){let n=aq.pop()??Object.create(jge);return n.lView=t,n}function Bge(t){t.lView[Ta]!==t&&(t.lView=null,aq.push(t))}var jge=Fe(G({},Cm),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Du(t.lView)},consumerOnSignalRead(){this.lView[Ta]=this}});function Uge(t){let n=t[Ta]??Object.create(zge);return n.lView=t,n}var zge=Fe(G({},Cm),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=_u(t.lView);for(;n&&!sq(n[xt]);)n=_u(n);n&&kS(n)},consumerOnSignalRead(){this.lView[Ta]=this}});function sq(t){return t.type!==2}function lq(t){if(t[Zc]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[Zc])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Mt]&8192)}}var Hge=100;function EN(t,n=0){let i=t[Qc].rendererFactory,r=!1;r||i.begin?.();try{$ge(t,n)}finally{r||i.end?.()}}function $ge(t,n){let e=VP();try{lg(!0),w1(t,n);let i=0;for(;ag(t);){if(i===Hge)throw new Pe(103,!1);i++,w1(t,1)}}finally{lg(e)}}function cq(t,n){LP(n?cb.Exhaustive:cb.OnlyDirtyViews);try{EN(t)}finally{LP(cb.Off)}}function Gge(t,n,e,i){if(Gm(n))return;let r=n[Mt],o=!1,a=!1;LS(n);let s=!0,l=null,c=null;o||(sq(t)?(c=Lge(n),l=fu(c)):NE()===null?(s=!1,c=Uge(n),l=fu(c)):n[Ta]&&(mu(n[Ta]),n[Ta]=null));try{xP(n),uG(t.bindingStartIndex),e!==null&&J4(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let f=t.preOrderCheckHooks;f!==null&&GS(n,f,null)}else{let f=t.preOrderHooks;f!==null&&qS(n,f,0,null),qP(n,0)}if(a||qge(n),lq(n),dq(n,0),t.contentQueries!==null&&T4(t,n),!o)if(d){let f=t.contentCheckHooks;f!==null&&GS(n,f)}else{let f=t.contentHooks;f!==null&&qS(n,f,1),qP(n,1)}Wge(t,n);let u=t.components;u!==null&&fq(n,u,0);let m=t.viewQuery;if(m!==null&&d1(2,m,i),!o)if(d){let f=t.viewCheckHooks;f!==null&&GS(n,f)}else{let f=t.viewHooks;f!==null&&qS(n,f,2),qP(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[AS]){for(let f of n[AS])f();n[AS]=null}o||(oq(n),n[Mt]&=-73)}catch(d){throw o||Du(n),d}finally{c!==null&&(Em(c,l),s&&Bge(c)),VS()}}function dq(t,n){for(let e=y4(t);e!==null;e=b4(e))for(let i=vr;i<e.length;i++){let r=e[i];uq(r,n)}}function qge(t){for(let n=y4(t);n!==null;n=b4(n)){if(!(n[Mt]&2))continue;let e=n[$m];for(let i=0;i<e.length;i++){let r=e[i];kS(r)}}}function Yge(t,n,e){Un(18);let i=ds(n,t);uq(i,e),Un(19,i[ki])}function uq(t,n){MS(t)&&w1(t,n)}function w1(t,n){let i=t[xt],r=t[Mt],o=t[Ta],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&Sm(o)),a||=!1,o&&(o.dirty=!1),t[Mt]&=-9217,a)Gge(i,t,i.template,t[ki]);else if(r&8192){let s=Pt(null);try{lq(t),dq(t,1);let l=i.components;l!==null&&fq(t,l,1),oq(t)}finally{Pt(s)}}}function fq(t,n,e){for(let i=0;i<n.length;i++)Yge(t,n[i],e)}function Wge(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Eu(~r);else{let o=r,a=e[++i],s=e[++i];mG(a,o);let l=n[o];Un(24,l),s(2,l),Un(25,l)}}}finally{Eu(-1)}}function SN(t,n){let e=VP()?64:1088;for(t[Qc].changeDetectionScheduler?.notify(n);t;){t[Mt]|=e;let i=_u(t);if(og(t)&&!i)return t;t=i}return null}function mq(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function pq(t,n){let e=vr+n;if(e<t.length)return t[e]}function Ib(t,n,e,i=!0){let r=n[xt];if(Kge(r,n,t,e),i){let a=S1(e,t),s=n[Bn],l=s.parentNode(t[Cu]);l!==null&&gge(r,t[Zr],s,n,l,a)}let o=n[Bm];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function hq(t,n){let e=vb(t,n);return e!==void 0&&hw(e[xt],e),e}function vb(t,n){if(t.length<=vr)return;let e=vr+n,i=t[e];if(i){let r=i[bu];r!==null&&r!==t&&gN(r,i),n>0&&(t[e-1][ls]=i[ls]);let o=nb(t,vr+n);hge(i[xt],i);let a=o[Hl];a!==null&&a.detachView(o[xt]),i[ar]=null,i[ls]=null,i[Mt]&=-129}return i}function Kge(t,n,e,i){let r=vr+i,o=e.length;i>0&&(e[r-1][ls]=n),i<o-vr?(n[ls]=e[r],fP(e,vr+i,n)):(e.push(n),n[ls]=null),n[ar]=e;let a=n[bu];a!==null&&e!==a&&gq(a,n);let s=n[Hl];s!==null&&s.insertView(t),RS(n),n[Mt]|=128}function gq(t,n){let e=t[$m],i=n[ar];if($l(i))t[Mt]|=2;else{let r=i[ar][Jr];n[Jr]!==r&&(t[Mt]|=2)}e===null?t[$m]=[n]:e.push(n)}var wu=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[xt];return _b(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[ki]}set context(n){this._lView[ki]=n}get destroyed(){return Gm(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ar];if(nl(n)){let e=n[ab],i=e?e.indexOf(this):-1;i>-1&&(vb(n,i),nb(e,i))}this._attachedToViewContainer=!1}hw(this._lView[xt],this._lView)}onDestroy(n){TP(this._lView,n)}markForCheck(){SN(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Mt]&=-129}reattach(){RS(this._lView),this._lView[Mt]|=128}detectChanges(){this._lView[Mt]|=1024,EN(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=og(this._lView),e=this._lView[bu];e!==null&&!n&&gN(e,this._lView),$4(this._lView[xt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Pe(902,!1);this._appRef=n;let e=og(this._lView),i=this._lView[bu];i!==null&&!e&&gq(i,this._lView),RS(this._lView)}};function wN(t){return ag(t._lView)||!!(t._lView[Mt]&64)}function xN(t){kS(t._lView)}var kn=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Xge;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Tb(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new wu(o)}}return t})();function Xge(){return yw(sr(),Dt())}function yw(t,n){return t.type&4?new kn(n,t,Sg(t,n)):null}function _q(t,n,e){let i=n.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return r===null?W4(t,n,e):Ia(e[r])}function vq(t,n,e,i,r){let o=n.insertBeforeIndex;if(Array.isArray(o)){let a=i,s=null;if(n.type&3||(s=a,a=r),a!==null&&n.componentOffset===-1)for(let l=1;l<o.length;l++){let c=e[o[l]];_g(t,a,c,s,!1)}}}function xg(t,n,e,i,r){let o=t.data[n];if(o===null)o=TN(t,n,e,i,r),fG()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=sg();o.injectorIndex=a===null?-1:a.injectorIndex}return ed(o,!0),o}function TN(t,n,e,i,r){let o=NP(),a=OP(),s=a?o:o&&o.parent,l=t.data[n]=Zge(t,s,e,n,i,r);return Qge(t,l,o,a),l}function Qge(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function Zge(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return kP()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function yq(t,n){if(t.push(n),t.length>1)for(let e=t.length-2;e>=0;e--){let i=t[e];bq(i)||Jge(i,n)&&e_e(i)===null&&t_e(i,n.index)}}function bq(t){return!(t.type&64)}function Jge(t,n){return bq(n)||t.index>n.index}function e_e(t){let n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function t_e(t,n){let e=t.insertBeforeIndex;Array.isArray(e)?e[0]=n:(X4(_q,vq),t.insertBeforeIndex=n)}function n_e(t,n,e){let i=t.data[n];i===null?t.data[n]=e:i.value=e}function i_e(t,n){let e=t.insertBeforeIndex;e===null?(X4(_q,vq),e=t.insertBeforeIndex=[null,n]):(V3(Array.isArray(e),!0,"Expecting array here"),e.push(n))}function r_e(t,n,e){let i=TN(t,e,64,null,null);return yq(n,i),i}function o_e(t,n){let e=n[t.currentCaseLViewIndex];return e===null?e:e<0?~e:e}function a_e(t,n,e){return t|n<<17|e<<1}function s_e(t){return t===-1}function Cq(t,n,e){t.index=0;let i=o_e(n,e);i!==null?t.removes=n.remove[i]:t.removes=Fr}function x1(t){if(t.index<t.removes.length){let n=t.removes[t.index++];if(n>0)return t.lView[n];{t.stack.push(t.index,t.removes);let e=~n,i=t.lView[xt].data[e];return Cq(t,i,t.lView),x1(t)}}else return t.stack.length===0?null:(t.removes=t.stack.pop(),t.index=t.stack.pop(),x1(t))}function l_e(){let t={stack:[],index:-1};function n(e,i){for(t.lView=i;t.stack.length;)t.stack.pop();return Cq(t,e.value,i),x1.bind(null,t)}return n}var Wat=new RegExp(`^(\\d+)*(${The}|${xhe})*(.*)`);var c_e=()=>{};function d_e(t,n,e,i){c_e(t,n,e,i)}function u_e(t){let n=t[CP]??[],i=t[ar][Bn],r=[];for(let o of n)o.data[E4]!==void 0?r.push(o):f_e(o,i);t[CP]=r}function f_e(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[D4];for(;e<r;){let o=i.nextSibling;j4(n,i,!1),i=o,e++}}}var m_e=()=>null,p_e=()=>null;function tw(t,n){return m_e(t,n)}function Dq(t,n,e){return p_e(t,n,e)}var Eq=class{},bw=class{},T1=class{resolveComponentFactory(n){throw new Pe(917,!1)}},ad=class{static NULL=new T1},ci=class{},dn=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>h_e()}return t})();function h_e(){let t=Dt(),n=sr(),e=ds(n.index,t);return($l(e)?e:t)[Bn]}var Sq=(()=>{class t{static \u0275prov=pe({token:t,providedIn:"root",factory:()=>null})}return t})();var WS={},I1=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,WS,i);return r!==WS||e===WS?r:this.parentInjector.get(n,e,i)}};function nw(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let a=0;a<n.length;a++){let s=n[a];if(typeof s=="number")o=s;else if(o==1)r=CS(r,s);else if(o==2){let l=s,c=n[++a];i=CS(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function He(t,n=0){let e=Dt();if(e===null)return bt(t,n);let i=sr();return m4(i,e,Or(t),n)}function IN(){let t="invalid";throw new Error(t)}function wq(t,n,e,i,r){let o=i===null?null:{"":-1},a=r(t,e);if(a!==null){let s=a,l=null,c=null;for(let d of a)if(d.resolveHostDirectives!==null){[s,l,c]=d.resolveHostDirectives(a);break}v_e(t,n,e,s,o,l,c)}o!==null&&i!==null&&g_e(e,i,o)}function g_e(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new Pe(-301,!1);i.push(n[r],o)}}function __e(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function v_e(t,n,e,i,r,o,a){let s=i.length,l=!1;for(let m=0;m<s;m++){let f=i[m];!l&&Gl(f)&&(l=!0,__e(t,e,m)),a1(ew(e,n),t,f.type)}S_e(e,t.data.length,s);for(let m=0;m<s;m++){let f=i[m];f.providersResolver&&f.providersResolver(f)}let c=!1,d=!1,u=wb(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let m=0;m<s;m++){let f=i[m];if(e.mergedAttrs=hg(e.mergedAttrs,f.hostAttrs),b_e(t,e,n,u,f),E_e(u,f,r),a!==null&&a.has(f)){let[g,_]=a.get(f);e.directiveToIndex.set(f.type,[u,g+e.directiveStart,_+e.directiveStart])}else(o===null||!o.has(f))&&e.directiveToIndex.set(f.type,u);f.contentQueries!==null&&(e.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(e.flags|=64);let p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),u++}y_e(t,e,o)}function y_e(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))OG(0,n,r,i),OG(1,n,r,i),LG(n,i,!1);else{let o=e.get(r);FG(0,n,o,i),FG(1,n,o,i),LG(n,i,!0)}}}function OG(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;t===0?a=n.inputs??={}:a=n.outputs??={},a[o]??=[],a[o].push(i),xq(n,o)}}function FG(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;t===0?s=n.hostDirectiveInputs??={}:s=n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),xq(n,a)}}function xq(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function LG(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||dN(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let a=null,s=0;for(;s<i.length;){let l=i[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===n){a??=[],a.push(l,i[s+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){a??=[],a.push(c[d+1],i[s+1]);break}}s+=2}t.initialInputs??=[],t.initialInputs.push(a)}function b_e(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=gu(r.type,!0)),a=new Xm(o,Gl(r),He,null);t.blueprint[i]=a,e[i]=a,C_e(t,n,i,wb(t,e,r.hostVars,to),r)}function C_e(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;D_e(a)!=s&&a.push(s),a.push(e,i,o)}}function D_e(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function E_e(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Gl(n)&&(e[""]=t)}}function S_e(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function AN(t,n,e,i,r,o,a,s){let l=n[xt],c=l.consts,d=Qo(c,a),u=xg(l,t,e,i,d);return o&&wq(l,n,u,Qo(c,s),r),u.mergedAttrs=hg(u.mergedAttrs,u.attrs),u.attrs!==null&&nw(u,u.attrs,!1),u.mergedAttrs!==null&&nw(u,u.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,u),u}function MN(t,n){r4(t,n),DP(n)&&t.queries.elementEnd(n)}function w_e(t,n,e,i,r,o){let a=n.consts,s=Qo(a,r),l=xg(n,t,e,i,s);if(l.mergedAttrs=hg(l.mergedAttrs,l.attrs),o!=null){let c=Qo(a,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&nw(l,l.attrs,!1),l.mergedAttrs!==null&&nw(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function kN(t){return Cw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Tq(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function Cw(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Dw(t,n,e){return t[n]=e}function x_e(t,n){return t[n]}function xo(t,n,e){if(e===to)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function RN(t,n,e,i){let r=xo(t,n,e);return xo(t,n+1,i)||r}function T_e(t,n,e,i,r){let o=RN(t,n,e,i);return xo(t,n+2,r)||o}function KP(t,n,e){return function i(r){let o=Jc(t)?ds(t.index,n):n;SN(o,5);let a=n[ki],s=VG(n,a,e,r),l=i.__ngNextListenerFn__;for(;l;)s=VG(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function VG(t,n,e,i){let r=Pt(null);try{return Un(6,n,e),e(i)!==!1}catch(o){return Rge(t,o),!1}finally{Un(7,n,e),Pt(r)}}function I_e(t,n,e,i,r,o,a,s){let l=rg(t),c=!1,d=null;if(!i&&l&&(d=A_e(n,e,o,t.index)),d!==null){let u=d.__ngLastListenerFn__||d;u.__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,c=!0}else{let u=cs(t,e),m=i?i(u):u;Ahe(e,m,o,s);let f=r.listen(m,o,s),p=i?g=>i(Ia(g[t.index])):t.index;Iq(p,n,e,o,s,f,!1)}return c}function A_e(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===e&&r[o+1]===i){let s=n[ng],l=r[o+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(o+=2)}return null}function Iq(t,n,e,i,r,o,a){let s=n.firstCreatePass?AP(n):null,l=IP(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function BG(t,n,e,i,r,o){let a=n[e],s=n[xt],c=s.data[e].outputs[i],u=a[c].subscribe(o);Iq(t.index,s,n,r,o,u,!0)}var A1=Symbol("BINDING");var M1=class extends ad{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=yu(n);return new yg(e,this.ngModule)}};function M_e(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&pw.SignalBased)!==0};return r&&(o.transform=r),o})}function k_e(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function R_e(t,n,e){let i=n instanceof Mi?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new I1(e,i):e}function P_e(t){let n=t.get(ci,null);if(n===null)throw new Pe(407,!1);let e=t.get(Sq,null),i=t.get(Xo,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function N_e(t,n){let e=Aq(t);return uN(n,e,e==="svg"?EP:e==="math"?tG:null)}function Aq(t){return(t.selectors[0][0]||"div").toLowerCase()}var yg=class extends bw{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=M_e(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=k_e(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=age(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Un(22);let s=Pt(null);try{let l=this.componentDef,c=O_e(i,l,a,o),d=R_e(l,r||this.ngModule,n),u=P_e(d),m=u.rendererFactory.createRenderer(null,l),f=i?Ege(m,i,l.encapsulation,d):N_e(l,m),p=a?.some(jG)||o?.some(v=>typeof v!="function"&&v.bindings.some(jG)),g=mN(null,c,null,512|z4(l),null,null,u,m,d,null,x4(f,d,!0));g[Wn]=f,LS(g);let _=null;try{let v=AN(Wn,g,2,"#host",()=>c.directiveRegistry,!0,0);f&&(U4(m,f,v),gg(f,g)),_w(c,g,v),nN(c,v,g),MN(c,v),e!==void 0&&L_e(v,this.ngContentSelectors,e),_=ds(v.index,g),g[ki]=_[ki],DN(c,g,null)}catch(v){throw _!==null&&l1(_),l1(g),v}finally{Un(23),VS()}return new iw(this.componentType,g,!!p)}finally{Pt(s)}}};function O_e(t,n,e,i){let r=t?["ng-version","20.2.4"]:sge(n.selectors[0]),o=null,a=null,s=0;if(e)for(let d of e)s+=d[A1].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let u=i[d];if(typeof u!="function")for(let m of u.bindings){s+=m[A1].requiredVars;let f=d+1;m.create&&(m.targetIdx=f,(o??=[]).push(m)),m.update&&(m.targetIdx=f,(a??=[]).push(m))}}let l=[n];if(i)for(let d of i){let u=typeof d=="function"?d:d.type,m=hP(u);l.push(m)}return fN(0,null,F_e(o,a),1,s,l,null,null,null,[r],null)}function F_e(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let i of t)i.create();if(e&2&&n)for(let i of n)i.update()}}function jG(t){let n=t[A1].kind;return n==="input"||n==="twoWay"}var iw=class extends Eq{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=sb(e[xt],Wn),this.location=Sg(this._tNode,e),this.instance=ds(this._tNode.index,e)[ki],this.hostView=this.changeDetectorRef=new wu(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=vw(i,r[xt],r,n,e);this.previousInputValues.set(n,e);let a=ds(i.index,r);SN(a,1)}get injector(){return new Km(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function L_e(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}var Kt=(()=>{class t{static __NG_ELEMENT_ID__=V_e}return t})();function V_e(){let t=sr();return kq(t,Dt())}var B_e=Kt,Mq=class extends B_e{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Sg(this._hostTNode,this._hostLView)}get injector(){return new Km(this._hostTNode,this._hostLView)}get parentInjector(){let n=Q1(this._hostTNode,this._hostLView);if(s4(n)){let e=ZS(n,this._hostLView),i=QS(n),r=e[xt].data[i+8];return new Km(r,e)}else return new Km(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=UG(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-vr}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=tw(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,vg(this._hostTNode,a)),s}createComponent(n,e,i,r,o,a,s){let l=n&&!the(n),c;if(l)c=e;else{let _=e||{};c=_.index,i=_.injector,r=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef,a=_.directives,s=_.bindings}let d=l?n:new yg(yu(n)),u=i||this.parentInjector;if(!o&&d.ngModule==null){let v=(l?u:this.parentInjector).get(Mi,null);v&&(o=v)}let m=yu(d.componentType??{}),f=tw(this._lContainer,m?.id??null),p=f?.firstChild??null,g=d.create(u,r,p,o,a,s);return this.insertImpl(g.hostView,c,vg(this._hostTNode,f)),g}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(iG(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[ar],c=new Mq(l,l[Zr],l[ar]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return Ib(a,r,o,i),n.attachToViewContainerRef(),fP(XP(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=UG(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=vb(this._lContainer,e);i&&(nb(XP(this._lContainer),e),hw(i[xt],i))}detach(n){let e=this._adjustIndex(n,-1),i=vb(this._lContainer,e);return i&&nb(XP(this._lContainer),e)!=null?new wu(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function UG(t){return t[ab]}function XP(t){return t[ab]||(t[ab]=[])}function kq(t,n){let e,i=n[t.index];return nl(i)?e=i:(e=mq(i,n,null,t),n[t.index]=e,pN(n,e)),U_e(e,n,t,i),new Mq(e,t,n)}function j_e(t,n){let e=t[Bn],i=e.createComment(""),r=cs(n,t),o=e.parentNode(r);return _g(e,o,i,e.nextSibling(r),!1),i}var U_e=$_e,z_e=()=>!1;function H_e(t,n,e){return z_e(t,n,e)}function $_e(t,n,e,i){if(t[Cu])return;let r;e.type&8?r=Ia(i):r=j_e(n,e),t[Cu]=r}var k1=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},R1=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let a=e.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)NN(n,e).matches!==null&&this.queries[e].setDirty()}},rw=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=K_e(n):this.predicate=n}},P1=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},N1=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,G_e(e,o)),this.matchTNodeWithReadOption(n,e,YS(e,n,o,!1,!1))}else i===kn?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,YS(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===Te||r===Kt||r===kn&&e.type&4)this.addMatch(e.index,-2);else{let o=YS(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function G_e(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function q_e(t,n){return t.type&11?Sg(t,n):t.type&4?yw(t,n):null}function Y_e(t,n,e,i){return e===-1?q_e(n,t):e===-2?W_e(t,n,i):gb(t,t[xt],e,n)}function W_e(t,n,e){if(e===Te)return Sg(n,t);if(e===kn)return yw(n,t);if(e===Kt)return kq(n,t)}function Rq(t,n,e,i){let r=n[Hl].queries[i];if(r.matches===null){let o=t.data,a=e.matches,s=[];for(let l=0;a!==null&&l<a.length;l+=2){let c=a[l];if(c<0)s.push(null);else{let d=o[c];s.push(Y_e(n,d,a[l+1],e.metadata.read))}}r.matches=s}return r.matches}function O1(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=Rq(t,n,r,e);for(let s=0;s<o.length;s+=2){let l=o[s];if(l>0)i.push(a[s/2]);else{let c=o[s+1],d=n[-l];for(let u=vr;u<d.length;u++){let m=d[u];m[bu]===m[ar]&&O1(m[xt],m,c,i)}if(d[$m]!==null){let u=d[$m];for(let m=0;m<u.length;m++){let f=u[m];O1(f[xt],f,c,i)}}}}}return i}function PN(t,n){return t[Hl].queries[n].queryList}function Pq(t,n,e){let i=new Aa((e&4)===4);return aG(t,n,i,i.destroy),(n[Hl]??=new R1).queries.push(new k1(i))-1}function Nq(t,n,e){let i=Zn();return i.firstCreatePass&&(Fq(i,new rw(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),Pq(i,Dt(),n)}function Oq(t,n,e,i){let r=Zn();if(r.firstCreatePass){let o=sr();Fq(r,new rw(n,e,i),o.index),X_e(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return Pq(r,Dt(),e)}function K_e(t){return t.split(",").map(n=>n.trim())}function Fq(t,n,e){t.queries===null&&(t.queries=new P1),t.queries.track(new N1(n,e))}function X_e(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function NN(t,n){return t.queries.getByIndex(n)}function Lq(t,n){let e=t[xt],i=NN(e,n);return i.crossesNgTemplate?O1(e,t,n,[]):Rq(e,t,i,n)}function Vq(t,n,e){let i,r=zy(()=>{i._dirtyCounter();let o=Q_e(i,t);if(n&&o===void 0)throw new Pe(-951,!1);return o});return i=r[or],i._dirtyCounter=Be(0),i._flatValue=void 0,r}function ON(t){return Vq(!0,!1,t)}function FN(t){return Vq(!0,!0,t)}function Bq(t,n){let e=t[or];e._lView=Dt(),e._queryIndex=n,e._queryList=PN(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function Q_e(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Mt]&4)return n?void 0:Fr;let r=PN(e,i),o=Lq(e,i);return r.reset(o,g4),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var zG=new Set;function Xl(t){zG.has(t)||(zG.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var xu=class{};var yb=class extends xu{injector;componentFactoryResolver=new M1(this);instance=null;constructor(n){super();let e=new Om([...n.providers,{provide:xu,useValue:this},{provide:ad,useValue:this.componentFactoryResolver}],n.parent||tg(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function jq(t,n,e=null){return new yb({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var Z_e=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=gP(!1,e.type),r=i.length>0?jq([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=pe({token:t,providedIn:"environment",factory:()=>new t(bt(Mi))})}return t})();function K(t){return Dg(()=>{let n=Uq(t),e=Fe(G({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===J1.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(Z_e).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||nd.Emulated,styles:t.styles||Fr,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Xl("NgStandalone"),zq(e);let i=t.dependencies;return e.directiveDefs=HG(i,J_e),e.pipeDefs=HG(i,Y3),e.id=nve(e),e})}function J_e(t){return yu(t)||hP(t)}function nt(t){return Dg(()=>({type:t.type,bootstrap:t.bootstrap||Fr,declarations:t.declarations||Fr,imports:t.imports||Fr,exports:t.exports||Fr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function eve(t,n){if(t==null)return vu;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=pw.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function tve(t){if(t==null)return vu;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function ue(t){return Dg(()=>{let n=Uq(t);return zq(n),n})}function sd(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Uq(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||vu,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Fr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:eve(t.inputs,n),outputs:tve(t.outputs),debugInfo:null}}function zq(t){t.features?.forEach(n=>n(t))}function HG(t,n){return t?()=>{let e=typeof t=="function"?t():t,i=[];for(let r of e){let o=n(r);o!==null&&i.push(o)}return i}:null}function nve(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function ive(t){return Object.getPrototypeOf(t.prototype).constructor}function Oe(t){let n=ive(t.type),e=!0,i=[t];for(;n;){let r;if(Gl(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Pe(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let a=t;a.inputs=QP(t.inputs),a.declaredInputs=QP(t.declaredInputs),a.outputs=QP(t.outputs);let s=r.hostBindings;s&&lve(t,s);let l=r.viewQuery,c=r.contentQueries;if(l&&ave(t,l),c&&sve(t,c),rve(t,r),L3(t.outputs,r.outputs),Gl(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===Oe&&(e=!1)}}n=Object.getPrototypeOf(n)}ove(i)}function rve(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function ove(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=hg(r.hostAttrs,e=hg(e,r.hostAttrs))}}function QP(t){return t===vu?{}:t===Fr?[]:t}function ave(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function sve(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function lve(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function Hq(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=hg(t.mergedAttrs,t.attrs);let d=t.tView=fN(2,t,r,o,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}s&&(t.flags|=s),ed(t,!1);let l=dve(e,n,t,i);ub()&&_N(e,n,l,t),gg(l,n);let c=mq(l,n,l,t);n[i+Wn]=c,pN(n,c),H_e(c,t,n)}function cve(t,n,e,i,r,o,a,s,l,c,d){let u=e+Wn,m;return n.firstCreatePass?(m=xg(n,u,4,a||null,s||null),PS()&&wq(n,t,m,Qo(n.consts,c),yN),r4(n,m)):m=n.data[u],Hq(m,t,n,e,i,r,o,l),rg(m)&&_w(n,t,m),c!=null&&xb(t,m,d),m}function bg(t,n,e,i,r,o,a,s,l,c,d){let u=e+Wn,m;if(n.firstCreatePass){if(m=xg(n,u,4,a||null,s||null),c!=null){let f=Qo(n.consts,c);m.localNames=[];for(let p=0;p<f.length;p+=2)m.localNames.push(f[p],-1)}}else m=n.data[u];return Hq(m,t,n,e,i,r,o,l),c!=null&&xb(t,m,d),m}function Je(t,n,e,i,r,o,a,s){let l=Dt(),c=Zn(),d=Qo(c.consts,o);return cve(l,c,t,n,e,i,r,d,void 0,a,s),Je}function sl(t,n,e,i,r,o,a,s){let l=Dt(),c=Zn(),d=Qo(c.consts,o);return bg(l,c,t,n,e,i,r,d,void 0,a,s),sl}var dve=uve;function uve(t,n,e,i){return ug(!0),n[Bn].createComment("")}var Ew=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Ew||{}),Mu=new te(""),$q=!1,F1=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,J3()&&(this.destroyRef=h(wo,{optional:!0})??void 0,this.pendingTasks=h(Ym,{optional:!0})??void 0)}emit(n){let e=Pt(null);try{super.next(n)}finally{Pt(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),a=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:r,error:o,complete:a});return n instanceof tt&&n.add(s),s}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},re=F1;function Gq(t){let n,e;function i(){t=Wm;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function $G(t){return queueMicrotask(()=>t()),()=>{t=Wm}}var LN="isAngularZone",ow=LN+"_ID",fve=0,Ne=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new re(!1);onMicrotaskEmpty=new re(!1);onStable=new re(!1);onError=new re(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=$q}=n;if(typeof Zone>"u")throw new Pe(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,hve(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(LN)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new Pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new Pe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,mve,Wm,Wm);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},mve={};function VN(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function pve(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){Gq(()=>{t.callbackScheduled=!1,L1(t),t.isCheckStableRunning=!0,VN(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),L1(t)}function hve(t){let n=()=>{pve(t)},e=fve++;t._inner=t._inner.fork({name:"angular",properties:{[LN]:!0,[ow]:e,[ow+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(gve(l))return i.invokeTask(o,a,s,l);try{return GG(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),qG(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return GG(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!_ve(l)&&n(),qG(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,L1(t),VN(t)):a.change=="macroTask"&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}function L1(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function GG(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function qG(t){t._nesting--,VN(t)}var bb=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new re;onMicrotaskEmpty=new re;onStable=new re;onError=new re;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};function gve(t){return qq(t,"__ignore_ng_zone__")}function _ve(t){return qq(t,"__scheduler_tick__")}function qq(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Sw=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:t,providedIn:"root",factory:()=>new t})}return t})(),BN=[0,1,2,3],jN=(()=>{class t{ngZone=h(Ne);scheduler=h(Xo);errorHandler=h(qi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(Mu,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Un(16),this.executing=!0;for(let i of BN)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Un(17)}register(e){let{view:i}=e;i!==void 0?((i[Hm]??=[]).push(e),Du(i),i[Mt]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(Ew.AFTER_NEXT_RENDER,e):e()}static \u0275prov=pe({token:t,providedIn:"root",factory:()=>new t})}return t})(),Cb=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,a=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Hm];n&&(this.view[Hm]=n.filter(e=>e!==this))}};function jn(t,n){let e=n?.injector??h(ft);return Xl("NgAfterNextRender"),yve(t,e,n,!0)}function vve(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function yve(t,n,e,i){let r=n.get(Sw);r.impl??=n.get(jN);let o=n.get(Mu,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(wo):null,s=n.get(qm,null,{optional:!0}),l=new Cb(r.impl,vve(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}var UN=new te("");function Jm(t){return!!t&&typeof t.then=="function"}function ww(t){return!!t&&typeof t.subscribe=="function"}var Yq=new te("");var zN=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=h(Yq,{optional:!0})??[];injector=h(ft);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=rb(this.injector,r);if(Jm(o))e.push(o);else if(ww(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wq=new te("");function Kq(){TR(()=>{let t="";throw new Pe(600,t)})}function Xq(t){return t.isBoundToModule}var bve=10;var Zo=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(il);afterRenderManager=h(Sw);zonelessEnabled=h(fg);rootEffectScheduler=h(fb);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new _e;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(Ym);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Gt(e=>!e))}constructor(){h(Mu,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=h(Mi);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=ft.NULL){return this._injector.get(Ne).run(()=>{Un(10);let a=e instanceof bw;if(!this._injector.get(zN).done){let p="";throw new Pe(405,p)}let l;a?l=e:l=this._injector.get(ad).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=Xq(l)?void 0:this._injector.get(xu),d=i||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,f=u.injector.get(UN,null);return f?.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),pb(this.components,u),f?.unregisterApplication(m)}),this._loadComponent(u),Un(11,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Un(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ew.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Pe(101,!1);let e=Pt(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Pt(e),this.afterTick.next(),Un(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ci,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<bve;)Un(14),this.synchronizeOnce(),Un(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!ag(r))continue;let o=i&&!this.zonelessEnabled?0:1;EN(r,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>ag(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;pb(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Wq,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>pb(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Pe(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pb(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var ZP="aria";function xw(t,n){let e=Dt(),i=ql();if(xo(e,i,n)){let r=Zn(),o=dg();if(vw(o,r,e,t,n))Jc(o)&&nq(e,o.index);else{let s=cs(o,e),l=Cve(t);iq(e[Bn],s,null,o.value,l,n,null)}}return xw}function Cve(t){return t.charAt(ZP.length)!=="-"?ZP+"-"+t.slice(ZP.length).toLowerCase():t}function Ge(t,n,e,i){let r=Dt(),o=ql();if(xo(r,o,n)){let a=Zn(),s=dg();Mge(s,r,t,n,e,i)}return Ge}var HN=new te("",{providedIn:"root",factory:()=>!1}),$N=new te("",{providedIn:"root",factory:()=>Dve}),Dve=4e3;var est=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var V1=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};function JP(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function Eve(t,n,e){let i,r,o=0,a=t.length-1,s=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=a&&o<=l;){let c=t.at(o),d=n[o],u=JP(o,c,o,d,e);if(u!==0){u<0&&t.updateValue(o,d),o++;continue}let m=t.at(a),f=n[l],p=JP(a,m,l,f,e);if(p!==0){p<0&&t.updateValue(a,f),a--,l--;continue}let g=e(o,c),_=e(a,m),v=e(o,d);if(Object.is(v,_)){let D=e(l,f);Object.is(D,g)?(t.swap(o,a),t.updateValue(a,f),l--,a--):t.move(a,o),t.updateValue(o,d),o++;continue}if(i??=new aw,r??=WG(t,o,a,e),B1(t,i,o,v))t.updateValue(o,d),o++,a++;else if(r.has(v))i.set(g,t.detach(o)),a--;else{let D=t.create(o,n[o]);t.attach(o,D),o++,a++}}for(;o<=l;)YG(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=a;){let d=t.at(o),u=c.value,m=JP(o,d,o,u,e);if(m!==0)m<0&&t.updateValue(o,u),o++,c=l.next();else{i??=new aw,r??=WG(t,o,a,e);let f=e(o,u);if(B1(t,i,o,f))t.updateValue(o,u),o++,a++,c=l.next();else if(!r.has(f))t.attach(o,t.create(o,u)),o++,a++,c=l.next();else{let p=e(o,d);i.set(p,t.detach(o)),a--}}}for(;!c.done;)YG(t,i,e,t.length,c.value),c=l.next()}for(;o<=a;)t.destroy(t.detach(a--));i?.forEach(l=>{t.destroy(l)})}function B1(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function YG(t,n,e,i,r){if(B1(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function WG(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}var aw=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};function We(t,n,e,i,r,o,a,s){Xl("NgControlFlow");let l=Dt(),c=Zn(),d=Qo(c.consts,o);return bg(l,c,t,n,e,i,r,d,256,a,s),GN}function GN(t,n,e,i,r,o,a,s){Xl("NgControlFlow");let l=Dt(),c=Zn(),d=Qo(c.consts,o);return bg(l,c,t,n,e,i,r,d,512,a,s),GN}function Ke(t,n){Xl("NgControlFlow");let e=Dt(),i=ql(),r=e[i]!==to?e[i]:-1,o=r!==-1?sw(e,Wn+r):void 0,a=0;if(xo(e,i,t)){let s=Pt(null);try{if(o!==void 0&&hq(o,a),t!==-1){let l=Wn+t,c=sw(e,l),d=H1(e[xt],l),u=Dq(c,d,e),m=Tb(e,d,n,{dehydratedView:u});Ib(c,m,a,vg(d,u))}}finally{Pt(s)}}else if(o!==void 0){let s=pq(o,a);s!==void 0&&(s[ki]=n)}}var j1=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-vr}};function Ab(t){return t}function Tw(t,n){return n}var U1=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function us(t,n,e,i,r,o,a,s,l,c,d,u,m){Xl("NgControlFlow");let f=Dt(),p=Zn(),g=l!==void 0,_=Dt(),v=s?a.bind(_[Jr][ki]):a,D=new U1(g,v);_[Wn+t]=D,bg(f,p,t+1,n,e,i,r,Qo(p.consts,o),256),g&&bg(f,p,t+2,l,c,d,u,Qo(p.consts,m),512)}var z1=class extends V1{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-vr}at(n){return this.getLView(n)[ki].$implicit}attach(n,e){let i=e[Bm];this.needsIndexUpdate||=n!==this.length,Ib(this.lContainer,e,n,vg(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Sve(this.lContainer,n)}create(n,e){let i=tw(this.lContainer,this.templateTNode.tView.ssrId),r=Tb(this.hostLView,this.templateTNode,new j1(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){hw(n[xt],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ki].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ki].$index=n}getLView(n){return wve(this.lContainer,n)}};function fs(t){let n=Pt(null),e=Yl();try{let i=Dt(),r=i[xt],o=i[e],a=e+1,s=sw(i,a);if(o.liveCollection===void 0){let c=H1(r,a);o.liveCollection=new z1(s,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(Eve(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=ql(),d=l.length===0;if(xo(i,c,d)){let u=e+2,m=sw(i,u);if(d){let f=H1(r,u),p=Dq(m,f,i),g=Tb(i,f,void 0,{dehydratedView:p});Ib(m,g,0,vg(f,p))}else r.firstUpdatePass&&u_e(m),hq(m,0)}}}finally{Pt(n)}}function sw(t,n){return t[n]}function Sve(t,n){return vb(t,n)}function wve(t,n){return pq(t,n)}function H1(t,n){return sb(t,n)}function V(t,n,e){let i=Dt(),r=ql();if(xo(i,r,n)){let o=Zn(),a=dg();eq(a,i,t,n,i[Bn],e)}return V}function $1(t,n,e,i,r){vw(n,t,e,r?"class":"style",i)}function C(t,n,e,i){let r=Dt(),o=r[xt],a=t+Wn,s=o.firstCreatePass?AN(a,r,2,n,yN,PS(),e,i):o.data[a];if(bN(s,r,t,n,Qq),rg(s)){let l=r[xt];_w(l,r,s),nN(l,s,r)}return i!=null&&xb(r,s),C}function x(){let t=Zn(),n=sr(),e=CN(n);return t.firstCreatePass&&MN(t,e),RP(e)&&PP(),MP(),e.classesWithoutHost!=null&&she(e)&&$1(t,e,Dt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&lhe(e)&&$1(t,e,Dt(),e.stylesWithoutHost,!1),x}function je(t,n,e,i){return C(t,n,e,i),x(),je}function lr(t,n,e,i){let r=Dt(),o=r[xt],a=t+Wn,s=o.firstCreatePass?w_e(a,o,2,n,e,i):o.data[a];return bN(s,r,t,n,Qq),i!=null&&xb(r,s),lr}function yr(){let t=sr(),n=CN(t);return RP(n)&&PP(),MP(),yr}function no(t,n,e,i){return lr(t,n,e,i),yr(),no}var Qq=(t,n,e,i,r)=>(ug(!0),uN(n[Bn],i,bG()));function br(t,n,e){let i=Dt(),r=i[xt],o=t+Wn,a=r.firstCreatePass?AN(o,i,8,"ng-container",yN,PS(),n,e):r.data[o];if(bN(a,i,t,"ng-container",xve),rg(a)){let s=i[xt];_w(s,i,a),nN(s,a,i)}return e!=null&&xb(i,a),br}function Cr(){let t=Zn(),n=sr(),e=CN(n);return t.firstCreatePass&&MN(t,e),Cr}function io(t,n,e){return br(t,n,e),Cr(),io}var xve=(t,n,e,i,r)=>(ug(!0),V4(n[Bn],""));function lt(){return Dt()}function Lr(t,n,e){let i=Dt(),r=ql();if(xo(i,r,n)){let o=Zn(),a=dg();tq(a,i,t,n,i[Bn],e)}return Lr}var Mb="en-US";var Tve={marker:"element"},Ive={marker:"ICU"},td=(function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t})(td||{}),Ave=Mb;function Zq(t){typeof t=="string"&&(Ave=t.toLowerCase().replace(/_/g,"-"))}function Mve(t,n,e){let i=t[Bn];switch(e){case Node.COMMENT_NODE:return V4(i,n);case Node.TEXT_NODE:return L4(i,n);case Node.ELEMENT_NODE:return uN(i,n,null)}}var kve=(t,n,e,i)=>(ug(!0),Mve(t,e,i));function Rve(t,n,e,i){let r=t[Bn];for(let o=0;o<n.length;o++){let a=n[o++],s=n[o],l=(a&td.COMMENT)===td.COMMENT,c=(a&td.APPEND_EAGERLY)===td.APPEND_EAGERLY,d=a>>>td.SHIFT,u=t[d],m=!1;u===null&&(u=t[d]=kve(t,d,s,l?Node.COMMENT_NODE:Node.TEXT_NODE),m=ub()),c&&e!==null&&m&&_g(r,e,u,i,!1)}}var lw=/�(\d+):?\d*�/gi;var Pve=/�(\d+)�/,Jq=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,hb="\uFFFD",Nve=/�\/?\*(\d+:\d+)�/gi,Ove=/�(\/?[#*]\d+):?\d*�/gi,Fve=/\uE500/g;function Lve(t){return t.replace(Fve," ")}function Vve(t,n,e,i,r,o){let a=sg(),s=[],l=[],c=[[]],d=[[]];r=jve(r,o);let u=Lve(r).split(Ove);for(let m=0;m<u.length;m++){let f=u[m];if((m&1)===0){let p=G1(f);for(let g=0;g<p.length;g++){let _=p[g];if((g&1)===0){let v=_;v!==""&&Bve(d[0],t,a,c[0],s,l,e,v)}else{let v=_;if(typeof v!="object")throw new Error(`Unable to parse ICU expression in "${r}" message.`);let O=e5(t,a,c[0],e,s,"",!0).index;n5(d[0],t,e,l,n,v,O)}}}else{let p=f.charCodeAt(0)===47,g=f.charCodeAt(p?1:0),_=Wn+Number.parseInt(f.substring(p?2:1));if(p)c.shift(),d.shift(),ed(sg(),!1);else{let v=r_e(t,c[0],_);c.unshift([]),ed(v,!0);let D={kind:2,index:_,children:[],type:g===35?0:1};d[0].push(D),d.unshift(D.children)}}}t.data[i]={create:s,update:l,ast:d[0],parentTNodeIndex:n}}function e5(t,n,e,i,r,o,a){let s=wb(t,i,1,null),l=s<<td.SHIFT,c=sg();n===c&&(c=null),c===null&&(l|=td.APPEND_EAGERLY),a&&(l|=td.COMMENT,pge(l_e)),r.push(l,o===null?"":o);let d=TN(t,s,a?32:1,o===null?"":o,null);yq(e,d);let u=d.index;return ed(d,!1),c!==null&&n!==c&&i_e(c,u),d}function Bve(t,n,e,i,r,o,a,s){let l=s.match(lw),d=e5(n,e,i,a,r,l?null:s,!1).index;l&&KS(o,s,d,null,0,null),t.push({kind:0,index:d})}function KS(t,n,e,i,r,o){let a=t.length,s=a+1;t.push(null,null);let l=a+2,c=n.split(lw),d=0;for(let u=0;u<c.length;u++){let m=c[u];if(u&1){let f=r+parseInt(m,10);t.push(-1-f),d=d|t5(f)}else m!==""&&t.push(m)}return t.push(e<<2|(i?1:0)),i&&t.push(i,o),t[a]=d,t[s]=t.length-l,d}function t5(t){return 1<<Math.min(t,31)}function KG(t){let n,e="",i=0,r=!1,o;for(;(n=Nve.exec(t))!==null;)r?n[0]===`${hb}/*${o}${hb}`&&(i=n.index,r=!1):(e+=t.substring(i,n.index+n[0].length),o=n[1],r=!0);return e+=t.slice(i),e}function jve(t,n){if(s_e(n))return KG(t);{let e=t.indexOf(`:${n}${hb}`)+2+n.toString().length,i=t.search(new RegExp(`${hb}\\/\\*\\d+:${n}${hb}`));return KG(t.substring(e,i))}}function n5(t,n,e,i,r,o,a){let s=0,l={type:o.type,currentCaseLViewIndex:wb(n,e,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};$ve(i,o,a),n_e(n,a,l);let c=o.values,d=[];for(let u=0;u<c.length;u++){let m=c[u],f=[];for(let g=0;g<m.length;g++){let _=m[g];if(typeof _!="string"){let v=f.push(_)-1;m[g]=`<!--\uFFFD${v}\uFFFD-->`}}let p=[];d.push(p),s=zve(p,n,l,e,i,r,o.cases[u],m.join(""),f)|s}s&&Gve(i,s,a),t.push({kind:3,index:a,cases:d,currentCaseLViewIndex:l.currentCaseLViewIndex})}function Uve(t){let n=[],e=[],i=1,r=0;t=t.replace(Jq,function(a,s,l){return l==="select"?i=0:i=1,r=parseInt(s.slice(1),10),""});let o=G1(t);for(let a=0;a<o.length;){let s=o[a++].trim();i===1&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&n.push(s);let l=G1(o[a++]);n.length>e.length&&e.push(l)}return{type:i,mainBinding:r,cases:n,values:e}}function G1(t){if(!t)return[];let n=0,e=[],i=[],r=/[{}]/g;r.lastIndex=0;let o;for(;o=r.exec(t);){let s=o.index;if(o[0]=="}"){if(e.pop(),e.length==0){let l=t.substring(n,s);Jq.test(l)?i.push(Uve(l)):i.push(l),n=s+1}}else{if(e.length==0){let l=t.substring(n,s);i.push(l),n=s+1}e.push("{")}}let a=t.substring(n);return i.push(a),i}function zve(t,n,e,i,r,o,a,s,l){let c=[],d=[],u=[];e.cases.push(a),e.create.push(c),e.remove.push(d),e.update.push(u);let f=A4(tN()).getInertBodyElement(s),p=b1(f)||f;return p?i5(t,n,e,i,r,c,d,u,p,o,l,0):0}function i5(t,n,e,i,r,o,a,s,l,c,d,u){let m=0,f=l.firstChild;for(;f;){let p=wb(n,i,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,_=g.tagName.toLowerCase();if(v1.hasOwnProperty(_)){e1(o,Tve,_,c,p),n.data[p]=_;let B=g.attributes;for(let W=0;W<B.length;W++){let j=B.item(W),k=j.name.toLowerCase();!!j.value.match(lw)?P4.hasOwnProperty(k)&&(lN[k]?KS(s,j.value,p,j.name,0,Eb):KS(s,j.value,p,j.name,0,null)):qve(o,p,j)}let F={kind:1,index:p,children:[]};t.push(F),m=i5(F.children,n,e,i,r,o,a,s,f,p,d,u+1)|m,XG(a,p,u)}break;case Node.TEXT_NODE:let v=f.textContent||"",D=v.match(lw);e1(o,null,D?"":v,c,p),XG(a,p,u),D&&(m=KS(s,v,p,null,0,null)|m),t.push({kind:0,index:p});break;case Node.COMMENT_NODE:let O=Pve.exec(f.textContent||"");if(O){let B=parseInt(O[1],10),F=d[B];e1(o,Ive,"",c,p),n5(t,n,i,r,c,F,p),Hve(a,p,u)}break}f=f.nextSibling}return m}function XG(t,n,e){e===0&&t.push(n)}function Hve(t,n,e){e===0&&(t.push(~n),t.push(n))}function $ve(t,n,e){t.push(t5(n.mainBinding),2,-1-n.mainBinding,e<<2|2)}function Gve(t,n,e){t.push(n,1,e<<2|3)}function e1(t,n,e,i,r){n!==null&&t.push(n),t.push(e,r,a_e(0,i,r))}function qve(t,n,e){t.push(n<<1|1,e.name,e.value)}function r5(t,n,e=-1){let i=Zn(),r=Dt(),o=Wn+t,a=Qo(i.consts,n),s=sg();if(i.firstCreatePass&&Vve(i,s===null?0:s.index,r,o,a,e),i.type===2){let m=r[Jr];m[Mt]|=32}else r[Mt]|=32;let l=i.data[o],c=s===r[Zr]?null:s,d=q4(i,c,r),u=s&&s.type&8?r[s.index]:null;d_e(r,o,s,e),Rve(r,l.create,d,u),BP(!0)}function o5(){BP(!1)}function ld(t,n,e){r5(t,n,e),o5()}function ae(t,n,e){let i=Dt(),r=Zn(),o=sr();return a5(r,i,i[Bn],o,t,n,e),ae}function a5(t,n,e,i,r,o,a){let s=!0,l=null;if((i.type&3||a)&&(l??=KP(i,n,o),I_e(i,t,n,a,e,r,o,l)&&(s=!1)),s){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let u=0;u<d.length;u+=2){let m=d[u],f=d[u+1];l??=KP(i,n,o),BG(i,n,m,f,r,l)}if(c&&c.length)for(let u of c)l??=KP(i,n,o),BG(i,n,u,r,r,l)}}function U(t=1){return yG(t)}function Yve(t,n){let e=null,i=tge(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?F4(t,o,!0):rge(i,o))return r}return e}function Et(t){let n=Dt()[Jr][Zr];if(!n.projection){let e=t?t.length:1,i=n.projection=G3(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?Yve(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function Ve(t,n=0,e,i,r,o){let a=Dt(),s=Zn(),l=i?t+1:null;l!==null&&bg(a,s,l,i,r,o,null,e);let c=xg(s,Wn+t,16,null,e||null);c.projection===null&&(c.projection=n),FP();let u=!a[Bm]||kP();a[Jr][Zr].projection[c.projection]===null&&l!==null?Wve(a,s,l):u&&!fw(c)&&bge(s,a,c)}function Wve(t,n,e){let i=Wn+e,r=n.data[i],o=t[i],a=tw(o,r.tView.ssrId),s=Tb(t,r,void 0,{dehydratedView:a});Ib(o,s,0,vg(r,a))}function Ft(t,n,e,i){Oq(t,n,e,i)}function Qe(t,n,e){Nq(t,n,e)}function be(t){let n=Dt(),e=Zn(),i=FS();db(i+1);let r=NN(e,i);if(t.dirty&&nG(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=Lq(n,i);t.reset(o,g4),t.notifyOnChanges()}return!0}return!1}function Ce(){return PN(Dt(),FS())}function qN(t,n,e,i,r){Bq(n,Oq(t,e,i,r))}function Tg(t,n,e,i){Bq(t,Nq(n,e,i))}function Iw(t=1){db(FS()+t)}function cr(t){let n=cG();return lb(n,Wn+t)}function $S(t,n){return t<<17|n<<2}function Qm(t){return t>>17&32767}function Kve(t){return(t&2)==2}function Xve(t,n){return t&131071|n<<17}function q1(t){return t|2}function Cg(t){return(t&131068)>>2}function t1(t,n){return t&-131069|n<<2}function Qve(t){return(t&1)===1}function Y1(t){return t|1}function Zve(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=Qm(a),l=Cg(a);t[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||eg(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=Qm(t[s+1]);t[i+1]=$S(m,s),m!==0&&(t[m+1]=t1(t[m+1],i)),t[s+1]=Xve(t[s+1],i)}else t[i+1]=$S(s,0),s!==0&&(t[s+1]=t1(t[s+1],i)),s=i;else t[i+1]=$S(l,0),s===0?s=i:t[l+1]=t1(t[l+1],i),l=i;c&&(t[i+1]=q1(t[i+1])),QG(t,d,i,!0),QG(t,d,i,!1),Jve(n,d,t,i,o),a=$S(s,l),o?n.classBindings=a:n.styleBindings=a}function Jve(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&eg(o,n)>=0&&(e[i+1]=Y1(e[i+1]))}function QG(t,n,e,i){let r=t[e+1],o=n===null,a=i?Qm(r):Cg(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];eye(l,n)&&(s=!0,t[a+1]=i?Y1(c):q1(c)),a=i?Qm(c):Cg(c)}s&&(t[e+1]=i?q1(r):Y1(r))}function eye(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?eg(t,n)>=0:!1}var ol={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function tye(t){return t.substring(ol.key,ol.keyEnd)}function nye(t){return iye(t),s5(t,l5(t,0,ol.textEnd))}function s5(t,n){let e=ol.textEnd;return e===n?-1:(n=ol.keyEnd=rye(t,ol.key=n,e),l5(t,n,e))}function iye(t){ol.key=0,ol.keyEnd=0,ol.value=0,ol.valueEnd=0,ol.textEnd=t.length}function l5(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function rye(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function zn(t,n,e){return c5(t,n,e,!1),zn}function De(t,n){return c5(t,n,null,!0),De}function di(t){aye(fye,oye,t,!0)}function oye(t,n){for(let e=nye(n);e>=0;e=s5(n,e))TS(t,tye(n),!0)}function c5(t,n,e,i){let r=Dt(),o=Zn(),a=NS(2);if(o.firstUpdatePass&&u5(o,t,a,i),n!==to&&xo(r,a,n)){let s=o.data[Yl()];f5(o,s,r,r[Bn],t,r[a+1]=pye(n,e),i,a)}}function aye(t,n,e,i){let r=Zn(),o=NS(2);r.firstUpdatePass&&u5(r,null,o,i);let a=Dt();if(e!==to&&xo(a,o,e)){let s=r.data[Yl()];if(m5(s,i)&&!d5(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=CS(l,e||"")),$1(r,s,a,e,i)}else mye(r,s,a,a[Bn],a[o+1],a[o+1]=uye(t,n,e),i,o)}}function d5(t,n){return n>=t.expandoStartIndex}function u5(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Yl()],a=d5(t,e);m5(o,i)&&n===null&&!a&&(n=!1),n=sye(r,o,n,i),Zve(r,o,n,e,a,i)}}function sye(t,n,e,i){let r=hG(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=n1(null,t,n,e,i),e=Db(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=n1(r,t,n,e,i),o===null){let l=lye(t,n,i);l!==void 0&&Array.isArray(l)&&(l=n1(null,t,n,l[1],i),l=Db(l,n.attrs,i),cye(t,n,i,l))}else o=dye(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function lye(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Cg(i)!==0)return t[Qm(i)]}function cye(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[Qm(r)]=i}function dye(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=Db(i,a,e)}return Db(i,n.attrs,e)}function n1(t,n,e,i,r){let o=null,a=e.directiveEnd,s=e.directiveStylingLast;for(s===-1?s=e.directiveStart:s++;s<a&&(o=n[s],i=Db(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function Db(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let a=n[o];typeof a=="number"?r=a:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),TS(t,a,e?!0:n[++o]))}return t===void 0?null:t}function uye(t,n,e){if(e==null||e==="")return Fr;let i=[],r=rd(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function fye(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&TS(t,i,e)}function mye(t,n,e,i,r,o,a,s){r===to&&(r=Fr);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let m=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,p=null,g;d===u?(l+=2,c+=2,m!==f&&(p=u,g=f)):u===null||d!==null&&d<u?(l+=2,p=d):(c+=2,p=u,g=f),p!==null&&f5(t,n,e,i,p,g,a,s),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function f5(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let l=t.data,c=l[s+1],d=Qve(c)?ZG(l,n,e,r,Cg(c),a):void 0;if(!cw(d)){cw(o)||Kve(c)&&(o=ZG(l,null,e,r,s,a));let u=SP(Yl(),e);Dge(i,a,u,r,o)}}function ZG(t,n,e,i,r,o){let a=n===null,s;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=e[r+1];m===to&&(m=u?Fr:void 0);let f=u?IS(m,i):d===i?m:void 0;if(c&&!cw(f)&&(f=IS(l,i)),cw(f)&&(s=f,a))return s;let p=t[r+1];r=a?Qm(p):Cg(p)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=IS(l,i))}return s}function cw(t){return t!==void 0}function pye(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=hu(rd(t)))),t}function m5(t,n){return(t.flags&(n?8:16))!==0}function J(t,n=""){let e=Dt(),i=Zn(),r=t+Wn,o=i.firstCreatePass?xg(i,r,1,n,null):i.data[r],a=hye(i,e,o,n,t);e[r]=a,ub()&&_N(i,e,a,o),ed(o,!1)}var hye=(t,n,e,i,r)=>(ug(!0),L4(n[Bn],i));function p5(t,n,e,i=""){return xo(t,ql(),e)?n+Lm(e)+i:to}function gye(t,n,e,i,r,o=""){let a=dG(),s=RN(t,a,e,r);return NS(2),s?n+Lm(e)+i+Lm(r)+o:to}function Se(t){return ni("",t),Se}function ni(t,n,e){let i=Dt(),r=p5(i,t,n,e);return r!==to&&h5(i,Yl(),r),ni}function kb(t,n,e,i,r){let o=Dt(),a=gye(o,t,n,e,i,r);return a!==to&&h5(o,Yl(),a),kb}function h5(t,n,e){let i=SP(n,t);lge(t[Bn],i,e)}function Ig(t,n,e){$P(n)&&(n=n());let i=Dt(),r=ql();if(xo(i,r,n)){let o=Zn(),a=dg();eq(a,i,t,n,i[Bn],e)}return Ig}function Rb(t,n){let e=$P(t);return e&&t.set(n),e}function Ag(t,n){let e=Dt(),i=Zn(),r=sr();return a5(i,e,e[Bn],r,t,n),Ag}function ms(t){return xo(Dt(),ql(),t)?Lm(t):to}function YN(t,n,e=""){return p5(Dt(),t,n,e)}function _ye(t,n,e){let i=Zn();if(i.firstCreatePass){let r=Gl(t);W1(e,i.data,i.blueprint,r,!0),W1(n,i.data,i.blueprint,r,!1)}}function W1(t,n,e,i,r){if(t=Or(t),Array.isArray(t))for(let o=0;o<t.length;o++)W1(t[o],n,e,i,r);else{let o=Zn(),a=Dt(),s=sr(),l=Nm(t)?t:Or(t.provide),c=vP(t),d=s.providerIndexes&1048575,u=s.directiveStart,m=s.providerIndexes>>20;if(Nm(t)||!t.multi){let f=new Xm(c,r,He,null),p=r1(l,n,r?d:d+m,u);p===-1?(a1(ew(s,a),o,l),i1(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(f),a.push(f)):(e[p]=f,a[p]=f)}else{let f=r1(l,n,d+m,u),p=r1(l,n,d,d+m),g=f>=0&&e[f],_=p>=0&&e[p];if(r&&!_||!r&&!g){a1(ew(s,a),o,l);let v=bye(r?yye:vye,e.length,r,i,c,t);!r&&_&&(e[p].providerFactory=v),i1(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(v),a.push(v)}else{let v=g5(e[r?p:f],c,!r&&i);i1(o,t,f>-1?f:p,v)}!r&&i&&_&&e[p].componentProviders++}}}function i1(t,n,e,i){let r=Nm(n),o=Z3(n);if(r||o){let l=(o?Or(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function g5(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function r1(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function vye(t,n,e,i,r){return K1(this.multi,[])}function yye(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=gb(i,i[xt],this.providerFactory.index,r);a=l.slice(0,s),K1(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],K1(o,a);return a}function K1(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function bye(t,n,e,i,r,o){let a=new Xm(t,e,He,null);return a.multi=[],a.index=n,a.componentProviders=0,g5(a,r,i&&!e),a}function it(t,n=[]){return e=>{e.providersResolver=(i,r)=>_ye(i,r?r(t):t,n)}}function WN(t,n,e){let i=cg()+t,r=Dt();return r[i]===to?Dw(r,i,e?n.call(e):n()):x_e(r,i)}function Ri(t,n,e,i){return _5(Dt(),cg(),t,n,e,i)}function KN(t,n){let e=t[n];return e===to?void 0:e}function _5(t,n,e,i,r,o){let a=n+e;return xo(t,a,r)?Dw(t,a+1,o?i.call(o,r):i(r)):KN(t,a+1)}function Cye(t,n,e,i,r,o,a){let s=n+e;return RN(t,s,r,o)?Dw(t,s+2,a?i.call(a,r,o):i(r,o)):KN(t,s+2)}function Dye(t,n,e,i,r,o,a,s){let l=n+e;return T_e(t,l,r,o,a)?Dw(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):KN(t,l+3)}function Vt(t,n){let e=Zn(),i,r=t+Wn;e.firstCreatePass?(i=Eye(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=gu(i.type,!0)),a,s=So(He);try{let l=JS(!1),c=o();return JS(l),wP(e,Dt(),r,c),c}finally{So(s)}}function Eye(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function $t(t,n,e){let i=t+Wn,r=Dt(),o=lb(r,i);return QN(r,i)?_5(r,cg(),n,o.transform,e,o):o.transform(e)}function XN(t,n,e,i){let r=t+Wn,o=Dt(),a=lb(o,r);return QN(o,r)?Cye(o,cg(),n,a.transform,e,i,a):a.transform(e,i)}function Pb(t,n,e,i,r){let o=t+Wn,a=Dt(),s=lb(a,o);return QN(a,o)?Dye(a,cg(),n,s.transform,e,i,r,s):s.transform(e,i,r)}function QN(t,n){return t[xt].data[n].pure}function Ql(t,n){return yw(t,n)}var Sye=(()=>{class t{zone=h(Ne);changeDetectionScheduler=h(Xo);applicationRef=h(Zo);applicationErrorHandler=h(il);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function v5({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new Ne(Fe(G({},y5()),{scheduleInRootZone:e})),[{provide:Ne,useFactory:t},{provide:Xc,multi:!0,useFactory:()=>{let i=h(Sye,{optional:!0});return()=>i.initialize()}},{provide:Xc,multi:!0,useFactory:()=>{let i=h(wye);return()=>{i.initialize()}}},n===!0?{provide:GP,useValue:!0}:[],{provide:jS,useValue:e??$q},{provide:il,useFactory:()=>{let i=h(Ne),r=h(Mi),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(qi),o.handleError(a))})}}}]}function y5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var wye=(()=>{class t{subscription=new tt;initialized=!1;zone=h(Ne);pendingTasks=h(Ym);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ZN=(()=>{class t{applicationErrorHandler=h(il);appRef=h(Zo);taskService=h(Ym);ngZone=h(Ne);zonelessEnabled=h(fg);tracing=h(Mu,{optional:!0});disableScheduling=h(GP,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new tt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ow):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(jS,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof bb||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?$G:Gq;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ow+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,$G(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function JN(){return Xl("NgZoneless"),Vm([{provide:Xo,useExisting:ZN},{provide:Ne,useClass:bb},{provide:fg,useValue:!0},{provide:jS,useValue:!1},[]])}function xye(){return typeof $localize<"u"&&$localize.locale||Mb}var Mg=new te("",{providedIn:"root",factory:()=>h(Mg,{optional:!0,skipSelf:!0})||xye()});var Aw=class{destroyed=!1;listeners=null;errorHandler=h(qi,{optional:!0});destroyRef=h(wo);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new Pe(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(Kc(953,!1));return}if(this.listeners===null)return;let e=Pt(null);try{for(let i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{Pt(e)}}};function Ci(t){return R3(t)}function $e(t,n){return zy(t,n?.equal)}var eO=class{[or];constructor(n){this[or]=n}destroy(){this[or].destroy()}};function En(t,n){let e=n?.injector??h(ft),i=n?.manualCleanup!==!0?e.get(wo):null,r,o=e.get(qm,null,{optional:!0}),a=e.get(Xo);return o!==null?(r=Aye(o.view,a,t),i instanceof tb&&i._lView===o.view&&(i=null)):r=Mye(t,e.get(fb),a),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new eO(r)}var b5=Fe(G({},P3),{cleanupFns:void 0,zone:null,onDestroyFn:Wm,run(){let t=lg(!1);try{N3(this)}finally{lg(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=Pt(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Pt(t)}}}),Tye=Fe(G({},b5),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){mu(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),Iye=Fe(G({},b5),{consumerMarkedDirty(){this.view[Mt]|=8192,Du(this.view),this.notifier.notify(13)},destroy(){mu(this),this.onDestroyFn(),this.cleanup(),this.view[Zc]?.delete(this)}});function Aye(t,n,e){let i=Object.create(Iye);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=C5(i,e),t[Zc]??=new Set,t[Zc].add(i),i.consumerMarkedDirty(i),i}function Mye(t,n,e){let i=Object.create(Tye);return i.fn=C5(i,t),i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}function C5(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var I5=Symbol("InputSignalNode#UNSET"),Gye=Fe(G({},Hy),{transformFn:void 0,applyValueToInputSignal(t,n){Uh(t,n)}});function A5(t,n){let e=Object.create(Gye);e.value=t,e.transformFn=n?.transform;function i(){if(Dm(e),e.value===I5){let r=null;throw new Pe(-950,r)}return e.value}return i[or]=e,i}var Vr=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Z1(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},qye=new te("");qye.__NG_ELEMENT_ID__=t=>{let n=sr();if(n===null)throw new Pe(204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new Pe(204,!1)};function ep(t){return new Aw}function D5(t,n){return A5(t,n)}function Yye(t){return A5(I5,t)}var Yi=(D5.required=Yye,D5);function E5(t,n){return ON(n)}function Wye(t,n){return FN(n)}var Ob=(E5.required=Wye,E5);function S5(t,n){return ON(n)}function Kye(t,n){return FN(n)}var M5=(S5.required=Kye,S5);var nO=new te(""),Xye=new te("");function Nb(t){return!t.moduleRef}function Qye(t){let n=Nb(t)?t.r3Injector:t.moduleRef.injector,e=n.get(Ne);return e.run(()=>{Nb(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(il),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Nb(t)){let o=()=>n.destroy(),a=t.platformInjector.get(nO);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(nO);a.add(o),t.moduleRef.onDestroy(()=>{pb(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return Jye(i,e,()=>{let o=n.get(Ym),a=o.add(),s=n.get(zN);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Mg,Mb);if(Zq(l||Mb),!n.get(Xye,!0))return Nb(t)?n.get(Zo):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Nb(t)){let d=n.get(Zo);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return Zye?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>void o.remove(a))})})}var Zye;function Jye(t,n,e){try{let i=e();return Jm(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var Mw=null;function ebe(t=[],n){return ft.create({name:n,providers:[{provide:ib,useValue:"platform"},{provide:nO,useValue:new Set([()=>Mw=null])},...t]})}function tbe(t=[]){if(Mw)return Mw;let n=ebe(t);return Mw=n,Kq(),nbe(n),n}function nbe(t){let n=t.get(uw,null);rb(t,()=>{n?.forEach(e=>e())})}var mt=(()=>{class t{static __NG_ELEMENT_ID__=ibe}return t})();function ibe(t){return rbe(sr(),Dt(),(t&16)===16)}function rbe(t,n,e){if(Jc(t)&&!e){let i=ds(t.index,n);return new wu(i,i)}else if(t.type&175){let i=n[Jr];return new wu(i,n)}return null}var iO=class{constructor(){}supports(n){return kN(n)}create(n){return new rO(n)}},obe=(t,n)=>n,rO=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||obe}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let a=!i||e&&e.currentIndex<w5(i,r,o)?e:i,s=w5(a,r,o),l=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(e=e._next,a.previousIndex==null)r++;else{o||(o=[]);let c=s-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let f=m<o.length?o[m]:o[m]=0,p=f+m;d<=p&&p<c&&(o[m]=f+1)}let u=a.previousIndex;o[u]=d-c}}s!==l&&n(a,s,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!kN(n))throw new Pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,a;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,o,a,s),i=!0):(i&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,Tq(n,s=>{a=this._trackByFn(r,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,r),i=!0):(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new oO(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new kw),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new kw),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},oO=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},aO=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},kw=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new aO,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function w5(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}var sO=class{constructor(){}supports(n){return n instanceof Map||Cw(n)}create(){return new lO}},lO=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let e;for(e=this._mapHead;e!==null;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Cw(n)))throw new Pe(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let r=this._records.get(n);this._maybeAddToChanges(r,e);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let i=new cO(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}},cO=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function x5(){return new Zl([new iO])}var Zl=(()=>{class t{factories;static \u0275prov=pe({token:t,providedIn:"root",factory:x5});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=h(t,{optional:!0,skipSelf:!0});return t.create(e,i||x5())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new Pe(901,!1)}}return t})();function T5(){return new uO([new sO])}var uO=(()=>{class t{static \u0275prov=pe({token:t,providedIn:"root",factory:T5});factories;constructor(e){this.factories=e}static create(e,i){if(i){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let i=h(t,{optional:!0,skipSelf:!0});return t.create(e,i||T5())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new Pe(901,!1)}}return t})();function k5(t){Un(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=tbe(i),o=[v5({}),{provide:Xo,useExisting:ZN},EG,...e||[]],a=new yb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Qye({r3Injector:a.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}finally{Un(9)}}function Ee(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ii(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var tO=Symbol("NOT_SET"),R5=new Set,abe=Fe(G({},Hy),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:tO,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==tO&&!Sm(this))return this.signal;try{for(let r of this.cleanup??R5)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=fu(this),i;try{i=this.userFn.apply(null,n)}finally{Em(this,e)}return(this.value===tO||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),dO=class extends Cb{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(n,e,i,r,o,a=null){super(n,[void 0,void 0,void 0,void 0],i,!1,o.get(wo),a),this.scheduler=r;for(let s of BN){let l=e[s];if(l===void 0)continue;let c=Object.create(abe);c.sequence=this,c.phase=s,c.userFn=l,c.dirty=!0,c.signal=()=>(Dm(c),c.value),c.signal[or]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[s]=c,this.hooks[s]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??R5)e()}finally{mu(n)}}};function P5(t,n){let e=n?.injector??h(ft),i=e.get(Xo),r=e.get(Sw),o=e.get(Mu,null,{optional:!0});r.impl??=e.get(jN);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(qm,null,{optional:!0}),l=new dO(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function Rw(t,n){let e=yu(t),i=n.elementInjector||tg();return new yg(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var F5=null;function ps(){return F5}function fO(t){F5??=t}var Fb=class{},mO=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:()=>h(L5),providedIn:"platform"})}return t})();var L5=(()=>{class t extends mO{_location;_history;_doc=h(dt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ps().getBaseHref(this._doc)}onPopState(e){let i=ps().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ps().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function V5(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function N5(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function ku(t){return t&&t[0]!=="?"?`?${t}`:t}var Pw=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:()=>h(j5),providedIn:"root"})}return t})(),B5=new te(""),j5=(()=>{class t extends Pw{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??h(dt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return V5(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+ku(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+ku(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+ku(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(bt(mO),bt(B5,8))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nw=(()=>{class t{_subject=new _e;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=cbe(N5(O5(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ku(i))}normalize(e){return t.stripTrailingSlash(lbe(this._basePath,O5(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ku(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ku(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=ku;static joinWithSlash=V5;static stripTrailingSlash=N5;static \u0275fac=function(i){return new(i||t)(bt(Pw))};static \u0275prov=pe({token:t,factory:()=>sbe(),providedIn:"root"})}return t})();function sbe(){return new Nw(bt(Pw))}function lbe(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function O5(t){return t.replace(/\/index.html$/,"")}function cbe(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var pO=/\s+/,U5=[],Jl=(()=>{class t{_ngEl;_renderer;initialClasses=U5;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(pO):U5}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(pO):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(pO).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(He(Te),He(dn))};static \u0275dir=ue({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Ow=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Br=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Ow(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(o===null?void 0:o);else if(o!==null){let s=i.get(o);i.move(s,a),z5(s,r)}});for(let r=0,o=i.length;r<o;r++){let s=i.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);z5(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(He(Kt),He(kn),He(Zl))};static \u0275dir=ue({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function z5(t,n){t.context.$implicit=n.item}var Dr=(()=>{class t{_viewContainer;_context=new Fw;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){H5(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){H5(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(He(Kt),He(kn))};static \u0275dir=ue({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Fw=class{$implicit=null;ngIf=null};function H5(t,n){if(t&&!t.createEmbeddedView)throw new Pe(2020,!1)}var Er=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){let[r,o]=e.split("."),a=r.indexOf("-")===-1?void 0:al.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||t)(He(Te),He(uO),He(dn))};static \u0275dir=ue({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),_O=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(He(Kt))};static \u0275dir=ue({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Yt]})}return t})();function dbe(t,n){return new Pe(2100,!1)}var hO=class{createSubscription(n,e,i){return Ci(()=>n.subscribe({next:e,error:i}))}dispose(n){Ci(()=>n.unsubscribe())}},gO=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},ube=new gO,fbe=new hO,vO=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=h(il);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i),i=>this.applicationErrorHandler(i))}_selectStrategy(e){if(Jm(e))return ube;if(ww(e))return fbe;throw dbe(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||t)(He(mt,16))};static \u0275pipe=sd({name:"async",type:t,pure:!1})}return t})();var yO=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=sd({name:"json",type:t,pure:!1})}return t})();function bO(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var Lb=class{};var CO="browser";function $5(t){return t===CO}var Vw=new te(""),xO=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new Pe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(bt(Vw),bt(Ne))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),Vb=class{_doc;constructor(n){this._doc=n}manager},DO="ng-app-id";function G5(t){for(let n of t)n.remove()}function q5(t,n){let e=n.createElement("style");return e.textContent=t,e}function hbe(t,n,e,i){let r=t.head?.querySelectorAll(`style[${DO}="${n}"],link[${DO}="${n}"]`);if(r)for(let o of r)o.removeAttribute(DO),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function SO(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var TO=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,hbe(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,q5);i?.forEach(r=>this.addUsage(r,this.external,SO))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(G5(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])G5(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,q5(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,SO(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(bt(dt),bt(Tu),bt(wg,8),bt(Iu))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),EO={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},IO=/%COMP%/g;var W5="%COMP%",gbe=`_nghost-${W5}`,_be=`_ngcontent-${W5}`,vbe=!0,ybe=new te("",{providedIn:"root",factory:()=>vbe});function bbe(t){return _be.replace(IO,t)}function Cbe(t){return gbe.replace(IO,t)}function K5(t,n){return n.map(e=>e.replace(IO,t))}var Ub=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(e,i,r,o,a,s,l,c=null,d,u,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=c,this.animationDisabled=d,this.maxAnimationTimeout=u,this.tracingService=m,this.platformIsServer=!1,this.defaultRenderer=new Bb(e,a,l,this.platformIsServer,this.tracingService,this.registry=BS(),this.maxAnimationTimeout)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Lw?r.applyToHost(e):r instanceof jb&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case nd.Emulated:o=new Lw(l,c,i,this.appId,d,a,s,u,m,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case nd.ShadowDom:return new wO(l,c,e,i,a,s,this.nonce,u,m,this.registry,this.maxAnimationTimeout);default:o=new jb(l,c,i,d,a,s,u,m,this.registry,this.animationDisabled,this.maxAnimationTimeout);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(bt(xO),bt(TO),bt(Tu),bt(ybe),bt(dt),bt(Iu),bt(Ne),bt(wg),bt(HN),bt($N),bt(Mu,8))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),Bb=class{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o,a,s){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o,this.registry=a,this.maxAnimationTimeout=s}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(EO[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Y5(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Y5(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){let{elements:i}=this.registry;if(i){i.animate(e,()=>e.remove(),this.maxAnimationTimeout);return}e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new Pe(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=EO[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=EO[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(al.DashCase|al.Important)?n.style.setProperty(e,i,r&al.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&al.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=ps().getGlobalEventTarget(this.doc,n),!n))throw new Pe(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Y5(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var wO=class extends Bb{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,a,s,l,c,d,u){super(n,o,a,l,c,d,u),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let m=r.styles;m=K5(r.id,m);for(let p of m){let g=document.createElement("style");s&&g.setAttribute("nonce",s),g.textContent=p,this.shadowRoot.appendChild(g)}let f=r.getExternalStyles?.();if(f)for(let p of f){let g=SO(p,o);s&&g.setAttribute("nonce",s),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},jb=class extends Bb{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(n,e,i,r,o,a,s,l,c,d,u,m){super(n,o,a,s,l,c,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this._animationDisabled=d;let f=i.styles;this.styles=m?K5(m,f):f,this.styleUrls=i.getExternalStyles?.(m)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});return}this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}},Lw=class extends jb{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c,d,u,m){let f=r+"-"+i.id;super(n,e,i,o,a,s,l,c,d,u,m,f),this.contentAttr=bbe(f),this.hostAttr=Cbe(f)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}};var Bw=class t extends Fb{supportsDOMEvents=!0;static makeCurrent(){fO(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Dbe();return e==null?null:Ebe(e)}resetBaseElement(){zb=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return bO(document.cookie,n)}},zb=null;function Dbe(){return zb=zb||document.head.querySelector("base"),zb?zb.getAttribute("href"):null}function Ebe(t){return new URL(t,document.baseURI).pathname}var Sbe=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),Q5=(()=>{class t extends Vb{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(bt(dt))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),X5=["alt","control","meta","shift"],wbe={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xbe={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Z5=(()=>{class t extends Vb{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ps().onAndCancel(e,a.domEventName,s,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),X5.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),a+=c+".")}),a+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=wbe[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),X5.forEach(a=>{if(a!==r){let s=xbe[a];s(e)&&(o+=a+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(bt(dt))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();function AO(t){return k5(Tbe(t))}function Tbe(t){return{appProviders:[...Rbe,...t?.providers??[]],platformProviders:kbe}}function Ibe(){Bw.makeCurrent()}function Abe(){return new qi}function Mbe(){return eN(document),document}var kbe=[{provide:Iu,useValue:CO},{provide:uw,useValue:Ibe,multi:!0},{provide:dt,useFactory:Mbe}];var Rbe=[{provide:ib,useValue:"root"},{provide:qi,useFactory:Abe},{provide:Vw,useClass:Q5,multi:!0,deps:[dt]},{provide:Vw,useClass:Z5,multi:!0,deps:[dt]},Ub,TO,xO,{provide:ci,useExisting:Ub},{provide:Lb,useClass:Sbe},[]];var kO=class{};var tp=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
16
|
+
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var RO=class{encodeKey(n){return J5(n)}encodeValue(n){return J5(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Pbe(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var Nbe=/%(\d[a-f0-9])/gi,Obe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function J5(t){return encodeURIComponent(t).replace(Nbe,(n,e)=>Obe[e]??n)}function jw(t){return`${t}`}var cd=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new RO,n.fromString){if(n.fromObject)throw new Pe(2805,!1);this.map=Pbe(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(jw):[jw(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(jw(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(jw(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var PO=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Fbe(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eY(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function tY(t){return typeof Blob<"u"&&t instanceof Blob}function nY(t){return typeof FormData<"u"&&t instanceof FormData}function Lbe(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vbe="X-Request-URL",iY="text/plain",rY="application/json",qpt=`${rY}, ${iY}, */*`,kg=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(Fbe(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new Pe(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new tp,this.context??=new PO,!this.params)this.params=new cd,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":s<e.length-1?"&":"";this.urlWithParams=e+l+a}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||eY(this.body)||tY(this.body)||nY(this.body)||Lbe(this.body)?this.body:this.body instanceof cd?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||nY(this.body)?null:tY(this.body)?this.body.type||null:eY(this.body)?null:typeof this.body=="string"?iY:this.body instanceof cd?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?rY:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,s=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,u=n.referrer||this.referrer,m=n.integrity||this.integrity,f=n.transferCache??this.transferCache,p=n.timeout??this.timeout,g=n.body!==void 0?n.body:this.body,_=n.withCredentials??this.withCredentials,v=n.reportProgress??this.reportProgress,D=n.headers||this.headers,O=n.params||this.params,B=n.context??this.context;return n.setHeaders!==void 0&&(D=Object.keys(n.setHeaders).reduce((F,W)=>F.set(W,n.setHeaders[W]),D)),n.setParams&&(O=Object.keys(n.setParams).reduce((F,W)=>F.set(W,n.setParams[W]),O)),new t(e,i,g,{params:O,headers:D,context:B,reportProgress:v,responseType:r,withCredentials:_,transferCache:f,keepalive:o,cache:s,priority:a,timeout:p,mode:l,redirect:c,credentials:d,referrer:u,integrity:m})}},OO=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(OO||{}),NO=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new tp,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}};var Uw=class t extends NO{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=OO.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}};function MO(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var FO=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof kg)o=e;else{let l;r.headers instanceof tp?l=r.headers:l=new tp(r.headers);let c;r.params&&(r.params instanceof cd?c=r.params:c=new cd({fromObject:r.params})),o=new kg(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let a=li(o).pipe(UR(l=>this.handler.handle(l)));if(e instanceof kg||r.observe==="events")return a;let s=a.pipe(cn(l=>l instanceof Uw));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(Gt(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Pe(2806,!1);return l.body}));case"blob":return s.pipe(Gt(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Pe(2807,!1);return l.body}));case"text":return s.pipe(Gt(l=>{if(l.body!==null&&typeof l.body!="string")throw new Pe(2808,!1);return l.body}));case"json":default:return s.pipe(Gt(l=>l.body))}case"response":return s;default:throw new Pe(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new cd().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,MO(r,i))}post(e,i,r={}){return this.request("POST",e,MO(r,i))}put(e,i,r={}){return this.request("PUT",e,MO(r,i))}static \u0275fac=function(i){return new(i||t)(bt(kO))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();var Ypt=RegExp(`^${Vbe}:`,"m");var VO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=bt(jbe),r},providedIn:"root"})}return t})(),jbe=(()=>{class t extends VO{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case To.NONE:return i;case To.HTML:return Zm(i,"HTML")?rd(i):cN(this._doc,String(i)).toString();case To.STYLE:return Zm(i,"Style")?rd(i):i;case To.SCRIPT:if(Zm(i,"Script"))return rd(i);throw new Pe(5200,!1);case To.URL:return Zm(i,"URL")?rd(i):Eb(String(i));case To.RESOURCE_URL:if(Zm(i,"ResourceURL"))return rd(i);throw new Pe(5201,!1);default:throw new Pe(5202,!1)}}bypassSecurityTrustHtml(e){return iN(e)}bypassSecurityTrustStyle(e){return rN(e)}bypassSecurityTrustScript(e){return oN(e)}bypassSecurityTrustUrl(e){return aN(e)}bypassSecurityTrustResourceUrl(e){return sN(e)}static \u0275fac=function(i){return new(i||t)(bt(dt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var zbe={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};function Hbe(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function $be(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var BO;function Gbe(t,n){if(!BO){let e=Element.prototype;BO=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?BO.call(t,n):!1}function qbe(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Hbe(i)]=[e,r]}),n}function Ybe(t,n){return n.get(ad).resolveComponentFactory(t).inputs}function Wbe(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,a)=>o==="*"?(r=a,!0):!1);for(let o=0,a=e.length;o<a;++o){let s=e[o],l=Kbe(s,n,r);l!==-1&&i[l].push(s)}return i}function Kbe(t,n,e){let i=e;return $be(t)&&n.some((r,o)=>r!=="*"&&Gbe(t,r)?(i=o,!0):!1),i}var Xbe=10,jO=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(ad).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new UO(this.componentFactory,n,this.inputMap)}},UO=class{componentFactory;injector;inputMap;eventEmitters=new Am(1);events=this.eventEmitters.pipe(Qr(n=>Nn(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(Zo),this.cdScheduler=e.get(Xo),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=zbe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Xbe))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){if(this.componentRef===null){this.initialInputValues.set(n,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),wN(this.componentRef.hostView)&&(xN(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=ft.create({providers:[],parent:this.injector}),i=Wbe(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new yt(a=>{let s=o.subscribe(l=>a.next({name:r,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},zO=class extends HTMLElement{ngElementEventsSubscription=null};function oY(t,n){let e=Ybe(t,n.injector),i=n.strategyFactory||new jO(t,n.injector),r=qbe(e);class o extends zO{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let s=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],s.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s}attributeChangedCallback(s,l,c,d){let[u,m]=r[s];this.ngElementStrategy.setInputValue(u,c,m)}connectedCallback(){let s=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=!0),this.ngElementStrategy.connect(this),s||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{let l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l)})}}return e.forEach(({propName:a,transform:s})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(l){this.ngElementStrategy.setInputValue(a,l,s)},configurable:!0,enumerable:!0})}),o}var aY={version:"suibi-data.v1",payload:{metadata:{emittedAt:"2024-01-01T00:00:00.000Z",locale:"en",isValid:!0,errorCount:0},data:{nutrientCycle:{animalStock:[{order:"1",animalCategoryPRIF:24,selfReportedLivestock:{averageQuantity:15},durationCorrectionQuantity:0,durationCorrectionDays:0,utilisation:1,formOfDetention:{hasGrazing:!0,pasture:{days:180,hoursPerDay:8},stall:{stableSystem:10,stableCapacity:20,stableVentilationType:1,stableAirPurification:3,hasStableDeepLitter:!1,hasStableManureBeltDrying:!1,stableManureRemovalFrequency:2,stableWaterSupply:1,hasStableManureAndSlurryProduction:!1,hasStableFeedingStationElevated:!1,hasStableFloorSlopedUrineDrainage:!1,hasYard:!0,yardFeeding:1,yardFloorType:1,yardDays:185,yardHoursPerDay:2}},hasImpexDerivedExcretion:!1,hasLinearCorrectionDerivedExcretion:!1,feeding:{fodderConsumption:4500,concentratedFeedstuffConsumption:1200,winterFeeding:{feedingRoutine:[{typeOfFeedstuffProduct:"FSTF_HAYEM",transactionUnit:"kg",quantity:15},{typeOfFeedstuffProduct:"FSTF_GRSLG",transactionUnit:"kg",quantity:25}],dailyConcentratedFeedstuff:{quantity:4}},summerFeeding:{feedingRoutine:[{typeOfFeedstuffProduct:"FSTF_GRASS",transactionUnit:"kg",quantity:45}],dailyConcentratedFeedstuff:{quantity:2.5}}}}],storage:{stableStrawLitter:5e3,manureSupplyProportionStored:50,slurrySupplyProportionStored:80,createFacilitySpecificManureProduct:!1,createFacilitySpecificSlurryProduct:!1,dilutionRatio:1.5,manurePit:[{cover:7,manureFromAnimalStockStored:[{manureDerivation:"CATTLE",proportionStored:100}]}],slurryTank:[{volumeInM3:300,depthInM:4,cover:2,mixingFrequency:1,manureDerivation:["CATTLE"]}]},farmManureTrading:{supply:[{quantity:10,typeOfManureRecyclingProduct:"MANURE",transactionUnit:"t",ingredient:[{quantity:6,molecularFormula:"Ntot",unit:"kg/t"},{quantity:1.2,molecularFormula:"Nlos",unit:"kg/t"},{quantity:4,molecularFormula:"P2O5",unit:"kg/t"}]}],dispense:[{quantity:5,typeOfManureRecyclingProduct:"SLURRY",transactionUnit:"m3",manureDerivation:[{zoologicalAnimal:"CATTLE",percentageAllocation:100}]}]},fieldSpreading:{soilPh:1,slurry:{quantity:20,dilutionRatio:1.5,otherApplicationTechnologies:[{applicationTechnologyType:1,proportionOfArea:80}],applicationDuringWarmDays:1,proportionAppliedSummerMonths:40,proportionAppliedOtherMonths:60,proportionAppliedAfter6PM:75,dragHoseAreaSize:1e4},manure:{applicationIncorporationTime:2,proportionAppliedSummerMonths:40,proportionAppliedOtherMonths:60},fertiliser:[{fertiliserProductCategory:"FER_UREA",quantity:500,transactionUnit:"kg",ingredient:[{molecularFormula:"Ntot",quantity:46,unit:"%"}]}],recycling:[{typeOfManureRecyclingProduct:"COMPOST",quantity:2,transactionUnit:"kg",ingredient:[{molecularFormula:"Ntot",quantity:10,unit:"kg/t"}]}]},lifetimePerformance:{dailyGain:.8,liveWeight:650,milkProductionReport:8e3},fodder:{trading:{supply:[{typeOfFeedstuffProduct:"HAY",quantity:2e3,transactionUnit:"kg",ingredient:[{quantity:85,molecularFormula:"T-S",unit:"%"}]}]},cropFromNonFodderCropland:[{typeOfFeedstuffProduct:"MAIZE_SILAGE",quantity:1e4,transactionUnit:"kg",ingredient:[{quantity:32,molecularFormula:"T-S",unit:"%"}]}],proportionStorageLoss:5,totalBalanceErrorMargin:10},fieldCultivation:{fodderCropland:[{agronomicCropCategory:"NATURAL_MEADOW_MEDIUM_INTENSE",isMainCrop:!0,areaSize:2e4,calculateYieldThroughFodderBalance:!0},{agronomicCropCategory:"MAIZE_SILAGE",isMainCrop:!0,areaSize:15e3,yieldPerSquareMeasure:1.2}],arableLand:[{agronomicCropCategory:"WINTER_WHEAT",isMainCrop:!0,areaSize:1e4,yieldPerSquareMeasure:.8}],special:[{agronomicCropCategory:"VINEYARD_HIGH_YIELD",userSpecificPlantName:"Chasselas",isMainCrop:!0,areaSize:5e3,yieldPerSquareMeasure:1}]},generateReport:!0}}}};function Ru(t,n){if(t===n)return!0;if(t==null||n==null||typeof t!=typeof n)return!1;if(Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(let e=0;e<t.length;e++)if(!Ru(t[e],n[e]))return!1;return!0}if(typeof t=="object"){let e=t,i=n,r=Object.keys(e),o=Object.keys(i);if(r.length!==o.length)return!1;for(let a of r)if(!Object.prototype.hasOwnProperty.call(i,a)||!Ru(e[a],i[a]))return!1;return!0}return!1}function ec(t){return typeof structuredClone=="function"?structuredClone(t):JSON.parse(JSON.stringify(t))}function HO(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function lY(t){let n=HO(t)?t:{},e=HO(n.nutrientCycle)?n.nutrientCycle:{},i=HO(e.farmManureTrading)?e.farmManureTrading:{},r=Array.isArray(e.animalStock)?[...e.animalStock]:[],o=Array.isArray(i.supply)?[...i.supply]:[],a=Array.isArray(i.dispense)?[...i.dispense]:[],s=Fe(G({},e),{animalStock:r,farmManureTrading:Fe(G({},i),{supply:o,dispense:a})});return Fe(G({},n),{nutrientCycle:s})}var sY=lY(aY.payload.data);var ro=class t{_data=Be(sY);data=this._data.asReadonly();_calculationMode=Be("SuiBi");calculationMode=this._calculationMode.asReadonly();setData(n){let e=lY(n);Ru(this._data(),e)||this._data.set(e)}setCalculationMode(n){this._calculationMode.set(n)}reset(){this._data.set(sY)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};var cY={Orders:"Orders",Data:"Data",Language:"Language",Contracts:"Contracts",Customer:"Customer","Choose preferred locale":"Choose preferred locale","nav.home":"Start","nav.animalStock":"Animal Stock","nav.fieldSpreading":"Field Spreading","nav.farmManureTrading":"Farm Manure Trading","nav.dataPreview":"Data Preview","nav.unknownPage":"Unknown page","actions.save":"Save","welcome.title":"SuisseBilanz Module Demo","welcome.subtitle":"Interactive Web Component Showcase","welcome.description":"Welcome to the SuisseBilanz module demonstration. This showcases a fully embeddable Angular web component for Swiss agricultural nutrient balance calculations. Navigate through the demo to explore data management and multi-language support.","welcome.start":"Explore Demo","welcome.metadata.cardTitle":"Demo Metadata","welcome.metadata.cardDescription":"Describe the embed, pick the published SuisseBilanz version, and flag the overall status.","welcome.metadata.group":"Metadata","welcome.metadata.title.label":"Title","welcome.metadata.title.description":"Displayed to host applications when embedding the component.","welcome.metadata.title.placeholder":"Enter a short demo title","welcome.metadata.suibiVersion.label":"SUIBI version","welcome.metadata.status.label":"Status","title.label":"Title","description.label":"Description","ordered.label":"Ordered","processId.label":"Process ID","assignee.label":"Assignee","startDate.label":"Start Date","endDate.label":"End Date","status.label":"Status","amount.label":"Amount","customer.label":"Customer","customer.name.label":"Name","customer.department.label":"Department","customer.emailAddress.label":"Email Address","status.unordered":"Unordered","status.planned":"Planned","status.ordered":"Ordered","animalStock.base.category":"Base Information","animalStock.order.label":"Order","animalStock.animalCategoryPRIF.label":"Animal Category","animalStock.utilisation.label":"Utilisation","animalStock.livestock.category":"Livestock Reporting","animalStock.livestock.source.group":"Duration Source","animalStock.livestock.source.help":"Select ONE duration source below. Only fill in the field for your chosen source type.","animalStock.livestock.source.instruction":"Choose your duration source:","animalStock.livestock.source.none":"-- Select duration source --","animalStock.livestock.source.option1":"Option 1: Animal Tracing Database (TVD) - Original Data","animalStock.livestock.source.option2":"Option 2: Animal Tracing Database (TVD) - Final (After Cantonal Correction)","animalStock.livestock.source.option3":"Option 3: Self-Reported Average","animalStock.selfReported.averageQuantity.label":"Average Number of Animals (Self-Reported)","animalStock.selfReported.averageQuantity.description":"Enter average animal count (NOT total days). System will convert to animal-days. Example: 10 for average of 10 cows.","animalStock.livestockOriginal.durationSum.label":"Total Animal-Days (TVD Original)","animalStock.livestockOriginal.durationSum.description":"Total animal-days from Swiss animal tracing database (TVD). Example: 3,650 for 10 cows year-round.","animalStock.livestockFinal.durationSum.label":"Total Animal-Days (TVD Final - After Correction)","animalStock.livestockFinal.durationSum.description":"TVD data verified and corrected by cantonal authorities. Example: 3,500 after corrections.","animalStock.livestock.correction.group":"Duration Correction (Optional)","animalStock.livestock.correction.help":"Adjust base duration for temporary absences (-) or additions (+).","animalStock.quantityCorrection.checkbox":"Enable duration correction","animalStock.durationCorrectionQuantity.label":"Correction Quantity (Animals)","animalStock.durationCorrectionQuantity.description":"Number of animals temporarily absent (negative) or present (positive). Example: -3 for three animals absent.","animalStock.durationCorrectionDays.label":"Correction Days","animalStock.durationCorrectionDays.description":"Number of days the correction applies. Required if quantity is specified. Example: 120 for 4 months.","animalStock.formOfDetention.category":"Form of Detention","animalStock.formOfDetention.general.group":"General","animalStock.formOfDetention.hasGrazing":"Has Grazing","animalStock.formOfDetention.hasStableDeepLitter":"Has Stable Deep Litter","animalStock.formOfDetention.hasStableManureBeltDrying":"Has Stable Manure Belt Drying","animalStock.formOfDetention.hasStableManureAndSlurryProduction":"Manure & Slurry Production","animalStock.formOfDetention.hasStableFeedingStationElevated":"Has Elevated Feeding Station","animalStock.formOfDetention.hasStableFloorSlopedUrineDrainage":"Has Sloped Floor with Urine Drainage","animalStock.formOfDetention.hasYard":"Has Yard","animalStock.formOfDetention.pasture.group":"Pasture","animalStock.formOfDetention.pasture.days":"Pasture Days","animalStock.formOfDetention.pasture.hoursPerDay":"Pasture Hours/Day","animalStock.formOfDetention.stall.group":"Stall","animalStock.formOfDetention.stall.stableSystem":"Stable System","animalStock.formOfDetention.stall.stableCapacity":"Stable Capacity","animalStock.formOfDetention.stall.stableVentilationType":"Stable Ventilation Type","animalStock.formOfDetention.stall.stableAirPurification":"Stable Air Purification","animalStock.formOfDetention.stall.stableManureRemovalFrequency":"Manure Removal Frequency","animalStock.formOfDetention.stall.stableWaterSupply":"Water Supply Type","animalStock.formOfDetention.yard.group":"Yard","animalStock.formOfDetention.yard.yardDays":"Yard Days","animalStock.formOfDetention.yard.yardHoursPerDay":"Yard Hours/Day","animalStock.formOfDetention.yard.yardFeeding":"Yard Feeding Type","animalStock.formOfDetention.yard.yardFloorType":"Yard Floor Type","animalStock.feeding.category":"Feeding","animalStock.feeding.fodderConsumption":"Fodder Consumption (kg)","animalStock.feeding.concentratedFeedstuffConsumption":"Concentrated Feedstuff Consumption (kg)","animalStock.feeding.winter.group":"Winter Feeding","animalStock.feeding.winter.dailyConcentrated":"Daily Concentrated Feedstuff (kg)","animalStock.feeding.summer.group":"Summer Feeding","animalStock.feeding.summer.dailyConcentrated":"Daily Concentrated Feedstuff (kg)","animalStock.detail.title":"Animal Stock Detail","animalStock.list.title":"Animal Stock","animalStock.list.add":"Add","animalStock.table.header.order":"Order","animalStock.table.header.animalCategory":"Animal Category","animalStock.table.header.utilisation":"Utilisation","animalStock.table.header.actions":"Actions","farmTrading.tabs.supply":"Supply","farmTrading.tabs.dispense":"Dispense","farmTrading.list.supplyTitle":"Supplied products","farmTrading.list.dispenseTitle":"Dispensed products","farmTrading.list.emptySupply":"No supplies recorded yet.","farmTrading.list.emptyDispense":"No dispenses recorded yet.","farmTrading.list.addSupply":"Add supply","farmTrading.list.addDispense":"Add dispense","farmTrading.table.header.product":"Product","farmTrading.table.header.quantity":"Quantity","farmTrading.table.header.unit":"Unit","farmTrading.table.header.actions":"Actions","farmTrading.detail.titleSupply":"Supply detail","farmTrading.detail.titleDispense":"Dispense detail","farmTrading.detail.noSelection":"Select or add an entry to edit details.","farmTrading.detail.general":"General information","farmTrading.detail.derivation":"Origin","farmTrading.detail.ingredients":"Nutrient composition","farmTrading.fields.product":"Manure product","farmTrading.fields.transactionUnit":"Transaction unit","farmTrading.fields.quantity":"Quantity","farmTrading.fields.quantityHint":"Quantity of supplied or dispensed manure: liquids in m^3, solids in kg.","farmTrading.fields.manureDerivation":"Manure derivation","farmTrading.fields.ingredient":"Ingredients","farmTrading.fields.molecularFormula":"Molecular formula","farmTrading.fields.zoologicalAnimal":"Zoological animal","farmTrading.fields.percentageAllocation":"Allocation (%)","farmTrading.fields.unit":"Unit","fieldSpreading.form.title":"Field spreading inputs","fieldSpreading.tabs.general":"Farm fertilizers","fieldSpreading.tabs.fertiliser":"Mineral fertilisers","fieldSpreading.tabs.recycling":"Recycling fertilisers","fieldSpreading.groups.general":"Farm-produced fertilizers & soil data","fieldSpreading.groups.slurry":"Slurry application","fieldSpreading.groups.manure":"Manure application","fieldSpreading.groups.fertiliser":"Mineral fertiliser applications","fieldSpreading.groups.recycling":"Recycling fertiliser applications","fieldSpreading.fields.soilPh":"Soil pH","fieldSpreading.fields.slurry.quantity":"Average quantity (m\xB3/a)","fieldSpreading.fields.slurry.dilutionRatio":"Dilution ratio","fieldSpreading.fields.slurry.applicationDuringWarmDays":"Application during warm days","fieldSpreading.fields.slurry.proportionAppliedSummerMonths":"Share applied in summer (%)","fieldSpreading.fields.slurry.proportionAppliedOtherMonths":"Share applied rest of year (%)","fieldSpreading.fields.slurry.proportionAppliedAfter6PM":"Share applied after 6pm (%)","fieldSpreading.fields.slurry.dragHoseAreaSize":"Drag hose mandatory area (m\xB2)","fieldSpreading.fields.slurry.otherApplicationTechnologies":"Other application technologies","fieldSpreading.fields.slurry.otherTechnologyType":"Technology type","fieldSpreading.fields.slurry.otherTechnologyProportion":"Area share (%)","fieldSpreading.fields.manure.applicationIncorporationTime":"Incorporation time","fieldSpreading.fields.manure.proportionAppliedSummerMonths":"Share applied in summer (%)","fieldSpreading.fields.manure.proportionAppliedOtherMonths":"Share applied rest of year (%)","fieldSpreading.fields.fertiliser.entries":"Mineral fertiliser entries","fieldSpreading.fields.fertiliser.product":"Fertiliser product","fieldSpreading.fields.fertiliser.transactionUnit":"Transaction unit","fieldSpreading.fields.fertiliser.quantity":"Quantity","fieldSpreading.fields.fertiliser.ingredients":"Ingredients","fieldSpreading.fields.ingredient.molecularFormula":"Substance","fieldSpreading.fields.ingredient.quantity":"Quantity per unit","fieldSpreading.fields.ingredient.unit":"Unit","fieldSpreading.fields.recycling.entries":"Recycling fertiliser entries","fieldSpreading.fields.recycling.product":"Recycling product","fieldSpreading.fields.recycling.transactionUnit":"Transaction unit","fieldSpreading.fields.recycling.quantity":"Quantity","fieldSpreading.fields.recycling.ingredients":"Ingredients","lifetimePerformance.category":"Lifetime Performance Adjustments","lifetimePerformance.dailyGain.label":"Average daily gain (kg)","lifetimePerformance.liveWeight.label":"Average live weight (kg)","lifetimePerformance.milkProductionReport.label":"Average yearly milk production (kg)","validation.schema.exactlyOneLivestockSource":"Please select exactly one livestock duration source (TVD Original, TVD Final, or Self-Reported)","validation.schema.durationCorrectionDaysRequired":"Duration correction days required when correction quantity is specified","validation.schema.durationCorrectionDaysRange":"Correction days must be between 1 and 365","validation.schema.linearCorrectionDurationRequired":"Linear correction duration is required when linear correction is enabled","validation.schema.stableSystemPermitted":"Stable system must be one of: {{allowedValues}}","validation.schema.generic":"Validation error","validation.panel.singleIssue":"1 validation issue","validation.panel.multipleIssues":"{{count}} validation issues","validation.panel.expandHint":"Review details","validation.panel.collapse":"Collapse"};var dY={Orders:"Bestellungen",Data:"Daten",Language:"Sprache",Contracts:"Vertr\xE4ge",Customer:"Kunde","Choose preferred locale":"Sprache ausw\xE4hlen","nav.home":"Start","nav.animalStock":"Tierbestand","nav.fieldSpreading":"Feldausbringung","nav.farmManureTrading":"Hofd\xFCnger-Handel","nav.dataPreview":"Daten\xFCbersicht","nav.unknownPage":"Unbekannte Seite","actions.save":"Speichern","welcome.title":"SuisseBilanz Modul Demo","welcome.subtitle":"Interaktive Web-Komponenten Demonstration","welcome.description":"Willkommen zur SuisseBilanz Modul Demonstration. Dies zeigt eine vollst\xE4ndig einbettbare Angular Web-Komponente f\xFCr Schweizer landwirtschaftliche N\xE4hrstoffbilanz-Berechnungen. Navigieren Sie durch die Demo, um Datenmanagement und mehrsprachige Unterst\xFCtzung zu erkunden.","welcome.start":"Demo erkunden","welcome.metadata.cardTitle":"Metadaten","welcome.metadata.cardDescription":"Beschreiben Sie die Einbettung, w\xE4hlen Sie die SuisseBilanz-Version und kennzeichnen Sie den Status.","welcome.metadata.group":"Metadaten","welcome.metadata.title.label":"Titel","welcome.metadata.title.description":"Wird beim Einbetten der Komponente im Host angezeigt.","welcome.metadata.title.placeholder":"Kurzen Titel eingeben","welcome.metadata.suibiVersion.label":"SUIBI-Version","welcome.metadata.status.label":"Status","title.label":"Titel","description.label":"Beschreibung","ordered.label":"Bestellt","processId.label":"Prozess-ID","assignee.label":"Zust\xE4ndige Person","startDate.label":"Startdatum","endDate.label":"Enddatum","status.label":"Status","amount.label":"Menge","customer.label":"Kunde","customer.name.label":"Name","customer.department.label":"Abteilung","customer.emailAddress.label":"E-Mail-Adresse","status.unordered":"Nicht bestellt","status.planned":"Geplant","status.ordered":"Bestellt","animalStock.base.category":"Basisinformationen","animalStock.order.label":"Reihenfolge","animalStock.animalCategoryPRIF.label":"Tierkategorie","animalStock.utilisation.label":"Nutzung","animalStock.livestock.category":"Tierhaltung Meldung","animalStock.livestock.source.group":"Dauerquelle","animalStock.livestock.source.help":"W\xE4hlen Sie EINE Dauerquelle unten. F\xFCllen Sie nur das Feld f\xFCr Ihre gew\xE4hlte Quellenart aus.","animalStock.livestock.source.instruction":"W\xE4hlen Sie Ihre Dauerquelle:","animalStock.livestock.source.none":"-- Dauerquelle ausw\xE4hlen --","animalStock.livestock.source.option1":"Option 1: Tierverkehrsdatenbank (TVD) - Originaldaten","animalStock.livestock.source.option2":"Option 2: Tierverkehrsdatenbank (TVD) - Final (Nach kantonaler Korrektur)","animalStock.livestock.source.option3":"Option 3: Selbstgemeldet Durchschnitt","animalStock.selfReported.averageQuantity.label":"\xD8 Anzahl gem\xE4ss Suisse Bilanz (abz. S\xF6mmerung)","animalStock.selfReported.averageQuantity.description":"Durchschnittliche Tierzahl eingeben (NICHT Gesamttage). System rechnet in Tiertage um. Beispiel: 10 f\xFCr durchschnittlich 10 K\xFChe.","animalStock.livestockOriginal.durationSum.label":"\xD8 Anzahl gem\xE4ss Suisse Bilanz (abz. S\xF6mmerung)","animalStock.livestockOriginal.durationSum.description":"Gesamte Tiertage aus der Schweizer Tierverkehrsdatenbank (TVD). Beispiel: 3.650 f\xFCr 10 K\xFChe ganzj\xE4hrig.","animalStock.livestockFinal.durationSum.label":"\xD8 Anzahl gem\xE4ss Suisse Bilanz (abz. S\xF6mmerung)","animalStock.livestockFinal.durationSum.description":"TVD-Daten, \xFCberpr\xFCft und korrigiert durch kantonale Beh\xF6rden. Beispiel: 3.500 nach Korrekturen.","animalStock.livestock.correction.group":"Dauerkorrektur (Optional)","animalStock.livestock.correction.help":"Basisdauer f\xFCr tempor\xE4re Abwesenheiten (-) oder Zus\xE4tze (+) anpassen.","animalStock.quantityCorrection.checkbox":"Dauerkorrektur aktivieren","animalStock.durationCorrectionQuantity.label":"Abzug/Zuschlag Anzahl Tiere","animalStock.durationCorrectionQuantity.description":"Anzahl vor\xFCbergehend abwesender (negativ) oder zus\xE4tzlicher (positiv) Tiere. Beispiel: -3 f\xFCr drei abwesende Tiere.","animalStock.durationCorrectionDays.label":"Abzug/Zuschlag Anzahl Tage","animalStock.durationCorrectionDays.description":"Anzahl Tage, f\xFCr die die Korrektur gilt. Erforderlich, wenn Menge angegeben ist. Beispiel: 120 f\xFCr 4 Monate.","animalStock.formOfDetention.category":"Haltungsform","animalStock.formOfDetention.general.group":"Allgemein","animalStock.formOfDetention.hasGrazing":"Mit Weidegang","animalStock.formOfDetention.hasStableDeepLitter":"Tiefstreu vorhanden","animalStock.formOfDetention.hasStableManureBeltDrying":"Mistband-Trocknung vorhanden","animalStock.formOfDetention.hasStableManureAndSlurryProduction":"Stall produziert Mist & G\xFClle","animalStock.formOfDetention.hasStableFeedingStationElevated":"Erh\xF6hte Futterstation vorhanden","animalStock.formOfDetention.hasStableFloorSlopedUrineDrainage":"Abgeschr\xE4gter Boden mit Harnableitung","animalStock.formOfDetention.hasYard":"Mit Laufhof","animalStock.formOfDetention.pasture.group":"Weide","animalStock.formOfDetention.pasture.days":"Weidetage","animalStock.formOfDetention.pasture.hoursPerDay":"Weidestunden/Tag","animalStock.formOfDetention.stall.group":"Stall","animalStock.formOfDetention.stall.stableSystem":"Stallsystem","animalStock.formOfDetention.stall.stableCapacity":"Stallkapazit\xE4t","animalStock.formOfDetention.stall.stableVentilationType":"Stalll\xFCftungsart","animalStock.formOfDetention.stall.stableAirPurification":"Abluftreinigung","animalStock.formOfDetention.stall.stableManureRemovalFrequency":"Mistentfernungsh\xE4ufigkeit","animalStock.formOfDetention.stall.stableWaterSupply":"Wasserversorgungsart","animalStock.formOfDetention.yard.group":"Laufhof","animalStock.formOfDetention.yard.yardDays":"Laufhoftage","animalStock.formOfDetention.yard.yardHoursPerDay":"Laufhofstunden/Tag","animalStock.formOfDetention.yard.yardFeeding":"Laufhoff\xFCtterungsart","animalStock.formOfDetention.yard.yardFloorType":"Laufhof-Bodenart","animalStock.feeding.category":"F\xFCtterung","animalStock.feeding.fodderConsumption":"Futterverbrauch (kg)","animalStock.feeding.concentratedFeedstuffConsumption":"Kraftfutterverbrauch (kg)","animalStock.feeding.winter.group":"Winterf\xFCtterung","animalStock.feeding.winter.dailyConcentrated":"T\xE4gliches Kraftfutter (kg)","animalStock.feeding.summer.group":"Sommerf\xFCtterung","animalStock.feeding.summer.dailyConcentrated":"T\xE4gliches Kraftfutter (kg)","animalStock.detail.title":"Tierbestand Detail","animalStock.list.title":"Tierbestand","animalStock.list.add":"Hinzuf\xFCgen","animalStock.table.header.order":"Reihenfolge","animalStock.table.header.animalCategory":"Tierkategorie","animalStock.table.header.utilisation":"Nutzung","animalStock.table.header.actions":"Aktionen","farmTrading.tabs.supply":"Bezug","farmTrading.tabs.dispense":"Abgabe","farmTrading.list.supplyTitle":"Bezogene Produkte","farmTrading.list.dispenseTitle":"Abgegebene Produkte","farmTrading.list.emptySupply":"Noch keine Bez\xFCge erfasst.","farmTrading.list.emptyDispense":"Noch keine Abgaben erfasst.","farmTrading.list.addSupply":"Bezug hinzuf\xFCgen","farmTrading.list.addDispense":"Abgabe hinzuf\xFCgen","farmTrading.table.header.product":"Produkt","farmTrading.table.header.quantity":"Menge","farmTrading.table.header.unit":"Einheit","farmTrading.table.header.actions":"Aktionen","farmTrading.detail.titleSupply":"Bezug bearbeiten","farmTrading.detail.titleDispense":"Abgabe bearbeiten","farmTrading.detail.noSelection":"Eintrag ausw\xE4hlen oder hinzuf\xFCgen, um Details zu bearbeiten.","farmTrading.detail.general":"Allgemeine Angaben","farmTrading.detail.derivation":"Herkunft","farmTrading.detail.ingredients":"N\xE4hrstoffzusammensetzung","farmTrading.fields.product":"Hofd\xFCngerprodukt","farmTrading.fields.transactionUnit":"Transaktionseinheit","farmTrading.fields.quantity":"Menge","farmTrading.fields.quantityHint":"Menge des gelieferten oder abgegebenen Produkts: Fl\xFCssig in m^3, Fest in kg.","farmTrading.fields.manureDerivation":"Hofd\xFCnger-Herkunft","farmTrading.fields.ingredient":"Inhaltsstoffe","farmTrading.fields.molecularFormula":"Molek\xFClformel","farmTrading.fields.zoologicalAnimal":"Tierart","farmTrading.fields.percentageAllocation":"Anteil (%)","farmTrading.fields.unit":"Einheit","fieldSpreading.form.title":"Eingaben Feldausbringung","fieldSpreading.tabs.general":"Hofd\xFCnger","fieldSpreading.tabs.fertiliser":"Minerald\xFCnger","fieldSpreading.tabs.recycling":"Recyclingd\xFCnger","fieldSpreading.groups.general":"Hofd\xFCnger & Bodendaten","fieldSpreading.groups.slurry":"G\xFClleausbringung","fieldSpreading.groups.manure":"Mistausbringung","fieldSpreading.groups.fertiliser":"Minerald\xFCngereins\xE4tze","fieldSpreading.groups.recycling":"Recyclingd\xFCngereins\xE4tze","fieldSpreading.fields.soilPh":"Boden-pH","fieldSpreading.fields.slurry.quantity":"Durchschnittsmenge (m\xB3/a)","fieldSpreading.fields.slurry.dilutionRatio":"Verd\xFCnnungsverh\xE4ltnis","fieldSpreading.fields.slurry.applicationDuringWarmDays":"Ausbringung an warmen Tagen","fieldSpreading.fields.slurry.proportionAppliedSummerMonths":"Anteil Ausbringung Sommer (%)","fieldSpreading.fields.slurry.proportionAppliedOtherMonths":"Anteil \xFCbrige Monate (%)","fieldSpreading.fields.slurry.proportionAppliedAfter6PM":"Anteil nach 18 Uhr (%)","fieldSpreading.fields.slurry.dragHoseAreaSize":"Schleppschlauchpflichtige Fl\xE4che (m\xB2)","fieldSpreading.fields.slurry.otherApplicationTechnologies":"Weitere Ausbringtechniken","fieldSpreading.fields.slurry.otherTechnologyType":"Techniktyp","fieldSpreading.fields.slurry.otherTechnologyProportion":"Fl\xE4chenanteil (%)","fieldSpreading.fields.manure.applicationIncorporationTime":"Einarbeitungszeit","fieldSpreading.fields.manure.proportionAppliedSummerMonths":"Anteil Ausbringung Sommer (%)","fieldSpreading.fields.manure.proportionAppliedOtherMonths":"Anteil \xFCbrige Monate (%)","fieldSpreading.fields.fertiliser.entries":"Minerald\xFCngereintr\xE4ge","fieldSpreading.fields.fertiliser.product":"D\xFCngerkategorie","fieldSpreading.fields.fertiliser.transactionUnit":"Transaktionseinheit","fieldSpreading.fields.fertiliser.quantity":"Menge","fieldSpreading.fields.fertiliser.ingredients":"Inhaltsstoffe","fieldSpreading.fields.ingredient.molecularFormula":"Substanz","fieldSpreading.fields.ingredient.quantity":"Gehalt pro Einheit","fieldSpreading.fields.ingredient.unit":"Einheit","fieldSpreading.fields.recycling.entries":"Recyclingd\xFCngereintr\xE4ge","fieldSpreading.fields.recycling.product":"Recyclingprodukt","fieldSpreading.fields.recycling.transactionUnit":"Transaktionseinheit","fieldSpreading.fields.recycling.quantity":"Menge","fieldSpreading.fields.recycling.ingredients":"Inhaltsstoffe","lifetimePerformance.category":"Lebensleistungskorrekturen","lifetimePerformance.dailyGain.label":"Durchschnittliche t\xE4gliche Zunahme (kg)","lifetimePerformance.liveWeight.label":"Durchschnittliches Lebendgewicht (kg)","lifetimePerformance.milkProductionReport.label":"Durchschnittliche Jahresmilchmenge (kg)","validation.schema.exactlyOneLivestockSource":"Bitte w\xE4hlen Sie genau eine Quelle f\xFCr die Tierhaltungsdauer (TVD Original, TVD Final oder Selbstgemeldet)","validation.schema.durationCorrectionDaysRequired":"Korrektur-Tage erforderlich, wenn Korrektur-Menge angegeben ist","validation.schema.durationCorrectionDaysRange":"Korrektur-Tage m\xFCssen zwischen 1 und 365 liegen","validation.schema.linearCorrectionDurationRequired":"Korrekturdauer ist erforderlich, wenn lineare Korrektur aktiviert ist","validation.schema.stableSystemPermitted":"Stallsystem muss eines von sein: {{allowedValues}}","validation.schema.generic":"Validierungsfehler","validation.panel.singleIssue":"1 Validierungsproblem","validation.panel.multipleIssues":"{{count}} Validierungsprobleme","validation.panel.expandHint":"Details anzeigen","validation.panel.collapse":"Einklappen"};var Jbe={en:cY,de:dY},Jn=class t{_locale=Be("en");locale=this._locale.asReadonly();translator=(n,e)=>Jbe[this._locale()][n]??e??n;jsonFormsI18n=$e(()=>({locale:this._locale(),translate:this.translator}));setLocale(n){this._locale()!==n&&this._locale.set(n)}t(n,e){return this.translator(n,e,void 0)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})},Di=class t{constructor(n){this.i18n=n}cache=new Map;transform(n,e){let i=e?`${n}|${e}`:n,r=this.cache.get(i);return r||(r=$e(()=>this.i18n.t(n,e)),this.cache.set(i,r)),r}static \u0275fac=function(e){return new(e||t)(He(Jn,16))};static \u0275pipe=sd({name:"t",type:t,pure:!0})};function zw(t){return t&&typeof t.connect=="function"&&!(t instanceof $y)}var Pu=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Pu||{}),Rg=new te("_ViewRepeater");var np=class{applyChanges(n,e,i,r,o){n.forEachOperation((a,s,l)=>{let c,d;if(a.previousIndex==null){let u=i(a,s,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=Pu.INSERTED}else l==null?(e.remove(s),d=Pu.REMOVED):(c=e.get(s),e.move(c,l),d=Pu.MOVED);o&&o({context:c?.context,operation:d,record:a})})}detach(){}};var e0e=new te("cdk-dir-doc",{providedIn:"root",factory:t0e});function t0e(){return h(dt)}var n0e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function uY(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?n0e.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var On=(()=>{class t{get value(){return this.valueSignal()}valueSignal=Be("ltr");change=new re;constructor(){let e=h(e0e,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(uY(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $O;try{$O=typeof Intl<"u"&&Intl.v8BreakIterator}catch{$O=!1}var It=(()=>{class t{_platformId=h(Iu);isBrowser=this._platformId?$5(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||$O)&&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=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function oo(t,n=0){return fY(t)?Number(t):arguments.length===2?n:0}function fY(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function hi(t){return t instanceof Te?t.nativeElement:t}var ll=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(ll||{}),Hw,ip;function $w(){if(ip==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ip=!1,ip;if("scrollBehavior"in document.documentElement.style)ip=!0;else{let t=Element.prototype.scrollTo;t?ip=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ip=!1}}return ip}function Pg(){if(typeof document!="object"||!document)return ll.NORMAL;if(Hw==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Hw=ll.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Hw=t.scrollLeft===0?ll.NEGATED:ll.INVERTED),t.remove()}return Hw}var Nu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var i0e=20,cl=(()=>{class t{_ngZone=h(Ne);_platform=h(It);_renderer=h(ci).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new _e;_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=i0e){return this._platform.isBrowser?new yt(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(dS(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):li()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(cn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=hi(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dd=(()=>{class t{elementRef=h(Te);scrollDispatcher=h(cl);ngZone=h(Ne);dir=h(On,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new _e;_renderer=h(dn);_cleanupScroll;_elementScrolled=new _e;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Pg()!=ll.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Pg()==ll.INVERTED?e.left=e.right:Pg()==ll.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;$w()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:i:e=="end"&&(e=a?i:r),a&&Pg()==ll.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Pg()==ll.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),r0e=20,Sr=(()=>{class t{_platform=h(It);_listeners;_viewportSize;_change=new _e;_document=h(dt);constructor(){let e=h(Ne),i=h(ci).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}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:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=r0e){return e>0?this._change.pipe(dS(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=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ou=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})(),Hb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[Nu,Ou,Nu,Ou]})}return t})();var o0e=[[["caption"]],[["colgroup"],["col"]],"*"],a0e=["caption","colgroup, col","*"];function s0e(t,n){t&1&&Ve(0,2)}function l0e(t,n){t&1&&(C(0,"thead",0),io(1,1),x(),C(2,"tbody",0),io(3,2)(4,3),x(),C(5,"tfoot",0),io(6,4),x())}function c0e(t,n){t&1&&io(0,1)(1,2)(2,3)(3,4)}var dl=new te("CDK_TABLE");var Ww=(()=>{class t{template=h(kn);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),Kw=(()=>{class t{template=h(kn);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),gY=(()=>{class t{template=h(kn);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),Ng=(()=>{class t{_table=h(dl,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,Ww,5),Ft(o,Kw,5),Ft(o,gY,5)),i&2){let a;be(a=Ce())&&(r.cell=a.first),be(a=Ce())&&(r.headerCell=a.first),be(a=Ce())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Ee],stickyEnd:[2,"stickyEnd","stickyEnd",Ee]},features:[it([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),qw=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},_Y=(()=>{class t extends qw{constructor(){super(h(Ng),h(Te))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Oe]})}return t})();var vY=(()=>{class t extends qw{constructor(){let e=h(Ng),i=h(Te);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Oe]})}return t})();var qO=(()=>{class t{template=h(kn);_differs=h(Zl);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof $b?e.headerCell.template:this instanceof YO?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,features:[Yt]})}return t})(),$b=(()=>{class t extends qO{_table=h(dl,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(kn),h(Zl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Ee]},features:[Oe,Yt]})}return t})(),YO=(()=>{class t extends qO{_table=h(dl,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(kn),h(Zl))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Ee]},features:[Oe,Yt]})}return t})(),Xw=(()=>{class t extends qO{_table=h(dl,{optional:!0});when;constructor(){super(h(kn),h(Zl))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Oe]})}return t})(),rp=(()=>{class t{_viewContainer=h(Kt);cells;context;static mostRecentCellOutlet=null;constructor(){t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),WO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&io(0,0)},dependencies:[rp],encapsulation:2})}return t})();var KO=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&io(0,0)},dependencies:[rp],encapsulation:2})}return t})(),yY=(()=>{class t{templateRef=h(kn);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),mY=["top","bottom","left","right"],GO=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(n=>this._updateCachedSizes(n)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(n,e,i=!0,r=!0,o,a,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this._isBrowser=i,this._needsPositionStickyOnElement=r,this.direction=o,this._positionListener=a,this._tableInjector=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)r.nodeType===r.ELEMENT_NODE&&i.push(r,...Array.from(r.children));jn({write:()=>{for(let r of i)this._removeStickyStyle(r,e)}},{injector:this._tableInjector})}updateStickyColumns(n,e,i,r=!0,o=!0){if(!n.length||!this._isBrowser||!(e.some(_=>_)||i.some(_=>_))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=n[0],s=a.children.length,l=this.direction==="rtl",c=l?"right":"left",d=l?"left":"right",u=e.lastIndexOf(!0),m=i.indexOf(!0),f,p,g;o&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),jn({earlyRead:()=>{f=this._getCellWidths(a,r),p=this._getStickyStartColumnPositions(f,e),g=this._getStickyEndColumnPositions(f,i)},write:()=>{for(let _ of n)for(let v=0;v<s;v++){let D=_.children[v];e[v]&&this._addStickyStyle(D,c,p[v],v===u),i[v]&&this._addStickyStyle(D,d,g[v],v===m)}this._positionListener&&f.some(_=>!!_)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:f.slice(0,u+1).map((_,v)=>e[v]?_:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:m===-1?[]:f.slice(m).map((_,v)=>i[v+m]?_:null).reverse()}))}},{injector:this._tableInjector})}stickRows(n,e,i){if(!this._isBrowser)return;let r=i==="bottom"?n.slice().reverse():n,o=i==="bottom"?e.slice().reverse():e,a=[],s=[],l=[];jn({earlyRead:()=>{for(let c=0,d=0;c<r.length;c++){if(!o[c])continue;a[c]=d;let u=r[c];l[c]=this._isNativeHtmlTable?Array.from(u.children):[u];let m=this._retrieveElementSize(u).height;d+=m,s[c]=m}},write:()=>{let c=o.lastIndexOf(!0);for(let d=0;d<r.length;d++){if(!o[d])continue;let u=a[d],m=d===c;for(let f of l[d])this._addStickyStyle(f,i,u,m)}i==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:a,elements:l}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:a,elements:l})}},{injector:this._tableInjector})}updateStickyFooterContainer(n,e){this._isNativeHtmlTable&&jn({write:()=>{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(n,e){if(!n.classList.contains(this._stickCellCss))return;for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);mY.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of mY)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let o=0;o<r.length;o++){let a=r[o];i.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){let i=[],r=0;for(let o=0;o<n.length;o++)e[o]&&(i[o]=r,r+=n[o]);return i}_getStickyEndColumnPositions(n,e){let i=[],r=0;for(let o=n.length;o>0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&d0e(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function d0e(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var Yw=new te("CDK_SPL");var XO=(()=>{class t{viewContainer=h(Kt);elementRef=h(Te);constructor(){let e=h(dl);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","rowOutlet",""]]})}return t})(),QO=(()=>{class t{viewContainer=h(Kt);elementRef=h(Te);constructor(){let e=h(dl);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),ZO=(()=>{class t{viewContainer=h(Kt);elementRef=h(Te);constructor(){let e=h(dl);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),JO=(()=>{class t{viewContainer=h(Kt);elementRef=h(Te);constructor(){let e=h(dl);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),eF=(()=>{class t{_differs=h(Zl);_changeDetectorRef=h(mt);_elementRef=h(Te);_dir=h(On,{optional:!0});_platform=h(It);_viewRepeater=h(Rg);_viewportRuler=h(Sr);_stickyPositioningListener=h(Yw,{optional:!0,skipSelf:!0});_document=h(dt);_data;_onDestroy=new _e;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new re;viewChange=new Wo({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=h(ft);constructor(){h(new Vr("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((i,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Nt(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),zw(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===Pu.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=pY(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=pY(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s<i.length;s++)this._renderRows[s].rowDef===o&&a.push(i[s]);this._addStickyColumnStyles(a,o)}),r.forEach((o,a)=>{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return e;for(let r=0;r<this._data.length;r++){let o=this._data[r],a=this._getRenderRowsForData(o,r,i.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let s=0;s<a.length;s++){let l=a[s],c=this._cachedRenderRowsMap.get(l.data);c.has(l.rowDef)?c.get(l.rowDef).push(l):c.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,r){return this._getRowDefs(e,i).map(a=>{let s=r&&r.has(a)?r.get(a):[];if(s.length){let l=s.shift();return l.dataIndex=i,l}else return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Gw(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Gw(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Gw(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Gw(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let l=!!s.getColumnsDiff();return a||l},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],zw(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;zw(this.dataSource)?e=this.dataSource.connect(this):aS(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=li(this.dataSource)),this._renderChangeSubscription=e.pipe(Nt(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let r=Array.from(i?.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r<e.viewContainer.length;r++){let o=e.viewContainer.get(r);i.push(o.rootNodes[0])}return i}_getRowDefs(e,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:i}}_renderRow(e,i,r,o={}){let a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))rp.mostRecentCellOutlet&&rp.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i<r;i++){let a=e.get(i).context;a.count=r,a.first=i===0,a.last=i===r-1,a.even=i%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[i].dataIndex,a.renderIndex=i):a.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,i=>{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new GO(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:li()).pipe(Nt(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,yY,5),Ft(o,Ng,5),Ft(o,Xw,5),Ft(o,$b,5),Ft(o,YO,5)),i&2){let a;be(a=Ce())&&(r._noDataRow=a.first),be(a=Ce())&&(r._contentColumnDefs=a),be(a=Ce())&&(r._contentRowDefs=a),be(a=Ce())&&(r._contentHeaderRowDefs=a),be(a=Ce())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&De("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Ee],fixedLayout:[2,"fixedLayout","fixedLayout",Ee]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[it([{provide:dl,useExisting:t},{provide:Rg,useClass:np},{provide:Yw,useValue:null}])],ngContentSelectors:a0e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Et(o0e),Ve(0),Ve(1,1),We(2,s0e,1,0),We(3,l0e,7,0)(4,c0e,4,0)),i&2&&(E(2),Ke(r._isServer?2:-1),E(),Ke(r._isNativeHtmlTable?3:4))},dependencies:[QO,XO,JO,ZO],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
17
|
+
`],encapsulation:2})}return t})();function Gw(t,n){return t.concat(Array.from(n))}function pY(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var bY=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[Hb]})}return t})();var Gb=(()=>{class t{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qb=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new _e;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}};function op(t){return t.buttons===0||t.detail===0}function ap(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var tF;function CY(){if(tF==null){let t=typeof document<"u"?document.head:null;tF=!!(t&&(t.createShadowRoot||t.attachShadow))}return tF}function sp(t){if(CY()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function ud(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Ei(t){return t.composedPath?t.composedPath()[0]:t.target}var Yb;function DY(){if(Yb==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Yb=!0}))}finally{Yb=Yb||!1}return Yb}function Fu(t){return DY()?t:!!t.capture}var EY=new te("cdk-input-modality-detector-options"),SY={ignoreKeys:[18,17,224,91,16]},wY=650,nF={passive:!0,capture:!0},xY=(()=>{class t{_platform=h(It);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Wo(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ei(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<wY||(this._modality.next(op(e)?"keyboard":"mouse"),this._mostRecentTarget=Ei(e))};_onTouchstart=e=>{if(ap(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ei(e)};constructor(){let e=h(Ne),i=h(dt),r=h(EY,{optional:!0});if(this._options=G(G({},SY),r),this.modalityDetected=this._modality.pipe(km(1)),this.modalityChanged=this.modalityDetected.pipe(fS()),this._platform.isBrowser){let o=h(ci).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,nF),o.listen(i,"mousedown",this._onMousedown,nF),o.listen(i,"touchstart",this._onTouchstart,nF)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wb=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Wb||{}),TY=new te("cdk-focus-monitor-default-options"),Qw=Fu({passive:!0,capture:!0}),Ma=(()=>{class t{_ngZone=h(Ne);_platform=h(It);_inputModalityDetector=h(xY);_origin=null;_lastFocusOrigin;_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=h(dt);_stopInputModalityDetector=new _e;constructor(){let e=h(TY,{optional:!0});this._detectionMode=e?.detectionMode||Wb.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Ei(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=hi(e);if(!this._platform.isBrowser||r.nodeType!==1)return li();let o=sp(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new _e,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=hi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=hi(e),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}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===Wb.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===Wb.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?wY:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Ei(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,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,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Qw),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Qw)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Nt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Qw),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Qw),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kb=(()=>{class t{_elementRef=h(Te);_focusMonitor=h(Ma);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new re;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var Zw=new WeakMap,pn=(()=>{class t{_appRef;_injector=h(ft);_environmentInjector=h(Mi);load(e){let i=this._appRef=this._appRef||this._injector.get(Zo),r=Zw.get(i);r||(r={loaders:new Set,refs:[]},Zw.set(i,r),i.onDestroy(()=>{Zw.get(i)?.refs.forEach(o=>o.destroy()),Zw.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Rw(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
18
|
+
`],encapsulation:2,changeDetection:0})}return t})();function ul(t){return Array.isArray(t)?t:[t]}var IY=new Set,lp,Jw=(()=>{class t{_platform=h(It);_nonce=h(wg,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):f0e}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&u0e(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function u0e(t,n){if(!IY.has(t))try{lp||(lp=document.createElement("style"),n&&lp.setAttribute("nonce",n),lp.setAttribute("type","text/css"),document.head.appendChild(lp)),lp.sheet&&(lp.sheet.insertRule(`@media ${t} {body{ }}`,0),IY.add(t))}catch(e){console.error(e)}}function f0e(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Xb=(()=>{class t{_mediaMatcher=h(Jw);_zone=h(Ne);_queries=new Map;_destroySubject=new _e;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return AY(ul(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=AY(ul(e)).map(a=>this._registerQuery(a).observable),o=BR(r);return o=pu(o.pipe(Gi(1)),o.pipe(km(1),Js(0))),o.pipe(Gt(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new yt(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Vn(i),Gt(({matches:a})=>({query:e,matches:a})),Nt(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function AY(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function m0e(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var MY=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p0e=(()=>{class t{_mutationObserverFactory=h(MY);_observedElements=new Map;_ngZone=h(Ne);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=hi(e);return new yt(r=>{let a=this._observeElement(i).pipe(Gt(s=>s.filter(l=>!m0e(l))),cn(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new _e,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ex=(()=>{class t{_contentObserver=h(p0e);_elementRef=h(Te);event=new re;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=oo(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Js(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Ee],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),tx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({providers:[MY]})}return t})();var Og=(()=>{class t{_platform=h(It);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return g0e(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=h0e(S0e(e));if(i&&(kY(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=kY(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!D0e(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return E0e(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function h0e(t){try{return t.frameElement}catch{return null}}function g0e(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function _0e(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function v0e(t){return b0e(t)&&t.type=="hidden"}function y0e(t){return C0e(t)&&t.hasAttribute("href")}function b0e(t){return t.nodeName.toLowerCase()=="input"}function C0e(t){return t.nodeName.toLowerCase()=="a"}function NY(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function kY(t){if(!NY(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function D0e(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function E0e(t){return v0e(t)?!1:_0e(t)||y0e(t)||t.hasAttribute("contenteditable")||NY(t)}function S0e(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var nx=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?jn(n,{injector:this._injector}):setTimeout(n)}},ix=(()=>{class t{_checker=h(Og);_ngZone=h(Ne);_document=h(dt);_injector=h(ft);constructor(){h(pn).load(hs)}create(e,i=!1){return new nx(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rF=(()=>{class t{_elementRef=h(Te);_focusTrapFactory=h(ix);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){h(It).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=ud(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Ee],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Ee]},exportAs:["cdkTrapFocus"],features:[Yt]})}return t})(),OY=new te("liveAnnouncerElement",{providedIn:"root",factory:FY});function FY(){return null}var LY=new te("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),w0e=0,oF=(()=>{class t{_ngZone=h(Ne);_defaultOptions=h(LY,{optional:!0});_liveElement;_document=h(dt);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=h(OY,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${w0e++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],a=o.getAttribute("aria-owns");a?a.indexOf(e)===-1&&o.setAttribute("aria-owns",a+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lu=(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})(Lu||{}),RY="cdk-high-contrast-black-on-white",PY="cdk-high-contrast-white-on-black",iF="cdk-high-contrast-active",aF=(()=>{class t{_platform=h(It);_hasCheckedHighContrastMode;_document=h(dt);_breakpointSubscription;constructor(){this._breakpointSubscription=h(Xb).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Lu.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,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Lu.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Lu.BLACK_ON_WHITE}return Lu.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(iF,RY,PY),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Lu.BLACK_ON_WHITE?e.add(iF,RY):i===Lu.WHITE_ON_BLACK&&e.add(iF,PY)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var sF={},Sn=(()=>{class t{_appId=h(Tu);getId(e){return this._appId!=="ng"&&(e+=this._appId),sF.hasOwnProperty(e)||(sF[e]=0),`${e}${sF[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var x0e=200,rx=class{_letterKeyStream=new _e;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new _e;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:x0e;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(el(e=>this._pressedLetters.push(e)),Js(n),cn(()=>this._pressedLetters.length>0),Gt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Hn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Fg=class{_items;_activeItemIndex=Be(-1);_activeItem=Be(null);_wrap=!1;_typeaheadSubscription=tt.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Aa?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Wl(n)&&(this._effectRef=En(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new _e;change=new _e;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new rx(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(r||Hn(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Wl(this._items)?this._items():this._items instanceof Aa?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}};var up=class extends Fg{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var fp=class extends Fg{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var zY=" ";function Lg(t,n,e){let i=lx(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(zY)))}function Vu(t,n,e){let i=lx(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(zY)):t.removeAttribute(n)}function lx(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var HY="cdk-describedby-message",sx="cdk-describedby-host",cF=0,cx=(()=>{class t{_platform=h(It);_document=h(dt);_messageRegistry=new Map;_messagesContainer=null;_id=`${cF++}`;constructor(){h(pn).load(hs),this._id=h(Tu)+"-"+cF++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=lF(i,r);typeof i!="string"?(jY(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=lF(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${sx}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(sx);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");jY(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(lF(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=lx(e,"aria-describedby").filter(r=>r.indexOf(HY)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Lg(e,"aria-describedby",r.messageElement.id),e.setAttribute(sx,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,Vu(e,"aria-describedby",r.messageElement.id),e.removeAttribute(sx)}_isElementDescribedByMessage(e,i){let r=lx(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function lF(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function jY(t,n){t.id||(t.id=`${HY}-${n}-${cF++}`)}var en=(()=>{class t{constructor(){h(aF)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[Nu,Nu]})}return t})();function Ni(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Si(t){return t!=null&&`${t}`!="false"}function $Y(t,n=/\s+/){let e=[];if(t!=null){let i=Array.isArray(t)?t:`${t}`.split(n);for(let r of i){let o=`${r}`.trim();o&&e.push(o)}}return e}var T0e=[[["caption"]],[["colgroup"],["col"]],"*"],I0e=["caption","colgroup, col","*"];function A0e(t,n){t&1&&Ve(0,2)}function M0e(t,n){t&1&&(C(0,"thead",0),io(1,1),x(),C(2,"tbody",2),io(3,3)(4,4),x(),C(5,"tfoot",0),io(6,5),x())}function k0e(t,n){t&1&&io(0,1)(1,3)(2,4)(3,5)}var Bu=(()=>{class t extends eF{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&De("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[it([{provide:eF,useExisting:t},{provide:dl,useExisting:t},{provide:Rg,useClass:np},{provide:Yw,useValue:null}]),Oe],ngContentSelectors:I0e,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Et(T0e),Ve(0),Ve(1,1),We(2,A0e,1,0),We(3,M0e,7,0)(4,k0e,4,0)),i&2&&(E(2),Ke(r._isServer?2:-1),E(),Ke(r._isNativeHtmlTable?3:4))},dependencies:[QO,XO,JO,ZO],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
|
|
19
|
+
`],encapsulation:2})}return t})(),Vg=(()=>{class t extends Ww{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matCellDef",""]],features:[it([{provide:Ww,useExisting:t}]),Oe]})}return t})(),Bg=(()=>{class t extends Kw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matHeaderCellDef",""]],features:[it([{provide:Kw,useExisting:t}]),Oe]})}return t})();var jg=(()=>{class t extends Ng{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[it([{provide:Ng,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Oe]})}return t})(),Ug=(()=>{class t extends _Y{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Oe]})}return t})();var zg=(()=>{class t extends vY{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Oe]})}return t})();var Hg=(()=>{class t extends $b{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Ee]},features:[it([{provide:$b,useExisting:t}]),Oe]})}return t})();var $g=(()=>{class t extends Xw{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[it([{provide:Xw,useExisting:t}]),Oe]})}return t})(),Gg=(()=>{class t extends WO{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[it([{provide:WO,useExisting:t}]),Oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&io(0,0)},dependencies:[rp],encapsulation:2})}return t})();var qg=(()=>{class t extends KO{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[it([{provide:KO,useExisting:t}]),Oe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&io(0,0)},dependencies:[rp],encapsulation:2})}return t})();var dx=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,bY,en]})}return t})();function uF(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Yg,GY=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function fF(){if(Yg)return Yg;if(typeof document!="object"||!document)return Yg=new Set(GY),Yg;let t=document.createElement("input");return Yg=new Set(GY.filter(n=>(t.setAttribute("type",n),t.type===n))),Yg}var qY={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var R0e=new te("MATERIAL_ANIMATIONS");var YY=null;function P0e(){return h(R0e,{optional:!0})?.animationsDisabled||h(Au,{optional:!0})==="NoopAnimations"?"di-disabled":(YY??=h(Jw).matchMedia("(prefers-reduced-motion)").matches,YY?"reduced-motion":"enabled")}function an(){return P0e()!=="enabled"}var Io=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(Io||{}),mF=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Io.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},WY=Fu({passive:!0,capture:!0}),pF=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,WY)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,WY)))}_delegateEventHandler=n=>{let e=Ei(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Jb={enterDuration:225,exitDuration:150},N0e=800,KY=Fu({passive:!0,capture:!0}),XY=["mousedown","touchstart"],QY=["mouseup","mouseleave","touchend","touchcancel"],O0e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
20
|
+
`],encapsulation:2,changeDetection:0})}return t})(),mp=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new pF;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=hi(i)),o&&o.get(pn).load(O0e)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=G(G({},Jb),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||F0e(n,e,r),s=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,f=u.transitionDuration,p=m==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,g=new mF(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",g.state=Io.FADING_IN,i.persistent||(this._mostRecentTransientRipple=g);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(O),this._finishRippleTransition(g)},D=()=>this._destroyRipple(g),O=setTimeout(D,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",D),_={onTransitionEnd:v,onTransitionCancel:D,fallbackTimer:O}}),this._activeRipples.set(g,_),(p||!c)&&this._finishRippleTransition(g),g}fadeOutRipple(n){if(n.state===Io.FADING_OUT||n.state===Io.HIDDEN)return;let e=n.element,i=G(G({},Jb),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=Io.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=hi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,XY.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{QY.forEach(e=>{this._triggerElement.addEventListener(e,this,KY)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Io.FADING_IN?this._startFadeOutTransition(n):n.state===Io.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Io.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Io.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=op(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+N0e;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!ap(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Io.VISIBLE||n.config.terminateOnPointerUp&&n.state===Io.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(XY.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(QY.forEach(e=>n.removeEventListener(e,this,KY)),this._pointerUpEventsRegistered=!1))}};function F0e(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var ju=new te("mat-ripple-global-options"),_s=(()=>{class t{_elementRef=h(Te);_animationsDisabled=an();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=h(Ne),i=h(It),r=h(ju,{optional:!0}),o=h(ft);this._globalOptions=r||{},this._rippleRenderer=new mp(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:G(G(G({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,G(G({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,G(G({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var L0e={capture:!0},V0e=["focus","mousedown","mouseenter","touchstart"],hF="mat-ripple-loader-uninitialized",gF="mat-ripple-loader-class-name",ZY="mat-ripple-loader-centered",ux="mat-ripple-loader-disabled",JY=(()=>{class t{_document=h(dt);_animationsDisabled=an();_globalRippleOptions=h(ju,{optional:!0});_platform=h(It);_ngZone=h(Ne);_injector=h(ft);_eventCleanups;_hosts=new Map;constructor(){let e=h(ci).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>V0e.map(i=>e.listen(this._document,i,this._onInteraction,L0e)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(hF,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(gF))&&e.setAttribute(gF,i.className||""),i.centered&&e.setAttribute(ZY,""),i.disabled&&e.setAttribute(ux,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(ux,""):e.removeAttribute(ux)}_onInteraction=e=>{let i=Ei(e);if(i instanceof HTMLElement){let r=i.closest(`[${hF}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(gF)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Jb.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Jb.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(ux),rippleConfig:{centered:e.hasAttribute(ZY),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new mp(s,this._ngZone,i,this._platform,this._injector),c=!s.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:s,renderer:l,hasSetUpEvents:c}),e.removeAttribute(hF)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
21
|
+
`],encapsulation:2,changeDetection:0})}return t})();var B0e=["mat-icon-button",""],j0e=["*"],U0e=new te("MAT_BUTTON_CONFIG");function e8(t){return t==null?void 0:ii(t)}var fx=(()=>{class t{_elementRef=h(Te);_ngZone=h(Ne);_animationsDisabled=an();_config=h(U0e,{optional:!0});_focusMonitor=h(Ma);_cleanupClick;_renderer=h(dn);_rippleLoader=h(JY);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){h(pn).load(wr);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(Ge("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),di(r.color?"mat-"+r.color:""),De("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ee],disabled:[2,"disabled","disabled",Ee],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ee],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee],tabIndex:[2,"tabIndex","tabIndex",e8],_tabindex:[2,"tabindex","_tabindex",e8]}})}return t})(),Ao=(()=>{class t extends fx{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Oe],attrs:B0e,ngContentSelectors:j0e,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Et(),no(0,"span",0),Ve(1),no(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
|
|
22
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
23
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Wg=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();var z0e=["matButton",""],i8=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],r8=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],H0e=["mat-fab",""];var t8=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),ao=(()=>{class t extends fx{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=$0e(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?t8.get(this._appearance):null,o=t8.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Oe],attrs:z0e,ngContentSelectors:r8,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Et(i8),no(0,"span",0),Ve(1),lr(2,"span",1),Ve(3,1),yr(),Ve(4,2),no(5,"span",2)(6,"span",3)),i&2&&De("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
24
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
25
|
+
`],encapsulation:2,changeDetection:0})}return t})();function $0e(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var G0e=new te("mat-mdc-fab-default-options",{providedIn:"root",factory:o8});function o8(){return{color:"accent"}}var n8=o8(),a8=(()=>{class t extends fx{_options=h(G0e,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||n8,this.color=this._options.color||n8.color}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(i,r){i&2&&De("mdc-fab--extended",r.extended)("mat-mdc-extended-fab",r.extended)},inputs:{extended:[2,"extended","extended",Ee]},exportAs:["matButton","matAnchor"],features:[Oe],attrs:H0e,ngContentSelectors:r8,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Et(i8),no(0,"span",0),Ve(1),lr(2,"span",1),Ve(3,1),yr(),Ve(4,2),no(5,"span",2)(6,"span",3)),i&2&&De("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
|
|
26
|
+
`],encapsulation:2,changeDetection:0})}return t})();var dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,Wg,en]})}return t})();var mx;function q0e(){if(mx===void 0&&(mx=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(mx=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return mx}function e0(t){return q0e()?.createHTML(t)||t}function s8(t){return Error(`Unable to find icon with the name "${t}"`)}function Y0e(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function l8(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function c8(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var fd=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},u8=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new fd(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(To.HTML,r);if(!a)throw c8(r);let s=e0(a);return this._addSvgIconConfig(e,i,new fd("",s,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new fd(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(To.HTML,i);if(!o)throw c8(i);let a=e0(o);return this._addSvgIconSetConfig(e,new fd("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(To.RESOURCE_URL,e);if(!i)throw l8(e);let r=this._cachedIconsByUrl.get(i);return r?li(px(r)):this._loadSvgIconFromConfig(new fd(e,null)).pipe(el(o=>this._cachedIconsByUrl.set(i,o)),Gt(o=>px(o)))}getNamedSvgIcon(e,i=""){let r=d8(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):VR(s8(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?li(px(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Gt(i=>px(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return li(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(uS(s=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(To.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),li(null)})));return Wy(o).pipe(Gt(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw s8(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(el(i=>e.svgText=i),Gt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?li(null):this._fetchIcon(e).pipe(el(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(e0("<svg></svg>"));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(e0("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:a,value:s}=r[o];a!=="id"&&i.setAttribute(a,s)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw Y0e();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(To.RESOURCE_URL,i);if(!a)throw l8(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(Gt(c=>e0(c)),mS(()=>this._inProgressUrlFetches.delete(a)),Xy());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(d8(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return W0e(o)?new fd(o.url,null,o.options):new fd(o,null)}}static \u0275fac=function(i){return new(i||t)(bt(FO,8),bt(VO),bt(dt,8),bt(qi))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function px(t){return t.cloneNode(!0)}function d8(t,n){return t+":"+n}function W0e(t){return!!(t.url&&t.options)}var K0e=["*"],X0e=new te("MAT_ICON_DEFAULT_OPTIONS"),Q0e=new te("mat-icon-location",{providedIn:"root",factory:Z0e});function Z0e(){let t=h(dt),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var f8=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],J0e=f8.map(t=>`[${t}]`).join(", "),eCe=/^url\(['"]?#(.*?)['"]?\)$/,Jo=(()=>{class t{_elementRef=h(Te);_iconRegistry=h(u8);_location=h(Q0e);_errorHandler=h(qi);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=tt.EMPTY;constructor(){let e=h(new Vr("aria-hidden"),{optional:!0}),i=h(X0e,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(J0e),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)f8.forEach(a=>{let s=i[o],l=s.getAttribute(a),c=l?l.match(eCe):null;if(c){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Gi(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Ge("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),di(r.color?"mat-"+r.color:""),De("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ee],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:K0e,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
27
|
+
`],encapsulation:2,changeDetection:0})}return t})(),ea=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();function yF(t){let n=t.cloneNode(!0),e=n.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r<e.length;r++)e[r].removeAttribute("id");return i==="canvas"?h8(t,n):(i==="input"||i==="select"||i==="textarea")&&p8(t,n),m8("canvas",t,n,h8),m8("input, textarea, select",t,n,p8),n}function m8(t,n,e,i){let r=n.querySelectorAll(t);if(r.length){let o=e.querySelectorAll(t);for(let a=0;a<r.length;a++)i(r[a],o[a])}}var tCe=0;function p8(t,n){n.type!=="file"&&(n.value=t.value),n.type==="radio"&&n.name&&(n.name=`mat-clone-${n.name}-${tCe++}`)}function h8(t,n){let e=n.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch{}}function wF(t){let n=t.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function bF(t,n,e){let{top:i,bottom:r,left:o,right:a}=t;return e>=i&&e<=r&&n>=o&&n<=a}function nCe(t,n){let e=n.left<t.left,i=n.left+n.width>t.right,r=n.top<t.top,o=n.top+n.height>t.bottom;return e||i||r||o}function i0(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function g8(t,n,e,i){let{top:r,right:o,bottom:a,left:s,width:l,height:c}=t,d=l*n,u=c*n;return i>r-u&&i<a+u&&e>s-d&&e<o+d}var hx=class{_document;positions=new Map;constructor(n){this._document=n}clear(){this.positions.clear()}cache(n){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),n.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:wF(e)})})}handleScroll(n){let e=Ei(n),i=this.positions.get(e);if(!i)return null;let r=i.scrollPosition,o,a;if(e===this._document){let c=this.getViewportScrollPosition();o=c.top,a=c.left}else o=e.scrollTop,a=e.scrollLeft;let s=r.top-o,l=r.left-a;return this.positions.forEach((c,d)=>{c.clientRect&&e!==d&&e.contains(d)&&i0(c.clientRect,s,l)}),r.top=o,r.left=a,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function A8(t,n){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===n.ELEMENT_NODE)return e[0];let i=n.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function xF(t,n,e){for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];r?t.setProperty(i,r,e?.has(i)?"important":""):t.removeProperty(i)}return t}function Xg(t,n){let e=n?"":"none";xF(t.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function _8(t,n,e){xF(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function gx(t,n){return n&&n!="none"?t+" "+n:t}function v8(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=r0(n.left,n.top)}function r0(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function y8(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function iCe(t){let n=getComputedStyle(t),e=_F(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),o=_F(n,"transition-duration"),a=_F(n,"transition-delay");return y8(o[r])+y8(a[r])}function _F(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var rCe=new Set(["position"]),CF=class{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(n,e,i,r,o,a,s,l,c,d){this._document=n,this._rootElement=e,this._direction=i,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=a,this._pickupPositionOnPage=s,this._initialTransform=l,this._zIndex=c,this._renderer=d}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),b8(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return iCe(this._preview)}addEventListener(n,e){return this._renderer.listen(this._preview,n,e)}_createPreview(){let n=this._previewTemplate,e=this._previewClass,i=n?n.template:null,r;if(i&&n){let o=n.matchSize?this._initialDomRect:null,a=n.viewContainer.createEmbeddedView(i,n.context);a.detectChanges(),r=A8(a,this._document),this._previewEmbeddedView=a,n.matchSize?v8(r,o):r.style.transform=r0(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=yF(this._rootElement),v8(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return xF(r.style,{"pointer-events":"none",margin:b8(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},rCe),Xg(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}};function b8(t){return"showPopover"in t}var oCe={passive:!0},C8={passive:!1},aCe={passive:!1,capture:!0},sCe=800,D8="cdk-drag-placeholder",E8=new Set(["position"]),DF=class{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=Be(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new _e;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=tt.EMPTY;_pointerUpSubscription=tt.EMPTY;_scrollSubscription=tt.EMPTY;_resizeSubscription=tt.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(e=>Xg(e,n)))}_disabled=!1;beforeStarted=new _e;started=new _e;released=new _e;ended=new _e;entered=new _e;exited=new _e;dropped=new _e;moved=this._moveEvents;data;constrainPosition;constructor(n,e,i,r,o,a,s){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._renderer=s,this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new hx(i),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>hi(i)),this._handles.forEach(i=>Xg(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){let e=hi(n);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,C8),i.listen(e,"touchstart",this._pointerDown,oCe),i.listen(e,"dragstart",this._nativeDragStart,C8)]),this._initialTransform=void 0,this._rootElement=e}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?hi(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&nCe(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){let n=this._boundaryElement.getBoundingClientRect(),e=this._rootElement.getBoundingClientRect(),i=0,r=0;e.left<n.left?i=n.left-e.left:e.right>n.right&&(i=n.right-e.right),e.top<n.top?r=n.top-e.top:e.bottom>n.bottom&&(r=n.bottom-e.bottom);let o=this._activeTransform.x,a=this._activeTransform.y,s=o+i,l=a+r;this._rootElement.style.transform=r0(s,l),this._activeTransform={x:s,y:l},this._passiveTransform={x:s,y:l}}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),Xg(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),Xg(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){let n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){let n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=n=>{if(this.beforeStarted.next(),this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&this._initializeDragSequence(e,n)}else this.disabled||this._initializeDragSequence(this._rootElement,n)};_pointerMove=n=>{let e=this._getPointerPositionOnPage(n);if(!this._hasStartedDragging()){let r=Math.abs(e.x-this._pickupPositionOnPage.x),o=Math.abs(e.y-this._pickupPositionOnPage.y);if(r+o>=this._config.dragStartThreshold){let s=Date.now()>=this._dragStartTime+this._getDragStartDelay(n),l=this._dropContainer;if(!s){this._endDragSequence(n);return}(!l||!l.isDragging()&&!l.isReceiving())&&(n.cancelable&&n.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(n)))}return}n.cancelable&&n.preventDefault();let i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{let r=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,o=this._activeTransform;o.x=i.x-r.x+this._passiveTransform.x,o.y=i.y-r.y+this._passiveTransform.y,this._applyRootElementTransform(o.x,o.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:n,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})};_pointerUp=n=>{this._endDragSequence(n)};_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){t0(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(e,"selectstart",lCe,aCe)}),i){let r=this._rootElement,o=r.parentNode,a=this._placeholder=this._createPlaceholderElement(),s=this._marker=this._marker||this._document.createComment("");o.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new CF(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(o,e)),_8(r,!1,E8),this._document.body.appendChild(o.replaceChild(a,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),r=t0(e),o=!r&&e.button!==0,a=this._rootElement,s=Ei(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+sCe>Date.now(),c=r?ap(e):op(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||o||l||c)return;if(this._handles.length){let m=a.style;this._rootElementTapHighlight=m.webkitTapHighlightColor||"",m.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(m=>this._updateOnScroll(m)),this._boundaryElement&&(this._boundaryRect=wF(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){_8(this._rootElement,!0,E8),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:n}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{let a=this._dropContainer.getItemIndex(this),s=this._dropContainer.getItemAtIndex(a+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(o,this._dropContainer,s),this._dropContainer=o,this._dropContainer.enter(this,n,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let r=s=>{(!s||this._preview&&Ei(s)===this._preview.element&&s.propertyName==="transform")&&(a(),i(),clearTimeout(o))},o=setTimeout(r,e*1.5),a=this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let n=this._placeholderTemplate,e=n?n.template:null,i;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),i=A8(this._placeholderRef,this._document)):i=yF(this._rootElement),i.style.pointerEvents="none",i.classList.add(D8),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():n,a=t0(i)?i.targetTouches[0]:i,s=this._getViewportScrollPosition(),l=a.pageX-o.left-s.left,c=a.pageY-o.top-s.top;return{x:o.left-n.left+l,y:o.top-n.top+c}}_getPointerPositionOnPage(n){let e=this._getViewportScrollPosition(),i=t0(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){let a=this._ownerSVGElement.getScreenCTM();if(a){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=o,s.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(n){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:o,y:a}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),d=s.top+a,u=s.bottom-(c-a),m=s.left+o,f=s.right-(l-o);i=S8(i,m,f),r=S8(r,d,u)}return{x:i,y:r}}_updatePointerDirectionDelta(n){let{x:e,y:i}=n,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),s=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,Xg(this._rootElement,n))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(n=>n()),this._rootElementCleanups=void 0}_applyRootElementTransform(n,e){let i=1/this.scale,r=r0(n*i,e*i),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=gx(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=r0(n,e);this._preview.setTransform(gx(r,i))}_getDragDistance(n){let e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(n===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||i.width===0&&i.height===0)return;let o=r.left-i.left,a=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(o>0&&(n+=o),a>0&&(n-=a)):n=0,r.height>i.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){let e=this.dragStartDelay;return typeof e=="number"?e:t0(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=Ei(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&i0(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=sp(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){let i=this._previewContainer||"global";if(i==="parent")return n;if(i==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return hi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=n=>{if(this._handles.length){let e=this._getTargetHandle(n);e&&!this._disabledHandles.has(e)&&!this.disabled&&n.preventDefault()}else this.disabled||n.preventDefault()};_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}_conditionallyInsertAnchor(n,e,i){if(n===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(e===this._initialContainer&&e.hasAnchor){let r=this._anchor??=yF(this._placeholder);r.classList.remove(D8),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):hi(e.element).appendChild(r)}}};function S8(t,n,e){return Math.max(n,Math.min(e,t))}function t0(t){return t.type[0]==="t"}function lCe(t){t.preventDefault()}function vx(t,n,e){let i=w8(n,t.length-1),r=w8(e,t.length-1);if(i===r)return;let o=t[i],a=r<i?-1:1;for(let s=i;s!==r;s+=a)t[s]=t[s+a];t[r]=o}function w8(t,n){return Math.max(0,Math.min(n,t))}var _x=class{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(n){this._dragDropRegistry=n}_previousSwap={drag:null,delta:0,overlaps:!1};start(n){this.withItems(n)}sort(n,e,i,r){let o=this._itemPositions,a=this._getItemIndexFromPointerPosition(n,e,i,r);if(a===-1&&o.length>0)return null;let s=this.orientation==="horizontal",l=o.findIndex(_=>_.drag===n),c=o[a],d=o[l].clientRect,u=c.clientRect,m=l>a?1:-1,f=this._getItemOffsetPx(d,u,m),p=this._getSiblingOffsetPx(l,o,m),g=o.slice();return vx(o,l,a),o.forEach((_,v)=>{if(g[v]===_)return;let D=_.drag===n,O=D?f:p,B=D?n.getPlaceholderElement():_.drag.getRootElement();_.offset+=O;let F=Math.round(_.offset*(1/_.drag.scale));s?(B.style.transform=gx(`translate3d(${F}px, 0, 0)`,_.initialTransform),i0(_.clientRect,0,O)):(B.style.transform=gx(`translate3d(0, ${F}px, 0)`,_.initialTransform),i0(_.clientRect,O,0))}),this._previousSwap.overlaps=bF(u,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:l,currentIndex:a}}enter(n,e,i,r){let o=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r,a=this._activeDraggables,s=a.indexOf(n),l=n.getPlaceholderElement(),c=a[o];if(c===n&&(c=a[o+1]),!c&&(o==null||o===-1||o<a.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(c=a[0]),s>-1&&a.splice(s,1),c&&!this._dragDropRegistry.isDragging(c)){let d=c.getRootElement();d.parentElement.insertBefore(l,d),a.splice(o,0,n)}else this._element.appendChild(l),a.push(n);l.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables?.forEach(n=>{let e=n.getRootElement();if(e){let i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return this._getVisualItemPositions().findIndex(e=>e.drag===n)}getItemAtIndex(n){return this._getVisualItemPositions()[n]?.drag||null}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:i})=>{i0(i,n,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(n){this._element=n}_cacheItemPositions(){let n=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:wF(i)}}).sort((e,i)=>n?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getVisualItemPositions(){return this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(n,e,i){let r=this.orientation==="horizontal",o=r?e.left-n.left:e.top-n.top;return i===-1&&(o+=r?e.width-n.width:e.height-n.height),o}_getSiblingOffsetPx(n,e,i){let r=this.orientation==="horizontal",o=e[n].clientRect,a=e[n+i*-1],s=o[r?"width":"height"]*i;if(a){let l=r?"left":"top",c=r?"right":"bottom";i===-1?s-=a.clientRect[l]-o[c]:s+=o[l]-a.clientRect[c]}return s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,r=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let a=i[i.length-1].clientRect;return r?n>=a.right:e>=a.bottom}else{let a=i[0].clientRect;return r?n<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(n,e,i,r){let o=this.orientation==="horizontal",a=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===n)return!1;if(r){let c=o?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&c===this._previousSwap.delta)return!1}return o?e>=Math.floor(l.left)&&e<Math.floor(l.right):i>=Math.floor(l.top)&&i<Math.floor(l.bottom)});return a===-1||!this._sortPredicate(a,n)?-1:a}},EF=class{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(n,e){this._document=n,this._dragDropRegistry=e}start(n){let e=this._element.childNodes;this._relatedNodes=[];for(let i=0;i<e.length;i++){let r=e[i];this._relatedNodes.push([r,r.nextSibling])}this.withItems(n)}sort(n,e,i,r){let o=this._getItemIndexFromPointerPosition(n,e,i),a=this._previousSwap;if(o===-1||this._activeItems[o]===n)return null;let s=this._activeItems[o];if(a.drag===s&&a.overlaps&&a.deltaX===r.x&&a.deltaY===r.y)return null;let l=this.getItemIndex(n),c=n.getPlaceholderElement(),d=s.getRootElement();o>l?d.after(c):d.before(c),vx(this._activeItems,l,o);let u=this._getRootNode().elementFromPoint(e,i);return a.deltaX=r.x,a.deltaY=r.y,a.drag=s,a.overlaps=d===u||d.contains(u),{previousIndex:l,currentIndex:o}}enter(n,e,i,r){let o=this._activeItems.indexOf(n);o>-1&&this._activeItems.splice(o,1);let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r;a===-1&&(a=this._getClosestItemIndexToPointer(n,e,i));let s=this._activeItems[a];s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(a,0,n),s.getRootElement().before(n.getPlaceholderElement())):(this._activeItems.push(n),this._element.appendChild(n.getPlaceholderElement()))}withItems(n){this._activeItems=n.slice()}withSortPredicate(n){this._sortPredicate=n}reset(){let n=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[r,o]=this._relatedNodes[i];r.parentNode===n&&r.nextSibling!==o&&(o===null?n.appendChild(r):o.parentNode===n&&n.insertBefore(r,o))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(n){return this._activeItems.indexOf(n)}getItemAtIndex(n){return this._activeItems[n]||null}updateOnScroll(){this._activeItems.forEach(n=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(n){n!==this._element&&(this._element=n,this._rootNode=void 0)}_getItemIndexFromPointerPosition(n,e,i){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),o=r?this._activeItems.findIndex(a=>{let s=a.getRootElement();return r===s||s.contains(r)}):-1;return o===-1||!this._sortPredicate(o,n)?-1:o}_getRootNode(){return this._rootNode||(this._rootNode=sp(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(n,e,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,o=-1;for(let a=0;a<this._activeItems.length;a++){let s=this._activeItems[a];if(s!==n){let{x:l,y:c}=s.getRootElement().getBoundingClientRect(),d=Math.hypot(e-l,i-c);d<r&&(r=d,o=a)}}return o}},x8=.05,M8=.05,vs=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(vs||{}),Mo=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(Mo||{}),SF=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new _e;entered=new _e;exited=new _e;dropped=new _e;sorted=new _e;receivingStarted=new _e;receivingStopped=new _e;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=tt.EMPTY;_verticalScrollDirection=vs.NONE;_horizontalScrollDirection=Mo.NONE;_scrollNode;_stopScrollTimers=new _e;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(n,e,i,r,o){this._dragDropRegistry=e,this._ngZone=r,this._viewportRuler=o;let a=this.element=hi(n);this._document=i,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new hx(i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,i,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,i,r,o,a,s,l={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:s,event:l})}withItems(n){let e=this._draggables;return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>n.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._direction=n,this._sortStrategy instanceof _x&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new EF(this._document,this._dragDropRegistry);else{let e=new _x(this._dragDropRegistry);e.direction=this._direction,e.orientation=n,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(n){let e=this._container;return this._scrollableElements=n.indexOf(e)===-1?[e,...n]:n.slice(),this}withElementContainer(n){if(n===this._container)return this;let e=hi(this.element),i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(n);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(n),this._cachedShadowRoot=null,this._scrollableElements.unshift(n),this._container=n,this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}getItemAtIndex(n){return this._isDragging?this._sortStrategy.getItemAtIndex(n):this._draggables[n]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,i,r){if(this.sortingDisabled||!this._domRect||!g8(this._domRect,x8,e,i))return;let o=this._sortStrategy.sort(n,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let i,r=vs.NONE,o=Mo.NONE;if(this._parentPositions.positions.forEach((a,s)=>{s===this._document||!a.clientRect||i||g8(a.clientRect,x8,n,e)&&([r,o]=cCe(s,a.clientRect,this._direction,n,e),(r||o)&&(i=s))}),!r&&!o){let{width:a,height:s}=this._viewportRuler.getViewportSize(),l={width:a,height:s,top:0,right:a,bottom:s,left:0};r=k8(l,e),o=R8(l,n),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let n=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let n=this._container.style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),jR(0,qE).pipe(Nt(this._stopScrollTimers)).subscribe(()=>{let n=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===vs.UP?n.scrollBy(0,-e):this._verticalScrollDirection===vs.DOWN&&n.scrollBy(0,e),this._horizontalScrollDirection===Mo.LEFT?n.scrollBy(-e,0):this._horizontalScrollDirection===Mo.RIGHT&&n.scrollBy(e,0)})};_isOverContainer(n,e){return this._domRect!=null&&bF(this._domRect,n,e)}_getSiblingContainerFromPosition(n,e,i){return this._siblings.find(r=>r._canReceive(n,e,i))}_canReceive(n,e,i){if(!this._domRect||!bF(this._domRect,e,i)||!this.enterPredicate(n,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,i);return r?r===this._container||this._container.contains(r):!1}_startReceiving(n,e){let i=this._activeSiblings;!i.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let n=sp(this._container);this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}};function k8(t,n){let{top:e,bottom:i,height:r}=t,o=r*M8;return n>=e-o&&n<=e+o?vs.UP:n>=i-o&&n<=i+o?vs.DOWN:vs.NONE}function R8(t,n){let{left:e,right:i,width:r}=t,o=r*M8;return n>=e-o&&n<=e+o?Mo.LEFT:n>=i-o&&n<=i+o?Mo.RIGHT:Mo.NONE}function cCe(t,n,e,i,r){let o=k8(n,r),a=R8(n,i),s=vs.NONE,l=Mo.NONE;if(o){let c=t.scrollTop;o===vs.UP?c>0&&(s=vs.UP):t.scrollHeight-c>t.clientHeight&&(s=vs.DOWN)}if(a){let c=t.scrollLeft;e==="rtl"?a===Mo.RIGHT?c<0&&(l=Mo.RIGHT):t.scrollWidth+c>t.clientWidth&&(l=Mo.LEFT):a===Mo.LEFT?c>0&&(l=Mo.LEFT):t.scrollWidth-c>t.clientWidth&&(l=Mo.RIGHT)}return[s,l]}var n0={capture:!0},vF={passive:!1,capture:!0},dCe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],decls:0,vars:0,template:function(i,r){},styles:[`@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}
|
|
28
|
+
`],encapsulation:2,changeDetection:0})}return t})(),P8=(()=>{class t{_ngZone=h(Ne);_document=h(dt);_styleLoader=h(pn);_renderer=h(ci).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new _e;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=Be([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new _e;pointerUp=new _e;constructor(){}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,vF)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._cleanupDocumentTouchmove?.()}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._styleLoader.load(dCe),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=i.type.startsWith("touch"),o=s=>this.pointerUp.next(s),a=[["scroll",s=>this._scroll.next(s),n0],["selectstart",this._preventDefaultWhileDragging,vF]];r?a.push(["touchend",o,n0],["touchcancel",o,n0]):a.push(["mouseup",o,n0]),r||a.push(["mousemove",s=>this.pointerMove.next(s),vF]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=a.map(([s,l,c])=>this._renderer.listen(this._document,s,l,c))})}}stopDragging(e){this._activeDragInstances.update(i=>{let r=i.indexOf(e);return r>-1?(i.splice(r,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this._scroll];return e&&e!==this._document&&i.push(new yt(r=>this._ngZone.runOutsideAngular(()=>{let o=this._renderer.listen(e,"scroll",a=>{this._activeDragInstances().length&&r.next(a)},n0);return()=>{o()}}))),Nn(...i)}registerDirectiveNode(e,i){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(e,i)}removeDirectiveNode(e){this._domNodesToDirectives?.delete(e)}getDragDirectiveForNode(e){return this._domNodesToDirectives?.get(e)||null}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=e=>{this._activeDragInstances().length>0&&e.preventDefault()};_persistentTouchmoveListener=e=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))};_clearGlobalListeners(){this._globalListeners?.forEach(e=>e()),this._globalListeners=void 0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uCe={dragStartThreshold:5,pointerDirectionChangeThreshold:5},N8=(()=>{class t{_document=h(dt);_ngZone=h(Ne);_viewportRuler=h(Sr);_dragDropRegistry=h(P8);_renderer=h(ci).createRenderer(null,null);constructor(){}createDrag(e,i=uCe){return new DF(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(e){return new SF(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),T8=new te("CDK_DRAG_PARENT");var fCe=new te("CdkDragHandle");var O8=new te("CDK_DRAG_CONFIG"),F8=new te("CdkDropList"),L8=(()=>{class t{element=h(Te);dropContainer=h(F8,{optional:!0,skipSelf:!0});_ngZone=h(Ne);_viewContainerRef=h(Kt);_dir=h(On,{optional:!0});_changeDetectorRef=h(mt);_selfHandle=h(fCe,{optional:!0,self:!0});_parentDrag=h(T8,{optional:!0,skipSelf:!0});_dragDropRegistry=h(P8);_destroyed=new _e;_handles=new Wo([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!!(this.dropContainer&&this.dropContainer.disabled)}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new re;released=new re;ended=new re;entered=new re;exited=new re;dropped=new re;moved=new yt(e=>{let i=this._dragRef.moved.pipe(Gt(r=>({source:this,pointerPosition:r.pointerPosition,event:r.event,delta:r.delta,distance:r.distance}))).subscribe(e);return()=>{i.unsubscribe()}});_injector=h(ft);constructor(){let e=this.dropContainer,i=h(O8,{optional:!0}),r=h(N8);this._dragRef=r.createDrag(this.element,{dragStartThreshold:i&&i.dragStartThreshold!=null?i.dragStartThreshold:5,pointerDirectionChangeThreshold:i&&i.pointerDirectionChangeThreshold!=null?i.pointerDirectionChangeThreshold:5,zIndex:i?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),i&&this._assignDefaults(i),e&&(e.addItem(this),e._dropListRef.beforeStarted.pipe(Nt(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){jn(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(e){let i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){let i=this._handles.getValue();i.push(e),this._handles.next(i)}_removeHandle(e){let i=this._handles.getValue(),r=i.indexOf(e);r>-1&&(i.splice(r,1),this._handles.next(i))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):hi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.scale=this.scale,e.dragStartDelay=typeof r=="object"&&r?r:oo(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Gi(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){let r=this._dragDropRegistry.getDragDirectiveForNode(i);if(r){e.withParent(r._dragRef);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){let{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:a,boundaryElement:s,draggingDisabled:l,rootElementSelector:c,previewContainer:d}=e;this.disabled=l??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),s&&(this.boundaryElement=s),c&&(this.rootElementSelector=c),d&&(this.previewContainer=d)}_setupHandlesListener(){this._handles.pipe(el(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Qr(e=>Nn(...e.map(i=>i._stateChanges.pipe(Vn(i))))),Nt(this._destroyed)).subscribe(e=>{let i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){i&2&&De("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",Ee],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",ii]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[it([{provide:T8,useExisting:t}]),Yt]})}return t})(),I8=new te("CdkDropListGroup");var V8=(()=>{class t{element=h(Te);_changeDetectorRef=h(mt);_scrollDispatcher=h(cl);_dir=h(On,{optional:!0});_group=h(I8,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new _e;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=h(Sn).getId("cdk-drop-list-");lockAxis;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;hasAnchor;dropped=new re;entered=new re;exited=new re;sorted=new re;_unsortedItems=new Set;constructor(){let e=h(N8),i=h(O8,{optional:!0});this._dropListRef=e.createDropList(this.element),this._dropListRef.data=this,i&&this._assignDefaults(i),this._dropListRef.enterPredicate=(r,o)=>this.enterPredicate(r.data,o.data),this._dropListRef.sortPredicate=(r,o,a)=>this.sortPredicate(r,o.data,a.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(e){this._unsortedItems.add(e),e._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef))}removeItem(e){if(this._unsortedItems.delete(e),this._latestSortedRefs){let i=this._latestSortedRefs.indexOf(e._dragRef);i>-1&&(this._latestSortedRefs.splice(i,1),this._syncItemsWithRef(this._latestSortedRefs))}}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){let e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Vn(this._dir.value),Nt(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=ul(this.connectedTo).map(r=>{if(typeof r=="string"){let o=t._dropLists.find(a=>a.id===r);return o}return r});if(this._group&&this._group._items.forEach(r=>{i.indexOf(r)===-1&&i.push(r)}),!this._scrollableParentsResolved){let r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let r=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(r)}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=oo(this.autoScrollStep,2),e.hasAnchor=this.hasAnchor,e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(i=>i._dragRef)),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),Nn(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){let{lockAxis:i,draggingDisabled:r,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:s}=e;this.disabled=r??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=s||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(e){this._latestSortedRefs=e,this._dropListRef.withItems(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,r){i&2&&(Ge("id",r.id),De("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",Ee],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Ee],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Ee],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",Ee]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[it([{provide:I8,useValue:void 0},{provide:F8,useExisting:t}])]})}return t})();var ml=[{animalGroup:"ALPACA",descriptor:{designation_deu:"Alpaca \xFCber 2-J\xE4hrig",designation_eng:"Alpaca \xFCber 2-J\xE4hrig",designation_fra:"Alpaca \xFCber 2-J\xE4hrig",designation_ita:"Alpaca \xFCber 2-J\xE4hrig"},fodderConsumption:550,fodderConsumptionDt:5.5,id:1,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:18,nutrientAccumulationMg:1,nutrientAccumulationNges:9.35,nutrientAccumulationNlos:40,nutrientAccumulationNtot:11,nutrientAccumulationP2O5:4,unit:"pl",zoologicalAnimal:"1CAMEF"},{animalGroup:"ALPACA",descriptor:{designation_deu:"Alpaca bis 2-j\xE4hrig",designation_eng:"Alpaca bis 2-j\xE4hrig",designation_fra:"Alpaca bis 2-j\xE4hrig",designation_ita:"Alpaca bis 2-j\xE4hrig"},fodderConsumption:300,fodderConsumptionDt:3,id:2,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:9,nutrientAccumulationMg:.5,nutrientAccumulationNges:5.95,nutrientAccumulationNlos:40,nutrientAccumulationNtot:7,nutrientAccumulationP2O5:2.5,unit:"pl",zoologicalAnimal:"1CAMEF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"Strauss \xE4lter als 13 Monate",designation_eng:"Strauss \xE4lter als 13 Monate",designation_fra:"Strauss \xE4lter als 13 Monate",designation_ita:"Strauss \xE4lter als 13 Monate"},fodderConsumption:1100,fodderConsumptionDt:11,id:40,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:15,nutrientAccumulationMg:1.3,nutrientAccumulationNges:14.4,nutrientAccumulationNlos:60,nutrientAccumulationNtot:24,nutrientAccumulationP2O5:10,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"Strauss bis 13 Monate",designation_eng:"Strauss bis 13 Monate",designation_fra:"Strauss bis 13 Monate",designation_ita:"Strauss bis 13 Monate"},fodderConsumption:200,fodderConsumptionDt:2,id:41,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:8,nutrientAccumulationMg:.8,nutrientAccumulationNges:6.6,nutrientAccumulationNlos:60,nutrientAccumulationNtot:11,nutrientAccumulationP2O5:6,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"Enten",designation_eng:"Enten",designation_fra:"Enten",designation_ita:"Enten"},id:42,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.24,nutrientAccumulationMg:.05,nutrientAccumulationNges:.396,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.66,nutrientAccumulationP2O5:.34,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"G\xE4nse",designation_eng:"G\xE4nse",designation_fra:"G\xE4nse",designation_ita:"G\xE4nse"},id:43,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.3,nutrientAccumulationMg:.14,nutrientAccumulationNges:.63,nutrientAccumulationNlos:60,nutrientAccumulationNtot:1.05,nutrientAccumulationP2O5:.53,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"Perlh\xFChner",designation_eng:"Perlh\xFChner",designation_fra:"Perlh\xFChner",designation_ita:"Perlh\xFChner"},id:44,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.14,nutrientAccumulationMg:.03,nutrientAccumulationNges:.228,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.38,nutrientAccumulationP2O5:.19,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"POULTRY_OTHER",descriptor:{designation_deu:"Wachteln",designation_eng:"Wachteln",designation_fra:"Wachteln",designation_ita:"Wachteln"},id:45,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.065,nutrientAccumulationMg:0,nutrientAccumulationNges:.18,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.3,nutrientAccumulationP2O5:.18,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"CATTLE_BEEF",descriptor:{designation_deu:"Rindviehmast Weidemast > 4 Monate",designation_eng:"Rindviehmast Weidemast > 4 Monate",designation_fra:"Rindviehmast Weidemast > 4 Monate",designation_ita:"Rindviehmast Weidemast > 4 Monate"},fodderConsumption:2400,fodderConsumptionDt:24,id:53,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:65,nutrientAccumulationMg:5,nutrientAccumulationNges:36,nutrientAccumulationNlos:55,nutrientAccumulationNtot:45,nutrientAccumulationP2O5:18,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_DAIRY",descriptor:{designation_deu:"Ausmastkuh",designation_eng:"Ausmastkuh",designation_fra:"Ausmastkuh",designation_ita:"Ausmastkuh"},fodderConsumption:5330,fodderConsumptionDt:53.3,id:59,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!0,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!0,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:155,nutrientAccumulationMg:10.8,nutrientAccumulationNges:79.48,nutrientAccumulationNlos:55,nutrientAccumulationNtot:93.5,nutrientAccumulationP2O5:30,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_DAIRY",descriptor:{designation_deu:"Galtkuh",designation_eng:"Galtkuh",designation_fra:"Galtkuh",designation_ita:"Galtkuh"},fodderConsumption:4060,fodderConsumptionDt:40.6,id:60,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!0,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!0,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:128.8,nutrientAccumulationMg:8.4,nutrientAccumulationNges:68.43,nutrientAccumulationNlos:55,nutrientAccumulationNtot:80.5,nutrientAccumulationP2O5:28.7,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_RAISING",descriptor:{designation_deu:"Jungvieh 1-2-j\xE4hrig",designation_eng:"Jungvieh 1-2-j\xE4hrig",designation_fra:"Jungvieh 1-2-j\xE4hrig",designation_ita:"Jungvieh 1-2-j\xE4hrig"},fodderConsumption:2600,fodderConsumptionDt:26,id:4,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:62.5,nutrientAccumulationMg:5.5,nutrientAccumulationNges:36.13,nutrientAccumulationNlos:55,nutrientAccumulationNtot:42.5,nutrientAccumulationP2O5:14,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"BISON",descriptor:{designation_deu:"Bison > 900 d",designation_eng:"Bison > 900 d",designation_fra:"Bison > 900 d",designation_ita:"Bison > 900 d"},fodderConsumption:3900,fodderConsumptionDt:39,id:7,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:110,nutrientAccumulationMg:6,nutrientAccumulationNges:51,nutrientAccumulationNlos:40,nutrientAccumulationNtot:60,nutrientAccumulationP2O5:30,unit:"pl",zoologicalAnimal:"1BISOG"},{animalGroup:"BISON",descriptor:{designation_deu:"Bison bis 900 d",designation_eng:"Bison bis 900 d",designation_fra:"Bison bis 900 d",designation_ita:"Bison bis 900 d"},fodderConsumption:1800,fodderConsumptionDt:18,id:8,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:45,nutrientAccumulationMg:2.5,nutrientAccumulationNges:17,nutrientAccumulationNlos:40,nutrientAccumulationNtot:20,nutrientAccumulationP2O5:10,unit:"pl",zoologicalAnimal:"1BISOG"},{animalGroup:"PIGLET",descriptor:{designation_deu:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG",designation_eng:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG",designation_fra:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG",designation_ita:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG"},id:67,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:.24,nutrientAccumulationMg:.5,nutrientAccumulationNges:.33,nutrientAccumulationNlos:70,nutrientAccumulationNtot:.41,nutrientAccumulationP2O5:.17,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"BOAR",descriptor:{designation_deu:"Eber",designation_eng:"Eber",designation_fra:"Eber",designation_ita:"Eber"},fodderConsumption:0,fodderConsumptionDt:0,id:10,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:650,nutrientAccumulationK2O:9.6,nutrientAccumulationMg:1.5,nutrientAccumulationNges:14.4,nutrientAccumulationNlos:70,nutrientAccumulationNtot:18,nutrientAccumulationP2O5:10,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"SOW_DRY",descriptor:{designation_deu:"Galtsau; pro Umtrieb, 124 d pro Umtrieb",designation_eng:"Galtsau; pro Umtrieb, 124 d pro Umtrieb",designation_fra:"Galtsau; pro Umtrieb, 124 d pro Umtrieb",designation_ita:"Galtsau; pro Umtrieb, 124 d pro Umtrieb"},fodderConsumption:0,fodderConsumptionDt:0,id:47,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,maximumFodderConsumption:900,nutrientAccumulationK2O:5.44,nutrientAccumulationMg:.78,nutrientAccumulationNges:6.66,nutrientAccumulationNlos:70,nutrientAccumulationNtot:8.33,nutrientAccumulationP2O5:5.1,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"SOW_DRY",descriptor:{designation_deu:"Galtsauenplatz: 2.94 Umtriebe pro Jahr",designation_eng:"Galtsauenplatz: 2.94 Umtriebe pro Jahr",designation_fra:"Galtsauenplatz: 2.94 Umtriebe pro Jahr",designation_ita:"Galtsauenplatz: 2.94 Umtriebe pro Jahr"},fodderConsumption:0,fodderConsumptionDt:0,id:12,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:900,nutrientAccumulationK2O:16,nutrientAccumulationMg:2.3,nutrientAccumulationNges:19.6,nutrientAccumulationNlos:70,nutrientAccumulationNtot:24.5,nutrientAccumulationP2O5:15,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"DEER",descriptor:{designation_deu:"Damhirsch; 1 Muttertier und Nachwuchs bis 16 Mt., eine Einheit = zwei Tiere am Stichtag",designation_eng:"Damhirsch; 1 Muttertier und Nachwuchs bis 16 Mt., eine Einheit = zwei Tiere am Stichtag",designation_fra:"Damhirsch; 1 Muttertier und Nachwuchs bis 16 Mt., eine Einheit = zwei Tiere am Stichtag",designation_ita:"Damhirsch; 1 Muttertier und Nachwuchs bis 16 Mt., eine Einheit = zwei Tiere am Stichtag"},fodderConsumption:1e3,fodderConsumptionDt:10,id:9,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:29,nutrientAccumulationMg:2.4,nutrientAccumulationNges:17,nutrientAccumulationNlos:40,nutrientAccumulationNtot:20,nutrientAccumulationP2O5:7,unit:"pl",zoologicalAnimal:"1CERVF"},{animalGroup:"DEER",descriptor:{designation_deu:"Rothirsch; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_eng:"Rothirsch; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_fra:"Rothirsch; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_ita:"Rothirsch; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag"},fodderConsumption:2e3,fodderConsumptionDt:20,id:35,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:58,nutrientAccumulationMg:4.8,nutrientAccumulationNges:34,nutrientAccumulationNlos:40,nutrientAccumulationNtot:40,nutrientAccumulationP2O5:14,unit:"pl",zoologicalAnimal:"1CERVF"},{animalGroup:"PULLET",descriptor:{designation_deu:"Junghennenpl\xE4tze, 2.25 Umtriebe",designation_eng:"Junghennenpl\xE4tze, 2.25 Umtriebe",designation_fra:"Junghennenpl\xE4tze, 2.25 Umtriebe",designation_ita:"Junghennenpl\xE4tze, 2.25 Umtriebe"},id:13,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.12,nutrientAccumulationMg:.025,nutrientAccumulationNges:.18,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.3,nutrientAccumulationP2O5:.17,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"PULLET",descriptor:{designation_deu:"Junghennen",designation_eng:"Junghennen",designation_fra:"Junghennen",designation_ita:"Junghennen"},id:48,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.053,nutrientAccumulationMg:.0111,nutrientAccumulationNges:.0798,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.133,nutrientAccumulationP2O5:.076,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"RABBIT",descriptor:{designation_deu:"Kaninchen-Jungtier (ab ca. 35 d)",designation_eng:"Kaninchen-Jungtier (ab ca. 35 d)",designation_fra:"Kaninchen-Jungtier (ab ca. 35 d)",designation_ita:"Kaninchen-Jungtier (ab ca. 35 d)"},fodderConsumption:4,fodderConsumptionDt:.04,id:14,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.75,nutrientAccumulationMg:0,nutrientAccumulationNges:.6715,nutrientAccumulationNlos:40,nutrientAccumulationNtot:.79,nutrientAccumulationP2O5:.48,unit:"pl",zoologicalAnimal:"1LEPUF"},{animalGroup:"RABBIT",descriptor:{designation_deu:"Produzierende Zibbe (inkl. Jungtier bis ca. 35 d)",designation_eng:"Produzierende Zibbe (inkl. Jungtier bis ca. 35 d)",designation_fra:"Produzierende Zibbe (inkl. Jungtier bis ca. 35 d)",designation_ita:"Produzierende Zibbe (inkl. Jungtier bis ca. 35 d)"},fodderConsumption:36,fodderConsumptionDt:.36,id:33,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:2.5,nutrientAccumulationMg:0,nutrientAccumulationNges:2.21,nutrientAccumulationNlos:40,nutrientAccumulationNtot:2.6,nutrientAccumulationP2O5:1.5,unit:"pl",zoologicalAnimal:"1LEPUF"},{animalGroup:"LAMA",descriptor:{designation_deu:"Lama \xFCber 2-j\xE4hrig",designation_eng:"Lama \xFCber 2-j\xE4hrig",designation_fra:"Lama \xFCber 2-j\xE4hrig",designation_ita:"Lama \xFCber 2-j\xE4hrig"},fodderConsumption:850,fodderConsumptionDt:8.5,id:15,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:28,nutrientAccumulationMg:1.7,nutrientAccumulationNges:14.45,nutrientAccumulationNlos:40,nutrientAccumulationNtot:17,nutrientAccumulationP2O5:6.5,unit:"pl",zoologicalAnimal:"1CAMEF"},{animalGroup:"LAMA",descriptor:{designation_deu:"Lama bis 2-j\xE4hrig",designation_eng:"Lama bis 2-j\xE4hrig",designation_fra:"Lama bis 2-j\xE4hrig",designation_ita:"Lama bis 2-j\xE4hrig"},fodderConsumption:490,fodderConsumptionDt:4.9,id:16,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:15,nutrientAccumulationMg:1,nutrientAccumulationNges:9.35,nutrientAccumulationNlos:40,nutrientAccumulationNtot:11,nutrientAccumulationP2O5:4,unit:"pl",zoologicalAnimal:"1CAMEF"},{animalGroup:"PORKER",descriptor:{designation_deu:"Mastschweineplatz (MSP) / Remonte: Zuwachs 26-108 kg LG, FV 2.6, 3.32 Umtriebe pro Jahr",designation_eng:"Mastschweineplatz (MSP) / Remonte: Zuwachs 26-108 kg LG, FV 2.6, 3.32 Umtriebe pro Jahr",designation_fra:"Mastschweineplatz (MSP) / Remonte: Zuwachs 26-108 kg LG, FV 2.6, 3.32 Umtriebe pro Jahr",designation_ita:"Mastschweineplatz (MSP) / Remonte: Zuwachs 26-108 kg LG, FV 2.6, 3.32 Umtriebe pro Jahr"},fodderConsumption:0,fodderConsumptionDt:0,id:20,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:34,nutrientAccumulationK2O:5.8,nutrientAccumulationMg:1.4,nutrientAccumulationNges:10.4,nutrientAccumulationNlos:70,nutrientAccumulationNtot:13,nutrientAccumulationP2O5:5.3,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"PIGLET",descriptor:{designation_deu:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG, FV 1.68, 9.61 Umtriebe",designation_eng:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG, FV 1.68, 9.61 Umtriebe",designation_fra:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG, FV 1.68, 9.61 Umtriebe",designation_ita:"Abgesetzte Ferkel, Zuwachs 8-26 kg LG, FV 1.68, 9.61 Umtriebe"},id:11,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:2.3,nutrientAccumulationMg:.5,nutrientAccumulationNges:3.12,nutrientAccumulationNlos:70,nutrientAccumulationNtot:3.9,nutrientAccumulationP2O5:1.7,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"CATTLE_RAISING",descriptor:{designation_deu:"Jungvieh 160-365 Tage alt",designation_eng:"Jungvieh 160-365 Tage alt",designation_fra:"Jungvieh 160-365 Tage alt",designation_ita:"Jungvieh 160-365 Tage alt"},fodderConsumption:2020,fodderConsumptionDt:20.2,id:6,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:51.9,nutrientAccumulationMg:6.1,nutrientAccumulationNges:26.35,nutrientAccumulationNlos:55,nutrientAccumulationNtot:31,nutrientAccumulationP2O5:12,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"BROILER",descriptor:{designation_deu:"Mastpouletpl\xE4tze",designation_eng:"Mastpouletpl\xE4tze",designation_fra:"Mastpouletpl\xE4tze",designation_ita:"Mastpouletpl\xE4tze"},id:19,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.22,nutrientAccumulationMg:.044,nutrientAccumulationNges:.216,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.36,nutrientAccumulationP2O5:.13,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"PORKER",descriptor:{designation_deu:"Mastschweineplatz / Remonte: Zuwachs 26- 108 kg LG, FV 2.6",designation_eng:"Mastschweineplatz / Remonte: Zuwachs 26- 108 kg LG, FV 2.6",designation_fra:"Mastschweineplatz / Remonte: Zuwachs 26- 108 kg LG, FV 2.6",designation_ita:"Mastschweineplatz / Remonte: Zuwachs 26- 108 kg LG, FV 2.6"},fodderConsumption:0,fodderConsumptionDt:0,id:50,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:50,nutrientAccumulationK2O:1.75,nutrientAccumulationMg:.42,nutrientAccumulationNges:3.14,nutrientAccumulationNlos:70,nutrientAccumulationNtot:3.92,nutrientAccumulationP2O5:1.6,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"TURKEY_FATTENING",descriptor:{designation_deu:"Masttrutenpl\xE4tze, 2.8 Umtriebe",designation_eng:"Masttrutenpl\xE4tze, 2.8 Umtriebe",designation_fra:"Masttrutenpl\xE4tze, 2.8 Umtriebe",designation_ita:"Masttrutenpl\xE4tze, 2.8 Umtriebe"},id:22,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.4,nutrientAccumulationMg:.18,nutrientAccumulationNges:.84,nutrientAccumulationNlos:60,nutrientAccumulationNtot:1.4,nutrientAccumulationP2O5:.7,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"TURKEY_FATTENING",descriptor:{designation_deu:"Masttruten",designation_eng:"Masttruten",designation_fra:"Masttruten",designation_ita:"Masttruten"},id:55,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.1429,nutrientAccumulationMg:.0643,nutrientAccumulationNges:.3,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.5,nutrientAccumulationP2O5:.25,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"TURKEY_FATTENING",descriptor:{designation_deu:"Truten-Vormastpl\xE4tze, bis 1.5 kg, 6 Umtriebe",designation_eng:"Truten-Vormastpl\xE4tze, bis 1.5 kg, 6 Umtriebe",designation_fra:"Truten-Vormastpl\xE4tze, bis 1.5 kg, 6 Umtriebe",designation_ita:"Truten-Vormastpl\xE4tze, bis 1.5 kg, 6 Umtriebe"},id:56,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.12,nutrientAccumulationMg:.05,nutrientAccumulationNges:.24,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.4,nutrientAccumulationP2O5:.206,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"TURKEY_FATTENING",descriptor:{designation_deu:"Truten-Ausmastpl\xE4tze, 1.5-13 kg LG, 2.9 Umtriebe",designation_eng:"Truten-Ausmastpl\xE4tze, 1.5-13 kg LG, 2.9 Umtriebe",designation_fra:"Truten-Ausmastpl\xE4tze, 1.5-13 kg LG, 2.9 Umtriebe",designation_ita:"Truten-Ausmastpl\xE4tze, 1.5-13 kg LG, 2.9 Umtriebe"},id:57,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.7,nutrientAccumulationMg:.29,nutrientAccumulationNges:1.38,nutrientAccumulationNlos:60,nutrientAccumulationNtot:2.3,nutrientAccumulationP2O5:1.146,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"MULE_HINNY",descriptor:{designation_deu:"Maultiere, Maulesel (> 180 d unabh. der Widerristh\xF6he",designation_eng:"Maultiere, Maulesel (> 180 d unabh. der Widerristh\xF6he",designation_fra:"Maultiere, Maulesel (> 180 d unabh. der Widerristh\xF6he",designation_ita:"Maultiere, Maulesel (> 180 d unabh. der Widerristh\xF6he"},fodderConsumption:1700,fodderConsumptionDt:17,id:23,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:43,nutrientAccumulationMg:3,nutrientAccumulationNges:18.2,nutrientAccumulationNlos:40,nutrientAccumulationNtot:26,nutrientAccumulationP2O5:13,unit:"pl",zoologicalAnimal:"1EQUUF"},{animalGroup:"MULE_HINNY",descriptor:{designation_deu:"Maultiere, Maulesel (bis 180 d unabh. der Widerristh\xF6he)",designation_eng:"Maultiere, Maulesel (bis 180 d unabh. der Widerristh\xF6he)",designation_fra:"Maultiere, Maulesel (bis 180 d unabh. der Widerristh\xF6he)",designation_ita:"Maultiere, Maulesel (bis 180 d unabh. der Widerristh\xF6he)"},fodderConsumption:300,fodderConsumptionDt:3,id:58,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:16,nutrientAccumulationMg:1,nutrientAccumulationNges:9.8,nutrientAccumulationNlos:40,nutrientAccumulationNtot:14,nutrientAccumulationP2O5:8.2,unit:"pl",zoologicalAnimal:"1EQUUF"},{animalGroup:"CATTLE_RAISING",descriptor:{designation_deu:"Jungvieh bis 160 Tage alt",designation_eng:"Jungvieh bis 160 Tage alt",designation_fra:"Jungvieh bis 160 Tage alt",designation_ita:"Jungvieh bis 160 Tage alt"},fodderConsumption:600,fodderConsumptionDt:6,id:46,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:22.9,nutrientAccumulationMg:1.3,nutrientAccumulationNges:19.55,nutrientAccumulationNlos:55,nutrientAccumulationNtot:23,nutrientAccumulationP2O5:5,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_RAISING",descriptor:{designation_deu:"Jungvieh \xFCber 2-j\xE4hrig",designation_eng:"Jungvieh \xFCber 2-j\xE4hrig",designation_fra:"Jungvieh \xFCber 2-j\xE4hrig",designation_ita:"Jungvieh \xFCber 2-j\xE4hrig"},fodderConsumption:3300,fodderConsumptionDt:33,id:5,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:75,nutrientAccumulationMg:7,nutrientAccumulationNges:46.75,nutrientAccumulationNlos:55,nutrientAccumulationNtot:55,nutrientAccumulationP2O5:20,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CALF_FATTENING",descriptor:{designation_deu:"Mastk\xE4lberplatz, 60-220 kg",designation_eng:"Mastk\xE4lberplatz, 60-220 kg",designation_fra:"Mastk\xE4lberplatz, 60-220 kg",designation_ita:"Mastk\xE4lberplatz, 60-220 kg"},fodderConsumption:100,fodderConsumptionDt:1,id:18,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:13.3,nutrientAccumulationMg:.9,nutrientAccumulationNges:15.04,nutrientAccumulationNlos:55,nutrientAccumulationNtot:18.8,nutrientAccumulationP2O5:6.7,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"SHEEP_DAIRY",dailyConcentradedFeedstuffConsumptionSummering:.25,descriptor:{designation_deu:"Milchschaf, \xD8 500 kg Jahresmilchleistung",designation_eng:"Milchschaf, \xD8 500 kg Jahresmilchleistung",designation_fra:"Milchschaf, \xD8 500 kg Jahresmilchleistung",designation_ita:"Milchschaf, \xD8 500 kg Jahresmilchleistung"},fodderConsumption:1100,fodderConsumptionDt:11,id:25,isPermittedForConcentratedFeedstuffSummering:!0,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:32,nutrientAccumulationMg:3,nutrientAccumulationNges:17.85,nutrientAccumulationNlos:40,nutrientAccumulationNtot:21,nutrientAccumulationP2O5:9,unit:"pl",zoologicalAnimal:"OVISAR"},{animalGroup:"CATTLE_DAIRY",dailyConcentradedFeedstuffConsumptionSummering:1,descriptor:{designation_deu:"Milchkuh, \xD8 7500 kg Jahresmilchleistung",designation_eng:"Milchkuh, \xD8 7500 kg Jahresmilchleistung",designation_fra:"Milchkuh, \xD8 7500 kg Jahresmilchleistung",designation_ita:"Milchkuh, \xD8 7500 kg Jahresmilchleistung"},fodderConsumption:5600,fodderConsumptionDt:56,id:24,isPermittedForConcentratedFeedstuffSummering:!0,isPermittedForFodderConsumptionCorrection:!0,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!0,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:172,nutrientAccumulationMg:14,nutrientAccumulationNges:95.2,nutrientAccumulationNlos:55,nutrientAccumulationNtot:112,nutrientAccumulationP2O5:39,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_NURSE",descriptor:{designation_deu:"Mutterkuh leicht, LG: bis 600 kg Werte ohne Kalb",designation_eng:"Mutterkuh leicht, LG: bis 600 kg Werte ohne Kalb",designation_fra:"Mutterkuh leicht, LG: bis 600 kg Werte ohne Kalb",designation_ita:"Mutterkuh leicht, LG: bis 600 kg Werte ohne Kalb"},fodderConsumption:3800,fodderConsumptionDt:38,id:26,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:118,nutrientAccumulationMg:8,nutrientAccumulationNges:57.6,nutrientAccumulationNlos:55,nutrientAccumulationNtot:72,nutrientAccumulationP2O5:24,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_NURSE",descriptor:{designation_deu:"Mutterkuh mittel, LG: 600-700 kg, Werte ohne Kalb",designation_eng:"Mutterkuh mittel, LG: 600-700 kg, Werte ohne Kalb",designation_fra:"Mutterkuh mittel, LG: 600-700 kg, Werte ohne Kalb",designation_ita:"Mutterkuh mittel, LG: 600-700 kg, Werte ohne Kalb"},fodderConsumption:4500,fodderConsumptionDt:45,id:27,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:141,nutrientAccumulationMg:9,nutrientAccumulationNges:68,nutrientAccumulationNlos:55,nutrientAccumulationNtot:85,nutrientAccumulationP2O5:28,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_NURSE",descriptor:{designation_deu:"Mutterkuh schwer, LG: > 700 kg, Werte ohne Kalb",designation_eng:"Mutterkuh schwer, LG: > 700 kg, Werte ohne Kalb",designation_fra:"Mutterkuh schwer, LG: > 700 kg, Werte ohne Kalb",designation_ita:"Mutterkuh schwer, LG: > 700 kg, Werte ohne Kalb"},fodderConsumption:5e3,fodderConsumptionDt:50,id:28,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:158,nutrientAccumulationMg:10,nutrientAccumulationNges:76,nutrientAccumulationNlos:55,nutrientAccumulationNtot:95,nutrientAccumulationP2O5:31,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CALF_SUCKLING",descriptor:{designation_deu:"Mutterkuhkalb >160 d, leicht (bis 200 kg SG)",designation_eng:"Mutterkuhkalb >160 d, leicht (bis 200 kg SG)",designation_fra:"Mutterkuhkalb >160 d, leicht (bis 200 kg SG)",designation_ita:"Mutterkuhkalb >160 d, leicht (bis 200 kg SG)"},fodderConsumption:1780,fodderConsumptionDt:17.8,id:62,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:61.3,nutrientAccumulationMg:3.5,nutrientAccumulationNges:31.84,nutrientAccumulationNlos:55,nutrientAccumulationNtot:39.8,nutrientAccumulationP2O5:12.3,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CALF_SUCKLING",descriptor:{designation_deu:"Mutterkuhkalb >160 d, mittelschwer (200-250 kg SG)",designation_eng:"Mutterkuhkalb >160 d, mittelschwer (200-250 kg SG)",designation_fra:"Mutterkuhkalb >160 d, mittelschwer (200-250 kg SG)",designation_ita:"Mutterkuhkalb >160 d, mittelschwer (200-250 kg SG)"},fodderConsumption:1880,fodderConsumptionDt:18.8,id:63,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:66.3,nutrientAccumulationMg:3.9,nutrientAccumulationNges:37.04,nutrientAccumulationNlos:55,nutrientAccumulationNtot:46.3,nutrientAccumulationP2O5:13.9,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CALF_SUCKLING",descriptor:{designation_deu:"Mutterkuhkalb >160 d, schwer (> 250 kg SG)",designation_eng:"Mutterkuhkalb >160 d, schwer (> 250 kg SG)",designation_fra:"Mutterkuhkalb >160 d, schwer (> 250 kg SG)",designation_ita:"Mutterkuhkalb >160 d, schwer (> 250 kg SG)"},fodderConsumption:1970,fodderConsumptionDt:19.7,id:64,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:70,nutrientAccumulationMg:4.2,nutrientAccumulationNges:41.92,nutrientAccumulationNlos:55,nutrientAccumulationNtot:52.4,nutrientAccumulationP2O5:15.3,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"HORSE",descriptor:{designation_deu:"Pferde (> 180 d, > 148 cm)",designation_eng:"Pferde (> 180 d, > 148 cm)",designation_fra:"Pferde (> 180 d, > 148 cm)",designation_ita:"Pferde (> 180 d, > 148 cm)"},fodderConsumption:2800,fodderConsumptionDt:28,id:30,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:72,nutrientAccumulationMg:5,nutrientAccumulationNges:30.1,nutrientAccumulationNlos:40,nutrientAccumulationNtot:43,nutrientAccumulationP2O5:21,unit:"pl",zoologicalAnimal:"1EQUUF"},{animalGroup:"HORSE",descriptor:{designation_deu:"Pferde (bis 180 d, > 148 cm)",designation_eng:"Pferde (bis 180 d, > 148 cm)",designation_fra:"Pferde (bis 180 d, > 148 cm)",designation_ita:"Pferde (bis 180 d, > 148 cm)"},fodderConsumption:500,fodderConsumptionDt:5,id:31,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:26,nutrientAccumulationMg:4.5,nutrientAccumulationNges:19.6,nutrientAccumulationNlos:40,nutrientAccumulationNtot:28,nutrientAccumulationP2O5:9,unit:"pl",zoologicalAnimal:"1EQUUF"},{animalGroup:"PONY_HORSE_DONKEY",descriptor:{designation_deu:"Ponies, Kleinpferde, Esel (jeden Alters)",designation_eng:"Ponies, Kleinpferde, Esel (jeden Alters)",designation_fra:"Ponies, Kleinpferde, Esel (jeden Alters)",designation_ita:"Ponies, Kleinpferde, Esel (jeden Alters)"},fodderConsumption:1040,fodderConsumptionDt:10.4,id:32,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:26.8,nutrientAccumulationMg:1.8,nutrientAccumulationNges:10.99,nutrientAccumulationNlos:40,nutrientAccumulationNtot:15.7,nutrientAccumulationP2O5:8.2,unit:"pl",zoologicalAnimal:"1EQUUF"},{animalGroup:"CALF_SUCKLING",descriptor:{designation_deu:"Mutterkuhkalb bis 160 d",designation_eng:"Mutterkuhkalb bis 160 d",designation_fra:"Mutterkuhkalb bis 160 d",designation_ita:"Mutterkuhkalb bis 160 d"},fodderConsumption:280,fodderConsumptionDt:2.8,id:61,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:18.1,nutrientAccumulationMg:.9,nutrientAccumulationNges:17.2,nutrientAccumulationNlos:55,nutrientAccumulationNtot:21.5,nutrientAccumulationP2O5:7.5,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_BEEF",descriptor:{designation_deu:"Rindviehmast > 160 d (1400 g TZW, 530 kg Ausstall- LG)",designation_eng:"Rindviehmast > 160 d (1400 g TZW, 530 kg Ausstall- LG)",designation_fra:"Rindviehmast > 160 d (1400 g TZW, 530 kg Ausstall- LG)",designation_ita:"Rindviehmast > 160 d (1400 g TZW, 530 kg Ausstall- LG)"},fodderConsumption:2100,fodderConsumptionDt:21,id:52,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!0,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!0,isRoughageConsumer:!0,nutrientAccumulationK2O:36.2,nutrientAccumulationMg:5.8,nutrientAccumulationNges:35.68,nutrientAccumulationNlos:55,nutrientAccumulationNtot:44.6,nutrientAccumulationP2O5:13.4,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_BEEF",descriptor:{designation_deu:"Rindviehmast bis 160 d",designation_eng:"Rindviehmast bis 160 d",designation_fra:"Rindviehmast bis 160 d",designation_ita:"Rindviehmast bis 160 d"},fodderConsumption:520,fodderConsumptionDt:5.2,id:51,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:14.6,nutrientAccumulationMg:3.4,nutrientAccumulationNges:18.08,nutrientAccumulationNlos:55,nutrientAccumulationNtot:22.6,nutrientAccumulationP2O5:8,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"CATTLE_BEEF",descriptor:{designation_deu:"Zuchtstier",designation_eng:"Zuchtstier",designation_fra:"Zuchtstier",designation_ita:"Zuchtstier"},fodderConsumption:3e3,fodderConsumptionDt:30,id:54,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:85,nutrientAccumulationMg:5,nutrientAccumulationNges:40,nutrientAccumulationNlos:55,nutrientAccumulationNtot:50,nutrientAccumulationP2O5:18,unit:"pl",zoologicalAnimal:"BOVSTA"},{animalGroup:"LAYER",descriptor:{designation_deu:"Legehennenpl\xE4tze",designation_eng:"Legehennenpl\xE4tze",designation_fra:"Legehennenpl\xE4tze",designation_ita:"Legehennenpl\xE4tze"},id:17,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!1,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,nutrientAccumulationK2O:.3,nutrientAccumulationMg:.065,nutrientAccumulationNges:.56,nutrientAccumulationNlos:60,nutrientAccumulationNtot:.8,nutrientAccumulationP2O5:.46,unit:"pl",zoologicalAnimal:"1PHSNF"},{animalGroup:"SOW_LACTATING",descriptor:{designation_deu:"S\xE4ugende Zuchtsau: 9.86 Umtriebe pro Jahr",designation_eng:"S\xE4ugende Zuchtsau: 9.86 Umtriebe pro Jahr",designation_fra:"S\xE4ugende Zuchtsau: 9.86 Umtriebe pro Jahr",designation_ita:"S\xE4ugende Zuchtsau: 9.86 Umtriebe pro Jahr"},fodderConsumption:0,fodderConsumptionDt:0,id:36,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:650,nutrientAccumulationK2O:18,nutrientAccumulationMg:4.4,nutrientAccumulationNges:39.2,nutrientAccumulationNlos:70,nutrientAccumulationNtot:49,nutrientAccumulationP2O5:23,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"SOW_LACTATING",descriptor:{designation_deu:"S\xE4ugende Zuchtsau; pro Umtrieb, 37 d pro Umtrieb",designation_eng:"S\xE4ugende Zuchtsau; pro Umtrieb, 37 d pro Umtrieb",designation_fra:"S\xE4ugende Zuchtsau; pro Umtrieb, 37 d pro Umtrieb",designation_ita:"S\xE4ugende Zuchtsau; pro Umtrieb, 37 d pro Umtrieb"},fodderConsumption:0,fodderConsumptionDt:0,id:65,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:650,nutrientAccumulationK2O:1.83,nutrientAccumulationMg:.45,nutrientAccumulationNges:3.98,nutrientAccumulationNlos:70,nutrientAccumulationNtot:4.97,nutrientAccumulationP2O5:2.33,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"SOW_LACTATING",descriptor:{designation_deu:"Zuchtschweineplatz (ZSP) inkl. Ferkel bis 26 kg LG, 26 abgesetzte Ferkel pro Sau und Jahr",designation_eng:"Zuchtschweineplatz (ZSP) inkl. Ferkel bis 26 kg LG, 26 abgesetzte Ferkel pro Sau und Jahr",designation_fra:"Zuchtschweineplatz (ZSP) inkl. Ferkel bis 26 kg LG, 26 abgesetzte Ferkel pro Sau und Jahr",designation_ita:"Zuchtschweineplatz (ZSP) inkl. Ferkel bis 26 kg LG, 26 abgesetzte Ferkel pro Sau und Jahr"},fodderConsumption:0,fodderConsumptionDt:0,id:66,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!0,isPermittedForLinearCorrection:!0,isPermittedForManualFodderConsumptionInput:!0,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!1,maximumFodderConsumption:650,nutrientAccumulationK2O:23,nutrientAccumulationMg:4.2,nutrientAccumulationNges:35.2,nutrientAccumulationNlos:70,nutrientAccumulationNtot:44,nutrientAccumulationP2O5:21,unit:"pl",zoologicalAnimal:"SUXXSC"},{animalGroup:"SHEEP",descriptor:{designation_deu:"Schafplatz (inkl. Jungtiere und Anteil Bock)",designation_eng:"Schafplatz (inkl. Jungtiere und Anteil Bock)",designation_fra:"Schafplatz (inkl. Jungtiere und Anteil Bock)",designation_ita:"Schafplatz (inkl. Jungtiere und Anteil Bock)"},fodderConsumption:800,fodderConsumptionDt:8,id:37,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:22.5,nutrientAccumulationMg:2,nutrientAccumulationNges:12.75,nutrientAccumulationNlos:40,nutrientAccumulationNtot:15,nutrientAccumulationP2O5:5.3,unit:"pl",zoologicalAnimal:"OVISAR"},{animalGroup:"SHEEP",descriptor:{designation_deu:"Weidemastlamm, Weidemastgitzi",designation_eng:"Weidemastlamm, Weidemastgitzi",designation_fra:"Weidemastlamm, Weidemastgitzi",designation_ita:"Weidemastlamm, Weidemastgitzi"},id:68,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:3.5,nutrientAccumulationMg:.3,nutrientAccumulationNges:1.79,nutrientAccumulationNlos:40,nutrientAccumulationNtot:2.1,nutrientAccumulationP2O5:.8,unit:"pl",zoologicalAnimal:"OVISAR"},{animalGroup:"WAPITI",descriptor:{designation_deu:"Wapiti; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_eng:"Wapiti; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_fra:"Wapiti; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag",designation_ita:"Wapiti; 1 Muttertier und Nachwuchs bis 16 Mt. Eine Einheit = zwei Tiere am Stichtag"},fodderConsumption:4e3,fodderConsumptionDt:40,id:38,isPermittedForConcentratedFeedstuffSummering:!1,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:116,nutrientAccumulationMg:9.6,nutrientAccumulationNges:68,nutrientAccumulationNlos:40,nutrientAccumulationNtot:80,nutrientAccumulationP2O5:28,unit:"pl",zoologicalAnimal:"1CERVF"},{animalGroup:"GOAT",dailyConcentradedFeedstuffConsumptionSummering:.2,descriptor:{designation_deu:"Ziegenplatz (inkl. Jungtiere und Anteil Bock)",designation_eng:"Ziegenplatz (inkl. Jungtiere und Anteil Bock)",designation_fra:"Ziegenplatz (inkl. Jungtiere und Anteil Bock)",designation_ita:"Ziegenplatz (inkl. Jungtiere und Anteil Bock)"},fodderConsumption:750,fodderConsumptionDt:7.5,id:39,isPermittedForConcentratedFeedstuffSummering:!0,isPermittedForFodderConsumptionCorrection:!1,isPermittedForGMF:!0,isPermittedForIMPEX:!1,isPermittedForLinearCorrection:!1,isPermittedForManualFodderConsumptionInput:!1,isPermittedForMilkProductionCorrection:!1,isPermittedForWeightCorrection:!1,isRoughageConsumer:!0,nutrientAccumulationK2O:24,nutrientAccumulationMg:1.5,nutrientAccumulationNges:14.45,nutrientAccumulationNlos:40,nutrientAccumulationNtot:17,nutrientAccumulationP2O5:5.7,unit:"pl",zoologicalAnimal:"CAPAAE"}];var yx=[{descriptor:{designation_deu:"Aufzucht",designation_eng:"Aufzucht",designation_fra:"Aufzucht",designation_ita:"Aufzucht"},id:1,utilisation:"REARING"},{descriptor:{designation_deu:"Zucht",designation_eng:"Zucht",designation_fra:"Zucht",designation_ita:"Zucht"},id:2,utilisation:"BREEDING"},{descriptor:{designation_deu:"Mast",designation_eng:"Mast",designation_fra:"Mast",designation_ita:"Mast"},id:3,utilisation:"FATTENING"},{descriptor:{designation_deu:"Melkung",designation_eng:"Melkung",designation_fra:"Melkung",designation_ita:"Melkung"},id:4,utilisation:"MILKING"},{descriptor:{designation_deu:"Bruteiproduktion f\xFCr Legelinien",designation_eng:"Bruteiproduktion f\xFCr Legelinien",designation_fra:"Bruteiproduktion f\xFCr Legelinien",designation_ita:"Bruteiproduktion f\xFCr Legelinien"},id:5,utilisation:"HATCH_LAYLINE"},{descriptor:{designation_deu:"Zier",designation_eng:"Zier",designation_fra:"Zier",designation_ita:"Zier"},id:6,utilisation:"ORNAMENTAL"},{descriptor:{designation_deu:"Hobby",designation_eng:"Hobby",designation_fra:"Hobby",designation_ita:"Hobby"},id:7,utilisation:"HOBBY"},{descriptor:{designation_deu:"Nicht definiert",designation_eng:"Nicht definiert",designation_fra:"Nicht definiert",designation_ita:"Nicht definiert"},id:8,utilisation:"UNDEFINED"}];var Qg=[{code:"MANURE",descriptor:{designation_deu:"Mist",designation_eng:"Mist",designation_fra:"Mist",designation_ita:"Mist"},manureRecyclingProductCategory:"FARM_MANURE",matterState:"SOLID",productFamilyType:"FARM_MANURE_RECYCLING"},{code:"SLURRY",descriptor:{designation_deu:"G\xFClle",designation_eng:"G\xFClle",designation_fra:"G\xFClle",designation_ita:"G\xFClle"},manureRecyclingProductCategory:"FARM_MANURE",matterState:"LIQUID",productFamilyType:"FARM_MANURE_RECYCLING"},{code:"FERMENTED_SLURRY",descriptor:{designation_deu:"G\xE4rg\xFClle",designation_eng:"G\xE4rg\xFClle",designation_fra:"G\xE4rg\xFClle",designation_ita:"G\xE4rg\xFClle"},manureRecyclingProductCategory:"FARM_MANURE",matterState:"LIQUID",productFamilyType:"FARM_MANURE_RECYCLING"},{code:"DIGEST_LIQUID",descriptor:{designation_deu:"G\xE4rgut Fl\xFCssig",designation_eng:"G\xE4rgut Fl\xFCssig",designation_fra:"G\xE4rgut Fl\xFCssig",designation_ita:"G\xE4rgut Fl\xFCssig"},manureRecyclingProductCategory:"RECYCLING",matterState:"LIQUID",productFamilyType:"FARM_MANURE_RECYCLING"},{code:"DIGEST_SOLID",descriptor:{designation_deu:"G\xE4rgut Fest",designation_eng:"G\xE4rgut Fest",designation_fra:"G\xE4rgut Fest",designation_ita:"G\xE4rgut Fest"},manureRecyclingProductCategory:"RECYCLING",matterState:"SOLID",productFamilyType:"FARM_MANURE_RECYCLING"},{code:"COMPOST",descriptor:{designation_deu:"Kompost",designation_eng:"Kompost",designation_fra:"Kompost",designation_ita:"Kompost"},manureRecyclingProductCategory:"RECYCLING",matterState:"SOLID",productFamilyType:"FARM_MANURE_RECYCLING"}];var bx=[{code:"BOVSTA",descriptor:{designation_deu:"Rindvieh",designation_eng:"Rindvieh",designation_fra:"Rindvieh",designation_ita:"Rindvieh"}},{code:"SUXXSC",descriptor:{designation_deu:"Schweine",designation_eng:"Schweine",designation_fra:"Schweine",designation_ita:"Schweine"}},{code:"1PHSNF",descriptor:{designation_deu:"Gefl\xFCgel",designation_eng:"Gefl\xFCgel",designation_fra:"Gefl\xFCgel",designation_ita:"Gefl\xFCgel"}},{code:"1EQUUF",descriptor:{designation_deu:"Equidae",designation_eng:"Equidae",designation_fra:"Equidae",designation_ita:"Equidae"}},{code:"OVISAR",descriptor:{designation_deu:"Schafe",designation_eng:"Schafe",designation_fra:"Schafe",designation_ita:"Schafe"}},{code:"CAPAAE",descriptor:{designation_deu:"Ziegen",designation_eng:"Ziegen",designation_fra:"Ziegen",designation_ita:"Ziegen"}},{code:"1CERVF",descriptor:{designation_deu:"Hirsche",designation_eng:"Hirsche",designation_fra:"Hirsche",designation_ita:"Hirsche"}},{code:"1BISOG",descriptor:{designation_deu:"Bisons",designation_eng:"Bisons",designation_fra:"Bisons",designation_ita:"Bisons"}},{code:"1CAMEF",descriptor:{designation_deu:"Kamele",designation_eng:"Kamele",designation_fra:"Kamele",designation_ita:"Kamele"}},{code:"1LEPUF",descriptor:{designation_deu:"Kaninchen",designation_eng:"Kaninchen",designation_fra:"Kaninchen",designation_ita:"Kaninchen"}}];var B8={animalCategoryPRIF:{entries:ml,key:"id"},utilisation:{entries:yx,key:"id"},typeOfManureRecyclingProduct:{entries:Qg,key:"code"},zoologicalAnimal:{entries:bx,key:"code"}},ta=class t{i18n=h(Jn);locale=this.i18n.locale;indices=Object.fromEntries(Object.entries(B8).map(([n,e])=>{let i=new Map;for(let r of e.entries){let o=e.key==="id"?Number(r.id):String(r.code);i.set(o,r)}return[n,i]}));entry(n,e){if(e==null)return;let i=B8[n];if(!i)return;let r=i.key==="id"?Number(e):String(e);return this.indices[n]?.get(r)}designation(n,e,i){if(e==null)return"";let r=this.entry(n,e);if(!r)return String(e);let a=(i||this.locale())==="en"?"eng":"deu",s=r.descriptor||{},l=s[`designation_${a}`];return typeof l!="string"&&(l=s.designation_deu),typeof l=="string"?l:String(e)}resolveAnimalCategory(n,e){return this.designation("animalCategoryPRIF",n,e)}resolveUtilisation(n,e){return this.designation("utilisation",n,e)}resolveManureProduct(n,e){return this.designation("typeOfManureRecyclingProduct",n,e)}resolveZoologicalAnimal(n,e){return this.designation("zoologicalAnimal",n,e)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};function _Ce(t,n){t&1&&je(0,"th",19)}function vCe(t,n){t&1&&(C(0,"td",20)(1,"mat-icon",21),J(2,"drag_handle"),x()())}function yCe(t,n){t&1&&(C(0,"th",22),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"animalStock.table.header.animalCategory")()))}function bCe(t,n){if(t&1&&(C(0,"td",23)(1,"div",24)(2,"span",25),J(3),x()()()),t&2){let e=n.$implicit,i=U(2);E(3),Se(i.resolveAnimalCategory(e.animalCategoryPRIF))}}function CCe(t,n){t&1&&(C(0,"th",22),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"animalStock.table.header.utilisation")()))}function DCe(t,n){if(t&1&&(C(0,"td",23),J(1),x()),t&2){let e=n.$implicit,i=U(2);E(),Se(i.resolveUtilisation(e.utilisation))}}function ECe(t,n){t&1&&(C(0,"th",26),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"animalStock.table.header.actions")()))}function SCe(t,n){if(t&1){let e=lt();C(0,"td",27)(1,"div",28)(2,"button",29),ae("click",function(r){let o=he(e).index,a=U(2);return ge(a.onDelete(o,r))}),C(3,"mat-icon"),J(4,"delete"),x()()()()}}function wCe(t,n){t&1&&je(0,"tr",30)}function xCe(t,n){if(t&1){let e=lt();C(0,"tr",31),ae("click",function(){let r=he(e).index,o=U(2);return ge(o.select.emit(r))}),x()}if(t&2){let e=n.$implicit;V("cdkDragData",e)}}function TCe(t,n){if(t&1){let e=lt();C(0,"table",6),ae("cdkDropListDropped",function(r){he(e);let o=U();return ge(o.drop(r))}),br(1,7),Je(2,_Ce,1,0,"th",8)(3,vCe,3,0,"td",9),Cr(),br(4,10),Je(5,yCe,3,3,"th",11)(6,bCe,4,1,"td",12),Cr(),br(7,13),Je(8,CCe,3,3,"th",11)(9,DCe,2,1,"td",12),Cr(),br(10,14),Je(11,ECe,3,3,"th",15)(12,SCe,5,0,"td",16),Cr(),Je(13,wCe,1,0,"tr",17)(14,xCe,1,1,"tr",18),x()}if(t&2){let e=U();V("dataSource",e.rows())("cdkDropListData",e.rows()),E(13),V("matHeaderRowDef",e.displayedColumns),E(),V("matRowDefColumns",e.displayedColumns)}}function ICe(t,n){t&1&&(C(0,"p"),J(1,"No animal stock entries yet."),x())}var Cx=class t{masterData=h(ta);table;rows;select=new re;add=new re;delete=new re;reorder=new re;displayedColumns=["reorder","animalCategoryPRIF","utilisation","actions"];onDelete(n,e){e.stopPropagation(),this.delete.emit(n)}drop(n){this.reorder.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex})}resolveAnimalCategory(n){return this.masterData.resolveAnimalCategory(n)}resolveUtilisation(n){return this.masterData.resolveUtilisation(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-animal-stock-list"]],viewQuery:function(e,i){if(e&1&&Qe(Bu,5),e&2){let r;be(r=Ce())&&(i.table=r.first)}},inputs:{rows:"rows"},outputs:{select:"select",add:"add",delete:"delete",reorder:"reorder"},decls:13,vars:7,consts:[[1,"master"],[1,"list-header"],[1,"list-title"],["mat-table","","cdkDropList","",1,"mat-elevation-z8","demo-table",3,"dataSource","cdkDropListData"],[1,"add-btn-row"],["mat-raised-button","","color","primary",3,"click"],["mat-table","","cdkDropList","",1,"mat-elevation-z8","demo-table",3,"cdkDropListDropped","dataSource","cdkDropListData"],["matColumnDef","reorder"],["mat-header-cell","","class","reorder-header","aria-hidden","true",4,"matHeaderCellDef"],["mat-cell","","class","reorder-cell",4,"matCellDef"],["matColumnDef","animalCategoryPRIF"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","utilisation"],["matColumnDef","actions"],["mat-header-cell","","class","actions-header",4,"matHeaderCellDef"],["mat-cell","","class","actions-cell",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","cdkDrag","",3,"cdkDragData","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","aria-hidden","true",1,"reorder-header"],["mat-cell","",1,"reorder-cell"],["aria-hidden","true","cdkDragHandle","",1,"reorder-handle"],["mat-header-cell",""],["mat-cell",""],[1,"cell-content"],[1,"cell-text"],["mat-header-cell","",1,"actions-header"],["mat-cell","",1,"actions-cell"],[1,"cell-content","actions-content"],["mat-icon-button","","color","warn","aria-label","Delete",3,"click"],["mat-header-row",""],["mat-row","","cdkDrag","",3,"click","cdkDragData"]],template:function(e,i){e&1&&(C(0,"div",0)(1,"header",1)(2,"h2",2),J(3),Vt(4,"t"),x()(),We(5,TCe,15,4,"table",3)(6,ICe,2,0,"p"),C(7,"div",4)(8,"button",5),ae("click",function(){return i.add.emit()}),C(9,"mat-icon"),J(10,"add"),x(),J(11),Vt(12,"t"),x()()()),e&2&&(E(3),Se($t(4,3,"animalStock.list.title")()),E(2),Ke(i.rows().length?5:6),E(6),ni(" ",$t(12,5,"animalStock.list.add")()))},dependencies:[dx,Bu,Bg,Hg,jg,Vg,$g,Ug,zg,Gg,qg,dr,ao,Ao,ea,Jo,V8,L8,Di],styles:[".list-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}",".list-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;margin:0;flex:1}",".demo-table[_ngcontent-%COMP%]{width:100%}",".mat-mdc-row[_ngcontent-%COMP%] .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid transparent;border-top:1px solid transparent;cursor:pointer}",".mat-mdc-row[_ngcontent-%COMP%]:hover .mat-mdc-cell[_ngcontent-%COMP%]{border-color:currentColor}",".actions-header[_ngcontent-%COMP%], .actions-cell[_ngcontent-%COMP%]{text-align:right}",".cell-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}",".cell-content[_ngcontent-%COMP%] .cell-text[_ngcontent-%COMP%]{display:inline-block}",".reorder-handle[_ngcontent-%COMP%]{cursor:grab;font-size:18px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle}",".reorder-header[_ngcontent-%COMP%]{width:32px}",".reorder-cell[_ngcontent-%COMP%]{width:32px}",".actions-content[_ngcontent-%COMP%]{justify-content:flex-end}",".add-btn-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:1.5rem}"],changeDetection:0})};var yn=Zt(VF()),WV=Zt(GF()),Xie=Zt(tc()),Qie=Zt(M9()),xr=Zt(_0()),KV=Zt(PK()),XV=Zt(aX()),QV=Zt(Oi()),ZV=Zt(yX()),Zie=Zt($0()),Jie=Zt(aJ()),UV=Zt(vJ()),JV=Zt(rV()),ere=Zt(TT()),k_=Zt(kT()),tre=Zt(lie()),nre=Zt(_ie()),ire=Zt(Zg()),rre=Zt(VV()),ore=Zt(xie()),N$e=Zt(Mie()),O$e=Zt(FV()),zV=Zt(Nie()),are=Zt(zie()),F$e=Zt($ie());var UT="additionalProperties",zT="required",L$e=(t,n)=>{let e={};return t.filter(i=>{let r=n(i);return Object.prototype.hasOwnProperty.call(e,r)?!1:(e[r]=!0,!0)})},HV=class{constructor(n){this.findOption=n,this.schemaObject=e=>{let i=this.properties(e),r={type:"object",properties:i,additionalProperties:this.findOption(i)(UT)},o=this.findOption(i)(zT);return o.length>0&&(r.required=o),r},this.properties=e=>{let i={};return Object.keys(e).reduce((r,o)=>(r[o]=this.property(e[o]),r),i)},this.property=e=>{switch(typeof e){case"string":return{type:"string"};case"boolean":return{type:"boolean"};case"number":return Number.isInteger(e)?{type:"integer"}:{type:"number"};case"object":return e==null?{type:"null"}:this.schemaObjectOrArray(e);default:return{}}},this.schemaObjectOrArray=e=>e instanceof Array?this.schemaArray(e):this.schemaObject(e),this.schemaArray=e=>{if(e.length>0){let i=e.map(this.property),r=L$e(i,o=>JSON.stringify(o));return r.length===1?{type:"array",items:r[0]}:{type:"array",items:{oneOf:r}}}else return{type:"array",items:{}}}}},R_=(t,n={})=>{let e=r=>o=>{switch(o){case UT:return Object.prototype.hasOwnProperty.call(n,UT)?n[UT]:!0;case zT:return Object.prototype.hasOwnProperty.call(n,zT)?n[zT](r):Object.keys(r);default:return}};return new HV(e).schemaObject(t)},eB=new Set,sre=(t,n)=>n<=1?t:t+n.toString(),V$e=(t,n)=>{let e=sre(t,n);return!eB.has(e)},lre=t=>{t===void 0&&(t="undefined");let n=0;for(;!V$e(t,n);)n++;let e=sre(t,n);return eB.add(e),e},cre=t=>eB.delete(t);var dre=(t,n)=>{let e=t;return!(0,yn.default)(t)&&!(0,yn.default)(n)&&!n.startsWith("[")&&(e=t+"."),(0,yn.default)(e)?n:(0,yn.default)(n)?e:`${e}${n}`},ure=t=>{let i=t.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g,"").replace(/(then|else)\//g,"").split("/").map(Ip),o=i[0]==="#"||i[0]===""?2:1;return(0,Qie.default)(o,i.length,2).map(a=>i[a])};var tB=t=>t?.replace(/~/g,"~0").replace(/\//g,"~1"),Ip=t=>t?.replace(/~1/g,"/").replace(/~0/,"~");var BV=(t,n)=>{if(n&&typeof n.title=="string")return n.title;if(typeof t.scope=="string"){let e=t.scope,i=Ip(e.substr(e.lastIndexOf("/")+1));return(0,WV.default)(i)}return""};var B$e=(t,n)=>{let e=t.label;if(typeof e=="boolean")return jT(BV(t,n),e);if(typeof e=="string")return jT(e,!0);if(typeof e=="object"){let i=typeof e.text=="string"?e.text:BV(t,n),r=typeof e.show=="boolean"?e.show:!0;return jT(i,r)}return jT(BV(t,n),!0)},jT=(t,n)=>({text:t,show:n});var HT=(t,n)=>(0,yn.default)(n)?t:n.split(".").reduce((i,r)=>{if(!(!i||!Object.prototype.hasOwnProperty.call(i,r)))return i[r]},t);var j$e=t=>t==="#"||t===void 0||t==="",Ss=(t,n,e)=>{let i=n?.split("/").map(Ip);return $T(t,i,e)},$T=(t,n,e)=>{if(typeof t?.$ref=="string"&&(t=Ss(e,t.$ref,e)),!n||n.length===0)return t;if((0,yn.default)(t))return;let[i,...r]=n;if(j$e(i))return $T(t,r,e);let o=(0,xr.default)(t,i),a=$T(o,r,e);if(a)return a;if(i==="properties"||i==="items"){let s,l=[].concat(t.oneOf??[],t.allOf??[],t.anyOf??[],t.then??[],t.else??[]);for(let c of l)if(s=$T(c,[i,...r],e),s)break;return s}};var Ed=(function(t){return t.HIDE="HIDE",t.SHOW="SHOW",t.ENABLE="ENABLE",t.DISABLE="DISABLE",t})(Ed||{}),fre=t=>n=>{n.options||(n.options={}),n.options.readonly=t},J0=t=>{nB(t,fre(!0))},mre=t=>{nB(t,fre(!1))},nB=(t,n)=>{if(!(0,yn.default)(t)){if(hre(t)){t.elements.forEach(e=>nB(e,n));return}n(t)}};var ef=(t,n)=>{if(!H$e(t))return n??"";let e=ure(t.scope);return(0,yn.default)(e)?n??"":dre(n,e.join("."))},pre=t=>typeof t=="object"&&t!==null&&typeof t.i18n=="string",U$e=t=>t.type==="Group",hre=t=>t.elements!==void 0,z$e=t=>!!t&&typeof t=="object",H$e=t=>z$e(t)&&typeof t.scope=="string",$$e=t=>!!t&&typeof t=="object";var G$e=t=>t.type==="OR",q$e=t=>t.type==="AND",Y$e=t=>t.type==="LEAF",W$e=t=>(0,KV.default)(t,"schema"),K$e=t=>(0,KV.default)(t,"validate")&&typeof t.validate=="function",jV=(t,n)=>ef(t,n),$V=(t,n,e,i,r)=>{if(q$e(e))return e.conditions.reduce((o,a)=>o&&$V(t,n,a,i,r),!0);if(G$e(e))return e.conditions.reduce((o,a)=>o||$V(t,n,a,i,r),!1);if(Y$e(e))return HT(t,jV(e,i))===e.expectedValue;if(W$e(e)){let o=HT(t,jV(e,i));return e.failWhenUndefined&&o===void 0?!1:r.validate(e.schema,o)}else if(K$e(e)){let a={data:HT(t,jV(e,i)),fullData:t,path:i,uischemaElement:n};return e.validate(a)}else return!0},gre=(t,n,e,i)=>{let r=t.rule.condition;return $V(n,t,r,e,i)},X$e=(t,n,e=void 0,i)=>{let r=gre(t,n,e,i);switch(t.rule.effect){case Ed.HIDE:return!r;case Ed.SHOW:return r;default:return!0}},Q$e=(t,n,e=void 0,i)=>{let r=gre(t,n,e,i);switch(t.rule.effect){case Ed.DISABLE:return!r;case Ed.ENABLE:return r;default:return!0}},iB=t=>!!(t.rule&&(t.rule.effect===Ed.SHOW||t.rule.effect===Ed.HIDE)),Z$e=t=>!!(t.rule&&(t.rule.effect===Ed.ENABLE||t.rule.effect===Ed.DISABLE)),Ap=(t,n,e=void 0,i)=>t.rule?X$e(t,n,e,i):!0,J$e=(t,n,e=void 0,i)=>t.rule?Q$e(t,n,e,i):!0,_re=t=>{if(t&&typeof t=="object"&&"properties"in t&&t.properties)return(0,XV.default)(Object.keys(t.properties),n=>{let e=t.properties[n];return e&&typeof e=="object"&&"type"in e&&(e.type==="string"||e.type==="number"||e.type==="integer")})},qT=t=>!!t&&Object.prototype.hasOwnProperty.call(t,"oneOf")&&t.oneOf&&t.oneOf.every(n=>n.const!==void 0),e3e=t=>!!t&&typeof t=="object"&&(Object.prototype.hasOwnProperty.call(t,"enum")||Object.prototype.hasOwnProperty.call(t,"const")),t3e=(t,n)=>{let e=t.toISOString();return n==="date-time"?e:n==="date"?e.split("T")[0]:n==="time"?e.split("T")[1].split(".")[0]:e};var uo=(t,n)=>(0,ZV.default)(Dd(t),n),Dd=t=>{if((0,yn.default)(t))return[];if(!(0,yn.default)(t.type)&&typeof t.type=="string")return[t.type];if((0,QV.default)(t.type))return t.type;if(!(0,yn.default)(t.properties)||!(0,yn.default)(t.additionalProperties))return["object"];if(!(0,yn.default)(t.items))return["array"];if(!(0,yn.default)(t.enum)){let n=new Set;return t.enum.forEach(e=>{typeof e=="string"?n.add("string"):Dd(e).forEach(i=>n.add(i))}),Array.from(n)}if(!(0,yn.default)(t.allOf)){let n=(0,XV.default)(t.allOf,e=>Dd(e).length!==0);if(n)return Dd(n)}return[]},Sd={schema:Ss,data:HT},n3e=t=>ure(t.scope).join("."),rB={compose:dre,fromScoped:n3e};var i3e=t=>{let n=new Zie.default(G({allErrors:!0,verbose:!0,strict:!1,addUsedSchema:!1},t));return(0,Jie.default)(n),n},Cd=(t,n)=>t===void 0?[]:t(n)?[]:t.errors,oB="YYYY-MM-DD";var r3e=t=>{switch(t.keyword){case"required":case"dependencies":return t.params.missingProperty;case"additionalProperties":return t.params.additionalProperty;default:return}},GV=t=>{let n=t.dataPath||t.instancePath||"";n=n.replace(/\//g,".");let e=r3e(t);return e!==void 0&&!n.endsWith(e)&&(n=`${n}.${e}`),n=n.replace(/^./,""),n=Ip(n),n},o3e=(t,n,e)=>i=>{let r=(0,UV.default)(i,o=>o.keyword==="oneOf"||o.keyword==="anyOf").map(o=>GV(o));return(0,UV.default)(i,o=>{if(s3e.indexOf(o.keyword)!==-1&&!qT(o.parentSchema))return!1;let a=GV(o),s=e(a),l=o.parentSchema;return s&&!a3e(l)&&!qT(l)&&r.findIndex(c=>t.startsWith(c))!==-1&&(s=s&&(0,JV.default)(l,n)),s})},a3e=t=>t?.type==="object"||!!t?.properties,s3e=["additionalProperties","allOf","anyOf","oneOf"],l3e=t=>t==null?"":t.join(`
|
|
29
|
+
`);var vre=t=>({type:t,elements:[]}),GT=t=>({type:"Control",scope:t}),c3e=(t,n)=>{if(!(0,yn.default)(t)&&!hre(t)){let e=vre(n);return e.elements.push(t),e}return t},d3e=(t,n)=>{if(!(0,yn.default)(n)){let e=(0,WV.default)(n);if(U$e(t))t.label=e;else{let i={type:"Label",text:e};t.elements.push(i)}}},u3e=t=>!(0,yn.default)(t)&&(!(0,yn.default)(t.oneOf)||!(0,yn.default)(t.anyOf)||!(0,yn.default)(t.allOf)),qV=(t,n,e,i,r,o)=>{if(!(0,yn.default)(t)&&t.$ref!==void 0)return qV(Ss(o,t.$ref,o),n,e,i,r,o);if(u3e(t)){let s=GT(e);return n.push(s),s}let a=Dd(t);if(a.length===0)return null;if(a.length>1){let s=GT(e);return n.push(s),s}if(e==="#"&&a[0]==="object"){let s=vre(r);if(n.push(s),t.properties&&(0,Xie.default)(t.properties).length>1&&d3e(s,i),!(0,yn.default)(t.properties)){let l=e+"/properties";Object.keys(t.properties).map(c=>{let d=t.properties[c],u=`${l}/${tB(c)}`;d.$ref!==void 0&&(d=Ss(o,d.$ref,o)),qV(d,s.elements,u,c,r,o)})}return s}switch(a[0]){case"object":case"array":case"string":case"number":case"integer":case"null":case"boolean":{let s=GT(e);return n.push(s),s}default:throw new Error("Unknown type: "+JSON.stringify(t))}},P_=(t,n="VerticalLayout",e="#",i=t)=>c3e(qV(t,[],e,"",n,i),n),YT={jsonSchema:R_,uiSchema:P_,controlElement:GT},aB="jsonforms/INIT",sB="jsonforms/UPDATE_CORE",lB="jsonforms/SET_AJV",cB="jsonforms/UPDATE",dB="jsonforms/UPDATE_ERRORS",f3e="jsonforms/VALIDATE",yre="jsonforms/ADD_RENDERER",bre="jsonforms/REMOVE_RENDERER",Cre="jsonforms/ADD_CELL",Dre="jsonforms/REMOVE_CELL",uB="jsonforms/SET_CONFIG",fB="jsonforms/ADD_UI_SCHEMA",mB="jsonforms/REMOVE_UI_SCHEMA",pB="jsonforms/SET_SCHEMA",hB="jsonforms/SET_UISCHEMA",gB="jsonforms/SET_VALIDATION_MODE",_B="jsonforms/SET_LOCALE",vB="jsonforms/SET_TRANSLATOR",yB="jsonforms/UPDATE_I18N",Ere="jsonforms/ADD_DEFAULT_DATA",Sre="jsonforms/REMOVE_DEFAULT_DATA",m3e=t=>{if(!("type"in t)||typeof t.type!="string")return!1;switch(t.type){case"ADD":return"values"in t&&Array.isArray(t.values)&&t.values.length>0;case"REMOVE":return"indices"in t&&Array.isArray(t.indices)&&t.indices.length>0&&t.indices.every(n=>typeof n=="number");case"MOVE":return"moves"in t&&Array.isArray(t.moves)&&t.moves.length>0&&t.moves.every(n=>typeof n=="object"&&n!==null&&"from"in n&&"to"in n&&typeof n.from=="number"&&typeof n.to=="number");default:return!1}},p3e=(t,n=R_(t),e,i)=>({type:aB,data:t,schema:n,uischema:typeof e=="object"?e:P_(n),options:i}),h3e=(t,n,e,i)=>({type:sB,data:t,schema:n,uischema:e,options:i}),g3e=(t,n)=>({type:Ere,schemaPath:t,data:n}),_3e=t=>({type:Sre,schemaPath:t}),v3e=t=>({type:lB,ajv:t}),X0=(t,n,e)=>({type:cB,path:t,updater:n,context:e}),y3e=t=>({type:dB,errors:t}),b3e=(t,n)=>({type:yre,tester:t,renderer:n}),C3e=(t,n)=>({type:Cre,tester:t,cell:n}),D3e=(t,n)=>({type:Dre,tester:t,cell:n}),E3e=(t,n)=>({type:bre,tester:t,renderer:n}),bB=t=>({type:uB,config:t}),S3e=t=>({type:gB,validationMode:t}),w3e=(t,n)=>({type:fB,tester:t,uischema:n}),x3e=t=>({type:mB,tester:t}),T3e=t=>({type:_B,locale:t}),I3e=t=>({type:pB,schema:t}),A3e=(t,n)=>({type:vB,translator:t,errorTranslator:n}),CB=(t,n,e)=>({type:yB,locale:t,translator:n,errorTranslator:e}),M3e=t=>({type:hB,uischema:t}),Oo=Object.freeze({__proto__:null,INIT:aB,UPDATE_CORE:sB,SET_AJV:lB,UPDATE_DATA:cB,UPDATE_ERRORS:dB,VALIDATE:f3e,ADD_RENDERER:yre,REMOVE_RENDERER:bre,ADD_CELL:Cre,REMOVE_CELL:Dre,SET_CONFIG:uB,ADD_UI_SCHEMA:fB,REMOVE_UI_SCHEMA:mB,SET_SCHEMA:pB,SET_UISCHEMA:hB,SET_VALIDATION_MODE:gB,SET_LOCALE:_B,SET_TRANSLATOR:vB,UPDATE_I18N:yB,ADD_DEFAULT_DATA:Ere,REMOVE_DEFAULT_DATA:Sre,isUpdateArrayContext:m3e,init:p3e,updateCore:h3e,registerDefaultData:g3e,unregisterDefaultData:_3e,setAjv:v3e,update:X0,updateErrors:y3e,registerRenderer:b3e,registerCell:C3e,unregisterCell:D3e,unregisterRenderer:E3e,setConfig:bB,setValidationMode:S3e,registerUISchema:w3e,unregisterUISchema:x3e,setLocale:T3e,setSchema:I3e,setTranslator:A3e,updateI18n:CB,setUISchema:M3e});var k3e={restrict:!1,trim:!1,showUnfocusedDescription:!1,hideRequiredAsterisk:!1},Gie=(t={})=>(0,ere.default)({},k3e,t),DB=(t=Gie(),n)=>{switch(n.type){case uB:return Gie(n.config);default:return t}},R3e={data:{},schema:{},uischema:void 0,errors:[],validator:void 0,ajv:void 0,validationMode:"ValidateAndShow",additionalErrors:[]},qie=(t,n)=>n&&P3e(n.options)?n.options.validationMode:t.validationMode,P3e=t=>t?t.validationMode!==void 0:!1,N3e=t=>t?t.additionalErrors!==void 0:!1,Yie=(t,n)=>n&&N3e(n.options)?n.options.additionalErrors:t.additionalErrors,Wie=(t,n)=>{if(n){if(O3e(n.options))return n.options.ajv;if(n.options!==void 0&&(0,ire.default)(n.options.compile))return n.options}return t.ajv?t.ajv:i3e()},O3e=t=>t?t.ajv!==void 0:!1,N_=(t=R3e,n)=>{switch(n.type){case aB:{let e=Wie(t,n),i=qie(t,n),r=i==="NoValidation"?void 0:e.compile(n.schema),o=Cd(r,n.data),a=Yie(t,n);return Fe(G({},t),{data:n.data,schema:n.schema,uischema:n.uischema,additionalErrors:a,errors:o,validator:r,ajv:e,validationMode:i})}case sB:{let e=Wie(t,n),i=qie(t,n),r=t.validator,o=t.errors;t.schema!==n.schema||t.validationMode!==i||t.ajv!==e?(r=i==="NoValidation"?void 0:e.compile(n.schema),o=Cd(r,n.data)):t.data!==n.data&&(o=Cd(r,n.data));let a=Yie(t,n);return t.data!==n.data||t.schema!==n.schema||t.uischema!==n.uischema||t.ajv!==e||t.errors!==o||t.validator!==r||t.validationMode!==i||t.additionalErrors!==a?Fe(G({},t),{data:n.data,schema:n.schema,uischema:n.uischema,ajv:e,errors:(0,JV.default)(o,t.errors)?t.errors:o,validator:r,validationMode:i,additionalErrors:a}):t}case lB:{let e=n.ajv,i=t.validationMode==="NoValidation"?void 0:e.compile(t.schema),r=Cd(i,t.data);return Fe(G({},t),{validator:i,errors:r})}case pB:{let i=n.schema&&t.ajv&&t.validationMode!=="NoValidation"?t.ajv.compile(n.schema):t.validator,r=Cd(i,t.data);return Fe(G({},t),{validator:i,schema:n.schema,errors:r})}case hB:return Fe(G({},t),{uischema:n.uischema});case cB:{if(n.path===void 0||n.path===null)return t;if(n.path===""){let e=n.updater((0,k_.default)(t.data)),i=Cd(t.validator,e);return Fe(G({},t),{data:e,errors:i})}else{let e=(0,xr.default)(t.data,n.path),i=n.updater((0,k_.default)(e)),r;i!==void 0?r=(0,tre.default)(n.path,i,t.data===void 0?{}:t.data):r=(0,nre.default)(n.path,t.data===void 0?{}:t.data);let o=Cd(t.validator,r);return Fe(G({},t),{data:r,errors:o})}}case dB:return Fe(G({},t),{errors:n.errors});case gB:{if(t.validationMode===n.validationMode)return t;if(n.validationMode==="NoValidation"){let e=Cd(void 0,t.data);return Fe(G({},t),{errors:e,validationMode:n.validationMode})}if(t.validationMode==="NoValidation"){let e=t.ajv.compile(t.schema),i=Cd(e,t.data);return Fe(G({},t),{validator:e,errors:i,validationMode:n.validationMode})}return Fe(G({},t),{validationMode:n.validationMode})}default:return t}};var No=(function(t){return t.addTooltip="addTooltip",t.addAriaLabel="addAriaLabel",t.removeTooltip="removeTooltip",t.upAriaLabel="upAriaLabel",t.downAriaLabel="downAriaLabel",t.noSelection="noSelection",t.removeAriaLabel="removeAriaLabel",t.noDataMessage="noDataMessage",t.deleteDialogTitle="deleteDialogTitle",t.deleteDialogMessage="deleteDialogMessage",t.deleteDialogAccept="deleteDialogAccept",t.deleteDialogDecline="deleteDialogDecline",t.up="up",t.down="down",t})(No||{}),eC=[{key:No.addTooltip,default:t=>t?`Add to ${t}`:"Add"},{key:No.addAriaLabel,default:t=>t?`Add to ${t} button`:"Add button"},{key:No.removeTooltip,default:()=>"Delete"},{key:No.removeAriaLabel,default:()=>"Delete button"},{key:No.upAriaLabel,default:()=>"Move item up"},{key:No.up,default:()=>"Up"},{key:No.down,default:()=>"Down"},{key:No.downAriaLabel,default:()=>"Move item down"},{key:No.noDataMessage,default:()=>"No data"},{key:No.noSelection,default:()=>"No selection"},{key:No.deleteDialogTitle,default:()=>"Confirm Deletion"},{key:No.deleteDialogMessage,default:()=>"Are you sure you want to delete the selected entry?"},{key:No.deleteDialogAccept,default:()=>"Yes"},{key:No.deleteDialogDecline,default:()=>"No"}],Q0=(function(t){return t.clearDialogTitle="clearDialogTitle",t.clearDialogMessage="clearDialogMessage",t.clearDialogAccept="clearDialogAccept",t.clearDialogDecline="clearDialogDecline",t})(Q0||{}),Gxt=[{key:Q0.clearDialogTitle,default:()=>"Clear form?"},{key:Q0.clearDialogMessage,default:()=>"Your data will be cleared. Do you want to proceed?"},{key:Q0.clearDialogAccept,default:()=>"Yes"},{key:Q0.clearDialogDecline,default:()=>"No"}],EB=(t,n)=>pre(n)?n.i18n:t?.i18n??void 0,F3e=t=>t?.split(".").filter(n=>!/^\d+$/.test(n)).join(".")||"root",wre=(t,n,e)=>EB(t,n)??F3e(e),WT=(t,n,e,i)=>`${wre(t,n,e)}.${i}`,L3e=(t,n)=>`${t}.${n}`,SB=(t,n)=>n,wB=(t,n,e)=>{let i=WT(t.parentSchema,e,GV(t),`error.${t.keyword}`),r=n(i,void 0,{error:t});if(r!==void 0)return r;let o=n(`error.${t.keyword}`,void 0,{error:t});if(o!==void 0)return o;let a=n(t.message,void 0,{error:t});return a!==void 0?a:t.keyword==="required"&&t.message?.startsWith("must have required property")?n("is a required property","is a required property",{error:t}):t.message},xre=(t,n,e,i,r,o)=>{if(t.length>0&&e){let a=WT(i,r,o,"error.custom"),s=e(a,void 0,{schema:i,uischema:r,path:o,errors:t});if(s!==void 0)return s}return l3e(t.map(a=>n(a,e,r)))},tC=(t,n)=>{if(t.label===!1||(t.label===void 0||t.label===null||t.label===!0)&&!pre(t))return;let e=typeof t.label=="string"?t.label:JSON.stringify(t.label),i=EB(void 0,t),r=typeof i=="string"?`${i}.label`:e;return n(r,e,{uischema:t})},nC=(t,n,e,i)=>{let r={};return n.forEach(o=>{let a=L3e(e,o.key);r[o.key]=t(a,o.default(i))}),r};var V3e=t=>t===void 0?SB:t.translate,B3e=t=>t===void 0?wB:t.translateError;var KT=()=>t=>V3e((0,xr.default)(t,"jsonforms.i18n")),Tre=()=>t=>B3e((0,xr.default)(t,"jsonforms.i18n")),Es={locale:"en",translate:SB,translateError:wB},xB=(t=Es,n)=>{switch(n.type){case yB:{let e=n.locale??Es.locale,i=n.translator??Es.translate,r=n.errorTranslator??Es.translateError;return e!==t.locale||i!==t.translate||r!==t.translateError?Fe(G({},t),{locale:e,translate:i,translateError:r}):t}case vB:return Fe(G({},t),{translate:n.translator??SB,translateError:n.errorTranslator??wB});case _B:return Fe(G({},t),{locale:n.locale??navigator.languages[0]});default:return t}};var Ire=-1,O_=t=>!(0,yn.default)(t)&&t.scope!==void 0,sc=t=>(n,e,i)=>{if((0,yn.default)(n)||!O_(n)||(0,yn.default)(e))return!1;let r=n.scope;if((0,yn.default)(r))return!1;let o=e;return uo(e,"object")&&(o=Ss(e,r,i?.rootSchema)),o===void 0?!1:t(o,i?.rootSchema)},Are=(t,n)=>(e,i,r)=>{if((0,yn.default)(e)||!O_(e))return!1;let o=e.scope,a=i;return uo(i,"object")&&(a=Ss(i,o,r?.rootSchema)),a=(0,xr.default)(a,t),a===void 0?!1:n(a,r?.rootSchema)},Ju=t=>sc(n=>!(0,yn.default)(n)&&uo(n,t)),TB=t=>sc(n=>!(0,yn.default)(n)&&n.format===t&&uo(n,"string")),oi=t=>n=>!(0,yn.default)(n)&&n.type===t,tf=(t,n)=>e=>{if((0,yn.default)(e))return!1;let i=e.options;return!(0,yn.default)(i)&&i[t]===n};var wi=(...t)=>(n,e,i)=>t.reduce((r,o)=>r&&o(n,e,i),!0),Mp=(...t)=>(n,e,i)=>t.reduce((r,o)=>r||o(n,e,i),!1),$n=(t,n)=>(e,i,r)=>n(e,i,r)?t:Ire;var IB=wi(oi("Control"),Ju("boolean")),Mre=wi(oi("Control"),Ju("object")),qxt=wi(oi("Control"),sc(t=>Object.prototype.hasOwnProperty.call(t,"allOf"))),Yxt=wi(oi("Control"),sc(t=>Object.prototype.hasOwnProperty.call(t,"anyOf"))),Wxt=wi(oi("Control"),sc(t=>Object.prototype.hasOwnProperty.call(t,"oneOf"))),kre=wi(oi("Control"),sc(t=>e3e(t))),Kxt=wi(oi("Control"),sc(t=>qT(t))),Rre=wi(oi("Control"),Ju("integer")),iC=wi(oi("Control"),Ju("number")),Pre=wi(oi("Control"),Ju("string")),Nre=wi(oi("Control"),tf("multi",!0)),Ore=wi(oi("Control"),Mp(TB("date"),tf("format","date"))),Xxt=wi(oi("Control"),Mp(TB("time"),tf("format","time"))),Qxt=wi(oi("Control"),Mp(TB("date-time"),tf("format","date-time"))),j3e=wi(sc((t,n)=>uo(t,"array")&&!Array.isArray(Ss(t,"items",n))),Are("items",(t,n)=>{let e=t.$ref?Ss(n,t.$ref,n):t;return uo(e,"object")})),Fre=wi(oi("Control"),j3e),Z0=(t,n,e)=>{if((0,QV.default)(t))return(0,zV.default)(t,(i,r)=>i||Z0(r,n,e),!1);if(n(t))return!0;if(t.$ref){let i=Ss(e,t.$ref,e);if(i&&!i.$ref)return Z0(i,n,e)}return t.items?Z0(t.items,n,e):t.properties?(0,zV.default)((0,are.default)(t.properties),(i,[r,o])=>i||Z0(o,n,e),!1):!1},Lre=(t,n,e)=>{if(!oi("Control")(t,n,e))return!1;let i=t.scope,r=Ss(n,i,e?.rootSchema??n),o=0;if(r!==void 0&&r.items!==void 0){if(Z0(r.items,a=>a===n||a.$ref!==void 0?!1:!!(a.anyOf||a.allOf||a.oneOf&&!qT(a)||uo(a,"object")&&(o++,o===2)||uo(a,"array")),e?.rootSchema))return!0;if(t.options&&t.options.detail){if(typeof t.options.detail=="string")return t.options.detail.toUpperCase()!=="DEFAULT";if(typeof t.options.detail=="object"&&t.options.detail.type)return!0}}return!1};var Vre=wi(oi("Control"),sc((t,n)=>Dd(t).length!==0&&!Array.isArray(Ss(t,"items",n))),Are("items",(t,n)=>{let e=t.$ref?Ss(n,t.$ref,n):t,i=Dd(e);return i.length===1&&(0,ZV.default)(["integer","number","boolean","string"],i[0])})),Bre=wi(oi("Control"),Mp(Ju("number"),Ju("integer")),sc(t=>Object.prototype.hasOwnProperty.call(t,"maximum")&&Object.prototype.hasOwnProperty.call(t,"minimum")&&Object.prototype.hasOwnProperty.call(t,"default")),tf("slider",!0)),Zxt=wi(oi("Control"),Ju("integer"),tf("format",!0)),U3e=t=>t.type==="Categorization",z3e=t=>t.type==="Category",jre=t=>(0,yn.default)(t.elements)?!1:t.elements.map(n=>U3e(n)?jre(n):z3e(n)).reduce((n,e)=>n&&e,!0),Ure=t=>jre(t);var zre=(t=[],n)=>{switch(n.type){case fB:return t.slice().concat({tester:n.tester,uischema:n.uischema});case mB:{let e=t.slice();return(0,ore.default)(e,i=>i.tester===n.tester),e}default:return t}},H3e=t=>(n,e,i)=>{let r=(0,rre.default)(t,o=>o.tester(n,e,i));if(r!==void 0&&r.tester(n,e,i)!==Ire)return r.uischema};var XT=(t,n,e,i,r="VerticalLayout",o,a)=>{if(o&&o.options&&o.options.detail){if(typeof o.options.detail=="string"){if(o.options.detail.toUpperCase()==="GENERATE")return typeof r=="function"?r():YT.uiSchema(n,r,void 0,a)}else if(typeof o.options.detail=="object"&&o.options.detail.type&&typeof o.options.detail.type=="string")return o.options.detail}let s=H3e(t)(n,e,i);return s===void 0?typeof r=="function"?r():YT.uiSchema(n,r,"#",a):s},AB=(t,n,e)=>e(t,n),Hre=(t,n,e)=>i=>{let r=i.errors??[],o=i.additionalErrors??[];return o3e(t,n,e)(i.validationMode==="ValidateAndHide"?o:[...r,...o])},$3e=(t,n)=>Hre(t,n,e=>e===t),G3e=(t,n)=>Hre(t,n,e=>e.startsWith(t+".")),q3e=(t,n)=>e=>$3e(t,n)(e.jsonforms.core),$re=(t,n)=>e=>G3e(t,n)(e.jsonforms.core),MB=t=>W3e((0,xr.default)(t,"jsonforms.core")),YV=t=>K3e((0,xr.default)(t,"jsonforms.core")),Y3e=t=>X3e((0,xr.default)(t,"jsonforms.core")),nf=t=>Q3e((0,xr.default)(t,"jsonforms.core")),kB=t=>(0,xr.default)(t,"jsonforms.renderers"),RB=t=>(0,xr.default)(t,"jsonforms.cells");var W3e=t=>(0,xr.default)(t,"data"),K3e=t=>(0,xr.default)(t,"schema"),X3e=t=>(0,xr.default)(t,"uischema"),Q3e=t=>(0,xr.default)(t,"ajv"),Tp=t=>t.jsonforms.config,Gre=(t,n,e,i,r,o)=>t?.jsonforms?.readonly?!1:e&&Z$e(e)?J$e(e,r,n?.path,nf(t)):typeof e?.options?.readonly=="boolean"?!e.options.readonly:typeof e?.options?.readOnly=="boolean"?!e.options.readOnly:typeof o?.readonly=="boolean"?!o.readonly:typeof o?.readOnly=="boolean"?!o.readOnly:i?.readOnly===!0?!1:typeof n?.enabled=="boolean"?n.enabled:!0,qre=(t,n,e)=>{let i=n+e;if(i<0||i>=t.length)return;let r=[n,i].sort((o,a)=>o-a);t.splice(r[0],2,t[r[1]],t[r[0]])},Z3e=(t,n)=>{qre(t,n,-1)},J3e=(t,n)=>{qre(t,n,1)},eGe=(t,n,e)=>{let i=n.split("/"),r=Ip(i[i.length-1]),a=i.slice(0,i.length-2).join("/"),s=Sd.schema(t,a,e);return s!==void 0&&s.required!==void 0&&s.required.indexOf(r)!==-1},Yre=(t,n,e)=>`${t??""}${n&&!e?"*":""}`;var QT=(t,n)=>{let e=Wre(t,n);return e===void 0?{}:e},Wre=(t,n)=>{let e=typeof t.$ref=="string"?Sd.schema(n,t.$ref,n):t;if(e.default!==void 0)return Kie(e,n);if(uo(e,"string"))return e.format==="date-time"||e.format==="date"||e.format==="time"?t3e(new Date,e.format):"";if(uo(e,"integer")||uo(e,"number"))return 0;if(uo(e,"boolean"))return!1;if(uo(e,"array"))return[];if(uo(e,"object"))return Kie(e,n);if(uo(e,"null"))return null;let i=["oneOf","anyOf","allOf"];for(let r of i)if(t[r]&&Array.isArray(t[r])){let o=tGe(t[r],n);if(o!==void 0)return o}},tGe=(t,n)=>{if(t.length>0)for(let e of t){let i=Wre(e,n);if(i!==void 0)return i}},Kie=(t,n)=>{if(uo(t,"object")&&t.default===void 0){let e={};for(let i in t.properties){let r=t.properties[i],o=r.$ref?Sd.schema(n,r.$ref,n):r;o&&o.default!==void 0&&(e[i]=(0,k_.default)(o.default))}return t.allOf&&Array.isArray(t.allOf)&&t.allOf.forEach(i=>{if(i&&i.properties)for(let r in i.properties){let o=i.properties[r],a=o.$ref?Sd.schema(n,o.$ref,n):o;a&&a.default!==void 0&&(e[r]=(0,k_.default)(a.default))}}),e}return(0,k_.default)(t.default)};var PB=(t,n)=>{let{uischema:e}=n,i=MB(t),r=ef(e,n.path),o=n.visible===void 0||iB(e)?Ap(e,i,n.path,nf(t)):n.visible,a=e,s=n.id,l=YV(t),c=a.scope!==void 0&&eGe(n.schema,a.scope,l),d=Sd.schema(n.schema||l,a.scope,l),u=q3e(r,d)(t),m=d!==void 0?d.description:"",f=Sd.data(i,r),p=B$e(e,d),g=p.show?p.text:"",_=Tp(t),v=Gre(t,n,e,d||l,i,_),D=d??l,O=KT()(t),B=Tre()(t),F=wre(D,e,r),W=O(WT(D,e,r,"label"),g,{schema:D,uischema:e,path:r,errors:u}),j=O(WT(D,e,r,"description"),m,{schema:D,uischema:e,path:r,errors:u}),k=xre(u,B,O,D,e,r);return{data:f,description:j,errors:k,label:W,visible:o,enabled:v,id:s,path:r,required:c,uischema:e,schema:D,config:Tp(t),cells:n.cells||t.jsonforms.cells,rootSchema:l,i18nKeyPrefix:F}};var ZT=(t,n)=>{let e=bm(PB(t,n),[]);return Fe(G({},e),{uischemas:t.jsonforms.uischemas})},JT=(t,n)=>{let c=ZT(t,n),{path:e,schema:i,uischema:r,label:o}=c,a=bm(c,["path","schema","uischema","label"]),s=Sd.schema(i,"items",a.rootSchema),l=$re(e,s)(t);return Fe(G({},a),{label:o,path:e,uischema:r,schema:s,arraySchema:i,childErrors:l,renderers:n.renderers||kB(t),cells:n.cells||RB(t)})},eI=t=>({addItem:(n,e)=>()=>{t(X0(n,i=>i==null?[e]:(i.push(e),i),{type:"ADD",values:[e]}))},removeItems:(n,e)=>()=>{t(X0(n,i=>(e.sort((r,o)=>r-o).reverse().forEach(r=>i.splice(r,1)),i),{type:"REMOVE",indices:e}))},moveUp:(n,e)=>()=>{t(X0(n,i=>(Z3e(i,e),i),{type:"MOVE",moves:[{from:e,to:e-1}]}))},moveDown:(n,e)=>()=>{t(X0(n,i=>(J3e(i,e),i),{type:"MOVE",moves:[{from:e,to:e+1}]}))}});var NB={visible:!0,enabled:!0,path:"",direction:"column"},nGe=t=>t.type==="HorizontalLayout"?"row":t.type==="VerticalLayout"?"column":NB.direction,wd=(t,n)=>{let e=MB(t),{uischema:i}=n,r=n.visible===void 0||iB(i)?Ap(n.uischema,e,n.path,nf(t)):n.visible,o=Sd.data(e,n.path),a=Tp(t),s=Gre(t,n,i,void 0,e,a),l=KT()(t),c=$$e(i)?tC(i,l):void 0;return Fe(G({},NB),{renderers:n.renderers||kB(t),cells:n.cells||RB(t),visible:r,enabled:s,path:n.path,data:o,uischema:n.uischema,schema:n.schema,direction:n.direction??nGe(i),config:a,label:c})},Kre=(t,n)=>({renderers:n.renderers||(0,xr.default)(t.jsonforms,"renderers"),cells:n.cells||(0,xr.default)(t.jsonforms,"cells"),schema:n.schema||YV(t),rootSchema:YV(t),uischema:n.uischema||Y3e(t),path:n.path,enabled:n.enabled,config:Tp(t)}),Jxt=Fe(G({},NB),{errors:[]});var Xre=(t,n)=>{let m=ZT(t,n),{path:e,schema:i,uischema:r,errors:o,label:a}=m,s=bm(m,["path","schema","uischema","errors","label"]),l=Sd.schema(i,"items",s.rootSchema),c=KT()(t),d=xre($re(e,l)(t),Tre()(t),c,void 0,void 0,void 0),u=o+(o.length>0&&d.length>0?`
|
|
30
|
+
`:"")+d;return Fe(G({},s),{label:a,path:e,uischema:r,schema:l,arraySchema:i,data:s.data?s.data.length:0,errors:u,minItems:i.minItems})},Qre=(t,n)=>{let{uischema:e}=n,i=n.visible===void 0||iB(e)?Ap(n.uischema,MB(t),n.path,nf(t)):n.visible,r=e.text,o=KT()(t),a=EB(void 0,e),s=a?`${a}.text`:r??"";return{text:o(s,r,{uischema:e}),visible:i,config:Tp(t),renderers:n.renderers||kB(t),cells:n.cells||RB(t),uischema:e}};var ioe=(()=>{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)(He(dn),He(Te))};static \u0275dir=ue({type:t})}return t})(),iGe=(()=>{class t extends ioe{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,features:[Oe]})}return t})(),ws=new te("");var rGe={provide:ws,useExisting:bi(()=>af),multi:!0};function oGe(){let t=ps()?ps().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var aGe=new te(""),af=(()=>{class t extends ioe{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!oGe())}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)(He(dn),He(Te),He(aGe,8))};static \u0275dir=ue({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,r){i&1&&ae("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[it([rGe]),Oe]})}return t})();function LB(t){return t==null||VB(t)===0}function VB(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var xd=new te(""),BB=new te(""),sGe=/^(?=.{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])?)*$/,rf=class{static min(n){return lGe(n)}static max(n){return cGe(n)}static required(n){return dGe(n)}static requiredTrue(n){return uGe(n)}static email(n){return fGe(n)}static minLength(n){return mGe(n)}static maxLength(n){return pGe(n)}static pattern(n){return hGe(n)}static nullValidator(n){return roe()}static compose(n){return doe(n)}static composeAsync(n){return uoe(n)}};function lGe(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function cGe(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function dGe(t){return LB(t.value)?{required:!0}:null}function uGe(t){return t.value===!0?null:{required:!0}}function fGe(t){return LB(t.value)||sGe.test(t.value)?null:{email:!0}}function mGe(t){return n=>{let e=n.value?.length??VB(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function pGe(t){return n=>{let e=n.value?.length??VB(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function hGe(t){if(!t)return roe;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(LB(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function roe(t){return null}function ooe(t){return t!=null}function aoe(t){return Jm(t)?ss(t):t}function soe(t){let n={};return t.forEach(e=>{n=e!=null?G(G({},n),e):n}),Object.keys(n).length===0?null:n}function loe(t,n){return n.map(e=>e(t))}function gGe(t){return!t.validate}function coe(t){return t.map(n=>gGe(n)?n:e=>n.validate(e))}function doe(t){if(!t)return null;let n=t.filter(ooe);return n.length==0?null:function(e){return soe(loe(e,n))}}function jB(t){return t!=null?doe(coe(t)):null}function uoe(t){if(!t)return null;let n=t.filter(ooe);return n.length==0?null:function(e){let i=loe(e,n).map(aoe);return Wy(i).pipe(Gt(soe))}}function UB(t){return t!=null?uoe(coe(t)):null}function Zre(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function foe(t){return t._rawValidators}function moe(t){return t._rawAsyncValidators}function OB(t){return t?Array.isArray(t)?t:[t]:[]}function nI(t,n){return Array.isArray(t)?t.includes(n):t===n}function Jre(t,n){let e=OB(n);return OB(t).forEach(r=>{nI(e,r)||e.push(r)}),e}function eoe(t,n){return OB(n).filter(e=>!nI(t,e))}var iI=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(n){this._rawValidators=n||[],this._composedValidatorFn=jB(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=UB(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},kp=class extends iI{name;get formDirective(){return null}get path(){return null}},lc=class extends iI{_parent=null;name=null;valueAccessor=null},FB=class{_cd;constructor(n){this._cd=n}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}},_Ge={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_Tt=Fe(G({},_Ge),{"[class.ng-submitted]":"isSubmitted"}),cc=(()=>{class t extends FB{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(He(lc,2))};static \u0275dir=ue({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&De("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Oe]})}return t})();var rC="VALID",tI="INVALID",F_="PENDING",oC="DISABLED",of=class{},rI=class extends of{value;source;constructor(n,e){super(),this.value=n,this.source=e}},sC=class extends of{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},lC=class extends of{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},L_=class extends of{status;source;constructor(n,e){super(),this.status=n,this.source=e}},oI=class extends of{source;constructor(n){super(),this.source=n}},aI=class extends of{source;constructor(n){super(),this.source=n}};function poe(t){return(mI(t)?t.validators:t)||null}function vGe(t){return Array.isArray(t)?jB(t):t||null}function hoe(t,n){return(mI(n)?n.asyncValidators:t)||null}function yGe(t){return Array.isArray(t)?UB(t):t||null}function mI(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function bGe(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new Pe(1e3,"");if(!i[e])throw new Pe(1001,"")}function CGe(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new Pe(1002,"")})}var sI=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Ci(this.statusReactive)}set status(n){Ci(()=>this.statusReactive.set(n))}_status=$e(()=>this.statusReactive());statusReactive=Be(void 0);get valid(){return this.status===rC}get invalid(){return this.status===tI}get pending(){return this.status==F_}get disabled(){return this.status===oC}get enabled(){return this.status!==oC}errors;get pristine(){return Ci(this.pristineReactive)}set pristine(n){Ci(()=>this.pristineReactive.set(n))}_pristine=$e(()=>this.pristineReactive());pristineReactive=Be(!0);get dirty(){return!this.pristine}get touched(){return Ci(this.touchedReactive)}set touched(n){Ci(()=>this.touchedReactive.set(n))}_touched=$e(()=>this.touchedReactive());touchedReactive=Be(!1);get untouched(){return!this.touched}_events=new _e;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Jre(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Jre(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(eoe(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(eoe(n,this._rawAsyncValidators))}hasValidator(n){return nI(this._rawValidators,n)}hasAsyncValidator(n){return nI(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Fe(G({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new lC(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new lC(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Fe(G({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new sC(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new sC(!0,i))}markAsPending(n={}){this.status=F_;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new L_(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Fe(G({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=oC,this.errors=null,this._forEachChild(r=>{r.disable(Fe(G({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new rI(this.value,i)),this._events.next(new L_(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Fe(G({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=rC,this._forEachChild(i=>{i.enable(Fe(G({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Fe(G({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rC||this.status===F_)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new rI(this.value,e)),this._events.next(new L_(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Fe(G({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?oC:rC}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=F_,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=aoe(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new L_(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new re,this.statusChanges=new re}_calculateStatus(){return this._allControlsDisabled()?oC:this.errors?tI:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(F_)?F_:this._anyControlsHaveStatus(tI)?tI:rC}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new sC(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new lC(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){mI(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=vGe(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=yGe(this._rawAsyncValidators)}},lI=class extends sI{constructor(n,e,i){super(poe(e),hoe(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){CGe(this,!0,n),Object.keys(n).forEach(i=>{bGe(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var pI=new te("",{providedIn:"root",factory:()=>zB}),zB="always";function cI(t,n,e=zB){HB(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),EGe(t,n),wGe(t,n),SGe(t,n),DGe(t,n)}function dI(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),fI(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function uI(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function DGe(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function HB(t,n){let e=foe(t);n.validator!==null?t.setValidators(Zre(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=moe(t);n.asyncValidator!==null?t.setAsyncValidators(Zre(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();uI(n._rawValidators,r),uI(n._rawAsyncValidators,r)}function fI(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=foe(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=moe(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return uI(n._rawValidators,i),uI(n._rawAsyncValidators,i),e}function EGe(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&goe(t,n)})}function SGe(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&goe(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function goe(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wGe(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function _oe(t,n){t==null,HB(t,n)}function xGe(t,n){return fI(t,n)}function TGe(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function IGe(t){return Object.getPrototypeOf(t.constructor)===iGe}function voe(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function AGe(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===af?e=o:IGe(o)?i=o:r=o}),r||i||e||null}function MGe(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var kGe={provide:kp,useExisting:bi(()=>V_)},aC=Promise.resolve(),V_=(()=>{class t extends kp{callSetDisabledState;get submitted(){return Ci(this.submittedReactive)}_submitted=$e(()=>this.submittedReactive());submittedReactive=Be(!1);_directives=new Set;form;ngSubmit=new re;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new lI({},jB(e),UB(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){aC.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),cI(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){aC.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){aC.then(()=>{let i=this._findContainer(e.path),r=new lI({});_oe(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){aC.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){aC.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),voe(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new oI(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new aI(this.form))}_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)(He(xd,10),He(BB,10),He(pI,8))};static \u0275dir=ue({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ae("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[it([kGe]),Oe]})}return t})();function toe(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function noe(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var $B=class extends sI{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(poe(e),hoe(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mI(e)&&(e.nonNullable||e.initialValueIsDefault)&&(noe(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){toe(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){toe(this._onDisabledChange,n)}_forEachChild(n){}_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(n){noe(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var RGe=t=>t instanceof $B;var yoe=new te(""),PGe={provide:lc,useExisting:bi(()=>yl)},yl=(()=>{class t extends lc{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new re;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=AGe(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&dI(i,this,!1),cI(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}TGe(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dI(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)(He(xd,10),He(BB,10),He(ws,10),He(yoe,8),He(pI,8))};static \u0275dir=ue({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:[it([PGe]),Oe,Yt]})}return t})(),NGe={provide:kp,useExisting:bi(()=>B_)},B_=(()=>{class t extends kp{callSetDisabledState;get submitted(){return Ci(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=$e(()=>this._submittedReactive());_submittedReactive=Be(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new re;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fI(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return cI(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){dI(e.control||null,e,!1),MGe(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),voe(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new oI(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1),i?.emitEvent!==!1&&this.form._events.next(new aI(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(dI(i||null,e),RGe(r)&&(cI(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);_oe(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&xGe(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){HB(this.form,this),this._oldForm&&fI(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(He(xd,10),He(BB,10),He(pI,8))};static \u0275dir=ue({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ae("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[it([NGe]),Oe,Yt]})}return t})();var OGe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var hI=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:yoe,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:pI,useValue:e.callSetDisabledState??zB}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[OGe]})}return t})();var qB=Zt(kT(),1),boe=Zt(TT(),1),Coe=Zt(VV(),1),Doe=Zt(rV(),1),Ra=Zt(_0(),1);var FGe=["class","renderer"],Pa=(()=>{class t{uischema;schema;path;subscriptions=new tt;addSubscription(e){Array.isArray(e)?e.forEach(i=>this.subscriptions.add(i)):this.subscriptions.add(e)}getOwnProps(){return{uischema:this.uischema,schema:this.schema,path:this.path}}ngOnDestroy(){this.subscriptions.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,inputs:{uischema:"uischema",schema:"schema",path:"path"},standalone:!1})}return t})(),xs=Symbol("Marker to use state value"),bn=class{_state;state;middleware;init(n={core:{data:void 0,schema:void 0,uischema:void 0,validationMode:"ValidateAndShow",additionalErrors:void 0}},e=AB){this.middleware=e,this._state=n,this._state.config=DB(void 0,bB(this._state.config)),this._state.i18n=xB(this._state.i18n,CB(this._state.i18n?.locale,this._state.i18n?.translate,this._state.i18n?.translateError)),this.state=new Wo({jsonforms:this._state});let i=n.core.data,r=n.core.schema??R_(i),o=n.core.uischema??P_(r);this.updateCore(Oo.init(i,r,o))}get $state(){if(!this.state)throw new Error("Please call init first!");return this.state.asObservable()}registerRenderer(n,e){this.addRenderer(n,e)}addRenderer(n,e){this._state.renderers.push({renderer:n,tester:e}),this.updateSubject()}registerRenderers(n){this.setRenderers(n)}setRenderers(n){this._state.renderers=n,this.updateSubject()}unregisterRenderer(n){this.removeRenderer(n)}removeRenderer(n){if(this._state.renderers.findIndex(r=>r.tester===n)===-1)return;let i=this._state.renderers.filter(r=>r.tester!==n);this._state.renderers=i,this.updateSubject()}updateValidationMode(n){let e=this.middleware(this._state.core,Oo.setValidationMode(n),N_);this._state.core=e,this.updateSubject()}updateI18n(n){let e=xB(this._state.i18n,n);return e!==this._state.i18n&&(this._state.i18n=e,this.updateSubject()),n}updateCore(n){let e=this.middleware(this._state.core,n,N_);return e!==this._state.core&&(this._state.core=e,this.updateSubject()),n}updateUiSchema(n){let e=zre(this._state.uischemas,n);return this._state.uischemas=e,this.updateSubject(),n}setUiSchemas(n){this._state.uischemas=n,this.updateSubject()}updateConfig(n){let e=DB(this._state.config,n);return this._state.config=e,this.updateSubject(),n}setUiSchema(n){let e=n??P_(this._state.core.schema),i=this.middleware(this._state.core,Oo.updateCore(this._state.core.data,this._state.core.schema,e),N_);i!==this._state.core&&(this._state.core=i,this.updateSubject())}setSchema(n){let e=this.middleware(this._state.core,Oo.updateCore(this._state.core.data,n??R_(this._state.core.data),this._state.core.uischema),N_);e!==this._state.core&&(this._state.core=e,this.updateSubject())}setData(n){let e=this.middleware(this._state.core,Oo.updateCore(n,this._state.core.schema,this._state.core.uischema),N_);e!==this._state.core&&(this._state.core=e,this.updateSubject())}getLocale(){return this._state.i18n?.locale}setLocale(n){this._state.i18n.locale=n,this.updateSubject()}setReadonly(n){this._state.readonly=n,this.updateSubject()}setMiddleware(n){this._state.middleware=n,this.updateSubject()}getState(){return(0,qB.default)({jsonforms:this._state})}getConfig(){return(0,qB.default)(this._state.config)}refresh(){this.updateSubject()}updateCoreState(n,e,i,r,o,a){let s=n===xs?this._state.core.data:n,l=e===xs?this._state.core.schema:e??R_(s),c=i===xs?this._state.core.uischema:i??P_(l),d=r===xs?this._state.core.ajv:r,u=o===xs?this._state.core.validationMode:o,m=a===xs?this._state.core.additionalErrors:a;this.updateCore(Oo.updateCore(s,l,c,{ajv:d,validationMode:u,additionalErrors:m}))}updateSubject(){this.state.next({jsonforms:this._state})}},dC=(()=>{class t extends Pa{jsonFormsService;id;disabled;visible;form;data;label;description;error;scopedSchema;rootSchema;enabled;hidden;propsPath;constructor(e){super(),this.jsonFormsService=e,this.form=new $B({value:"",disabled:!0},{updateOn:"change",validators:this.validator.bind(this)})}getEventValue=e=>e.value;onChange(e){this.jsonFormsService.updateCore(Oo.update(this.propsPath,()=>this.getEventValue(e))),this.triggerValidation()}shouldShowUnfocusedDescription(){let e=this.jsonFormsService.getConfig();return!!(0,boe.default)({},e,this.uischema.options).showUnfocusedDescription}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=this.mapToProps(e),{data:r,enabled:o,errors:a,label:s,required:l,schema:c,rootSchema:d,visible:u,path:m,config:f}=i;this.label=Yre(s,l,f?f.hideRequiredAsterisk:!1),this.data=r,this.error=a,this.enabled=o,this.isEnabled()?this.form.enable():this.form.disable(),this.hidden=!u,this.scopedSchema=c,this.rootSchema=d,this.description=i.description??"",this.id=i.id,this.form.setValue(r),this.propsPath=m,this.mapAdditionalProps(i)}})),this.triggerValidation()}validator=e=>this.error?{error:this.error}:null;mapAdditionalProps(e){}ngOnDestroy(){super.ngOnDestroy(),cre(this.id)}isEnabled(){return this.enabled}getOwnProps(){let e={uischema:this.uischema,schema:this.schema,path:this.path,id:this.id};return this.disabled!==void 0&&(e.enabled=!this.disabled),this.visible!==void 0&&(e.visible=this.visible),e}triggerValidation(){this.form.markAsTouched(),this.form.updateValueAndValidity()}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["ng-component"]],inputs:{id:"id",disabled:"disabled",visible:"visible"},standalone:!1,features:[Oe],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return t})(),la=class extends dC{mapToProps(n){let e=PB(n,this.getOwnProps());return G({},e)}},gI=class extends dC{mapToProps(n){let e=ZT(n,this.getOwnProps());return G({},e)}},cC=class extends dC{mapToProps(n){let e=JT(n,this.getOwnProps()),i=n.jsonforms.i18n?.translate??Es.translate,r=nC(i,eC,e.i18nKeyPrefix,e.label);return Fe(G({},e),{translations:r})}},LGe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["unknown",8,"renderer"]],standalone:!1,attrs:FGe,decls:1,vars:0,template:function(i,r){i&1&&J(0,"No applicable renderer found!")},encapsulation:2})}return t})(),VGe=(t,n)=>(0,Ra.default)(t,"renderers.length")===(0,Ra.default)(n,"renderers.length")&&(0,Ra.default)(t,"cells.length")===(0,Ra.default)(n,"cells.length")&&(0,Ra.default)(t,"uischemas.length")===(0,Ra.default)(n,"uischemas.length")&&(0,Ra.default)(t,"schema")===(0,Ra.default)(n,"schema")&&(0,Doe.default)((0,Ra.default)(t,"uischema"),(0,Ra.default)(n,"uischema"))&&(0,Ra.default)(t,"path")===(0,Ra.default)(n,"path"),Ts=(()=>{class t extends Pa{viewContainerRef;componentFactoryResolver;jsonformsService;previousProps;constructor(e,i,r){super(),this.viewContainerRef=e,this.componentFactoryResolver=i,this.jsonformsService=r}set renderProps(e){this.path=e.path,this.schema=e.schema,this.uischema=e.uischema,this.update(this.jsonformsService.getState())}ngOnInit(){this.addSubscription(this.jsonformsService.$state.subscribe({next:e=>this.update(e)}))}update(e){let i=Kre(e,{schema:this.schema,uischema:this.uischema,path:this.path});if(VGe(this.previousProps,i))return;this.previousProps=i;let{renderers:r}=i,o=this.schema||i.schema,a=this.uischema||i.uischema,s={rootSchema:i.rootSchema,config:Tp(e)},l=(0,Coe.default)(r,m=>m.tester(a,o,s)),c=LGe;l!==void 0&&l.tester(a,o,s)!==-1&&(c=l.renderer);let d=this.componentFactoryResolver.resolveComponentFactory(c);this.viewContainerRef.clear();let u=this.viewContainerRef.createComponent(d);if(u.instance instanceof Pa){let m=u.instance;if(m.uischema=a,m.schema=o,m.path=this.path,m instanceof la&&m.id===void 0){let p=O_(i.uischema)?lre(i.uischema.scope):void 0;m.id=p}}}static \u0275fac=function(i){return new(i||t)(He(Kt),He(ad),He(bn))};static \u0275dir=ue({type:t,selectors:[["jsonforms-outlet"]],inputs:{renderProps:"renderProps"},standalone:!1,features:[Oe]})}return t})(),dc=(()=>{class t{jsonformsService;uischema;schema;data;renderers;uischemas;dataChange=new re;readonly;validationMode;ajv;config;i18n;additionalErrors;middleware=AB;errors=new re;previousData;previousErrors;subscription;initialized=!1;oldI18N;constructor(e){this.jsonformsService=e}ngOnInit(){this.jsonformsService.init({core:{data:this.data,uischema:this.uischema,schema:this.schema,ajv:this.ajv,validationMode:this.validationMode,additionalErrors:this.additionalErrors},uischemas:this.uischemas,i18n:this.i18n,renderers:this.renderers,config:this.config,readonly:this.readonly},this.middleware),this.subscription=this.jsonformsService.$state.subscribe(e=>{let i=e?.jsonforms?.core?.data,r=e?.jsonforms?.core?.errors;this.previousData!==i&&(this.previousData=i,this.dataChange.emit(i)),this.previousErrors!==r&&(this.previousErrors=r,this.errors.emit(r))}),this.oldI18N=this.i18n,this.initialized=!0}ngDoCheck(){(this.oldI18N?.locale!==this.i18n?.locale||this.oldI18N?.translate!==this.i18n?.translate||this.oldI18N?.translateError!==this.i18n?.translateError)&&(this.jsonformsService.updateI18n(Oo.updateI18n(this.oldI18N?.locale===this.i18n?.locale?this.jsonformsService.getState().jsonforms.i18n.locale:this.i18n?.locale,this.oldI18N?.translate===this.i18n?.translate?this.jsonformsService.getState().jsonforms.i18n.translate:this.i18n?.translate,this.oldI18N?.translateError===this.i18n?.translateError?this.jsonformsService.getState().jsonforms.i18n.translateError:this.i18n?.translateError)),this.oldI18N=this.i18n)}ngOnChanges(e){if(!this.initialized)return;let i=e.data,r=e.schema,o=e.uischema,a=e.renderers,s=e.uischemas,l=e.i18n,c=e.readonly,d=e.validationMode,u=e.ajv,m=e.config,f=e.additionalErrors;(i||r||o||d||u||f)&&this.jsonformsService.updateCoreState(i?i.currentValue:xs,r?r.currentValue:xs,o?o.currentValue:xs,u?u.currentValue:xs,d?d.currentValue:xs,f?f.currentValue:xs),a&&!a.isFirstChange()&&this.jsonformsService.setRenderers(a.currentValue),s&&!s.isFirstChange()&&this.jsonformsService.setUiSchemas(s.currentValue),l&&!l.isFirstChange()&&this.jsonformsService.updateI18n(Oo.updateI18n(l.currentValue?.locale,l.currentValue?.translate,l.currentValue?.translateError)),c&&!c.isFirstChange()&&this.jsonformsService.setReadonly(c.currentValue),m&&!m.isFirstChange()&&this.jsonformsService.updateConfig(Oo.setConfig(m.currentValue))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["jsonforms"]],inputs:{uischema:"uischema",schema:"schema",data:"data",renderers:"renderers",uischemas:"uischemas",readonly:"readonly",validationMode:"validationMode",ajv:"ajv",config:"config",i18n:"i18n",additionalErrors:"additionalErrors",middleware:"middleware"},outputs:{dataChange:"dataChange",errors:"errors"},standalone:!1,features:[it([bn]),Yt],decls:1,vars:0,template:function(i,r){i&1&&je(0,"jsonforms-outlet")},dependencies:[Ts],encapsulation:2})}return t})(),Na=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var Eoe={type:"Categorization",elements:[{type:"Category",label:"animalStock.base.category",options:{categoryKey:"base"},elements:[{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/animalCategoryPRIF",label:"animalStock.animalCategoryPRIF.label"},{type:"Control",scope:"#/properties/utilisation",label:"animalStock.utilisation.label"}]},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/durationSourceType",label:"animalStock.livestock.source.instruction"},{type:"Control",scope:"#/properties/selfReportedLivestock/properties/averageQuantity",label:"animalStock.selfReported.averageQuantity.label",options:{description:"animalStock.selfReported.averageQuantity.description"},rule:{effect:"SHOW",condition:{scope:"#/properties/durationSourceType",schema:{const:"self-reported"}}}},{type:"Control",scope:"#/properties/livestockReportViaAnimalTracingOriginal/properties/durationSumTotalNutrientBalance",label:"animalStock.livestockOriginal.durationSum.label",options:{description:"animalStock.livestockOriginal.durationSum.description"},rule:{effect:"SHOW",condition:{scope:"#/properties/durationSourceType",schema:{const:"tvd-original"}}}},{type:"Control",scope:"#/properties/livestockReportedViaAnimalTracingFinal/properties/durationSumTotalNutrientBalance",label:"animalStock.livestockFinal.durationSum.label",options:{description:"animalStock.livestockFinal.durationSum.description"},rule:{effect:"SHOW",condition:{scope:"#/properties/durationSourceType",schema:{const:"tvd-final"}}}}]},{type:"Control",scope:"#/properties/quantity_correction",label:"animalStock.quantityCorrection.checkbox"},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/durationCorrectionQuantity",label:"animalStock.durationCorrectionQuantity.label",options:{description:"animalStock.durationCorrectionQuantity.description"}},{type:"Control",scope:"#/properties/durationCorrectionDays",label:"animalStock.durationCorrectionDays.label",options:{description:"animalStock.durationCorrectionDays.description"}}],rule:{effect:"SHOW",condition:{scope:"#/properties/quantity_correction",schema:{const:!0}}}}]},{type:"Category",label:"animalStock.formOfDetention.category",options:{categoryKey:"formOfDetention"},elements:[{type:"Group",label:"animalStock.formOfDetention.stall.group",options:{variant:"card"},elements:[{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableSystem",label:"animalStock.formOfDetention.stall.stableSystem",options:{codeList:{filter:{resolver:"stableSystem_permittedForAnimalCategory",args:["#/animalCategoryPRIF"],fallback:"all"}}}},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableCapacity",label:"animalStock.formOfDetention.stall.stableCapacity"}]},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableVentilationType",label:"animalStock.formOfDetention.stall.stableVentilationType",options:{codeList:{filter:{resolver:"stableVentilation_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableAirPurification",label:"animalStock.formOfDetention.stall.stableAirPurification",options:{codeList:{filter:{resolver:"stableAirPurification_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}}]},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableManureRemovalFrequency",label:"animalStock.formOfDetention.stall.stableManureRemovalFrequency",options:{codeList:{filter:{resolver:"stableManureRemoval_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/stableWaterSupply",label:"animalStock.formOfDetention.stall.stableWaterSupply",options:{codeList:{filter:{resolver:"stableWaterSupply_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}},{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasStableDeepLitter",label:"animalStock.formOfDetention.hasStableDeepLitter"},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasStableManureBeltDrying",label:"animalStock.formOfDetention.hasStableManureBeltDrying"},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasStableManureAndSlurryProduction",label:"animalStock.formOfDetention.hasStableManureAndSlurryProduction"},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasStableFeedingStationElevated",label:"animalStock.formOfDetention.hasStableFeedingStationElevated"},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasStableFloorSlopedUrineDrainage",label:"animalStock.formOfDetention.hasStableFloorSlopedUrineDrainage"}]},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/hasYard",label:"animalStock.formOfDetention.hasYard"},{type:"Group",label:"animalStock.formOfDetention.yard.group",options:{variant:"logical"},rule:{effect:"SHOW",condition:{scope:"#/properties/formOfDetention/properties/stall/properties/hasYard",schema:{const:!0}}},elements:[{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/yardDays",label:"animalStock.formOfDetention.yard.yardDays"},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/yardHoursPerDay",label:"animalStock.formOfDetention.yard.yardHoursPerDay"}]},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/yardFeeding",label:"animalStock.formOfDetention.yard.yardFeeding",options:{codeList:{filter:{resolver:"yardFeeding_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}},{type:"Control",scope:"#/properties/formOfDetention/properties/stall/properties/yardFloorType",label:"animalStock.formOfDetention.yard.yardFloorType",options:{codeList:{filter:{resolver:"yardFloorType_permittedForSystem",args:["#/formOfDetention/stall/stableSystem"],fallback:"all"}}}}]},{type:"Group",options:{variant:"plain"},elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/hasGrazing",label:"animalStock.formOfDetention.hasGrazing"},{type:"Group",label:"animalStock.formOfDetention.pasture.group",options:{variant:"logical"},rule:{effect:"SHOW",condition:{scope:"#/properties/formOfDetention/properties/hasGrazing",schema:{const:!0}}},elements:[{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/formOfDetention/properties/pasture/properties/days",label:"animalStock.formOfDetention.pasture.days"},{type:"Control",scope:"#/properties/formOfDetention/properties/pasture/properties/hoursPerDay",label:"animalStock.formOfDetention.pasture.hoursPerDay"}]}]}]}]}]},{type:"Category",label:"animalStock.feeding.category",options:{categoryKey:"feeding"},elements:[{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/feeding/properties/fodderConsumption",label:"animalStock.feeding.fodderConsumption"},{type:"Control",scope:"#/properties/feeding/properties/concentratedFeedstuffConsumption",label:"animalStock.feeding.concentratedFeedstuffConsumption"}]},{type:"Group",label:"animalStock.feeding.winter.group",options:{variant:"card"},elements:[{type:"Control",scope:"#/properties/feeding/properties/winterFeeding/properties/feedingRoutine",label:"animalStock.feeding.winter.feedingRoutine"},{type:"Control",scope:"#/properties/feeding/properties/winterFeeding/properties/dailyConcentratedFeedstuff/properties/quantity",label:"animalStock.feeding.winter.dailyConcentrated"}]},{type:"Group",label:"animalStock.feeding.summer.group",options:{variant:"card"},elements:[{type:"Control",scope:"#/properties/feeding/properties/summerFeeding/properties/feedingRoutine",label:"animalStock.feeding.summer.feedingRoutine"},{type:"Constraint",options:{constraint:{resolver:"animalCategory_isPermittedForConcentratedFeedstuffSummering",args:["#/animalCategoryPRIF"],fallbackVisible:!1}},elements:[{type:"Control",scope:"#/properties/feeding/properties/summerFeeding/properties/dailyConcentratedFeedstuff/properties/quantity",label:"animalStock.feeding.summer.dailyConcentrated"}]}]}]}]};var sf={type:"object",properties:{nutrientCycle:{type:"object",properties:{animalStock:{type:"array",title:"Animal Stock",description:"Properties for each animal stock group.",items:{type:"object",allOf:[{properties:{order:{type:"string",title:"Order",description:"Helps to identify animal in result set."},animalCategoryPRIF:{type:"number",title:"Animal Category (PRIF ID)",description:"PRIF-animal category ID."},livestockReportViaAnimalTracingOriginal:{type:"object",title:"Livestock Report Via Animal Tracing (Original)",properties:{durationSumTotalNutrientBalance:{type:"number",title:"Duration Sum Total Nutrient Balance"}}},livestockReportedViaAnimalTracingFinal:{type:"object",title:"Livestock Reported Via Animal Tracing (Final)",properties:{durationSumTotalNutrientBalance:{type:"number",title:"Duration Sum Total Nutrient Balance"}}},selfReportedLivestock:{type:"object",title:"Self-Reported Livestock",properties:{averageQuantity:{type:"number",title:"Average Quantity"}}},durationCorrectionQuantity:{type:"number",title:"Duration Correction Quantity"},durationCorrectionDays:{type:"number",title:"Duration Correction Days",minimum:0,maximum:365},hasImpexDerivedExcretion:{type:"boolean",title:"Has IMPEX Derived Excretion"},hasLinearCorrectionDerivedExcretion:{type:"boolean",title:"Has Linear Correction Derived Excretion"},linearCorrection:{type:"object",title:"Linear Correction",properties:{duration:{type:"number",title:"Duration (days)"}}},utilisation:{type:"number",title:"Utilisation ID"},formOfDetention:{type:"object",title:"Form of Detention",properties:{hasGrazing:{type:"boolean",title:"Has Grazing"},pasture:{type:"object",properties:{days:{type:"number",title:"Pasture Days",minimum:0,maximum:365},hoursPerDay:{type:"number",title:"Pasture Hours per Day",minimum:0,maximum:24}}},stall:{type:"object",properties:{stableSystem:{type:"number",title:"Stable System",permittedStableSystem:!0},stableCapacity:{type:"number",title:"Stable Capacity",minimum:0},hasStableDeepLitter:{type:"boolean",title:"Has Stable Deep Litter"},hasStableManureBeltDrying:{type:"boolean",title:"Has Stable Manure Belt Drying"},stableVentilationType:{type:["number","null"],title:"Stable Ventilation Type ID"},stableAirPurification:{type:["number","null"],title:"Stable Air Purification ID"},stableManureRemovalFrequency:{type:["number","null"],title:"Stable Manure Removal Frequency ID"},stableWaterSupply:{type:["number","null"],title:"Stable Water Supply ID"},hasStableManureAndSlurryProduction:{type:"boolean",title:"Has Manure & Slurry Production"},hasStableFeedingStationElevated:{type:"boolean",title:"Has Stable Feeding Station Elevated"},hasStableFloorSlopedUrineDrainage:{type:"boolean",title:"Has Stable Floor Sloped Urine Drainage"},hasYard:{type:"boolean",title:"Has Yard"},yardFeeding:{type:["number","null"],title:"Yard Feeding ID"},yardFloorType:{type:["number","null"],title:"Yard Floor Type ID"},yardDays:{type:"number",title:"Yard Days"},yardHoursPerDay:{type:"number",title:"Yard Hours per Day"}}}}},feeding:{type:"object",title:"Feeding",properties:{fodderConsumption:{type:"number",title:"Fodder Consumption (kg)"},concentratedFeedstuffConsumption:{type:"number",title:"Concentrated Feedstuff Consumption (kg)"},winterFeeding:{type:"object",title:"Winter Feeding",properties:{feedingRoutine:{type:"array",title:"Feeding Routine",items:{type:"object",properties:{typeOfFeedstuffProduct:{type:"string",title:"Type of Feedstuff Product"},transactionUnit:{type:"string",title:"Transaction Unit"},quantity:{type:"number",title:"Quantity"}}}},dailyConcentratedFeedstuff:{type:"object",title:"Daily Concentrated Feedstuff",properties:{quantity:{type:"number",title:"Quantity (kg)"}}}}},summerFeeding:{type:"object",title:"Summer Feeding",properties:{feedingRoutine:{type:"array",title:"Feeding Routine",items:{type:"object",properties:{typeOfFeedstuffProduct:{type:"string",title:"Type of Feedstuff Product"},transactionUnit:{type:"string",title:"Transaction Unit"},quantity:{type:"number",title:"Quantity"}}}},dailyConcentratedFeedstuff:{type:"object",title:"Daily Concentrated Feedstuff",properties:{quantity:{type:"number",title:"Quantity (kg)"}}}}}}}}},{oneOf:[{required:["livestockReportViaAnimalTracingOriginal"],not:{anyOf:[{required:["livestockReportedViaAnimalTracingFinal"]},{required:["selfReportedLivestock"]}]}},{required:["livestockReportedViaAnimalTracingFinal"],not:{anyOf:[{required:["livestockReportViaAnimalTracingOriginal"]},{required:["selfReportedLivestock"]}]}},{required:["selfReportedLivestock"],not:{anyOf:[{required:["livestockReportViaAnimalTracingOriginal"]},{required:["livestockReportedViaAnimalTracingFinal"]}]}}],errorMessage:"Exactly one livestock duration source must be specified"},{if:{properties:{durationCorrectionQuantity:{type:"number",not:{const:0}}},required:["durationCorrectionQuantity"]},then:{required:["durationCorrectionDays"],properties:{durationCorrectionDays:{type:"number",minimum:1}}},errorMessage:{required:"Duration correction days required when quantity is specified"}},{if:{properties:{hasLinearCorrectionDerivedExcretion:{const:!0}},required:["hasLinearCorrectionDerivedExcretion"]},then:{required:["linearCorrection"],properties:{linearCorrection:{required:["duration"]}}},errorMessage:{required:"Linear correction duration is required when linear correction is enabled"}}]}},storage:{type:"object",title:"Storage",properties:{stableStrawLitter:{type:"number",title:"Stable Straw Litter (kg)"},manureSupplyProportionStored:{type:"number",title:"Manure Supply Proportion Stored (%)"},slurrySupplyProportionStored:{type:"number",title:"Slurry Supply Proportion Stored (%)"},dilutionRatio:{type:"number",title:"Dilution Ratio"},manurePit:{type:"array",title:"Manure Pits",items:{type:"object",properties:{cover:{type:"number",title:"Cover ID"},manureFromAnimalStockStored:{type:"array",items:{type:"object",properties:{manureDerivation:{type:"string",title:"Manure Derivation"},proportionStored:{type:"number",title:"Proportion Stored (%)"}}}}}}},slurryTank:{type:"array",title:"Slurry Tanks",items:{type:"object",properties:{volumeInM3:{type:"number",title:"Volume (m\xB3)"},depthInM:{type:"number",title:"Depth (m)"},cover:{type:"number",title:"Cover ID"},mixingFrequency:{type:"number",title:"Mixing Frequency ID"},manureDerivation:{type:"array",items:{type:"string"}}}}}}},farmManureTrading:{type:"object",title:"Farm Manure Trading",properties:{supply:{type:"array",title:"Supply",items:{type:"object",properties:{quantity:{type:"number"},typeOfManureRecyclingProduct:{type:"string"},transactionUnit:{type:"string",readOnly:!0},manureDerivation:{type:"array",items:{type:"object",properties:{zoologicalAnimal:{type:"string"},percentageAllocation:{type:"number"}}}},ingredient:{type:"array",items:{type:"object",properties:{quantity:{type:"number"},molecularFormula:{type:"string"},unit:{type:"string"}}}}}}},dispense:{type:"array",title:"Dispense",items:{type:"object",properties:{quantity:{type:"number"},typeOfManureRecyclingProduct:{type:"string"},transactionUnit:{type:"string",readOnly:!0},manureDerivation:{type:"array",items:{type:"object",properties:{zoologicalAnimal:{type:"string"},percentageAllocation:{type:"number"}}}},ingredient:{type:"array",items:{type:"object",properties:{quantity:{type:"number"},molecularFormula:{type:"string"},unit:{type:"string"}}}}}}}}},fieldSpreading:{type:"object",title:"Field Spreading",properties:{soilPh:{type:["number","null"],title:"Soil pH ID"},slurry:{type:"object",properties:{quantity:{type:["number","null"]},dilutionRatio:{type:["number","null"]},applicationDuringWarmDays:{type:["number","null"]},proportionAppliedSummerMonths:{type:["number","null"]},proportionAppliedOtherMonths:{type:["number","null"]},proportionAppliedAfter6PM:{type:["number","null"]},dragHoseAreaSize:{type:["number","null"]},otherApplicationTechnologies:{type:"array",items:{type:"object",properties:{applicationTechnologyType:{type:["number","null"]},proportionOfArea:{type:["number","null"]}}}}}},manure:{type:"object",properties:{applicationIncorporationTime:{type:["number","null"]},proportionAppliedSummerMonths:{type:["number","null"]},proportionAppliedOtherMonths:{type:["number","null"]}}},fertiliser:{type:"array",items:{type:"object",properties:{fertiliserProductCategory:{type:["string","null"]},quantity:{type:["number","null"]},transactionUnit:{type:["string","null"]},ingredient:{type:"array",items:{type:"object",properties:{molecularFormula:{type:["string","null"]},quantity:{type:["number","null"]},unit:{type:["string","null"]}}}}}}},recycling:{type:"array",items:{type:"object",properties:{typeOfManureRecyclingProduct:{type:["string","null"]},quantity:{type:["number","null"]},transactionUnit:{type:["string","null"]},ingredient:{type:"array",items:{type:"object",properties:{molecularFormula:{type:["string","null"]},quantity:{type:["number","null"]},unit:{type:["string","null"]}}}}}}}},allOf:[{if:{properties:{fertiliser:{type:"array",minItems:1}},required:["fertiliser"]},then:{required:["soilPh"]},errorMessage:{required:{soilPh:"Soil pH must be provided when mineral fertiliser is declared"}}}]},lifetimePerformance:{type:"object",title:"Lifetime Performance",properties:{dailyGain:{type:"number",title:"Daily Gain (kg)"},liveWeight:{type:"number",title:"Live Weight (kg)"},milkProductionReport:{type:"number",title:"Milk Production (kg/year)"}}},fodder:{type:"object",title:"Fodder",properties:{proportionStorageLoss:{type:"number",title:"Proportion Storage Loss (%)"},totalBalanceErrorMargin:{type:"number",title:"Total Balance Error Margin (%)"}}},fieldCultivation:{type:"object",title:"Field Cultivation",properties:{fodderCropland:{type:"array",title:"Fodder Cropland",items:{type:"object",properties:{agronomicCropCategory:{type:"string"},isMainCrop:{type:"boolean"},areaSize:{type:"number"},calculateYieldThroughFodderBalance:{type:"boolean"},yieldPerSquareMeasure:{type:"number"}}}}}},generateReport:{type:"boolean",title:"Generate Report"}}}}};var bl={$comment:"Global UI-only helper fields shared across all JSONForms-based components. These fields drive conditional rendering logic but are NEVER persisted in the nutrient balance data model. Each helper MUST be marked with 'x-ui-helper: true' for automatic cleanup.",type:"object",properties:{durationSourceType:{type:"string",title:"Duration Source Type",enum:["tvd-original","tvd-final","self-reported"],description:"Radio selector for which livestock duration source to activate (Animal Stock forms)","x-ui-helper":!0},quantity_correction:{type:"boolean",title:"Quantity Correction",description:"Checkbox to enable duration correction fields (Animal Stock forms)","x-ui-helper":!0}}};function j_(t,n){let e=JSON.parse(JSON.stringify(t));if(n.properties&&typeof n.properties=="object"){let i={type:"object",properties:G({},n.properties)};e.properties&&typeof e.properties=="object"?Object.assign(e.properties,n.properties):Array.isArray(e.allOf)?e.allOf.push(i):e.properties=G({},n.properties)}return e}function U_(t){let n=new Set;if(t.properties&&typeof t.properties=="object")for(let[e,i]of Object.entries(t.properties))i&&typeof i=="object"&&"x-ui-helper"in i&&i["x-ui-helper"]===!0&&n.add(e);return n}function z_(t,n){let e=G({},t);for(let i of n)delete e[i];return e}var FTt=Object.keys(bl.properties||{}),YB=[{key:"quantity_correction",default:()=>!1},{key:"durationSourceType",default:()=>{},derive:t=>{if(t?.selfReportedLivestock?.averageQuantity!=null)return"self-reported";if(t?.livestockReportedViaAnimalTracingFinal?.durationSumTotalNutrientBalance!=null)return"tvd-final";if(t?.livestockReportViaAnimalTracingOriginal?.durationSumTotalNutrientBalance!=null)return"tvd-original"},readonly:!0}];function zGe(t){let n={};for(let e of YB){if(!e.derive)continue;let i=e.derive(t);i!==void 0&&(n[e.key]=i)}return n}function HGe(t){let n=zGe(t),e=G({},t);for(let i of YB){let r=e[i.key];if(i.readonly){let o=n[i.key];o!==void 0?e[i.key]=o:r!==void 0&&delete e[i.key];continue}if(r===void 0){let o=n[i.key]??i.default();o!==void 0&&(e[i.key]=o)}}return e}function $Ge(t){let n=G({},t);for(let e of YB)delete n[e.key];return n}function uc(t){return t?HGe(t):null}function fc(t){return $Ge(t)}var PNt=Zt(Soe(),1);var woe=(()=>{class t{_animationsDisabled=an();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&De("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
31
|
+
`],encapsulation:2,changeDetection:0})}return t})();var GGe=["text"],qGe=[[["mat-icon"]],"*"],YGe=["mat-icon","*"];function WGe(t,n){if(t&1&&je(0,"mat-pseudo-checkbox",1),t&2){let e=U();V("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function KGe(t,n){if(t&1&&je(0,"mat-pseudo-checkbox",3),t&2){let e=U();V("disabled",e.disabled)}}function XGe(t,n){if(t&1&&(C(0,"span",4),J(1),x()),t&2){let e=U();E(),ni("(",e.group.label,")")}}var $_=new te("MAT_OPTION_PARENT_COMPONENT"),G_=new te("MatOptgroup");var H_=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},ca=(()=>{class t{_element=h(Te);_changeDetectorRef=h(mt);_parent=h($_,{optional:!0});group=h(G_,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=h(Sn).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Be(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new re;_text;_stateChanges=new _e;constructor(){let e=h(pn);e.load(wr),e.load(hs),this._signalDisableRipple=!!this._parent&&Wl(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Hn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new H_(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Qe(GGe,7),i&2){let o;be(o=Ce())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ae("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),i&2&&(Lr("id",r.id),Ge("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),De("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ee]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:YGe,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Et(qGe),We(0,WGe,1,2,"mat-pseudo-checkbox",1),Ve(1),C(2,"span",2,0),Ve(4,1),x(),We(5,KGe,1,1,"mat-pseudo-checkbox",3),We(6,XGe,2,1,"span",4),je(7,"div",5)),i&2&&(Ke(r.multiple?0:-1),E(5),Ke(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),E(),Ke(r.group&&r.group._inert?6:-1),E(),V("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[woe,_s],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
|
|
32
|
+
`],encapsulation:2,changeDetection:0})}return t})();function uC(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function fC(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var mC=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},lf=class extends mC{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},Oa=class extends mC{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},WB=class extends mC{element;constructor(n){super(),this.element=n instanceof Te?n.nativeElement:n}},vI=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof lf)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Oa)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof WB)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},yI=class extends vI{outletElement;_appRef;_defaultInjector;constructor(n,e,i){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=i}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(xu,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||ft.NULL,o=r.get(Mi,i.injector);e=Rw(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||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=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},xoe=(()=>{class t extends Oa{constructor(){let e=h(kn),i=h(Kt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Oe]})}return t})();var cf=(()=>{class t extends vI{_moduleRef=h(xu,{optional:!0});_document=h(dt);_viewContainerRef=h(Kt);_isInitialized=!1;_attachedRef;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 re;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,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}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 r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_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=ue({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Oe]})}return t})();var pC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var Toe=$w();function xI(t){return new bI(t.get(Sr),t.get(dt))}var bI=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ni(-this._previousScrollPosition.left),n.style.top=Ni(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Toe&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Toe&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_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 Noe(t,n){return new CI(t.get(cl),t.get(Ne),t.get(Sr),n)}var CI=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(cn(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=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.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 hC=class{enable(){}disable(){}attach(){}};function KB(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,a=t.left>e.right;return i||r||o||a})}function Ioe(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,a=t.right>e.right;return i||r||o||a})}function Fa(t,n){return new DI(t.get(cl),t.get(Sr),t.get(Ne),n)}var DI=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();KB(e,[{width:i,height:r,bottom:r,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}},Ooe=(()=>{class t{_injector=h(ft);constructor(){}noop=()=>new hC;close=e=>Noe(this._injector,e);block=()=>xI(this._injector);reposition=e=>Fa(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Id=class{positionStrategy;scrollStrategy=new hC;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}};var EI=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Foe=(()=>{class t{_attachedOverlays=[];_document=h(dt);_isAttached;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()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Loe=(()=>{class t extends Foe{_ngZone=h(Ne);_renderer=h(ci).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 r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Voe=(()=>{class t extends Foe{_platform=h(It);_ngZone=h(Ne);_renderer=h(ci).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){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=Ei(e)};_clickListener=e=>{let i=Ei(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){let s=o[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Aoe(s.overlayElement,i)||Aoe(s.overlayElement,r))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Aoe(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Boe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
33
|
+
`],encapsulation:2,changeDetection:0})}return t})(),joe=(()=>{class t{_platform=h(It);_containerElement;_document=h(dt);_styleLoader=h(pn);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||uF()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),uF()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Boe)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XB=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.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()}},SI=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new _e;_attachments=new _e;_detachments=new _e;_positionStrategy;_scrollStrategy;_locationChanges=tt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new _e;_outsidePointerEvents=new _e;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,d=!1,u,m){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=jn(()=>{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 n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=G(G({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Fe(G({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ni(this._config.width),n.height=Ni(this._config.height),n.minWidth=Ni(this._config.minWidth),n.minHeight=Ni(this._config.minHeight),n.maxWidth=Ni(this._config.maxWidth),n.maxHeight=Ni(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new XB(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._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=ul(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=jn(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)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 n=this._scrollStrategy;n?.disable(),n?.detach?.()}},Moe="cdk-overlay-connected-position-bounding-box",QGe=/([A-Za-z%]+)$/;function Ad(t,n){return new q_(n,t.get(Sr),t.get(dt),t.get(It),t.get(joe))}var q_=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_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;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new _e;_resizeSubscription=tt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(Moe),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:e})}if(o.length){let s=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rp(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Moe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=i.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=Roe(e),{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let d=0-a,u=a+o.width-i.width,m=0-s,f=s+o.height-i.height,p=this._subtractOverflows(o.width,d,u),g=this._subtractOverflows(o.height,m,f),_=p*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,a=koe(this._overlayRef.getConfig().minHeight),s=koe(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||a!=null&&a<=r,c=n.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=Roe(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,u=0;return r.width<=o.width?d=c||-a:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?u=l||-s:u=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!ZGe(this._lastScrollVisibility,i)){let r=new EI(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,a,s;if(e.overlayY==="top")a=n.y,o=i.height-a+this._viewportMargin;else if(e.overlayY==="bottom")s=i.height-n.y+this._viewportMargin*2,o=i.height-s+this._viewportMargin;else{let f=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;o=f*2,a=n.y-f,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-p/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)u=n.x,d=i.right-n.x;else{let f=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=f*2,u=n.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:a,left:u,bottom:s,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Ni(i.height),r.top=Ni(i.top),r.bottom=Ni(i.bottom),r.width=Ni(i.width),r.left=Ni(i.left),r.right=Ni(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Ni(o)),a&&(r.maxWidth=Ni(a))}this._lastBoundingBoxSize=i,Rp(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Rp(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rp(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Rp(i,this._getExactOverlayY(e,n,d)),Rp(i,this._getExactOverlayX(e,n,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=Ni(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Ni(a.maxWidth):o&&(i.maxWidth="")),Rp(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=Ni(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=Ni(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ioe(n,i),isOriginOutsideView:KB(n,i),isOverlayClipped:Ioe(e,i),isOverlayOutsideView:KB(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ul(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof Te)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};function Rp(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function koe(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(QGe);return!e||e==="px"?parseFloat(n):null}return t||null}function Roe(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 ZGe(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var Poe="cdk-global-overlay-wrapper";function TI(t){return new wI}var wI=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Poe),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",f="",p="",g="";l?g="flex-start":d==="center"?(g="center",m?p=u:f=u):m?d==="left"||d==="end"?(g="flex-end",f=u):(d==="right"||d==="start")&&(g="flex-start",p=u):d==="left"||d==="start"?(g="flex-start",f=u):(d==="right"||d==="end")&&(g="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,e.justifyContent=g,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Poe),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Uoe=(()=>{class t{_injector=h(ft);constructor(){}global(){return TI()}flexibleConnectedTo(e){return Ad(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Md(t,n){t.get(pn).load(Boe);let e=t.get(joe),i=t.get(dt),r=t.get(Sn),o=t.get(Zo),a=t.get(On),s=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),e.getContainerElement().appendChild(s);let c=new yI(l,o,t),d=new Id(n),u=t.get(dn,null,{optional:!0})||t.get(ci).createRenderer(null,null);return d.direction=d.direction||a.value,new SI(c,s,l,d,t.get(Ne),t.get(Loe),i,t.get(Nw),t.get(Voe),n?.disableAnimations??t.get(Au,null,{optional:!0})==="NoopAnimations",t.get(Mi),u)}var zoe=(()=>{class t{scrollStrategies=h(Ooe);_positionBuilder=h(Uoe);_injector=h(ft);constructor(){}create(e){return Md(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),JGe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Hoe=new te("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(ft);return()=>Fa(t)}}),Y_=(()=>{class t{elementRef=h(Te);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),II=(()=>{class t{_dir=h(On,{optional:!0});_injector=h(ft);_overlayRef;_templatePortal;_backdropSubscription=tt.EMPTY;_attachSubscription=tt.EMPTY;_detachSubscription=tt.EMPTY;_positionSubscription=tt.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h(Hoe);_disposeOnNavigation=!1;_ngZone=h(Ne);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new re;positionChange=new re;attach=new re;detach=new re;overlayKeydown=new re;overlayOutsideClick=new re;constructor(){let e=h(kn),i=h(Kt);this._templatePortal=new Oa(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=JGe);let e=this._overlayRef=Md(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Hn(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Ei(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Id({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=Ad(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Y_?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Y_?this.origin.elementRef.nativeElement:this.origin instanceof Te?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(GR(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ee],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ee],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ee],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ee],push:[2,"cdkConnectedOverlayPush","push",Ee],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ee]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Yt]})}return t})();function e4e(t){let n=h(ft);return()=>Fa(n)}var t4e={provide:Hoe,useFactory:e4e},gC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({providers:[zoe,t4e],imports:[Nu,pC,Hb,Hb]})}return t})();var QB=class{_box;_destroyed=new _e;_resizeSubject=new _e;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new yt(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(cn(e=>e.some(i=>i.target===n)),hS({bufferSize:1,refCount:!0}),Nt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},AI=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=h(Ne);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new QB(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var n4e=["notch"],i4e=["matFormFieldNotchedOutline",""],r4e=["*"],$oe=["iconPrefixContainer"],Goe=["textPrefixContainer"],qoe=["iconSuffixContainer"],Yoe=["textSuffixContainer"],o4e=["textField"],a4e=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],s4e=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function l4e(t,n){t&1&&je(0,"span",20)}function c4e(t,n){if(t&1&&(C(0,"label",19),Ve(1,1),We(2,l4e,1,0,"span",20),x()),t&2){let e=U(2);V("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Ge("for",e._control.disableAutomaticLabeling?null:e._control.id),E(2),Ke(!e.hideRequiredMarker&&e._control.required?2:-1)}}function d4e(t,n){if(t&1&&We(0,c4e,3,5,"label",19),t&2){let e=U();Ke(e._hasFloatingLabel()?0:-1)}}function u4e(t,n){t&1&&je(0,"div",7)}function f4e(t,n){}function m4e(t,n){if(t&1&&Je(0,f4e,0,0,"ng-template",13),t&2){U(2);let e=cr(1);V("ngTemplateOutlet",e)}}function p4e(t,n){if(t&1&&(C(0,"div",9),We(1,m4e,1,1,null,13),x()),t&2){let e=U();V("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),E(),Ke(e._forceDisplayInfixLabel()?-1:1)}}function h4e(t,n){t&1&&(C(0,"div",10,2),Ve(2,2),x())}function g4e(t,n){t&1&&(C(0,"div",11,3),Ve(2,3),x())}function _4e(t,n){}function v4e(t,n){if(t&1&&Je(0,_4e,0,0,"ng-template",13),t&2){U();let e=cr(1);V("ngTemplateOutlet",e)}}function y4e(t,n){t&1&&(C(0,"div",14,4),Ve(2,4),x())}function b4e(t,n){t&1&&(C(0,"div",15,5),Ve(2,5),x())}function C4e(t,n){t&1&&je(0,"div",16)}function D4e(t,n){t&1&&Ve(0,6)}function E4e(t,n){if(t&1&&(C(0,"mat-hint",21),J(1),x()),t&2){let e=U(2);V("id",e._hintLabelId),E(),Se(e.hintLabel)}}function S4e(t,n){if(t&1&&(We(0,E4e,2,2,"mat-hint",21),Ve(1,7),je(2,"div",22),Ve(3,8)),t&2){let e=U();Ke(e.hintLabel?0:-1)}}var La=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-label"]]})}return t})(),ZB=new te("MatError"),da=(()=>{class t{id=h(Sn).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,r){i&2&&Lr("id",r.id)},inputs:{id:"id"},features:[it([{provide:ZB,useExisting:t}])]})}return t})(),fo=(()=>{class t{align="start";id=h(Sn).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Lr("id",r.id),Ge("align",null),De("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),eae=new te("MatPrefix");var JB=new te("MatSuffix"),ej=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[it([{provide:JB,useExisting:t}])]})}return t})(),tae=new te("FloatingLabelParent"),Woe=(()=>{class t{_elementRef=h(Te);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=h(AI);_ngZone=h(Ne);_parent=h(tae);_resizeSubscription=new tt;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return w4e(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&De("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function w4e(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var Koe="mdc-line-ripple--active",MI="mdc-line-ripple--deactivating",Xoe=(()=>{class t{_elementRef=h(Te);_cleanupTransitionEnd;constructor(){let e=h(Ne),i=h(dn);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(MI),e.add(Koe)}deactivate(){this._elementRef.nativeElement.classList.add(MI)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(MI);e.propertyName==="opacity"&&r&&i.remove(Koe,MI)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),Qoe=(()=>{class t{_elementRef=h(Te);_ngZone=h(Ne);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Qe(n4e,5),i&2){let o;be(o=Ce())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&De("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:i4e,ngContentSelectors:r4e,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Et(),no(0,"div",1),lr(1,"div",2,0),Ve(3),yr(),no(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Pp=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t})}return t})();var mc=new te("MatFormField"),nae=new te("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Zoe="fill",x4e="auto",Joe="fixed",T4e="translateY(-50%)",Va=(()=>{class t{_elementRef=h(Te);_changeDetectorRef=h(mt);_platform=h(It);_idGenerator=h(Sn);_ngZone=h(Ne);_defaults=h(nae,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Ob("iconPrefixContainer");_textPrefixContainerSignal=Ob("textPrefixContainer");_iconSuffixContainerSignal=Ob("iconSuffixContainer");_textSuffixContainerSignal=Ob("textSuffixContainer");_prefixSuffixContainers=$e(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=M5(La);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Si(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||x4e}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||Zoe;this._appearanceSignal.set(i)}_appearanceSignal=Be(Zoe);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Joe}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Joe}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new _e;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=an();constructor(){let e=this._defaults,i=h(On);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),En(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=$e(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Vn([void 0,void 0]),Gt(()=>[i.errorState,i.userAriaDescribedBy]),pS(),cn(([[o,a],[s,l]])=>o!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Nt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Nn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){P5({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=$e(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,a=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(a=>a&&!o.includes(a)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,s=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",u=`${a+s}px`,f=`calc(${d} * (${u} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,p=`var(--mat-mdc-form-field-label-transform, ${T4e} translateX(${f}))`,g=a+s+l+c;return[p,g]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(qN(o,r._labelChild,La,5),Ft(o,Pp,5),Ft(o,eae,5),Ft(o,JB,5),Ft(o,ZB,5),Ft(o,fo,5)),i&2){Iw();let a;be(a=Ce())&&(r._formFieldControl=a.first),be(a=Ce())&&(r._prefixChildren=a),be(a=Ce())&&(r._suffixChildren=a),be(a=Ce())&&(r._errorChildren=a),be(a=Ce())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(Tg(r._iconPrefixContainerSignal,$oe,5),Tg(r._textPrefixContainerSignal,Goe,5),Tg(r._iconSuffixContainerSignal,qoe,5),Tg(r._textSuffixContainerSignal,Yoe,5),Qe(o4e,5),Qe($oe,5),Qe(Goe,5),Qe(qoe,5),Qe(Yoe,5),Qe(Woe,5),Qe(Qoe,5),Qe(Xoe,5)),i&2){Iw(4);let o;be(o=Ce())&&(r._textField=o.first),be(o=Ce())&&(r._iconPrefixContainer=o.first),be(o=Ce())&&(r._textPrefixContainer=o.first),be(o=Ce())&&(r._iconSuffixContainer=o.first),be(o=Ce())&&(r._textSuffixContainer=o.first),be(o=Ce())&&(r._floatingLabel=o.first),be(o=Ce())&&(r._notchedOutline=o.first),be(o=Ce())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&De("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[it([{provide:mc,useExisting:t},{provide:tae,useExisting:t}])],ngContentSelectors:s4e,decls:19,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=lt();Et(a4e),Je(0,d4e,1,1,"ng-template",null,0,Ql),C(2,"div",6,1),ae("click",function(s){return he(o),ge(r._control.onContainerClick(s))}),We(4,u4e,1,0,"div",7),C(5,"div",8),We(6,p4e,2,2,"div",9),We(7,h4e,3,0,"div",10),We(8,g4e,3,0,"div",11),C(9,"div",12),We(10,v4e,1,1,null,13),Ve(11),x(),We(12,y4e,3,0,"div",14),We(13,b4e,3,0,"div",15),x(),We(14,C4e,1,0,"div",16),x(),C(15,"div",17)(16,"div",18),We(17,D4e,1,0)(18,S4e,4,1),x()()}if(i&2){let o;E(2),De("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),E(2),Ke(!r._hasOutline()&&!r._control.disabled?4:-1),E(2),Ke(r._hasOutline()?6:-1),E(),Ke(r._hasIconPrefix?7:-1),E(),Ke(r._hasTextPrefix?8:-1),E(2),Ke(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),E(2),Ke(r._hasTextSuffix?12:-1),E(),Ke(r._hasIconSuffix?13:-1),E(),Ke(r._hasOutline()?-1:14),E(),De("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();E(),De("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),E(),Ke((o=a)==="error"?17:o==="hint"?18:-1)}},dependencies:[Woe,Qoe,_O,Xoe,fo],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
|
|
34
|
+
`],encapsulation:2,changeDetection:0})}return t})();var kI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en]})}return t})();var tj=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[Wg,en,kI,ca]})}return t})();var I4e=["panel"],A4e=["*"];function M4e(t,n){if(t&1&&(lr(0,"div",1,0),Ve(2),yr()),t&2){let e=n.id,i=U();di(i._classList),De("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-autocomplete-panel-animations-enabled",!i._animationsDisabled)("mat-primary",i._color==="primary")("mat-accent",i._color==="accent")("mat-warn",i._color==="warn"),Lr("id",i.id),Ge("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}var nj=class{source;option;constructor(n,e){this.source=n,this.option=e}},iae=new te("mat-autocomplete-default-options",{providedIn:"root",factory:k4e});function k4e(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var rae=(()=>{class t{_changeDetectorRef=h(mt);_elementRef=h(Te);_defaults=h(iae);_animationsDisabled=an();_activeOptionChanges=tt.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new re;opened=new re;closed=new re;optionActivated=new re;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=h(Sn).getId("mat-autocomplete-");inertGroups;constructor(){let e=h(It);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new up(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new nj(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,ca,5),Ft(o,G_,5)),i&2){let a;be(a=Ce())&&(r.options=a),be(a=Ce())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&(Qe(kn,7),Qe(I4e,5)),i&2){let o;be(o=Ce())&&(r.template=o.first),be(o=Ce())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",Ee],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Ee],requireSelection:[2,"requireSelection","requireSelection",Ee],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Ee],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ee]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[it([{provide:$_,useExisting:t}])],ngContentSelectors:A4e,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,r){i&1&&(Et(),sl(0,M4e,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}
|
|
35
|
+
`],encapsulation:2,changeDetection:0})}return t})();var R4e={provide:ws,useExisting:bi(()=>ij),multi:!0};var P4e=new te("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(ft);return()=>Fa(t)}});var ij=(()=>{class t{_environmentInjector=h(Mi);_element=h(Te);_injector=h(ft);_viewContainerRef=h(Kt);_zone=h(Ne);_changeDetectorRef=h(mt);_dir=h(On,{optional:!0});_formField=h(mc,{optional:!0,host:!0});_viewportRuler=h(Sr);_scrollStrategy=h(P4e);_renderer=h(dn);_animationsDisabled=an();_defaults=h(iae,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new _e;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=tt.EMPTY;_breakpointObserver=h(Xb);_handsetLandscapeSubscription=tt.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new _e;_overlayPanelClass=ul(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Vu(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Nn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(cn(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(cn(()=>this._overlayAttached)):li()).pipe(Gt(e=>e instanceof H_?e:null))}optionSelections=Yy(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Vn(e),Qr(()=>Nn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Qr(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new yt(e=>{let i=o=>{let a=Ei(o),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!l||!l.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(o)},r=[this._renderer.listen("document","click",i),this._renderer.listen("document","auxclick",i),this._renderer.listen("document","touchend",i)];return()=>{r.forEach(o=>o())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e,r=i.keyCode,o=Hn(i);if(r===27&&!o&&i.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&r===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=r===38||r===40;r===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;if(i.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return ud()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new yt(r=>{jn(()=>{r.next()},{injector:this._environmentInjector})}),i=this.autocomplete.options?.changes.pipe(el(()=>this._positionStrategy.reapplyLastPosition()),HR(0))??li();return Nn(e,i).pipe(Qr(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Gi(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),i._emitSelectEvent(r),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Lg(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new Oa(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=Md(this._injector,this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(qY.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Hn(e)||e.keyCode===38&&Hn(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Id({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=Ad(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=i:a=[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let r=0;r<e.options.length;r++)if(!e.options.get(r).disabled){i=r;break}e._keyManager.setActiveItem(i)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let i=this.autocomplete,r=uC(e,i.options,i.optionGroups);if(e===0&&r===1)i._setScrollTop(0);else if(i.panel){let o=i.options.toArray()[e];if(o){let a=o._getHostElement(),s=fC(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(s)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&Vu(this._trackedModal,"aria-owns",i),Lg(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Vu(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,r){i&1&&ae("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),i&2&&Ge("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Ee]},exportAs:["matAutocompleteTrigger"],features:[it([R4e]),Yt]})}return t})();var oae="mat-badge-content",O4e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}
|
|
36
|
+
`],encapsulation:2,changeDetection:0})}return t})(),aae=(()=>{class t{_ngZone=h(Ne);_elementRef=h(Te);_ariaDescriber=h(cx);_renderer=h(dn);_animationsDisabled=an();_idGenerator=h(Sn);get color(){return this._color}set color(e){this._setColor(e),this._color=e}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(e){this._updateRenderedContent(e)}_content;get description(){return this._description}set description(e){this._updateDescription(e)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=h(Og);_document=h(dt);constructor(){let e=h(pn);e.load(O4e),e.load(hs)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),e.setAttribute("aria-hidden","true"),e.classList.add(oae),this._animationsDisabled&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),typeof requestAnimationFrame=="function"&&!this._animationsDisabled?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){let i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!e||this._isHostInteractive())&&this._removeInlineDescription(),this._description=e,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,e):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(e){let i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){let e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${oae}`);for(let i of Array.from(e))i!==this._badgeElement&&i.remove()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(i,r){i&2&&De("mat-badge-overlap",r.overlap)("mat-badge-above",r.isAbove())("mat-badge-below",!r.isAbove())("mat-badge-before",!r.isAfter())("mat-badge-after",r.isAfter())("mat-badge-small",r.size==="small")("mat-badge-medium",r.size==="medium")("mat-badge-large",r.size==="large")("mat-badge-hidden",r.hidden||!r.content)("mat-badge-disabled",r.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",Ee],disabled:[2,"matBadgeDisabled","disabled",Ee],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",Ee]}})}return t})();var L4e=["*"];var V4e=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],B4e=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
|
|
37
|
+
[mat-card-title], [mat-card-subtitle],
|
|
38
|
+
[matCardTitle], [matCardSubtitle]`,"*"],j4e=new te("MAT_CARD_CONFIG"),As=(()=>{class t{appearance;constructor(){let e=h(j4e,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(i,r){i&2&&De("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:L4e,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
39
|
+
`],encapsulation:2,changeDetection:0})}return t})(),df=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var uf=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),RI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),W_=(()=>{class t{align="start";static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),PI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:B4e,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Et(V4e),Ve(0),lr(1,"div",0),Ve(2,1),yr(),Ve(3,2))},encapsulation:2,changeDetection:0})}return t})();var pc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();var U4e=["mat-internal-form-field",""],z4e=["*"],NI=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&De("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:U4e,ngContentSelectors:z4e,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
|
|
40
|
+
`],encapsulation:2,changeDetection:0})}return t})();var H4e=["input"],$4e=["label"],G4e=["*"],q4e=new te("mat-checkbox-default-options",{providedIn:"root",factory:lae});function lae(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var mo=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(mo||{}),rj=class{source;checked},sae=lae(),cae=(()=>{class t{_elementRef=h(Te);_changeDetectorRef=h(mt);_ngZone=h(Ne);_animationsDisabled=an();_options=h(q4e,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new rj;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new re;indeterminateChange=new re;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=mo.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){h(pn).load(wr);let e=h(new Vr("tabindex"),{optional:!0});this._options=this._options||sae,this.color=this._options.color||sae.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=h(Sn).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let i=e!=this._indeterminate();this._indeterminate.set(e),i&&(e?this._transitionCheckState(mo.Indeterminate):this._transitionCheckState(this.checked?mo.Checked:mo.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=Be(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?mo.Checked:mo.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationsDisabled)return"";switch(e){case mo.Init:if(i===mo.Checked)return this._animationClasses.uncheckedToChecked;if(i==mo.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case mo.Unchecked:return i===mo.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case mo.Checked:return i===mo.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case mo.Indeterminate:return i===mo.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(Qe(H4e,5),Qe($4e,5)),i&2){let o;be(o=Ce())&&(r._inputElement=o.first),be(o=Ce())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(Lr("id",r.id),Ge("tabindex",null)("aria-label",null)("aria-labelledby",null),di(r.color?"mat-"+r.color:"mat-accent"),De("_mat-animation-noopable",r._animationsDisabled)("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",Ee],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",Ee],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Ee],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ii(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee],checked:[2,"checked","checked",Ee],disabled:[2,"disabled","disabled",Ee],indeterminate:[2,"indeterminate","indeterminate",Ee]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[it([{provide:ws,useExisting:bi(()=>t),multi:!0},{provide:xd,useExisting:t,multi:!0}]),Yt],ngContentSelectors:G4e,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let o=lt();Et(),C(0,"div",3),ae("click",function(s){return he(o),ge(r._preventBubblingFromLabel(s))}),C(1,"div",4,0)(3,"div",5),ae("click",function(){return he(o),ge(r._onTouchTargetClick())}),x(),C(4,"input",6,1),ae("blur",function(){return he(o),ge(r._onBlur())})("click",function(){return he(o),ge(r._onInputClick())})("change",function(s){return he(o),ge(r._onInteractionEvent(s))}),x(),je(6,"div",7),C(7,"div",8),eo(),C(8,"svg",9),je(9,"path",10),x(),Su(),je(10,"div",11),x(),je(11,"div",12),x(),C(12,"label",13,2),Ve(14),x()()}if(i&2){let o=cr(2);V("labelPosition",r.labelPosition),E(4),De("mdc-checkbox--selected",r.checked),V("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),Ge("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),E(7),V("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),E(),V("for",r.inputId)}},dependencies:[_s,NI],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}
|
|
41
|
+
`],encapsulation:2,changeDetection:0})}return t})();var oj=new te("MAT_DATE_LOCALE",{providedIn:"root",factory:W4e});function W4e(){return h(Mg)}var K_="Method not implemented",Tr=class{locale;_localeChanges=new _e;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(K_)}getHours(n){throw new Error(K_)}getMinutes(n){throw new Error(K_)}getSeconds(n){throw new Error(K_)}parseTime(n,e){throw new Error(K_)}addSeconds(n,e){throw new Error(K_)}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return n==null||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}compareTime(n,e){return this.getHours(n)-this.getHours(e)||this.getMinutes(n)-this.getMinutes(e)||this.getSeconds(n)-this.getSeconds(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareDate(n,e):i==r}return n==e}sameTime(n,e){if(n&&e){let i=this.isValid(n),r=this.isValid(e);return i&&r?!this.compareTime(n,e):i==r}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}},hc=new te("mat-date-formats");var K4e=["tooltip"],fae=20;var mae=new te("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(ft);return()=>Fa(t,{scrollThrottle:fae})}});function pae(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var hae=new te("mat-tooltip-default-options",{providedIn:"root",factory:pae});var dae="tooltip-panel",uae=Fu({passive:!0}),X4e=8,Q4e=8,Z4e=24,J4e=200,X_=(()=>{class t{_elementRef=h(Te);_ngZone=h(Ne);_platform=h(It);_ariaDescriber=h(cx);_focusMonitor=h(Ma);_dir=h(On);_injector=h(ft);_viewContainerRef=h(Kt);_animationsDisabled=an();_defaultOptions=h(hae,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=gae;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Si(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Si(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=oo(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=oo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new _e;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=X4e}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Nt(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,uae)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new lf(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Nt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof Te)return this._overlayRef;this._detach()}let i=this._injector.get(cl).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${dae}`,o=Ad(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Nt(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Md(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(mae)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Nt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Nt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Nt(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Hn(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Nt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(G(G({},r.main),o.main)),this._addOffset(G(G({},r.fallback),o.fallback))])}_addOffset(e){let i=Q4e,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),jn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=i==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${dae}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,uae)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(dt).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||jn({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),gae=(()=>{class t{_changeDetectorRef=h(mt);_elementRef=h(Te);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=an();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new _e;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>Z4e&&e.width>=J4e}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Qe(K4e,7),i&2){let o;be(o=Ce())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ae("mouseleave",function(a){return r._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=lt();C(0,"div",1,0),ae("animationend",function(s){return he(o),ge(r._handleAnimationEnd(s))}),C(2,"div",2),J(3),x()()}i&2&&(De("mdc-tooltip--multiline",r._isMultiline),V("ngClass",r.tooltipClass),E(3),Se(r.message))},dependencies:[Jl],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
|
|
42
|
+
`],encapsulation:2,changeDetection:0})}return t})();var OI=new te("MAT_INPUT_VALUE_ACCESSOR");var FI=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Q_=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var eqe=["mat-calendar-body",""];function tqe(t,n){return this._trackRow(n)}var Eae=(t,n)=>n.id;function nqe(t,n){if(t&1&&(C(0,"tr",0)(1,"td",3),J(2),x()()),t&2){let e=U();E(),zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ge("colspan",e.numCols),E(),ni(" ",e.label," ")}}function iqe(t,n){if(t&1&&(C(0,"td",3),J(1),x()),t&2){let e=U(2);zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ge("colspan",e._firstRowOffset),E(),ni(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function rqe(t,n){if(t&1){let e=lt();C(0,"td",6)(1,"button",7),ae("click",function(r){let o=he(e).$implicit,a=U(2);return ge(a._cellClicked(o,r))})("focus",function(r){let o=he(e).$implicit,a=U(2);return ge(a._emitActiveDateChange(o,r))}),C(2,"span",8),J(3),x(),je(4,"span",9),x()()}if(t&2){let e=n.$implicit,i=n.$index,r=U().$index,o=U();zn("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),Ge("data-mat-row",r)("data-mat-col",i),E(),De("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,i))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),V("ngClass",e.cssClasses)("tabindex",o._isActiveCell(r,i)?0:-1),Ge("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),E(),De("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),E(),ni(" ",e.displayValue," ")}}function oqe(t,n){if(t&1&&(C(0,"tr",1),We(1,iqe,2,6,"td",4),us(2,rqe,5,48,"td",5,Eae),x()),t&2){let e=n.$implicit,i=n.$index,r=U();E(),Ke(i===0&&r._firstRowOffset?1:-1),E(),fs(e)}}function aqe(t,n){if(t&1&&(C(0,"th",2)(1,"span",6),J(2),x(),C(3,"span",3),J(4),x()()),t&2){let e=n.$implicit;E(2),Se(e.long),E(2),Se(e.narrow)}}var sqe=["*"];function lqe(t,n){}function cqe(t,n){if(t&1){let e=lt();C(0,"mat-month-view",4),Ag("activeDateChange",function(r){he(e);let o=U();return Rb(o.activeDate,r)||(o.activeDate=r),ge(r)}),ae("_userSelection",function(r){he(e);let o=U();return ge(o._dateSelected(r))})("dragStarted",function(r){he(e);let o=U();return ge(o._dragStarted(r))})("dragEnded",function(r){he(e);let o=U();return ge(o._dragEnded(r))}),x()}if(t&2){let e=U();Ig("activeDate",e.activeDate),V("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function dqe(t,n){if(t&1){let e=lt();C(0,"mat-year-view",5),Ag("activeDateChange",function(r){he(e);let o=U();return Rb(o.activeDate,r)||(o.activeDate=r),ge(r)}),ae("monthSelected",function(r){he(e);let o=U();return ge(o._monthSelectedInYearView(r))})("selectedChange",function(r){he(e);let o=U();return ge(o._goToDateInView(r,"month"))}),x()}if(t&2){let e=U();Ig("activeDate",e.activeDate),V("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function uqe(t,n){if(t&1){let e=lt();C(0,"mat-multi-year-view",6),Ag("activeDateChange",function(r){he(e);let o=U();return Rb(o.activeDate,r)||(o.activeDate=r),ge(r)}),ae("yearSelected",function(r){he(e);let o=U();return ge(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){he(e);let o=U();return ge(o._goToDateInView(r,"year"))}),x()}if(t&2){let e=U();Ig("activeDate",e.activeDate),V("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function fqe(t,n){}var mqe=["button"],pqe=[[["","matDatepickerToggleIcon",""]]],hqe=["[matDatepickerToggleIcon]"];function gqe(t,n){t&1&&(eo(),C(0,"svg",2),je(1,"path",3),x())}var CC=(()=>{class t{changes=new _e;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_qe=0,yC=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=_qe++;constructor(n,e,i,r,o={},a=n,s){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s}},vqe={passive:!1,capture:!0},LI={passive:!0,capture:!0},_ae={passive:!0},J_=(()=>{class t{_elementRef=h(Te);_ngZone=h(Ne);_platform=h(It);_intl=h(CC);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new re;previewChange=new re;activeDateChange=new re;dragStarted=new re;dragEnded=new re;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=h(ft);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=h(dn),i=h(Sn);this._startDateLabelId=i.getId("mat-calendar-body-start-"),this._endDateLabelId=i.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=i.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=i.getId("mat-calendar-body-comparison-end-"),h(pn).load(wr),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,vqe),e.listen(r,"mouseenter",this._enterHandler,LI),e.listen(r,"focus",this._enterHandler,LI),e.listen(r,"mouseleave",this._leaveHandler,LI),e.listen(r,"blur",this._leaveHandler,LI),e.listen(r,"mousedown",this._mousedownHandler,_ae),e.listen(r,"touchstart",this._mousedownHandler,_ae)];this._platform.isBrowser&&o.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let i=e.numCols,{rows:r,numCols:o}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(i||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){jn(()=>{setTimeout(()=>{let i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return lj(e,this.startValue,this.endValue)}_isRangeEnd(e){return cj(e,this.startValue,this.endValue)}_isInRange(e){return dj(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return lj(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[i][r-1];if(!o){let a=this.rows[i-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[i][r+1];if(!o){let a=this.rows[i+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return cj(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return dj(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return lj(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return cj(e,this.previewStart,this.previewEnd)}_isInPreview(e){return dj(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let i=this._getCellFromElement(e.target);i&&this._ngZone.run(()=>this.previewChange.emit({value:i.enabled?i:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let i=vae(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),sj(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r?.enabled?r:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let i=e.target&&this._getCellFromElement(e.target);!i||!this._isInRange(i.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:i.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let i=sj(e.target);if(!i){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}i.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(i);this.dragEnded.emit({value:r?.rawValue??null,event:e})})};_touchendHandler=e=>{let i=vae(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=sj(e);if(i){let r=i.getAttribute("data-mat-row"),o=i.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Yt],attrs:eqe,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,r){i&1&&(We(0,nqe,3,6,"tr",0),us(1,oqe,4,1,"tr",1,tqe,!0),C(3,"span",2),J(4),x(),C(5,"span",2),J(6),x(),C(7,"span",2),J(8),x(),C(9,"span",2),J(10),x()),i&2&&(Ke(r._firstRowOffset<r.labelMinRequiredCells?0:-1),E(),fs(r.rows),E(2),V("id",r._startDateLabelId),E(),ni(" ",r.startDateAccessibleName,`
|
|
43
|
+
`),E(),V("id",r._endDateLabelId),E(),ni(" ",r.endDateAccessibleName,`
|
|
44
|
+
`),E(),V("id",r._comparisonStartDateLabelId),E(),kb(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
|
|
45
|
+
`),E(),V("id",r._comparisonEndDateLabelId),E(),kb(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
|
|
46
|
+
`))},dependencies:[Jl],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}
|
|
47
|
+
`],encapsulation:2,changeDetection:0})}return t})();function aj(t){return t?.nodeName==="TD"}function sj(t){let n;return aj(t)?n=t:aj(t.parentNode)?n=t.parentNode:aj(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function lj(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function cj(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function dj(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function vae(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var Ms=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},bC=(()=>{class t{selection;_adapter;_selectionChanged=new _e;selectionChanged=this._selectionChanged;constructor(e,i){this.selection=e,this._adapter=i,this.selection=e}updateSelection(e,i){let r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(i){IN()};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),yqe=(()=>{class t extends bC{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(i){return new(i||t)(bt(Tr))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();function bqe(t,n){return t||new yqe(n)}var Sae={provide:bC,deps:[[new Eg,new dw,bC],Tr],useFactory:bqe};var wae=new te("MAT_DATE_RANGE_SELECTION_STRATEGY");var uj=7,Cqe=0,yae=(()=>{class t{_changeDetectorRef=h(mt);_dateFormats=h(hc,{optional:!0});_dateAdapter=h(Tr,{optional:!0});_dir=h(On,{optional:!0});_rangeStrategy=h(wae,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ms?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new re;_userSelection=new re;dragStarted=new re;dragEnded=new re;activeDateChange=new re;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){h(pn).load(hs),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vn(null)).subscribe(()=>this._init())}ngOnChanges(e){let i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let i=e.value,r=this._getDateFromDayOfMonth(i),o,a;this._selected instanceof Ms?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==i||a!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!Hn(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(uj+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%uj,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){let r=i?i.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this.activeDrag&&r){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:i[s],id:Cqe++}));this._weekdays=o.slice(e).concat(o.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,o=this._firstWeekOffset;r<e;r++,o++){o==uj&&(this._weeks.push([]),o=0);let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),s=this._shouldEnableDate(a),l=this._dateAdapter.format(a,this._dateFormats.display.dateA11yLabel),c=this.dateClass?this.dateClass(a,"month"):void 0;this._weeks[this._weeks.length-1].push(new yC(r+1,i[r],l,s,c,this._getCellCompareValue(a),a))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!!(e&&i&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){let i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(i,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof Ms?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&Qe(J_,5),i&2){let o;be(o=Ce())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Yt],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,r){i&1&&(C(0,"table",0)(1,"thead",1)(2,"tr"),us(3,aqe,5,2,"th",2,Eae),x(),C(5,"tr",3),je(6,"th",4),x()(),C(7,"tbody",5),ae("selectedValueChange",function(a){return r._dateSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("previewChange",function(a){return r._previewChanged(a)})("dragStarted",function(a){return r.dragStarted.emit(a)})("dragEnded",function(a){return r._dragEnded(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),x()()),i&2&&(E(3),fs(r._weekdays),E(4),V("label",r._monthLabel)("rows",r._weeks)("todayValue",r._todayDate)("startValue",r._rangeStart)("endValue",r._rangeEnd)("comparisonStart",r._comparisonRangeStart)("comparisonEnd",r._comparisonRangeEnd)("previewStart",r._previewStart)("previewEnd",r._previewEnd)("isRange",r._isRange)("labelMinRequiredCells",3)("activeCell",r._dateAdapter.getDate(r.activeDate)-1)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName))},dependencies:[J_],encapsulation:2,changeDetection:0})}return t})(),Ba=24,fj=4,bae=(()=>{class t{_changeDetectorRef=h(mt);_dateAdapter=h(Tr,{optional:!0});_dir=h(On,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),xae(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ms?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new re;yearSelected=new re;activeDateChange=new re;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-vC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];r<Ba;r++)o.push(i+r),o.length==fj&&(this._years.push(o.map(a=>this._createCellForYear(a))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let i=e.value,r=this._dateAdapter.createDate(i,0,1),o=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromYear(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-fj);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,fj);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-vC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ba-vC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-Ba*10:-Ba);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?Ba*10:Ba);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return vC(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(e){let i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),o=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new yC(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let i=this._dateAdapter.createDate(e,0,1);for(let r=i;this._dateAdapter.getYear(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(e){if(this._selectedYear=null,e instanceof Ms){let i=e.start||e.end;i&&(this._selectedYear=this._dateAdapter.getYear(i))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,r){if(i&1&&Qe(J_,5),i&2){let o;be(o=Ce())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(C(0,"table",0)(1,"thead",1)(2,"tr"),je(3,"th",2),x()(),C(4,"tbody",3),ae("selectedValueChange",function(a){return r._yearSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),x()()),i&2&&(E(4),V("rows",r._years)("todayValue",r._todayYear)("startValue",r._selectedYear)("endValue",r._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[J_],encapsulation:2,changeDetection:0})}return t})();function xae(t,n,e,i,r){let o=t.getYear(n),a=t.getYear(e),s=Tae(t,i,r);return Math.floor((o-s)/Ba)===Math.floor((a-s)/Ba)}function vC(t,n,e,i){let r=t.getYear(n);return Dqe(r-Tae(t,e,i),Ba)}function Tae(t,n,e){let i=0;return e?i=t.getYear(e)-Ba+1:n&&(i=t.getYear(n)),i}function Dqe(t,n){return(t%n+n)%n}var Cae=(()=>{class t{_changeDetectorRef=h(mt);_dateFormats=h(hc,{optional:!0});_dateAdapter=h(Tr,{optional:!0});_dir=h(On,{optional:!0});_rerenderSubscription=tt.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Ms?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new re;monthSelected=new re;activeDateChange=new re;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vn(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);let o=this._getDateFromMonth(i);this.selectedChange.emit(o)}_updateActiveDate(e){let i=e.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(i),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new yC(e,i.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let i=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(i,e,1);for(let o=r;this._dateAdapter.getMonth(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>o}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e<r||e===r&&i<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(e){e instanceof Ms?this._selectedMonth=this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._selectedMonth=this._getMonthInCurrentYear(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,r){if(i&1&&Qe(J_,5),i&2){let o;be(o=Ce())&&(r._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,r){i&1&&(C(0,"table",0)(1,"thead",1)(2,"tr"),je(3,"th",2),x()(),C(4,"tbody",3),ae("selectedValueChange",function(a){return r._monthSelected(a)})("activeDateChange",function(a){return r._updateActiveDate(a)})("keyup",function(a){return r._handleCalendarBodyKeyup(a)})("keydown",function(a){return r._handleCalendarBodyKeydown(a)}),x()()),i&2&&(E(4),V("label",r._yearLabel)("rows",r._months)("todayValue",r._todayMonth)("startValue",r._selectedMonth)("endValue",r._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._dateAdapter.getMonth(r.activeDate)))},dependencies:[J_],encapsulation:2,changeDetection:0})}return t})(),Eqe=(()=>{class t{_intl=h(CC);calendar=h(mj);_dateAdapter=h(Tr,{optional:!0});_dateFormats=h(hc,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){h(pn).load(hs);let e=h(mt);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),e.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Ba))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Ba))}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){let e=this.calendar,i=this._intl,r=this._dateAdapter;e.currentView==="month"?(this._periodButtonText=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=r.format(e.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=i.switchToMultiYearViewLabel,this._prevButtonLabel=i.prevMonthLabel,this._nextButtonLabel=i.nextMonthLabel):e.currentView==="year"?(this._periodButtonText=r.getYearName(e.activeDate),this._periodButtonDescription=r.getYearName(e.activeDate),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevYearLabel,this._nextButtonLabel=i.nextYearLabel):(this._periodButtonText=i.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=i.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=i.switchToMonthViewLabel,this._prevButtonLabel=i.prevMultiYearLabel,this._nextButtonLabel=i.nextMultiYearLabel)}_isSameView(e,i){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):xae(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-vC(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Ba-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1));return[o,a]}_periodButtonLabelId=h(Sn).getId("mat-calendar-period-label-");static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:sqe,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,r){i&1&&(Et(),C(0,"div",0)(1,"div",1)(2,"span",2),J(3),x(),C(4,"button",3),ae("click",function(){return r.currentPeriodClicked()}),C(5,"span",4),J(6),x(),eo(),C(7,"svg",5),je(8,"polygon",6),x()(),Su(),je(9,"div",7),Ve(10),C(11,"button",8),ae("click",function(){return r.previousClicked()}),eo(),C(12,"svg",9),je(13,"path",10),x()(),Su(),C(14,"button",11),ae("click",function(){return r.nextClicked()}),eo(),C(15,"svg",9),je(16,"path",12),x()()()()),i&2&&(E(2),V("id",r._periodButtonLabelId),E(),Se(r.periodButtonDescription),E(),Ge("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),E(2),Se(r.periodButtonText),E(),De("mat-calendar-invert",r.calendar.currentView!=="month"),E(4),V("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),Ge("aria-label",r.prevButtonLabel),E(3),V("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),Ge("aria-label",r.nextButtonLabel))},dependencies:[ao,Ao,X_],encapsulation:2,changeDetection:0})}return t})(),mj=(()=>{class t{_dateAdapter=h(Tr,{optional:!0});_dateFormats=h(hc,{optional:!0});_changeDetectorRef=h(mt);_elementRef=h(Te);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof Ms?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new re;yearSelected=new re;monthSelected=new re;viewChanged=new re(!0);_userSelection=new re;_userDragDrop=new re;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&(this.stateChanges.next(),this.viewChanged.emit(i))}_currentView;_activeDrag=null;stateChanges=new _e;constructor(){this._intlChanges=h(CC).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new lf(this.headerComponent||Eqe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=i||r||e.dateFilter;if(o&&!o.firstChange){let a=this._getCurrentViewComponent();a&&(this._elementRef.nativeElement.contains(ud())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let i=e.value;(this.selected instanceof Ms||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&(Qe(yae,5),Qe(Cae,5),Qe(bae,5)),i&2){let o;be(o=Ce())&&(r.monthView=o.first),be(o=Ce())&&(r.yearView=o.first),be(o=Ce())&&(r.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[it([Sae]),Yt],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,r){if(i&1&&(Je(0,lqe,0,0,"ng-template",0),C(1,"div",1),We(2,cqe,1,11,"mat-month-view",2)(3,dqe,1,6,"mat-year-view",3)(4,uqe,1,6,"mat-multi-year-view",3),x()),i&2){let o;V("cdkPortalOutlet",r._calendarHeaderPortal),E(2),Ke((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[cf,Kb,yae,Cae,bae],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
|
|
48
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Sqe=new te("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(ft);return()=>Fa(t)}});var wqe=(()=>{class t{_elementRef=h(Te);_animationsDisabled=an();_changeDetectorRef=h(mt);_globalModel=h(bC);_dateAdapter=h(Tr);_ngZone=h(Ne);_rangeSelectionStrategy=h(wae,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new _e;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(h(pn).load(hs),this._closeButtonText=h(CC).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,i=h(dn);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"animationstart",this._handleAnimationEvent),i.listen(e,"animationend",this._handleAnimationEvent),i.listen(e,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(e=>e()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let i=this._model.selection,r=e.value,o=i instanceof Ms;if(o&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=e=>{let i=this._elementRef.nativeElement;e.target!==i||!e.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=e.type==="animationstart",i.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&Qe(mj,5),i&2){let o;be(o=Ce())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,r){i&2&&(di(r.color?"mat-"+r.color:""),De("mat-datepicker-content-touch",r.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!r._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,r){i&1&&(C(0,"div",0)(1,"mat-calendar",1),ae("yearSelected",function(a){return r.datepicker._selectYear(a)})("monthSelected",function(a){return r.datepicker._selectMonth(a)})("viewChanged",function(a){return r.datepicker._viewChanged(a)})("_userSelection",function(a){return r._handleUserSelection(a)})("_userDragDrop",function(a){return r._handleUserDragDrop(a)}),x(),Je(2,fqe,0,0,"ng-template",2),C(3,"button",3),ae("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),J(4),x()()),i&2&&(De("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),Ge("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),E(),di(r.datepicker.panelClass),V("id",r.datepicker.id)("startAt",r.datepicker.startAt)("startView",r.datepicker.startView)("minDate",r.datepicker._getMinDate())("maxDate",r.datepicker._getMaxDate())("dateFilter",r.datepicker._getDateFilter())("headerComponent",r.datepicker.calendarHeaderComponent)("selected",r._getSelected())("dateClass",r.datepicker.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName),E(),V("cdkPortalOutlet",r._actionsPortal),E(),De("cdk-visually-hidden",!r._closeButtonFocused),V("color",r.color||"primary"),E(),Se(r._closeButtonText))},dependencies:[rF,mj,cf,ao],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
|
|
49
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Dae=(()=>{class t{_injector=h(ft);_viewContainerRef=h(Kt);_dateAdapter=h(Tr,{optional:!0});_dir=h(On,{optional:!0});_model=h(bC);_animationsDisabled=an();_scrollStrategy=h(Sqe);_inputStateChanges=tt.EMPTY;_document=h(dt);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new re;monthSelected=new re;viewChanged=new re(!0);dateClass;openedStream=new re;closedStream=new re;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=$Y(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=h(Sn).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new _e;_changeDetectorRef=h(mt);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof q_&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=ud(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:r,location:o}=this._componentRef;r._animationDone.pipe(Gi(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),r._startExitAnimation()}e?setTimeout(i):i()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,i=new lf(wqe,this._viewContainerRef),r=this._overlayRef=Md(this._injector,new Id({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?xI(this._injector):this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`,disableAnimations:this._animationsDisabled}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}),r.keydownEvents().subscribe(o=>{let a=o.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&o.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),e||jn(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return TI(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=Ad(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let i=this.xPosition==="end"?"end":"start",r=i==="start"?"end":"start",o=this.yPosition==="above"?"bottom":"top",a=o==="top"?"bottom":"top";return e.withPositions([{originX:i,originY:a,overlayX:i,overlayY:o},{originX:i,originY:o,overlayX:i,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){let i=["ctrlKey","shiftKey","metaKey"];return Nn(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(cn(r=>r.keyCode===27&&!Hn(r)||this.datepickerInput&&Hn(r,"altKey")&&r.keyCode===38&&i.every(o=>!Hn(r,o)))))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Ee],disabled:[2,"disabled","disabled",Ee],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Ee],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Ee]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Yt]})}return t})(),Iae=(()=>{class t extends Dae{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[it([Sae,{provide:Dae,useExisting:t}]),Oe],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}return t})(),Z_=class{target;targetElement;value;constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}},xqe=(()=>{class t{_elementRef=h(Te);_dateAdapter=h(Tr,{optional:!0});_dateFormats=h(hc,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let i=e,r=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&r.blur&&r.blur()}_disabled;dateChange=new re;dateInput=new re;stateChanges=new _e;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=tt.EMPTY;_localeSubscription=tt.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!i||this._matchesFilter(i)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!i||this._dateAdapter.compareDate(r,i)<=0?null:{matDatepickerMin:{min:r,actual:i}}};_maxValidator=e=>{let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!i||this._dateAdapter.compareDate(r,i)>=0?null:{matDatepickerMax:{max:r,actual:i}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){let r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Z_(this,this._elementRef.nativeElement)),this.dateChange.emit(new Z_(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){Tqe(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let i=["ctrlKey","shiftKey","metaKey"];Hn(e,"altKey")&&e.keyCode===40&&i.every(o=>!Hn(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let i=e.target.value,r=this._lastValueValid,o=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let a=!this._dateAdapter.sameDate(o,this.value);!o||a?this._cvaOnChange(o):(i&&!this.value&&this._cvaOnChange(o),r!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(o),this.dateInput.emit(new Z_(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Z_(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let i=this._getDateFilter();return!i||i(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",Ee]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Yt]})}return t})();function Tqe(t,n){let e=Object.keys(t);for(let i of e){let{previousValue:r,currentValue:o}=t[i];if(n.isDateInstance(r)&&n.isDateInstance(o)){if(!n.sameDate(r,o))return!0}else return!0}return!1}var Iqe={provide:ws,useExisting:bi(()=>VI),multi:!0},Aqe={provide:xd,useExisting:bi(()=>VI),multi:!0},VI=(()=>{class t extends xqe{_formField=h(mc,{optional:!0});_closedSubscription=tt.EMPTY;_openedSubscription=tt.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=Be(null);get min(){return this._min}set min(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}_min;get max(){return this._max}set max(e){let i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(e){let i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=rf.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,r){i&1&&ae("input",function(a){return r._onInput(a)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(a){return r._onKeydown(a)}),i&2&&(Lr("disabled",r.disabled),Ge("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[it([Iqe,Aqe,{provide:OI,useExisting:t}]),Oe]})}return t})(),Mqe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Aae=(()=>{class t{_intl=h(CC);_changeDetectorRef=h(mt);_stateChanges=tt.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=h(new Vr("tabindex"),{optional:!0}),i=Number(e);this.tabIndex=i||i===0?i:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:li(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:li(),r=this.datepicker?Nn(this.datepicker.openedStream,this.datepicker.closedStream):li();this._stateChanges.unsubscribe(),this._stateChanges=Nn(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,Mqe,5),i&2){let a;be(a=Ce())&&(r._customIcon=a.first)}},viewQuery:function(i,r){if(i&1&&Qe(mqe,5),i&2){let o;be(o=Ce())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&ae("click",function(a){return r._open(a)}),i&2&&(Ge("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),De("mat-datepicker-toggle-active",r.datepicker&&r.datepicker.opened)("mat-accent",r.datepicker&&r.datepicker.color==="accent")("mat-warn",r.datepicker&&r.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Ee],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Yt],ngContentSelectors:hqe,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,r){i&1&&(Et(pqe),C(0,"button",1,0),We(2,gqe,2,0,":svg:svg",2),Ve(3),x()),i&2&&(V("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),Ge("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),E(2),Ke(r._customIcon?-1:2))},dependencies:[Ao],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
|
|
50
|
+
`],encapsulation:2,changeDetection:0})}return t})();var gc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,tx,Va,en]})}return t})();var Pqe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
|
|
51
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Nqe={passive:!0},Mae=(()=>{class t{_platform=h(It);_ngZone=h(Ne);_renderer=h(ci).createRenderer(null,null);_styleLoader=h(pn);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Zs;this._styleLoader.load(Pqe);let i=hi(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new _e,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(i,"animationstart",s,Nqe)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=hi(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var kae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var Oqe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Fqe=new te("MAT_INPUT_CONFIG"),ev=(()=>{class t{_elementRef=h(Te);_platform=h(It);ngControl=h(lc,{optional:!0,self:!0});_autofillMonitor=h(Mae);_ngZone=h(Ne);_formField=h(mc,{optional:!0});_renderer=h(dn);_uid=h(Sn).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=h(Fqe,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new _e;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Si(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(rf.required)??!1}set required(e){this._required=Si(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&fF().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Si(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>fF().has(e));constructor(){let e=h(V_,{optional:!0}),i=h(B_,{optional:!0}),r=h(FI),o=h(OI,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Wl(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Q_(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&En(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Oqe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&ae("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(Lr("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),Ge("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),De("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee]},exportAs:["matInput"],features:[it([{provide:Pp,useExisting:t}]),Yt]})}return t})(),Rae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,gc,gc,kae,en]})}return t})();var Pae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();var Vqe=["*"],Bqe=`.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}
|
|
52
|
+
`,jqe=["unscopedContent"],Uqe=["text"],zqe=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],Hqe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var $qe=new te("ListOption"),gj=(()=>{class t{_elementRef=h(Te);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),Gqe=(()=>{class t{_elementRef=h(Te);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),qqe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),Nae=(()=>{class t{_listOption=h($qe,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,hostVars:4,hostBindings:function(i,r){i&2&&De("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),Yqe=(()=>{class t extends Nae{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[Oe]})}return t})(),Wqe=(()=>{class t extends Nae{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[Oe]})}return t})(),Kqe=new te("MAT_LIST_CONFIG"),hj=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Si(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(Si(e))}_disabled=Be(!1);_defaultOptions=h(Kqe,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,hostVars:1,hostBindings:function(i,r){i&2&&Ge("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),Xqe=(()=>{class t{_elementRef=h(Te);_ngZone=h(Ne);_listBase=h(hj,{optional:!0});_platform=h(It);_hostElement;_isButtonElement;_noopAnimations=an();_avatars;_icons;set lines(e){this._explicitLines=oo(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=Si(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(Si(e))}_disabled=Be(!1);_subscriptions=new tt;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){h(pn).load(wr);let e=h(ju,{optional:!0});this.rippleConfig=e||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new mp(this,this._ngZone,this._hostElement,this._platform,h(ft)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Nn(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let o=this._titles.length===0&&i===1;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,contentQueries:function(i,r,o){if(i&1&&(Ft(o,Yqe,4),Ft(o,Wqe,4)),i&2){let a;be(a=Ce())&&(r._avatars=a),be(a=Ce())&&(r._icons=a)}},hostVars:4,hostBindings:function(i,r){i&2&&(Ge("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),De("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var BI=(()=>{class t extends Xqe{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=Si(e)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,Gqe,5),Ft(o,gj,5),Ft(o,qqe,5)),i&2){let a;be(a=Ce())&&(r._lines=a),be(a=Ce())&&(r._titles=a),be(a=Ce())&&(r._meta=a)}},viewQuery:function(i,r){if(i&1&&(Qe(jqe,5),Qe(Uqe,5)),i&2){let o;be(o=Ce())&&(r._unscopedContent=o.first),be(o=Ce())&&(r._itemText=o.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(Ge("aria-current",r._getAriaCurrent()),De("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[Oe],ngContentSelectors:Hqe,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(i,r){if(i&1){let o=lt();Et(zqe),Ve(0),C(1,"span",1),Ve(2,1),Ve(3,2),C(4,"span",2,0),ae("cdkObserveContent",function(){return he(o),ge(r._updateItemLines(!0))}),Ve(6,3),x()(),Ve(7,4),Ve(8,5),je(9,"div",3)}},dependencies:[ex],encapsulation:2,changeDetection:0})}return t})();var jI=(()=>{class t extends hj{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[it([{provide:hj,useExisting:t}]),Oe],ngContentSelectors:Vqe,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},styles:[Bqe],encapsulation:2,changeDetection:0})}return t})();var Oae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[tx,en,Wg,kI,Pae]})}return t})();var Zqe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Jqe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function _j(t,n){let e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}var Lae=(()=>{class t extends Tr{useUtcForDisplay=!1;_matDateLocale=h(oj,{optional:!0});constructor(){super();let e=h(oj,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return _j(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _j(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){let i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return _j(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),i=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return i===7?0:i}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let o=this._createDateWithOverflow(e,i,r);return o.getMonth()!=i,o}today(){return new Date}parse(e,i){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let r=new Intl.DateTimeFormat(this.locale,Fe(G({},i),{timeZone:"utc"}));return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,i*12)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Zqe.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,i,r,o){let a=this.clone(e);return a.setHours(i,r,o,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,i){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let r=e.trim();if(r.length===0)return null;let o=this._parseTimeString(r);if(o===null){let a=r.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(o=this._parseTimeString(a))}return o||this.invalid()}addSeconds(e,i){return new Date(e.getTime()+i*1e3)}_createDateWithOverflow(e,i,r){let o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){let r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}_parseTimeString(e){let i=e.toUpperCase().match(Jqe);if(i){let r=parseInt(i[1]),o=parseInt(i[2]),a=i[3]==null?void 0:parseInt(i[3]),s=i[4];if(r===12?r=s==="AM"?0:r:s==="PM"&&(r+=12),vj(r,0,23)&&vj(o,0,59)&&(a==null||vj(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();function vj(t,n,e){return!isNaN(t)&&t>=n&&t<=e}var t5e=["trigger"],n5e=["panel"],i5e=[[["mat-select-trigger"]],"*"],r5e=["mat-select-trigger","*"];function o5e(t,n){if(t&1&&(C(0,"span",4),J(1),x()),t&2){let e=U();E(),Se(e.placeholder)}}function a5e(t,n){t&1&&Ve(0)}function s5e(t,n){if(t&1&&(C(0,"span",11),J(1),x()),t&2){let e=U(2);E(),Se(e.triggerValue)}}function l5e(t,n){if(t&1&&(C(0,"span",5),We(1,a5e,1,0)(2,s5e,2,1,"span",11),x()),t&2){let e=U();E(),Ke(e.customTrigger?1:2)}}function c5e(t,n){if(t&1){let e=lt();C(0,"div",12,1),ae("keydown",function(r){he(e);let o=U();return ge(o._handleKeydown(r))}),Ve(2,1),x()}if(t&2){let e=U();di(YN("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),De("mat-select-panel-animations-enabled",!e._animationsDisabled),V("ngClass",e.panelClass),Ge("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var yj=new te("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=h(ft);return()=>Fa(t)}});function Vae(t){let n=h(ft);return()=>Fa(n)}var Bae=new te("MAT_SELECT_CONFIG"),jae={provide:yj,deps:[],useFactory:Vae},Uae=new te("MatSelectTrigger"),UI=class{source;value;constructor(n,e){this.source=n,this.value=e}},DC=(()=>{class t{_viewportRuler=h(Sr);_changeDetectorRef=h(mt);_elementRef=h(Te);_dir=h(On,{optional:!0});_idGenerator=h(Sn);_renderer=h(dn);_parentFormField=h(mc,{optional:!0});ngControl=h(lc,{self:!0,optional:!0});_liveAnnouncer=h(oF);_defaultOptions=h(Bae,{optional:!0});_animationsDisabled=an();_initialized=new _e;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=uC(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=fC(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new UI(this,e)}_scrollStrategyFactory=h(yj);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new _e;_errorStateTracker;stateChanges=new _e;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Be(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(rf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Yy(()=>{let e=this.options;return e?e.changes.pipe(Vn(e),Qr(()=>Nn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Qr(()=>this.optionSelectionChanges))});openedChange=new re;_openedStream=this.openedChange.pipe(cn(e=>e),Gt(()=>{}));_closedStream=this.openedChange.pipe(cn(e=>!e),Gt(()=>{}));selectionChange=new re;valueChange=new re;constructor(){let e=h(FI),i=h(V_,{optional:!0}),r=h(B_,{optional:!0}),o=h(new Vr("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Q_(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new qb(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Nt(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Nt(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Vn(null),Nt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Gi(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&Vu(this._trackedModal,"aria-owns",i),Lg(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Vu(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!Hn(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!Hn(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Hn(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Y_?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new up(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Nn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Nt(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Nn(...this.options.map(i=>i._stateChanges)).pipe(Nt(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,Uae,5),Ft(o,ca,5),Ft(o,G_,5)),i&2){let a;be(a=Ce())&&(r.customTrigger=a.first),be(a=Ce())&&(r.options=a),be(a=Ce())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&(Qe(t5e,5),Qe(n5e,5),Qe(II,5)),i&2){let o;be(o=Ce())&&(r.trigger=o.first),be(o=Ce())&&(r.panel=o.first),be(o=Ce())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&ae("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Ge("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),De("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Ee],disableRipple:[2,"disableRipple","disableRipple",Ee],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ii(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ee],placeholder:"placeholder",required:[2,"required","required",Ee],multiple:[2,"multiple","multiple",Ee],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ee],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ii],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Ee]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[it([{provide:Pp,useExisting:t},{provide:$_,useExisting:t}]),Yt],ngContentSelectors:r5e,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=lt();Et(i5e),C(0,"div",2,0),ae("click",function(){return he(o),ge(r.open())}),C(3,"div",3),We(4,o5e,2,1,"span",4)(5,l5e,3,1,"span",5),x(),C(6,"div",6)(7,"div",7),eo(),C(8,"svg",8),je(9,"path",9),x()()()(),Je(10,c5e,3,10,"ng-template",10),ae("detach",function(){return he(o),ge(r.close())})("backdropClick",function(){return he(o),ge(r.close())})("overlayKeydown",function(s){return he(o),ge(r._handleOverlayKeydown(s))})}if(i&2){let o=cr(1);E(3),Ge("id",r._valueId),E(),Ke(r.empty?4:5),E(6),V("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Y_,II,Jl],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
|
|
53
|
+
`],encapsulation:2,changeDetection:0})}return t})();var EC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({providers:[jae],imports:[gC,tj,en,Ou,gc,tj,en]})}return t})();var $I=["*"],d5e=["content"],u5e=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],f5e=["mat-drawer","mat-drawer-content","*"];function m5e(t,n){if(t&1){let e=lt();C(0,"div",1),ae("click",function(){he(e);let r=U();return ge(r._onBackdropClicked())}),x()}if(t&2){let e=U();De("mat-drawer-shown",e._isShowingBackdrop())}}function p5e(t,n){t&1&&(C(0,"mat-drawer-content"),Ve(1,2),x())}var h5e=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],g5e=["mat-sidenav","mat-sidenav-content","*"];function _5e(t,n){if(t&1){let e=lt();C(0,"div",1),ae("click",function(){he(e);let r=U();return ge(r._onBackdropClicked())}),x()}if(t&2){let e=U();De("mat-drawer-shown",e._isShowingBackdrop())}}function v5e(t,n){t&1&&(C(0,"mat-sidenav-content"),Ve(1,2),x())}var y5e=`.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}
|
|
54
|
+
`;var b5e=new te("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:C5e}),Dj=new te("MAT_DRAWER_CONTAINER");function C5e(){return!1}var zI=(()=>{class t extends dd{_platform=h(It);_changeDetectorRef=h(mt);_container=h(Cj);constructor(){let e=h(Te),i=h(cl),r=h(Ne);super(e,i,r)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:i}=this._container;return e!=null&&e.mode!=="over"&&e.opened||i!=null&&i.mode!=="over"&&i.opened}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(i,r){i&2&&(zn("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),De("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[it([{provide:dd,useExisting:t}]),Oe],ngContentSelectors:$I,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},encapsulation:2,changeDetection:0})}return t})(),bj=(()=>{class t{_elementRef=h(Te);_focusTrapFactory=h(ix);_focusMonitor=h(Ma);_platform=h(It);_ngZone=h(Ne);_renderer=h(dn);_interactivityChecker=h(Og);_doc=h(dt);_container=h(Dj,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Si(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=Si(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(Si(e))}_opened=Be(!1);_openedVia;_animationStarted=new _e;_animationEnd=new _e;openedChange=new re(!0);_openedStream=this.openedChange.pipe(cn(e=>e),Gt(()=>{}));openedStart=this._animationStarted.pipe(cn(()=>this.opened),Qh(void 0));_closedStream=this.openedChange.pipe(cn(e=>!e),Gt(()=>{}));closedStart=this._animationStarted.pipe(cn(()=>!this.opened),Qh(void 0));_destroyed=new _e;onPositionChanged=new re;_content;_modeChanged=new _e;_injector=h(ft);_changeDetectorRef=h(mt);constructor(){this.openedChange.pipe(Nt(this._destroyed)).subscribe(e=>{e?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement;Ky(e,"keydown").pipe(cn(i=>i.keyCode===27&&!this.disableClose&&!Hn(i)),Nt(this._destroyed)).subscribe(i=>this._ngZone.run(()=>{this.close(),i.stopPropagation(),i.preventDefault()})),this._eventCleanups=[this._renderer.listen(e,"transitionrun",this._handleTransitionEvent),this._renderer.listen(e,"transitionend",this._handleTransitionEvent),this._renderer.listen(e,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),a(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),a=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":jn(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return e===this.opened?Promise.resolve(e?"open":"close"):(this._opened.set(e),this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&i&&this._restoreFocus(r),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Gi(1)).subscribe(a=>o(a?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let i=this._elementRef.nativeElement,r=i.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}_handleTransitionEvent=e=>{let i=this._elementRef.nativeElement;e.target===i&&this._ngZone.run(()=>{e.type==="transitionrun"?this._animationStarted.next(e):(e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e))})};static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(i&1&&Qe(d5e,5),i&2){let o;be(o=Ce())&&(r._content=o.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){i&2&&(Ge("align",null)("tabIndex",r.mode!=="side"?"-1":null),zn("visibility",!r._container&&!r.opened?"hidden":null),De("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:$I,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Et(),C(0,"div",1,0),Ve(2),x())},dependencies:[dd],encapsulation:2,changeDetection:0})}return t})(),Cj=(()=>{class t{_dir=h(On,{optional:!0});_element=h(Te);_ngZone=h(Ne);_changeDetectorRef=h(mt);_animationDisabled=an();_transitionsEnabled=!1;_allDrawers;_drawers=new Aa;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Si(e)}_autosize=h(b5e);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:Si(e)}_backdropOverride;backdropClick=new re;_start;_end;_left;_right;_destroyed=new _e;_doCheckSubject=new _e;_contentMargins={left:null,right:null};_contentMarginChanges=new _e;get scrollable(){return this._userContent||this._content}_injector=h(ft);constructor(){let e=h(It),i=h(Sr);this._dir?.change.pipe(Nt(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(Nt(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(Vn(this._allDrawers),Nt(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Vn(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Js(10),Nt(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,i-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")i+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();i+=r,e-=r}}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Nt(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(Nt(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(Nt(this._drawers.changes)).subscribe(()=>{jn({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(Nt(Nn(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,zI,5),Ft(o,bj,5)),i&2){let a;be(a=Ce())&&(r._content=a.first),be(a=Ce())&&(r._allDrawers=a)}},viewQuery:function(i,r){if(i&1&&Qe(zI,5),i&2){let o;be(o=Ce())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[it([{provide:Dj,useExisting:t}])],ngContentSelectors:f5e,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Et(u5e),We(0,m5e,1,2,"div",0),Ve(1),Ve(2,1),We(3,p5e,2,0,"mat-drawer-content")),i&2&&(Ke(r.hasBackdrop?0:-1),E(3),Ke(r._content?-1:3))},dependencies:[zI],styles:[`.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}
|
|
55
|
+
`],encapsulation:2,changeDetection:0})}return t})(),HI=(()=>{class t extends zI{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[it([{provide:dd,useExisting:t}]),Oe],ngContentSelectors:$I,decls:1,vars:0,template:function(i,r){i&1&&(Et(),Ve(0))},encapsulation:2,changeDetection:0})}return t})(),Ej=(()=>{class t extends bj{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=Si(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=oo(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=oo(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(i,r){i&2&&(Ge("tabIndex",r.mode!=="side"?"-1":null)("align",null),zn("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),De("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[it([{provide:bj,useExisting:t}]),Oe],ngContentSelectors:$I,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Et(),C(0,"div",1,0),Ve(2),x())},dependencies:[dd],encapsulation:2,changeDetection:0})}return t})(),Hae=(()=>{class t extends Cj{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,HI,5),Ft(o,Ej,5)),i&2){let a;be(a=Ce())&&(r._content=a.first),be(a=Ce())&&(r._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[it([{provide:Dj,useExisting:t},{provide:Cj,useExisting:t}]),Oe],ngContentSelectors:g5e,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Et(h5e),We(0,_5e,1,2,"div",0),Ve(1),Ve(2,1),We(3,v5e,2,0,"mat-sidenav-content")),i&2&&(Ke(r.hasBackdrop?0:-1),E(3),Ke(r._content?-1:3))},dependencies:[HI],styles:[y5e],encapsulation:2,changeDetection:0})}return t})();var E5e=["knob"],S5e=["valueIndicatorContainer"];function w5e(t,n){if(t&1&&(C(0,"div",2,1)(2,"div",5)(3,"span",6),J(4),x()()()),t&2){let e=U();E(4),Se(e.valueIndicatorText)}}var x5e=["trackActive"],T5e=["*"];function I5e(t,n){if(t&1&&je(0,"div"),t&2){let e=n.$implicit,i=n.$index,r=U(3);di(e===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),zn("transform",r._calcTickMarkTransform(i))}}function A5e(t,n){if(t&1&&us(0,I5e,1,4,"div",8,Ab),t&2){let e=U(2);fs(e._tickMarks)}}function M5e(t,n){if(t&1&&(C(0,"div",6,1),We(2,A5e,2,0),x()),t&2){let e=U();E(2),Ke(e._cachedWidth?2:-1)}}function k5e(t,n){if(t&1&&je(0,"mat-slider-visual-thumb",7),t&2){let e=U();V("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}var Ht=(function(t){return t[t.START=1]="START",t[t.END=2]="END",t})(Ht||{}),tv=(function(t){return t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE",t})(tv||{}),Sj=new te("_MatSlider"),$ae=new te("_MatSliderThumb"),R5e=new te("_MatSliderRangeThumb"),Gae=new te("_MatSliderVisualThumb");var P5e=(()=>{class t{_cdr=h(mt);_ngZone=h(Ne);_slider=h(Sj);_renderer=h(dn);_listenerCleanups;discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=h(Te).nativeElement;_platform=h(It);constructor(){}ngAfterViewInit(){let e=this._slider._getInput(this.thumbPosition);e&&(this._ripple.radius=24,this._sliderInput=e,this._sliderInputEl=this._sliderInput._hostElement,this._ngZone.runOutsideAngular(()=>{let i=this._sliderInputEl,r=this._renderer;this._listenerCleanups=[r.listen(i,"pointermove",this._onPointerMove),r.listen(i,"pointerdown",this._onDragStart),r.listen(i,"pointerup",this._onDragEnd),r.listen(i,"pointerleave",this._onMouseLeave),r.listen(i,"focus",this._onFocus),r.listen(i,"blur",this._onBlur)]}))}ngOnDestroy(){this._listenerCleanups?.forEach(e=>e())}_onPointerMove=e=>{if(this._sliderInput._isFocused)return;let i=this._hostElement.getBoundingClientRect(),r=this._slider._isCursorOnSliderThumb(e,i);this._isHovered=r,r?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)};_onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)};_onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")};_onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")};_onDragStart=e=>{e.button===0&&(this._isActive=!0,this._showActiveRipple())};_onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()};_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return e?.state===Io.FADING_IN||e?.state===Io.VISIBLE}_showRipple(e,i){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===Ht.START?Ht.END:Ht.START)._showValueIndicator(),!(this._slider._globalRippleOptions?.disabled&&!i)))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();let i=this._getSibling();i._isShowingAnyRipple()||(this._hideValueIndicator(),i._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===Ht.START?Ht.END:Ht.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(i,r){if(i&1&&(Qe(_s,5),Qe(E5e,5),Qe(S5e,5)),i&2){let o;be(o=Ce())&&(r._ripple=o.first),be(o=Ce())&&(r._knob=o.first),be(o=Ce())&&(r._valueIndicatorContainer=o.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[it([{provide:Gae,useExisting:t}])],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(i,r){i&1&&(We(0,w5e,5,1,"div",2),je(1,"div",3,0)(3,"div",4)),i&2&&(Ke(r.discrete?0:-1),E(3),V("matRippleDisabled",!0))},dependencies:[_s],styles:[`.mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}
|
|
56
|
+
`],encapsulation:2,changeDetection:0})}return t})(),qae=(()=>{class t{_ngZone=h(Ne);_cdr=h(mt);_elementRef=h(Te);_dir=h(On,{optional:!0});_globalRippleOptions=h(ju,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(e){this._disabled=e;let i=this._getInput(Ht.END),r=this._getInput(Ht.START);i&&(i.disabled=this._disabled),r&&(r.disabled=this._disabled)}_disabled=!1;get discrete(){return this._discrete}set discrete(e){this._discrete=e,this._updateValueIndicatorUIs()}_discrete=!1;get showTickMarks(){return this._showTickMarks}set showTickMarks(e){this._showTickMarks=e,this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI())}_showTickMarks=!1;get min(){return this._min}set min(e){let i=e==null||isNaN(e)?this._min:e;this._min!==i&&this._updateMin(i)}_min=0;color;disableRipple=!1;_updateMin(e){let i=this._min;this._min=e,this._isRange?this._updateMinRange({old:i,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){let i=this._getInput(Ht.END),r=this._getInput(Ht.START),o=i.value,a=r.value;r.min=e.new,i.min=Math.max(e.new,r.value),r.max=Math.min(i.max,i.value),r._updateWidthInactive(),i._updateWidthInactive(),e.new<e.old?this._onTranslateXChangeBySideEffect(i,r):this._onTranslateXChangeBySideEffect(r,i),o!==i.value&&this._onValueChange(i),a!==r.value&&this._onValueChange(r)}_updateMinNonRange(e){let i=this._getInput(Ht.END);if(i){let r=i.value;i.min=e,i._updateThumbUIByValue(),this._updateTrackUI(i),r!==i.value&&this._onValueChange(i)}}get max(){return this._max}set max(e){let i=e==null||isNaN(e)?this._max:e;this._max!==i&&this._updateMax(i)}_max=100;_updateMax(e){let i=this._max;this._max=e,this._isRange?this._updateMaxRange({old:i,new:e}):this._updateMaxNonRange(e),this._onMinMaxOrStepChange()}_updateMaxRange(e){let i=this._getInput(Ht.END),r=this._getInput(Ht.START),o=i.value,a=r.value;i.max=e.new,r.max=Math.min(e.new,i.value),i.min=r.value,i._updateWidthInactive(),r._updateWidthInactive(),e.new>e.old?this._onTranslateXChangeBySideEffect(r,i):this._onTranslateXChangeBySideEffect(i,r),o!==i.value&&this._onValueChange(i),a!==r.value&&this._onValueChange(r)}_updateMaxNonRange(e){let i=this._getInput(Ht.END);if(i){let r=i.value;i.max=e,i._updateThumbUIByValue(),this._updateTrackUI(i),r!==i.value&&this._onValueChange(i)}}get step(){return this._step}set step(e){let i=isNaN(e)?this._step:e;this._step!==i&&this._updateStep(i)}_step=1;_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){let e=this._getInput(Ht.END),i=this._getInput(Ht.START),r=e.value,o=i.value,a=i.value;e.min=this._min,i.max=this._max,e.step=this._step,i.step=this._step,this._platform.SAFARI&&(e.value=e.value,i.value=i.value),e.min=Math.max(this._min,i.value),i.max=Math.min(this._max,e.value),i._updateWidthInactive(),e._updateWidthInactive(),e.value<a?this._onTranslateXChangeBySideEffect(i,e):this._onTranslateXChangeBySideEffect(e,i),r!==e.value&&this._onValueChange(e),o!==i.value&&this._onValueChange(i)}_updateStepNonRange(){let e=this._getInput(Ht.END);if(e){let i=e.value;e.step=this._step,this._platform.SAFARI&&(e.value=e.value),e._updateThumbUIByValue(),i!==e.value&&this._onValueChange(e)}}displayWith=e=>`${e}`;_tickMarks;_noopAnimations=an();_dirChangeSubscription;_resizeObserver;_cachedWidth;_cachedLeft;_rippleRadius=24;startValueIndicatorText="";endValueIndicatorText="";_endThumbTransform;_startThumbTransform;_isRange=!1;_isRtl=!1;_hasViewInitialized=!1;_tickMarkTrackWidth=0;_hasAnimation=!1;_resizeTimer=null;_platform=h(It);constructor(){h(pn).load(wr),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl=this._dir.value==="rtl")}_knobRadius=8;_inputPadding;ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();let e=this._getInput(Ht.END),i=this._getInput(Ht.START);this._isRange=!!e&&!!i,this._cdr.detectChanges();let r=this._getThumb(Ht.END);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(e,i):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,i){e.initProps(),e.initUI(),i.initProps(),i.initUI(),e._updateMinMax(),i._updateMinMax(),e._updateStaticStyles(),i._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),i._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl=this._dir?.value==="rtl",this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){let e=this._getInput(Ht.END),i=this._getInput(Ht.START);e._setIsLeftThumb(),i._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),i.translateX=i._calcTranslateXByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateWidthInactive(),i._updateWidthInactive(),e._updateThumbUIByValue(),i._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(Ht.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(Ht.START)._isActive||this._getThumb(Ht.END)._isActive}_getValue(e=Ht.END){let i=this._getInput(e);return i?i.value:this.min}_skipUpdate(){return!!(this._getInput(Ht.START)?._skipUIUpdate||this._getInput(Ht.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){let i=this._trackActive.nativeElement.style;i.left=e.left,i.right=e.right,i.transformOrigin=e.transformOrigin,i.transform=e.transform}_calcTickMarkTransform(e){let i=e*(this._tickMarkTrackWidth/(this._tickMarks.length-1));return`translateX(${this._isRtl?this._cachedWidth-6-i:i}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,i){this._hasViewInitialized&&(e._updateThumbUIByValue(),i._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){let e=this._getInput(Ht.END),i=this._getInput(Ht.START);e._updateThumbUIByValue(),i._updateThumbUIByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateMinMax(),i._updateMinMax(),e._updateWidthInactive(),i._updateWidthInactive()}else{let e=this._getInput(Ht.END);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let e=this._getInput(Ht.START),i=this._getInput(Ht.END);return!e||!i?!1:i.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){let i=e.getSibling(),r=this._getThumb(e.thumbPosition);this._getThumb(i.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){if(this._skipUpdate())return;let i=this._getThumb(e.thumbPosition===Ht.END?Ht.END:Ht.START);i._hostElement.style.transform=`translateX(${e.translateX}px)`}_updateValueIndicatorUI(e){if(this._skipUpdate())return;let i=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext.set(i):e._hostElement.setAttribute("aria-valuetext",i),this.discrete){e.thumbPosition===Ht.START?this.startValueIndicatorText=i:this.endValueIndicatorText=i;let r=this._getThumb(e.thumbPosition);i.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){let e=this._getInput(Ht.END),i=this._getInput(Ht.START);e&&this._updateValueIndicatorUI(e),i&&this._updateValueIndicatorUI(i)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;let e=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=(this._cachedWidth-6)*r}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){let i=e.getSibling();if(!i||!this._cachedWidth)return;let r=Math.abs(i.translateX-e.translateX)/this._cachedWidth;e._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:`${this._cachedWidth-i.translateX}px`,transformOrigin:"right",transform:`scaleX(${r})`}):this._setTrackActiveStyles({left:`${i.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(e){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||this.step===void 0||this.min===void 0||this.max===void 0)return;let e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e)}_updateTickMarkUINonRange(e){let i=this._getValue(),r=Math.max(Math.round((i-this.min)/e),0)+1,o=Math.max(Math.round((this.max-i)/e),0)-1;this._isRtl?r++:o++,this._tickMarks=Array(r).fill(tv.ACTIVE).concat(Array(o).fill(tv.INACTIVE))}_updateTickMarkUIRange(e){let i=this._getValue(),r=this._getValue(Ht.START),o=Math.max(Math.round((r-this.min)/e),0),a=Math.max(Math.round((i-r)/e)+1,0),s=Math.max(Math.round((this.max-i)/e),0);this._tickMarks=Array(o).fill(tv.INACTIVE).concat(Array(a).fill(tv.ACTIVE),Array(s).fill(tv.INACTIVE))}_getInput(e){if(e===Ht.END&&this._input)return this._input;if(this._inputs?.length)return e===Ht.START?this._inputs.first:this._inputs.last}_getThumb(e){return e===Ht.END?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=!this._platform.IOS&&e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(e,i){let r=i.width/2,o=i.x+r,a=i.y+r,s=e.clientX-o,l=e.clientY-a;return Math.pow(s,2)+Math.pow(l,2)<Math.pow(r,2)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-slider"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,$ae,5),Ft(o,R5e,4)),i&2){let a;be(a=Ce())&&(r._input=a.first),be(a=Ce())&&(r._inputs=a)}},viewQuery:function(i,r){if(i&1&&(Qe(x5e,5),Qe(Gae,5)),i&2){let o;be(o=Ce())&&(r._trackActive=o.first),be(o=Ce())&&(r._thumbs=o)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(i,r){i&2&&(di("mat-"+(r.color||"primary")),De("mdc-slider--range",r._isRange)("mdc-slider--disabled",r.disabled)("mdc-slider--discrete",r.discrete)("mdc-slider--tick-marks",r.showTickMarks)("_mat-animation-noopable",r._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",Ee],discrete:[2,"discrete","discrete",Ee],showTickMarks:[2,"showTickMarks","showTickMarks",Ee],min:[2,"min","min",ii],color:"color",disableRipple:[2,"disableRipple","disableRipple",Ee],max:[2,"max","max",ii],step:[2,"step","step",ii],displayWith:"displayWith"},exportAs:["matSlider"],features:[it([{provide:Sj,useExisting:t}])],ngContentSelectors:T5e,decls:9,vars:5,consts:[["trackActive",""],["tickMarkContainer",""],[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],[1,"mdc-slider__tick-marks"],[3,"discrete","thumbPosition","valueIndicatorText"],[3,"class","transform"]],template:function(i,r){i&1&&(Et(),Ve(0),C(1,"div",2),je(2,"div",3),C(3,"div",4),je(4,"div",5,0),x(),We(6,M5e,3,1,"div",6),x(),We(7,k5e,1,3,"mat-slider-visual-thumb",7),je(8,"mat-slider-visual-thumb",7)),i&2&&(E(6),Ke(r.showTickMarks?6:-1),E(),Ke(r._isRange?7:-1),E(),V("discrete",r.discrete)("thumbPosition",2)("valueIndicatorText",r.endValueIndicatorText))},dependencies:[P5e],styles:[`.mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%;pointer-events:none;height:var(--mat-slider-inactive-track-height, 4px)}.mdc-slider__track--active,.mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider__track--active{overflow:hidden;border-radius:var(--mat-slider-active-track-shape, var(--mat-sys-corner-full));height:var(--mat-slider-active-track-height, 4px);top:calc((var(--mat-slider-inactive-track-height, 4px) - var(--mat-slider-active-track-height, 4px))/2)}.mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;transform-origin:left;transition:transform 80ms ease;border-color:var(--mat-slider-active-track-color, var(--mat-sys-primary));border-top-width:var(--mat-slider-active-track-height, 4px)}.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mat-slider-disabled-active-track-color, var(--mat-sys-on-surface))}[dir=rtl] .mdc-slider__track--active_fill{-webkit-transform-origin:right;transform-origin:right}.mdc-slider__track--inactive{left:0;top:0;opacity:.24;background-color:var(--mat-slider-inactive-track-color, var(--mat-sys-surface-variant));height:var(--mat-slider-inactive-track-height, 4px);border-radius:var(--mat-slider-inactive-track-shape, var(--mat-sys-corner-full))}.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mat-slider-disabled-inactive-track-color, var(--mat-sys-on-surface));opacity:.24}.mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media(forced-colors: active){.mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider__value-indicator-container{bottom:44px;left:50%;pointer-events:none;position:absolute;transform:var(--mat-slider-value-indicator-container-transform, translateX(-50%) rotate(-45deg))}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider__value-indicator{display:flex;align-items:center;transform:scale(0);transform-origin:bottom;transition:transform 100ms cubic-bezier(0.4, 0, 1, 1);word-break:normal;background-color:var(--mat-slider-label-container-color, var(--mat-sys-primary));color:var(--mat-slider-label-label-text-color, var(--mat-sys-on-primary));width:var(--mat-slider-value-indicator-width, 28px);height:var(--mat-slider-value-indicator-height, 28px);padding:var(--mat-slider-value-indicator-padding, 0);opacity:var(--mat-slider-value-indicator-opacity, 1);border-radius:var(--mat-slider-value-indicator-border-radius, 50% 50% 50% 0)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}.mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;display:var(--mat-slider-value-indicator-caret-display, none);border-top-color:var(--mat-slider-label-container-color, var(--mat-sys-primary))}.mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media(forced-colors: active){.mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider__value-indicator-text{text-align:center;width:var(--mat-slider-value-indicator-width, 28px);transform:var(--mat-slider-value-indicator-text-transform, rotate(45deg));font-family:var(--mat-slider-label-label-text-font, var(--mat-sys-label-medium-font));font-size:var(--mat-slider-label-label-text-size, var(--mat-sys-label-medium-size));font-weight:var(--mat-slider-label-label-text-weight, var(--mat-sys-label-medium-weight));line-height:var(--mat-slider-label-label-text-line-height, var(--mat-sys-label-medium-line-height));letter-spacing:var(--mat-slider-label-label-text-tracking, var(--mat-sys-label-medium-tracking))}.mdc-slider__thumb{-webkit-user-select:none;user-select:none;display:flex;left:-24px;outline:none;position:absolute;height:48px;width:48px;pointer-events:none}.mdc-slider--discrete .mdc-slider__thumb{transition:transform 80ms ease}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__thumb--top{z-index:1}.mdc-slider__thumb-knob{position:absolute;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%, -50%);border-style:solid;width:var(--mat-slider-handle-width, 20px);height:var(--mat-slider-handle-height, 20px);border-width:calc(var(--mat-slider-handle-height, 20px)/2) calc(var(--mat-slider-handle-width, 20px)/2);box-shadow:var(--mat-slider-handle-elevation, var(--mat-sys-level1));background-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-handle-color, var(--mat-sys-primary));border-radius:var(--mat-slider-handle-shape, var(--mat-sys-corner-full))}.mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-hover-handle-color, var(--mat-sys-primary))}.mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary));border-color:var(--mat-slider-focus-handle-color, var(--mat-sys-primary))}.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface));border-color:var(--mat-slider-disabled-handle-color, var(--mat-sys-on-surface))}.mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border:solid 1px #fff;box-sizing:content-box;border-color:var(--mat-slider-with-overlap-handle-outline-color, var(--mat-sys-on-primary));border-width:var(--mat-slider-with-overlap-handle-outline-width, 1px)}.mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider__tick-mark--active,.mdc-slider__tick-mark--inactive{width:var(--mat-slider-with-tick-marks-container-size, 2px);height:var(--mat-slider-with-tick-marks-container-size, 2px);border-radius:var(--mat-slider-with-tick-marks-container-shape, var(--mat-sys-corner-full))}.mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-inactive-container-color, var(--mat-sys-on-surface-variant))}.mdc-slider--disabled .mdc-slider__tick-mark--inactive{opacity:var(--mat-slider-with-tick-marks-inactive-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-disabled-container-color, var(--mat-sys-on-surface))}.mdc-slider__tick-mark--active{opacity:var(--mat-slider-with-tick-marks-active-container-opacity, 0.38);background-color:var(--mat-slider-with-tick-marks-active-container-color, var(--mat-sys-on-primary))}.mdc-slider__input{cursor:pointer;left:2px;margin:0;height:44px;opacity:0;position:absolute;top:2px;width:44px;box-sizing:content-box}.mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;cursor:pointer;height:48px;margin:0 8px;position:relative;touch-action:pan-y;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider.mdc-slider--disabled{cursor:auto;opacity:.38}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__input{cursor:auto}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-slider-ripple-color, var(--mat-sys-primary))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-slider-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 5%, transparent))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-slider-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-primary) 20%, transparent))}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-focus-indicator::before{content:""}
|
|
57
|
+
`],encapsulation:2,changeDetection:0})}return t})();var N5e={provide:ws,useExisting:bi(()=>wj),multi:!0};var wj=(()=>{class t{_ngZone=h(Ne);_elementRef=h(Te);_cdr=h(mt);_slider=h(Sj);_platform=h(It);_listenerCleanups;get value(){return ii(this._hostElement.value,0)}set value(e){e===null&&(e=this._getDefaultValue()),e=isNaN(e)?0:e;let i=e+"";if(!this._hasSetInitialValue){this._initialValue=i;return}this._isActive||this._setValue(i)}_setValue(e){this._hostElement.value=e,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}valueChange=new re;dragStart=new re;dragEnd=new re;get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(this._translateX===void 0&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}_translateX;thumbPosition=Ht.END;get min(){return ii(this._hostElement.min,0)}set min(e){this._hostElement.min=e+"",this._cdr.detectChanges()}get max(){return ii(this._hostElement.max,0)}set max(e){this._hostElement.max=e+"",this._cdr.detectChanges()}get step(){return ii(this._hostElement.step,0)}set step(e){this._hostElement.step=e+"",this._cdr.detectChanges()}get disabled(){return Ee(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=e,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?this._translateX===0?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_hostElement=this._elementRef.nativeElement;_valuetext=Be("");_knobRadius=8;_tickMarkOffset=3;_isActive=!1;_isFocused=!1;_setIsFocused(e){this._isFocused=e}_hasSetInitialValue=!1;_initialValue;_formControl;_destroyed=new _e;_skipUIUpdate=!1;_onChangeFn;_onTouchedFn=()=>{};_isControlInitialized=!1;constructor(){let e=h(dn);this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[e.listen(this._hostElement,"pointerdown",this._onPointerDown.bind(this)),e.listen(this._hostElement,"pointermove",this._onPointerMove.bind(this)),e.listen(this._hostElement,"pointerup",this._onPointerUp.bind(this))]})}ngOnDestroy(){this._listenerCleanups.forEach(e=>e()),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,this._initialValue===void 0?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){if(!(this.disabled||e.button!==0)){if(this._platform.IOS){let i=this._slider._isCursorOnSliderThumb(e,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());this._isActive=i,this._updateWidthActive(),this._slider._updateDimensions();return}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){let i=e.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,o=this._slider.step===0?1:this._slider.step,a=Math.floor((this._slider.max-this._slider.min)/o),s=this._slider._isRtl?1-i/r:i/r,c=Math.round(s*a)/a*(this._slider.max-this._slider.min)+this._slider.min,d=Math.round(c/o)*o,u=this.value;if(d===u){this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation});return}this.value=d,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(e){let i=this._tickMarkOffset,r=this._slider._cachedWidth-this._tickMarkOffset;return Math.max(Math.min(e,r),i)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-this._tickMarkOffset*2)+this._tickMarkOffset}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-this._tickMarkOffset*2}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,i){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(i)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){(this._isControlInitialized||e!==null)&&(this.value=e)}registerOnChange(e){this._onChangeFn=e,this._isControlInitialized=!0}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(i,r){i&1&&ae("change",function(){return r._onChange()})("input",function(){return r._onInput()})("blur",function(){return r._onBlur()})("focus",function(){return r._onFocus()}),i&2&&Ge("aria-valuetext",r._valuetext())},inputs:{value:[2,"value","value",ii]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[it([N5e,{provide:$ae,useExisting:t}])]})}return t})();var F5e=["switch"],L5e=["*"];function V5e(t,n){t&1&&(C(0,"span",11),eo(),C(1,"svg",13),je(2,"path",14),x(),C(3,"svg",15),je(4,"path",16),x()())}var B5e=new te("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),GI=class{source;checked;constructor(n,e){this.source=n,this.checked=e}},Yae=(()=>{class t{_elementRef=h(Te);_focusMonitor=h(Ma);_changeDetectorRef=h(mt);defaults=h(B5e);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new GI(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=an();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new re;toggleChange=new re;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){h(pn).load(wr);let e=h(new Vr("tabindex"),{optional:!0}),i=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this.id=this._uniqueId=h(Sn).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new GI(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&Qe(F5e,5),i&2){let o;be(o=Ce())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&(Lr("id",r.id),Ge("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),di(r.color?"mat-"+r.color:""),De("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",Ee],color:"color",disabled:[2,"disabled","disabled",Ee],disableRipple:[2,"disableRipple","disableRipple",Ee],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ii(e)],checked:[2,"checked","checked",Ee],hideIcon:[2,"hideIcon","hideIcon",Ee],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ee]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[it([{provide:ws,useExisting:bi(()=>t),multi:!0},{provide:xd,useExisting:t,multi:!0}]),Yt],ngContentSelectors:L5e,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(i&1){let o=lt();Et(),C(0,"div",1)(1,"button",2,0),ae("click",function(){return he(o),ge(r._handleClick())}),je(3,"div",3)(4,"span",4),C(5,"span",5)(6,"span",6)(7,"span",7),je(8,"span",8),x(),C(9,"span",9),je(10,"span",10),x(),We(11,V5e,5,0,"span",11),x()()(),C(12,"label",12),ae("click",function(s){return he(o),ge(s.stopPropagation())}),Ve(13),x()()}if(i&2){let o=cr(2);V("labelPosition",r.labelPosition),E(),De("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),V("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),Ge("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),E(9),V("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),E(),Ke(r.hideIcon?-1:11),E(),V("for",r.buttonId),Ge("id",r._labelId)}},dependencies:[_s,NI],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}
|
|
58
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Mj=["*"];function U5e(t,n){t&1&&Ve(0)}var z5e=["tabListContainer"],H5e=["tabList"],$5e=["tabListInner"],G5e=["nextPaginator"],q5e=["previousPaginator"],Y5e=["content"];function W5e(t,n){}var K5e=["tabBodyWrapper"],X5e=["tabHeader"];function Q5e(t,n){}function Z5e(t,n){if(t&1&&Je(0,Q5e,0,0,"ng-template",12),t&2){let e=U().$implicit;V("cdkPortalOutlet",e.templateLabel)}}function J5e(t,n){if(t&1&&J(0),t&2){let e=U().$implicit;Se(e.textLabel)}}function eYe(t,n){if(t&1){let e=lt();C(0,"div",7,2),ae("click",function(){let r=he(e),o=r.$implicit,a=r.$index,s=U(),l=cr(1);return ge(s._handleClick(o,l,a))})("cdkFocusChange",function(r){let o=he(e).$index,a=U();return ge(a._tabFocusChanged(r,o))}),je(2,"span",8)(3,"div",9),C(4,"span",10)(5,"span",11),We(6,Z5e,1,1,null,12)(7,J5e,1,1),x()()()}if(t&2){let e=n.$implicit,i=n.$index,r=cr(1),o=U();di(e.labelClass),De("mdc-tab--active",o.selectedIndex===i),V("id",o._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),Ge("tabIndex",o._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),E(3),V("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),E(3),Ke(e.templateLabel?6:7)}}function tYe(t,n){t&1&&Ve(0)}function nYe(t,n){if(t&1){let e=lt();C(0,"mat-tab-body",13),ae("_onCentered",function(){he(e);let r=U();return ge(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){he(e);let o=U();return ge(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){he(e);let o=U();return ge(o._bodyCentered(r))}),x()}if(t&2){let e=n.$implicit,i=n.$index,r=U();di(e.bodyClass),V("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Ge("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var iYe=new te("MatTabContent"),rYe=(()=>{class t{template=h(kn);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matTabContent",""]],features:[it([{provide:iYe,useExisting:t}])]})}return t})(),oYe=new te("MatTabLabel"),Qae=new te("MAT_TAB"),aYe=(()=>{class t extends xoe{_closestTab=h(Qae,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[it([{provide:oYe,useExisting:t}]),Oe]})}return t})(),Zae=new te("MAT_TAB_GROUP"),Np=(()=>{class t{_viewContainerRef=h(Kt);_closestTabGroup=h(Zae,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new _e;position=null;origin=null;isActive=!1;constructor(){h(pn).load(wr)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Oa(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,o){if(i&1&&(Ft(o,aYe,5),Ft(o,rYe,7,kn)),i&2){let a;be(a=Ce())&&(r.templateLabel=a.first),be(a=Ce())&&(r._explicitContent=a.first)}},viewQuery:function(i,r){if(i&1&&Qe(kn,7),i&2){let o;be(o=Ce())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&Ge("id",null)},inputs:{disabled:[2,"disabled","disabled",Ee],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[it([{provide:Qae,useExisting:t}]),Yt],ngContentSelectors:Mj,decls:1,vars:0,template:function(i,r){i&1&&(Et(),sl(0,U5e,1,0,"ng-template"))},encapsulation:2})}return t})(),xj="mdc-tab-indicator--active",Wae="mdc-tab-indicator--no-transition",Tj=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},sYe=(()=>{class t{_elementRef=h(Te);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(xj);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(Wae),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(Wae),i.classList.add(xj),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(xj)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Ee]}})}return t})();var Jae=(()=>{class t extends sYe{elementRef=h(Te);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(Ge("aria-disabled",!!r.disabled),De("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",Ee]},features:[Oe]})}return t})(),Kae={passive:!0},lYe=650,cYe=100,dYe=(()=>{class t{_elementRef=h(Te);_changeDetectorRef=h(mt);_viewportRuler=h(Sr);_dir=h(On,{optional:!0});_ngZone=h(Ne);_platform=h(It);_sharedResizeObserver=h(AI);_injector=h(ft);_renderer=h(dn);_animationsDisabled=an();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new _e;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new _e;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}_selectedIndex=0;selectFocusedIndex=new re;indexFocused=new re;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),Kae),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),Kae))}ngAfterContentInit(){let e=this._dir?this._dir.change:li("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Js(32),Nt(this._destroyed)),r=this._viewportRuler.change(150).pipe(Nt(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new fp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),jn(o,{injector:this._injector}),Nn(e,r,i,this._items.changes,this._itemsResized()).pipe(Nt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Zs:this._items.changes.pipe(Vn(this._items),Qr(e=>new yt(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),km(1),cn(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Hn(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager?.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);let c=this.scrollDistance,d=this.scrollDistance+r;s<c?this.scrollDistance-=c-s:l>d&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),Yc(lYe,cYe).pipe(Nt(Nn(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",Ee],selectedIndex:[2,"selectedIndex","selectedIndex",ii]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),uYe=(()=>{class t extends dYe{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Tj(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275cmp=K({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,Jae,4),i&2){let a;be(a=Ce())&&(r._items=a)}},viewQuery:function(i,r){if(i&1&&(Qe(z5e,7),Qe(H5e,7),Qe($5e,7),Qe(G5e,5),Qe(q5e,5)),i&2){let o;be(o=Ce())&&(r._tabListContainer=o.first),be(o=Ce())&&(r._tabList=o.first),be(o=Ce())&&(r._tabListInner=o.first),be(o=Ce())&&(r._nextPaginator=o.first),be(o=Ce())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&De("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",Ee]},features:[Oe],ngContentSelectors:Mj,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let o=lt();Et(),C(0,"div",5,0),ae("click",function(){return he(o),ge(r._handlePaginatorClick("before"))})("mousedown",function(s){return he(o),ge(r._handlePaginatorPress("before",s))})("touchend",function(){return he(o),ge(r._stopInterval())}),je(2,"div",6),x(),C(3,"div",7,1),ae("keydown",function(s){return he(o),ge(r._handleKeydown(s))}),C(5,"div",8,2),ae("cdkObserveContent",function(){return he(o),ge(r._onContentChanges())}),C(7,"div",9,3),Ve(9),x()()(),C(10,"div",10,4),ae("mousedown",function(s){return he(o),ge(r._handlePaginatorPress("after",s))})("click",function(){return he(o),ge(r._handlePaginatorClick("after"))})("touchend",function(){return he(o),ge(r._stopInterval())}),je(12,"div",6),x()}i&2&&(De("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),V("matRippleDisabled",r._disableScrollBefore||r.disableRipple),E(3),De("_mat-animation-noopable",r._animationsDisabled),E(2),Ge("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),E(5),De("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),V("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[_s,ex],styles:[`.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}
|
|
59
|
+
`],encapsulation:2})}return t})(),fYe=new te("MAT_TABS_CONFIG"),Xae=(()=>{class t extends cf{_host=h(Ij);_centeringSub=tt.EMPTY;_leavingSub=tt.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Vn(this._host._isCenterPosition())).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["","matTabBodyHost",""]],features:[Oe]})}return t})(),Ij=(()=>{class t{_elementRef=h(Te);_dir=h(On,{optional:!0});_ngZone=h(Ne);_injector=h(ft);_renderer=h(dn);_diAnimationsDisabled=an();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=tt.EMPTY;_position;_previousPosition;_onCentering=new re;_beforeCentering=new re;_afterLeavingCenter=new re;_onCentered=new re(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=h(mt);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),jn(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(e=>e()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement,i=r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(e,"transitionstart",r=>{r.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(e,"transitionend",i),this._renderer.listen(e,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let e=this._position==="center";this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(e){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",e)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(e=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),jn(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&(Qe(Xae,5),Qe(Y5e,5)),i&2){let o;be(o=Ce())&&(r._portalHost=o.first),be(o=Ce())&&(r._contentElement=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&Ge("inert",r._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){i&1&&(C(0,"div",1,0),Je(2,W5e,0,0,"ng-template",2),x()),i&2&&De("mat-tab-body-content-left",r._position==="left")("mat-tab-body-content-right",r._position==="right")("mat-tab-body-content-can-animate",r._position==="center"||r._previousPosition==="center")},dependencies:[Xae,dd],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}
|
|
60
|
+
`],encapsulation:2})}return t})(),nv=(()=>{class t{_elementRef=h(Te);_changeDetectorRef=h(mt);_ngZone=h(Ne);_tabsSubscription=tt.EMPTY;_tabLabelSubscription=tt.EMPTY;_tabBodySubscription=tt.EMPTY;_diAnimationsDisabled=an();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Aa;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new re;focusChange=new re;animationDone=new re;selectedTabChange=new re(!0);_groupId;_isServer=!h(It).isBrowser;constructor(){let e=h(fYe,{optional:!0});this._groupId=h(Sn).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let o=0;o<i.length;o++)if(i[o].isActive){this._indexToSelect=this._selectedIndex=o,this._lastFocusedTabIndex=null,r=i[o];break}!r&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Vn(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new Aj;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Nn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e,i){return e.id||`${this._groupId}-label-${i}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=e;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(e){e&&this._tabBodies?.forEach((i,r)=>i._setActiveClass(r===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,Np,5),i&2){let a;be(a=Ce())&&(r._allTabs=a)}},viewQuery:function(i,r){if(i&1&&(Qe(K5e,5),Qe(X5e,5),Qe(Ij,5)),i&2){let o;be(o=Ce())&&(r._tabBodyWrapper=o.first),be(o=Ce())&&(r._tabHeader=o.first),be(o=Ce())&&(r._tabBodies=o)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(Ge("mat-align-tabs",r.alignTabs),di("mat-"+(r.color||"primary")),zn("--mat-tab-animation-duration",r.animationDuration),De("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Ee],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Ee],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Ee],selectedIndex:[2,"selectedIndex","selectedIndex",ii],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",ii],disablePagination:[2,"disablePagination","disablePagination",Ee],disableRipple:[2,"disableRipple","disableRipple",Ee],preserveContent:[2,"preserveContent","preserveContent",Ee],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[it([{provide:Zae,useExisting:t}])],ngContentSelectors:Mj,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let o=lt();Et(),C(0,"mat-tab-header",3,0),ae("indexFocused",function(s){return he(o),ge(r._focusChanged(s))})("selectFocusedIndex",function(s){return he(o),ge(r.selectedIndex=s)}),us(2,eYe,8,17,"div",4,Tw),x(),We(4,tYe,1,0),C(5,"div",5,1),us(7,nYe,1,10,"mat-tab-body",6,Tw),x()}i&2&&(V("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),xw("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),E(2),fs(r._tabs),E(2),Ke(r._isServer?4:-1),E(),De("_mat-animation-noopable",r._animationsDisabled()),E(2),fs(r._tabs))},dependencies:[uYe,Jae,Kb,_s,cf,Ij],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}
|
|
61
|
+
`],encapsulation:2})}return t})(),Aj=class{index;tab};var qI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();var mYe=["*",[["mat-toolbar-row"]]],pYe=["*","mat-toolbar-row"],hYe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),ese=(()=>{class t{_elementRef=h(Te);_platform=h(It);_document=h(dt);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,hYe,5),i&2){let a;be(a=Ce())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(di(r.color?"mat-"+r.color:""),De("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:pYe,decls:2,vars:0,template:function(i,r){i&1&&(Et(mYe),Ve(0),Ve(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}
|
|
62
|
+
`],encapsulation:2,changeDetection:0})}return t})();var tse=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,en]})}return t})();var iv=Zt(nse(),1),cse=Zt(ise(),1),dse=Zt(TT(),1),use=Zt(sse(),1),fse=Zt(_0(),1),mse=Zt(VF(),1),Fj=Zt(GF(),1),pse=Zt(kT(),1);var ua=t=>({display:t});function wYe(t,n){if(t&1&&(C(0,"mat-option",6),J(1),x()),t&2){let e=n.$implicit;V("value",e),E(),ni(" ",e," ")}}function xYe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function TYe(t,n){if(t&1&&(C(0,"mat-hint",3),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function IYe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function AYe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}var Lj="[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}";function MYe(t,n){if(t&1&&(C(0,"mat-hint",6),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function kYe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function RYe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function PYe(t,n){if(t&1&&(C(0,"mat-hint",3),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function NYe(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",1),x()),t&2){let e=U();E(),V("renderProps",e._item)}}var OYe=t=>({show:t});function FYe(t,n){if(t&1&&(C(0,"mat-list-item"),J(1),x()),t&2){let e=U();E(),Se(e.translations.noDataMessage)}}function LYe(t,n){if(t&1){let e=lt();C(0,"button",10),ae("click",function(){he(e);let r=U().index,o=U();return ge(o.onDeleteClick(r))}),C(1,"mat-icon",11),J(2,"delete"),x()()}if(t&2){let e=U().index,i=U();V("ngClass",Ri(1,OYe,i.highlightedIdx==e))}}function VYe(t,n){if(t&1){let e=lt();C(0,"mat-list-item",7),ae("click",function(){let r=he(e),o=r.$implicit,a=r.index,s=U();return ge(s.onSelect(o,a))})("mouseover",function(){let r=he(e).index,o=U();return ge(o.onListItemHover(r))})("mouseout",function(){he(e);let r=U();return ge(r.onListItemHover(void 0))}),C(1,"a",8),J(2),x(),Je(3,LYe,3,3,"button",9),x()}if(t&2){let e=n.$implicit,i=U();De("selected",e===i.selectedItem),E(2),Se(e.label||"No label set"),E(),V("ngIf",i.isEnabled())}}function BYe(t,n){if(t&1){let e=lt();C(0,"button",12),ae("click",function(){he(e);let r=U();return ge(r.onAddClick())}),C(1,"mat-icon"),J(2,"add"),x()()}if(t&2){let e=U();E(),Ge("aria-label",e.translations.addAriaLabel)}}function jYe(t,n){if(t&1&&je(0,"jsonforms-detail",13),t&2){let e=U();V("item",e.selectedItem)}}var hse=t=>({"sort-column":t});function UYe(t,n){if(t&1){let e=lt();C(0,"th",8)(1,"button",9),ae("click",function(){he(e);let r=U();return ge(r.add())}),C(2,"mat-icon"),J(3,"add"),x()()()}if(t&2){let e=U();V("ngClass",Ri(3,hse,e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons)),E(),V("disabled",!e.isEnabled())("matTooltip",e.translations.addTooltip)}}function zYe(t,n){if(t&1){let e=lt();C(0,"button",14),ae("click",function(){he(e);let r=U().index,o=U();return ge(o.up(r))}),C(1,"mat-icon"),J(2,"arrow_upward"),x()()}if(t&2){let e=U().first,i=U();V("disabled",e)("matTooltip",i.translations.upAriaLabel)}}function HYe(t,n){if(t&1){let e=lt();C(0,"button",15),ae("click",function(){he(e);let r=U().index,o=U();return ge(o.down(r))}),C(1,"mat-icon"),J(2,"arrow_downward"),x()()}if(t&2){let e=U().last,i=U();V("disabled",e)("matTooltip",i.translations.downAriaLabel)}}function $Ye(t,n){if(t&1){let e=lt();C(0,"td",10),Je(1,zYe,3,2,"button",11)(2,HYe,3,2,"button",12),C(3,"button",13),ae("click",function(){let r=he(e).index,o=U();return ge(o.remove(r))}),C(4,"mat-icon"),J(5,"delete"),x()()()}if(t&2){let e=U();V("ngClass",Ri(5,hse,e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons)),E(),V("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),E(),V("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),E(),V("disabled",!e.isEnabled())("matTooltip",e.translations.removeTooltip)}}function GYe(t,n){if(t&1&&(C(0,"th",19),J(1),x()),t&2){let e=U().$implicit;E(),Se(e.header)}}function qYe(t,n){if(t&1&&(C(0,"td",20),je(1,"jsonforms-outlet",21),Vt(2,"getProps"),x()),t&2){let e=n.index,i=U().$implicit;E(),V("renderProps",XN(2,1,e,i.props))}}function YYe(t,n){if(t&1&&(br(0,16),Je(1,GYe,2,1,"th",17)(2,qYe,3,4,"td",18),Cr()),t&2){let e=n.$implicit;V("matColumnDef",ms(e.property))}}function WYe(t,n){t&1&&je(0,"tr",22)}function KYe(t,n){t&1&&je(0,"tr",23)}function XYe(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",4),x()),t&2){let e=n.$implicit,i=U(2);E(),V("uischema",e)("path",i.path)("schema",i.schema)}}function QYe(t,n){if(t&1&&(C(0,"mat-tab",2),Je(1,XYe,2,3,"div",3),x()),t&2){let e=n.$implicit,i=n.index,r=U();V("label",r.categoryLabels[i]),E(),V("ngForOf",e.elements)}}function ZYe(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",3),x()),t&2){let e=n.$implicit;E(),V("renderProps",e)}}function JYe(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",2),x()),t&2){let e=n.$implicit;E(),V("renderProps",e)}}function e8e(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",2),x()),t&2){let e=n.$implicit;E(),V("renderProps",e)}}var t8e=()=>[];function n8e(t,n){if(t&1&&(C(0,"mat-icon",7),J(1," error_outline "),x()),t&2){let e=U();V("matBadge",ms(e.error.split("").length))("matTooltip",ms(e.error))}}function i8e(t,n){if(t&1&&(C(0,"p"),J(1),x()),t&2){let e=U();E(),Se(e.translations.noDataMessage)}}function r8e(t,n){if(t&1){let e=lt();C(0,"button",13),ae("click",function(){he(e);let r=U(2).index,o=U();return ge(o.up(r))}),C(1,"mat-icon"),J(2,"arrow_upward"),x()()}if(t&2){let e=U(2).first,i=U();V("matTooltip",ms(i.translations.up))("disabled",e),Ge("aria-label",i.translations.upAriaLabel)}}function o8e(t,n){if(t&1){let e=lt();C(0,"button",14),ae("click",function(){he(e);let r=U(2).index,o=U();return ge(o.down(r))}),C(1,"mat-icon"),J(2,"arrow_downward"),x()()}if(t&2){let e=U(2).last,i=U();V("matTooltip",ms(i.translations.down))("disabled",e),Ge("aria-label",i.translations.downAriaLabel)}}function a8e(t,n){if(t&1){let e=lt();C(0,"mat-card-actions"),Je(1,r8e,3,4,"button",10)(2,o8e,3,4,"button",11),C(3,"button",12),ae("click",function(){he(e);let r=U().index,o=U();return ge(o.remove(r))}),C(4,"mat-icon"),J(5,"delete"),x()()()}if(t&2){let e=U(2);E(),V("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),E(),V("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),E(),V("matTooltip",ms(e.translations.removeTooltip)),Ge("aria-label",e.translations.removeAriaLabel)}}function s8e(t,n){if(t&1&&(C(0,"div")(1,"mat-card",8)(2,"mat-card-content"),je(3,"jsonforms-outlet",9),x(),Je(4,a8e,6,5,"mat-card-actions",5),x()()),t&2){let e=n.index,i=U();E(3),V("renderProps",i.getProps(e)),E(),V("ngIf",i.isEnabled())}}var l8e=(()=>{class t extends la{options;filteredOptions;shouldFilter;focused=!1;constructor(e){super(e)}getEventValue=e=>e.target.value;ngOnInit(){super.ngOnInit(),this.shouldFilter=!1,this.filteredOptions=this.form.valueChanges.pipe(Vn(""),Gt(e=>this.filter(e)))}updateFilter(e){e.keyCode===13?this.shouldFilter=!1:this.shouldFilter=!0}onSelect(e){let i=ef(this.uischema,this.path);this.shouldFilter=!1,this.jsonFormsService.updateCore(Oo.update(i,()=>e.option.value)),this.triggerValidation()}filter(e){return(this.options||this.scopedSchema.enum||[]).filter(i=>!this.shouldFilter||!e||i.toLowerCase().indexOf(e.toLowerCase())===0)}getOwnProps(){return Fe(G({},super.getOwnProps()),{options:this.options})}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["AutocompleteControlRenderer"]],inputs:{options:"options"},standalone:!1,features:[Oe],decls:11,vars:12,consts:[["auto","matAutocomplete"],[3,"ngStyle"],["matInput","","type","text",3,"change","keydown","focus","focusout","id","formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(i,r){if(i&1){let o=lt();C(0,"mat-form-field",1)(1,"mat-label"),J(2),x(),C(3,"input",2),ae("change",function(s){return he(o),ge(r.onChange(s))})("keydown",function(s){return he(o),ge(r.updateFilter(s))})("focus",function(){return he(o),ge(r.focused=!0)})("focusout",function(){return he(o),ge(r.focused=!1)}),x(),C(4,"mat-autocomplete",3,0),ae("optionSelected",function(s){return he(o),ge(r.onSelect(s))}),Je(6,wYe,2,2,"mat-option",4),Vt(7,"async"),x(),Je(8,xYe,2,1,"mat-hint",5),C(9,"mat-error"),J(10),x()()}if(i&2){let o=cr(5);V("ngStyle",Ri(10,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("id",r.id)("formControl",r.form)("matAutocomplete",o),E(3),V("ngForOf",$t(7,8,r.filteredOptions)),E(2),V("ngIf",r.shouldShowUnfocusedDescription()||r.focused),E(2),Se(r.error)}},dependencies:[Br,Dr,Er,Va,La,fo,da,ev,af,cc,yl,ca,rae,ij,vO],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),c8e=$n(2,kre),d8e=(()=>{class t extends la{changeDetectionRef;constructor(e,i){super(e),this.changeDetectionRef=i}isChecked=()=>this.data||!1;getEventValue=e=>e.checked;mapAdditionalProps(){this.changeDetectionRef.destroyed||this.changeDetectionRef.markForCheck()}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["BooleanControlRenderer"]],standalone:!1,features:[Oe],decls:6,vars:9,consts:[[1,"boolean-control",3,"ngStyle"],[3,"change","checked","disabled","id"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"]],template:function(i,r){i&1&&(C(0,"div",0)(1,"mat-checkbox",1),ae("change",function(a){return r.onChange(a)}),J(2),x(),Je(3,TYe,2,1,"mat-hint",2),C(4,"mat-error",3),J(5),x()()),i&2&&(V("ngStyle",Ri(7,ua,r.hidden?"none":"")),E(),V("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),E(),ni(" ",r.label," "),E(),V("ngIf",r.shouldShowUnfocusedDescription()),E(2),Se(r.error))},dependencies:[Dr,Er,fo,da,cae],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}.boolean-control[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;height:100%}"],changeDetection:0})}return t})(),u8e=$n(2,IB),f8e=(()=>{class t{displayFormat="M/D/YYYY";setDisplayFormat(e){this.displayFormat=e}get display(){return{monthYearLabel:"YYYY-MM",dateA11yLabel:"YYYY-MM-DD",monthYearA11yLabel:"YYYY-MM",dateInput:this.displayFormat}}get parse(){return{dateInput:this.displayFormat}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();iv.default.extend(cse.default);var m8e=(()=>{class t extends Lae{saveFormat=oB;setSaveFormat(e){this.saveFormat=e}parseSaveFormat(e){return this.parse(e,this.saveFormat)}parse(e,i){if(!e)return null;let r=(0,iv.default)(e,i);return r.isValid()?r.toDate():null}toSaveFormat(e){if(!e)return;let i=(0,iv.default)(e);if(i.isValid())return i.format(this.saveFormat)}format(e,i){return(0,iv.default)(e).format(i)}deserialize(e){if(!e)return null;let i=(0,iv.default)(e);return i.isValid()?i.toDate():null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),p8e=(()=>{class t extends la{dateFormat;dateAdapter;focused=!1;views=[];startView="";panelClass="";constructor(e,i,r){super(e),this.dateFormat=i,this.dateAdapter=r}getEventValue=e=>{let i=e.value?e.value:e;return this.dateAdapter.toSaveFormat(i)};mapToProps(e){let i=super.mapToProps(e),r=this.uischema?.options?.dateSaveFormat?this.uischema.options.dateSaveFormat:oB;this.views=this.uischema?.options?.views?this.uischema.options.views:["year","month","day"],this.setViewProperties();let o=this.uischema?.options?.dateFormat;o&&this.dateFormat.setDisplayFormat(o),this.dateAdapter.setSaveFormat(r),this.jsonFormsService.getLocale()&&this.dateAdapter.setLocale(this.jsonFormsService.getLocale());let a=this.dateAdapter.parseSaveFormat(i.data);return Fe(G({},i),{data:a})}yearSelected(e,i){!this.views.includes("day")&&!this.views.includes("month")&&(this.onChange(e),i.close())}monthSelected(e,i){this.views.includes("day")||(this.onChange(e),i.close())}setViewProperties(){this.views.includes("day")?this.startView="month":(this.startView="multi-year",this.panelClass="no-panel-navigation")}static \u0275fac=function(i){return new(i||t)(He(bn),He(hc),He(Tr))};static \u0275cmp=K({type:t,selectors:[["DateControlRenderer"]],standalone:!1,features:[it([{provide:Tr,useClass:m8e},{provide:hc,useClass:f8e}]),Oe],decls:10,vars:12,consts:[["datepicker",""],[1,"date-control-renderer",3,"ngStyle"],["matInput","",3,"dateChange","focus","focusout","id","formControl","matDatepicker"],["matSuffix","",3,"for"],[3,"monthSelected","yearSelected","startView","panelClass"],[4,"ngIf"]],template:function(i,r){if(i&1){let o=lt();C(0,"mat-form-field",1)(1,"mat-label"),J(2),x(),C(3,"input",2),ae("dateChange",function(s){return he(o),ge(r.onChange(s))})("focus",function(){return he(o),ge(r.focused=!0)})("focusout",function(){return he(o),ge(r.focused=!1)}),x(),je(4,"mat-datepicker-toggle",3),C(5,"mat-datepicker",4,0),ae("monthSelected",function(s){he(o);let l=cr(6);return ge(r.monthSelected(s,l))})("yearSelected",function(s){he(o);let l=cr(6);return ge(r.yearSelected(s,l))}),x(),Je(7,IYe,2,1,"mat-hint",5),C(8,"mat-error"),J(9),x()()}if(i&2){let o=cr(6);V("ngStyle",Ri(10,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("id",r.id)("formControl",r.form)("matDatepicker",o),E(),V("for",o),E(),V("startView",r.startView)("panelClass",r.panelClass),E(2),V("ngIf",r.shouldShowUnfocusedDescription()||r.focused),E(2),Se(r.error)}},dependencies:[Dr,Er,Va,La,fo,da,ej,ev,Iae,VI,Aae,af,cc,yl],styles:[`DateControlRenderer{display:flex;flex-direction:row}.date-control-renderer{flex:1 1 auto}.no-panel-navigation .mat-calendar-period-button{pointer-events:none}.no-panel-navigation .mat-calendar-arrow{display:none}
|
|
63
|
+
`],encapsulation:2,changeDetection:0})}return t})(),h8e=$n(2,Ore),g8e=(()=>{class t extends la{MAXIMUM_FRACTIONAL_DIGITS=20;oldValue;min;max;multipleOf;locale;numberFormat;decimalSeparator;focused=!1;constructor(e){super(e)}onChange(e){let i=this.oldValue?e.target.value.replace(this.oldValue,""):e.target.value;if(i==="."||i===","||i===" "||i==="0"&&this.getValue()!==""&&(e.target.selectionStart===1&&e.target.selectionEnd===1||e.target.selectionStart===e.target.value.length&&e.target.selectionEnd===e.target.value.length&&e.target.value.indexOf(this.decimalSeparator)!==-1)){this.oldValue=e.target.value;return}super.onChange(e),this.oldValue=this.getValue()}getEventValue=e=>{let i=new RegExp(`[^-+0-9${this.decimalSeparator}]`,"g"),o=e.target.value.replace(i,"").replace(this.decimalSeparator,".");if(o==="")return;let a=+o;return Number.isNaN(a)?e.target.value:a};getValue=()=>this.data!==void 0&&this.data!==null?typeof this.data=="number"?this.numberFormat.format(this.data):this.data:"";mapAdditionalProps(e){if(this.scopedSchema){let i={rootSchema:this.rootSchema,config:e.config},r=iC(this.uischema,this.rootSchema,i)?.1:1;this.min=this.scopedSchema.minimum,this.max=this.scopedSchema.maximum,this.multipleOf=this.scopedSchema.multipleOf||r;let o=(0,dse.default)({},e.config,this.uischema.options),a=this.jsonFormsService.getLocale();(this.locale===void 0||this.locale!==a)&&(this.locale=a,this.numberFormat=new Intl.NumberFormat(this.locale,{useGrouping:o.useGrouping,maximumFractionDigits:this.MAXIMUM_FRACTIONAL_DIGITS}),this.determineDecimalSeparator(),this.oldValue=this.getValue()),this.form.setValue(this.getValue())}}determineDecimalSeparator(){let e=this.numberFormat.format(1.1);this.decimalSeparator=e.charAt(1)}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["NumberControlRenderer"]],standalone:!1,features:[Oe],decls:7,vars:12,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","value","id","formControl","min","max","step"],[4,"ngIf"]],template:function(i,r){i&1&&(C(0,"mat-form-field",0)(1,"mat-label"),J(2),x(),C(3,"input",1),ae("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),x(),Je(4,AYe,2,1,"mat-hint",2),C(5,"mat-error"),J(6),x()()),i&2&&(V("ngStyle",Ri(10,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("value",r.getValue())("id",r.id)("formControl",r.form)("min",r.min)("max",r.max)("step",r.multipleOf),E(),V("ngIf",r.shouldShowUnfocusedDescription()||r.focused),E(2),Se(r.error))},dependencies:[Dr,Er,Va,La,fo,da,ev,af,cc,yl],styles:[Lj],changeDetection:0})}return t})(),_8e=$n(2,Mp(iC,Rre)),v8e=(()=>{class t extends la{changeDetectorRef;min;max;multipleOf;focused=!1;constructor(e,i){super(e),this.changeDetectorRef=i}getEventValue=e=>Number(e);mapAdditionalProps(){this.scopedSchema&&(this.min=this.scopedSchema.minimum,this.max=this.scopedSchema.maximum,this.multipleOf=this.scopedSchema.multipleOf||1),this.changeDetectorRef.markForCheck()}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["RangeControlRenderer"]],standalone:!1,features:[Oe],decls:9,vars:12,consts:[["ngSlider",""],[1,"range-control",3,"ngStyle"],[1,"mat-caption",2,"color","rgba(0,0,0,.54)"],["showTickMarks","",3,"disabled","max","min","step","discrete","id"],["matSliderThumb","",3,"valueChange"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"]],template:function(i,r){if(i&1){let o=lt();C(0,"div",1)(1,"label",2),J(2),x(),C(3,"mat-slider",3,0)(5,"input",4),ae("valueChange",function(s){return he(o),ge(r.onChange(s))}),x()(),Je(6,MYe,2,1,"mat-hint",5),C(7,"mat-error",6),J(8),x()()}i&2&&(V("ngStyle",Ri(10,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("disabled",!r.isEnabled())("max",r.max)("min",r.min)("step",r.multipleOf)("discrete",!0)("id",r.id),E(3),V("ngIf",r.shouldShowUnfocusedDescription()),E(2),Se(r.error))},dependencies:[Dr,Er,fo,da,qae,wj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}.range-control[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column}"],changeDetection:0})}return t})(),y8e=$n(4,Bre),b8e=(()=>{class t extends la{focused=!1;constructor(e){super(e)}getEventValue=e=>e.target.value||void 0;static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["TextAreaRenderer"]],standalone:!1,features:[Oe],decls:7,vars:8,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","id","formControl"],[4,"ngIf"]],template:function(i,r){i&1&&(C(0,"mat-form-field",0)(1,"mat-label"),J(2),x(),C(3,"textarea",1),ae("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),x(),Je(4,kYe,2,1,"mat-hint",2),C(5,"mat-error"),J(6),x()()),i&2&&(V("ngStyle",Ri(6,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("id",r.id)("formControl",r.form),E(),V("ngIf",r.shouldShowUnfocusedDescription()||r.focused),E(2),Se(r.error))},dependencies:[Dr,Er,Va,La,fo,da,ev,af,cc,yl],styles:[Lj],changeDetection:0})}return t})(),C8e=$n(2,Nre),D8e=(()=>{class t extends la{focused=!1;constructor(e){super(e)}getEventValue=e=>e.target.value||void 0;getType=()=>{if(this.uischema.options&&this.uischema.options.format)return this.uischema.options.format;if(this.scopedSchema&&this.scopedSchema.format)switch(this.scopedSchema.format){case"email":return"email";case"tel":return"tel";default:return"text"}return"text"};static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["TextControlRenderer"]],standalone:!1,features:[Oe],decls:7,vars:9,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","type","id","formControl"],[4,"ngIf"]],template:function(i,r){i&1&&(C(0,"mat-form-field",0)(1,"mat-label"),J(2),x(),C(3,"input",1),ae("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),x(),Je(4,RYe,2,1,"mat-hint",2),C(5,"mat-error"),J(6),x()()),i&2&&(V("ngStyle",Ri(7,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("type",r.getType())("id",r.id)("formControl",r.form),E(),V("ngIf",r.shouldShowUnfocusedDescription()||r.focused),E(2),Se(r.error))},dependencies:[Dr,Er,Va,La,fo,da,ev,af,cc,yl],styles:[Lj],changeDetection:0})}return t})(),E8e=$n(1,Pre),S8e=(()=>{class t extends la{changeDetectorRef;constructor(e,i){super(e),this.changeDetectorRef=i}isChecked=()=>this.data||!1;getEventValue=e=>e.checked;mapAdditionalProps(){this.changeDetectorRef.markForCheck()}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["ToggleControlRenderer"]],standalone:!1,features:[Oe],decls:6,vars:9,consts:[[3,"ngStyle"],[3,"change","checked","disabled","id"],["class","mat-caption",4,"ngIf"],[1,"mat-caption"]],template:function(i,r){i&1&&(C(0,"div",0)(1,"mat-slide-toggle",1),ae("change",function(a){return r.onChange(a)}),J(2),x(),Je(3,PYe,2,1,"mat-hint",2),C(4,"mat-error",3),J(5),x()()),i&2&&(V("ngStyle",Ri(7,ua,r.hidden?"none":"")),E(),V("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),E(),ni(" ",r.label," "),E(),V("ngIf",r.shouldShowUnfocusedDescription()),E(2),Se(r.error))},dependencies:[Dr,Er,fo,da,Yae],encapsulation:2,changeDetection:0})}return t})(),w8e=$n(3,wi(IB,tf("toggle",!0))),x8e=(()=>{class t extends Pa{jsonFormsService;label;visible;constructor(e){super(),this.jsonFormsService=e}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=Qre(e,this.getOwnProps());this.visible=i.visible,this.label=i.text}}))}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["LabelRenderer"]],standalone:!1,features:[Oe],decls:2,vars:1,consts:[[1,"mat-headline-6"]],template:function(i,r){i&1&&(C(0,"label",0),J(1),x()),i&2&&(E(),ni(" ",r.label," "))},styles:["[_nghost-%COMP%]{flex:1 1 auto}"]})}return t})(),T8e=$n(4,oi("Label")),I8e=(()=>{class t{_item;_schema;initialized=!1;set item(e){e&&(this._item=e,this.initialized=!0)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["jsonforms-detail"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"renderProps"]],template:function(i,r){i&1&&Je(0,NYe,2,1,"div",0),i&2&&V("ngIf",r.initialized)},dependencies:[Dr,Ts],encapsulation:2})}return t})(),A8e=["#","properties","items"],M8e=t=>Ip(t.split("/").filter(n=>!(0,use.default)(A8e,e=>e===n)).join(".")),k8e=(()=>{class t extends cC{changeDetectorRef;masterItems;selectedItem;selectedItemIdx;addItem;removeItems;highlightedIdx;translations;constructor(e,i){super(e),this.changeDetectorRef=i}onListItemHover(e){this.highlightedIdx=e}trackElement(e,i){return i?i.label:null}ngOnInit(){super.ngOnInit();let e=this.jsonFormsService.updateCore.bind(this.jsonFormsService),{addItem:i,removeItems:r}=eI(e);this.addItem=i,this.removeItems=r}mapAdditionalProps(e){let{data:i,path:r,schema:o,uischema:a}=e,s=a;this.propsPath=e.path;let l=XT(e.uischemas,o,`${s.scope}/items`,e.path,"VerticalLayout",s,e.rootSchema);this.isEnabled()||J0(l),this.translations=e.translations;let c=(i||[]).map((m,f)=>{let p=s.options?.labelRef&&M8e(s.options.labelRef);return{label:m!==void 0&&typeof m!="object"?m.toString():(0,fse.default)(m,p??_re(o)),data:m,path:`${r}.${f}`,schema:o,uischema:l}});this.masterItems=c;let d=-1,u;this.masterItems.length===0?(this.selectedItem=void 0,this.selectedItemIdx=-1):this.selectedItemIdx>=this.masterItems.length?(d=this.masterItems.length-1,u=this.masterItems[d]):this.selectedItemIdx!==-1&&this.selectedItemIdx<this.masterItems.length&&(d=this.selectedItemIdx,u=this.masterItems[this.selectedItemIdx]),u!==void 0&&this.selectedItem!==void 0&&(u.label===this.selectedItem.label||u.path===this.selectedItem.path)?(this.selectedItem=u,this.selectedItemIdx=d):this.masterItems.length>0&&(this.selectedItem=this.masterItems[0],this.selectedItemIdx=0),this.changeDetectorRef.markForCheck()}onSelect(e,i){this.selectedItem=e,this.selectedItemIdx=i}onAddClick(){this.addItem(this.propsPath,QT(this.scopedSchema,this.rootSchema))()}onDeleteClick(e){this.removeItems(this.propsPath,[e])()}mapToProps(e){let i=JT(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??Es.translate,o=nC(r,eC,i.i18nKeyPrefix,i.label);return Fe(G({},i),{translations:o})}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["jsonforms-list-with-detail-master"]],standalone:!1,features:[Oe],decls:8,vars:8,consts:[["autosize","true",1,"container",3,"ngStyle"],["mode","side","opened",""],[4,"ngIf"],[3,"selected","click","mouseover","mouseout",4,"ngFor","ngForOf","ngForTrackBy"],["mat-fab","","color","primary","class","add-button",3,"click",4,"ngIf"],[1,"content"],[3,"item",4,"ngIf"],[3,"click","mouseover","mouseout"],["matLine",""],["mat-icon-button","","class","button item-button hide",3,"ngClass","click",4,"ngIf"],["mat-icon-button","",1,"button","item-button","hide",3,"click","ngClass"],["mat-list-icon",""],["mat-fab","","color","primary",1,"add-button",3,"click"],[3,"item"]],template:function(i,r){i&1&&(C(0,"mat-sidenav-container",0)(1,"mat-sidenav",1)(2,"mat-nav-list"),Je(3,FYe,2,1,"mat-list-item",2)(4,VYe,4,4,"mat-list-item",3),x(),Je(5,BYe,3,1,"button",4),x(),C(6,"mat-sidenav-content",5),Je(7,jYe,1,1,"jsonforms-detail",6),x()()),i&2&&(V("ngStyle",Ri(6,ua,r.hidden?"none":"")),E(3),V("ngIf",r.masterItems.length===0),E(),V("ngForOf",r.masterItems)("ngForTrackBy",r.trackElement),E(),V("ngIf",r.isEnabled()),E(2),V("ngIf",r.selectedItem))},dependencies:[Jl,Br,Dr,Er,Ej,Hae,HI,jI,BI,Ao,a8,Jo,I8e],styles:["mat-list-item.selected[_ngcontent-%COMP%]{background:#0000000a}.container[_ngcontent-%COMP%]{height:100vh}.content[_ngcontent-%COMP%]{padding:15px;background-color:#fff}.add-button[_ngcontent-%COMP%]{float:right;margin-top:.5em;margin-right:.25em}.button[_ngcontent-%COMP%]{float:right;margin-right:.25em}.item-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.hide[_ngcontent-%COMP%]{display:none}.show[_ngcontent-%COMP%]{display:inline-block}mat-sidenav[_ngcontent-%COMP%]{width:20%}"],changeDetection:0})}return t})(),R8e=$n(4,oi("ListWithDetail")),P8e=(()=>{class t extends gI{detailUiSchema;constructor(e){super(e)}mapAdditionalProps(e){this.detailUiSchema=XT(e.uischemas,e.schema,e.uischema.scope,e.path,()=>{let i=(0,pse.default)(e.schema);return delete i.oneOf,delete i.anyOf,delete i.allOf,YT.uiSchema(i,"Group",void 0,this.rootSchema)},e.uischema,e.rootSchema),(0,mse.default)(e.path)?this.detailUiSchema.type="VerticalLayout":this.detailUiSchema.label=(0,Fj.default)(e.path),this.isEnabled()||J0(this.detailUiSchema)}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["ObjectRenderer"]],standalone:!1,features:[Oe],decls:2,vars:3,consts:[["appearance","outlined",1,"object-layout"],[3,"uischema","schema","path"]],template:function(i,r){i&1&&(C(0,"mat-card",0),je(1,"jsonforms-outlet",1),x()),i&2&&(E(),V("uischema",r.detailUiSchema)("schema",r.scopedSchema)("path",r.propsPath))},dependencies:[Ts,As],styles:[".object-layout[_ngcontent-%COMP%]{padding:16px}"],changeDetection:0})}return t})(),N8e=$n(2,Mre),O8e=(()=>{class t extends cC{detailUiSchema;displayedColumns;items;columnsToIgnore=["array","object"];addItem;moveItemUp;moveItemDown;removeItems;translations={};constructor(e){super(e)}trackElement(e,i){return e||null}mapAdditionalProps(e){this.items=this.generateCells(e.schema,e.path),this.displayedColumns=this.items.map(i=>i.property),this.isEnabled()&&this.displayedColumns.push("action"),this.translations=e.translations}remove(e){this.removeItems(this.propsPath,[e])()}add(){this.addItem(this.propsPath,QT(this.scopedSchema,this.rootSchema))()}up(e){this.moveItemUp(this.propsPath,e)()}down(e){this.moveItemDown(this.propsPath,e)()}ngOnInit(){super.ngOnInit();let{addItem:e,removeItems:i,moveUp:r,moveDown:o}=eI(this.jsonFormsService.updateCore.bind(this.jsonFormsService));this.addItem=e,this.moveItemUp=r,this.moveItemDown=o,this.removeItems=i}generateCells=(e,i)=>e.type==="object"?this.getValidColumnProps(e).map(r=>{let o=tB(r),a=lse(`#/properties/${o}`);return this.isEnabled()||J0(a),{property:r,header:(0,Fj.default)(r),props:{schema:e,uischema:a,path:i}}}):[{property:"DUMMY",header:this.label,props:{schema:e,uischema:lse("#"),path:i}}];getValidColumnProps=e=>e.type==="object"?Object.keys(e.properties).filter(i=>{let r=Dd(e.properties[i]);return r.length>1?!1:this.columnsToIgnore.indexOf(r[0])===-1}):[""];static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["TableRenderer"]],standalone:!1,features:[Oe],decls:11,vars:5,consts:[[1,"table-container"],["mat-table","",1,"mat-elevation-z8",3,"dataSource","trackBy"],["matColumnDef","action","stickyEnd",""],["mat-header-cell","",3,"ngClass",4,"matHeaderCellDef"],["mat-cell","",3,"ngClass",4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",3,"ngClass"],["mat-button","","color","primary",3,"click","disabled","matTooltip"],["mat-cell","",3,"ngClass"],["class","item-up","mat-icon-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["class","item-down","mat-icon-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["mat-icon-button","","color","warn","matTooltipPosition","right",3,"click","disabled","matTooltip"],["mat-icon-button","","matTooltipPosition","right",1,"item-up",3,"click","disabled","matTooltip"],["mat-icon-button","","matTooltipPosition","right",1,"item-down",3,"click","disabled","matTooltip"],[3,"matColumnDef"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""],[3,"renderProps"],["mat-header-row",""],["mat-row",""]],template:function(i,r){i&1&&(C(0,"div",0)(1,"table",1),br(2,2),C(3,"tr"),Je(4,UYe,4,5,"th",3),x(),C(5,"tr"),Je(6,$Ye,6,7,"td",4),x(),je(7,"tr"),Cr(),Je(8,YYe,3,2,"ng-container",5)(9,WYe,1,0,"tr",6)(10,KYe,1,0,"tr",7),x()()),i&2&&(E(),V("dataSource",r.data)("trackBy",r.trackElement),E(7),V("ngForOf",r.items),E(),V("matHeaderRowDef",r.displayedColumns),E(),V("matRowDefColumns",r.displayedColumns))},dependencies:()=>[Jl,Br,Dr,Ts,ao,Ao,Jo,Bu,Bg,Hg,jg,Vg,$g,Ug,zg,Gg,qg,X_,L8e],styles:["table[_ngcontent-%COMP%]{width:100%}",".cdk-column-action[_ngcontent-%COMP%]{width:15%}",".sort-column[_ngcontent-%COMP%]{min-width:12vw}",".table-container[_ngcontent-%COMP%]{max-width:100%;overflow:auto}"]})}return t})(),F8e=$n(3,Mp(Fre,Vre)),lse=t=>({type:"Control",scope:t,label:!1}),L8e=(()=>{class t{transform(e,i){let r=rB.compose(i.path,`${e}`);return{schema:i.schema,uischema:i.uischema,path:r}}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=sd({name:"getProps",type:t,pure:!0,standalone:!1})}return t})(),V8e=(()=>{class t extends Pa{jsonFormsService;hidden;visibleCategories;categoryLabels;constructor(e){super(),this.jsonFormsService=e}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=wd(e,this.getOwnProps());this.hidden=!i.visible,this.visibleCategories=this.uischema.elements.filter(r=>Ap(r,i.data,void 0,nf(e))),this.categoryLabels=this.visibleCategories.map(r=>tC(r,e.jsonforms.i18n?.translate??Es.translate))}}))}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["jsonforms-categorization-layout"]],standalone:!1,features:[Oe],decls:2,vars:4,consts:[["dynamicHeight","true",3,"ngStyle"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[4,"ngFor","ngForOf"],[3,"uischema","path","schema"]],template:function(i,r){i&1&&(C(0,"mat-tab-group",0),Je(1,QYe,2,2,"mat-tab",1),x()),i&2&&(V("ngStyle",Ri(2,ua,r.hidden?"none":"")),E(),V("ngForOf",r.visibleCategories))},dependencies:[Br,Er,Ts,Np,nv],encapsulation:2})}return t})(),B8e=$n(2,wi(oi("Categorization"),Ure)),Vj=(()=>{class t extends Pa{jsonFormsService;changeDetectionRef;hidden;label;constructor(e,i){super(),this.jsonFormsService=e,this.changeDetectionRef=i}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=wd(e,this.getOwnProps());this.label=i.label,this.hidden=!i.visible,this.changeDetectionRef.markForCheck()}}))}trackElement(e,i){return i?i.path+JSON.stringify(i.uischema):null}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["ng-component"]],standalone:!1,features:[Oe],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return t})(),Bj=(()=>{class t{transform(e,i,r){return(e.elements||[]).map(a=>({uischema:a,schema:i,path:r}))}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=sd({name:"layoutChildrenRenderProps",type:t,pure:!0,standalone:!1})}return t})(),j8e=(()=>{class t extends Vj{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["GroupLayoutRenderer"]],standalone:!1,features:[Oe],decls:5,vars:10,consts:[["appearance","outlined",1,"group-layout",3,"ngStyle"],[1,"mat-headline-6"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(i,r){i&1&&(C(0,"mat-card",0)(1,"mat-card-title",1),J(2),x(),Je(3,ZYe,2,1,"div",2),Vt(4,"layoutChildrenRenderProps"),x()),i&2&&(V("ngStyle",Ri(8,ua,r.hidden?"none":"")),E(2),Se(r.label),E(),V("ngForOf",Pb(4,4,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Br,Er,Ts,As,df,Bj],styles:[".group-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),U8e=$n(1,oi("Group")),z8e=(()=>{class t extends Vj{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["HorizontalLayoutRenderer"]],standalone:!1,features:[Oe],decls:3,vars:9,consts:[[1,"horizontal-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(i,r){i&1&&(C(0,"div",0),Je(1,JYe,2,1,"div",1),Vt(2,"layoutChildrenRenderProps"),x()),i&2&&(V("ngStyle",Ri(7,ua,r.hidden?"none":"")),E(),V("ngForOf",Pb(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Br,Er,Ts,Bj],styles:[".horizontal-layout[_ngcontent-%COMP%]{display:flex;gap:16px;flex-flow:row wrap;align-items:flex-start;place-content:flex-start center}.horizontal-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),H8e=$n(1,oi("HorizontalLayout")),$8e=(()=>{class t extends Vj{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(He(bn),He(mt))};static \u0275cmp=K({type:t,selectors:[["VerticalLayoutRenderer"]],standalone:!1,features:[Oe],decls:3,vars:9,consts:[[1,"vertical-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(i,r){i&1&&(C(0,"div",0),Je(1,e8e,2,1,"div",1),Vt(2,"layoutChildrenRenderProps"),x()),i&2&&(V("ngStyle",Ri(7,ua,r.hidden?"none":"")),E(),V("ngForOf",Pb(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Br,Er,Ts,Bj],styles:[".vertical-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.vertical-layout[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),G8e=$n(1,oi("VerticalLayout")),q8e=(()=>{class t extends dC{noData;translations={};addItem;moveItemUp;moveItemDown;removeItems;uischemas;constructor(e){super(e)}mapToProps(e){let i=Xre(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??Es.translate,o=nC(r,eC,i.i18nKeyPrefix,i.label);return Fe(G({},i),{translations:o})}remove(e){this.removeItems(this.propsPath,[e])()}add(){this.addItem(this.propsPath,QT(this.scopedSchema,this.rootSchema))()}up(e){this.moveItemUp(this.propsPath,e)()}down(e){this.moveItemDown(this.propsPath,e)()}ngOnInit(){super.ngOnInit();let{addItem:e,removeItems:i,moveUp:r,moveDown:o}=eI(this.jsonFormsService.updateCore.bind(this.jsonFormsService));this.addItem=e,this.moveItemUp=r,this.moveItemDown=o,this.removeItems=i}mapAdditionalProps(e){this.noData=!e.data||e.data===0,this.uischemas=e.uischemas,this.translations=e.translations}getProps(e){let i=XT(this.uischemas,this.scopedSchema,this.uischema.scope,this.propsPath,void 0,this.uischema,this.rootSchema);return this.isEnabled()?mre(i):J0(i),{schema:this.scopedSchema,path:rB.compose(this.propsPath,`${e}`),uischema:i}}trackByFn(e){return e}static \u0275fac=function(i){return new(i||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["app-array-layout-renderer"]],standalone:!1,features:[Oe],decls:12,vars:13,consts:[[1,"array-layout",3,"ngStyle"],[1,"array-layout-toolbar"],[1,"mat-h2","array-layout-title"],["color","warn","matBadgeColor","warn","matTooltipClass","error-message-tooltip",3,"matBadge","matTooltip",4,"ngIf"],["mat-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["color","warn","matBadgeColor","warn","matTooltipClass","error-message-tooltip",3,"matBadge","matTooltip"],["appearance","outlined",1,"array-item"],[3,"renderProps"],["class","item-up","mat-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["class","item-down","mat-button","","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["mat-button","","color","warn","matTooltipPosition","right",3,"click","matTooltip"],["mat-button","","matTooltipPosition","right",1,"item-up",3,"click","disabled","matTooltip"],["mat-button","","matTooltipPosition","right",1,"item-down",3,"click","disabled","matTooltip"]],template:function(i,r){i&1&&(C(0,"div",0)(1,"div",1)(2,"h2",2),J(3),x(),je(4,"span"),Je(5,n8e,2,4,"mat-icon",3),je(6,"span"),C(7,"button",4),ae("click",function(){return r.add()}),C(8,"mat-icon"),J(9,"add"),x()()(),Je(10,i8e,2,1,"p",5)(11,s8e,5,2,"div",6),x()),i&2&&(V("ngStyle",Ri(10,ua,r.hidden?"none":"")),E(3),Se(r.label),E(2),V("ngIf",r.error==null?null:r.error.length),E(2),V("matTooltip",ms(r.translations.addTooltip))("disabled",!r.isEnabled()),Ge("aria-label",r.translations.addAriaLabel),E(3),V("ngIf",r.noData),E(),V("ngForOf",WN(12,t8e).constructor(r.data))("ngForTrackBy",r.trackByFn))},dependencies:[Br,Dr,Er,Ts,As,W_,uf,ao,Jo,X_,aae],styles:[".array-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.array-layout[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 1 auto}.array-layout-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center}.array-layout-title[_ngcontent-%COMP%]{margin:0}.array-layout-toolbar[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{flex:1 1 auto}.array-item[_ngcontent-%COMP%]{padding:16px} .error-message-tooltip{white-space:pre-line}"],changeDetection:0})}return t})(),Y8e=$n(4,Lre);var _c=[{tester:u8e,renderer:d8e},{tester:E8e,renderer:D8e},{tester:C8e,renderer:b8e},{tester:_8e,renderer:g8e},{tester:y8e,renderer:v8e},{tester:h8e,renderer:p8e},{tester:w8e,renderer:S8e},{tester:c8e,renderer:l8e},{tester:N8e,renderer:P8e},{tester:G8e,renderer:$8e},{tester:U8e,renderer:j8e},{tester:H8e,renderer:z8e},{tester:B8e,renderer:V8e},{tester:T8e,renderer:x8e},{tester:Y8e,renderer:q8e},{tester:R8e,renderer:k8e},{tester:F8e,renderer:O8e}];var rv=class extends la{constructor(n){super(n)}getEventValue=n=>n?.target?.value;commitValue(n){let e=ef(this.uischema,this.path);this.jsonFormsService.updateCore(Oo.update(e,()=>n)),this.triggerValidation()}};function W8e(t,n){if(t&1&&(C(0,"mat-option",3),J(1),x()),t&2){let e=n.$implicit,i=U();V("value",e.id),E(),Se(i.optLabel(e))}}function K8e(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function X8e(t,n){if(t&1&&(C(0,"mat-error"),J(1),x()),t&2){let e=U();E(),Se(e.error)}}var ov=class t extends rv{options=ml.map(n=>({id:n.id,animalGroup:n.animalGroup,descriptor:n.descriptor}));masterData=h(ta);constructor(n){super(n)}getEventValue=n=>n?.target?.value;optLabel(n){return this.masterData.designation("animalCategoryPRIF",n.id)}onSelectionChange(n){this.commitValue(n)}static \u0275fac=function(e){return new(e||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["animal-category-select-renderer"]],inputs:{options:"options"},features:[Oe],decls:7,vars:8,consts:[["appearance","fill",1,"animal-category-select"],[3,"selectionChange","id","formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){e&1&&(C(0,"mat-form-field",0)(1,"mat-label"),J(2),x(),C(3,"mat-select",1),ae("selectionChange",function(o){return i.onSelectionChange(o.value)}),Je(4,W8e,2,2,"mat-option",2),x(),We(5,K8e,2,1,"mat-hint"),We(6,X8e,2,1,"mat-error"),x()),e&2&&(zn("display",i.hidden?"none":""),E(2),Se(i.label),E(),V("id",i.id)("formControl",i.form),E(),V("ngForOf",i.options),E(),Ke(i.shouldShowUnfocusedDescription()?5:-1),E(),Ke(i.error?6:-1))},dependencies:[gc,Va,La,fo,da,EC,DC,ca,Rae,hI,cc,yl,Br],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})},gse=$n(5,(t,n,e)=>{if(!iC(t,n,e))return!1;let r=t.scope||"",o=n?.title;return!!(/animalCategoryPRIF$/i.test(r)||typeof o=="string"&&o.toLowerCase().includes("animal category"))});var _se=[{descriptor:{designation_deu:"Chemischer W\xE4scher",designation_eng:"Chemischer W\xE4scher",designation_fra:"Chemischer W\xE4scher",designation_ita:"Chemischer W\xE4scher"},id:1,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT","HUS_CONVENTIONAL","HUS_LABEL"],stableAirPurification:"AIR_CHEM_SCRUBBER"},{descriptor:{designation_deu:"Biow\xE4scher",designation_eng:"Biow\xE4scher",designation_fra:"Biow\xE4scher",designation_ita:"Biow\xE4scher"},id:2,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT","HUS_CONVENTIONAL","HUS_LABEL"],stableAirPurification:"AIR_BIO_SCRUBBER"},{descriptor:{designation_deu:"Keine Abluftreigung",designation_eng:"Keine Abluftreigung",designation_fra:"Keine Abluftreigung",designation_ita:"Keine Abluftreigung"},id:3,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT","HUS_CONVENTIONAL","HUS_LABEL"],stableAirPurification:"NO_AIR_SCRUBBER"}];var av=[{descriptor:{},explanation:"",husbandryKind:"PASTURE",id:1,permittedForAnimal:["BOVSTA","SUXXSC","1EQUUF","OVISAR","CAPAAE","1CERVF","1BISOG","1CAMEF","1PHSNF","1LEPUF"],permittedForAnimalGroup:[]},{descriptor:{designation_deu:"Anbindestall",designation_eng:"Anbindestall",designation_fra:"Anbindestall",designation_ita:"Anbindestall"},explanation:"",husbandryKind:"STALL",id:2,permittedForAnimal:["BOVSTA"],permittedForAnimalGroup:["CATTLE_BEEF","CATTLE_DAIRY","CATTLE_RAISING","CALF_FATTENING","CATTLE_NURSE","CALF_SUCKLING"],stableSystem:"HUS_TETHER"},{descriptor:{designation_deu:"Laufstall",designation_eng:"Laufstall",designation_fra:"Laufstall",designation_ita:"Laufstall"},explanation:"Mehrraum-Laufstall, Liegefl\xE4che mit Liegeboxen oder Tiefstreu/Tretmist, oder Einraum-Laufstall mit Tiefstreu/Tretmist",husbandryKind:"STALL",id:3,permittedForAnimal:["BOVSTA"],permittedForAnimalGroup:["CATTLE_BEEF","CATTLE_DAIRY","CATTLE_RAISING","CALF_FATTENING","CATTLE_NURSE","CALF_SUCKLING"],stableSystem:"HUS_FREE_QUBICLE"},{descriptor:{designation_deu:"Konventionelles Stallsystem ohne Auslauf",designation_eng:"Konventionelles Stallsystem ohne Auslauf",designation_fra:"Konventionelles Stallsystem ohne Auslauf",designation_ita:"Konventionelles Stallsystem ohne Auslauf"},explanation:"",husbandryKind:"STALL",id:4,permittedForAnimal:["SUXXSC"],permittedForAnimalGroup:["PIGLET","BOAR","SOW_DRY","PORKER","SOW_LACTATING"],stableSystem:"HUS_CONVENTIONAL"},{descriptor:{designation_deu:"Labestall mit Mehrfl\xE4chenbucht und Auslauf",designation_eng:"Labestall mit Mehrfl\xE4chenbucht und Auslauf",designation_fra:"Labestall mit Mehrfl\xE4chenbucht und Auslauf",designation_ita:"Labestall mit Mehrfl\xE4chenbucht und Auslauf"},explanation:"",husbandryKind:"STALL",id:5,permittedForAnimal:["SUXXSC"],permittedForAnimalGroup:["PIGLET","BOAR","SOW_DRY","PORKER","SOW_LACTATING"],stableSystem:"HUS_LABEL"},{descriptor:{designation_deu:"Pferdestall",designation_eng:"Pferdestall",designation_fra:"Pferdestall",designation_ita:"Pferdestall"},explanation:"",husbandryKind:"STALL",id:6,permittedForAnimal:["1EQUUF"],permittedForAnimalGroup:["MULE_HINNY","HORSE","PONY_HORSE_DONKEY"],stableSystem:"HUS_EQUIDAE"},{descriptor:{designation_deu:"Kleinwiederk\xE4uerstall",designation_eng:"Kleinwiederk\xE4uerstall",designation_fra:"Kleinwiederk\xE4uerstall",designation_ita:"Kleinwiederk\xE4uerstall"},explanation:"",husbandryKind:"STALL",id:7,permittedForAnimal:["CAPAAE","OVISAR"],permittedForAnimalGroup:["GOAT","SHEEP_DAIRY","SHEEP"],stableSystem:"HUS_SHEEP_OR_GOAT"},{descriptor:{designation_deu:"Bodenhaltung",designation_eng:"Bodenhaltung",designation_fra:"Bodenhaltung",designation_ita:"Bodenhaltung"},explanation:"System mit eingestreuter Fl\xE4che. Bodenhaltung ist das \xFCbliche System f\xFCr kleinere Best\xE4nde.",husbandryKind:"STALL",id:8,permittedForAnimal:["1PHSNF"],permittedForAnimalGroup:["PULLET","LAYER","POULTRY_OTHER","BROILER","TURKEY_FATTENING"],stableSystem:"HUS_BARN_HOUSING"},{descriptor:{designation_deu:"Kaninchenstall",designation_eng:"Kaninchenstall",designation_fra:"Kaninchenstall",designation_ita:"Kaninchenstall"},explanation:"",husbandryKind:"STALL",id:9,permittedForAnimal:["1LEPUF"],permittedForAnimalGroup:["RABBIT"],stableSystem:"HUS_RABBIT"},{descriptor:{designation_deu:"Hirsch-Stall",designation_eng:"Hirsch-Stall",designation_fra:"Hirsch-Stall",designation_ita:"Hirsch-Stall"},explanation:"",husbandryKind:"STALL",id:10,permittedForAnimal:["1CERVF"],permittedForAnimalGroup:["DEER","WAPITI"],stableSystem:"HUS_DEER"},{descriptor:{designation_deu:"Bison-Stall",designation_eng:"Bison-Stall",designation_fra:"Bison-Stall",designation_ita:"Bison-Stall"},explanation:"",husbandryKind:"STALL",id:11,permittedForAnimal:["1BISOG"],permittedForAnimalGroup:["BISON"],stableSystem:"HUS_BISON"},{descriptor:{designation_deu:"Lama/Alpaca-Stall",designation_eng:"Lama/Alpaca-Stall",designation_fra:"Lama/Alpaca-Stall",designation_ita:"Lama/Alpaca-Stall"},explanation:"",husbandryKind:"STALL",id:12,permittedForAnimal:["1CAMEF"],permittedForAnimalGroup:["ALPACA","LAMA"],stableSystem:"HUS_LAMA_OR_ALPACA"},{descriptor:{designation_deu:"Kotbandentmistung",designation_eng:"Kotbandentmistung",designation_fra:"Kotbandentmistung",designation_ita:"Kotbandentmistung"},explanation:"System mit Kotb\xE4ndern unter der Aufstallung, welche den Kot in einen Beh\xE4lter ausserhalb des Stalls transportieren.",husbandryKind:"STALL",id:13,permittedForAnimal:["1PHSNF"],permittedForAnimalGroup:["LAYER","PULLET"],stableSystem:"HUS_MANURE_BELT"},{descriptor:{designation_deu:"Kotgrube",designation_eng:"Kotgrube",designation_fra:"Kotgrube",designation_ita:"Kotgrube"},explanation:"System, bei welchem sich der Kot unterhalb der Aufstallung \xFCber eine l\xE4ngere Zeit ansammelt. Die Lagerung von Mist oder Kot in einem gedeckten Beh\xE4lter ausserhalb des Stalls f\xE4llt nicht unter diese Kategorie.",husbandryKind:"STALL",id:14,permittedForAnimal:["1PHSNF"],permittedForAnimalGroup:["PULLET","LAYER","POULTRY_OTHER","TURKEY_FATTENING"],stableSystem:"HUS_ORDURE_PIT"}];var vse=[{descriptor:{designation_deu:"Planbefestigt",designation_eng:"Planbefestigt",designation_fra:"Planbefestigt",designation_ita:"Planbefestigt"},explanation:"Laufh\xF6fe mit Betonboden oder Asphalt (wasserundurchl\xE4ssig). Mit Verbundsteinen und Pflastersteinen ausgelegte Fl\xE4chen (wasserdurchl\xE4ssig) werden den planbefestigten B\xF6den gleichgestellt.",id:1,permittedForStableSystem:["HUS_TETHER","HUS_FREE_QUBICLE","HUS_EQUIDAE"],yard:!0,yardFloorType:"YRD_FLOOR_PAVED"},{descriptor:{designation_deu:"Unbefestigt",designation_eng:"Unbefestigt",designation_fra:"Unbefestigt",designation_ita:"Unbefestigt"},explanation:"Laufh\xF6fe mit unbefestigtem oder wasserdurchl\xE4ssigem Boden wie Kies, Sand, Mergel, Holzschnitzel, Rasengittersteine etc. Laufh\xF6fe mit unbefestigter Oberfl\xE4che d\xFCrfen nicht permanent zug\xE4nglich sein (max. 2 Stunden pro Tag).",id:2,permittedForStableSystem:["HUS_TETHER","HUS_FREE_QUBICLE","HUS_EQUIDAE"],yard:!0,yardFloorType:"YRD_FLOOR_UNPAVED"},{descriptor:{designation_deu:"Perforiert",designation_eng:"Perforiert",designation_fra:"Perforiert",designation_ita:"Perforiert"},explanation:"Spalten oder Lochb\xF6den; mindestens \xBE der Laufhoffl\xE4che muss einen perforierten Boden aufweisen. Wenn weniger als \xBE der Laufhoffl\xE4che einen perforierten Boden aufweist: Eingabe von Boden planbefestigt. Nur anwendbar bei regelm\xE4ssiger Reinigung des Bodens, durchl\xE4ssigen Spalten/L\xF6chern des Bodens sowie Lagerung eines wesentlichen Teils der G\xFClle des Betriebs in der Grube unterhalb des perforierten Bodens.",id:3,permittedForStableSystem:["HUS_TETHER","HUS_FREE_QUBICLE"],yard:!0,yardFloorType:"YRD_FLOOR_PERFORATED"},{descriptor:{designation_deu:"Weide als Winterauslauf",designation_eng:"Weide als Winterauslauf",designation_fra:"Weide als Winterauslauf",designation_ita:"Weide als Winterauslauf"},explanation:"",id:4,permittedForStableSystem:["HUS_TETHER","HUS_FREE_QUBICLE","HUS_EQUIDAE"],yard:!0,yardFloorType:"YRD_WINTER_GRAZING"}];var yse=[{descriptor:{designation_deu:"Nicht w\xE4rmeged\xE4mmte St\xE4lle mit freier L\xFCftung (Aussenklimast\xE4lle) und Mikroklimabereichen",designation_eng:"Nicht w\xE4rmeged\xE4mmte St\xE4lle mit freier L\xFCftung (Aussenklimast\xE4lle) und Mikroklimabereichen",designation_fra:"Nicht w\xE4rmeged\xE4mmte St\xE4lle mit freier L\xFCftung (Aussenklimast\xE4lle) und Mikroklimabereichen",designation_ita:"Nicht w\xE4rmeged\xE4mmte St\xE4lle mit freier L\xFCftung (Aussenklimast\xE4lle) und Mikroklimabereichen"},explanation:"",id:1,permittedForStableSystem:["HUS_CONVENTIONAL","HUS_LABEL"],stableVentilationType:"VENT_FREE"},{descriptor:{designation_deu:"Impulsarme Zuluftf\xFChrung mit Riesel-kanal- oder Futtergangl\xFCftung",designation_eng:"Impulsarme Zuluftf\xFChrung mit Riesel-kanal- oder Futtergangl\xFCftung",designation_fra:"Impulsarme Zuluftf\xFChrung mit Riesel-kanal- oder Futtergangl\xFCftung",designation_ita:"Impulsarme Zuluftf\xFChrung mit Riesel-kanal- oder Futtergangl\xFCftung"},explanation:"Impulsarme Zuluftf\xFChrung mit Rieselkanal oder Futtergangsl\xFCftung kann man heute als Stand der Technik betrachten (vgl. Unterlagen der DLG unten). Es soll nur dann als emissionsmindernde Technik angew\xE4hlt werden, wenn das installierte System nachweisbar eine wesentliche Emissionsreduktion gegen\xFCber einem aktuellen System aufweist.",id:2,permittedForStableSystem:["HUS_CONVENTIONAL","HUS_LABEL"],stableVentilationType:"VENT_LOW_PULSE"}];var bse=[{descriptor:{designation_deu:"Nicht tropfendes Tr\xE4nkesystem",designation_eng:"Nicht tropfendes Tr\xE4nkesystem",designation_fra:"Nicht tropfendes Tr\xE4nkesystem",designation_ita:"Nicht tropfendes Tr\xE4nkesystem"},explanation:"Falls Cuptr\xE4nken vorhanden sind: Nicht tropfendes Tr\xE4nkesystem ausw\xE4hlen",id:1,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableWaterSupply:"WAT_NON_DRIP"},{descriptor:{designation_deu:"Wasserbeh\xE4lter",designation_eng:"Wasserbeh\xE4lter",designation_fra:"Wasserbeh\xE4lter",designation_ita:"Wasserbeh\xE4lter"},explanation:"",id:2,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableWaterSupply:"WAT_CONTAINER"}];var Cse=[{descriptor:{designation_deu:"keine Verabreichung von Grundfutter im Laufhof",designation_eng:"keine Verabreichung von Grundfutter im Laufhof",designation_fra:"keine Verabreichung von Grundfutter im Laufhof",designation_ita:"keine Verabreichung von Grundfutter im Laufhof"},explanation:"Die Verabreichung von Grundfutter im Laufhof wird nur f\xFCr Laufh\xF6fe mit einem befestigten oder einem perforierten Boden empfohlen.",id:1,permittedForStableSystem:["HUS_FREE_QUBICLE","HUS_TETHER"],yardFeeding:"NO_FEED_YARD"},{descriptor:{designation_deu:"Verabreichung von Grundfutter teilweise im Laufhof",designation_eng:"Verabreichung von Grundfutter teilweise im Laufhof",designation_fra:"Verabreichung von Grundfutter teilweise im Laufhof",designation_ita:"Verabreichung von Grundfutter teilweise im Laufhof"},explanation:"",id:2,permittedForStableSystem:["HUS_FREE_QUBICLE","HUS_TETHER"],yardFeeding:"PART_FEED_YARD"},{descriptor:{designation_deu:"Verabreichung von Grundfutter ausschliesslich im Laufhof",designation_eng:"Verabreichung von Grundfutter ausschliesslich im Laufhof",designation_fra:"Verabreichung von Grundfutter ausschliesslich im Laufhof",designation_ita:"Verabreichung von Grundfutter ausschliesslich im Laufhof"},explanation:"Ausschliessliche F\xFCtterung von Grundfutter im Laufhof kommt nur vor, wenn der Laufhof in den Laufstall integriert ist.",id:3,permittedForStableSystem:["HUS_FREE_QUBICLE"],yardFeeding:"ONLY_FEED_YARD"}];var Dse=[{descriptor:{designation_deu:"Weniger als 2 Mal pro Monat",designation_eng:"Weniger als 2 Mal pro Monat",designation_fra:"Weniger als 2 Mal pro Monat",designation_ita:"Weniger als 2 Mal pro Monat"},id:1,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableManureRemovalFrequency:"SMR_FRQ_1X_MONTH_LESS"},{descriptor:{designation_deu:"2 Mal pro Monat",designation_eng:"2 Mal pro Monat",designation_fra:"2 Mal pro Monat",designation_ita:"2 Mal pro Monat"},id:2,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableManureRemovalFrequency:"SMR_FRQ_2X_MONTH"},{descriptor:{designation_deu:"3 bis 4 Mal pro Monat",designation_eng:"3 bis 4 Mal pro Monat",designation_fra:"3 bis 4 Mal pro Monat",designation_ita:"3 bis 4 Mal pro Monat"},id:3,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableManureRemovalFrequency:"SMR_FRQ_1X_WEEK"},{descriptor:{designation_deu:"Mehr als 4 Mal pro Monat bis weniger als 1 Mal pro Tag",designation_eng:"Mehr als 4 Mal pro Monat bis weniger als 1 Mal pro Tag",designation_fra:"Mehr als 4 Mal pro Monat bis weniger als 1 Mal pro Tag",designation_ita:"Mehr als 4 Mal pro Monat bis weniger als 1 Mal pro Tag"},id:4,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableManureRemovalFrequency:"SMR_FRQ_2X_WEEK"},{descriptor:{designation_deu:"1 Mal pro Tag",designation_eng:"1 Mal pro Tag",designation_fra:"1 Mal pro Tag",designation_ita:"1 Mal pro Tag"},id:5,permittedForStableSystem:["HUS_BARN_HOUSING","HUS_MANURE_BELT","HUS_ORDURE_PIT"],stableManureRemovalFrequency:"SMR_FRQ_1X_DAY"}];var Ese=[{code:"FSTF_ALFAL",descriptor:{designation_deu:"Luzerne",designation_eng:"Luzerne",designation_fra:"Luzerne",designation_ita:"Luzerne"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEERD",descriptor:{designation_deu:"Biertreber getrocknet",designation_eng:"Biertreber getrocknet",designation_fra:"Biertreber getrocknet",designation_ita:"Biertreber getrocknet"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEERF",descriptor:{designation_deu:"Biertreber frisch",designation_eng:"Biertreber frisch",designation_fra:"Biertreber frisch",designation_ita:"Biertreber frisch"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEERS",descriptor:{designation_deu:"Biertreber siliert",designation_eng:"Biertreber siliert",designation_fra:"Biertreber siliert",designation_ita:"Biertreber siliert"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEETF",descriptor:{designation_deu:"Futterr\xFCben ",designation_eng:"Futterr\xFCben ",designation_fra:"Futterr\xFCben ",designation_ita:"Futterr\xFCben "},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEETL",descriptor:{designation_deu:"R\xFCbenbl\xE4tter",designation_eng:"R\xFCbenbl\xE4tter",designation_fra:"R\xFCbenbl\xE4tter",designation_ita:"R\xFCbenbl\xE4tter"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BEETS",descriptor:{designation_deu:"R\xFCben",designation_eng:"R\xFCben",designation_fra:"R\xFCben",designation_ita:"R\xFCben"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_BYPDPM",descriptor:{designation_deu:"Nebenprodukte Trocken-, Sch\xE4lm\xFCllerei",designation_eng:"Nebenprodukte Trocken-, Sch\xE4lm\xFCllerei",designation_fra:"Nebenprodukte Trocken-, Sch\xE4lm\xFCllerei",designation_ita:"Nebenprodukte Trocken-, Sch\xE4lm\xFCllerei"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_CCMSL",descriptor:{designation_deu:"Maiskolbensilage, CCM",designation_eng:"Maiskolbensilage, CCM",designation_fra:"Maiskolbensilage, CCM",designation_ita:"Maiskolbensilage, CCM"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!0,standardCrudeProteinContent:95,standardEnergyContent:15.7,standardPhosphorContent:3.3},{code:"FSTF_CEREAS",descriptor:{designation_deu:"Getreide-Silage",designation_eng:"Getreide-Silage",designation_fra:"Getreide-Silage",designation_ita:"Getreide-Silage"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!0,standardCrudeProteinContent:92,standardDryMatterContent:30,standardEnergyContent:7.4,standardPhosphorContent:3.2},{code:"FSTF_CORNCW",descriptor:{designation_deu:"Vollmaispflanzenw\xFCrfel",designation_eng:"Vollmaispflanzenw\xFCrfel",designation_fra:"Vollmaispflanzenw\xFCrfel",designation_ita:"Vollmaispflanzenw\xFCrfel"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_CORNWS",descriptor:{designation_deu:"Maissilage (Ganzpflanze)",designation_eng:"Maissilage (Ganzpflanze)",designation_fra:"Maissilage (Ganzpflanze)",designation_ita:"Maissilage (Ganzpflanze)"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_CSWLG",descriptor:{designation_deu:"Getreide-Silage mit Leguminosen",designation_eng:"Getreide-Silage mit Leguminosen",designation_fra:"Getreide-Silage mit Leguminosen",designation_ita:"Getreide-Silage mit Leguminosen"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_DBFVD",descriptor:{designation_deu:"Getrocknete Grundfutter, diverse",designation_eng:"Getrocknete Grundfutter, diverse",designation_fra:"Getrocknete Grundfutter, diverse",designation_ita:"Getrocknete Grundfutter, diverse"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_DWFWB",descriptor:{designation_deu:"Getrocknetes Wiesenfutter, witterungsbedingt",designation_eng:"Getrocknetes Wiesenfutter, witterungsbedingt",designation_fra:"Getrocknetes Wiesenfutter, witterungsbedingt",designation_ita:"Getrocknetes Wiesenfutter, witterungsbedingt"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_DWMEF",descriptor:{designation_deu:"Getrocknetes extensives Wiesenfutter",designation_eng:"Getrocknetes extensives Wiesenfutter",designation_fra:"Getrocknetes extensives Wiesenfutter",designation_ita:"Getrocknetes extensives Wiesenfutter"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_EGRAF",descriptor:{designation_deu:"Gras extensiv",designation_eng:"Gras extensiv",designation_fra:"Gras extensiv",designation_ita:"Gras extensiv"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_GCDGH",descriptor:{designation_deu:"Mais, gr\xFCn Teigreife",designation_eng:"Mais, gr\xFCn Teigreife",designation_fra:"Mais, gr\xFCn Teigreife",designation_ita:"Mais, gr\xFCn Teigreife"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_GCYEL",descriptor:{designation_deu:"Mais gr\xFCn, Gelbreife",designation_eng:"Mais gr\xFCn, Gelbreife",designation_fra:"Mais gr\xFCn, Gelbreife",designation_ita:"Mais gr\xFCn, Gelbreife"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_GRASS",descriptor:{designation_deu:"Gras",designation_eng:"Gras",designation_fra:"Gras",designation_ita:"Gras"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0,standardCrudeProteinContent:155,standardDryMatterContent:100,standardEnergyContent:7.6,standardPhosphorContent:3.5},{code:"FSTF_GRSLG",descriptor:{designation_deu:"Grassilage ",designation_eng:"Grassilage ",designation_fra:"Grassilage ",designation_ita:"Grassilage "},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_GRWUB",descriptor:{designation_deu:"Grasw\xFCrfel",designation_eng:"Grasw\xFCrfel",designation_fra:"Grasw\xFCrfel",designation_ita:"Grasw\xFCrfel"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_HAYEM",descriptor:{designation_deu:"Heu, Emd",designation_eng:"Heu, Emd",designation_fra:"Heu, Emd",designation_ita:"Heu, Emd"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_IEXMAI",descriptor:{designation_deu:"Differenz aus I/E-Bilanz, Mais",designation_eng:"Differenz aus I/E-Bilanz, Mais",designation_fra:"Differenz aus I/E-Bilanz, Mais",designation_ita:"Differenz aus I/E-Bilanz, Mais"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_IEXMEA",descriptor:{designation_deu:"Differenz aus I/E-Bilanz, Wiesenfutter",designation_eng:"Differenz aus I/E-Bilanz, Wiesenfutter",designation_fra:"Differenz aus I/E-Bilanz, Wiesenfutter",designation_ita:"Differenz aus I/E-Bilanz, Wiesenfutter"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_POTAT",descriptor:{designation_deu:"Kartoffeln ",designation_eng:"Kartoffeln ",designation_fra:"Kartoffeln ",designation_ita:"Kartoffeln "},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_SBPD8",descriptor:{designation_deu:"Zuckerr\xFCbenschnitzel trocken 88 %",designation_eng:"Zuckerr\xFCbenschnitzel trocken 88 %",designation_fra:"Zuckerr\xFCbenschnitzel trocken 88 %",designation_ita:"Zuckerr\xFCbenschnitzel trocken 88 %"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_SBPF3",descriptor:{designation_deu:"Zuckerr\xFCbenschnitzel frisch 30 %",designation_eng:"Zuckerr\xFCbenschnitzel frisch 30 %",designation_fra:"Zuckerr\xFCbenschnitzel frisch 30 %",designation_ita:"Zuckerr\xFCbenschnitzel frisch 30 %"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_SBPSL",descriptor:{designation_deu:"Zuckerr\xFCbenschnitzelsilage 30 %",designation_eng:"Zuckerr\xFCbenschnitzelsilage 30 %",designation_fra:"Zuckerr\xFCbenschnitzelsilage 30 %",designation_ita:"Zuckerr\xFCbenschnitzelsilage 30 %"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_STFSTF",descriptor:{designation_deu:"Stroh zum Verf\xFCttern",designation_eng:"Stroh zum Verf\xFCttern",designation_fra:"Stroh zum Verf\xFCttern",designation_ita:"Stroh zum Verf\xFCttern"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_STMAMA",descriptor:{designation_deu:"Stroh, Strohpellets",designation_eng:"Stroh, Strohpellets",designation_fra:"Stroh, Strohpellets",designation_ita:"Stroh, Strohpellets"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!0,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:35,standardDryMatterContent:88,standardEnergyContent:2.2,standardPhosphorContent:.9},{code:"FSTF_MIXEDF",descriptor:{designation_deu:"Mischfutter",designation_eng:"Mischfutter",designation_fra:"Mischfutter",designation_ita:"Mischfutter"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1},{code:"FSTF_WHBRN",descriptor:{designation_deu:"Weizenkleie",designation_eng:"Weizenkleie",designation_fra:"Weizenkleie",designation_ita:"Weizenkleie"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_SLQUE",descriptor:{designation_deu:"Schotte",designation_eng:"Schotte",designation_fra:"Schotte",designation_ita:"Schotte"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:129,standardEnergyContent:14.6,standardPhosphorContent:7.3},{code:"FSTF_ROUGH",descriptor:{designation_deu:"Besch\xE4ftigungs-, Raufutterw\xFCrfel",designation_eng:"Besch\xE4ftigungs-, Raufutterw\xFCrfel",designation_fra:"Besch\xE4ftigungs-, Raufutterw\xFCrfel",designation_ita:"Besch\xE4ftigungs-, Raufutterw\xFCrfel"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!0,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:25,standardDryMatterContent:87,standardEnergyContent:2.1,standardPhosphorContent:1.6},{code:"FSTF_GCWPL",descriptor:{designation_deu:"Mais, ganze Pflanze",designation_eng:"Mais, ganze Pflanze",designation_fra:"Mais, ganze Pflanze",designation_ita:"Mais, ganze Pflanze"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:75,standardDryMatterContent:100,standardEnergyContent:10.7,standardPhosphorContent:1.9},{code:"FSTF_WPLSG",descriptor:{designation_deu:"Ganzpflanzen-Sorghum",designation_eng:"Ganzpflanzen-Sorghum",designation_fra:"Ganzpflanzen-Sorghum",designation_ita:"Ganzpflanzen-Sorghum"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_WPSCG",descriptor:{designation_deu:"Ganzpflanzen-Sorghum (Zweitkultur), ha",designation_eng:"Ganzpflanzen-Sorghum (Zweitkultur), ha",designation_fra:"Ganzpflanzen-Sorghum (Zweitkultur), ha",designation_ita:"Ganzpflanzen-Sorghum (Zweitkultur), ha"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_CHIRO",descriptor:{designation_deu:"Chicor\xE9e-Wurzeln",designation_eng:"Chicor\xE9e-Wurzeln",designation_fra:"Chicor\xE9e-Wurzeln",designation_ita:"Chicor\xE9e-Wurzeln"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_FWVPR",descriptor:{designation_deu:"Abgang aus Obst- / Gem\xFCseverwertung",designation_eng:"Abgang aus Obst- / Gem\xFCseverwertung",designation_fra:"Abgang aus Obst- / Gem\xFCseverwertung",designation_ita:"Abgang aus Obst- / Gem\xFCseverwertung"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!1,isPermittedForSuisseBilanz:!0},{code:"FSTF_SINGF",descriptor:{designation_deu:"Einzelfuttermittel",designation_eng:"Einzelfuttermittel",designation_fra:"Einzelfuttermittel",designation_ita:"Einzelfuttermittel"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1},{code:"FSTF_OTHERF",descriptor:{designation_deu:"\xDCbrige Futtermittel",designation_eng:"\xDCbrige Futtermittel",designation_fra:"\xDCbrige Futtermittel",designation_ita:"\xDCbrige Futtermittel"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1},{code:"FSTF_HERBF",descriptor:{designation_deu:"Wiesenfutter",designation_eng:"Wiesenfutter",designation_fra:"Wiesenfutter",designation_ita:"Wiesenfutter"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"ROUGHAGE",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:155,standardDryMatterContent:100,standardEnergyContent:7.6,standardPhosphorContent:3.5},{code:"FSTF_GE2016",descriptor:{designation_deu:"Gefumilk 20-16",designation_eng:"Gefumilk 20-16",designation_fra:"Gefumilk 20-16",designation_ita:"Gefumilk 20-16"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:202,standardDryMatterContent:96,standardEnergyContent:18.3,standardPhosphorContent:3.8},{code:"FSTF_GE2018",descriptor:{designation_deu:"Gefumilk 20-18",designation_eng:"Gefumilk 20-18",designation_fra:"Gefumilk 20-18",designation_ita:"Gefumilk 20-18"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:216,standardDryMatterContent:96.3,standardEnergyContent:18.2,standardPhosphorContent:3.7},{code:"FSTF_GE2020",descriptor:{designation_deu:"Gefumilk 20-20",designation_eng:"Gefumilk 20-20",designation_fra:"Gefumilk 20-20",designation_ita:"Gefumilk 20-20"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:212,standardDryMatterContent:95.9,standardEnergyContent:19.2,standardPhosphorContent:3.5},{code:"FSTF_GE3018",descriptor:{designation_deu:"Gefumilk 30-18",designation_eng:"Gefumilk 30-18",designation_fra:"Gefumilk 30-18",designation_ita:"Gefumilk 30-18"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:147,standardDryMatterContent:94.3,standardEnergyContent:18.5,standardPhosphorContent:2.6},{code:"FSTF_GEPRE",descriptor:{designation_deu:"Gefumilk Vormast",designation_eng:"Gefumilk Vormast",designation_fra:"Gefumilk Vormast",designation_ita:"Gefumilk Vormast"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:219,standardDryMatterContent:96.1,standardEnergyContent:18.9,standardPhosphorContent:3.8},{code:"FSTF_GEEND",descriptor:{designation_deu:"Gefumilk Endmast",designation_eng:"Gefumilk Endmast",designation_fra:"Gefumilk Endmast",designation_ita:"Gefumilk Endmast"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:225,standardDryMatterContent:96.1,standardEnergyContent:19.3,standardPhosphorContent:3.7},{code:"FSTF_SP2103",descriptor:{designation_deu:"Sprayfit 2103",designation_eng:"Sprayfit 2103",designation_fra:"Sprayfit 2103",designation_ita:"Sprayfit 2103"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:262,standardDryMatterContent:96.6,standardEnergyContent:18.1,standardPhosphorContent:6.8},{code:"FSTF_SP2104",descriptor:{designation_deu:"Sprayfit 2104",designation_eng:"Sprayfit 2104",designation_fra:"Sprayfit 2104",designation_ita:"Sprayfit 2104"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:237,standardDryMatterContent:96.6,standardEnergyContent:19.4,standardPhosphorContent:5.3},{code:"FSTF_SP2107",descriptor:{designation_deu:"Sprayfit 2017",designation_eng:"Sprayfit 2017",designation_fra:"Sprayfit 2017",designation_ita:"Sprayfit 2017"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:232,standardDryMatterContent:96.7,standardEnergyContent:19,standardPhosphorContent:6.7},{code:"FSTF_SP2113",descriptor:{designation_deu:"Sprayfit 2113",designation_eng:"Sprayfit 2113",designation_fra:"Sprayfit 2113",designation_ita:"Sprayfit 2113"},feedstuffProductCategory:"CONCENTRATED_FODDER",feedstuffProductSubCategory:"MIXED_FEED",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:126,standardDryMatterContent:95.7,standardEnergyContent:17.8,standardPhosphorContent:6.4},{code:"FSTF_AMOBO",descriptor:{designation_deu:"Amobolac",designation_eng:"Amobolac",designation_fra:"Amobolac",designation_ita:"Amobolac"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:241,standardDryMatterContent:32.2,standardEnergyContent:20.5,standardPhosphorContent:4.7},{code:"FSTF_PROTO",descriptor:{designation_deu:"Protofit",designation_eng:"Protofit",designation_fra:"Protofit",designation_ita:"Protofit"},feedstuffProductCategory:"FODDER",feedstuffProductSubCategory:"OTHER",isManipulationMaterial:!1,isPermittedForAdditionalModules:!0,isPermittedForSuisseBilanz:!1,standardCrudeProteinContent:202,standardDryMatterContent:29.7,standardEnergyContent:16.9,standardPhosphorContent:4.8}];var Sse=[{applicationSoilPh:"PH_SMALLER_EQUAL_7",descriptor:{designation_deu:"pH Boden <=7",designation_eng:"pH Boden <=7",designation_fra:"pH Boden <=7",designation_ita:"pH Boden <=7"},explanation:"Ein pH-Wert von <=7.0 entspricht einem sauren bis neutralen Boden.",id:1},{applicationSoilPh:"PH_BIGGER_7",descriptor:{designation_deu:"pH Boden >7",designation_eng:"pH Boden >7",designation_fra:"pH Boden >7",designation_ita:"pH Boden >7"},explanation:"Ein pH-Wert von >7.0 entspricht einem alkalischen Boden.",id:2},{applicationSoilPh:"PH_UNKNOWN",descriptor:{designation_deu:"pH Boden Unbekannt",designation_eng:"pH Boden Unbekannt",designation_fra:"pH Boden Unbekannt",designation_ita:"pH Boden Unbekannt"},explanation:"Wenn der pH-Wert des Bodens des Betriebs nicht bekannt ist: Boden pH-Wert unbekannt ausw\xE4hlen.",id:3}];var wse=[{applicationDuringWarmDays:"WAD_OFTEN",descriptor:{designation_deu:"h\xE4ufig",designation_eng:"h\xE4ufig",designation_fra:"h\xE4ufig",designation_ita:"h\xE4ufig"},id:1},{applicationDuringWarmDays:"WAD_SOMETIMES",descriptor:{designation_deu:"manchmal",designation_eng:"manchmal",designation_fra:"manchmal",designation_ita:"manchmal"},id:2},{applicationDuringWarmDays:"WAD_RARELY",descriptor:{designation_deu:"selten",designation_eng:"selten",designation_fra:"selten",designation_ita:"selten"},id:3},{applicationDuringWarmDays:"WAD_NEVER",descriptor:{designation_deu:"nie",designation_eng:"nie",designation_fra:"nie",designation_ita:"nie"},id:4}];var xse=[{applicationIncorporationTime:"INC_WITHIN_1_HOUR",descriptor:{designation_deu:"innerhalb von 1 Stunde",designation_eng:"innerhalb von 1 Stunde",designation_fra:"innerhalb von 1 Stunde",designation_ita:"innerhalb von 1 Stunde"},id:1},{applicationIncorporationTime:"INC_WITHIN_4_HOURS",descriptor:{designation_deu:"innerhalb von 4 Stunden",designation_eng:"innerhalb von 4 Stunden",designation_fra:"innerhalb von 4 Stunden",designation_ita:"innerhalb von 4 Stunden"},id:2},{applicationIncorporationTime:"INC_WITHIN_8_HOURS",descriptor:{designation_deu:"innerhalb von 8 Stunden",designation_eng:"innerhalb von 8 Stunden",designation_fra:"innerhalb von 8 Stunden",designation_ita:"innerhalb von 8 Stunden"},id:3},{applicationIncorporationTime:"INC_WITHIN_1_DAY",descriptor:{designation_deu:"innerhalb von 1 Tag",designation_eng:"innerhalb von 1 Tag",designation_fra:"innerhalb von 1 Tag",designation_ita:"innerhalb von 1 Tag"},id:4},{applicationIncorporationTime:"INC_WITHIN_3_DAYS",descriptor:{designation_deu:"innerhalb von 3 Tagen",designation_eng:"innerhalb von 3 Tagen",designation_fra:"innerhalb von 3 Tagen",designation_ita:"innerhalb von 3 Tagen"},id:5},{applicationIncorporationTime:"INC_OVER_3_DAYS",descriptor:{designation_deu:"innerhalb von mehr als 3 Tagen",designation_eng:"innerhalb von mehr als 3 Tagen",designation_fra:"innerhalb von mehr als 3 Tagen",designation_ita:"innerhalb von mehr als 3 Tagen"},id:6},{applicationIncorporationTime:"INC_NEVER",descriptor:{designation_deu:"Keine Einarbeitung",designation_eng:"Keine Einarbeitung",designation_fra:"Keine Einarbeitung",designation_ita:"Keine Einarbeitung"},id:7}];var Tse=[{applicationTechnologyType:"TEC_SPLASH_PLATE",descriptor:{designation_deu:"Prallteller/Werfer",designation_eng:"Prallteller/Werfer",designation_fra:"Prallteller/Werfer",designation_ita:"Prallteller/Werfer"},explanation:"Auch wenn Hofd\xFCnger nicht auf dem Betrieb sondern \xFCber Abnahmevertr\xE4ge verwerten werden, sind die Angaben zur Hofd\xFCngerausbringung erforderlich. In diesen Fall wird eingetragen, wie die Ausbringung der Hofd\xFCnger durch den/die Abnehmer erfolgt. Unter diese Kategorie fallen s\xE4mtliche Breitverteiler wie Prallteller, Pendel- oder Schwenkverteiler, Prallkopfverteiler oder Mehrfachd\xFCsenverteiler.",id:1},{applicationTechnologyType:"TEC_DRAG_HOSE",descriptor:{designation_deu:"Schleppschlauch",designation_eng:"Schleppschlauch",designation_fra:"Schleppschlauch",designation_ita:"Schleppschlauch"},explanation:"Beim Schleppschlauch wird die G\xFClle mittels Schl\xE4uchen, die hinter dem Ger\xE4t \xFCber den Boden schleifen, direkt auf den Boden geleitet.",id:2},{applicationTechnologyType:"TEC_FERT_DRILL",descriptor:{designation_deu:"G\xFClledrill",designation_eng:"G\xFClledrill",designation_fra:"G\xFClledrill",designation_ita:"G\xFClledrill"},explanation:"",id:3},{applicationTechnologyType:"TEC_DEEP_INJ",descriptor:{designation_deu:"Tiefe Injektion",designation_eng:"Tiefe Injektion",designation_fra:"Tiefe Injektion",designation_ita:"Tiefe Injektion"},explanation:"",id:4},{applicationTechnologyType:"TEC_TRAIL_SHOE",descriptor:{designation_deu:"Schleppschuh",designation_eng:"Schleppschuh",designation_fra:"Schleppschuh",designation_ita:"Schleppschuh"},explanation:"Beim Schleppschuhverteiler wird die G\xFClle aus den Schl\xE4uchen mit zus\xE4tzlichen Metallkufen direkt auf den Boden abgelegt bzw. leicht eingeritzt.",id:5}];var Ise=[{descriptor:{designation_deu:"Ammoniumnitrat",designation_eng:"Ammoniumnitrat",designation_fra:"Ammoniumnitrat",designation_ita:"Ammoniumnitrat"},explanation:"Stickstoff in Form von Ammonium (NH\u2084\u207A) und Nitrat (NO\u2083\u207B)",fertiliserProductCategory:"FER_AMSP",id:1,maxK2O:0,maxMg:0,maxNtot:39,maxP2O5:0,minK2O:0,minMg:0,minNtot:31,minP2O5:0},{descriptor:{designation_deu:"Kalkammonsalpeter (KAS)",designation_eng:"Kalkammonsalpeter (KAS)",designation_fra:"Kalkammonsalpeter (KAS)",designation_ita:"Kalkammonsalpeter (KAS)"},explanation:"Ammoniumnitrat, Calciumcarbonat oder Dolomit zur Neutralisierung",fertiliserProductCategory:"FER_AMSP_CA",id:2,maxK2O:0,maxMg:100,maxNtot:30,maxP2O5:0,minK2O:0,minMg:0,minNtot:24,minP2O5:0},{descriptor:{designation_deu:"Ammoniumsulfat",designation_eng:"Ammoniumsulfat",designation_fra:"Ammoniumsulfat",designation_ita:"Ammoniumsulfat"},explanation:"Stickstoff als Ammonium (NH\u2084\u207A), Schwefel als Sulfat (SO\u2084\xB2\u207B)",fertiliserProductCategory:"FER_AMSF",id:3,maxK2O:0,maxMg:0,maxNtot:23,maxP2O5:0,minK2O:0,minMg:0,minNtot:1,minP2O5:0},{descriptor:{designation_deu:"Harnstoff",designation_eng:"Harnstoff",designation_fra:"Harnstoff",designation_ita:"Harnstoff"},explanation:"Stickstoff in organischer Form (CO(NH\u2082)\u2082)",fertiliserProductCategory:"FER_UREA",id:4,maxK2O:0,maxMg:0,maxNtot:100,maxP2O5:0,minK2O:0,minMg:0,minNtot:40,minP2O5:0},{descriptor:{designation_deu:"Ammoniumphosphat",designation_eng:"Ammoniumphosphat",designation_fra:"Ammoniumphosphat",designation_ita:"Ammoniumphosphat"},explanation:"Stickstoff als Ammonium, Phosphor als Phosphat",fertiliserProductCategory:"FER_NP",id:5,maxK2O:0,maxMg:100,maxNtot:100,maxP2O5:100,minK2O:0,minMg:0,minNtot:1,minP2O5:1},{descriptor:{designation_deu:"NK-D\xFCnger",designation_eng:"NK-D\xFCnger",designation_fra:"NK-D\xFCnger",designation_ita:"NK-D\xFCnger"},explanation:"Stickstoff (N) in verschiedenen Formen, Kalium (K) als Kaliumchlorid oder -sulfat",fertiliserProductCategory:"FER_NK",id:6,maxK2O:100,maxMg:100,maxNtot:100,maxP2O5:0,minK2O:1,minMg:0,minNtot:1,minP2O5:0},{descriptor:{designation_deu:"NPK-D\xFCnger",designation_eng:"NPK-D\xFCnger",designation_fra:"NPK-D\xFCnger",designation_ita:"NPK-D\xFCnger"},explanation:"Stickstoff (N), Phosphor (P\u2082O\u2085), Kalium (K\u2082O) in unterschiedlichen Kombinationen",fertiliserProductCategory:"FER_NPK",id:7,maxK2O:100,maxMg:100,maxNtot:100,maxP2O5:100,minK2O:1,minMg:0,minNtot:1,minP2O5:1}];var Ase=[{id:"tvd-original",descriptor:{designation_eng:"Animal Tracing Database (TVD) - Original Data",designation_deu:"Tierverkehrsdatenbank (TVD) - Originaldaten"}},{id:"tvd-final",descriptor:{designation_eng:"Animal Tracing Database (TVD) - Final (After Cantonal Correction)",designation_deu:"Tierverkehrsdatenbank (TVD) - Final (Nach kantonaler Korrektur)"}},{id:"self-reported",descriptor:{designation_eng:"Self-Reported Average",designation_deu:"Selbstgemeldet Durchschnitt"}}];var Mse=[{id:"1.19",descriptor:{designation_eng:"SUIBI Version 1.19",designation_deu:"SUIBI Version 1.19"}},{id:"1.20",descriptor:{designation_eng:"SUIBI Version 1.20",designation_deu:"SUIBI Version 1.20"}}];var kse=[{id:"draft",descriptor:{designation_eng:"Draft",designation_deu:"Entwurf"}},{id:"submitted",descriptor:{designation_eng:"Submitted",designation_deu:"Eingereicht"}},{id:"final",descriptor:{designation_eng:"Final",designation_deu:"Final"}}];var jj=[{code:"kg",descriptor:{designation_deu:"Kilogramm",designation_eng:"Kilogramm",designation_fra:"Kilogramm",designation_ita:"Kilogramm"}},{code:"kg/m3",descriptor:{designation_deu:"Kilogramm/Kubikmeter",designation_eng:"Kilogramm/Kubikmeter",designation_fra:"Kilogramm/Kubikmeter",designation_ita:"Kilogramm/Kubikmeter"}},{code:"kg/t",descriptor:{designation_deu:"Kilogramm/Tonne",designation_eng:"Kilogramm/Tonne",designation_fra:"Kilogramm/Tonne",designation_ita:"Kilogramm/Tonne"}},{code:"%",descriptor:{designation_deu:"Prozent",designation_eng:"Prozent",designation_fra:"Prozent",designation_ita:"Prozent"}},{code:"kg/kg",descriptor:{designation_deu:"Kilogramm/Kilogramm",designation_eng:"Kilogramm/Kilogramm",designation_fra:"Kilogramm/Kilogramm",designation_ita:"Kilogramm/Kilogramm"}},{code:"mj/kg",descriptor:{designation_deu:"Megajoule/Kilogramm",designation_eng:"Megajoule/Kilogramm",designation_fra:"Megajoule/Kilogramm",designation_ita:"Megajoule/Kilogramm"}},{code:"m3",descriptor:{designation_deu:"Kubikmeter",designation_eng:"Kubikmeter",designation_fra:"Kubikmeter",designation_ita:"Kubikmeter"}},{code:"pc",descriptor:{designation_deu:"St\xFCck",designation_eng:"St\xFCck",designation_fra:"St\xFCck",designation_ita:"St\xFCck"}},{code:"pl",descriptor:{designation_deu:"Pl\xE4tze",designation_eng:"Pl\xE4tze",designation_fra:"Pl\xE4tze",designation_ita:"Pl\xE4tze"}},{code:"un",descriptor:{designation_deu:"Einheiten",designation_eng:"Einheiten",designation_fra:"Einheiten",designation_ita:"Einheiten"}},{code:"l",descriptor:{designation_deu:"Liter",designation_eng:"Liter",designation_fra:"Liter",designation_ita:"Liter"}}];var Uj=[{allowedUnits:["kg"],descriptor:{designation_deu:"verf\xFCgbarer Stickstoff",designation_eng:"verf\xFCgbarer Stickstoff",designation_fra:"verf\xFCgbarer Stickstoff",designation_ita:"verf\xFCgbarer Stickstoff"},id:"S.1001.1",molecularFormula:"Nverf"},{allowedUnits:["kg","kg/m3","kg/t","%"],descriptor:{designation_deu:"Stickstoff total",designation_eng:"Stickstoff total",designation_fra:"Stickstoff total",designation_ita:"Stickstoff total"},id:"S.1002.1",molecularFormula:"Ntot"},{allowedUnits:["kg","kg/m3","kg/t","%"],descriptor:{designation_deu:"Stickstoff l\xF6slich",designation_eng:"Stickstoff l\xF6slich",designation_fra:"Stickstoff l\xF6slich",designation_ita:"Stickstoff l\xF6slich"},id:"S.1003.1",molecularFormula:"Nlos"},{allowedUnits:["kg","kg/m3","kg/t","%"],descriptor:{designation_deu:"Phosphorpentoxid",designation_eng:"Phosphorpentoxid",designation_fra:"Phosphorpentoxid",designation_ita:"Phosphorpentoxid"},id:"S.1004.1",molecularFormula:"P2O5"},{allowedUnits:["kg","kg/m3","kg/t","%"],descriptor:{designation_deu:"Kaliumoxid",designation_eng:"Kaliumoxid",designation_fra:"Kaliumoxid",designation_ita:"Kaliumoxid"},id:"S.1005.1",molecularFormula:"K2O"},{allowedUnits:["kg","kg/m3","kg/t","%"],descriptor:{designation_deu:"Magnesium",designation_eng:"Magnesium",designation_fra:"Magnesium",designation_ita:"Magnesium"},id:"S.1006.1",molecularFormula:"Mg"},{allowedUnits:["%"],descriptor:{designation_deu:"Trockensubstanz",designation_eng:"Trockensubstanz",designation_fra:"Trockensubstanz",designation_ita:"Trockensubstanz"},id:"S.1007.1",molecularFormula:"T/S"},{allowedUnits:["kg"],descriptor:{designation_deu:"Frischsubstanz",designation_eng:"Frischsubstanz",designation_fra:"Frischsubstanz",designation_ita:"Frischsubstanz"},id:"S.1008.1",molecularFormula:"F/S"},{allowedUnits:["kg"],descriptor:{designation_deu:"Molekularer Stickstoff",designation_eng:"Molekularer Stickstoff",designation_fra:"Molekularer Stickstoff",designation_ita:"Molekularer Stickstoff"},id:"S.1009.1",molecularFormula:"N2"},{allowedUnits:["kg"],descriptor:{designation_deu:"Lachgas",designation_eng:"Lachgas",designation_fra:"Lachgas",designation_ita:"Lachgas"},id:"S.1010.1",molecularFormula:"N2O"},{allowedUnits:["kg"],descriptor:{designation_deu:"Stickstoffmonoxid",designation_eng:"Stickstoffmonoxid",designation_fra:"Stickstoffmonoxid",designation_ita:"Stickstoffmonoxid"},id:"S.1011.1",molecularFormula:"NO"},{allowedUnits:["kg"],descriptor:{designation_deu:"Ammoniak",designation_eng:"Ammoniak",designation_fra:"Ammoniak",designation_ita:"Ammoniak"},id:"S.1012.1",molecularFormula:"NH3"},{allowedUnits:["kg/kg"],descriptor:{designation_deu:"Phosphor",designation_eng:"Phosphor",designation_fra:"Phosphor",designation_ita:"Phosphor"},id:"S.1013.1",molecularFormula:"P"},{allowedUnits:["kg/kg"],descriptor:{designation_deu:"Rohprotein",designation_eng:"Rohprotein",designation_fra:"Rohprotein",designation_ita:"Rohprotein"},id:"S.1014.1",molecularFormula:"R/P"},{allowedUnits:["mj/kg"],descriptor:{designation_deu:"MJ VES",designation_eng:"MJ VES",designation_fra:"MJ VES",designation_ita:"MJ VES"},id:"S.1015.1",molecularFormula:"M/V"}];var hWe=Uj.map(t=>({id:t.molecularFormula,descriptor:t.descriptor,allowedUnits:t.allowedUnits??[],substanceId:t.id})),gWe=Uj.reduce((t,n)=>{for(let e of n.allowedUnits??[])t[e]||(t[e]=new Set),t[e].add(n.molecularFormula);return t},{}),_We=jj.reduce((t,n)=>{let e=Array.from(gWe[n.code]?.values()??[]);return e.length===0||t.push({id:n.code,descriptor:n.descriptor,permittedForMolecularFormula:e}),t},[]),Rse={animalCategoryPRIF:ml.map(t=>({id:t.id,animalGroup:t.animalGroup,descriptor:t.descriptor})),stableAirPurification:_se.map(t=>({id:t.id,stableAirPurification:t.stableAirPurification,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),utilisation:yx.map(t=>({id:t.id,utilisation:t.utilisation,descriptor:t.descriptor})),stableSystem:av.filter(t=>!!t.stableSystem).map(t=>({id:t.id,stableSystem:t.stableSystem,permittedForAnimal:t.permittedForAnimal,permittedForAnimalGroup:t.permittedForAnimalGroup,descriptor:t.descriptor})),yardFloorType:vse.map(t=>({id:t.id,yardFloorType:t.yardFloorType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableVentilationType:yse.map(t=>({id:t.id,stableVentilationType:t.stableVentilationType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableWaterSupply:bse.map(t=>({id:t.id,stableWaterSupply:t.stableWaterSupply,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),yardFeeding:Cse.map(t=>({id:t.id,yardFeeding:t.yardFeeding,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableManureRemovalFrequency:Dse.map(t=>({id:t.id,stableManureRemovalFrequency:t.stableManureRemovalFrequency,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),typeOfFeedstuffProduct:Ese.map(t=>({id:t.code,descriptor:t.descriptor})),typeOfManureRecyclingProduct:Qg.map(t=>({id:t.code,descriptor:t.descriptor})),transactionUnit:jj.map(t=>({id:t.code,descriptor:t.descriptor})),molecularFormula:hWe,ingredientUnit:_We,zoologicalAnimal:bx.map(t=>({id:t.code,descriptor:t.descriptor})),soilPh:Sse.map(t=>({id:t.id,descriptor:t.descriptor})),applicationDuringWarmDays:wse.map(t=>({id:t.id,descriptor:t.descriptor})),applicationIncorporationTime:xse.map(t=>({id:t.id,descriptor:t.descriptor})),applicationTechnologyType:Tse.map(t=>({id:t.id,descriptor:t.descriptor})),fertiliserProductCategory:Ise.map(t=>({id:t.fertiliserProductCategory,descriptor:t.descriptor})),durationSourceType:Ase,suibiVersion:Mse,submissionStatus:kse},zj=[{regex:/animalCategoryPRIF$/i,key:"animalCategoryPRIF"},{regex:/stableAirPurification(Id)?$/i,key:"stableAirPurification"},{regex:/utilisation$/i,key:"utilisation"},{regex:/stableSystem$/i,key:"stableSystem"},{regex:/yardFloorType$/i,key:"yardFloorType"},{regex:/stableVentilationType(Id)?$/i,key:"stableVentilationType"},{regex:/stableWaterSupply(Id)?$/i,key:"stableWaterSupply"},{regex:/yardFeeding(Id)?$/i,key:"yardFeeding"},{regex:/stableManureRemovalFrequency(Id)?$/i,key:"stableManureRemovalFrequency"},{regex:/typeOfFeedstuffProduct$/i,key:"typeOfFeedstuffProduct"},{regex:/typeOfManureRecyclingProduct$/i,key:"typeOfManureRecyclingProduct"},{regex:/transactionUnit$/i,key:"transactionUnit"},{regex:/molecularFormula$/i,key:"molecularFormula"},{regex:/zoologicalAnimal$/i,key:"zoologicalAnimal"},{regex:/soilPh$/i,key:"soilPh"},{regex:/applicationDuringWarmDays$/i,key:"applicationDuringWarmDays"},{regex:/applicationIncorporationTime$/i,key:"applicationIncorporationTime"},{regex:/applicationTechnologyType$/i,key:"applicationTechnologyType"},{regex:/fertiliserProductCategory$/i,key:"fertiliserProductCategory"},{regex:/durationSourceType$/i,key:"durationSourceType"},{regex:/suibiVersion$/i,key:"suibiVersion"}];function Pse(t){for(let n of zj)if(n.regex.test(t))return n.key;return null}var Ose=Object.create(null),Nse=new Set;function ff(t,n){Ose[t]=n}function vWe(t,n){if(typeof n!="string"||!n.startsWith("#/"))return;let e=n.slice(2).split("/"),i=t;for(let r of e){let o=r.replace(/~1/g,"/").replace(/~0/g,"~");if(i==null)return;i=i[o]}return i}function YI(t,n,e,i){if(t.true===!0)return!0;if(t.true===!1)return!1;if("all"in t&&Array.isArray(t.all))return t.all.every(l=>YI(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("any"in t&&Array.isArray(t.any))return t.any.some(l=>YI(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("not"in t)return!YI(t.not,n,e,{currentFallback:t.fallback||i.currentFallback});let r=t,o=r.fallback||i.currentFallback||"all";if(!r.resolver&&r.entryField&&r.valueFrom)try{let l=n.get(r.valueFrom);if(l==null)return!1;let c=e[r.entryField];return Array.isArray(c)?c.includes(l):c===l}catch(l){return console.warn("[CodeListFilter] Implicit filter failed",l),o==="all"}let a=r.resolver;if(!a)return!0;let s=Ose[a];if(!s)return Nse.has(a)||(console.warn("[CodeListFilter] Missing resolver",a),Nse.add(a)),o==="all";try{let l=Array.isArray(r.args)?r.args:[];return!!s(n,e,...l)}catch(l){return console.warn("[CodeListFilter] Resolver threw",a,l),o==="all"}}function Fse(t,n,e,i){if(!n)return t;let r={data:i,get:o=>vWe(i,o),masterData:e.masterData,locale:e.i18n.locale(),i18n:e.i18n};try{return t.filter(o=>YI(n,r,o,{}))}catch(o){return console.warn("[CodeListFilter] Evaluation failed",o),(n.fallback||"all")==="all"?t:[]}}ff("includesValue",(t,n,e,i)=>{if(typeof e!="string"||typeof i!="string")return!0;let r=t.get(i);if(r==null)return!1;let o=n[e];return Array.isArray(o)?o.includes(r):o===r});function sv(){return(t,n,e)=>{let i=typeof e=="string"?t.get(e):void 0;if(i==null)return!1;let r=typeof i=="number"?i:typeof i=="string"&&/^\d+$/.test(i)?parseInt(i,10):null;if(r!==null){let a=av.find(s=>s.id===r&&s.stableSystem);if(a?.stableSystem)i=a.stableSystem;else return!1}let o=n.permittedForStableSystem;return Array.isArray(o)&&o.includes(i)}}ff("stableManureRemoval_permittedForSystem",sv());ff("stableVentilation_permittedForSystem",sv());ff("stableAirPurification_permittedForSystem",sv());ff("stableWaterSupply_permittedForSystem",sv());ff("yardFeeding_permittedForSystem",sv());ff("yardFloorType_permittedForSystem",sv());ff("stableSystem_permittedForAnimalCategory",(t,n,e)=>{let i=typeof e=="string"?t.get(e):void 0;if(i==null)return!0;let r=ml.find(c=>c.id===i);if(!r)return!1;let o=r.animalGroup,a=r.code,s=n.permittedForAnimal||[];return(n.permittedForAnimalGroup||[]).includes(o)||a&&s.includes(a)});function yWe(t,n){if(t&1&&(C(0,"mat-option",3),J(1),x()),t&2){let e=n.$implicit,i=U();V("value",e.id),E(),Se(i.optionLabel(e))}}function bWe(t,n){if(t&1&&(C(0,"mat-hint"),J(1),x()),t&2){let e=U();E(),Se(e.description)}}function CWe(t,n){if(t&1&&(C(0,"mat-error"),J(1),x()),t&2){let e=U();E(),Se(e.error)}}var lv=class t extends rv{masterData=h(ta);i18n=h(Jn);formData=Be(void 0);controlScope=$e(()=>this.uischema?.scope??"");explicitCodeListKey=$e(()=>{let n=this.uischema?.options?.codeList?.key;return typeof n=="string"&&n.length>0?n:null});controlKey=$e(()=>{let n=this.controlScope();return n?n.split("/").filter(Boolean).pop()??"":""});listKey=$e(()=>{let n=this.explicitCodeListKey();if(n)return n;let e=this.controlScope(),i=this.controlKey(),r=this.inferListKeyFromScope(e,i);return r||Pse(i)});options=$e(()=>{let n=this.listKey();return n?Rse[n]||[]:[]});filterConfig=$e(()=>this.uischema?.options?.codeList?.filter);dependsOnDataPath=$e(()=>{let n=this.uischema?.options?.codeList?.dependsOn,e=typeof n=="string"&&n.length>0?n:this.autoDependsOnScope();return this.scopePointerToDataPath(e)});autoDependsOnScope=$e(()=>{if(this.listKey()!=="ingredientUnit")return null;let e=this.controlScope();return typeof e!="string"||e.length===0?null:this.replacePointerLeaf(e,"molecularFormula")});scopePointerToDataPath(n){if(typeof n!="string"||n.length===0)return null;let e=this.path;if(typeof e!="string")return null;try{return ef({type:"Control",scope:n},e)}catch{return null}}replacePointerLeaf(n,e){if(!n.startsWith("#/"))return n;let i=n.slice(2).split("/");return i.length===0?n:(i[i.length-1]=e,"#/"+i.join("/"))}inferListKeyFromScope(n,e){return!n||!e?null:/\/ingredient\//i.test(n)&&e.toLowerCase()==="unit"?"ingredientUnit":null}readValueAtPath(n,e){if(!e)return;let i=e.split(".").filter(Boolean),r=n;for(let o of i){if(r==null)return;r=r[o]}return r}filteredOptions=$e(()=>{let n=this.filterConfig(),e=this.options(),i=this.formData(),r=n?Fse(e,n,{masterData:this.masterData,i18n:this.i18n},i):e,o=this.dependsOnDataPath();if(!o)return r;let a=this.readValueAtPath(i,o);return a==null?[]:r.filter(s=>{let l=s.permittedForMolecularFormula;return!Array.isArray(l)||l.length===0?!0:l.includes(a)})});constructor(n){super(n),En(()=>{let e=this.jsonFormsService.$state.subscribe(i=>{this.formData.set(i?.jsonforms?.core?.data)});return()=>e?.unsubscribe?.()}),En(()=>{let e=this.form.value,i=this.filteredOptions();e!=null&&!i.some(r=>r.id===e)&&(console.log("[CodeListSelect] Auto-clearing invalid value:",e,"Valid options:",i.map(r=>r.id)),this.commitValue(null))})}getEventValue=n=>n?.target?.value;optionLabel(n){let e=String(n.id),i=null;if(n.descriptor&&typeof n.descriptor=="object"){let a=this.i18n.locale()==="en"?"eng":"deu",s=n.descriptor[`designation_${a}`]||n.descriptor.designation_deu;typeof s=="string"&&s&&(i=s)}let r=this.listKey();if(!i&&r)try{let o=this.masterData.designation(r,e);o&&o!==e&&(i=o)}catch{}return i=i??e,r==="molecularFormula"&&!i.includes(`(${e})`)?`${i} (${e})`:i}onSelectionChange(n){this.commitValue(n)}static \u0275fac=function(e){return new(e||t)(He(bn))};static \u0275cmp=K({type:t,selectors:[["code-list-select-renderer"]],features:[Oe],decls:7,vars:7,consts:[["appearance","fill",1,"code-list-select"],[3,"selectionChange","formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){e&1&&(C(0,"mat-form-field",0)(1,"mat-label"),J(2),x(),C(3,"mat-select",1),ae("selectionChange",function(o){return i.onSelectionChange(o.value)}),Je(4,yWe,2,2,"mat-option",2),x(),We(5,bWe,2,1,"mat-hint"),We(6,CWe,2,1,"mat-error"),x()),e&2&&(zn("display",i.hidden||i.filteredOptions().length===0?"none":""),E(2),Se(i.label),E(),V("formControl",i.form),E(),V("ngForOf",i.filteredOptions()),E(),Ke(i.shouldShowUnfocusedDescription()?5:-1),E(),Ke(i.error?6:-1))},dependencies:[gc,Va,La,fo,da,EC,DC,ca,hI,cc,yl,Br],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})},Lse=$n(5,(t,n,e)=>{if(!O_(t))return!1;let i=t,r=i.scope||"",o=r.split("/").filter(Boolean).pop()||"",a=i?.options?.codeList?.key;return typeof a=="string"&&a.length>0||/\/ingredient\//i.test(r)&&o.toLowerCase()==="unit"?!0:zj.some(s=>s.regex.test(o))});var mf=class t extends Pa{service=h(bn);cdr=h(mt);_hidden=Be(!1);_label=Be(void 0);_elements=Be([]);_schema=Be(void 0);_path=Be("");_renderers=Be([]);_cells=Be(void 0);_id=`gv-${Math.random().toString(36).slice(2)}`;hidden(){return this._hidden()}label(){return this._label()}labelId(){return this._label()?`${this._id}-lbl`:null}elements(){return this._elements()}get currentPath(){return this._path()}get currentSchema(){return this._schema()}registryRenderers(){return this._renderers()}registryCells(){return this._cells()}subscription;ngOnInit(){this.subscription=this.service.$state.subscribe(n=>{let e=wd(n,this.getOwnProps());this._hidden.set(!e.visible),this._label.set(e.label);let i=e.uischema;this._elements.set(i.elements||[]),this._schema.set(e.schema),this._path.set(e.path),this._renderers.set(e.renderers||[]),this._cells.set(e.cells),this.cdr.markForCheck(),queueMicrotask(()=>this.renderChildren())})}ngOnDestroy(){this.subscription?.unsubscribe?.()}resolveHost(){}renderChildren(){let n=this.childrenHost??this.resolveHost();if(!n)return;let e=this.elements(),i=(o,a)=>o&&o.scope||o&&o.label||`${o?.type}-${a}`,r=this.hidden()?"hidden":e.map(i).join("|");if(this._prevSig!==r&&(this._prevSig=r,n.clear(),!this.hidden()))for(let o of e){let a=this.pickRenderer(o);if(!a)continue;let s=n.createComponent(a.renderer);Object.assign(s.instance,{uischema:o,schema:this.currentSchema,path:this.currentPath,renderers:this.registryRenderers(),cells:this.registryCells()}),s.changeDetectorRef?.markForCheck&&s.changeDetectorRef.markForCheck()}}pickRenderer(n){let e=this.registryRenderers(),i,r=-1,o={rootSchema:this.currentSchema,config:void 0};for(let a of e)try{let s=a.tester(n,this.currentSchema,o);typeof s=="number"&&s>r&&(r=s,i=a)}catch{}return r===-1?void 0:i}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["base-group-renderer"]],standalone:!1,features:[Oe],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0})};var DWe=["childrenHost"];function EWe(t,n){if(t&1&&(C(0,"mat-card-title",4),J(1),x()),t&2){let e=U();V("id",e.labelId()),E(),Se(e.label())}}var cv=class t extends mf{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["card-group-renderer"]],viewQuery:function(e,i){if(e&1&&Qe(DWe,5,Kt),e&2){let r;be(r=Ce())&&(i.childrenHost=r.first)}},features:[Oe],decls:4,vars:4,consts:[["childrenHost",""],["role","group",1,"group-variant","group-variant--card"],["class","group-variant__title",3,"id",4,"ngIf"],[1,"group-variant__content"],[1,"group-variant__title",3,"id"]],template:function(e,i){e&1&&(C(0,"mat-card",1),Je(1,EWe,2,2,"mat-card-title",2),je(2,"div",3,0),x()),e&2&&(zn("display",i.hidden()?"none":""),Ge("aria-labelledby",i.labelId()),E(),V("ngIf",i.label()))},dependencies:[pc,As,df,Dr],styles:[".group-variant[_ngcontent-%COMP%]{margin:0 0 1rem;display:flex;flex-direction:column;gap:16px}",".group-variant--card[_ngcontent-%COMP%]{padding:16px}",".group-variant__title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-weight:500;font-size:.95rem}"],changeDetection:0})};var SWe=["childrenHost"];function wWe(t,n){if(t&1&&(C(0,"h4",4),J(1),x()),t&2){let e=U();V("id",e.labelId()),E(),Se(e.label())}}var dv=class t extends mf{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["plain-group-renderer"]],viewQuery:function(e,i){if(e&1&&Qe(SWe,5,Kt),e&2){let r;be(r=Ce())&&(i.childrenHost=r.first)}},features:[Oe],decls:4,vars:4,consts:[["childrenHost",""],["role","group",1,"group-variant","group-variant--plain"],["class","group-variant__title",3,"id",4,"ngIf"],[1,"group-variant__content"],[1,"group-variant__title",3,"id"]],template:function(e,i){e&1&&(C(0,"div",1),Je(1,wWe,2,2,"h4",2),je(2,"div",3,0),x()),e&2&&(zn("display",i.hidden()?"none":""),Ge("aria-labelledby",i.labelId()),E(),V("ngIf",i.label()))},dependencies:[Dr],styles:[".group-variant[_ngcontent-%COMP%]{margin:0 0 1rem;display:flex;flex-direction:column;gap:16px}",".group-variant--plain[_ngcontent-%COMP%]{padding:0}",".group-variant__title[_ngcontent-%COMP%]{margin:0 0 .5rem;font-weight:500;font-size:.95rem}"],changeDetection:0})};var xWe=["childrenHost"];function TWe(t,n){}var uv=class t extends mf{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["logical-group-renderer"]],viewQuery:function(e,i){if(e&1&&Qe(xWe,5,Kt),e&2){let r;be(r=Ce())&&(i.childrenHost=r.first)}},features:[Oe],decls:2,vars:0,consts:[["childrenHost",""]],template:function(e,i){e&1&&sl(0,TWe,0,0,"ng-template",null,0,Ql)},styles:[".group-variant__title[_ngcontent-%COMP%]{display:none}"],changeDetection:0})};var Hj=t=>n=>n?.type==="Group"&&n?.options?.variant===t,Vse=$n(5,Hj("card")),Bse=$n(5,Hj("plain")),jse=$n(5,Hj("logical"));var zse=Object.create(null),Use=new Set;function IWe(t,n){if(typeof n!="string"||!n.startsWith("#/"))return;let e=n.slice(2).split("/"),i=t;for(let r of e){let o=r.replace(/~1/g,"/").replace(/~0/g,"~");if(i==null)return;i=i[o]}return i}function kd(t,n){zse[t]=n}function Hse(t,n,e,i){if(!t)return!0;let r=t,o=e.masterData,a=e.i18n,s=G({data:n,get:c=>IWe(n,c),masterData:o,locale:a.locale()},i),l=zse[r.resolver];if(!l)return Use.has(r.resolver)||(console.warn("[Constraint] Missing resolver",r.resolver),Use.add(r.resolver)),r.fallbackVisible??!0;try{let c=Array.isArray(r.args)?r.args:[];return!!l(s,...c)}catch(c){return console.warn("[Constraint] Resolver threw",r.resolver,c),r.fallbackVisible??!0}}kd("animalCategory_isPermittedForConcentratedFeedstuffSummering",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForConcentratedFeedstuffSummering});kd("animalCategory_isPermittedForFodderConsumptionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForFodderConsumptionCorrection});kd("animalCategory_isPermittedForGMF",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForGMF});kd("animalCategory_isPermittedForIMPEX",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForIMPEX});kd("animalCategory_isPermittedForLinearCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForLinearCorrection});kd("animalCategory_isPermittedForManualFodderConsumptionInput",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForManualFodderConsumptionInput});kd("animalCategory_isPermittedForMilkProductionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForMilkProductionCorrection});kd("animalCategory_isPermittedForWeightCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForWeightCorrection});kd("animalCategory_isRoughageConsumer",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isRoughageConsumer});var AWe=["childrenHost"];function MWe(t,n){}var WI=class t extends Pa{service=h(bn);childrenHost;subscription;_elements=Be([]);_schema=Be(void 0);_path=Be("");_renderers=Be([]);_cells=Be(void 0);_constraintCfg;masterData=h(ta);i18n=h(Jn);visible(){return Hse(this._constraintCfg,this.service.getState().jsonforms.core?.data,{masterData:this.masterData,i18n:this.i18n})}isVisibleForTest(){return this.visible()}ngOnInit(){this.subscription=this.service.$state.subscribe(n=>{let e=wd(n,this.getOwnProps()),i=e.uischema;this._elements.set(i.elements||[]),this._schema.set(e.schema),this._path.set(e.path),this._renderers.set(e.renderers||[]),this._cells.set(e.cells),this._constraintCfg=i.options?.constraint,queueMicrotask(()=>this.renderChildren())})}ngOnDestroy(){this.subscription?.unsubscribe?.()}renderChildren(){let n=this.childrenHost;if(!n)return;let e=this._elements(),i=(a,s)=>a&&a.scope||a&&a.label||`${a?.type}-${s}`,r=this.visible(),o=r?e.map(i).join("|"):"hidden";if(this._prevSig!==o&&(this._prevSig=o,n.clear(),!!r))for(let a of e){let s=this.pickRenderer(a);if(!s)continue;let l=n.createComponent(s.renderer);Object.assign(l.instance,{uischema:a,schema:this._schema(),path:this._path(),renderers:this._renderers(),cells:this._cells()})}}pickRenderer(n){let e=this._renderers(),i,r=-1,o={rootSchema:this._schema(),config:void 0};for(let a of e)try{let s=a.tester(n,this._schema(),o);typeof s=="number"&&s>r&&(r=s,i=a)}catch{}return r===-1?void 0:i}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["constraint-layout-renderer"]],viewQuery:function(e,i){if(e&1&&Qe(AWe,5,Kt),e&2){let r;be(r=Ce())&&(i.childrenHost=r.first)}},features:[Oe],decls:2,vars:0,consts:[["childrenHost",""]],template:function(e,i){e&1&&sl(0,MWe,0,0,"ng-template",null,0,Ql)},encapsulation:2,changeDetection:0})};var ks=class t{currentPage=Be("welcome");selectedAnimalStockIndex=Be(null);selectedCategory=Be({page:"animal_stock",category:"base"});selectedFarmManureTrading=Be(null);isAnimalStockDetailView=$e(()=>this.selectedAnimalStockIndex()!==null);isAnimalStockPage=$e(()=>this.currentPage()==="animal_stock");navigateToPage(n){this.currentPage()!==n&&(this.currentPage.set(n),this.resetPageContext(n),n==="field_spreading"&&this.setCategory("field_spreading","general"))}navigateToAnimalStockList(){this.currentPage.set("animal_stock"),this.selectedAnimalStockIndex.set(null),this.selectedCategory.set({page:"animal_stock",category:"base"})}navigateToAnimalStockDetail(n,e="base"){this.currentPage.set("animal_stock"),this.selectedAnimalStockIndex.set(n),this.selectedCategory.set({page:"animal_stock",category:e})}navigateToFarmManureTradingDetail(n,e,i="general"){this.currentPage.set("farm_manure_trading"),this.selectedFarmManureTrading.set({mode:n,index:e}),this.setCategory("farm_manure_trading",i)}navigateToFarmManureTradingList(){this.currentPage.set("farm_manure_trading"),this.selectedFarmManureTrading.set(null),this.setCategory("farm_manure_trading","general")}navigateToFieldSpreading(n="general"){this.currentPage.set("field_spreading"),this.setCategory("field_spreading",n)}setCategory(n,e){this.selectedCategory.set({page:n,category:e})}resetPageContext(n){n!=="animal_stock"&&this.selectedAnimalStockIndex.set(null),n!=="farm_manure_trading"&&this.selectedFarmManureTrading.set(null)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};var kWe=t=>({display:t});function RWe(t,n){if(t&1&&(C(0,"div"),je(1,"jsonforms-outlet",4),x()),t&2){let e=n.$implicit,i=U(2);E(),V("uischema",e)("path",i.path)("schema",i.schema)}}function PWe(t,n){if(t&1&&(C(0,"mat-tab",2),Je(1,RWe,2,3,"div",3),x()),t&2){let e=n.$implicit,i=n.index,r=U();V("label",r.categoryLabels[i]),E(),V("ngForOf",e.elements)}}var KI=class t extends Pa{jsonFormsService=h(bn);navigationSvc=h(ks);hidden=!1;visibleCategories=[];categoryLabels=[];categoryKeyToIndex=Be(new Map);indexToCategoryKey=Be(new Map);selectedTabIndex=$e(()=>{let n=this.navigationSvc.selectedCategory(),e=this.navigationSvc.currentPage();return n.page!==e?0:this.categoryKeyToIndex().get(n.category)??0});ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:n=>{let e=wd(n,this.getOwnProps());this.hidden=!e.visible,this.visibleCategories=this.uischema.elements.filter(i=>Ap(i,e.data,e.path,nf(n))),this.categoryLabels=this.visibleCategories.map(i=>tC(i,n.jsonforms.i18n?.translate??Es.translate)??""),this.buildCategoryMappings()}}))}buildCategoryMappings(){let n=new Map,e=new Map;this.visibleCategories.forEach((i,r)=>{let o=i.options?.categoryKey;o&&(n.set(o,r),e.set(r,o))}),this.categoryKeyToIndex.set(n),this.indexToCategoryKey.set(e)}onTabChange(n){let e=this.indexToCategoryKey().get(n),i=this.navigationSvc.currentPage();e&&this.navigationSvc.setCategory(i,e)}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ot(t)))(i||t)}})();static \u0275cmp=K({type:t,selectors:[["selected-category-categorization-renderer"]],features:[Oe],decls:2,vars:5,consts:[["dynamicHeight","true",3,"selectedIndexChange","ngStyle","selectedIndex"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[4,"ngFor","ngForOf"],[3,"uischema","path","schema"]],template:function(e,i){e&1&&(C(0,"mat-tab-group",0),ae("selectedIndexChange",function(o){return i.onTabChange(o)}),Je(1,PWe,2,2,"mat-tab",1),x()),e&2&&(V("ngStyle",Ri(3,kWe,i.hidden?"none":""))("selectedIndex",i.selectedTabIndex()),E(),V("ngForOf",i.visibleCategories))},dependencies:[qI,Np,nv,Br,Er,Na,Ts],encapsulation:2,changeDetection:0})};var NWe=$n(7,t=>t.type==="Constraint"&&!!t.options?.constraint),OWe=$n(6,t=>t.type==="Categorization"),pf=[{tester:NWe,renderer:WI},{tester:OWe,renderer:KI},{tester:Vse,renderer:cv},{tester:Bse,renderer:dv},{tester:jse,renderer:uv},{tester:gse,renderer:ov},{tester:Lse,renderer:lv}];var $j=new te("CdkAccordion"),$se=(()=>{class t{_stateChanges=new _e;_openCloseAllActions=new _e;id=h(Sn).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",Ee]},exportAs:["cdkAccordion"],features:[it([{provide:$j,useExisting:t}]),Yt]})}return t})(),Gse=(()=>{class t{accordion=h($j,{optional:!0,skipSelf:!0});_changeDetectorRef=h(mt);_expansionDispatcher=h(Gb);_openCloseAllSubscription=tt.EMPTY;closed=new re;opened=new re;destroyed=new re;expandedChange=new re;id=h(Sn).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Be(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Ee],disabled:[2,"disabled","disabled",Ee]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[it([{provide:$j,useValue:void 0}])]})}return t})(),qse=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({})}return t})();var FWe=["body"],LWe=["bodyWrapper"],VWe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],BWe=["mat-expansion-panel-header","*","mat-action-row"];function jWe(t,n){}var UWe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],zWe=["mat-panel-title","mat-panel-description","*"];function HWe(t,n){t&1&&(lr(0,"span",1),eo(),lr(1,"svg",2),no(2,"path",3),yr()())}var Gj=new te("MAT_ACCORDION"),Yse=new te("MAT_EXPANSION_PANEL"),$We=(()=>{class t{_template=h(kn);_expansionPanel=h(Yse,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),Wse=new te("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),qj=(()=>{class t extends Gse{_viewContainerRef=h(Kt);_animationsDisabled=an();_document=h(dt);_ngZone=h(Ne);_elementRef=h(Te);_renderer=h(dn);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new re;afterCollapse=new re;_inputChanges=new _e;accordion=h(Gj,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=h(Sn).getId("mat-expansion-panel-header-");constructor(){super();let e=h(Wse,{optional:!0});this._expansionDispatcher=h(Gb),e&&(this.hideToggle=e.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Vn(null),cn(()=>this.expanded&&!this._portal),Gi(1)).subscribe(()=>{this._portal=new Oa(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_transitionEndListener=({target:e,propertyName:i})=>{e===this._bodyWrapper?.nativeElement&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let e=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this._transitionEndListener),e.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,$We,5),i&2){let a;be(a=Ce())&&(r._lazyContent=a.first)}},viewQuery:function(i,r){if(i&1&&(Qe(FWe,5),Qe(LWe,5)),i&2){let o;be(o=Ce())&&(r._body=o.first),be(o=Ce())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&De("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Ee],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[it([{provide:Gj,useValue:void 0},{provide:Yse,useExisting:t}]),Oe,Yt],ngContentSelectors:BWe,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Et(VWe),Ve(0),C(1,"div",2,0)(3,"div",3,1)(5,"div",4),Ve(6,1),Je(7,jWe,0,0,"ng-template",5),x(),Ve(8,2),x()()),i&2&&(E(),Ge("inert",r.expanded?null:""),E(2),V("id",r.id),Ge("aria-labelledby",r._headerId),E(4),V("cdkPortalOutlet",r._portal))},dependencies:[cf],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
|
|
64
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Yj=(()=>{class t{panel=h(qj,{host:!0});_element=h(Te);_focusMonitor=h(Ma);_changeDetectorRef=h(mt);_parentChangeSubscription=tt.EMPTY;constructor(){h(pn).load(wr);let e=this.panel,i=h(Wse,{optional:!0}),r=h(new Vr("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(cn(a=>!!(a.hideToggle||a.togglePosition))):Zs;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Nn(e.opened,e.closed,o,e._inputChanges.pipe(cn(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(cn(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Hn(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=K({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(i,r){i&1&&ae("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),i&2&&(Ge("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),zn("height",r._getHeaderHeight()),De("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ii(e)]},ngContentSelectors:zWe,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Et(UWe),lr(0,"span",0),Ve(1),Ve(2,1),Ve(3,2),yr(),We(4,HWe,3,0,"span",1)),i&2&&(De("mat-content-hide-toggle",!r._showToggle()),E(4),Ke(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
|
|
65
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Kse=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),Xse=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=ue({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),Qse=(()=>{class t extends $se{_keyManager;_ownHeaders=new Aa;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Vn(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new fp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ot(t)))(r||t)}})();static \u0275dir=ue({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&Ft(o,Yj,5),i&2){let a;be(a=Ce())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&De("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",Ee],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[it([{provide:Gj,useExisting:t}]),Oe]})}return t})(),XI=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=nt({type:t});static \u0275inj=et({imports:[en,qse,pC]})}return t})();var ule=Zt($0()),fle=Zt(dle());function tU(t){if(t==null)return[];let n=ml.find(i=>i.id===t);return n?av.filter(i=>i.permittedForAnimal.includes(n.zoologicalAnimal)||i.permittedForAnimalGroup.includes(n.animalGroup)).map(i=>i.id):[]}var R2t=Object.fromEntries(ml.map(t=>[t.id,tU(t.id)]));function Rs(t={}){let n=new ule.default(G({allErrors:!0,verbose:!0,strict:!1},t));return(0,fle.default)(n),n.addKeyword({keyword:"permittedStableSystem",type:"number",errors:!0,validate(e,i,r,o){let a=o?.rootData,l=o?.instancePath||""||"/formOfDetention/stall/stableSystem",c=a?.animalCategoryPRIF;if(c==null&&a?.nutrientCycle?.animalStock){let m=a.nutrientCycle.animalStock;for(let f of m)if(f?.formOfDetention?.stall?.stableSystem===i||f?.formOfDetention?.stall===o?.parentData){c=f.animalCategoryPRIF;break}}if(c==null)return!0;let d=tU(c);if(d.includes(i))return!0;let u={keyword:"permittedStableSystem",instancePath:l,schemaPath:"#/properties/formOfDetention/properties/stall/properties/stableSystem/permittedStableSystem",params:{allowedValues:d,animalCategoryPRIF:c},message:`Stable system must be one of: ${d.join(", ")}`};return Array.isArray(this.errors)&&this.errors.length?this.errors.push(u):this.errors=[u],!1}}),n}function pv(t,n){let e=o=>Array.isArray(o)?o.map(e):o&&typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[a,e(s)])):o,i=e(t),r=o=>{if(o&&typeof o=="object"){typeof o.label=="string"&&(o.label=n(o.label)),Array.isArray(o.elements)&&o.elements.forEach(r);let a=o?.options?.detail;a&&typeof a=="object"&&r(a)}};return r(i),i}function d6e(t,n){if(t&1){let e=lt();C(0,"jsonforms",6),ae("dataChange",function(r){he(e);let o=U();return ge(o.onDataChange(r))})("errors",function(r){he(e);let o=U();return ge(o.onValidationErrors(r))}),x()}if(t&2){let e=U();V("data",e.jsonFormsData())("schema",e.itemSchema())("uischema",e.localizedUi())("renderers",e.renderers)("ajv",e.suibiAjv)}}function u6e(t,n){t&1&&(C(0,"p"),J(1,"Invalid selection."),x())}function f6e(t,n){t&1&&je(0,"animal-category-select-renderer",7)(1,"code-list-select-renderer",7)(2,"card-group-renderer",7)(3,"plain-group-renderer",7)(4,"logical-group-renderer",7)}var m6e=sf,p6e=m6e.properties?.nutrientCycle?.properties?.animalStock?.items,h6e=U_(bl),ZI=class t{i18n=h(Jn);row;index;rowChange=new re;close=new re;itemSchema=$e(()=>j_(p6e,bl));baseUi=Eoe;localizedUi=$e(()=>pv(this.baseUi,n=>this.i18n.t(n,n)));jsonFormsData=$e(()=>uc(this.row()));renderers=[..._c,...pf];suibiAjv=Rs();onDataChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(e&&typeof e=="object"){let i=fc(e),r=z_(i,h6e);this.rowChange.emit(r)}}onValidationErrors(n){}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-animal-stock-detail"]],inputs:{row:"row",index:"index"},outputs:{rowChange:"rowChange",close:"close"},decls:12,vars:4,consts:[["renderersRegistry",""],[1,"detail"],[1,"detail-header"],["mat-icon-button","","color","primary","aria-label","Back",1,"back-btn",3,"click"],[1,"detail-title"],[3,"data","schema","uischema","renderers","ajv"],[3,"dataChange","errors","data","schema","uischema","renderers","ajv"],[2,"display","none"]],template:function(e,i){if(e&1){let r=lt();C(0,"div",1)(1,"header",2)(2,"button",3),ae("click",function(){return he(r),ge(i.close.emit())}),C(3,"mat-icon"),J(4,"arrow_back"),x()(),C(5,"h2",4),J(6),Vt(7,"t"),x()(),We(8,d6e,1,5,"jsonforms",5)(9,u6e,2,0,"p"),Je(10,f6e,5,0,"ng-template",null,0,Ql),x()}e&2&&(E(6),Se($t(7,2,"animalStock.detail.title")()),E(2),Ke(i.row()?8:9))},dependencies:[Na,dc,ov,lv,cv,dv,uv,dr,Ao,ea,Jo,pc,XI,Di],styles:[".detail[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}",".detail-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}",".detail-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;margin:0;flex:1}",".back-btn[_ngcontent-%COMP%]{margin-right:.5rem}"],changeDetection:0})};var mle={$schema:"http://json-schema.org/draft-07/schema#",$id:"lifetime-performance.schema.json",type:"object",properties:{dailyGain:{type:"number"},liveWeight:{type:"number"},milkProductionReport:{type:"number"}},additionalProperties:!1};var ple={type:"Group",label:"lifetimePerformance.category",elements:[{type:"Control",label:"lifetimePerformance.dailyGain.label",scope:"#/properties/dailyGain"},{type:"Control",label:"lifetimePerformance.liveWeight.label",scope:"#/properties/liveWeight"},{type:"Control",label:"lifetimePerformance.milkProductionReport.label",scope:"#/properties/milkProductionReport"}]};function v6e(t,n){if(t&1){let e=lt();C(0,"mat-card",0)(1,"mat-card-content")(2,"jsonforms",1),ae("dataChange",function(r){he(e);let o=U();return ge(o.onDataChange(r))}),x()()()}if(t&2){let e=U();E(2),V("data",e.jsonFormsData())("schema",e.schema())("uischema",e.localizedUi())("renderers",e.renderers)("ajv",e.suibiAjv)}}var hle=mle,y6e=ple,JI=class t{i18n=h(Jn);masterData=h(ta);rows=Yi([]);lifetimePerformance=Yi(null);dataChange=ep();renderers=[..._c];suibiAjv=Rs();beefFields=["dailyGain","liveWeight"];dairyFields=["milkProductionReport"];hasBeefRows=$e(()=>this.rows().some(n=>this.hasGroup(n,"CATTLE_BEEF")));hasDairyRows=$e(()=>this.rows().some(n=>this.hasGroup(n,"CATTLE_DAIRY")));activeFields=$e(()=>{let n=[];return this.hasBeefRows()&&n.push(...this.beefFields),this.hasDairyRows()&&n.push(...this.dairyFields),Array.from(new Set(n))});shouldRender=$e(()=>this.activeFields().length>0);schema=$e(()=>{let n=new Set(this.activeFields()),e=hle.properties||{},i=Object.fromEntries(Array.from(n).filter(r=>!!e[r]).map(r=>[r,e[r]]));return Fe(G({},hle),{properties:i})});localizedUi=$e(()=>{let n=new Set(this.activeFields().map(o=>`#/properties/${String(o)}`)),e=o=>o&&this.i18n.t(o,o),i=o=>o.map(a=>{let s=ec(a);return s.label&&(s.label=e(s.label)),Array.isArray(s.elements)&&(s.elements=i(s.elements)),s}).filter(a=>a.type==="Control"?n.has(a.scope??""):Array.isArray(a.elements)?a.elements.length>0:!0),r=ec(y6e);return r.label&&(r.label=e(r.label)),Array.isArray(r.elements)&&(r.elements=i(r.elements)),r});jsonFormsData=$e(()=>uc(this.lifetimePerformance()||{})||{});pruneDisallowedEffect=En(()=>{let n=new Set(this.activeFields()),e=this.lifetimePerformance();if(!e)return;let i=!1,r={};for(let o of n)e[o]!==void 0&&(r[o]=e[o]);for(let o of Object.keys(e))if(!n.has(o)&&e[o]!==void 0){i=!0;break}i&&this.dataChange.emit(r)});onDataChange(n){if(!this.shouldRender())return;let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(!e||typeof e!="object")return;let i=fc(e),r=new Set(this.activeFields()),o={};for(let a of r)i[a]!==void 0&&(o[a]=i[a]);this.dataChange.emit(o)}hasGroup(n,e){return this.masterData.entry("animalCategoryPRIF",n?.animalCategoryPRIF)?.animalGroup===e}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-lifetime-performance-form"]],inputs:{rows:[1,"rows"],lifetimePerformance:[1,"lifetimePerformance"]},outputs:{dataChange:"dataChange"},decls:1,vars:1,consts:[[1,"lifetime-performance-card"],[3,"dataChange","data","schema","uischema","renderers","ajv"]],template:function(e,i){e&1&&We(0,v6e,3,5,"mat-card",0),e&2&&Ke(i.shouldRender()?0:-1)},dependencies:[Na,dc,pc,As,uf],styles:[".lifetime-performance-card[_ngcontent-%COMP%]{margin-top:2rem}","mat-card-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600}"],changeDetection:0})};function b6e(t,n){if(t&1){let e=lt();C(0,"app-animal-stock-list",2),ae("select",function(r){he(e);let o=U();return ge(o.openDetail(r))})("add",function(){he(e);let r=U();return ge(r.addRow())})("delete",function(r){he(e);let o=U();return ge(o.deleteRow(r))})("reorder",function(r){he(e);let o=U();return ge(o.reorderRow(r))}),x(),C(1,"app-lifetime-performance-form",3),ae("dataChange",function(r){he(e);let o=U();return ge(o.onLifetimePerformanceChange(r))}),x()}if(t&2){let e=U();V("rows",e.rows),E(),V("rows",e.rows())("lifetimePerformance",e.lifetimePerformance())}}function C6e(t,n){if(t&1){let e=lt();C(0,"app-animal-stock-detail",4),ae("rowChange",function(r){he(e);let o=U();return ge(o.onDetailChange(r))})("close",function(){he(e);let r=U();return ge(r.closeDetail())}),x()}if(t&2){let e=U();V("row",e.detailData)("index",e.selectedIndex)}}var eA=class t{dataSvc=h(ro);navigationSvc=h(ks);rootData=Be(this.dataSvc.data());constructor(){En(()=>{let n=this.dataSvc.data();n!==Ci(()=>this.rootData())&&this.rootData.set(n)}),En(()=>{let n=this.rows(),e=this.selectedIndex();e!=null&&(e<0||e>=n.length)&&(this.selectedIndex.set(null),this.navigationSvc.selectedAnimalStockIndex.set(null))}),En(()=>{let n=this.navigationSvc.selectedAnimalStockIndex();n!=null&&n!==this.selectedIndex()&&this.selectedIndex.set(n)})}rows=$e(()=>this.rootData()?.nutrientCycle?.animalStock??[]);lifetimePerformance=$e(()=>this.rootData()?.nutrientCycle?.lifetimePerformance??null);selectedIndex=Be(null);detailData=$e(()=>{let n=this.selectedIndex();return n==null?null:this.rows()[n]??null});openDetail(n){n<0||n>=this.rows().length||this.selectedIndex.set(n)}closeDetail(){this.selectedIndex.set(null),this.navigationSvc.selectedAnimalStockIndex.set(null)}onRowClick(n,e){this.openDetail(e)}addRow(){let n=this.rows(),e={order:(n.length+1).toString()},i=[...n,e];this.selectedIndex.set(i.length-1),this.patchRows(i)}deleteRow(n){let e=this.rows();if(n<0||n>=e.length)return;let i=e.slice(0,n).concat(e.slice(n+1));this.patchRows(i),this.selectedIndex()===n&&this.closeDetail()}reorderRow(n){let e=[...this.rows()];vx(e,n.previousIndex,n.currentIndex),e.forEach((i,r)=>{i.order=(r+1).toString()}),this.patchRows(e)}onDetailChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n,i=this.selectedIndex();if(i==null)return;let r=this.rows();if(!Array.isArray(r)||i<0||i>=r.length)return;let o=r[i];if(o&&e&&typeof e=="object"){for(let s of Object.keys(o))s in e||delete o[s];Object.assign(o,e)}let a=r.map((s,l)=>l===i?o:s);this.patchRows(a)}onLifetimePerformanceChange(n){this.patchLifetimePerformance(n)}patchRows(n){let e=G({},this.rootData()),i=G({},e.nutrientCycle||{});i.animalStock=n,e.nutrientCycle=i,this.rootData.set(e),this.dataSvc.setData(e)}patchLifetimePerformance(n){let e=G({},this.rootData()),i=G({},e.nutrientCycle||{}),r=i.lifetimePerformance;if(Object.keys(n).length===0)delete i.lifetimePerformance;else if(r&&typeof r=="object"){for(let o of Object.keys(r))o in n||delete r[o];Object.assign(r,n),i.lifetimePerformance=r}else i.lifetimePerformance=G({},n);e.nutrientCycle=i,this.rootData.set(e),this.dataSvc.setData(e)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-animal-stock-master-detail"]],decls:3,vars:1,consts:[[1,"animal-stock-master-detail"],[3,"row","index"],[3,"select","add","delete","reorder","rows"],[3,"dataChange","rows","lifetimePerformance"],[3,"rowChange","close","row","index"]],template:function(e,i){e&1&&(C(0,"section",0),We(1,b6e,2,3)(2,C6e,1,2,"app-animal-stock-detail",1),x()),e&2&&(E(),Ke(i.selectedIndex()===null?1:2))},dependencies:[Cx,ZI,JI],styles:[".animal-stock-master-detail[_ngcontent-%COMP%]{display:block;padding:1rem}"],changeDetection:0})};var gle={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{title:{type:"string",title:"welcome.metadata.title.label",description:"welcome.metadata.title.description"},suibiVersion:{type:"string",enum:["1.19","1.20"],title:"welcome.metadata.suibiVersion.label"},status:{type:"string",enum:["draft","submitted","final"],title:"welcome.metadata.status.label"}},required:["title","suibiVersion","status"],additionalProperties:!1};var _le={type:"Group",label:"welcome.metadata.group",elements:[{type:"Control",scope:"#/properties/title",options:{placeholder:"welcome.metadata.title.placeholder"}},{type:"Control",scope:"#/properties/suibiVersion",options:{codeList:{key:"suibiVersion"}}},{type:"Control",scope:"#/properties/status",options:{codeList:{key:"submissionStatus"}}}]};var vle={title:"",suibiVersion:"1.19",status:"draft"};var gf=class t{metadataSignal=Be(G({},vle));metadata=this.metadataSignal.asReadonly();setMetadata(n){this.metadataSignal.set(G({},n))}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};var tA=class t{i18n=h(Jn);metadataSvc=h(gf);startEvent=ep({alias:"start"});metadataChange=ep({alias:"metadataChange"});baseSchema=gle;baseUiSchema=_le;suibiAjv=Rs();renderers=[..._c,...pf];metadata=this.metadataSvc.metadata;localizedSchema=$e(()=>{let n=this.i18n.locale(),e=o=>o&&this.i18n.t(o,o),i=ec(this.baseSchema),r=o=>{if(!o||typeof o!="object")return;typeof o.title=="string"&&(o.title=e(o.title)),typeof o.description=="string"&&(o.description=e(o.description)),Array.isArray(o.oneOf)&&o.oneOf.forEach(r),Array.isArray(o.anyOf)&&o.anyOf.forEach(r),Array.isArray(o.allOf)&&o.allOf.forEach(r);let a=o.properties??{};Object.values(a).forEach(r)};return r(i),i});localizedUi=$e(()=>{let n=this.i18n.locale(),e=o=>o&&this.i18n.t(o,o),i=ec(this.baseUiSchema),r=o=>{!o||typeof o!="object"||(typeof o.label=="string"&&(o.label=e(o.label)),Array.isArray(o.elements)&&o.elements.forEach(r))};return r(i),i});jsonFormsData=$e(()=>uc(this.metadata())??{});ngOnInit(){this.metadataChange.emit(this.metadata())}start(){this.startEvent.emit()}onMetadataChange(n){let e=this.normalizeJsonFormsPayload(n);if(!e)return;let i=this.toMetadata(e);if(!i)return;let r=fc(i),o=G({},r);this.isSameMetadata(this.metadata(),o)||(this.metadataSvc.setMetadata(o),this.metadataChange.emit(o))}normalizeJsonFormsPayload(n){return!n||typeof n!="object"?null:"data"in n&&typeof n.data=="object"?n.data:n}toMetadata(n){let e=n.title,i=n.suibiVersion,r=n.status,o=typeof e=="string"?e:void 0,a=this.isSuibiVersion(i)?i:void 0,s=this.isSubmissionStatus(r)?r:void 0;return!o||!a||!s?null:{title:o,suibiVersion:a,status:s}}isSuibiVersion(n){return n==="1.19"||n==="1.20"}isSubmissionStatus(n){return n==="draft"||n==="submitted"||n==="final"}isSameMetadata(n,e){return n.title===e.title&&n.suibiVersion===e.suibiVersion&&n.status===e.status}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-welcome-page"]],outputs:{startEvent:"start",metadataChange:"metadataChange"},decls:27,vars:23,consts:[[1,"welcome-grid"],["appearance","outlined",1,"welcome-card"],["mat-button","","color","primary",3,"click"],["appearance","outlined",1,"metadata-card"],[3,"dataChange","data","schema","uischema","renderers","ajv"]],template:function(e,i){e&1&&(C(0,"section",0)(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title"),J(4),Vt(5,"t"),x(),C(6,"mat-card-subtitle"),J(7),Vt(8,"t"),x()(),C(9,"mat-card-content")(10,"p"),J(11),Vt(12,"t"),x()(),C(13,"mat-card-actions")(14,"button",2),ae("click",function(){return i.start()}),J(15),Vt(16,"t"),x()()(),C(17,"mat-card",3)(18,"mat-card-header")(19,"mat-card-title"),J(20),Vt(21,"t"),x(),C(22,"mat-card-subtitle"),J(23),Vt(24,"t"),x()(),C(25,"mat-card-content")(26,"jsonforms",4),ae("dataChange",function(o){return i.onMetadataChange(o)}),x()()()()),e&2&&(E(4),Se($t(5,11,"welcome.title")()),E(3),Se($t(8,13,"welcome.subtitle")()),E(4),Se($t(12,15,"welcome.description")()),E(4),ni(" ",$t(16,17,"welcome.start")()," "),E(5),Se($t(21,19,"welcome.metadata.cardTitle")()),E(3),Se($t(24,21,"welcome.metadata.cardDescription")()),E(3),V("data",i.jsonFormsData())("schema",i.localizedSchema())("uischema",i.localizedUi())("renderers",i.renderers)("ajv",i.suibiAjv))},dependencies:[dr,ao,pc,As,W_,uf,PI,RI,df,ea,Na,dc,Di],styles:[".welcome-grid[_ngcontent-%COMP%]{max-width:960px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem 0}.welcome-card[_ngcontent-%COMP%], .metadata-card[_ngcontent-%COMP%]{width:100%}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:.5rem}mat-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}jsonforms[_ngcontent-%COMP%]{display:block}"],changeDetection:0})};var hv=class t{dataSvc=h(ro);ajv=Rs();validateFn=this.ajv.compile(sf);rawErrors=Be([]);errors=$e(()=>{let n=this.rawErrors();return this.enrichErrors(this.consolidateErrors(n))});constructor(){En(()=>{this.dataSvc.data(),this.validate()})}validate(){let n=this.dataSvc.data();!this.validateFn(n)&&this.validateFn.errors?this.rawErrors.set([...this.validateFn.errors]):this.rawErrors.set([])}consolidateErrors(n){let e=[],i=new Set;for(let r of n){if(r.keyword==="permittedStableSystem"){let o=`${r.keyword}:${r.instancePath}`;i.has(o)||(i.add(o),e.push(r));continue}if(r.keyword==="oneOf"&&r.instancePath.includes("/animalStock/")){let o=`oneOf:${r.instancePath}`;i.has(o)||(i.add(o),e.push(Fe(G({},r),{message:"Exactly one livestock source must be specified"})));continue}if(!["not","const"].includes(r.keyword)&&["required","type","minimum","maximum","pattern","minLength","maxLength","enum"].includes(r.keyword)){let o=`${r.keyword}:${r.instancePath}:${JSON.stringify(r.params)}`;i.has(o)||(i.add(o),e.push(r))}}return e}enrichErrors(n){return n.map(e=>{let i=G({},e),r=e.instancePath.match(/^\/nutrientCycle\/animalStock\/(\d+)(\/(.+))?$/);if(r){let l=parseInt(r[1],10),c=r[3]||"";i.targetPage="animal_stock",i.targetAnimalStockIndex=l,i.targetCategory=this.inferCategory(c),i.fieldLabel=this.inferFieldLabel(c,e)}let o=e.instancePath.match(/^\/nutrientCycle\/lifetimePerformance\/(.+)$/);if(o){let l=o[1];i.targetPage="animal_stock",i.targetSection="lifetimePerformance",i.fieldLabel=this.inferFieldLabel(l,e)}let a=e.instancePath.match(/^\/nutrientCycle\/farmManureTrading\/(supply|dispense)\/(\d+)(\/(.+))?$/);if(a){let l=a[1],c=parseInt(a[2],10),d=a[4]||"";i.targetPage="farm_manure_trading",i.targetFarmManureTradingMode=l,i.targetFarmManureTradingIndex=c,i.targetFarmManureTradingCategory=this.inferFarmTradingCategory(d),i.fieldLabel=this.inferFieldLabel(d,e)}let s=e.instancePath.match(/^\/nutrientCycle\/fieldSpreading\/(.+)$/);if(s){let l=s[1];i.targetPage="field_spreading",i.targetFieldSpreadingCategory=this.inferFieldSpreadingCategory(l),i.fieldLabel=this.inferFieldLabel(l,e)}return i})}inferCategory(n){return n.startsWith("formOfDetention")?"formOfDetention":n.startsWith("feeding")?"feeding":"base"}inferFarmTradingCategory(n){return n.startsWith("ingredient")?"ingredients":n.startsWith("manureDerivation")?"derivation":"general"}inferFieldSpreadingCategory(n){return n.startsWith("fertiliser")?"fertiliser":n.startsWith("recycling")?"recycling":"general"}inferFieldLabel(n,e){let i=n.split("/").filter(Boolean),r=i[i.length-1]||"",o={animalCategoryPRIF:"Animal Category",utilisation:"Utilisation",stableSystem:"Stable System",durationCorrectionDays:"Duration Correction Days",averageQuantity:"Average Quantity",durationSumTotalNutrientBalance:"Total Duration Sum",dailyGain:"Daily Gain",liveWeight:"Live Weight",milkProductionReport:"Milk Production",typeOfManureRecyclingProduct:"Recycling Product",transactionUnit:"Transaction Unit",quantity:"Quantity",manureDerivation:"Manure Derivation",zoologicalAnimal:"Zoological Animal",percentageAllocation:"Percentage Allocation",ingredient:"Ingredient",molecularFormula:"Molecular Formula",unit:"Unit",soilPh:"Soil pH",applicationDuringWarmDays:"Application During Warm Days",proportionAppliedSummerMonths:"Share Applied June-August",proportionAppliedOtherMonths:"Share Applied Other Months",proportionAppliedAfter6PM:"Share Applied After 6pm",dragHoseAreaSize:"Drag Hose Area",applicationTechnologyType:"Application Technology",applicationIncorporationTime:"Application Incorporation Time",fertiliserProductCategory:"Fertiliser Product"};if(r in o)return o[r];if(e.keyword==="required"&&e.params&&"missingProperty"in e.params){let a=e.params.missingProperty;return o[a]||a}return r||"Field"}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};var nA="suibi-data.v1";var gv=class t{i18n=h(Jn);validation=h(hv);metadataSvc=h(gf);naebi=h(ro);buildMetadata(){let n=this.validation.errors(),e=this.metadataSvc.metadata();return Fe(G({},e),{emittedAt:new Date().toISOString(),locale:this.i18n.locale(),isValid:n.length===0,errorCount:n.length})}buildDetail(){return{version:nA,payload:{metadata:this.buildMetadata(),data:this.naebi.data()}}}emitFrom(n){let e=new CustomEvent("suibi-data-emitted",{detail:this.buildDetail(),bubbles:!0,composed:!0});n.dispatchEvent(e)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};var iA=class t{constructor(n){this.naebi=n}host=h(Te);emitter=h(gv);metadataPreview=$e(()=>this.emitter.buildMetadata());emitData(){this.emitter.emitFrom(this.host.nativeElement)}static \u0275fac=function(e){return new(e||t)(He(ro))};static \u0275cmp=K({type:t,selectors:[["app-data-preview"]],decls:28,vars:6,consts:()=>{let n;n=$localize`NAEBI Data Preview`;let e;e=$localize`Live view of the emitted payload`;let i;i=$localize`Emit data`;let r;r=$localize`Metadata`;let o;o=$localize`Current metadata payload that will be emitted`;let a;a=$localize`NAEBI data`;let s;return s=$localize`Current application-wide data signal`,[n,e,i,r,o,a,s,["appearance","outlined",1,"data-preview-card"],[1,"actions-top"],["mat-flat-button","","color","primary",3,"click"],[1,"preview-section","metadata-section"],[1,"section-header"],[1,"json-block","json-block--light"],[1,"preview-section","data-section"],[1,"json-block"]]},template:function(e,i){e&1&&(C(0,"mat-card",7)(1,"mat-card-header")(2,"mat-card-title"),ld(3,0),x(),C(4,"mat-card-subtitle"),ld(5,1),x()(),C(6,"mat-card-actions",8)(7,"button",9),ae("click",function(){return i.emitData()}),ld(8,2),x()(),C(9,"mat-card-content")(10,"section",10)(11,"header",11)(12,"h3"),ld(13,3),x(),C(14,"p"),ld(15,4),x()(),C(16,"pre",12),J(17),Vt(18,"json"),x()(),C(19,"section",13)(20,"header",11)(21,"h3"),ld(22,5),x(),C(23,"p"),ld(24,6),x()(),C(25,"pre",14),J(26),Vt(27,"json"),x()()()()),e&2&&(E(17),Se($t(18,2,i.metadataPreview())),E(9),Se($t(27,4,i.naebi.data())))},dependencies:[pc,As,W_,uf,PI,RI,df,dr,ao,yO],styles:[".data-preview-card[_ngcontent-%COMP%]{max-width:960px;margin:1rem auto;display:block}.actions-top[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:0 1.5rem .5rem}mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.preview-section[_ngcontent-%COMP%]{border:1px solid #e0e0e0;border-radius:4px;padding:1rem;background:#fff}.metadata-section[_ngcontent-%COMP%]{background:#f8f9fb;border-color:#d3d7e3}.section-header[_ngcontent-%COMP%]{margin-bottom:1rem}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:1rem}.section-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:.25rem 0 0;color:#5c5f66;font-size:.875rem}.json-block[_ngcontent-%COMP%]{max-height:70vh;overflow:auto;background:#111;color:#f1f1f1;padding:1rem;font-size:.75rem;line-height:1.1;margin:0;border-radius:4px}.json-block--light[_ngcontent-%COMP%]{background:#f5f6fa;color:#1c1c1c}"],changeDetection:0})};var Cle="https://fonts.googleapis.com/icon?family=Material+Icons",yle="material-icons-font-link",ble="data-suibi-icons";function Dle(){return typeof document<"u"&&typeof window<"u"}function rA(t=document){if(!Dle()||t.getElementById(yle))return;let n=t.createElement("link");n.id=yle,n.rel="stylesheet",n.href=Cle,t.head.appendChild(n)}function oA(t){if(!Dle()||!t||t.querySelector(`link[${ble}]`))return;let n=document.createElement("link");n.rel="stylesheet",n.href=Cle,n.setAttribute(ble,""),t.prepend(n)}var aA=class t{locale=Yi("en");currentPage=Yi("welcome");onNavigate=Yi(()=>{});onLocaleChange=Yi(()=>{});onEmitData=Yi(()=>{});navigate(n){n!==this.currentPage()&&this.onNavigate()(n)}emitData(){this.onEmitData()()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-header-bar"]],inputs:{locale:[1,"locale"],currentPage:[1,"currentPage"],onNavigate:[1,"onNavigate"],onLocaleChange:[1,"onLocaleChange"],onEmitData:[1,"onEmitData"]},decls:23,vars:32,consts:[["color","primary",1,"main-toolbar"],["aria-label","Main navigation",1,"nav"],[3,"click"],[1,"spacer"],[1,"data-preview-actions"],[1,"data-preview-link",3,"click"],["mat-flat-button","","type","button","color","accent",1,"save-button",3,"click"]],template:function(e,i){e&1&&(C(0,"mat-toolbar",0)(1,"nav",1)(2,"a",2),ae("click",function(){return i.navigate("welcome")}),J(3),Vt(4,"t"),x(),C(5,"a",2),ae("click",function(){return i.navigate("animal_stock")}),J(6),Vt(7,"t"),x(),C(8,"a",2),ae("click",function(){return i.navigate("field_spreading")}),J(9),Vt(10,"t"),x(),C(11,"a",2),ae("click",function(){return i.navigate("farm_manure_trading")}),J(12),Vt(13,"t"),x()(),je(14,"div",3),C(15,"div",4)(16,"a",5),ae("click",function(){return i.navigate("data_preview")}),J(17),Vt(18,"t"),x(),C(19,"button",6),ae("click",function(){return i.emitData()}),C(20,"span"),J(21),Vt(22,"t"),x()()()()),e&2&&(zn("background","transparent")("color","inherit"),E(2),De("active",i.currentPage()==="welcome"),E(),Se($t(4,20,"nav.home")()),E(2),De("active",i.currentPage()==="animal_stock"),E(),Se($t(7,22,"nav.animalStock")()),E(2),De("active",i.currentPage()==="field_spreading"),E(),Se($t(10,24,"nav.fieldSpreading")()),E(2),De("active",i.currentPage()==="farm_manure_trading"),E(),Se($t(13,26,"nav.farmManureTrading")()),E(4),De("active",i.currentPage()==="data_preview"),E(),Se($t(18,28,"nav.dataPreview")()),E(4),Se($t(22,30,"actions.save")()))},dependencies:[tse,ese,dr,ao,ea,Di],styles:["[_nghost-%COMP%]{display:block}.main-toolbar[_ngcontent-%COMP%]{padding:0 .5rem;gap:.5rem;min-height:2.25rem;display:flex;align-items:center}nav.nav[_ngcontent-%COMP%]{display:flex;gap:1.5rem}nav.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:400;letter-spacing:.5px;font-size:.9rem;cursor:pointer;text-decoration:none;color:inherit;transition:opacity .2s}nav.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.8}nav.nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{border-bottom:2px solid currentColor;font-weight:700}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.data-preview-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-left:1.5rem}.data-preview-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:400;letter-spacing:.5px;font-size:.9rem;cursor:pointer;text-decoration:none;color:inherit;transition:opacity .2s}.data-preview-link[_ngcontent-%COMP%]:hover{opacity:.8}.data-preview-link.active[_ngcontent-%COMP%]{border-bottom:2px solid currentColor;font-weight:700}.save-button[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:600;letter-spacing:.5px;gap:.35rem}"],changeDetection:0})};function Ele(t,n){let e=t.keyword,i=t.instancePath||"",r=t.params||{};switch(e){case"oneOf":if(i.includes("animalStock"))return n("validation.schema.exactlyOneLivestockSource","Please select exactly one livestock duration source (TVD Original, TVD Final, or Self-Reported)");break;case"required":if(r.missingProperty==="linearCorrection")return n("validation.schema.linearCorrectionDurationRequired","Linear correction duration is required when linear correction is enabled");if(r.missingProperty==="durationCorrectionDays")return n("validation.schema.durationCorrectionDaysRequired","Duration correction days required when correction quantity is specified");break;case"minimum":case"maximum":if(i.includes("durationCorrectionDays"))return n("validation.schema.durationCorrectionDaysRange","Correction days must be between 1 and 365");break;case"permittedStableSystem":if(i.includes("stableSystem")){let o=r.allowedValues?.join(", ")||"";return n("validation.schema.stableSystemPermitted",`Stable system must be one of: ${o}`).replace("{{allowedValues}}",o)}break;case"enum":if(i.includes("stableSystem")){let o=r.allowedValues?.join(", ")||"";return n("validation.schema.stableSystemPermitted",`Stable system must be one of: ${o}`).replace("{{allowedValues}}",o)}break}return t.message||n("validation.schema.generic","Validation error")}function S6e(t,n){t&1&&(C(0,"mat-panel-description",4),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"validation.panel.expandHint")()))}function w6e(t,n){if(t&1&&(C(0,"span",10),J(1),x()),t&2){let e=U().$implicit;E(),Se(e.field)}}function x6e(t,n){if(t&1){let e=lt();C(0,"mat-list-item",8),ae("click",function(){let r=he(e).$implicit,o=U(2);return ge(o.onErrorClick(r.error))}),C(1,"span",9),J(2),x(),We(3,w6e,2,1,"span",10),x()}if(t&2){let e=n.$implicit,i=U(2);De("clickable",i.clickable()),E(2),Se(e.message),E(),Ke(e.field?3:-1)}}function T6e(t,n){if(t&1){let e=lt();C(0,"mat-accordion",0)(1,"mat-expansion-panel",1),ae("opened",function(){he(e);let r=U();return ge(r.expanded.set(!0))})("closed",function(){he(e);let r=U();return ge(r.expanded.set(!1))}),C(2,"mat-expansion-panel-header")(3,"mat-panel-title"),je(4,"mat-icon",2),C(5,"span",3),J(6),x()(),We(7,S6e,3,3,"mat-panel-description",4),x(),C(8,"div",5)(9,"mat-nav-list",6),us(10,x6e,4,4,"mat-list-item",7,Ab),x()()()()}if(t&2){let e=U();V("multi",!1)("hideToggle",!1),E(),V("expanded",e.expanded()),Ge("aria-label",e.panelAriaLabel()),E(5),ni(" ",e.issueCountLabel()," "),E(),Ke(e.expanded()?-1:7),E(),Ge("aria-live",e.expanded()?"polite":"off"),E(2),fs(e.formattedItems())}}var sA=class t{errors=Yi([]);clickable=Yi(!1);errorSelected=ep();i18n=h(Jn);expanded=Be(!1);hasErrors=$e(()=>(this.errors()??[]).length>0);sortedErrors=$e(()=>[...this.errors()??[]].sort((n,e)=>(n.instancePath||"").localeCompare(e.instancePath||"")||(n.keyword||"").localeCompare(e.keyword||"")));formattedItems=$e(()=>this.sortedErrors().map(n=>({message:Ele(n,(e,i)=>this.i18n.t(e,i)),field:n.instancePath||"",error:n})));issueCountLabel=$e(()=>{let n=this.sortedErrors().length,e=n===1?"validation.panel.singleIssue":"validation.panel.multipleIssues";return this.i18n.t(e,n===1?"1 validation issue":`${n} validation issues`).replace("{{count}}",String(n))});panelAriaLabel=$e(()=>`${this.issueCountLabel()} - validation details`);collapse(){this.expanded.set(!1)}onErrorClick(n){this.clickable()&&this.errorSelected.emit(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["validation-errors-panel"]],inputs:{errors:[1,"errors"],clickable:[1,"clickable"]},outputs:{errorSelected:"errorSelected"},decls:1,vars:1,consts:[["displayMode","flat",1,"validation-errors",3,"multi","hideToggle"],[1,"validation-errors-panel",3,"opened","closed","expanded"],["fontIcon","error",1,"err-icon"],[1,"summary-text"],[1,"hint"],["role","region",1,"body"],["role","list",1,"error-list"],["role","listitem",3,"clickable"],["role","listitem",3,"click"],["matListItemTitle",""],["mat-line","",1,"field-line"]],template:function(e,i){e&1&&We(0,T6e,12,7,"mat-accordion",0),e&2&&Ke(i.hasErrors()?0:-1)},dependencies:[XI,Qse,qj,Yj,Xse,Kse,ea,Jo,dr,Oae,jI,BI,gj,Di],styles:["[_nghost-%COMP%]{display:block;margin-bottom:1rem}",".validation-errors-panel[_ngcontent-%COMP%]{border-left:4px solid var(--mat-sys-primary)}",".err-icon[_ngcontent-%COMP%]{color:var(--mat-sys-primary);margin-right:.35rem;font-size:18px}",".clickable[_ngcontent-%COMP%]{cursor:pointer}",".clickable[_ngcontent-%COMP%]:hover{background-color:#0000000a}"],changeDetection:0})};function I6e(t,n){t&1&&(C(0,"th",17),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"farmTrading.table.header.product")()))}function A6e(t,n){if(t&1&&(C(0,"td",18),J(1),x()),t&2){let e=n.$implicit,i=U(2);E(),Se(i.resolveProduct(e==null?null:e.typeOfManureRecyclingProduct))}}function M6e(t,n){t&1&&(C(0,"th",17),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"farmTrading.table.header.quantity")()))}function k6e(t,n){if(t&1&&(C(0,"td",18),J(1),x()),t&2){let e=n.$implicit;E(),Se((e==null?null:e.quantity)??"\u2013")}}function R6e(t,n){t&1&&(C(0,"th",17),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"farmTrading.table.header.unit")()))}function P6e(t,n){if(t&1&&(C(0,"td",18),J(1),x()),t&2){let e=n.$implicit;E(),Se((e==null?null:e.transactionUnit)||"\u2013")}}function N6e(t,n){t&1&&(C(0,"th",19),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"farmTrading.table.header.actions")()))}function O6e(t,n){if(t&1){let e=lt();C(0,"td",20)(1,"button",21),ae("click",function(r){let o=he(e).index,a=U(2);return ge(a.onDelete(o,r))}),C(2,"mat-icon"),J(3,"delete"),x()()()}}function F6e(t,n){t&1&&je(0,"tr",22)}function L6e(t,n){if(t&1){let e=lt();C(0,"tr",23),ae("click",function(){let r=he(e).index,o=U(2);return ge(o.select.emit(r))}),x()}if(t&2){let e=n.index,i=U(2);De("selected",i.selectedIndex()===e)}}function V6e(t,n){if(t&1&&(C(0,"table",3),br(1,7),Je(2,I6e,3,3,"th",8)(3,A6e,2,1,"td",9),Cr(),br(4,10),Je(5,M6e,3,3,"th",8)(6,k6e,2,1,"td",9),Cr(),br(7,11),Je(8,R6e,3,3,"th",8)(9,P6e,2,1,"td",9),Cr(),br(10,12),Je(11,N6e,3,3,"th",13)(12,O6e,4,0,"td",14),Cr(),Je(13,F6e,1,0,"tr",15)(14,L6e,1,2,"tr",16),x()),t&2){let e=U();V("dataSource",e.rows()),E(13),V("matHeaderRowDef",e.displayedColumns),E(),V("matRowDefColumns",e.displayedColumns)}}function B6e(t,n){if(t&1&&(C(0,"p",4),J(1),x()),t&2){let e=U();E(),Se(e.emptyLabel())}}var lA=class t{masterData=h(ta);i18n=h(Jn);rows;selectedIndex;mode;select=new re;add=new re;delete=new re;displayedColumns=["type","quantity","unit","actions"];resolveProduct(n){return this.masterData.resolveManureProduct(n)}emptyLabel(){let n=this.mode==="supply"?"farmTrading.list.emptySupply":"farmTrading.list.emptyDispense";return this.i18n.t(n,n)}addLabel(){let n=this.mode==="supply"?"farmTrading.list.addSupply":"farmTrading.list.addDispense";return this.i18n.t(n,n)}headerLabel(){let n=this.mode==="supply"?"farmTrading.list.supplyTitle":"farmTrading.list.dispenseTitle";return this.i18n.t(n,n)}onDelete(n,e){e.stopPropagation(),this.delete.emit(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-farm-manure-trading-list"]],inputs:{rows:"rows",selectedIndex:"selectedIndex",mode:"mode"},outputs:{select:"select",add:"add",delete:"delete"},decls:11,vars:3,consts:[[1,"list"],[1,"list-header"],[1,"list-title"],["mat-table","",1,"mat-elevation-z8","trading-table",3,"dataSource"],[1,"empty-state"],[1,"add-btn-row"],["mat-raised-button","","color","primary",3,"click"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","quantity"],["matColumnDef","unit"],["matColumnDef","actions"],["mat-header-cell","","class","actions-header",4,"matHeaderCellDef"],["mat-cell","","class","actions-cell",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"selected","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","",1,"actions-header"],["mat-cell","",1,"actions-cell"],["mat-icon-button","","color","warn","aria-label","Delete",3,"click"],["mat-header-row",""],["mat-row","",3,"click"]],template:function(e,i){e&1&&(C(0,"div",0)(1,"header",1)(2,"h2",2),J(3),x()(),We(4,V6e,15,3,"table",3)(5,B6e,2,1,"p",4),C(6,"div",5)(7,"button",6),ae("click",function(){return i.add.emit()}),C(8,"mat-icon"),J(9,"add"),x(),J(10),x()()()),e&2&&(E(3),Se(i.headerLabel()),E(),Ke(i.rows().length?4:5),E(6),ni(" ",i.addLabel()," "))},dependencies:[dx,Bu,Bg,Hg,jg,Vg,$g,Ug,zg,Gg,qg,dr,ao,Ao,ea,Jo,Di],styles:[".list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}",".list-header[_ngcontent-%COMP%]{display:flex;align-items:center}",".list-title[_ngcontent-%COMP%]{font-size:1.5rem;margin:0;flex:1}",".trading-table[_ngcontent-%COMP%]{width:100%}",".mat-mdc-row[_ngcontent-%COMP%]{cursor:pointer}",".mat-mdc-row.selected[_ngcontent-%COMP%]{background:#0000000a}",".actions-header[_ngcontent-%COMP%], .actions-cell[_ngcontent-%COMP%]{text-align:right}",".add-btn-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}",".empty-state[_ngcontent-%COMP%]{opacity:.7;font-style:italic}"],changeDetection:0})};var Sle={type:"Categorization",elements:[{type:"Category",label:"farmTrading.detail.general",options:{categoryKey:"general"},elements:[{type:"Group",label:"farmTrading.detail.general",elements:[{type:"Control",label:"farmTrading.fields.product",scope:"#/properties/typeOfManureRecyclingProduct",options:{codeList:{key:"typeOfManureRecyclingProduct"}}},{type:"Control",label:"farmTrading.fields.transactionUnit",scope:"#/properties/transactionUnit",options:{codeList:{key:"transactionUnit"},readonly:!0}},{type:"Control",label:"farmTrading.fields.quantity",scope:"#/properties/quantity",options:{description:"farmTrading.fields.quantityHint"}}]}]},{type:"Category",label:"farmTrading.detail.derivation",options:{categoryKey:"derivation"},elements:[{type:"Group",label:"farmTrading.detail.derivation",elements:[{type:"Control",label:"farmTrading.fields.manureDerivation",scope:"#/properties/manureDerivation",options:{detail:{type:"VerticalLayout",elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"farmTrading.fields.zoologicalAnimal",scope:"#/properties/zoologicalAnimal",options:{codeList:{key:"zoologicalAnimal"}}},{type:"Control",label:"farmTrading.fields.percentageAllocation",scope:"#/properties/percentageAllocation"}]}]}}}]}]},{type:"Category",label:"farmTrading.detail.ingredients",options:{categoryKey:"ingredients"},elements:[{type:"Group",label:"farmTrading.detail.ingredients",elements:[{type:"Control",label:"farmTrading.fields.ingredient",scope:"#/properties/ingredient",options:{detail:{type:"VerticalLayout",elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"farmTrading.fields.molecularFormula",scope:"#/properties/molecularFormula",options:{codeList:{key:"molecularFormula"}}},{type:"Control",label:"farmTrading.fields.unit",scope:"#/properties/unit",options:{codeList:{key:"ingredientUnit"}}}]},{type:"Control",label:"farmTrading.fields.quantity",scope:"#/properties/quantity"}]}}}]}]}]};var U6e={LIQUID:"m3",SOLID:"kg"},wle="kg",z6e=new Map(Qg.map(t=>[t.code,U6e[t.matterState??""]??wle]));function cA(t){if(t)return z6e.get(t)??wle}function H6e(t,n){if(t&1){let e=lt();C(0,"jsonforms",5),ae("dataChange",function(r){he(e);let o=U();return ge(o.onDataChange(r))}),x()}if(t&2){let e=U();V("data",e.jsonFormsData())("schema",e.itemSchema())("uischema",e.localizedUi())("renderers",e.renderers)("ajv",e.suibiAjv)}}function $6e(t,n){t&1&&(C(0,"p"),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"farmTrading.detail.noSelection")()))}var G6e=sf,dA=G6e.properties?.nutrientCycle?.properties?.farmManureTrading,q6e=dA&&dA.properties?.supply?.items,Y6e=dA&&dA.properties?.dispense?.items,W6e=U_(bl),uA=class t{i18n=h(Jn);row;index;mode=Yi("supply");rowChange=new re;close=new re;renderers=[..._c,...pf];suibiAjv=Rs();baseSchemas={supply:q6e,dispense:Y6e};baseUi=Sle;itemSchema=$e(()=>{let n=this.mode(),e=this.baseSchemas[n];return j_(e,bl)});localizedUi=$e(()=>pv(this.baseUi,n=>this.i18n.t(n,n)));detailTitle=$e(()=>this.mode()==="supply"?this.i18n.t("farmTrading.detail.titleSupply","Farm manure supply"):this.i18n.t("farmTrading.detail.titleDispense","Farm manure dispense"));jsonFormsData=$e(()=>{let n=this.row?this.row():null;if(!n)return null;let e=G({},n),i=this.applyDerivedFields(e);return uc(i)});onDataChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(!e||typeof e!="object")return;let i=fc(e),r=z_(i,W6e),o=this.applyDerivedFields(r),a=this.row?this.row():null;a&&Ru(a,o)||this.rowChange.emit(o)}applyDerivedFields(n){if(!n)return n;let e=cA(n.typeOfManureRecyclingProduct);return n.transactionUnit=e??void 0,n}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-farm-manure-trading-detail"]],inputs:{row:"row",index:"index",mode:[1,"mode"]},outputs:{rowChange:"rowChange",close:"close"},decls:9,vars:2,consts:[[1,"detail"],[1,"detail-header"],["mat-icon-button","","color","primary","aria-label","Back",1,"back-btn",3,"click"],[1,"detail-title"],[3,"data","schema","uischema","renderers","ajv"],[3,"dataChange","data","schema","uischema","renderers","ajv"]],template:function(e,i){e&1&&(C(0,"div",0)(1,"header",1)(2,"button",2),ae("click",function(){return i.close.emit()}),C(3,"mat-icon"),J(4,"arrow_back"),x()(),C(5,"h2",3),J(6),x()(),We(7,H6e,1,5,"jsonforms",4)(8,$6e,3,3,"p"),x()),e&2&&(E(6),Se(i.detailTitle()),E(),Ke(i.row()?7:8))},dependencies:[Na,dc,dr,Ao,ea,Jo,Di],styles:[".detail[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}",".detail-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}",".detail-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;margin:0;flex:1}",".back-btn[_ngcontent-%COMP%]{margin-right:.5rem}"],changeDetection:0})};function K6e(t,n){if(t&1){let e=lt();C(0,"section",1)(1,"mat-tab-group",3),ae("selectedIndexChange",function(r){he(e);let o=U();return ge(o.onTabChange(r))}),C(2,"mat-tab",4),Vt(3,"t"),C(4,"app-farm-manure-trading-list",5),ae("select",function(r){he(e);let o=U();return ge(o.openDetail("supply",r))})("add",function(){he(e);let r=U();return ge(r.addEntry("supply"))})("delete",function(r){he(e);let o=U();return ge(o.deleteEntry("supply",r))}),x()(),C(5,"mat-tab",4),Vt(6,"t"),C(7,"app-farm-manure-trading-list",6),ae("select",function(r){he(e);let o=U();return ge(o.openDetail("dispense",r))})("add",function(){he(e);let r=U();return ge(r.addEntry("dispense"))})("delete",function(r){he(e);let o=U();return ge(o.deleteEntry("dispense",r))}),x()()()()}if(t&2){let e=U();E(),V("selectedIndex",e.activeTabIndex())("dynamicHeight",!0),E(),V("label",ms($t(3,10,"farmTrading.tabs.supply")())),E(2),V("rows",e.supplyRows)("selectedIndex",e.selectedSupplyIndex),E(),V("label",ms($t(6,12,"farmTrading.tabs.dispense")())),E(2),V("rows",e.dispenseRows)("selectedIndex",e.selectedDispenseIndex)}}function X6e(t,n){if(t&1){let e=lt();C(0,"section",2)(1,"app-farm-manure-trading-detail",7),ae("rowChange",function(r){he(e);let o=U();return ge(o.onDetailChange(r))})("close",function(){he(e);let r=U();return ge(r.closeDetail())}),x()()}if(t&2){let e=U();E(),V("mode",e.activeTab())("row",e.currentDetail)("index",e.currentIndex)}}var fA=class t{dataSvc=h(ro);navigationSvc=h(ks);rootData=Be(this.dataSvc.data());constructor(){En(()=>{let n=this.dataSvc.data();n!==Ci(()=>this.rootData())&&this.rootData.set(n)}),En(()=>{let n=this.supplyRows(),e=this.dispenseRows(),i=this.selectedSupplyIndex(),r=this.selectedDispenseIndex();i!=null&&(i<0||i>=n.length)&&(this.selectedSupplyIndex.set(null),this.navigationSvc.selectedFarmManureTrading()?.mode==="supply"&&this.navigationSvc.selectedFarmManureTrading.set(null)),r!=null&&(r<0||r>=e.length)&&(this.selectedDispenseIndex.set(null),this.navigationSvc.selectedFarmManureTrading()?.mode==="dispense"&&this.navigationSvc.selectedFarmManureTrading.set(null))}),En(()=>{let n=this.navigationSvc.selectedFarmManureTrading();if(!n)return;let e=this.supplyRows(),i=this.dispenseRows(),r=n.mode==="supply"?e:i;if(n.index<0||n.index>=r.length){this.navigationSvc.selectedFarmManureTrading.set(null);return}this.activeTab()!==n.mode&&this.activeTab.set(n.mode),n.mode==="supply"?this.selectedSupplyIndex()!==n.index&&this.selectedSupplyIndex.set(n.index):this.selectedDispenseIndex()!==n.index&&this.selectedDispenseIndex.set(n.index)})}supplyRows=$e(()=>this.rootData()?.nutrientCycle?.farmManureTrading?.supply??[]);dispenseRows=$e(()=>this.rootData()?.nutrientCycle?.farmManureTrading?.dispense??[]);activeTab=Be("supply");selectedSupplyIndex=Be(null);selectedDispenseIndex=Be(null);currentDetail=$e(()=>{let n=this.activeTab(),e=n==="supply"?this.selectedSupplyIndex():this.selectedDispenseIndex();return e==null||e<0?null:(n==="supply"?this.supplyRows():this.dispenseRows())[e]??null});currentIndex=$e(()=>this.activeTab()==="supply"?this.selectedSupplyIndex():this.selectedDispenseIndex());detailOpen=$e(()=>this.selectedSupplyIndex()!==null||this.selectedDispenseIndex()!==null);activeTabIndex=$e(()=>this.activeTab()==="supply"?0:1);onTabChange(n){let e=n===0?"supply":"dispense";this.activeTab.set(e)}openDetail(n,e){n==="supply"?(this.selectedSupplyIndex.set(e),this.activeTab.set("supply")):(this.selectedDispenseIndex.set(e),this.activeTab.set("dispense"))}closeDetail(){this.activeTab()==="supply"?this.selectedSupplyIndex.set(null):this.selectedDispenseIndex.set(null),this.navigationSvc.selectedFarmManureTrading.set(null)}addEntry(n){let i=[...n==="supply"?this.supplyRows():this.dispenseRows()];i.push(this.createEmptyEntry()),n==="supply"?(this.selectedSupplyIndex.set(i.length-1),this.activeTab.set("supply")):(this.selectedDispenseIndex.set(i.length-1),this.activeTab.set("dispense")),this.patchRows(n,i)}deleteEntry(n,e){let i=[...n==="supply"?this.supplyRows():this.dispenseRows()];if(e<0||e>=i.length)return;i.splice(e,1),this.patchRows(n,i);let r=n==="supply"?this.selectedSupplyIndex:this.selectedDispenseIndex,o=r();o===e?r.set(null):o!=null&&o>e&&r.set(o-1)}onDetailChange(n){let e=this.activeTab(),i=e==="supply"?this.selectedSupplyIndex():this.selectedDispenseIndex();if(i==null||i<0)return;let r=[...e==="supply"?this.supplyRows():this.dispenseRows()],o=r[i],a=Fe(G({},n),{transactionUnit:cA(n?.typeOfManureRecyclingProduct)});if(!o||!n)return;let s=ec(a);Ru(o,s)||(r[i]=s,this.patchRows(e,r))}createEmptyEntry(){return{quantity:void 0,transactionUnit:void 0,typeOfManureRecyclingProduct:void 0,manureDerivation:[],ingredient:[]}}patchRows(n,e){let i=G({},this.rootData()??{}),r=G({},i.nutrientCycle??{}),o=this.cloneTrading(r.farmManureTrading);n==="supply"?o.supply=e:o.dispense=e,r.farmManureTrading=o,i.nutrientCycle=r,this.rootData.set(i),this.dataSvc.setData(i)}cloneTrading(n){let e=Array.isArray(n?.supply)?n?.supply:[],i=Array.isArray(n?.dispense)?n?.dispense:[];return{supply:[...e],dispense:[...i]}}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-farm-manure-trading-master-detail"]],decls:3,vars:1,consts:[[1,"trading-shell"],[1,"list-pane"],[1,"detail-pane"],[1,"trading-tabs",3,"selectedIndexChange","selectedIndex","dynamicHeight"],[3,"label"],["mode","supply",3,"select","add","delete","rows","selectedIndex"],["mode","dispense",3,"select","add","delete","rows","selectedIndex"],[3,"rowChange","close","mode","row","index"]],template:function(e,i){e&1&&(C(0,"div",0),We(1,K6e,8,14,"section",1)(2,X6e,2,3,"section",2),x()),e&2&&(E(),Ke(i.detailOpen()?2:1))},dependencies:[qI,Np,nv,lA,uA,Di],styles:[".trading-shell[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:2rem;width:100%}.list-pane[_ngcontent-%COMP%], .detail-pane[_ngcontent-%COMP%]{min-width:0}.trading-tabs[_ngcontent-%COMP%] .mat-mdc-tab-body-content{padding:1rem 0 0}@media (max-width: 960px){.trading-shell[_ngcontent-%COMP%]{grid-template-columns:1fr}.detail-pane[_ngcontent-%COMP%]{order:2}}"],changeDetection:0})};var xle={type:"Categorization",elements:[{type:"Category",label:"fieldSpreading.tabs.general",options:{categoryKey:"general"},elements:[{type:"Group",label:"fieldSpreading.groups.general",options:{variant:"card"},elements:[{type:"Control",label:"fieldSpreading.fields.soilPh",scope:"#/properties/soilPh",options:{codeList:{key:"soilPh"}}}]},{type:"Group",label:"fieldSpreading.groups.slurry",options:{variant:"card"},elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.slurry.quantity",scope:"#/properties/slurry/properties/quantity"},{type:"Control",label:"fieldSpreading.fields.slurry.dilutionRatio",scope:"#/properties/slurry/properties/dilutionRatio"}]},{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.slurry.applicationDuringWarmDays",scope:"#/properties/slurry/properties/applicationDuringWarmDays",options:{codeList:{key:"applicationDuringWarmDays"}}},{type:"Control",label:"fieldSpreading.fields.slurry.proportionAppliedSummerMonths",scope:"#/properties/slurry/properties/proportionAppliedSummerMonths"},{type:"Control",label:"fieldSpreading.fields.slurry.proportionAppliedOtherMonths",scope:"#/properties/slurry/properties/proportionAppliedOtherMonths"}]},{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.slurry.proportionAppliedAfter6PM",scope:"#/properties/slurry/properties/proportionAppliedAfter6PM"},{type:"Control",label:"fieldSpreading.fields.slurry.dragHoseAreaSize",scope:"#/properties/slurry/properties/dragHoseAreaSize"}]},{type:"Control",label:"fieldSpreading.fields.slurry.otherApplicationTechnologies",scope:"#/properties/slurry/properties/otherApplicationTechnologies",options:{detail:{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.slurry.otherTechnologyType",scope:"#/properties/applicationTechnologyType",options:{codeList:{key:"applicationTechnologyType"}}},{type:"Control",label:"fieldSpreading.fields.slurry.otherTechnologyProportion",scope:"#/properties/proportionOfArea"}]}}}]},{type:"Group",label:"fieldSpreading.groups.manure",options:{variant:"card"},elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.manure.applicationIncorporationTime",scope:"#/properties/manure/properties/applicationIncorporationTime",options:{codeList:{key:"applicationIncorporationTime"}}},{type:"Control",label:"fieldSpreading.fields.manure.proportionAppliedSummerMonths",scope:"#/properties/manure/properties/proportionAppliedSummerMonths"},{type:"Control",label:"fieldSpreading.fields.manure.proportionAppliedOtherMonths",scope:"#/properties/manure/properties/proportionAppliedOtherMonths"}]}]}]},{type:"Category",label:"fieldSpreading.tabs.fertiliser",options:{categoryKey:"fertiliser"},elements:[{type:"Group",label:"fieldSpreading.groups.fertiliser",options:{variant:"card"},elements:[{type:"Control",label:"fieldSpreading.fields.fertiliser.entries",scope:"#/properties/fertiliser",options:{detail:{type:"VerticalLayout",elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.fertiliser.product",scope:"#/properties/fertiliserProductCategory",options:{codeList:{key:"fertiliserProductCategory"}}},{type:"Control",label:"fieldSpreading.fields.fertiliser.transactionUnit",scope:"#/properties/transactionUnit",options:{codeList:{key:"transactionUnit"}}}]},{type:"Control",label:"fieldSpreading.fields.fertiliser.quantity",scope:"#/properties/quantity"},{type:"Control",label:"fieldSpreading.fields.fertiliser.ingredients",scope:"#/properties/ingredient",options:{detail:{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.ingredient.molecularFormula",scope:"#/properties/molecularFormula",options:{codeList:{key:"molecularFormula"}}},{type:"Control",label:"fieldSpreading.fields.ingredient.quantity",scope:"#/properties/quantity"},{type:"Control",label:"fieldSpreading.fields.ingredient.unit",scope:"#/properties/unit",options:{codeList:{key:"ingredientUnit"}}}]}}}]}}}]}]},{type:"Category",label:"fieldSpreading.tabs.recycling",options:{categoryKey:"recycling"},elements:[{type:"Group",label:"fieldSpreading.groups.recycling",options:{variant:"card"},elements:[{type:"Control",label:"fieldSpreading.fields.recycling.entries",scope:"#/properties/recycling",options:{detail:{type:"VerticalLayout",elements:[{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.recycling.product",scope:"#/properties/typeOfManureRecyclingProduct",options:{codeList:{key:"typeOfManureRecyclingProduct"}}},{type:"Control",label:"fieldSpreading.fields.recycling.transactionUnit",scope:"#/properties/transactionUnit",options:{codeList:{key:"transactionUnit"}}}]},{type:"Control",label:"fieldSpreading.fields.recycling.quantity",scope:"#/properties/quantity"},{type:"Control",label:"fieldSpreading.fields.recycling.ingredients",scope:"#/properties/ingredient",options:{detail:{type:"HorizontalLayout",elements:[{type:"Control",label:"fieldSpreading.fields.ingredient.molecularFormula",scope:"#/properties/molecularFormula",options:{codeList:{key:"molecularFormula"}}},{type:"Control",label:"fieldSpreading.fields.ingredient.quantity",scope:"#/properties/quantity"},{type:"Control",label:"fieldSpreading.fields.ingredient.unit",scope:"#/properties/unit",options:{codeList:{key:"ingredientUnit"}}}]}}}]}}}]}]}]};var Z6e=sf,J6e=Z6e.properties?.nutrientCycle?.properties?.fieldSpreading,e9e=U_(bl),mA=class t{dataSvc=h(ro);navigationSvc=h(ks);i18n=h(Jn);rootData=Be(this.dataSvc.data());constructor(){En(()=>{let n=this.dataSvc.data();n!==Ci(()=>this.rootData())&&this.rootData.set(n)}),En(()=>{if(this.navigationSvc.currentPage()!=="field_spreading")return;this.navigationSvc.selectedCategory().page!=="field_spreading"&&this.navigationSvc.setCategory("field_spreading","general")})}schema=$e(()=>j_(J6e,bl));localizedUi=$e(()=>pv(xle,n=>this.i18n.t(n,n)));renderers=[..._c,...pf];ajv=Rs();normalizedFieldSpreading=$e(()=>this.normalizeFieldSpreading(this.rootData()?.nutrientCycle?.fieldSpreading));jsonFormsData=$e(()=>uc(this.normalizedFieldSpreading()));onDataChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(!e||typeof e!="object")return;let i=fc(e),r=z_(i,e9e),o=this.normalizeFieldSpreading(r);this.areFieldSpreadingEqual(o,this.normalizedFieldSpreading())||this.patchFieldSpreading(ec(o))}patchFieldSpreading(n){let e=this.rootData(),i=G({},e??{}),r=G({},i.nutrientCycle??{});r.fieldSpreading=n,i.nutrientCycle=r,this.rootData.set(i),this.dataSvc.setData(i)}normalizeFieldSpreading(n){return{soilPh:n?.soilPh??null,slurry:{quantity:n?.slurry?.quantity??null,dilutionRatio:n?.slurry?.dilutionRatio??null,applicationDuringWarmDays:n?.slurry?.applicationDuringWarmDays??null,proportionAppliedSummerMonths:n?.slurry?.proportionAppliedSummerMonths??null,proportionAppliedOtherMonths:n?.slurry?.proportionAppliedOtherMonths??null,proportionAppliedAfter6PM:n?.slurry?.proportionAppliedAfter6PM??null,dragHoseAreaSize:n?.slurry?.dragHoseAreaSize??null,otherApplicationTechnologies:[...n?.slurry?.otherApplicationTechnologies??[]]},manure:{applicationIncorporationTime:n?.manure?.applicationIncorporationTime??null,proportionAppliedSummerMonths:n?.manure?.proportionAppliedSummerMonths??null,proportionAppliedOtherMonths:n?.manure?.proportionAppliedOtherMonths??null},fertiliser:[...n?.fertiliser??[]],recycling:[...n?.recycling??[]]}}areFieldSpreadingEqual(n,e){return JSON.stringify(n)===JSON.stringify(e)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-field-spreading"]],decls:5,vars:8,consts:[[1,"field-spreading"],[3,"dataChange","data","schema","uischema","renderers","ajv"]],template:function(e,i){e&1&&(C(0,"section",0)(1,"h2"),J(2),Vt(3,"t"),x(),C(4,"jsonforms",1),ae("dataChange",function(o){return i.onDataChange(o)}),x()()),e&2&&(E(2),Se($t(3,6,"fieldSpreading.form.title")()),E(2),V("data",i.jsonFormsData())("schema",i.schema())("uischema",i.localizedUi())("renderers",i.renderers)("ajv",i.ajv))},dependencies:[Na,dc,Di],styles:["[_nghost-%COMP%]{display:block;padding:1rem 0}",".field-spreading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}",".field-spreading[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:500}"],changeDetection:0})};function fa(t,n){return t||n}function vi(t,n){return t[n]}var po=void 0,Wi=null,gU="",DA="function",xC="object",Rd="prototype",_A="__proto__",Op="undefined",vA="constructor",_U="Symbol",_v="length",yA="name",Hr="call",TC="toString",vU="getOwnPropertyDescriptor";var Lo=fa(Object),yU=vi(Lo,Rd),Nle=fa(String),Lp=vi(Nle,Rd),IC=fa(Math),Ole=fa(Array),EA=vi(Ole,Rd),Pd=vi(EA,"slice");var Tle="_polyfill",Ile="__nw21$polytype__";function pi(t,n){try{return{v:t.apply(this,n)}}catch(e){return{e}}}function t9e(t,n,e){var i=pi(t,e);return i.e?n:i.v}var nU;function SA(t){return function(n){return typeof n===t}}function Fle(t){var n="[object "+t+"]";return function(e){return!!(e&&wA(e)===n)}}function wA(t){return yU[TC].call(t)}function fn(t){return typeof t===Op||t===Op}function n9e(t){return t===po}function fe(t){return t===Wi||fn(t)}function bU(t){return t===Wi||t===po}function Lle(t){return!!t||t!==po}function i9e(t){return!nU&&(nU=["string","number","boolean",Op,"symbol","bigint"]),t!==xC&&nU.indexOf(t)!==-1}var Ze=SA("string"),Xe=SA(DA);function Vi(t){return!t&&fe(t)?!1:!!t&&typeof t===xC}var pt=vi(Ole,"isArray"),Vle=Fle("Date"),Dl=SA("number"),AC=SA("boolean");var Vp=Fle("Error");function Ua(t){return!!(t&&t.then&&Xe(t.then))}function _f(t){return!(!t||t9e(function(){return!(t&&0+t)},!t))}function CU(){}function r9e(){return!1}var Li=fa(Nle),o9e="[object Error]";function Le(t,n){var e=gU,i=yU[TC][Hr](t);i===o9e&&(t={stack:Li(t.stack),message:Li(t.message),name:Li(t.name)});try{e=JSON.stringify(t,Wi,n?typeof n=="number"?n:4:po),e=(e?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):Wi)||Li(t)}catch(r){e=" - "+Le(r,n)}return i+": "+e}function Ir(t){throw new Error(t)}function Vo(t){throw new TypeError(t)}function xA(t){bU(t)&&Vo("Cannot convert undefined or null to object")}function a9e(t){Ze(t)||Vo("'"+Le(t)+"' is not a string")}function ho(t,n){return!!t&&yU.hasOwnProperty[Hr](t,n)}var s9e=fa(vi(Lo,vU),CU),El=fa(vi(Lo,"hasOwn"),l9e);function l9e(t,n){return xA(t),ho(t,n)||!!s9e(t,n)}function _t(t,n,e){if(t&&(Vi(t)||Xe(t))){for(var i in t)if(El(t,i)&&n[Hr](e||t,i,t[i])===-1)break}}function Ae(t,n,e){if(t)for(var i=t[_v]>>>0,r=0;r<i&&!(r in t&&n[Hr](e||t,t[r],r,t)===-1);r++);}var Bp=TA;function TA(t,n,e){var i=n?n[t]:Wi;return function(r){var o=(r?r[t]:Wi)||i;if(o||e){var a=arguments;return(o||e).apply(r,o?Pd[Hr](a,1):a)}Vo('"'+Li(t)+'" not defined for '+Le(r))}}function c9e(t){return function(n){return n[t]}}var d9e=fa(vi(Lo,vU),CU);var pA={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function u9e(t){var n={};if(n[pA.c]=!0,n[pA.e]=!0,t.l){n.get=function(){return t.l.v};var e=d9e(t.l,"v");e&&e.set&&(n.set=function(i){t.l.v=i})}return _t(t,function(i,r){n[pA[i]]=n9e(r)?n[pA[i]]:r}),n}var ja=vi(Lo,"defineProperty"),DU=vi(Lo,"defineProperties");function kt(t,n,e){return ja(t,n,u9e(e))}function Ble(t,n,e,i,r){var o={};return _t(t,function(a,s){bA(o,a,n?s:a),bA(o,s,e?s:a)}),i?i(o):o}function bA(t,n,e,i){ja(t,n,{value:e,enumerable:!0,writable:!1})}var f9e=fa(vi(Lo,"isFrozen"),r9e);var jle=vi(Lo,"freeze");function m9e(t){return t}function p9e(t){return xA(t),t[_A]||Wi}var yv=vi(Lo,"assign"),go=vi(Lo,"keys");function Ule(t,n){if((pt(t)||Vi(t)||Xe(t))&&!f9e(t)){for(var e=0;e<n.length;e++)if(n[e]===t)return t;n.push(t),_t(t,function(i,r){Ule(r,n)}),_o(t)}return t}function Ps(t){return jle?Ule(t,[]):t}var _o=fa(jle,m9e);var hU=fa(vi(Lo,"getPrototypeOf"),p9e);function zle(t){return Ble(t,1,0,_o)}function h9e(t){return Ble(t,0,0,_o)}function g9e(t){var n={};return _t(t,function(e,i){bA(n,e,i[1]),bA(n,i[0],i[1])}),_o(n)}function Hle(t){return g9e(t)}var $le=h9e({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Ale="__tsUtils$gblCfg",iU;function Gle(){var t;return typeof globalThis!==Op&&(t=globalThis),!t&&typeof self!==Op&&(t=self),!t&&typeof window!==Op&&(t=window),!t&&typeof global!==Op&&(t=global),t}function IA(){if(!iU){var t=pi(Gle).v||{};iU=t[Ale]=t[Ale]||{}}return iU}var AA=vi(IC,"min"),jp=vi(IC,"max"),Mle=Bp("slice",Lp),Ar=Bp("substring",Lp),Sl=TA("substr",Lp,_9e);function _9e(t,n,e){return xA(t),e<0?gU:(n=n||0,n<0&&(n=jp(n+t[_v],0)),fn(e)?Mle(t,n):Mle(t,n,n+e))}function bv(t,n){return Ar(t,0,n)}function v9e(t,n){return t&&(pi(function(){t[Tle]=!0,t[Ile]=n}),pi(kt,[t,Tle,{v:!0,w:!1,e:!1}]),pi(kt,[t,Ile,{v:n,w:!1,e:!1}])),t}var wl=fa(vi(Lo,"create"),y9e);function y9e(t,n){var e=null;function i(){}if(bU(t))e={};else{var r=typeof t;r!==xC&&r!==DA&&Vo("Prototype must be an Object or function: "+Le(t)),i[Rd]=t,pi(function(){i[_A]=t}),e=new i}return n&&pi(DU,[e,n]),e}function Xi(){return(Date.now||b9e)()}function b9e(){return new Date().getTime()}function Fp(t,n,e){return t.apply(n,e)}var Ki;function vf(){Ki=IA()}function EU(t,n){var e={};return!Ki&&vf(),e.b=Ki.lzy,ja(e,"v",{configurable:!0,get:function(){var i=Fp(t,null,n);return Ki.lzy||ja(e,"v",{value:i}),e.b=Ki.lzy,i}}),e}var C9e=vi(IC,"random"),D9e=EU(function(){for(var t=Xi().toString(36).slice(2);t.length<16;)t+=C9e().toString(36).slice(2);return t=t.substring(0,16),t}),kle="_urid",E9e="$nw21sym",rU,S9e=0;function w9e(){if(!rU){var t=IA();rU=t.gblSym=t.gblSym||{k:{},s:{}}}return rU}var hA;function SU(t){var n="_"+S9e+++"_"+D9e.v,e=_U+"("+t+")";function i(o,a){kt(r,o,{v:a,e:!1,w:!1})}var r=wl(null);return i("description",Li(t)),i(TC,function(){return e+E9e+n}),i("valueOf",function(){return r}),i("v",e),i("_uid",n),v9e(r,"symbol")}function x9e(t){var n=w9e();if(!El(n.k,t)){var e=SU(t),i=go(n.s).length;e[kle]=function(){return i+"_"+e[TC]()},n.k[t]=e,n.s[e[kle]()]=Li(t)}return n.k[t]}function T9e(t){!hA&&(hA={});var n,e=$le[t];return e&&(n=hA[e]=hA[e]||SU(_U+"."+e)),n}function za(t){return ja({toJSON:function(){return t}},"v",{value:t})}var qle="window",wC;function Cv(t,n){var e;return function(){return!Ki&&vf(),(!e||Ki.lzy)&&(e=za(pi(t,n).v)),e.v}}function Bi(t){return!Ki&&vf(),(!wC||t===!1||Ki.lzy)&&(wC=za(pi(Gle).v||Wi)),wC.v}function Mn(t,n){var e;if(!wC||n===!1?e=Bi(n):e=wC.v,e&&e[t])return e[t];if(t===qle)try{return window}catch{}return Wi}function MC(){return!!ti()}var ti=Cv(Mn,["document"]);function yf(){return!!Qi()}var Qi=Cv(Mn,[qle]);function wU(){return!!$r()}var $r=Cv(Mn,["navigator"]);function xU(){return!!MA()}var MA=Cv(Mn,["history"]),Yle=Cv(function(){return!!pi(function(){return process&&(process.versions||{}).node}).v}),kA=Cv(function(){return!!pi(function(){return self&&self instanceof WorkerGlobalScope}).v}),vv,oU;function RA(){return vv=za(pi(Mn,[_U]).v),vv}function I9e(t){var n=(Ki.lzy?0:vv)||RA();return n.v?n.v[t]:po}function Wle(){return!!A9e()}function A9e(){return!Ki&&vf(),((Ki.lzy?0:vv)||RA()).v}function kC(t,n){var e=$le[t];!Ki&&vf();var i=(Ki.lzy?0:vv)||RA();return i.v?i.v[e||t]:n?po:T9e(t)}function Dv(t,n){!Ki&&vf();var e=(Ki.lzy?0:vv)||RA();return e.v?e.v(t):n?Wi:SU(t)}function PA(t){return!Ki&&vf(),oU=(Ki.lzy?0:oU)||za(pi(I9e,["for"]).v),(oU.v||x9e)(t)}function CA(t){return!!t&&Xe(t.next)}function TU(t){return!bU(t)&&Xe(t[kC(3)])}var gA;function NA(t,n,e){if(t&&(CA(t)||(!gA&&(gA=za(kC(3))),t=t[gA.v]?t[gA.v]():Wi),CA(t))){var i=po,r=po;try{for(var o=0;!(r=t.next()).done&&n[Hr](e||t,r.value,o,t)!==-1;)o++}catch(a){i={e:a},t.throw&&(r=Wi,t.throw(i))}finally{try{r&&!r.done&&t.return&&t.return(r)}finally{if(i)throw i.e}}}}function Nd(t,n){return!fn(n)&&t&&(pt(n)?Fp(t.push,t,n):CA(n)||TU(n)?NA(n,function(e){t.push(e)}):t.push(n)),t}var Xn=Bp("indexOf",EA);var Up=Bp("map",EA);function Ev(t,n,e){return((t?t.slice:Wi)||Pd).apply(t,Pd[Hr](arguments,1))}var IU=Bp("reduce",EA);var aU,Kle=fa(vi(Lo,"setPrototypeOf"),M9e);function M9e(t,n){var e;return!aU&&(aU=za((e={},e[_A]=[],e instanceof Array))),aU.v?t[_A]=n:_t(n,function(i,r){return t[i]=r}),t}function k9e(t,n,e){pi(kt,[n,yA,{v:t,c:!0,e:!1}]),n=Kle(n,e);function i(){this[vA]=n,pi(kt,[this,yA,{v:t,c:!0,e:!1}])}return n[Rd]=e===Wi?wl(e):(i[Rd]=e[Rd],new i),n}function Rle(t,n){n&&(t[yA]=n)}function OA(t,n,e){var i=e||Error,r=i[Rd][yA],o=Error.captureStackTrace;return k9e(t,function(){var a=this,s=arguments;try{pi(Rle,[i,t]);var l=Fp(i,a,Pd[Hr](s))||a;if(l!==a){var c=hU(a);c!==hU(l)&&Kle(l,c)}return o&&o(l,a[vA]),n&&n(l,s),l}finally{pi(Rle,[i,r])}},i)}var sU;function Xle(t){throw sU||(sU=OA("UnsupportedError")),new sU(t)}function R9e(t){return function(e){return xA(e),e&&e.replace&&(e=e.replace(t,gU)),e}}var P9e=R9e(/^\s+|(?=\s)\s+$/g);var gn=TA("trim",Lp,P9e);var Mr=vi(IC,"floor");var lU,cU,dU;function Zi(t){if(!t||typeof t!==xC)return!1;dU||(dU=yf()?Qi():!0);var n=!1;if(t!==dU){cU||(lU=Function[Rd][TC],cU=lU[Hr](Lo));try{var e=hU(t);n=!e,n||(ho(e,vA)&&(e=e[vA]),n=!!(e&&typeof e===DA&&lU[Hr](e)===cU))}catch{}}return n}function N9e(t){return t.value&&Zle(t),!0}var Ple=[V9e,Zle,j9e,B9e];function O9e(t,n,e,i){var r;return Ae(t,function(o){if(o.k===n)return r=o,-1}),r||(r={k:n,v:n},t.push(r),i(r)),r.v}function AU(t,n,e,i){var r=e.handler,o=e.path?i?e.path.concat(i):e.path:[],a={handler:e.handler,src:e.src,path:o},s=typeof n,l=!1,c=n===Wi;c||(n&&s===xC?l=Zi(n):c=i9e(s));var d={type:s,isPrim:c,isPlain:l,value:n,result:n,path:o,origin:e.src,copy:function(u,m){return AU(t,u,m?a:e,m)},copyTo:function(u,m){return Qle(t,u,m,a)}};return d.isPrim?r&&r[Hr](e,d)?d.result:n:O9e(t,n,o,function(u){kt(d,"result",{g:function(){return u.v},s:function(p){u.v=p}});for(var m=0,f=r;!(f||(m<Ple.length?Ple[m++]:N9e))[Hr](e,d);)f=Wi})}function Qle(t,n,e,i){if(!fe(e))for(var r in e)n[r]=AU(t,e[r],i,r);return n}function F9e(t,n,e){var i={handler:e,src:n,path:[]};return Qle([],t,n,i)}function L9e(t,n){var e={handler:n,src:t};return AU([],t,e)}function V9e(t){var n=t.value;if(pt(n)){var e=t.result=[];return e.length=n.length,t.copyTo(e,n),!0}return!1}function B9e(t){var n=t.value;return Vle(n)?(t.result=new Date(n.getTime()),!0):!1}function j9e(t){return t.type===DA}function Zle(t){var n=t.value;if(n&&t.isPlain){var e=t.result={};return t.copyTo(e,n),!0}return!1}function Jle(t,n){return Ae(n,function(e){F9e(t,e)}),t}function MU(t,n,e,i,r,o,a){return Jle(L9e(t)||{},Pd[Hr](arguments))}function ece(t,n,e,i,r,o,a){return Jle(t||{},Pd[Hr](arguments))}var kU=Bp("split",Lp);function RU(t,n,e){if(t&&n){var i=kU(n,"."),r=i.pop();Ae(i,function(o){fe(t[o])&&(t[o]={}),t=t[o]}),t[r]=e}}var PU=c9e(_v);var uU;function Bo(){return!Ki&&vf(),(!uU||Ki.lzy)&&(uU=za(pi(Mn,["performance"]).v)),uU.v}var FA=vi(IC,"round");var tce=fa(vi(Lo,vU),CU);var RC=TA("endsWith",Lp,U9e);function U9e(t,n,e){a9e(t);var i=Ze(n)?n:Li(n),r=!fn(e)&&e<t[_v]?e:t[_v];return Ar(t,r-i[_v],r)===i}var Fn=Bp("indexOf",Lp);var fU="ref",mU="unref",pU="hasRef",z9e="enabled";function H9e(t,n,e){var i=!0,r=t?n(Wi):Wi,o;function a(){return i=!1,r&&r[mU]&&r[mU](),o}function s(){r&&e(r),r=Wi}function l(){return r=n(r),i||a(),o}function c(d){!d&&r&&s(),d&&!r&&l()}return o={cancel:s,refresh:l},o[pU]=function(){return r&&r[pU]?r[pU]():i},o[fU]=function(){return i=!0,r&&r[fU]&&r[fU](),o},o[mU]=a,o=ja(o,z9e,{get:function(){return!!r},set:c}),{h:o,dn:function(){r=Wi}}}var $9e,G9e;function q9e(t){var n=Xe(t)?t:$9e;if(!n){var e=IA().tmOut||[];pt(e)&&e.length>0&&Xe(e[0])&&(n=e[0])}return n||setTimeout}function Y9e(t){var n=Xe(t)?t:G9e;if(!n){var e=IA().tmOut||[];pt(e)&&e.length>1&&Xe(e[1])&&(n=e[1])}return n||clearTimeout}function nce(t,n,e){var i=pt(n),r=i?n.length:0,o=q9e(r>0?n[0]:i?po:n),a=Y9e(r>1?n[1]:po),s=e[0];e[0]=function(){l.dn(),Fp(s,po,Pd[Hr](arguments))};var l=H9e(t,function(c){if(c){if(c.refresh)return c.refresh(),c;Fp(a,po,[c])}return Fp(o,po,e)},function(c){Fp(a,po,[c])});return l.h}function ji(t,n){return nce(!0,po,Pd[Hr](arguments))}function ice(t,n){return nce(!1,po,Pd[Hr](arguments))}var LA;var UA="constructor",Od="prototype",zA="function",HA="_dynInstFuncs",FU="_isDynProxy",Sv="_dynClass",W9e="_dynCls$",LU="_dynInstChk",PC=LU,lce="_dfOpts",rce="_unknown_",jU="__proto__",VA="_dyn"+jU,oce="__dynProto$Gbl",NU="_dynInstProto",BA="useBaseInst",VU="setInstFuncs",UU=Object,NC=UU.getPrototypeOf,ace=UU.getOwnPropertyNames,sce=Bi(),BU=sce[oce]||(sce[oce]={o:(LA={},LA[VU]=!0,LA[BA]=!0,LA),n:1e3});function jA(t){return t&&(t===UU[Od]||t===Array[Od])}function zU(t){return jA(t)||t===Function[Od]}function zp(t){var n;if(t){if(NC)return NC(t);var e=t[jU]||t[Od]||(t[UA]?t[UA][Od]:null);n=t[VA]||e,ho(t,VA)||(delete t[NU],n=t[VA]=t[NU]||t[VA],t[NU]=e)}return n}function $A(t,n){var e=[];if(ace)e=ace(t);else for(var i in t)typeof i=="string"&&ho(t,i)&&e.push(i);if(e&&e.length>0)for(var r=0;r<e.length;r++)n(e[r])}function HU(t,n,e){return n!==UA&&typeof t[n]===zA&&(e||ho(t,n))&&n!==jU&&n!==Od}function GA(t){Vo("DynamicProto: "+t)}function K9e(t){var n=wl(null);return $A(t,function(e){!n[e]&&HU(t,e,!1)&&(n[e]=t[e])}),n}function $U(t,n){for(var e=t.length-1;e>=0;e--)if(t[e]===n)return!0;return!1}function X9e(t,n,e,i){function r(l,c,d){var u=c[d];if(u[FU]&&i){var m=l[HA]||{};m[PC]!==!1&&(u=(m[c[Sv]]||{})[d]||u)}return function(){return u.apply(l,arguments)}}var o=wl(null);$A(e,function(l){o[l]=r(n,e,l)});for(var a=zp(t),s=[];a&&!zU(a)&&!$U(s,a);)$A(a,function(l){!o[l]&&HU(a,l,!NC)&&(o[l]=r(n,a,l))}),s.push(a),a=zp(a);return o}function Q9e(t,n,e,i){var r=null;if(t&&ho(e,Sv)){var o=t[HA]||wl(null);if(r=(o[e[Sv]]||wl(null))[n],r||GA("Missing ["+n+"] "+zA),!r[LU]&&o[PC]!==!1){for(var a=!ho(t,n),s=zp(t),l=[];a&&s&&!zU(s)&&!$U(l,s);){var c=s[n];if(c){a=c===i;break}l.push(s),s=zp(s)}try{a&&(t[n]=r),r[LU]=1}catch{o[PC]=!1}}}return r}function Z9e(t,n,e){var i=n[t];return i===e&&(i=zp(n)[t]),typeof i!==zA&&GA("["+t+"] is not a "+zA),i}function J9e(t,n,e,i,r){function o(l,c){var d=function(){var u=Q9e(this,c,l,d)||Z9e(c,l,d);return u.apply(this,arguments)};return d[FU]=1,d}if(!jA(t)){var a=e[HA]=e[HA]||wl(null);if(!jA(a)){var s=a[n]=a[n]||wl(null);a[PC]!==!1&&(a[PC]=!!r),jA(s)||$A(e,function(l){HU(e,l,!1)&&e[l]!==i[l]&&(s[l]=e[l],delete e[l],(!ho(t,l)||t[l]&&!t[l][FU])&&(t[l]=o(t,l)))})}}}function eKe(t,n){if(NC){for(var e=[],i=zp(n);i&&!zU(i)&&!$U(e,i);){if(i===t)return!0;e.push(i),i=zp(i)}return!1}return!0}function OU(t,n){return ho(t,Od)?t.name||n||rce:((t||{})[UA]||{}).name||n||rce}function Lt(t,n,e,i){ho(t,Od)||GA("theClass is an invalid class definition.");var r=t[Od];eKe(r,n)||GA("["+OU(t)+"] not in hierarchy of ["+OU(n)+"]");var o=null;ho(r,Sv)?o=r[Sv]:(o=W9e+OU(t,"_")+"$"+BU.n,BU.n++,r[Sv]=o);var a=Lt[lce],s=!!a[BA];s&&i&&i[BA]!==void 0&&(s=!!i[BA]);var l=K9e(n),c=X9e(r,n,l,s);e(n,c);var d=!!NC&&!!a[VU];d&&i&&(d=!!i[VU]),J9e(r,o,n,l,d!==!1)}Lt[lce]=BU.o;var wv="function",OC="object",Hp="undefined",vo="prototype";var xv=Object,GU=xv[vo];var VUt=(Bi()||{}).Symbol,BUt=(Bi()||{}).Reflect;var cce="hasOwnProperty",nKe=function(t){for(var n,e=1,i=arguments.length;e<i;e++){n=arguments[e];for(var r in n)GU[cce].call(n,r)&&(t[r]=n[r])}return t},Ui=yv||nKe,qU=function(t,n){return qU=xv.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)i[cce](r)&&(e[r]=i[r])},qU(t,n)};function kr(t,n){typeof n!==wv&&n!==null&&Vo("Class extends value "+String(n)+" is not a constructor or null"),qU(t,n);function e(){this.constructor=t}t[vo]=n===null?wl(n):(e[vo]=n[vo],new e)}function qA(t,n){for(var e=0,i=n.length,r=t.length;e<i;e++,r++)t[r]=n[e];return t}var FC=zle,YU=Hle;var xl=FC({NONE:0,PENDING:3,INACTIVE:1,ACTIVE:2});var Tl="toLowerCase",qe="length",Tv="warnToConsole",Fd="throwInternal",bc="watch",Ns="apply",St="push",ma="splice",ai="logger",Cc="cancel",Ld="initialize",Dc="identifier",Iv="removeNotificationListener",Av="addNotificationListener",pa="isInitialized",LC="getNotifyMgr",bf="getPlugin",Ha="name",fr="processNext",YA="getProcessTelContext",Vd="value",Cf="enabled",WU="stopPollingInternalLogs",Os="unload",VC="onComplete",BC="version",WA="loggingLevelConsole",Ec="createNew",$a="teardown",Mv="messageId",Sc="message",ha="diagLog",Df="_doTeardown",$p="update",Ga="getNext",Ef="setNextPlugin",jC="userAgent",Fs="split",Il="replace",UC="substring",zC="indexOf",Bd="type",KU="evtName",Al="status",XU="getAllResponseHeaders",HC="isChildEvt",qa="data",Gp="getCtx",Ml="setCtx",QU="itemsReceived",$C="headers",kv="urlString",qp="timeout";var GC="traceFlags",KA="getAttribute";var ZU;function dce(t,n){ZU||(ZU=OA("AggregationError",function(i,r){r[qe]>1&&(i.errors=r[1])}));var e=t||"One or more errors occurred.";throw Ae(n,function(i,r){e+=`
|
|
66
|
+
`.concat(r," > ").concat(Le(i))}),new ZU(e,n||[])}var QA="Promise";var az="rejected";function zi(t,n){return ZA(t,function(e){return n?n({status:"fulfilled",rejected:!1,value:e}):e},function(e){return n?n({status:az,rejected:!0,reason:e}):e})}function ZA(t,n,e,i){var r=t;try{if(Ua(t))(n||e)&&(r=t.then(n,e));else try{n&&(r=n(t))}catch(o){if(e)r=e(o);else throw o}}finally{i&&iKe(r,i)}return r}function iKe(t,n){var e=t;return n&&(Ua(t)?t.finally?e=t.finally(n):e=t.then(function(i){return n(),i},function(i){throw n(),i}):n()),e}var JU,ez,tz,uce=!1;function rKe(t,n,e,i){JU=JU||{toString:function(){return"[[PromiseState]]"}},ez=ez||{toString:function(){return"[[PromiseResult]]"}},tz=tz||{toString:function(){return"[[PromiseIsHandled]]"}};var r={};r[JU]={get:n},r[ez]={get:e},r[tz]={get:i},DU(t,r)}var pce=["pending","resolving","resolved",az],fce="dispatchEvent",XA;function oKe(t){var n;return t&&t.createEvent&&(n=t.createEvent("Event")),!!n&&n.initEvent}function aKe(t,n,e,i){var r=ti();!XA&&(XA=za(!!pi(oKe,[r]).v));var o=XA.v?r.createEvent("Event"):i?new Event(n):{};if(e&&e(o),XA.v&&o.initEvent(n,!1,!0),o&&t[fce])t[fce](o);else{var a=t["on"+n];if(a)a(o);else{var s=Mn("console");s&&(s.error||s.log)(n,Le(o))}}}var hce="unhandledRejection",sKe=hce.toLowerCase(),qC=[],lKe=0,cKe=10;var nz;function mce(t){return Xe(t)?t.toString():Le(t)}function gce(t,n,e){var i=Ev(arguments,3),r=0,o=!1,a,s=[],l=lKe++,c=qC.length>0?qC[qC.length-1]:void 0,d=!1,u=null,m;function f(F,W){try{qC.push(l),d=!0,u&&u.cancel(),u=null;var j=t(function(k,Y){s.push(function(){try{var Q=r===2?F:W,ce=fn(Q)?a:Xe(Q)?Q(a):Q;Ua(ce)?ce.then(k,Y):Q?k(ce):r===3?Y(ce):k(ce)}catch(ie){Y(ie)}}),o&&v()},i);return j}finally{qC.pop()}}function p(F){return f(void 0,F)}function g(F){var W=F,j=F;return Xe(F)&&(W=function(k){return F&&F(),k},j=function(k){throw F&&F(),k}),f(W,j)}function _(){return pce[r]}function v(){if(s.length>0){var F=s.slice();s=[],d=!0,u&&u.cancel(),u=null,n(F)}}function D(F,W){return function(j){if(r===W){if(F===2&&Ua(j)){r=1,j.then(D(2,1),D(3,1));return}r=F,o=!0,a=j,v(),!d&&F===3&&!u&&(u=ji(O,cKe))}}}function O(){if(!d)if(d=!0,Yle())process.emit(hce,a,m);else{var F=Qi()||Bi();!nz&&(nz=za(pi(Mn,[QA+"RejectionEvent"]).v)),aKe(F,sKe,function(W){return kt(W,"promise",{g:function(){return m}}),W.reason=a,W},!!nz.v)}}m={then:f,catch:p,finally:g},ja(m,"state",{get:_}),uce&&rKe(m,_,function(){return wA(a)},function(){return d}),Wle()&&(m[kC(11)]="IPromise");function B(){return"IPromise"+(uce?"["+l+(fn(c)?"":":"+c)+"]":"")+" "+_()+(o?" - "+mce(a):"")}return m.toString=B,(function(){Xe(e)||Vo(QA+": executor is not a function - "+mce(e));var W=D(3,0);try{e.call(m,D(2,0),W)}catch(j){W(j)}})(),m}function dKe(t){return function(n){var e=Ev(arguments,1);return t(function(i,r){try{var o=[],a=1;NA(n,function(s,l){s&&(a++,ZA(s,function(c){o[l]=c,--a===0&&i(o)},r))}),a--,a===0&&i(o)}catch(s){r(s)}},e)}}function uKe(t){return za(function(n){var e=Ev(arguments,1);return t(function(i,r){var o=[],a=1;function s(l,c){a++,zi(l,function(d){d.rejected?o[c]={status:az,reason:d.reason}:o[c]={status:"fulfilled",value:d.value},--a===0&&i(o)})}try{pt(n)?Ae(n,s):TU(n)?NA(n,s):Vo("Input is not an iterable"),a--,a===0&&i(o)}catch(l){r(l)}},e)})}function _ce(t){Ae(t,function(n){try{n()}catch{}})}function fKe(t){var n=Dl(t)?t:0;return function(e){ji(function(){_ce(e)},n)}}function vce(t,n){return gce(vce,fKe(n),t,n)}var iz;function mKe(t,n){!iz&&(iz=za(pi(Mn,[QA]).v||null));var e=iz.v;if(!e)return vce(t);Xe(t)||Vo(QA+": executor is not a function - "+Le(t));var i=0;function r(){return pce[i]}var o=new e(function(a,s){function l(d){i=2,a(d)}function c(d){i=3,s(d)}t(l,c)});return ja(o,"state",{get:r}),o}var rz;function Rv(t){return gce(Rv,_ce,t)}function yce(t,n){return!rz&&(rz=uKe(Rv)),rz.v(t,n)}var oz;function yo(t,n){return!oz&&(oz=za(mKe)),oz.v.call(this,t,n)}var bce=dKe(yo);var _zt=kC(11);var Ya=void 0,Bt="",Yp="channels",xi="core",JA="createPerfMgr",YC="disabled",jd="extensionConfig",Wp="extensions",ga="processTelemetry",Kp="priority",Pv="eventsSent",Sf="eventsDiscarded",Nv="eventsSendRequest",wc="perfEvent",eM="offlineEventsStored",tM="offlineBatchSent",nM="offlineBatchDrop",Ov="getPerfMgr",iM="domain",rM="path",Cce="Not dynamic - ",Dce="REDACTED",sz=["sig","Signature","AWSAccessKeyId","X-Goog-Signature"];var pKe="getPrototypeOf",hKe=/-([a-z])/g,gKe=/([^\w\d_$])/g,_Ke=/^(\d+[\w\d_$])/,Sce=Object[pKe];function Ls(t){return!fe(t)}function Xp(t){var n=t;return n&&Ze(n)&&(n=n[Il](hKe,function(e,i){return i.toUpperCase()}),n=n[Il](gKe,"_"),n=n[Il](_Ke,function(e,i){return"_"+i})),n}function mr(t,n){return t&&n?Fn(t,n)!==-1:!1}function Vs(t){return t&&t.toISOString()||""}function Qt(t){return Vp(t)?t[Ha]:Bt}function Ln(t,n,e,i,r){var o=e;return t&&(o=t[n],o!==e&&(!r||r(o))&&(!i||i(e))&&(o=e,t[n]=o)),o}function pr(t,n,e){var i;return t?(i=t[n],!i&&fe(i)&&(i=fn(e)?{}:e,t[n]=i)):i=fn(e)?{}:e,i}function wce(t,n){var e=null,i=null;return Xe(t)?e=t:i=t,function(){var r=arguments;if(e&&(i=e()),i)return i[n][Ns](i,r)}}function lz(t,n,e){if(t&&n&&Vi(t)&&Vi(n)){var i=function(o){if(Ze(o)){var a=n[o];Xe(a)?(!e||e(o,!0,n,t))&&(t[o]=wce(n,o)):(!e||e(o,!1,n,t))&&(El(t,o)&&delete t[o],kt(t,o,{g:function(){return n[o]},s:function(s){n[o]=s}}))}};for(var r in n)i(r)}return t}function Qp(t,n,e,i,r){t&&n&&e&&(r!==!1||fn(t[n]))&&(t[n]=wce(e,i))}function wf(t,n,e,i){return t&&n&&Vi(t)&&pt(e)&&Ae(e,function(r){Ze(r)&&Qp(t,r,n,r,i)}),t}function cz(t){return(function(){function n(){var e=this;t&&_t(t,function(i,r){e[i]=r})}return n})()}function aM(t){return t&&yv&&(t=xv(yv({},t))),t}function sM(t,n,e,i,r,o){var a=arguments,s=a[0]||{},l=a[qe],c=!1,d=1;for(l>0&&AC(s)&&(c=s,s=a[d]||{},d++),Vi(s)||(s={});d<l;d++){var u=a[d],m=pt(u),f=Vi(u);for(var p in u){var g=m&&p in u||f&&El(u,p);if(g){var _=u[p],v=void 0;if(c&&_&&((v=pt(_))||Zi(_))){var D=s[p];v?pt(D)||(D=[]):Zi(D)||(D={}),_=sM(c,D,_)}_!==void 0&&(s[p]=_)}}}return s}function Zp(t,n,e){var i=n&&n.featureOptIn&&n.featureOptIn[t];if(t&&i){var r=i.mode;if(r===3)return!0;if(r===2)return!1}return e}function Fv(t){try{return t.responseText}catch{}return null}function WC(t,n){return t?"XDomainRequest,Response:"+Fv(t)||"":n}function Jp(t,n){return t?"XMLHttpRequest,Status:"+t[Al]+",Response:"+Fv(t)||t.response||"":n}function lM(t,n){return n&&(Dl(n)?t=[n].concat(t):pt(n)&&(t=n.concat(t))),t}var vKe="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Ece="withCredentials",yKe="timeout";function dz(t,n,e,i,r,o){i===void 0&&(i=!1),r===void 0&&(r=!1);function a(l,c,d){try{l[c]=d}catch{}}var s=new XMLHttpRequest;return i&&a(s,vKe,i),e&&a(s,Ece,e),s.open(t,n,!r),e&&a(s,Ece,e),!r&&o&&a(s,yKe,o),s}function xce(t){var n={};if(Ze(t)){var e=gn(t)[Fs](/[\r\n]+/);Ae(e,function(i){if(i){var r=i[zC](": ");if(r!==-1){var o=gn(i.substring(0,r))[Tl](),a=gn(i[UC](r+1));n[o]=a}else n[gn(i)]=1}})}return n}function oM(t,n,e){if(!t[e]&&n&&n.getResponseHeader){var i=n.getResponseHeader(e);i&&(t[e]=gn(i))}return t}var bKe="kill-duration",CKe="kill-duration-seconds",DKe="time-delta-millis";function KC(t,n){var e={};return t[XU]?e=xce(t[XU]()):n&&(e=oM(e,t,DKe),e=oM(e,t,bKe),e=oM(e,t,CKe)),e}var EKe="documentMode",SKe="location",wKe="console",Tce="JSON",xKe="crypto",TKe="msCrypto",IKe="ReactNative",pz="msie",hz="trident/",Ice="XMLHttpRequest",uz=null,fz=null,AKe=!1,Lv=null,mz=null;function Ace(t,n){var e=!1;if(t){try{if(e=n in t,!e){var i=t[vo];i&&(e=n in i)}}catch{}if(!e)try{var r=new t;e=!fn(r[n])}catch{}}return e}function Gr(t){if(t&&AKe){var n=Mn("__mockLocation");if(n)return n}return typeof location===OC&&location?location:Mn(SKe)}function gz(){return typeof console!==Hp?console:Mn(wKe)}function xc(){return!!(typeof JSON===OC&&JSON||Mn(Tce)!==null)}function Ji(){return xc()?JSON||Mn(Tce):null}function _z(){return Mn(xKe)}function vz(){return Mn(TKe)}function yz(){var t=$r();return t&&t.product?t.product===IKe:!1}function Vv(){var t=$r();if(t&&(t[jC]!==fz||uz===null)){fz=t[jC];var n=(fz||Bt)[Tl]();uz=mr(n,pz)||mr(n,hz)}return uz}function XC(t){if(t===void 0&&(t=null),!t){var n=$r()||{};t=n?(n.userAgent||Bt)[Tl]():Bt}var e=(t||Bt)[Tl]();if(mr(e,pz)){var i=ti()||{};return jp(parseInt(e[Fs](pz)[1]),i[EKe]||0)}else if(mr(e,hz)){var r=parseInt(e[Fs](hz)[1]);if(r)return r+4}return null}function Ud(t){return(mz===null||t===!1)&&(mz=wU()&&!!$r().sendBeacon),mz}function eh(t){var n=!1;try{n=!!Mn("fetch");var e=Mn("Request");n&&t&&e&&(n=Ace(e,"keepalive"))}catch{}return n}function bz(){return Lv===null&&(Lv=typeof XDomainRequest!==Hp,Lv&&xf()&&(Lv=Lv&&!Ace(Mn(Ice),"withCredentials"))),Lv}function xf(){var t=!1;try{var n=Mn(Ice);t=!!n}catch{}return t}function Mce(t,n){return t&&t.dispatchEvent&&n?(t.dispatchEvent(n),!0):!1}function kce(t,n){var e=null,i={detail:n||null};if(Xe(CustomEvent))e=new CustomEvent(t,i);else{var r=ti();r&&r.createEvent&&(e=r.createEvent("CustomEvent"),e.initCustomEvent(t,!0,!0,i))}return e}function Cz(t,n,e){var i=Bi();if(i&&i.CustomEvent)try{var r={cfg:n||null,customDetails:e||null};return Mce(i,kce(t,r))}catch{}return!1}function MKe(t){return t.replace(/^([a-zA-Z][a-zA-Z0-9+.-]*:\/\/)([^:@]{1,200}):([^@]{1,200})@(.*)$/,"$1REDACTED:REDACTED@$4")}function kKe(t,n){var e,i=Fn(t,"?");if(i===-1)return t;n&&n.redactQueryParams?e=sz.concat(n.redactQueryParams):e=sz;var r=Ar(t,0,i+1),o=Ar(t,i+1),a=Bt,s=Fn(o,"#");s!==-1&&(a=Ar(o,s),o=Ar(o,0,s));for(var l=!1,c=0;c<e[qe];c++){var d=e[c]+"=";if(Fn(o,d)!==-1){l=!0;break}}if(!l)return t;var u=[],m=!1;if(o&&o[qe])for(var f=o[Fs]("&"),c=0;c<f[qe];c++){var p=f[c];if(p){var g=Fn(p,"=");if(g===-1)u[St](p);else{var _=p[UC](0,g),v=p[UC](g+1);if(v===Bt)u[St](p);else{for(var D=!1,O=0;O<e[qe];O++)if(_===e[O]){D=!0,m=!0;break}D?u[St](_+"="+Dce):u[St](p)}}}}return m?r+u.join("&")+a:t}function jo(t,n){if(!t||t[zC](" ")!==-1)return t;var e=n&&n.redactUrls===!1;if(e)return t;var i=Fn(t,"@")!==-1,r=Fn(t,"?")!==-1;if(!i&&!r)return t;try{var o=t;return i&&(o=MKe(t)),r&&(o=kKe(o,n)),o}catch{return t}}var Rce=4294967296,Tf=4294967295,Pce=123456789,Nce=987654321,Oce=!1,QC=Pce,ZC=Nce;function RKe(t){t<0&&(t>>>=0),QC=Pce+t&Tf,ZC=Nce-t&Tf,Oce=!0}function PKe(){try{var t=Xi()&2147483647;RKe((Math.random()*Rce^t)+t)}catch{}}function Dz(t){return t>0?Mr(th()/Tf*(t+1))>>>0:0}function th(t){var n=0,e=_z()||vz();return e&&e.getRandomValues&&(n=e.getRandomValues(new Uint32Array(1))[0]&Tf),n===0&&Vv()&&(Oce||PKe(),n=Fce()&Tf),n===0&&(n=Mr(Rce*Math.random()|0)),t||(n>>>=0),n}function Fce(t){ZC=36969*(ZC&65535)+(ZC>>16)&Tf,QC=18e3*(QC&65535)+(QC>>16)&Tf;var n=(ZC<<16)+(QC&65535)>>>0&Tf|0;return t||(n>>>=0),n}function nh(t){t===void 0&&(t=22);for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=th()>>>0,i=0,r=Bt;r[qe]<t;)i++,r+=n.charAt(e&63),e>>>=6,i===5&&(e=(th()<<2&4294967295|e&3)>>>0,i=0);return r}var Lce="3.3.10",NKe="."+nh(6),OKe=0;function Vce(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType}function FKe(t,n){var e=n[t.id];if(!e){e={};try{Vce(n)&&kt(n,t.id,{e:!1,v:e})}catch{}}return e}function Ti(t,n){return n===void 0&&(n=!1),Xp(t+OKe+++(n?"."+Lce:Bt)+NKe)}function cM(t){var n={id:Ti("_aiData-"+(t||Bt)+"."+Lce),accept:function(e){return Vce(e)},get:function(e,i,r,o){var a=e[n.id];return a?a[Xp(i)]:(o&&(a=FKe(n,e),a[Xp(i)]=r),r)},kill:function(e,i){if(e&&e[i])try{delete e[i]}catch{}}};return n}function dM(t){return t&&Vi(t)&&!pt(t)&&(t.isVal||t.fb||El(t,"v")||El(t,"mrg")||El(t,"ref")||t.set)}function Bce(t,n,e){var i,r=e.dfVal||Lle;if(n&&e.fb){var o=e.fb;pt(o)||(o=[o]);for(var a=0;a<o[qe];a++){var s=o[a],l=n[s];if(r(l)?i=l:t&&(l=t.cfg[s],r(l)&&(i=l),t.set(t.cfg,Li(s),l)),r(i))break}}return!r(i)&&r(e.v)&&(i=e.v),i}function Ez(t,n,e){var i=e;if(e&&dM(e)&&(i=Bce(t,n,e)),i){dM(i)&&(i=Ez(t,n,i));var r;pt(i)?(r=[],r[qe]=i[qe]):Zi(i)&&(r={}),r&&(_t(i,function(o,a){a&&dM(a)&&(a=Ez(t,n,a)),r[o]=a}),i=r)}return i}function JC(t,n,e,i){var r,o,a,s=i,l,c,d,u;dM(s)?(r=s.isVal,o=s.set,d=s.rdOnly,u=s.blkVal,l=s.mrg,c=s.ref,!c&&fn(c)&&(c=!!l),a=Bce(t,n,s)):a=i,u&&t.blkVal(n,e);var m,f=!0,p=n[e];(p||!fe(p))&&(m=p,f=!1,r&&m!==a&&!r(m)&&(m=a,f=!0),o&&(m=o(m,a,n),f=m===a)),f?a?m=Ez(t,n,a):m=a:(Zi(m)||pt(a))&&l&&a&&(Zi(a)||pt(a))&&_t(a,function(g,_){JC(t,m,g,_)}),t.set(n,e,m),c&&t.ref(n,e),d&&t.rdOnly(n,e)}var Tc=PA("[[ai_dynCfg_1]]"),jce=PA("[[ai_blkDynCfg_1]]"),LKe=PA("[[ai_frcDynCfg_1]]");function Sz(t){if(t){var n;if(pt(t)?(n=[],n[qe]=t[qe]):Zi(t)&&(n={}),n)return _t(t,function(e,i){n[e]=Sz(i)}),n}return t}function Uce(t){if(t){var n=t[Tc]||t;if(n.cfg&&(n.cfg===t||n.cfg[Tc]===n))return n}return null}function zce(t){if(t&&(Zi(t)||pt(t)))try{t[jce]=!0}catch{}return t}function uM(t,n,e){var i=!1;return e&&!t[n.blkVal]&&(i=e[LKe],!i&&!e[jce]&&(i=Zi(e)||pt(e))),i}function fM(t){Vo("InvalidAccess:"+t)}var VKe=["push","pop","shift","unshift","splice"],Bv=function(t,n,e,i){t&&t[Fd](3,108,"".concat(e," [").concat(n,"] failed - ")+Le(i))};function BKe(t,n,e){pt(n)&&Ae(VKe,function(i){var r=n[i];n[i]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=r[Ns](this,o);return eD(t,n,e,"Patching"),s}})}function mM(t,n){var e=tce(t,n);return e&&e.get}function jKe(t,n,e,i){var r={n:e,h:[],trk:function(c){c&&c.fn&&(Xn(r.h,c)===-1&&r.h[St](c),t.trk(c,r))},clr:function(c){var d=Xn(r.h,c);d!==-1&&r.h[ma](d,1)}},o=!0,a=!1;function s(){o&&(a=a||uM(s,t,i),i&&!i[Tc]&&a&&(i=eD(t,i,e,"Converting")),o=!1);var c=t.act;return c&&r.trk(c),i}s[t.prop]={chng:function(){t.add(r)}};function l(c){if(i!==c){s[t.ro]&&!t.upd&&fM("["+e+"] is read-only:"+Le(n)),o&&(a=a||uM(s,t,i),o=!1);var d=a&&s[t.rf];if(a)if(d){_t(i,function(m){i[m]=c?c[m]:Ya});try{_t(c,function(m,f){tD(t,i,m,f)}),c=i}catch(m){Bv((t.hdlr||{})[ai],e,"Assigning",m),a=!1}}else i&&i[Tc]&&_t(i,function(m){var f=mM(i,m);if(f){var p=f[t.prop];p&&p.chng()}});if(c!==i){var u=c&&uM(s,t,c);!d&&u&&(c=eD(t,c,e,"Converting")),i=c,a=u}t.add(r)}}kt(n,r.n,{g:s,s:l})}function tD(t,n,e,i){if(n){var r=mM(n,e),o=r&&!!r[t.prop];o?n[e]=i:jKe(t,n,e,i)}return n}function pM(t,n,e,i){if(n){var r=mM(n,e),o=r&&!!r[t.prop],a=i&&i[0],s=i&&i[1],l=i&&i[2];if(!o){if(l)try{zce(n)}catch(c){Bv((t.hdlr||{})[ai],e,"Blocking",c)}try{tD(t,n,e,n[e]),r=mM(n,e)}catch(c){Bv((t.hdlr||{})[ai],e,"State",c)}}a&&(r[t.rf]=a),s&&(r[t.ro]=s),l&&(r[t.blkVal]=!0)}return n}function eD(t,n,e,i){try{_t(n,function(r,o){tD(t,n,r,o)}),n[Tc]||(ja(n,Tc,{get:function(){return t.hdlr}}),BKe(t,n,e))}catch(r){Bv((t.hdlr||{})[ai],e,i,r)}return n}var nD="[[ai_",iD="]]";function Hce(t){var n=Dv(nD+"get"+t.uid+iD),e=Dv(nD+"ro"+t.uid+iD),i=Dv(nD+"rf"+t.uid+iD),r=Dv(nD+"blkVal"+t.uid+iD),o=Dv(nD+"dtl"+t.uid+iD),a=null,s=null,l;function c(f,p){var g=l.act;try{l.act=f,f&&f[o]&&(Ae(f[o],function(v){v.clr(f)}),f[o]=[]),p({cfg:t.cfg,set:t.set.bind(t),setDf:t.setDf.bind(t),ref:t.ref.bind(t),rdOnly:t.rdOnly.bind(t)})}catch(v){var _=t[ai];throw _&&_[Fd](1,107,Le(v)),v}finally{l.act=g||null}}function d(){if(a){var f=a;a=null,s&&s[Cc](),s=null;var p=[];if(Ae(f,function(g){if(g&&(g[o]&&(Ae(g[o],function(_){_.clr(g)}),g[o]=null),g.fn))try{c(g,g.fn)}catch(_){p[St](_)}}),a)try{d()}catch(g){p[St](g)}p[qe]>0&&dce("Watcher error(s): ",p)}}function u(f){if(f&&f.h[qe]>0){a||(a=[]),s||(s=ji(function(){s=null,d()},0));for(var p=0;p<f.h[qe];p++){var g=f.h[p];g&&Xn(a,g)===-1&&a[St](g)}}}function m(f,p){if(f){var g=f[o]=f[o]||[];Xn(g,p)===-1&&g[St](p)}}return l={prop:n,ro:e,rf:i,blkVal:r,hdlr:t,add:u,notify:d,use:c,trk:m},l}function UKe(t,n){var e={fn:n,rm:function(){e.fn=null,t=null,n=null}};return kt(e,"toJSON",{v:function(){return"WatcherHandler"+(e.fn?"":"[X]")}}),t.use(e,n),e}function zKe(t,n,e){var i=Uce(n);if(i)return i;var r=Ti("dyncfg",!0),o=n&&e!==!1?n:Sz(n),a;function s(){a.notify()}function l(_,v,D){try{_=tD(a,_,v,D)}catch(O){Bv(t,v,"Setting value",O)}return _[v]}function c(_){return UKe(a,_)}function d(_,v){a.use(null,function(D){var O=a.upd;try{fn(v)||(a.upd=v),_(D)}finally{a.upd=O}})}function u(_,v){var D;return pM(a,_,v,(D={},D[0]=!0,D))[v]}function m(_,v){var D;return pM(a,_,v,(D={},D[1]=!0,D))[v]}function f(_,v){var D;return pM(a,_,v,(D={},D[2]=!0,D))[v]}function p(_,v){return v&&_t(v,function(D,O){JC(g,_,D,O)}),_}var g={uid:null,cfg:o,logger:t,notify:s,set:l,setDf:p,watch:c,ref:u,rdOnly:m,blkVal:f,_block:d};return kt(g,"uid",{c:!1,e:!1,w:!1,v:r}),a=Hce(g),eD(a,o,"config","Creating"),g}function HKe(t,n){t?(t[Tv](n),t[Fd](2,108,n)):fM(n)}function er(t,n,e,i){var r=zKe(e,t||{},i);return n&&r.setDf(r.cfg,n),r}function Cn(t,n,e){var i=t[Tc]||t;return i.cfg&&(i.cfg===t||i.cfg[Tc]===i)?i[bc](n):(HKe(e,Cce+Le(t)),er(t,null,e)[bc](n))}function zd(t,n){if(t&&t[Os])return t[Os](n)}function hM(t,n,e){var i;return e||(i=yo(function(r){e=r})),t&&PU(t)>0?zi(zd(t[0],n),function(){hM(Ev(t,1),n,e)}):e(),i}var $ce=500,wz="Microsoft_ApplicationInsights_BypassAjaxInstrumentation";function $Ke(t,n,e){return!t&&fe(t)?n:AC(t)?t:Li(t)[Tl]()==="true"}function Uo(t){return{mrg:!0,v:t}}function gM(t,n){return{set:t,v:n}}function If(t,n,e){return{fb:e,isVal:t,v:n}}function yi(t,n){return{fb:n,set:$Ke,v:!!t}}function xz(t){return{isVal:Ze,v:Li(t||Bt)}}var Tz=[Pv,Sf,Nv,wc],vM=null,_M;function GKe(t,n){return function(){var e=arguments,i=Iz(n);if(i){var r=i.listener;r&&r[t]&&r[t][Ns](r,e)}}}function qKe(){var t=Mn("Microsoft");return t&&(vM=t.ApplicationInsights),vM}function Iz(t){var n=vM;return!n&&t.disableDbgExt!==!0&&(n=vM||qKe()),n?n.ChromeDbgExt:null}function Gce(t){if(!_M){_M={};for(var n=0;n<Tz[qe];n++)_M[Tz[n]]=GKe(Tz[n],t)}return _M}var jv,Yce="warnToConsole",YKe="AI (Internal): ",WKe="AI: ",KKe="AITR_",XKe={loggingLevelConsole:0,loggingLevelTelemetry:1,maxMessageLimit:25,enableDebug:!1},QKe=(jv={},jv[0]=null,jv[1]="errorToConsole",jv[2]=Yce,jv[3]="debugToConsole",jv);function qce(t){return t?'"'+t[Il](/\"/g,Bt)+'"':Bt}function Az(t,n){var e=gz();if(e){var i="log";e[t]&&(i=t),Xe(e[i])&&e[i](n)}}var Hd=(function(){function t(n,e,i,r){i===void 0&&(i=!1);var o=this;o[Mv]=n,o[Sc]=(i?WKe:YKe)+n;var a=Bt;xc()&&(a=Ji().stringify(r));var s=(e?" message:"+qce(e):Bt)+(r?" props:"+qce(a):Bt);o[Sc]+=s}return t.dataType="MessageData",t})();function zo(t,n){return(t||{})[ai]||new Uv(n)}var Uv=(function(){function t(n){this.identifier="DiagnosticLogger",this.queue=[];var e=0,i={},r,o,a,s,l;Lt(t,this,function(c){l=u(n||{}),c.consoleLoggingLevel=function(){return r},c[Fd]=function(p,g,_,v,D){D===void 0&&(D=!1);var O=new Hd(g,_,D,v);if(s)throw Le(O);var B=QKe[p]||Yce;if(fn(O[Sc]))f("throw"+(p===1?"Critical":"Warning"),O);else{if(D){var F=+O[Mv];!i[F]&&r>=p&&(c[B](O[Sc]),i[F]=!0)}else r>=p&&c[B](O[Sc]);d(p,O)}},c.debugToConsole=function(p){Az("debug",p),f("warning",p)},c[Tv]=function(p){Az("warn",p),f("warning",p)},c.errorToConsole=function(p){Az("error",p),f("error",p)},c.resetInternalMessageCount=function(){e=0,i={}},c.logInternalMessage=d,c[Os]=function(p){l&&l.rm(),l=null};function d(p,g){if(!m()){var _=!0,v=KKe+g[Mv];if(i[v]?_=!1:i[v]=!0,_&&(p<=o&&(c.queue[St](g),e++,f(p===1?"error":"warn",g)),e===a)){var D="Internal events throttle limit per PageView reached for this app.",O=new Hd(23,D,!1);c.queue[St](O),p===1?c.errorToConsole(D):c[Tv](D)}}}function u(p){return Cn(er(p,XKe,c).cfg,function(g){var _=g.cfg;r=_[WA],o=_.loggingLevelTelemetry,a=_.maxMessageLimit,s=_.enableDebug})}function m(){return e>=a}function f(p,g){var _=Iz(n||{});_&&_[ha]&&_[ha](p,g)}})}return t.__ieDyn=1,t})();function Mz(t){return t||new Uv}function xe(t,n,e,i,r,o){o===void 0&&(o=!1),Mz(t)[Fd](n,e,i,r,o)}function Wa(t,n){Mz(t)[Tv](n)}function kz(t,n,e){Mz(t).logInternalMessage(n,e)}var Rz,Af,Wce="toGMTString",Kce="toUTCString",Oz="cookie",Pz="expires",Xce="isCookieUseDisabled",rD="disableCookiesUsage",Mf="_ckMgr",yM=null,Nz=null,Qce=null,Ic,Zce={},DM={},ZKe=(Rz={cookieCfg:Uo((Af={},Af[iM]={fb:"cookieDomain",dfVal:Ls},Af.path={fb:"cookiePath",dfVal:Ls},Af.enabled=Ya,Af.ignoreCookies=Ya,Af.blockedCookies=Ya,Af.disableCookieDefer=!1,Af)),cookieDomain:Ya,cookiePath:Ya},Rz[rD]=Ya,Rz);function Fz(){!Ic&&(Ic=EU(function(){return ti()}))}function JKe(t,n){var e=ih[Mf]||DM[Mf];return e||(e=ih[Mf]=ih(t,n),DM[Mf]=e),e}function bM(t){return t?t.isEnabled():!0}function rde(t,n){return n&&t&&pt(t.ignoreCookies)?Xn(t.ignoreCookies,n)!==-1:!1}function Jce(t,n){return n&&t&&pt(t.blockedCookies)&&Xn(t.blockedCookies,n)!==-1?!0:rde(t,n)}function ede(t,n){var e=n[Cf];if(fe(e)){var i=void 0;fn(t[Xce])||(i=!t[Xce]),fn(t[rD])||(i=!t[rD]),e=i}return e}function rh(t,n){var e;if(t)e=t.getCookieMgr();else if(n){var i=n.cookieCfg;i&&i[Mf]?e=i[Mf]:e=ih(n)}return e||(e=JKe(n,(t||{})[ai])),e}function ih(t,n){var e,i,r,o,a,s,l,c,d=[];function u(_){var v,D=(v={},v[rM]=_||"/",v[Pz]="Thu, 01 Jan 1970 00:00:01 GMT",v);return Vv()||(D["max-age"]="0"),nde(Bt,D)}function m(_,v,D,O){var B={},F=gn(_||Bt),W=Fn(F,";");if(W!==-1&&(F=gn(bv(_,W)),B=ode(Ar(_,W+1))),Ln(B,iM,D||r,_f,fn),!fe(v)){var j=Vv();if(fn(B[Pz])){var k=Xi(),Y=k+v*1e3;if(Y>0){var Q=new Date;Q.setTime(Y),Ln(B,Pz,tde(Q,j?Wce:Kce)||tde(Q,j?Wce:Kce)||Bt,_f)}}j||Ln(B,"max-age",Bt+v,null,fn)}var ce=Gr();return ce&&ce.protocol==="https:"&&(Ln(B,"secure",null,null,fn),Nz===null&&(Nz=!ade(($r()||{})[jC])),Nz&&Ln(B,"SameSite","None",null,fn)),Ln(B,rM,O||i,null,fn),nde(F,B)}function f(_){if(d)for(var v=d[qe]-1;v>=0;v--)d[v].n===_&&d[ma](v,1)}function p(){CM(n)&&d&&(Ae(d,function(_){Jce(e,_.n)||(_.o===0?l(_.n,_.v):_.o===1&&c(_.n,_.v))}),d=[])}t=er(t||DM,null,n).cfg,o=Cn(t,function(_){_.setDf(_.cfg,ZKe),e=_.ref(_.cfg,"cookieCfg"),i=e[rM]||"/",r=e[iM],e.disableCookieDefer?d=null:d===null&&(d=[]);var v=a;a=ede(t,e)!==!1,s=e.getCookie||e7e,l=e.setCookie||ide,c=e.delCookie||ide,!v&&a&&d&&p()},n);var g={isEnabled:function(){var _=ede(t,e)!==!1&&a&&CM(n),v=DM[Mf];return _&&v&&g!==v&&(_=bM(v)),_},setEnabled:function(_){e[Cf]=_,fn(t[rD])||(t[rD]=!_)},set:function(_,v,D,O,B){var F=!1,W=Jce(e,_);if(!W){var j=m(v,D,O,B);bM(g)?(l(_,j),F=!0):d&&(f(_),d[St]({n:_,o:0,v:j}),F=!0)}return F},get:function(_){var v=Bt,D=rde(e,_);if(!D){if(bM(g))v=s(_);else if(d)for(var O=d[qe]-1;O>=0;O--){var B=d[O];if(B.n===_){if(B.o===0){var F=B.v,W=Fn(F,";");v=W!==-1?gn(bv(F,W)):gn(F)}break}}}return v},del:function(_,v){var D=!1;return bM(g)?D=g.purge(_,v):d&&(f(_),d[St]({n:_,o:1,v:u(v)}),D=!0),D},purge:function(_,v){var D=!1;return CM(n)&&(c(_,u(v)),D=!0),D},unload:function(_){o&&o.rm(),o=null,d=null}};return g[Mf]=g,g}function CM(t){if(yM===null){yM=!1,!Ic&&Fz();try{var n=Ic.v||{};yM=n[Oz]!==void 0}catch(e){xe(t,2,68,"Cannot access document.cookie - "+Qt(e),{exception:Le(e)})}}return yM}function ode(t){var n={};if(t&&t[qe]){var e=gn(t)[Fs](";");Ae(e,function(i){if(i=gn(i||Bt),i){var r=Fn(i,"=");r===-1?n[i]=null:n[gn(bv(i,r))]=gn(Ar(i,r+1))}})}return n}function tde(t,n){return Xe(t[n])?t[n]():null}function nde(t,n){var e=t||Bt;return _t(n,function(i,r){e+="; "+i+(fe(r)?Bt:"="+r)}),e}function e7e(t){var n=Bt;if(!Ic&&Fz(),Ic.v){var e=Ic.v[Oz]||Bt;Qce!==e&&(Zce=ode(e),Qce=e),n=gn(Zce[t]||Bt)}return n}function ide(t,n){!Ic&&Fz(),Ic.v&&(Ic.v[Oz]=t+"="+n)}function ade(t){return Ze(t)?!!(mr(t,"CPU iPhone OS 12")||mr(t,"iPad; CPU OS 12")||mr(t,"Macintosh; Intel Mac OS X 10_14")&&mr(t,"Version/")&&mr(t,"Safari")||mr(t,"Macintosh; Intel Mac OS X 10_14")&&RC(t,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||mr(t,"Chrome/5")||mr(t,"Chrome/6")||mr(t,"UnrealEngine")&&!mr(t,"Chrome")||mr(t,"UCBrowser/12")||mr(t,"UCBrowser/11")):!1}var t7e={perfEvtsSendAll:!1};function n7e(t){t.h=null;var n=t.cb;t.cb=[],Ae(n,function(e){pi(e.fn,[e.arg])})}function kf(t,n,e,i){Ae(t,function(r){r&&r[n]&&(e?(e.cb[St]({fn:i,arg:r}),e.h=e.h||ji(n7e,0,e)):pi(i,[r]))})}var sde=(function(){function t(n){this.listeners=[];var e,i,r=[],o={h:null,cb:[]},a=er(n,t7e);i=a[bc](function(s){e=!!s.cfg.perfEvtsSendAll}),Lt(t,this,function(s){kt(s,"listeners",{g:function(){return r}}),s[Av]=function(l){r[St](l)},s[Iv]=function(l){for(var c=Xn(r,l);c>-1;)r[ma](c,1),c=Xn(r,l)},s[Pv]=function(l){kf(r,Pv,o,function(c){c[Pv](l)})},s[Sf]=function(l,c){kf(r,Sf,o,function(d){d[Sf](l,c)})},s[Nv]=function(l,c){kf(r,Nv,c?o:null,function(d){d[Nv](l,c)})},s[wc]=function(l){l&&(e||!l[HC]())&&kf(r,wc,null,function(c){l.isAsync?ji(function(){return c[wc](l)},0):c[wc](l)})},s[eM]=function(l){l&&l[qe]&&kf(r,eM,o,function(c){c[eM](l)})},s[tM]=function(l){l&&l[qa]&&kf(r,tM,o,function(c){c[tM](l)})},s[nM]=function(l,c){if(l>0){var d=c||0;kf(r,nM,o,function(u){u[nM](l,d)})}},s[Os]=function(l){var c=function(){i&&i.rm(),i=null,r=[],o.h&&o.h[Cc](),o.h=null,o.cb=[]},d;if(kf(r,"unload",null,function(u){var m=u[Os](l);m&&(d||(d=[]),d[St](m))}),d)return yo(function(u){return zi(bce(d),function(){c(),u()})});c()}})}return t.__ieDyn=1,t})();var zv="ctx",Vz="ParentContextKey",oD="ChildrenContextKey",i7e=null,aD=(function(){function t(n,e,i){var r=this;if(r.start=Xi(),r[Ha]=n,r.isAsync=i,r[HC]=function(){return!1},Xe(e)){var o;kt(r,"payload",{g:function(){return!o&&Xe(e)&&(o=e(),e=null),o}})}r[Gp]=function(a){return a?a===t[Vz]||a===t[oD]?r[a]:(r[zv]||{})[a]:null},r[Ml]=function(a,s){if(a)if(a===t[Vz])r[a]||(r[HC]=function(){return!0}),r[a]=s;else if(a===t[oD])r[a]=s;else{var l=r[zv]=r[zv]||{};l[a]=s}},r.complete=function(){var a=0,s=r[Gp](t[oD]);if(pt(s))for(var l=0;l<s[qe];l++){var c=s[l];c&&(a+=c.time)}r.time=Xi()-r.start,r.exTime=r.time-a,r.complete=function(){}}}return t.ParentContextKey="parent",t.ChildrenContextKey="childEvts",t})();var Bz=(function(){function t(n){this.ctx={},Lt(t,this,function(e){e.create=function(i,r,o){return new aD(i,r,o)},e.fire=function(i){i&&(i.complete(),n&&Xe(n[wc])&&n[wc](i))},e[Ml]=function(i,r){if(i){var o=e[zv]=e[zv]||{};o[i]=r}},e[Gp]=function(i){return(e[zv]||{})[i]}})}return t.__ieDyn=1,t})();var Lz="CoreUtils.doPerf";function Rf(t,n,e,i,r){if(t){var o=t;if(o[Ov]&&(o=o[Ov]()),o){var a=void 0,s=o[Gp](Lz);try{if(a=o.create(n(),i,r),a){if(s&&a[Ml]&&(a[Ml](aD[Vz],s),s[Gp]&&s[Ml])){var l=s[Gp](aD[oD]);l||(l=[],s[Ml](aD[oD],l)),l[St](a)}return o[Ml](Lz,a),e(a)}}catch(c){a&&a[Ml]&&a[Ml]("exception",c)}finally{a&&o.fire(a),o[Ml](Lz,s)}}}return e()}function jz(){return i7e}function Ka(){for(var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=Bt,e,i=0;i<4;i++)e=th(),n+=t[e&15]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var r=t[8+(th()&3)|0];return Sl(n,0,8)+Sl(n,9,4)+"4"+Sl(n,13,3)+r+Sl(n,16,3)+Sl(n,19,12)}var Uz="00",r7e="ff",cde="00000000000000000000000000000000",dde="0000000000000000";function sD(t,n,e){return t&&t[qe]===n&&t!==e?!!t.match(/^[\da-f]*$/i):!1}function lde(t,n,e){return sD(t,n)?t:e}function o7e(t){(isNaN(t)||t<0||t>255)&&(t=1);for(var n=t.toString(16);n[qe]<2;)n="0"+n;return n}function lD(t,n,e,i){return{version:sD(i,2,r7e)?i:Uz,traceId:oh(t)?t:Ka(),spanId:ah(n)?n:bv(Ka(),16),traceFlags:e>=0&&e<=255?e:1}}function oh(t){return sD(t,32,cde)}function ah(t){return sD(t,16,dde)}function cD(t){if(t){var n=o7e(t[GC]);sD(n,2)||(n="01");var e=t[BC]||Uz;return e!=="00"&&e!=="ff"&&(e=Uz),"".concat(e.toLowerCase(),"-").concat(lde(t.traceId,32,cde).toLowerCase(),"-").concat(lde(t.spanId,16,dde).toLowerCase(),"-").concat(n.toLowerCase())}return""}function EM(t){var n=t.getElementsByTagName("script"),e=[];return Ae(n,function(i){var r=i[KA]("src");if(r){var o=i[KA]("crossorigin"),a=i.hasAttribute("async")===!0,s=i.hasAttribute("defer")===!0,l=i[KA]("referrerpolicy"),c={url:r};o&&(c.crossOrigin=o),a&&(c.async=a),s&&(c.defer=s),l&&(c.referrerPolicy=l),e[St](c)}}),e}var a7e=cM("plugin");function $d(t){return a7e.get(t,"state",{},!0)}function zz(t,n){for(var e=[],i=null,r=t[Ga](),o;r;){var a=r[bf]();if(a){i&&i[Ef]&&a[ga]&&i[Ef](a),o=$d(a);var s=!!o[pa];a[pa]&&(s=a[pa]()),s||e[St](a),i=a,r=r[Ga]()}}Ae(e,function(l){var c=t[xi]();l[Ld](t.getCfg(),c,n,t[Ga]()),o=$d(l),!l[xi]&&!o[xi]&&(o[xi]=c),o[pa]=!0,delete o[$a]})}function SM(t){return t.sort(function(n,e){var i=0;if(e){var r=e[ga];n[ga]?i=r?n[Kp]-e[Kp]:1:r&&(i=-1)}else i=n?1:-1;return i})}function ude(t){var n={};return{getName:function(){return n[Ha]},setName:function(e){t&&t.setName(e),n[Ha]=e},getTraceId:function(){return n.traceId},setTraceId:function(e){t&&t.setTraceId(e),oh(e)&&(n.traceId=e)},getSpanId:function(){return n.spanId},setSpanId:function(e){t&&t.setSpanId(e),ah(e)&&(n.spanId=e)},getTraceFlags:function(){return n[GC]},setTraceFlags:function(e){t&&t.setTraceFlags(e),n[GC]=e}}}var s7e="TelemetryPluginChain",fde="_hasRun",mde="_getTelCtx",pde=0;function l7e(t,n,e){for(;t;){if(t[bf]()===e)return t;t=t[Ga]()}return Pf([e],n.config||{},n)}function Hz(t,n,e,i){var r=null,o=[];n||(n=er({},null,e[ai])),i!==null&&(r=i?l7e(t,e,i):t);var a={_next:l,ctx:{core:function(){return e},diagLog:function(){return zo(e,n.cfg)},getCfg:function(){return n.cfg},getExtCfg:d,getConfig:u,hasNext:function(){return!!r},getNext:function(){return r},setNext:function(f){r=f},iterate:m,onComplete:s}};function s(f,p){for(var g=[],_=2;_<arguments.length;_++)g[_-2]=arguments[_];f&&o[St]({func:f,self:fn(p)?a.ctx:p,args:g})}function l(){var f=r;if(r=f?f[Ga]():null,!f){var p=o;p&&p[qe]>0&&(Ae(p,function(g){try{g.func.call(g.self,g.args)}catch(_){xe(e[ai],2,73,"Unexpected Exception during onComplete - "+Le(_))}}),o=[])}return f}function c(f,p){var g=null,_=n.cfg;if(_&&f){var v=_[jd];!v&&p&&(v={}),_[jd]=v,v=n.ref(_,jd),v&&(g=v[f],!g&&p&&(g={}),v[f]=g,g=n.ref(v,f))}return g}function d(f,p){var g=c(f,!0);return p&&_t(p,function(_,v){if(fe(g[_])){var D=n.cfg[_];(D||!fe(D))&&(g[_]=D)}JC(n,g,_,v)}),n.setDf(g,p)}function u(f,p,g){g===void 0&&(g=!1);var _,v=c(f,!1),D=n.cfg;return v&&(v[p]||!fe(v[p]))?_=v[p]:(D[p]||!fe(D[p]))&&(_=D[p]),_||!fe(_)?_:g}function m(f){for(var p;p=a._next();){var g=p[bf]();g&&f(g)}}return a}function tr(t,n,e,i){var r=er(n),o=Hz(t,r,e,i),a=o.ctx;function s(c){var d=o._next();return d&&d[ga](c,a),!d}function l(c,d){return c===void 0&&(c=null),pt(c)&&(c=Pf(c,r.cfg,e,d)),tr(c||a[Ga](),r.cfg,e,d)}return a[fr]=s,a[Ec]=l,a}function Hv(t,n,e){var i=er(n.config),r=Hz(t,i,n,e),o=r.ctx;function a(l){var c=r._next();return c&&c[Os](o,l),!c}function s(l,c){return l===void 0&&(l=null),pt(l)&&(l=Pf(l,i.cfg,n,c)),Hv(l||o[Ga](),n,c)}return o[fr]=a,o[Ec]=s,o}function dD(t,n,e){var i=er(n.config),r=Hz(t,i,n,e),o=r.ctx;function a(l){return o.iterate(function(c){Xe(c[$p])&&c[$p](o,l)})}function s(l,c){return l===void 0&&(l=null),pt(l)&&(l=Pf(l,i.cfg,n,c)),dD(l||o[Ga](),n,c)}return o[fr]=a,o[Ec]=s,o}function Pf(t,n,e,i){var r=null,o=!i;if(pt(t)&&t[qe]>0){var a=null;Ae(t,function(s){if(!o&&i===s&&(o=!0),o&&s&&Xe(s[ga])){var l=c7e(s,n,e);r||(r=l),a&&a._setNext(l),a=l}})}return i&&!r?Pf([i],n,e):r}function c7e(t,n,e){var i=null,r=Xe(t[ga]),o=Xe(t[Ef]),a;t?a=t[Dc]+"-"+t[Kp]+"-"+pde++:a="Unknown-0-"+pde++;var s={getPlugin:function(){return t},getNext:function(){return i},processTelemetry:d,unload:u,update:m,_id:a,_setNext:function(f){i=f}};function l(){var f;return t&&Xe(t[mde])&&(f=t[mde]()),f||(f=tr(s,n,e)),f}function c(f,p,g,_,v){var D=!1,O=t?t[Dc]:s7e,B=f[fde];return B||(B=f[fde]={}),f.setNext(i),t&&Rf(f[xi](),function(){return O+":"+g},function(){B[a]=!0;try{var F=i?i._id:Bt;F&&(B[F]=!1),D=p(f)}catch(j){var W=i?B[i._id]:!0;W&&(D=!0),(!i||!W)&&xe(f[ha](),1,73,"Plugin ["+O+"] failed during "+g+" - "+Le(j)+", run flags: "+Le(B))}},_,v),D}function d(f,p){p=p||l();function g(_){if(!t||!r)return!1;var v=$d(t);return v[$a]||v[YC]?!1:(o&&t[Ef](i),t[ga](f,_),!0)}c(p,g,"processTelemetry",function(){return{item:f}},!f.sync)||p[fr](f)}function u(f,p){function g(){var _=!1;if(t){var v=$d(t),D=t[xi]||v[xi];t&&(!D||D===f.core())&&!v[$a]&&(v[xi]=null,v[$a]=!0,v[pa]=!1,t[$a]&&t[$a](f,p)===!0&&(_=!0))}return _}c(f,g,"unload",function(){},p.isAsync)||f[fr](p)}function m(f,p){function g(){var _=!1;if(t){var v=$d(t),D=t[xi]||v[xi];t&&(!D||D===f.core())&&!v[$a]&&t[$p]&&t[$p](f,p)===!0&&(_=!0)}return _}c(f,g,"update",function(){},!1)||f[fr](p)}return _o(s)}function wM(){var t=[];function n(i){i&&t[St](i)}function e(i,r){Ae(t,function(o){try{o(i,r)}catch(a){xe(i[ha](),2,73,"Unexpected error calling unload handler - "+Le(a))}}),t=[]}return{add:n,run:e}}var xM,TM;function IM(){var t=[];function n(i){var r=t;t=[],Ae(r,function(o){try{(o.rm||o.remove).call(o)}catch(a){xe(i,2,73,"Unloading:"+Le(a))}}),xM&&r[qe]>xM&&(TM?TM("doUnload",r):xe(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected."))}function e(i){i&&(Nd(t,i),xM&&t[qe]>xM&&(TM?TM("Add",t):xe(null,1,48,"Max unload hooks exceeded. An excessive number of unload hooks has been detected.")))}return{run:n,add:e}}var $z,Nf="getPlugin",d7e=($z={},$z[jd]={isVal:Ls,v:{}},$z),Xa=(function(){function t(){var n=this,e,i,r,o,a;c(),Lt(t,n,function(d){d[Ld]=function(u,m,f,p){l(u,m,p),e=!0},d[$a]=function(u,m){var f=d[xi];if(!f||u&&f!==u[xi]())return;var p,g=!1,_=u||Hv(null,f,r&&r[Nf]?r[Nf]():r),v=m||{reason:0,isAsync:!1};function D(){g||(g=!0,o.run(_,m),a.run(_[ha]()),p===!0&&_[fr](v),c())}return!d[Df]||d[Df](_,v,D)!==!0?D():p=!0,p},d[$p]=function(u,m){var f=d[xi];if(!f||u&&f!==u[xi]())return;var p,g=!1,_=u||dD(null,f,r&&r[Nf]?r[Nf]():r),v=m||{reason:0};function D(){g||(g=!0,l(_.getCfg(),_.core(),_[Ga]()))}return!d._doUpdate||d._doUpdate(_,v,D)!==!0?D():p=!0,p},Qp(d,"_addUnloadCb",function(){return o},"add"),Qp(d,"_addHook",function(){return a},"add"),kt(d,"_unloadHooks",{g:function(){return a}})}),n[ha]=function(d){return s(d)[ha]()},n[pa]=function(){return e},n.setInitialized=function(d){e=d},n[Ef]=function(d){r=d},n[fr]=function(d,u){u?u[fr](d):r&&Xe(r[ga])&&r[ga](d,null)},n._getTelCtx=s;function s(d){d===void 0&&(d=null);var u=d;if(!u){var m=i||tr(null,{},n[xi]);r&&r[Nf]?u=m[Ec](null,r[Nf]):u=m[Ec](null,r)}return u}function l(d,u,m){er(d,d7e,zo(u)),!m&&u&&(m=u[YA]()[Ga]());var f=r;r&&r[Nf]&&(f=r[Nf]()),n[xi]=u,i=tr(m,d,u,f)}function c(){e=!1,n[xi]=null,i=null,r=null,a=IM(),o=wM()}}return t.__ieDyn=1,t})();function u7e(t,n,e){var i={id:n,fn:e};Nd(t,i);var r={remove:function(){Ae(t,function(o,a){if(o.id===i.id)return t[ma](a,1),-1})}};return r}function f7e(t,n,e){for(var i=!1,r=t[qe],o=0;o<r;++o){var a=t[o];if(a)try{if(a.fn[Ns](null,[n])===!1){i=!0;break}}catch(s){xe(e,2,64,"Telemetry initializer failed: "+Qt(s),{exception:Le(s)},!0)}}return!i}var hde=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.identifier="TelemetryInitializerPlugin",e.priority=199;var i,r;o(),Lt(n,e,function(a,s){a.addTelemetryInitializer=function(l){return u7e(r,i++,l)},a[ga]=function(l,c){f7e(r,l,c?c[ha]():a[ha]())&&a[fr](l,c)},a[Df]=function(){o()}});function o(){i=0,r=[]}return e}return n.__ieDyn=1,n})(Xa);var Of,yde="Plugins must provide initialize method",m7e="_notificationManager",gde="SDK is still unloading...",p7e="SDK is not initialized",h7e=100,g7e=5e4,Gz=Ps((Of={cookieCfg:{}},Of[Wp]={rdOnly:!0,ref:!0,v:[]},Of[Yp]={rdOnly:!0,ref:!0,v:[]},Of[jd]={ref:!0,v:{}},Of[JA]=Ya,Of.loggingLevelConsole=0,Of.diagnosticLogInterval=Ya,Of));function _7e(t,n){return new Bz(n)}function v7e(t,n,e){var i=[],r=[],o={};return Ae(e,function(a){(fe(a)||fe(a[Ld]))&&Ir(yde);var s=a[Kp],l=a[Dc];a&&s&&(fe(o[s])?o[s]=l:Wa(t,"Two extensions have same priority #"+s+" - "+o[s]+", "+l)),!s||s<n?i[St](a):r[St](a)}),{core:i,channels:r}}function _de(t,n){var e=!1;return Ae(n,function(i){if(i===t)return e=!0,-1}),e}function qz(t,n,e,i){e&&_t(e,function(r,o){i&&Zi(o)&&Zi(n[r])&&qz(t,n[r],o,i),i&&Zi(o)&&Zi(n[r])?qz(t,n[r],o,i):t.set(n,r,o)})}function vde(t,n){var e=null,i=-1;return Ae(t,function(r,o){if(r.w===n)return e=r,i=o,-1}),{i,l:e}}function y7e(t,n){var e=vde(t,n).l;return e||(e={w:n,rm:function(){var i=vde(t,n);i.i!==-1&&t[ma](i.i,1)}},t[St](e)),e}function b7e(t,n,e){Ae(n,function(i){var r=Cn(t,i.w,e);delete i.w,i.rm=function(){r.rm()}})}function C7e(t,n,e,i){return n.add(t[bc](function(r){var o=r.cfg.disableDbgExt;o===!0&&i&&(e[Iv](i),i=null),e&&!i&&o!==!0&&(i=Gce(r.cfg),e[Av](i))})),i}function D7e(t){return kt({rm:function(){t.rm()}},"toJSON",{v:function(){return"aicore::onCfgChange<"+JSON.stringify(t)+">"}})}var Yz=(function(){function t(){var n,e,i,r,o,a,s,l,c,d,u,m,f,p,g,_,v,D,O,B,F,W,j,k,Y,Q,ce,ie,X,w,P,A,R;Lt(t,this,function(I){L(),I._getDbgPlgTargets=function(){return[j,r]},I[pa]=function(){return e},I.activeStatus=function(){return Q},I._setPendingStatus=function(){Q=3},I[Ld]=function(le,ze,rt,at){f&&Ir(gde),I[pa]()&&Ir("Core cannot be initialized more than once"),n=er(le,Gz,rt||I[ai],!1),le=n.cfg,rr(n[bc](function(ye){var ve=ye.cfg;ie=ve.initInMemoMaxSize||h7e,ne(ve);var ke=ye.ref(ye.cfg,jd);_t(ke,function(st){ye.ref(ke,st)})})),o=at,O=C7e(n,D,o&&I[LC](),O),Rt(),I[ai]=rt;var z=le[Wp];if(d=[],d[St].apply(d,qA(qA([],ze,!1),z,!1)),u=le[Yp],$(null),(!m||m[qe]===0)&&Ir("No "+Yp+" available"),u&&u[qe]>1){var se=I[bf]("TeeChannelController");(!se||!se.plugin)&&xe(i,1,28,"TeeChannel required")}b7e(le,W,i),W=null,e=!0,Q===xl.ACTIVE&&ee()},I.getChannels=function(){var le=[];return m&&Ae(m,function(ze){le[St](ze)}),_o(le)},I.track=function(le){Rf(I[Ov](),function(){return"AppInsightsCore:track"},function(){le===null&&(Ai(le),Ir("Invalid telemetry item")),!le[Ha]&&fe(le[Ha])&&(Ai(le),Ir("telemetry name required")),le.iKey=le.iKey||F,le.time=le.time||Vs(new Date),le.ver=le.ver||"4.0",!f&&I[pa]()&&Q===xl.ACTIVE?H()[fr](le):Q!==xl.INACTIVE&&r[qe]<=ie&&r[St](le)},function(){return{item:le}},!le.sync)},I[YA]=H,I[LC]=function(){return o||(o=new sde(n.cfg),I[m7e]=o),o},I[Av]=function(le){I.getNotifyMgr()[Av](le)},I[Iv]=function(le){o&&o[Iv](le)},I.getCookieMgr=function(){return l||(l=ih(n.cfg,I[ai])),l},I.setCookieMgr=function(le){l!==le&&(zd(l,!1),l=le)},I[Ov]=function(){return a||s||jz()},I.setPerfMgr=function(le){a=le},I.eventCnt=function(){return r[qe]},I.releaseQueue=function(){if(e&&r[qe]>0){var le=r;r=[],Q===2?Ae(le,function(ze){ze.iKey=ze.iKey||F,H()[fr](ze)}):xe(i,2,20,"core init status is not active")}},I.pollInternalLogs=function(le){return g=le||null,R=!1,P&&P[Cc](),M(!0)};function ne(le){var ze=le.instrumentationKey,rt=le.endpointUrl;if(Q!==3){if(fe(ze)){F=null,Q=xl.INACTIVE;var at="Please provide instrumentation key";e?(xe(i,1,100,at),ee()):Ir(at);return}var z=[];Ua(ze)?(z[St](ze),F=null):F=ze,Ua(rt)?(z[St](rt),ce=null):ce=rt,z[qe]?Ie(le,z):we()}}function Ie(le,ze){X=!1,Q=3;var rt=Ls(le.initTimeOut)?le.initTimeOut:g7e,at=yce(ze);w&&w[Cc](),w=ji(function(){w=null,X||we()},rt),zi(at,function(z){try{if(X)return;if(!z.rejected){var se=z[Vd];if(se&&se[qe]){var ye=se[0];if(F=ye&&ye[Vd],se[qe]>1){var ve=se[1];ce=ve&&ve[Vd]}}F&&(le.instrumentationKey=F,le.endpointUrl=ce)}we()}catch{X||we()}})}function we(){X=!0,fe(F)?(Q=xl.INACTIVE,xe(i,1,112,"ikey can't be resolved from promises")):Q=xl.ACTIVE,ee()}function ee(){e&&(I.releaseQueue(),I.pollInternalLogs())}function M(le){if((!P||!P[Cf])&&!R){var ze=le||i&&i.queue[qe]>0;ze&&(A||(A=!0,rr(n[bc](function(rt){var at=rt.cfg.diagnosticLogInterval;(!at||!(at>0))&&(at=1e4);var z=!1;P&&(z=P[Cf],P[Cc]()),P=ice(ut,at),P.unref(),P[Cf]=z}))),P[Cf]=!0)}return P}I[WU]=function(){R=!0,P&&P[Cc](),ut()},wf(I,function(){return p},["addTelemetryInitializer"]),I[Os]=function(le,ze,rt){le===void 0&&(le=!0),e||Ir(p7e),f&&Ir(gde);var at={reason:50,isAsync:le,flushComplete:!1},z;le&&!ze&&(z=yo(function(ve){ze=ve}));var se=Hv(me(),I);se[VC](function(){D.run(I[ai]),hM([l,o,i],le,function(){L(),ze&&ze(at)})},I);function ye(ve){at.flushComplete=ve,f=!0,v.run(se,at),I[WU](),se[fr](at)}return ut(),nn(le,ye,6,rt)||ye(!1),z},I[bf]=oe,I.addPlugin=function(le,ze,rt,at){if(!le){at&&at(!1),Tn(yde);return}var z=oe(le[Dc]);if(z&&!ze){at&&at(!1),Tn("Plugin ["+le[Dc]+"] is already loaded!");return}var se={reason:16};function ye(st){d[St](le),se.added=[le],$(se),at&&at(!0)}if(z){var ve=[z.plugin],ke={reason:2,isAsync:!!rt};Ye(ve,ke,function(st){st?(se.removed=ve,se.reason|=32,ye(!0)):at&&at(!1)})}else ye(!1)},I.updateCfg=function(le,ze){ze===void 0&&(ze=!0);var rt;if(I[pa]()){rt={reason:1,cfg:n.cfg,oldCfg:MU({},n.cfg),newConfig:MU({},le),merge:ze},le=rt.newConfig;var at=n.cfg;le[Wp]=at[Wp],le[Yp]=at[Yp]}n._block(function(z){var se=z.cfg;qz(z,se,le,ze),ze||_t(se,function(ye){El(le,ye)||z.set(se,ye,Ya)}),z.setDf(se,Gz)},!0),n.notify(),rt&&rn(rt)},I.evtNamespace=function(){return _},I.flush=nn,I.getTraceCtx=function(le){return B||(B=ude()),B},I.setTraceCtx=function(le){B=le||null},I.addUnloadHook=rr,Qp(I,"addUnloadCb",function(){return v},"add"),I.onCfgChange=function(le){var ze;return e?ze=Cn(n.cfg,le,I[ai]):ze=y7e(W,le),D7e(ze)},I.getWParam=function(){return MC()||n.cfg.enableWParam?0:-1};function T(){var le={};k=[];var ze=function(rt){rt&&Ae(rt,function(at){if(at[Dc]&&at[BC]&&!le[at.identifier]){var z=at[Dc]+"="+at[BC];k[St](z),le[at.identifier]=at}})};ze(m),u&&Ae(u,function(rt){ze(rt)}),ze(d)}function L(){e=!1,n=er({},Gz,I[ai]),n.cfg[WA]=1,kt(I,"config",{g:function(){return n.cfg},s:function(ze){I.updateCfg(ze,!1)}}),kt(I,"pluginVersionStringArr",{g:function(){return k||T(),k}}),kt(I,"pluginVersionString",{g:function(){return Y||(k||T(),Y=k.join(";")),Y||Bt}}),kt(I,"logger",{g:function(){return i||(i=new Uv(n.cfg),n[ai]=i),i},s:function(ze){n[ai]=ze,i!==ze&&(zd(i,!1),i=ze)}}),I[ai]=new Uv(n.cfg),j=[];var le=I.config[Wp]||[];le.splice(0,le[qe]),Nd(le,j),p=new hde,r=[],zd(o,!1),o=null,a=null,s=null,zd(l,!1),l=null,c=null,d=[],u=null,m=null,f=!1,g=null,_=Ti("AIBaseCore",!0),v=wM(),B=null,F=null,D=IM(),W=[],Y=null,k=null,R=!1,P=null,A=!1,Q=0,ce=null,ie=null,X=!1,w=null}function H(){var le=tr(me(),n.cfg,I);return le[VC](M),le}function $(le){var ze=v7e(I[ai],$ce,d);c=null,Y=null,k=null,m=(u||[])[0]||[],m=SM(Nd(m,ze[Yp]));var rt=Nd(SM(ze[xi]),m);j=_o(rt);var at=I.config[Wp]||[];at.splice(0,at[qe]),Nd(at,j);var z=H();m&&m[qe]>0&&zz(z[Ec](m),rt),zz(z,rt),le&&rn(le)}function oe(le){var ze=null,rt=null,at=[];return Ae(j,function(z){if(z[Dc]===le&&z!==p)return rt=z,-1;z.getChannel&&at[St](z)}),!rt&&at[qe]>0&&Ae(at,function(z){if(rt=z.getChannel(le),!rt)return-1}),rt&&(ze={plugin:rt,setEnabled:function(z){$d(rt)[YC]=!z},isEnabled:function(){var z=$d(rt);return!z[$a]&&!z[YC]},remove:function(z,se){z===void 0&&(z=!0);var ye=[rt],ve={reason:1,isAsync:z};Ye(ye,ve,function(ke){ke&&$({reason:32,removed:ye}),se&&se(ke)})}}),ze}function me(){if(!c){var le=(j||[]).slice();Xn(le,p)===-1&&le[St](p),c=Pf(SM(le),n.cfg,I)}return c}function Ye(le,ze,rt){if(le&&le[qe]>0){var at=Pf(le,n.cfg,I),z=Hv(at,I);z[VC](function(){var se=!1,ye=[];Ae(d,function(ke,st){_de(ke,le)?se=!0:ye[St](ke)}),d=ye,Y=null,k=null;var ve=[];u&&(Ae(u,function(ke,st){var ht=[];Ae(ke,function(Ut){_de(Ut,le)?se=!0:ht[St](Ut)}),ve[St](ht)}),u=ve),rt&&rt(se),M()}),z[fr](ze)}else rt(!1)}function ut(){if(i&&i.queue){var le=i.queue.slice(0);i.queue[qe]=0,Ae(le,function(ze){var rt={name:g||"InternalMessageId: "+ze[Mv],iKey:F,time:Vs(new Date),baseType:Hd.dataType,baseData:{message:ze[Sc]}};I.track(rt)})}}function nn(le,ze,rt,at){var z=1,se=!1,ye=null;at=at||5e3;function ve(){z--,se&&z===0&&(ye&&ye[Cc](),ye=null,ze&&ze(se),ze=null)}if(m&&m[qe]>0){var ke=H()[Ec](m);ke.iterate(function(st){if(st.flush){z++;var ht=!1;st.flush(le,function(){ht=!0,ve()},rt)||ht||(le&&ye==null?ye=ji(function(){ye=null,ve()},at):ve())}})}return se=!0,ve(),!0}function Rt(){var le;rr(n[bc](function(ze){var rt=ze.cfg.enablePerfMgr;if(rt){var at=ze.cfg[JA];(le!==at||!le)&&(at||(at=_7e),pr(ze.cfg,JA,at),le=at,s=null),!a&&!s&&Xe(at)&&(s=at(I,I[LC]()))}else s=null,le=null}))}function rn(le){var ze=dD(me(),I);ze[VC](M),(!I._updateHook||I._updateHook(ze,le)!==!0)&&ze[fr](le)}function Tn(le){var ze=I[ai];ze?(xe(ze,2,73,le),M()):Ir(le)}function Ai(le){var ze=I[LC]();ze&&ze[Sf]([le],2)}function rr(le){D.add(le)}})}return t.__ieDyn=1,t})();function uD(t,n){try{if(t&&t!==""){var e=Ji().parse(t);if(e&&e[QU]&&e[QU]>=e.itemsAccepted&&e.itemsReceived-e.itemsAccepted===e.errors[qe])return e}}catch(i){xe(n,1,43,"Cannot parse the response. "+(i[Ha]||Le(i)),{response:t})}return null}var kl="",E7e="NoResponseBody",bde="&"+E7e+"=true",Wz="POST",Kz=(function(){function t(){var n=0,e,i,r,o,a,s,l,c,d,u,m,f,p,g;Lt(t,this,function(_,v){var D=!0;X(),_[Ld]=function(w,P){r=P,i&&xe(r,1,28,"Sender is already initialized"),_.SetConfig(w),i=!0},_._getDbgPlgTargets=function(){return[i,o,s,e]},_.SetConfig=function(w){try{if(a=w.senderOnCompleteCallBack||{},s=!!w.disableCredentials,l=w.fetchCredentials,o=!!w.isOneDs,e=!!w.enableSendPromise,d=!!w.disableXhr,u=!!w.disableBeacon,m=!!w.disableBeaconSync,g=w.timeWrapper,p=!!w.addNoResponse,f=!!w.disableFetchKeepAlive,c={sendPOST:Q},o||(D=!1),s){var P=Gr();P&&P.protocol&&P.protocol[Tl]()==="file:"&&(D=!1)}return!0}catch{}return!1},_.getSyncFetchPayload=function(){return n},_.getSenderInst=function(w,P){return w&&w[qe]?W(w,P):null},_.getFallbackInst=function(){return c},_[Df]=function(w,P){X()},_.preparePayload=function(w,P,A,R){if(!P||R||!A[qa]){w(A);return}try{var I=Mn("CompressionStream");if(!Xe(I)){w(A);return}var ne=new ReadableStream({start:function(L){L.enqueue(Ze(A[qa])?new TextEncoder().encode(A[qa]):A[qa]),L.close()}}),Ie=ne.pipeThrough(new I("gzip")),we=Ie.getReader(),ee=[],M=0,T=!1;return zi(we.read(),function L(H){if(!T&&!H.rejected){var $=H[Vd];if(!$.done)return ee[St]($[Vd]),M+=$.value[qe],zi(we.read(),L);for(var oe=new Uint8Array(M),me=0,Ye=0,ut=ee;Ye<ut.length;Ye++){var nn=ut[Ye];oe.set(nn,me),me+=nn[qe]}A[qa]=oe,A[$C]["Content-Encoding"]="gzip",A._chunkCount=ee[qe]}T||(T=!0,w(A))}),we}catch{w(A);return}};function O(w,P){j(P,200,{},w)}function B(w,P){xe(r,2,26,"Failed to send telemetry.",{message:w}),j(P,400,{})}function F(w){B("No endpoint url is provided for the batch",w)}function W(w,P){for(var A=0,R=null,I=0;R==null&&I<w[qe];)A=w[I],!d&&A===1?bz()?R=ie:xf()&&(R=Q):A===2&&eh(P)&&(!P||!f)?R=ce:A===3&&Ud()&&(P?!m:!u)&&(R=Y),I++;return R?{_transport:A,_isSync:P,sendPOST:R}:null}function j(w,P,A,R){try{w&&w(P,A,R)}catch{}}function k(w,P){var A=$r(),R=w[kv];if(!R)return F(P),!0;R=w[kv]+(p?bde:kl);var I=w[qa],ne=o?I:new Blob([I],{type:"text/plain;charset=UTF-8"}),Ie=A.sendBeacon(R,ne);return Ie}function Y(w,P,A){var R=w[qa];try{if(R)if(k(w,P))O(kl,P);else{var I=a&&a.beaconOnRetry;I&&Xe(I)?I(w,P,k):(c&&c.sendPOST(w,P,!0),xe(r,2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}catch(ne){o&&Wa(r,"Failed to send telemetry using sendBeacon API. Ex:"+Le(ne)),j(P,o?0:400,{},kl)}}function Q(w,P,A){var R,I,ne,Ie=w[$C]||{};!A&&e&&(R=yo(function(T,L){I=T,ne=L})),o&&A&&w.disableXhrSync&&(A=!1);var we=w[kv];if(!we){F(P),I&&I(!1);return}var ee=dz(Wz,we,D,!0,A,w[qp]);o||ee.setRequestHeader("Content-type","application/json"),Ae(go(Ie),function(T){ee.setRequestHeader(T,Ie[T])}),ee.onreadystatechange=function(){o||(M(ee),ee.readyState===4&&I&&I(!0))},ee.onload=function(){o&&M(ee)};function M(T){var L=a&&a.xhrOnComplete,H=L&&Xe(L);if(H)L(T,P,w);else{var $=Fv(T);j(P,T[Al],KC(T,o),$)}}return ee.onerror=function(T){j(P,o?ee[Al]:400,KC(ee,o),o?kl:Jp(ee)),ne&&ne(T)},ee.ontimeout=function(){j(P,o?ee[Al]:500,KC(ee,o),o?kl:Jp(ee)),I&&I(!1)},ee.send(w[qa]),R}function ce(w,P,A){var R,I=w[kv],ne=w[qa],Ie=o?ne:new Blob([ne],{type:"application/json"}),we,ee,M,T=new Headers,L=ne[qe],H=!1,$=!1,oe=w[$C]||{},me=(R={method:Wz,body:Ie},R[wz]=!0,R);w.headers&&go(w.headers)[qe]>0&&(Ae(go(oe),function(Rt){T.append(Rt,oe[Rt])}),me[$C]=T),l?me.credentials=l:D&&o&&(me.credentials="include"),A&&(me.keepalive=!0,n+=L,o?w._sendReason===2&&(H=!0,p&&(I+=bde)):H=!0);var Ye=new Request(I,me);try{Ye[wz]=!0}catch{}if(!A&&e&&(we=yo(function(Rt,rn){ee=Rt,M=rn})),!I){F(P),ee&&ee(!1);return}function ut(Rt,rn){rn?j(P,o?0:rn,{},o?kl:Rt):j(P,o?0:400,{},o?kl:Rt)}function nn(Rt,rn,Tn){var Ai=Rt[Al],rr=a.fetchOnComplete;rr&&Xe(rr)?rr(Rt,P,Tn||kl,rn):j(P,Ai,{},Tn||kl)}try{zi(fetch(o?I:Ye,o?me:null),function(Rt){if(A&&(n-=L,L=0),!$)if($=!0,Rt.rejected)ut(Rt.reason&&Rt.reason[Sc],499),M&&M(Rt.reason);else{var rn=Rt[Vd];try{!o&&!rn.ok?(rn[Al]?ut(rn.statusText,rn[Al]):ut(rn.statusText,499),ee&&ee(!1)):o&&!rn.body?(nn(rn,null,kl),ee&&ee(!0)):zi(rn.text(),function(Tn){nn(rn,w,Tn[Vd]),ee&&ee(!0)})}catch(Tn){rn&&rn[Al]?ut(Le(Tn),rn[Al]):ut(Le(Tn),499),M&&M(Tn)}}})}catch(Rt){$||(ut(Le(Rt),499),M&&M(Rt))}return H&&!$&&($=!0,j(P,200,{}),ee&&ee(!0)),o&&!$&&w[qp]>0&&g&&g.set(function(){$||($=!0,j(P,500,{}),ee&&ee(!0))},w[qp]),we}function ie(w,P,A){var R=Qi(),I=new XDomainRequest,ne=w[qa];I.onload=function(){var T=Fv(I),L=a&&a.xdrOnComplete;L&&Xe(L)?L(I,P,w):j(P,200,{},T)},I.onerror=function(){j(P,400,{},o?kl:WC(I))},I.ontimeout=function(){j(P,500,{})},I.onprogress=function(){};var Ie=R&&R.location&&R.location.protocol||"",we=w[kv];if(!we){F(P);return}if(!o&&we.lastIndexOf(Ie,0)!==0){var ee="Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol.";xe(r,2,40,". "+ee),B(ee,P);return}var M=o?we:we[Il](/^(https?:)/,"");I.open(Wz,M),w[qp]&&(I[qp]=w[qp]),I.send(ne),o&&A?g&&g.set(function(){I.send(ne)},0):I.send(ne)}function X(){n=0,i=!1,e=!1,r=null,o=null,a=null,s=null,l=null,c=null,d=!1,u=!1,m=!1,f=!1,p=!1,g=null}})}return t.__ieDyn=1,t})();var Tde="on",Cde="attachEvent",Dde="addEventListener",Ede="detachEvent",Sde="removeEventListener",Xz="events",Qz="visibilitychange",RM="pagehide";var Ide="unload",Ade="beforeunload",Mde=Ti("aiEvtPageHide"),L3t=Ti("aiEvtPageShow"),S7e=/\.[\.]+/g,w7e=/[\.]+$/,x7e=1,AM=cM("events"),T7e=/^([^.]*)(?:\.(.+)|)/;function wde(t){return t&&t[Il]?t[Il](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,Bt):t}function Zz(t,n){if(n){var e=Bt;pt(n)?(e=Bt,Ae(n,function(r){r=wde(r),r&&(r[0]!=="."&&(r="."+r),e+=r)})):e=wde(n),e&&(e[0]!=="."&&(e="."+e),t=(t||Bt)+e)}var i=T7e.exec(t||Bt)||[];return{type:i[1],ns:(i[2]||Bt).replace(S7e,".").replace(w7e,Bt)[Fs](".").sort().join(".")}}function kde(t,n,e){e===void 0&&(e=!0);var i=AM.get(t,Xz,{},e),r=i[n];return r||(r=i[n]=[]),r}function Rde(t,n,e,i){t&&n&&n[Bd]&&(t[Sde]?t[Sde](n[Bd],e,i):t[Ede]&&t[Ede](Tde+n[Bd],e))}function I7e(t,n,e,i){var r=!1;return t&&n&&n[Bd]&&e&&(t[Dde]?(t[Dde](n[Bd],e,i),r=!0):t[Cde]&&(t[Cde](Tde+n[Bd],e),r=!0)),r}function xde(t,n,e,i){for(var r=n[qe];r--;){var o=n[r];o&&(!e.ns||e.ns===o[KU].ns)&&(!i||i(o))&&(Rde(t,o[KU],o.handler,o.capture),n[ma](r,1))}}function A7e(t,n,e){if(n[Bd])xde(t,kde(t,n[Bd]),n,e);else{var i=AM.get(t,Xz,{});_t(i,function(r,o){xde(t,o,n,e)}),go(i)[qe]===0&&AM.kill(t,Xz)}}function Ho(t,n){var e;return n?(pt(n)?e=[t].concat(n):e=[t,n],e=Zz("xx",e).ns[Fs](".")):e=t,e}function _a(t,n,e,i,r){r===void 0&&(r=!1);var o=!1;if(t)try{var a=Zz(n,i);if(o=I7e(t,a,e,r),o&&AM.accept(t)){var s={guid:x7e++,evtName:a,handler:e,capture:r};kde(t,a.type)[St](s)}}catch{}return o}function Ac(t,n,e,i,r){if(r===void 0&&(r=!1),t)try{var o=Zz(n,i),a=!1;A7e(t,o,function(s){return o.ns&&!e||s.handler===e?(a=!0,!0):!1}),a||Rde(t,o,e,r)}catch{}}function Pde(t,n,e){var i=!1,r=Qi();r&&(i=_a(r,t,n,e),i=_a(r.body,t,n,e)||i);var o=ti();return o&&(i=_a(o,t,n,e)||i),i}function Nde(t,n,e){var i=Qi();i&&(Ac(i,t,n,e),Ac(i.body,t,n,e));var r=ti();r&&Ac(r,t,n,e)}function MM(t,n,e,i){var r=!1;return n&&t&&t[qe]>0&&Ae(t,function(o){o&&(!e||Xn(e,o)===-1)&&(r=Pde(o,n,i)||r)}),r}function Ode(t,n,e,i){var r=!1;return n&&t&&pt(t)&&(r=MM(t,n,e,i),!r&&e&&e[qe]>0&&(r=MM(t,n,null,i))),r}function kM(t,n,e){t&&pt(t)&&Ae(t,function(i){i&&Nde(i,n,e)})}function Jz(t,n,e){return Ode([Ade,Ide,RM],t,n,e)}function eH(t,n){kM([Ade,Ide,RM],t,n)}function fD(t,n,e){function i(a){var s=ti();t&&s&&s.visibilityState==="hidden"&&t(a)}var r=Ho(Mde,e),o=MM([RM],t,n,r);return(!n||Xn(n,Qz)===-1)&&(o=MM([Qz],i,n,r)||o),!o&&n&&(o=fD(t,null,e)),o}function tH(t,n){var e=Ho(Mde,n);kM([RM],t,e),kM([Qz],null,e)}var Fde="_aiHooks",Lde=["req","rsp","hkErr","fnErr"];function iH(t,n){if(t)for(var e=0;e<t[qe]&&!n(t[e],e);e++);}function nH(t,n,e,i,r){r>=0&&r<=2&&iH(t,function(o,a){var s=o.cbks,l=s[Lde[r]];if(l){n.ctx=function(){var u=i[a]=i[a]||{};return u};try{l[Ns](n.inst,e)}catch(u){var c=n.err;try{var d=s[Lde[2]];d&&(n.err=u,d[Ns](n.inst,e))}catch{}finally{n.err=c}}}})}function M7e(t){return function(){var n=this,e=arguments,i=t.h,r={name:t.n,inst:n,ctx:null,set:l},o=[],a=s([r],e);r.evt=Mn("event");function s(d,u){return iH(u,function(m){d[St](m)}),d}function l(d,u){e=s([],e),e[d]=u,a=s([r],e)}nH(i,r,a,o,0);var c=t.f;if(c)try{r.rslt=c[Ns](n,e)}catch(d){throw r.err=d,nH(i,r,a,o,3),d}return nH(i,r,a,o,1),r.rslt}}function rH(t,n,e,i){var r=null;return t&&(ho(t,n)?r=t:e&&(r=rH(Sce(t),n,i,!1))),r}function oH(t,n,e){return t?mD(t[vo],n,e,!1):null}function Vde(t,n,e,i){var r=e&&e[Fde];if(!r){r={i:0,n,f:e,h:[]};var o=M7e(r);o[Fde]=r,t[n]=o}var a={id:r.i,cbks:i,rm:function(){var s=this.id;iH(r.h,function(l,c){if(l.id===s)return r.h[ma](c,1),1})}};return r.i++,r.h[St](a),a}function mD(t,n,e,i,r){if(i===void 0&&(i=!0),t&&n&&e){var o=rH(t,n,i,r);if(o){var a=o[n];if(typeof a===wv)return Vde(o,n,a,e)}}return null}function $v(t,n,e,i,r){if(t&&n&&e){var o=rH(t,n,i,r)||t;if(o)return Vde(o,n,o[n],e)}return null}var Mc="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",pD="sampleRate",hD="ProcessLegacy",PM="http.method",sh="https://dc.services.visualstudio.com",kc="/v2/track",nr="not_specified",NM="iKey";var Rn=YU({requestContextHeader:[0,"Request-Context"],requestContextTargetKey:[1,"appId"],requestContextAppIdFormat:[2,"appId=cid-v1:"],requestIdHeader:[3,"Request-Id"],traceParentHeader:[4,"traceparent"],traceStateHeader:[5,"tracestate"],sdkContextHeader:[6,"Sdk-Context"],sdkContextHeaderAppIdRequest:[7,"appId"],requestContextHeaderLowerCase:[8,"request-context"]});var Gd="split",Tt="length",qd="toLowerCase",Ff="ingestionendpoint",Lf="toString",OM="removeItem",Vf="message",Bf="count",FM="preTriggerDate",LM="getUTCDate",lh="stringify",gD="pathname",ch="match",aH="correlationHeaderExcludePatterns",Rr="name";var qr="properties",bo="measurements",_D="sizeInBytes",vD="typeName",Gv="exceptions",dh="severityLevel",VM="problemGroup",uh="parsedStack",yD="hasFullStack",bD="assembly",Rc="fileName",fh="line",qv="aiDataContract",mh="duration";function sH(t,n,e){var i=n[Tt],r=Bde(t,n);if(r[Tt]!==i){for(var o=0,a=r;e[a]!==void 0;)o++,a=Ar(r,0,147)+jde(o);r=a}return r}function Bde(t,n){var e;return n&&(n=gn(Li(n)),n[Tt]>150&&(e=Ar(n,0,150),xe(t,2,57,"name is too long. It has been truncated to 150 characters.",{name:n},!0))),e||n}function xn(t,n,e){e===void 0&&(e=1024);var i;return n&&(e=e||1024,n=gn(Li(n)),n[Tt]>e&&(i=Ar(n,0,e),xe(t,2,61,"string value is too long. It has been truncated to "+e+" characters.",{value:n},!0))),i||n}function Yd(t,n,e){return Ze(n)&&(n=jo(n,e)),dH(t,n,2048,66)}function CD(t,n){var e;return n&&n[Tt]>32768&&(e=Ar(n,0,32768),xe(t,2,56,"message is too long, it has been truncated to 32768 characters.",{message:n},!0)),e||n}function lH(t,n){var e;if(n){var i=""+n;i[Tt]>32768&&(e=Ar(i,0,32768),xe(t,2,52,"exception is too long, it has been truncated to 32768 characters.",{exception:n},!0))}return e||n}function $o(t,n){if(n){var e={};_t(n,function(i,r){if(Vi(r)&&xc())try{r=Ji()[lh](r)}catch(o){xe(t,2,49,"custom property is not valid",{exception:o},!0)}r=xn(t,r,8192),i=sH(t,i,e),e[i]=r}),n=e}return n}function Go(t,n){if(n){var e={};_t(n,function(i,r){i=sH(t,i,e),e[i]=r}),n=e}return n}function cH(t,n){return n&&dH(t,n,128,69)[Lf]()}function dH(t,n,e,i){var r;return n&&(n=gn(Li(n)),n[Tt]>e&&(r=Ar(n,0,e),xe(t,2,i,"input is too long, it has been truncated to "+e+" characters.",{data:n},!0))),r||n}function jde(t){var n="00"+t;return Sl(n,n[Tt]-3)}var Ude=ti()||{},zde=0,O7e=[null,null,null,null,null];function DD(t){var n=zde,e=O7e,i=e[n];return Ude.createElement?e[n]||(i=e[n]=Ude.createElement("a")):i={host:Hde(t,!0)},i.href=t,n++,n>=e[Tt]&&(n=0),zde=n,i}function uH(t){var n,e=DD(t);return e&&(n=e.href),n}function fH(t,n){return t?t.toUpperCase()+" "+n:n}function Hde(t,n){var e=BM(t,n)||"";if(e){var i=e[ch](/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);if(i!=null&&i[Tt]>3&&Ze(i[2])&&i[2][Tt]>0)return i[2]+(i[3]||"")}return e}function BM(t,n){var e=null;if(t){var i=t[ch](/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);if(i!=null&&i[Tt]>2&&Ze(i[2])&&i[2][Tt]>0&&(e=i[2]||"",n&&i[Tt]>2)){var r=(i[1]||"")[qd](),o=i[3]||"";(r==="http"&&o===":80"||r==="https"&&o===":443")&&(o=""),e+=o}}return e}var F7e=[sh+kc,"https://breeze.aimon.applicationinsights.io"+kc,"https://dc-int.services.visualstudio.com"+kc],L7e="cid-v1:";function Yv(t){return Xn(F7e,t[qd]())!==-1}function jM(t,n,e){if(!n||t&&t.disableCorrelationHeaders)return!1;if(t&&t[aH]){for(var i=0;i<t.correlationHeaderExcludePatterns[Tt];i++)if(t[aH][i].test(n))return!1}var r=DD(n).host[qd]();if(r&&(Fn(r,":443")!==-1||Fn(r,":80")!==-1)&&(r=(BM(n,!0)||"")[qd]()),(!t||!t.enableCorsCorrelation)&&r&&r!==e)return!1;var o=t&&t.correlationHeaderDomains;if(o){var a;if(Ae(o,function(c){var d=new RegExp(c.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));a=a||d.test(r)}),!a)return!1}var s=t&&t.correlationHeaderExcludedDomains;if(!s||s[Tt]===0)return!0;for(var i=0;i<s[Tt];i++){var l=new RegExp(s[i].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));if(l.test(r))return!1}return r&&r[Tt]>0}function UM(t){if(t){var n=$de(t,Rn[1]);if(n&&n!==L7e)return n}}function $de(t,n){if(t)for(var e=t[Gd](","),i=0;i<e[Tt];++i){var r=e[i][Gd]("=");if(r[Tt]===2&&r[0]===n)return r[1]}}function Gde(t,n,e,i){var r,o=i,a=i;if(n&&n[Tt]>0){var s=DD(n);if(r=s.host,!o)if(s[gD]!=null){var l=s.pathname[Tt]===0?"/":s[gD];l.charAt(0)!=="/"&&(l="/"+l),a=s[gD],o=xn(t,e?e+" "+l:l)}else o=xn(t,n)}else r=i,o=i;return{target:r,name:o,data:a}}function Wv(){var t=Bo();if(t&&t.now&&t.timing){var n=t.now()+t.timing.navigationStart;if(n>0)return n}return Xi()}function hr(t,n){var e=null;return t!==0&&n!==0&&!fe(t)&&!fe(n)&&(e=n-t),e}function ph(t,n){var e=t||{};return{getName:function(){return e[Rr]},setName:function(i){n&&n.setName(i),e[Rr]=i},getTraceId:function(){return e.traceID},setTraceId:function(i){n&&n.setTraceId(i),oh(i)&&(e.traceID=i)},getSpanId:function(){return e.parentID},setSpanId:function(i){n&&n.setSpanId(i),ah(i)&&(e.parentID=i)},getTraceFlags:function(){return e.traceFlags},setTraceFlags:function(i){n&&n.setTraceFlags(i),e.traceFlags=i}}}var Kv=FC({LocalStorage:0,SessionStorage:1});var jf=void 0,Uf=void 0,qde="";function mH(){return gh()?zM(Kv.LocalStorage):null}function zM(t){try{if(fe(Bi()))return null;var n=new Date()[Lf](),e=Mn(t===Kv.LocalStorage?"localStorage":"sessionStorage"),i=qde+n;e.setItem(i,n);var r=e.getItem(i)!==n;if(e[OM](i),!r)return e}catch{}return null}function pH(){return zf()?zM(Kv.SessionStorage):null}function hH(){jf=!1,Uf=!1}function hh(t){qde=t||""}function gH(){jf=gh(!0),Uf=zf(!0)}function gh(t){return(t||jf===void 0)&&(jf=!!zM(Kv.LocalStorage)),jf}function ED(t,n){var e=mH();if(e!==null)try{return e.getItem(n)}catch(i){jf=!1,xe(t,2,1,"Browser failed read of local storage. "+Qt(i),{exception:Le(i)})}return null}function SD(t,n,e){var i=mH();if(i!==null)try{return i.setItem(n,e),!0}catch(r){jf=!1,xe(t,2,3,"Browser failed write to local storage. "+Qt(r),{exception:Le(r)})}return!1}function _H(t,n){var e=mH();if(e!==null)try{return e[OM](n),!0}catch(i){jf=!1,xe(t,2,5,"Browser failed removal of local storage item. "+Qt(i),{exception:Le(i)})}return!1}function zf(t){return(t||Uf===void 0)&&(Uf=!!zM(Kv.SessionStorage)),Uf}function Xv(t,n){var e=pH();if(e!==null)try{return e.getItem(n)}catch(i){Uf=!1,xe(t,2,2,"Browser failed read of session storage. "+Qt(i),{exception:Le(i)})}return null}function wD(t,n,e){var i=pH();if(i!==null)try{return i.setItem(n,e),!0}catch(r){Uf=!1,xe(t,2,4,"Browser failed write to session storage. "+Qt(r),{exception:Le(r)})}return!1}function xD(t,n){var e=pH();if(e!==null)try{return e[OM](n),!0}catch(i){Uf=!1,xe(t,2,6,"Browser failed removal of session storage item. "+Qt(i),{exception:Le(i)})}return!1}var V7e="appInsightsThrottle",vH=(function(){function t(n,e){var i=this,r,o,a,s,l,c,d,u=!1,m=!1;p(),i._getDbgPlgTargets=function(){return[d]},i.getConfig=function(){return a},i.canThrottle=function(w){var P=ce(w),A=g(w);return D(A,r,P)},i.isTriggered=function(w){return ie(w)},i.isReady=function(){return u},i.flush=function(w){try{var P=X(w);if(P&&P[Tt]>0){var A=P.slice(0);return d[w]=[],Ae(A,function(R){f(R.msgID,R[Vf],R.severity,!1)}),!0}}catch{}return!1},i.flushAll=function(){try{if(d){var w=!0;return _t(d,function(P){var A=i.flush(parseInt(P));w=w&&A}),w}}catch{}return!1},i.onReadyState=function(w,P){return P===void 0&&(P=!0),u=fe(w)?!0:w,u&&P?i.flushAll():null},i.sendMessage=function(w,P,A){return f(w,P,A,!0)};function f(w,P,A,R){if(u){var I=Q(w);if(!I)return;var ne=g(w),Ie=ce(w),we=D(ne,r,Ie),ee=!1,M=0,T=ie(w);try{we&&!T?(M=AA(ne.limit.maxSendNumber,Ie[Bf]+1),Ie[Bf]=0,ee=!0,l[w]=!0,Ie[FM]=new Date):(l[w]=we,Ie[Bf]+=1);var L=O(w);j(o,L,Ie);for(var H=0;H<M;H++)Y(w,o,P,A)}catch{}return{isThrottled:ee,throttleNum:M}}else if(R){var $=X(w);$.push({msgID:w,message:P,severity:A})}return null}function p(){o=zo(n),l={},s={},d={},a={},_(109),c=Ls(e)?e:"",n.addUnloadHook(Cn(n.config,function(w){var P=w.cfg;r=gh();var A=P.throttleMgrCfg||{};_t(A,function(R,I){_(parseInt(R),I)})}))}function g(w){return a[w]||a[109]}function _(w,P){var A,R;try{var I=P||{},ne={};ne.disabled=!!I.disabled;var Ie=I.interval||{};m=Ie?.daysOfMonth&&Ie?.daysOfMonth[Tt]>0,ne.interval=v(Ie);var we={samplingRate:((A=I.limit)===null||A===void 0?void 0:A.samplingRate)||100,maxSendNumber:((R=I.limit)===null||R===void 0?void 0:R.maxSendNumber)||1};ne.limit=we,a[w]=ne}catch{}}function v(w){w=w||{};var P=w?.monthInterval,A=w?.dayInterval;return fe(P)&&fe(A)&&(w.monthInterval=3,m||(w.daysOfMonth=[28],m=!0)),w={monthInterval:w?.monthInterval,dayInterval:w?.dayInterval,daysOfMonth:w?.daysOfMonth},w}function D(w,P,A){if(w&&!w.disabled&&P&&Ls(A)){var R=W(),I=A.date,ne=w.interval,Ie=1;if(ne?.monthInterval){var we=(R.getUTCFullYear()-I.getUTCFullYear())*12+R.getUTCMonth()-I.getUTCMonth();Ie=k(ne.monthInterval,0,we)}var ee=1;if(m)ee=Xn(ne.daysOfMonth,R[LM]());else if(ne?.dayInterval){var M=Mr((R.getTime()-I.getTime())/864e5);ee=k(ne.dayInterval,0,M)}return Ie>=0&&ee>=0}return!1}function O(w,P){var A=Ls(P)?P:"";return w?V7e+A+"-"+w:null}function B(w){try{if(w){var P=new Date;return w.getUTCFullYear()===P.getUTCFullYear()&&w.getUTCMonth()===P.getUTCMonth()&&w[LM]()===P[LM]()}}catch{}return!1}function F(w,P,A){try{var R={date:W(),count:0};if(w){var I=JSON.parse(w),ne={date:W(I.date)||R.date,count:I[Bf]||R[Bf],preTriggerDate:I.preTriggerDate?W(I[FM]):void 0};return ne}else return j(P,A,R),R}catch{}return null}function W(w){try{if(w){var P=new Date(w);if(!isNaN(P.getDate()))return P}else return new Date}catch{}return null}function j(w,P,A){try{return SD(w,P,gn(JSON[lh](A)))}catch{}return!1}function k(w,P,A){return w<=0?1:A>=P&&(A-P)%w==0?Mr((A-P)/w)+1:-1}function Y(w,P,A,R){xe(P,R||1,w,A)}function Q(w){try{var P=g(w);return Dz(1e6)<=P.limit.samplingRate}catch{}return!1}function ce(w){try{var P=s[w];if(!P){var A=O(w,c);P=F(ED(o,A),o,A),s[w]=P}return s[w]}catch{}return null}function ie(w){var P=l[w];if(fe(P)){P=!1;var A=ce(w);A&&(P=B(A[FM])),l[w]=P}return l[w]}function X(w){return d=d||{},fe(d[w])&&(d[w]=[]),d[w]}}return t})();var B7e=";",j7e="=";function HM(t){if(!t)return{};var n=t[Gd](B7e),e=IU(n,function(r,o){var a=o[Gd](j7e);if(a[Tt]===2){var s=a[0][qd](),l=a[1];r[s]=l}return r},{});if(go(e)[Tt]>0){if(e.endpointsuffix){var i=e.location?e.location+".":"";e[Ff]=e[Ff]||"https://"+i+"dc."+e.endpointsuffix}e[Ff]=e[Ff]||sh,RC(e[Ff],"/")&&(e[Ff]=e[Ff].slice(0,-1))}return e}var yH=(function(){function t(n,e,i){var r=this,o=this;o.ver=1,o.sampleRate=100,o.tags={},o[Rr]=xn(n,i)||nr,o.data=e,o.time=Vs(new Date),o[qv]={time:1,iKey:1,name:1,sampleRate:function(){return r.sampleRate===100?4:1},tags:1,data:1}}return t})();var Bs=(function(){function t(n,e,i,r){this.aiDataContract={ver:1,name:1,properties:0,measurements:0};var o=this;o.ver=2,o[Rr]=xn(n,e)||nr,o[qr]=$o(n,i),o[bo]=Go(n,r)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t})();var U7e=58,z7e=/^\s{0,50}(from\s|at\s|Line\s{1,5}\d{1,10}\s{1,5}of|\w{1,50}@\w{1,80}|[^\(\s\n]+:[0-9\?]+(?::[0-9\?]+)?)/,H7e=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+):([0-9\?]+)\)?$/,$7e=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\]]+):([0-9\?]+)\)?$/,G7e=/^(?:\s{0,50}at)?\s{0,50}([^\@\()\s]+)?\s{0,50}(?:\s|\@|\()\s{0,5}([^\(\s\n\)\]]+)\)?$/,q7e=/(?:^|\(|\s{0,10}[\w\)]+\@)?([^\(\n\s\]\)]+)(?:\:([0-9]+)(?:\:([0-9]+))?)?\)?(?:,|$)/,Y7e=/([^\(\s\n]+):([0-9]+):([0-9]+)$/,W7e=/([^\(\s\n]+):([0-9]+)$/,Yde="<no_method>",Qv="error",js="stack",CH="stackDetails",Wde="errorSrc",DH="message",Zde="description",Kde=[{re:H7e,len:5,m:1,fn:2,ln:3,col:4},{chk:X7e,pre:K7e,re:$7e,len:4,m:1,fn:2,ln:3},{re:G7e,len:3,m:1,fn:2,hdl:Qde},{re:q7e,len:2,fn:1,hdl:Qde}];function K7e(t){return t.replace(/(\(anonymous\))/,"<anonymous>")}function X7e(t){return Fn(t,"[native")<0}function EH(t,n){var e=t;return e&&!Ze(e)&&(JSON&&JSON[lh]?(e=JSON[lh](t),n&&(!e||e==="{}")&&(Xe(t[Lf])?e=t[Lf]():e=""+t)):e=""+t+" - (Missing JSON.stringify)"),e||""}function Jde(t,n){var e=t;return t&&(e&&!Ze(e)&&(e=t[DH]||t[Zde]||e),e&&!Ze(e)&&(e=EH(e,!0)),t.filename&&(e=e+" @"+(t.filename||"")+":"+(t.lineno||"?")+":"+(t.colno||"?"))),n&&n!=="String"&&n!=="Object"&&n!=="Error"&&Fn(e||"",n)===-1&&(e=n+": "+e),e||""}function Q7e(t){try{if(Vi(t))return"hasFullStack"in t&&"typeName"in t}catch{}return!1}function Z7e(t){try{if(Vi(t))return"ver"in t&&"exceptions"in t&&"properties"in t}catch{}return!1}function Xde(t){return t&&t.src&&Ze(t.src)&&t.obj&&pt(t.obj)}function _h(t){var n=t||"";Ze(n)||(Ze(n[js])?n=n[js]:n=""+n);var e=n[Gd](`
|
|
67
|
+
`);return{src:n,obj:e}}function J7e(t){for(var n=[],e=t[Gd](`
|
|
68
|
+
`),i=0;i<e[Tt];i++){var r=e[i];e[i+1]&&(r+="@"+e[i+1],i++),n.push(r)}return{src:t,obj:n}}function eue(t){var n=null;if(t)try{if(t[js])n=_h(t[js]);else if(t[Qv]&&t[Qv][js])n=_h(t[Qv][js]);else if(t.exception&&t.exception[js])n=_h(t.exception[js]);else if(Xde(t))n=t;else if(Xde(t[CH]))n=t[CH];else if(Qi()&&Qi().opera&&t[DH])n=J7e(t[Vf]);else if(t.reason&&t.reason[js])n=_h(t.reason[js]);else if(Ze(t))n=_h(t);else{var e=t[DH]||t[Zde]||"";Ze(t[Wde])&&(e&&(e+=`
|
|
69
|
+
`),e+=" from "+t[Wde]),e&&(n=_h(e))}}catch(i){n=_h(i)}return n||{src:"",obj:null}}function eXe(t){var n="";return t&&(t.obj?n=t.obj.join(`
|
|
70
|
+
`):n=t.src||""),n}function tXe(t){var n,e=t.obj;if(e&&e[Tt]>0){n=[];var i=0,r=!1,o=0;Ae(e,function(g){if(r||oXe(g)){var _=Li(g);r=!0;var v=aXe(_,i);v&&(o+=v[_D],n.push(v),i++)}});var a=32*1024;if(o>a)for(var s=0,l=n[Tt]-1,c=0,d=s,u=l;s<l;){var m=n[s][_D],f=n[l][_D];if(c+=m+f,c>a){var p=u-d+1;n.splice(d,p);break}d=s,u=l,s++,l--}}return n}function $M(t){var n="";if(t&&(n=t.typeName||t[Rr]||"",!n))try{var e=/function (.{1,200})\(/,i=e.exec(t.constructor[Lf]());n=i&&i[Tt]>1?i[1]:""}catch{}return n}function bH(t){if(t)try{if(!Ze(t)){var n=$M(t),e=EH(t,!1);return(!e||e==="{}")&&(t[Qv]&&(t=t[Qv],n=$M(t)),e=EH(t,!0)),Fn(e,n)!==0&&n!=="String"?n+":"+e:e}}catch{}return""+(t||"")}var Co=(function(){function t(n,e,i,r,o,a){this.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0};var s=this;s.ver=2,Z7e(e)?(s[Gv]=e[Gv]||[],s[qr]=e[qr],s[bo]=e[bo],e[dh]&&(s[dh]=e[dh]),e.id&&(s.id=e.id,e[qr].id=e.id),e[VM]&&(s[VM]=e[VM]),fe(e.isManual)||(s.isManual=e.isManual)):(i||(i={}),a&&(i.id=a),s[Gv]=[tue(n,e,i)],s[qr]=$o(n,i),s[bo]=Go(n,r),o&&(s[dh]=o),a&&(s.id=a))}return t.CreateAutoException=function(n,e,i,r,o,a,s,l){var c=$M(o||a||n);return{message:Jde(n,c),url:e,lineNumber:i,columnNumber:r,error:bH(o||a||n),evt:bH(a||n),typeName:c,stackDetails:eue(s||o||a),errorSrc:l}},t.CreateFromInterface=function(n,e,i,r){var o=e[Gv]&&Up(e[Gv],function(s){return rXe(n,s)}),a=new t(n,Ui(Ui({},e),{exceptions:o}),i,r);return a},t.prototype.toInterface=function(){var n=this,e=n.exceptions,i=n.properties,r=n.measurements,o=n.severityLevel,a=n.problemGroup,s=n.id,l=n.isManual,c=e instanceof Array&&Up(e,function(d){return d.toInterface()})||void 0;return{ver:"4.0",exceptions:c,severityLevel:o,properties:i,measurements:r,problemGroup:a,id:s,isManual:l}},t.CreateSimpleException=function(n,e,i,r,o,a){var s;return{exceptions:[(s={},s[yD]=!0,s.message=n,s.stack=o,s.typeName=e,s)]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=bH,t})();var nXe=_o({id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2});function iXe(){var t=this,n=pt(t[uh])&&Up(t[uh],function(i){return lXe(i)}),e={id:t.id,outerId:t.outerId,typeName:t[vD],message:t[Vf],hasFullStack:t[yD],stack:t[js],parsedStack:n||void 0};return e}function tue(t,n,e){var i,r,o,a,s,l,c,d;if(Q7e(n))a=n[vD],s=n[Vf],c=n[js],d=n[uh]||[],l=n[yD];else{var u=n,m=u&&u.evt;Vp(u)||(u=u[Qv]||m||u),a=xn(t,$M(u))||nr,s=CD(t,Jde(n||u,a))||nr;var f=n[CH]||eue(n);d=tXe(f),pt(d)&&Up(d,function(p){p[bD]=xn(t,p[bD]),p[Rc]=xn(t,p[Rc])}),c=lH(t,eXe(f)),l=pt(d)&&d[Tt]>0,e&&(e[vD]=e[vD]||a)}return i={},i[qv]=nXe,i.id=r,i.outerId=o,i.typeName=a,i.message=s,i[yD]=l,i.stack=c,i.parsedStack=d,i.toInterface=iXe,i}function rXe(t,n){var e=pt(n[uh])&&Up(n[uh],function(r){return sXe(r)})||n[uh],i=tue(t,Ui(Ui({},n),{parsedStack:e}));return i}function nue(t,n){var e=n[ch](Y7e);if(e&&e[Tt]>=4)t[Rc]=e[1],t[fh]=parseInt(e[2]);else{var i=n[ch](W7e);i&&i[Tt]>=3?(t[Rc]=i[1],t[fh]=parseInt(i[2])):t[Rc]=n}}function Qde(t,n,e){var i=t[Rc];n.fn&&e&&e[Tt]>n.fn&&(n.ln&&e[Tt]>n.ln?(i=gn(e[n.fn]||""),t[fh]=parseInt(gn(e[n.ln]||""))||0):i=gn(e[n.fn]||"")),i&&nue(t,i)}function oXe(t){var n=!1;if(t&&Ze(t)){var e=gn(t);e&&(n=z7e.test(e))}return n}var iue=_o({level:1,method:1,assembly:0,fileName:0,line:0});function aXe(t,n){var e,i;if(t&&Ze(t)&&gn(t)){i=(e={},e[qv]=iue,e.level=n,e.assembly=gn(t),e.method=Yde,e.fileName="",e.line=0,e.sizeInBytes=0,e);for(var r=0;r<Kde[Tt];){var o=Kde[r];if(o.chk&&!o.chk(t))break;o.pre&&(t=o.pre(t));var a=t[ch](o.re);if(a&&a[Tt]>=o.len){o.m&&(i.method=gn(a[o.m]||Yde)),o.hdl?o.hdl(i,o,a):o.fn&&(o.ln?(i[Rc]=gn(a[o.fn]||""),i[fh]=parseInt(gn(a[o.ln]||""))||0):nue(i,a[o.fn]||""));break}r++}}return rue(i)}function sXe(t){var n,e=(n={},n[qv]=iue,n.level=t.level,n.method=t.method,n.assembly=t[bD],n.fileName=t[Rc],n.line=t[fh],n.sizeInBytes=0,n);return rue(e)}function rue(t){var n=U7e;return t&&(n+=t.method[Tt],n+=t.assembly[Tt],n+=t.fileName[Tt],n+=t.level.toString()[Tt],n+=t.line.toString()[Tt],t[_D]=n),t}function lXe(t){return{level:t.level,method:t.method,assembly:t[bD],fileName:t[Rc],line:t[fh]}}var oue=(function(){function t(){this.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},this.kind=0}return t})();var Us=(function(){function t(n,e,i,r,o,a,s,l,c){this.aiDataContract={ver:1,metrics:1,properties:0};var d=this;d.ver=2;var u=new oue;u[Bf]=r>0?r:void 0,u.max=isNaN(a)||a===null?void 0:a,u.min=isNaN(o)||o===null?void 0:o,u[Rr]=xn(n,e)||nr,u.value=i,u.stdDev=isNaN(s)||s===null?void 0:s,d.metrics=[u],d[qr]=$o(n,l),d[bo]=Go(n,c)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t})();var TD="";function Qa(t){(isNaN(t)||t<0)&&(t=0),t=FA(t);var n=TD+t%1e3,e=TD+Mr(t/1e3)%60,i=TD+Mr(t/(1e3*60))%60,r=TD+Mr(t/(1e3*60*60))%24,o=Mr(t/(1e3*60*60*24));return n=n[Tt]===1?"00"+n:n[Tt]===2?"0"+n:n,e=e[Tt]<2?"0"+e:e,i=i[Tt]<2?"0"+i:i,r=r[Tt]<2?"0"+r:r,(o>0?o+".":TD)+r+":"+i+":"+e+"."+n}function SH(t,n,e,i,r){return!r&&Ze(t)&&(t==="Script error."||t==="Script error")}var va=(function(){function t(n,e,i,r,o,a,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0};var l=this;l.ver=2,l.id=cH(n,s),l.url=Yd(n,i),l[Rr]=xn(n,e)||nr,isNaN(r)||(l[mh]=Qa(r)),l[qr]=$o(n,o),l[bo]=Go(n,a)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t})();var zs=(function(){function t(n,e,i,r,o,a,s,l,c,d,u,m){c===void 0&&(c="Ajax"),this.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0};var f=this;f.ver=2,f.id=e,f[mh]=Qa(o),f.success=a,f.resultCode=s+"",f.type=xn(n,c);var p=Gde(n,i,l,r);f.data=Yd(n,r)||p.data,f.target=xn(n,p.target),d&&(f.target="".concat(f.target," | ").concat(d)),f[Rr]=xn(n,p[Rr]),f[qr]=$o(n,u),f[bo]=Go(n,m)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t})();var Pc=(function(){function t(n,e,i,r,o){this.aiDataContract={ver:1,message:1,severityLevel:0,properties:0};var a=this;a.ver=2,e=e||nr,a[Vf]=CD(n,e),a[qr]=$o(n,r),a[bo]=Go(n,o),i&&(a[dh]=i)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t})();var Nc=(function(){function t(n,e,i,r,o,a,s){this.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0};var l=this;l.ver=2,l.url=Yd(n,i),l[Rr]=xn(n,e)||nr,l[qr]=$o(n,o),l[bo]=Go(n,a),s&&(l.domProcessing=s.domProcessing,l[mh]=s[mh],l.networkConnect=s.networkConnect,l.perfTotal=s.perfTotal,l.receivedResponse=s.receivedResponse,l.sentRequest=s.sentRequest)}return t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t})();var Wd=(function(){function t(n,e){this.aiDataContract={baseType:1,baseData:1},this.baseType=n,this.baseData=e}return t})();function $f(t){var n="ai."+t+".";return function(e){return n+e}}var ID=$f("application"),gr=$f("device"),GM=$f("location"),Zv=$f("operation"),wH=$f("session"),Hf=$f("user"),vh=$f("cloud"),AD=$f("internal"),MD=(function(t){kr(n,t);function n(){return t.call(this)||this}return n})(cz({applicationVersion:ID("ver"),applicationBuild:ID("build"),applicationTypeId:ID("typeId"),applicationId:ID("applicationId"),applicationLayer:ID("layer"),deviceId:gr("id"),deviceIp:gr("ip"),deviceLanguage:gr("language"),deviceLocale:gr("locale"),deviceModel:gr("model"),deviceFriendlyName:gr("friendlyName"),deviceNetwork:gr("network"),deviceNetworkName:gr("networkName"),deviceOEMName:gr("oemName"),deviceOS:gr("os"),deviceOSVersion:gr("osVersion"),deviceRoleInstance:gr("roleInstance"),deviceRoleName:gr("roleName"),deviceScreenResolution:gr("screenResolution"),deviceType:gr("type"),deviceMachineName:gr("machineName"),deviceVMName:gr("vmName"),deviceBrowser:gr("browser"),deviceBrowserVersion:gr("browserVersion"),locationIp:GM("ip"),locationCountry:GM("country"),locationProvince:GM("province"),locationCity:GM("city"),operationId:Zv("id"),operationName:Zv("name"),operationParentId:Zv("parentId"),operationRootId:Zv("rootId"),operationSyntheticSource:Zv("syntheticSource"),operationCorrelationVector:Zv("correlationVector"),sessionId:wH("id"),sessionIsFirst:wH("isFirst"),sessionIsNew:wH("isNew"),userAccountAcquisitionDate:Hf("accountAcquisitionDate"),userAccountId:Hf("accountId"),userAgent:Hf("userAgent"),userId:Hf("id"),userStoreRegion:Hf("storeRegion"),userAuthUserId:Hf("authUserId"),userAnonymousUserAcquisitionDate:Hf("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Hf("authUserAcquisitionDate"),cloudName:vh("name"),cloudRole:vh("role"),cloudRoleVer:vh("roleVer"),cloudRoleInstance:vh("roleInstance"),cloudEnvironment:vh("environment"),cloudLocation:vh("location"),cloudDeploymentUnit:vh("deploymentUnit"),internalNodeName:AD("nodeName"),internalSdkVersion:AD("sdkVersion"),internalAgentVersion:AD("agentVersion"),internalSnippet:AD("snippet"),internalSdkSrc:AD("sdkSrc")}));function Hs(t,n,e,i,r,o){e=xn(i,e)||nr,(fe(t)||fe(n)||fe(e))&&Ir("Input doesn't contain all required fields");var a="";t[NM]&&(a=t[NM],delete t[NM]);var s={name:e,time:Vs(new Date),iKey:a,ext:o||{},tags:[],data:{},baseType:n,baseData:t};return fe(r)||_t(r,function(l,c){s.data[l]=c}),s}var cXe=(function(){function t(){}return t.create=Hs,t})();var Do={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Gn=new MD;function yh(t){var n=null;if(Xe(Event))n=new Event(t);else{var e=ti();e&&e.createEvent&&(n=e.createEvent("Event"),n.initEvent(t,!0,!0))}return n}function aue(t,n){Ac(t,null,null,n)}function xH(t){var n=ti(),e=$r(),i=!1,r=[],o=1;e&&!fe(e.onLine)&&!e.onLine&&(o=2);var a=0,s=m(),l=Ho(Ti("OfflineListener"),t);try{if(d(Qi())&&(i=!0),n){var c=n.body||n;c.ononline&&d(c)&&(i=!0)}}catch{i=!1}function d(O){var B=!1;return O&&(B=_a(O,"online",g,l),B&&_a(O,"offline",_,l)),B}function u(){return s}function m(){return!(a===2||o===2)}function f(){var O=m();s!==O&&(s=O,Ae(r,function(B){var F={isOnline:s,rState:o,uState:a};try{B(F)}catch{}}))}function p(O){a=O,f()}function g(){o=1,f()}function _(){o=2,f()}function v(){var O=Qi();if(O&&i){if(aue(O,l),n){var B=n.body||n;fn(B.ononline)||aue(B,l)}i=!1}}function D(O){return r.push(O),{rm:function(){var B=r.indexOf(O);if(B>-1)return r.splice(B,1)}}}return{isOnline:u,isListening:function(){return i},unload:v,addListener:D,setOnlineState:p}}var Gf="AppInsightsPropertiesPlugin",qM="AppInsightsChannelPlugin",YM="ApplicationInsightsAnalytics";var kD="toString",WM="isStorageUseDisabled",bh="_addHook",Dn="core",Kd="dataType",qf="envelopeType",ya="diagLog",Yf="track",Jv="trackPageView",ba="config",RD="trackPreviousPageVisit",Xd="sendPageViewInternal",KM="refUri",Qd="startTime",Ch="properties",Za="duration",PD="sendPageViewPerformanceInternal",ey="populatePageViewPerformanceEvent",Wf="href",TH="sendExceptionInternal",ty="error",XM="lineNumber",QM="columnNumber",ZM="CreateAutoException",ND="addTelemetryInitializer",sue="overridePageViewDuration",JM="autoExceptionInstrumented",IH="autoTrackPageVisitTime",AH="isBrowserLinkTrackingEnabled",Kf="length",MH="enableAutoRouteTracking",kH="enableUnhandledPromiseRejectionTracking",ek="autoUnhandledPromiseInstrumented",OD="getEntriesByType",tk="isPerformanceTimingSupported",nk="getPerformanceTiming",ny="navigationStart",FD="shouldCollectDuration",ik="isPerformanceTimingDataReady",iy="responseStart",lue="requestStart",LD="loadEventEnd",rk="responseEnd",VD="connectEnd";var cue=(function(){function t(n,e,i,r){Lt(t,this,function(o){var a=null,s=[],l=!1,c=!1,d;i&&(d=i.logger);function u(p){i&&i.flush(p,function(){})}function m(){a||(a=ji(function(){a=null;var p=s.slice(0),g=!1;s=[],Ae(p,function(_){_()?g=!0:s.push(_)}),s[Kf]>0&&m(),g&&u(!0)},100))}function f(p){s.push(p),m()}o[Jv]=function(p,g){var _=p.name;if(fe(_)||typeof _!="string"){var v=ti();_=p.name=v&&v.title||""}var D=p.uri;if(fe(D)||typeof D!="string"){var O=Gr();D=p.uri=O&&O[Wf]||""}if(i&&i[ba]&&(D=p.uri=jo(p.uri,i[ba])),!c){var B=Bo(),F=B&&B[OD]&&B[OD]("navigation");if(F&&F[0]&&!fn(B.timeOrigin)){var W=F[0].loadEventStart;p[Qd]=new Date(B.timeOrigin+W)}else{var j=(g||p[Ch]||{})[Za]||0;p[Qd]=new Date(new Date().getTime()-j)}c=!0}if(!r[tk]()){n[Xd](p,g),u(!0),kA()||xe(d,2,25,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");return}var k=!1,Y,Q=r[nk]()[ny];Q>0&&(Y=hr(Q,+new Date),r[FD](Y)||(Y=void 0));var ce;!fe(g)&&!fe(g[Za])&&(ce=g[Za]),(e||!isNaN(ce))&&(isNaN(ce)&&(g||(g={}),g[Za]=Y),n[Xd](p,g),u(!0),k=!0);var ie=6e4;g||(g={}),f(function(){var X=!1;try{if(r[ik]()){X=!0;var w={name:_,uri:D};r[ey](w),!w.isValid&&!k?(g[Za]=Y,n[Xd](p,g)):(k||(g[Za]=w.durationMs,n[Xd](p,g)),l||(n[PD](w,g),l=!0))}else Q>0&&hr(Q,+new Date)>ie&&(X=!0,k||(g[Za]=ie,n[Xd](p,g)))}catch(P){xe(d,1,38,"trackPageView failed on page load calculation: "+Qt(P),{exception:Le(P)})}return X})},o.teardown=function(p,g){if(a){a.cancel(),a=null;var _=s.slice(0),v=!1;s=[],Ae(_,function(D){D()&&(v=!0)})}}})}return t.__ieDyn=1,t})();var dXe=36e5,due=["googlebot","adsbot-google","apis-google","mediapartners-google"];function fue(){var t=Bo();return t&&!!t.timing}function uXe(){var t=Bo();return t&&t.getEntriesByType&&t.getEntriesByType("navigation")[Kf]>0}function fXe(){var t=Bo(),n=t?t.timing:0;return n&&n.domainLookupStart>0&&n[ny]>0&&n[iy]>0&&n[lue]>0&&n[LD]>0&&n[rk]>0&&n[VD]>0&&n.domLoading>0}function uue(){return fue()?Bo().timing:null}function mXe(){return uXe()?Bo()[OD]("navigation")[0]:null}function pXe(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=$r()||{},i=e.userAgent,r=!1;if(i)for(var o=0;o<due[Kf];o++)r=r||Fn(i.toLowerCase(),due[o])!==-1;if(r)return!1;for(var o=0;o<t[Kf];o++)if(t[o]<0||t[o]>=dXe)return!1;return!0}var mue=(function(){function t(n){var e=zo(n);Lt(t,this,function(i){i[ey]=function(r){r.isValid=!1;var o=mXe(),a=uue(),s=0,l=0,c=0,d=0,u=0;(o||a)&&(o?(s=o[Za],l=o[Qd]===0?o[VD]:hr(o[Qd],o[VD]),c=hr(o.requestStart,o[iy]),d=hr(o[iy],o[rk]),u=hr(o.responseEnd,o[LD])):(s=hr(a[ny],a[LD]),l=hr(a[ny],a[VD]),c=hr(a.requestStart,a[iy]),d=hr(a[iy],a[rk]),u=hr(a.responseEnd,a[LD])),s===0?xe(e,2,10,"error calculating page view performance.",{total:s,network:l,request:c,response:d,dom:u}):i[FD](s,l,c,d,u)?s<Mr(l)+Mr(c)+Mr(d)+Mr(u)?xe(e,2,8,"client performance math error.",{total:s,network:l,request:c,response:d,dom:u}):(r.durationMs=s,r.perfTotal=r[Za]=Qa(s),r.networkConnect=Qa(l),r.sentRequest=Qa(c),r.receivedResponse=Qa(d),r.domProcessing=Qa(u),r.isValid=!0):xe(e,2,45,"Invalid page load duration value. Browser perf data won't be sent.",{total:s,network:l,request:c,response:d,dom:u}))},i[nk]=uue,i[tk]=fue,i[ik]=fXe,i[FD]=pXe})}return t.__ieDyn=1,t})();var pue=(function(){function t(n,e){var i="prevPageVisitData";Lt(t,this,function(r){r[RD]=function(s,l){try{var c=o(s,l);c&&e(c.pageName,c.pageUrl,c.pageVisitTime)}catch(d){Wa(n,"Auto track page visit time failed, metric will not be collected: "+Le(d))}};function o(s,l){var c=null;try{if(c=a(),zf()){Xv(n,i)!=null&&Ir("Cannot call startPageVisit consecutively without first calling stopPageVisit");var d=Ji().stringify(new hXe(s,l));wD(n,i,d)}}catch(u){Wa(n,"Call to restart failed: "+Le(u)),c=null}return c}function a(){var s=null;try{if(zf()){var l=Xi(),c=Xv(n,i);c&&xc()&&(s=Ji().parse(c),s.pageVisitTime=l-s.pageVisitStartTime,xD(n,i))}}catch(d){Wa(n,"Stop page visit timer failed: "+Le(d)),s=null}return s}kt(r,"_logger",{g:function(){return n}}),kt(r,"pageVisitTimeTrackingHandler",{g:function(){return e}})})}return t.__ieDyn=1,t})();var hXe=(function(){function t(n,e){this.pageVisitStartTime=Xi(),this.pageName=n,this.pageUrl=e}return t})();var RH=(function(){function t(n,e){var i=this,r={};i.start=function(o){typeof r[o]<"u"&&xe(n,2,62,"start was called more than once for this event without calling stop.",{name:o,key:o},!0),r[o]=+new Date},i.stop=function(o,a,s,l){var c=r[o];if(isNaN(c))xe(n,2,63,"stop was called without a corresponding start.",{name:o,key:o},!0);else{var d=+new Date,u=hr(c,d);i.action(o,a,u,s,l)}delete r[o],r[o]=void 0}}return t})();var qo,gXe="event";function BD(t,n){t&&t.dispatchEvent&&n&&t.dispatchEvent(n)}function _Xe(t){if(t&&t.reason){var n=t.reason;return!Ze(n)&&Xe(n[kD])?n[kD]():Le(n)}return t||""}var hue=6e4,vXe=Ps((qo={sessionRenewalMs:gM(gue,1800*1e3),sessionExpirationMs:gM(gue,1440*60*1e3),disableExceptionTracking:yi()},qo[IH]=yi(),qo[sue]=yi(),qo[kH]=yi(),qo[ek]=!1,qo.samplingPercentage=If(yXe,100),qo[WM]=yi(),qo[AH]=yi(),qo[MH]=yi(),qo.namePrefix=xz(),qo.enableDebug=yi(),qo.disableFlushOnBeforeUnload=yi(),qo.disableFlushOnUnload=yi(!1,"disableFlushOnBeforeUnload"),qo.expCfg=Uo({inclScripts:!1,expLog:void 0,maxLogs:50}),qo));function gue(t,n){return t=t||n,t<hue&&(t=hue),+t}function yXe(t){return!isNaN(t)&&t>0&&t<=100}function bXe(t){fn(t[WM])||(t[WM]?hH():gH())}var ok=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.identifier=YM,e.priority=180,e.autoRoutePVDelay=500;var i,r,o,a,s,l,c,d,u,m,f,p,g,_,v,D,O,B,F,W,j;return Lt(n,e,function(k,Y){var Q=Y[bh];ee(),k.getCookieMgr=function(){return rh(k[Dn])},k.processTelemetry=function(M,T){k.processNext(M,T)},k.trackEvent=function(M,T){try{var L=Hs(M,Bs[Kd],Bs[qf],k[ya](),T);k[Dn][Yf](L)}catch(H){we(2,39,"trackTrace failed, trace will not be collected: "+Qt(H),{exception:Le(H)})}},k.startTrackEvent=function(M){try{i.start(M)}catch(T){we(1,29,"startTrackEvent failed, event will not be collected: "+Qt(T),{exception:Le(T)})}},k.stopTrackEvent=function(M,T,L){try{i.stop(M,void 0,T,L)}catch(H){we(1,30,"stopTrackEvent failed, event will not be collected: "+Qt(H),{exception:Le(H)})}},k.trackTrace=function(M,T){try{var L=Hs(M,Pc[Kd],Pc[qf],k[ya](),T);k[Dn][Yf](L)}catch(H){we(2,39,"trackTrace failed, trace will not be collected: "+Qt(H),{exception:Le(H)})}},k.trackMetric=function(M,T){try{var L=Hs(M,Us[Kd],Us[qf],k[ya](),T);k[Dn][Yf](L)}catch(H){we(1,36,"trackMetric failed, metric will not be collected: "+Qt(H),{exception:Le(H)})}},k[Jv]=function(M,T){try{var L=M||{};k[Dn]&&k[Dn][ba]&&(L.uri=jo(L.uri,k[Dn][ba])),o[Jv](L,Ui(Ui(Ui({},L.properties),L.measurements),T)),D&&s[RD](L.name,L.uri)}catch(H){we(1,37,"trackPageView failed, page view will not be collected: "+Qt(H),{exception:Le(H)})}},k[Xd]=function(M,T,L){var H=ti();if(H&&(M[KM]=M[KM]===void 0?H.referrer:M[KM]),k[Dn]&&k[Dn][ba]&&(M.refUri=jo(M.refUri,k[Dn][ba])),fe(M[Qd])){var $=(T||M[Ch]||{})[Za]||0;M[Qd]=new Date(new Date().getTime()-$)}var oe=Hs(M,va[Kd],va[qf],k[ya](),T,L);k[Dn][Yf](oe),ce()},k[PD]=function(M,T,L){var H=Hs(M,Nc[Kd],Nc[qf],k[ya](),T,L);k[Dn][Yf](H)},k.trackPageViewPerformance=function(M,T){var L=M||{};try{a[ey](L),k[PD](L,T)}catch(H){we(1,37,"trackPageViewPerformance failed, page view will not be collected: "+Qt(H),{exception:Le(H)})}},k.startTrackPage=function(M){try{if(typeof M!="string"){var T=ti();M=T&&T.title||""}r.start(M)}catch(L){we(1,31,"startTrackPage failed, page view may not be collected: "+Qt(L),{exception:Le(L)})}},k.stopTrackPage=function(M,T,L,H){try{if(typeof M!="string"){var $=ti();M=$&&$.title||""}if(typeof T!="string"){var oe=Gr();T=oe&&oe[Wf]||""}k[Dn]&&k[Dn][ba]&&(T=jo(T,k[Dn][ba])),r.stop(M,T,L,H),D&&s[RD](M,T)}catch(me){we(1,32,"stopTrackPage failed, page view will not be collected: "+Qt(me),{exception:Le(me)})}},k[TH]=function(M,T,L){var H=M&&(M.exception||M[ty])||Vp(M)&&M||{name:M&&typeof M,message:M||nr};M=M||{};var $=new Co(k[ya](),H,M[Ch]||T,M.measurements,M.severityLevel,M.id).toInterface(),oe=ti();if(oe&&O?.inclScripts){var me=EM(oe);$[Ch].exceptionScripts=JSON.stringify(me)}if(O?.expLog){var Ye=O.expLog();Ye&&Ye.logs&&pt(Ye.logs)&&($[Ch].exceptionLog=Ye.logs.slice(0,O.maxLogs).join(`
|
|
71
|
+
`))}var ut=Hs($,Co[Kd],Co[qf],k[ya](),T,L);k[Dn][Yf](ut)},k.trackException=function(M,T){M&&!M.exception&&M[ty]&&(M.exception=M[ty]);try{k[TH](M,T)}catch(L){we(1,35,"trackException failed, exception will not be collected: "+Qt(L),{exception:Le(L)})}},k._onerror=function(M){var T=M&&M[ty],L=M&&M.evt;try{if(!L){var H=Qi();H&&(L=H[gXe])}var $=M&&M.url||(ti()||{}).URL,oe=M.errorSrc||"window.onerror@"+$+":"+(M[XM]||0)+":"+(M[QM]||0),me={errorSrc:oe,url:$,lineNumber:M[XM]||0,columnNumber:M[QM]||0,message:M.message};SH(M.message,M.url,M.lineNumber,M.columnNumber,M[ty])?P(Co[ZM]("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",$,M[XM]||0,M[QM]||0,T,L,null,oe),me):(M.errorSrc||(M.errorSrc=oe),k.trackException({exception:M,severityLevel:3},me))}catch(ut){var Ye=T?T.name+", "+T.message:"null";we(1,11,"_onError threw exception while logging error, error will not be collected: "+Qt(ut),{exception:Le(ut),errorString:Ye})}},k[ND]=function(M){if(k[Dn])return k[Dn][ND](M);l||(l=[]),l.push(M)},k.initialize=function(M,T,L,H){if(!k.isInitialized()){fe(T)&&Ir("Error initializing"),Y.initialize(M,T,L,H);try{W=Ho(Ti(k.identifier),T.evtNamespace&&T.evtNamespace()),l&&(Ae(l,function($){T[ND]($)}),l=null),ie(M),a=new mue(k[Dn]),o=new cue(k,v.overridePageViewDuration,k[Dn],a),s=new pue(k[ya](),function($,oe,me){return X($,oe,me)}),i=new RH(k[ya](),"trackEvent"),i.action=function($,oe,me,Ye,ut){Ye||(Ye={}),ut||(ut={}),Ye.duration=me[kD](),k.trackEvent({name:$,properties:Ye,measurements:ut})},r=new RH(k[ya](),"trackPageView"),r.action=function($,oe,me,Ye,ut){fe(Ye)&&(Ye={}),Ye.duration=me[kD]();var nn={name:$,uri:oe,properties:Ye,measurements:ut};k[Xd](nn,Ye)},yf()&&(A(),R())}catch($){throw k.setInitialized(!1),$}}},k._doTeardown=function(M,T){o&&o.teardown(M,T),Ac(window,null,null,W),ee()},k._getDbgPlgTargets=function(){return[j,p]};function ce(){if(k[Dn]){var M=k[Dn].getPlugin("AjaxDependencyPlugin");M&&M.plugin&&M.plugin.resetAjaxAttempts&&M.plugin.resetAjaxAttempts()}}function ie(M){var T=k.identifier,L=k[Dn];k[bh](Cn(M,function(){var H=tr(null,M,L);v=H.getExtCfg(T,vXe),p=p||M[JM]||v[JM],O=v.expCfg,D=v[IH],M.storagePrefix&&hh(M.storagePrefix),bXe(v),c=v[AH],w()}))}function X(M,T,L){var H={PageName:M,PageUrl:T};k.trackMetric({name:"PageVisitTime",average:L,max:L,min:L,sampleCount:1},H)}function w(){if(!d&&c){var M=["/browserLinkSignalR/","/__browserLink/"],T=function(L){if(c&&L.baseType===zs[Kd]){var H=L.baseData;if(H){for(var $=0;$<M[Kf];$++)if(H.target&&Fn(H.target,M[$])>=0)return!1}}return!0};k[bh](k[ND](T)),d=!0}}function P(M,T){var L=Hs(M,Co[Kd],Co[qf],k[ya](),T);k[Dn][Yf](L)}function A(){var M=Qi(),T=Gr(!0);k[bh](Cn(v,function(){f=v.disableExceptionTracking,!f&&!p&&!v[JM]&&(Q($v(M,"onerror",{ns:W,rsp:function(L,H,$,oe,me,Ye){!f&&L.rslt!==!0&&k._onerror(Co[ZM](H,$,oe,me,Ye,L.evt))}},!1)),j++,p=!0)})),Ie(M,T)}function R(){var M=Qi(),T=Gr(!0);k[bh](Cn(v,function(){if(u=v[MH]===!0,M&&u&&!m&&xU()){var L=MA();Xe(L.pushState)&&Xe(L.replaceState)&&typeof Event!==Hp&&ne(M,L,T)}}))}function I(){var M=null;if(k[Dn]&&k[Dn].getTraceCtx&&(M=k[Dn].getTraceCtx(!1)),!M){var T=k[Dn].getPlugin(Gf);if(T){var L=T.plugin.context;L&&(M=ph(L.telemetryTrace))}}return M}function ne(M,T,L){if(m)return;var H=v.namePrefix||"";function $(){u&&BD(M,yh(H+"locationchange"))}function oe(){if(F?(B=F,F=L&&L[Wf]||""):F=L&&L[Wf]||"",k[Dn]&&k[Dn][ba]&&(F=jo(F,k[Dn][ba])),u){var me=I();if(me){me.setTraceId(Ka());var Ye="_unknown_";L&&L.pathname&&(Ye=L.pathname+(L.hash||"")),me.setName(xn(k[ya](),Ye))}ji((function(ut){k[Jv]({refUri:ut,properties:{duration:0}})}).bind(k,B),k.autoRoutePVDelay)}}Q($v(T,"pushState",{ns:W,rsp:function(){u&&(BD(M,yh(H+"pushState")),BD(M,yh(H+"locationchange")))}},!0)),Q($v(T,"replaceState",{ns:W,rsp:function(){u&&(BD(M,yh(H+"replaceState")),BD(M,yh(H+"locationchange")))}},!0)),_a(M,H+"popstate",$,W),_a(M,H+"locationchange",oe,W),m=!0}function Ie(M,T){k[bh](Cn(v,function(){g=v[kH]===!0,p=p||v[ek],g&&!_&&(Q($v(M,"onunhandledrejection",{ns:W,rsp:function(L,H){g&&L.rslt!==!0&&k._onerror(Co[ZM](_Xe(H),T?T[Wf]:"",0,0,H,L.evt))}},!1)),j++,v[ek]=_=!0)}))}function we(M,T,L,H,$){k[ya]().throwInternal(M,T,L,H,$)}function ee(){i=null,r=null,o=null,a=null,s=null,l=null,c=!1,d=!1,u=!1,m=!1,f=!1,p=!1,g=!1,_=!1,D=!1,ce();var M=Gr(!0);B=M&&M[Wf]||"",k[Dn]&&k[Dn][ba]&&(B=jo(B,k[Dn][ba])),F=null,W=null,v=null,j=0,kt(k,"config",{g:function(){return v}})}kt(k,"_pageViewManager",{g:function(){return o}}),kt(k,"_pageViewPerformanceManager",{g:function(){return a}}),kt(k,"_pageVisitTimeManager",{g:function(){return s}}),kt(k,"_evtNamespace",{g:function(){return"."+W}})}),e}return n.Version="3.3.10",n})(Xa);var jD="featureOptIn",PH="scheduleFetchTimeout";function NH(t,n,e,i){try{var r=e>i;r&&(t=null);var o=e==0?ece({},t):t;return o&&n&&!r&&_t(o,function(a){var s=n[a];s&&(Vi(o[a])&&Vi(s)?o[a]=NH(o[a],s,++e,i):delete o[a])}),o}catch{}return t}var ry="featureOptIn.",_ue=".mode",vue=".onCfg",yue=".offCfg";function CXe(t,n,e){var i;if(!n||!n.enabled)return null;var r=(n[jD]||{})[t]||{mode:1},o=r.mode,a=r.onCfg,s=r.offCfg,l=(e||{})[t]||{mode:2},c=l.mode,d=l.onCfg,u=l.offCfg,m=!!l.blockCdnCfg,f=ry+t+_ue,p=ry+t+vue,g=ry+t+yue,_=c,v=d,D=u;return m||(o===4||o===5?(_=o==4?3:2,v=a||d,D=s||u):o===2||c===2?(_=2,v=d||a,D=u||s):o===3?(_=3,v=d||a,D=u||s):o===1&&c===1&&(_=1)),i={},i[f]=_,i[p]=v,i[g]=D,i}function bue(t,n){try{if(!t||!t.enabled)return null;if(!t[jD])return t.config;var e=t[jD],i=t.config||{};return _t(e,function(r){var o=CXe(r,t,n.config[jD]);fe(o)||(_t(o,function(a,s){RU(i,a,s)}),DXe(r,o,i))}),i}catch{}return null}function DXe(t,n,e){var i=n[ry+t+_ue],r=n[ry+t+vue],o=n[ry+t+yue],a=null;i===3&&(a=r),i===2&&(a=o),a&&_t(a,function(s,l){RU(e,s,l)})}var UD,EXe="ai_cfgsync",Cue="GET",SXe=18e5,oy=void 0,wXe={instrumentationKey:!0,connectionString:!0,endpointUrl:!0},xXe=Ps((UD={syncMode:1,blkCdnCfg:oy,customEvtName:oy,cfgUrl:oy,overrideSyncFn:oy,overrideFetchFn:oy,onCfgChangeReceive:oy},UD[PH]=SXe,UD.nonOverrideConfigs=wXe,UD.enableAjax=!1,UD)),OH=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.priority=198,e.identifier="AppInsightsCfgSyncPlugin";var i,r,o,a,s,l,c,d,u,m,f,p,g,_,v,D,O=!1,B;return Lt(n,e,function(F,W){j(),F.initialize=function(ee,M,T,L){W.initialize(ee,M,T,L),a=Ho(Ti(F.identifier),M.evtNamespace&&M.evtNamespace()),k(ee)},F.getCfg=function(){return r},F.pause=function(){O=!0,we()},F.resume=function(){O=!1,Ie()},F.setCfg=function(ee){return Y(ee)},F.sync=function(ee){return ce(ee)},F.updateEventListenerName=function(ee){return ie(ee)},F._doTeardown=function(ee,M){Q(),we(),j()},F._getDbgPlgTargets=function(){return[d,c,o,u,g]};function j(){r=null,o=null,a=null,s=null,c=null,d=null,g=null,l=null,m=null,f=null,u=null,B=!1,v=null,D=null,p=null}function k(ee){var M=F.identifier,T=F.core;F._addHook(Cn(ee,function(){var L=tr(null,ee,T);i=L.getExtCfg(M,xXe);var H=u;u=!!i.blkCdnCfg,B=!!i.enableAjax,!fe(H)&&H!==u&&(!u&&s?_&&_(s,A,d):we()),fe(c)&&(c=i.syncMode===2),fe(d)&&(d=i.syncMode===1);var $=i.customEvtName||EXe;o!==$&&(c?ie($):(Q(),o=$)),fe(s)&&(s=i.cfgUrl),s||(r=ee,d&&ce())})),D=i.overrideSyncFn,v=i.overrideFetchFn,p=i.onCfgChangeReceive,g=i.nonOverrideConfigs,m=i[PH],_=X(),f=0,s&&!u&&_&&_(s,A,d)}function Y(ee,M){if(ee){if(r=ee,M&&!O)return ce();if(c&&!O)return F.core.updateCfg(ee),!0}return!1}function Q(){try{var ee=Bi();ee&&Ac(ee,null,null,a)}catch{}}function ce(ee){try{return D&&Xe(D)?D(r,ee):Cz(o,r,ee)}catch{}return!1}function ie(ee){try{return Q(),ee&&(o=ee,I()),!0}catch{}return!1}function X(){var ee=v;return fe(ee)&&(eh()?ee=w:xf()&&(ee=P)),ee}function w(ee,M,T){var L=Bi(),H=L&&L.fetch||null;if(ee&&H&&Xe(H))try{var $={method:Cue};B||($[Mc]=!0);var oe=new Request(ee,$);if(!B)try{oe[Mc]=!0}catch{}zi(fetch(oe),function(me){var Ye=me.value;me.rejected?R(M,400):Ye.ok?zi(Ye.text(),function(ut){R(M,Ye.status,ut.value,T)}):R(M,Ye.status,null,T)})}catch{}}function P(ee,M,T){try{var L=new XMLHttpRequest;B||(L[Mc]=!0),L.open(Cue,ee),L.onreadystatechange=function(){L.readyState===XMLHttpRequest.DONE&&R(M,L.status,L.responseText,T)},L.onerror=function(){R(M,400)},L.ontimeout=function(){R(M,400)},L.send()}catch{}}function A(ee,M,T){try{if(ee>=200&&ee<400&&M){f=0;var L=Ji();if(L){var H=L.parse(M),$=bue(H,F.core),oe=$&&Zi($)&&ne($);oe&&Y(oe,T)}}else f++;f<3&&Ie()}catch{}}function R(ee,M,T,L){try{ee(M,T,L)}catch{}}function I(){if(c){var ee=Bi();if(ee)try{_a(ee,o,function(M){var T=M&&M.detail;if(p&&T)p(T);else{var L=T&&T.cfg,H=L&&Zi(L)&&ne(L);H&&Y(H)}},a,!0)}catch{}}}function ne(ee,M){var T=null;try{ee&&(T=NH(ee,g,0,5))}catch{}return T}function Ie(){!l&&m&&(l=ji(function(){l=null,_(s,A,d)},m),l.unref())}function we(){l&&l.cancel(),l=null,f=0}F.processTelemetry=function(ee,M){F.processNext(ee,M)}}),e}return n.__ieDyn=1,n})(Xa);var Xf="duration";var ir="tags",ak="deviceType",Ca="data",Oc="name",Dh="traceID",Wt="length",Qf="stringify",Zf="measurements",$s="dataType",Jf="envelopeType",Zd="toString",Jd="enqueue",eu="count",Gs="push",zD="emitLineDelimitedJson",em="clear",ay="markAsSent",Eh="clearSent",HD="bufferOverride",sy="BUFFER_KEY",tu="SENT_BUFFER_KEY",tm="concat",ly="MAX_BUFFER_SIZE",cy="triggerSend",Yr="diagLog",sk="initialize",dy="_sender",uy="endpointUrl",fy="instrumentationKey",lk="customHeaders",FH="maxBatchSizeInBytes",ck="onunloadDisableBeacon",dk="isBeaconApiDisabled",LH="alwaysUseXhrOverride",VH="enableSessionStorageBuffer",Rl="_buffer",BH="onunloadDisableFetch",jH="disableSendBeaconSplit",$D="getSenderInst",nm="_onError",uk="_onPartialSuccess",GD="_onSuccess",fk="itemsReceived",mk="itemsAccepted",pk="baseType",my="sampleRate",Due="getHashCodeScore";var UH="baseType",gi="baseData",Pr="properties",Eue="true";function Hi(t,n,e){return Ln(t,n,e,_f)}function TXe(t,n,e){var i=e[ir]=e[ir]||{},r=n.ext=n.ext||{},o=n[ir]=n[ir]||[],a=r.user;a&&(Hi(i,Gn.userAuthUserId,a.authId),Hi(i,Gn.userId,a.id||a.localId));var s=r.app;s&&Hi(i,Gn.sessionId,s.sesId);var l=r.device;l&&(Hi(i,Gn.deviceId,l.id||l.localId),Hi(i,Gn[ak],l.deviceClass),Hi(i,Gn.deviceIp,l.ip),Hi(i,Gn.deviceModel,l.model),Hi(i,Gn[ak],l[ak]));var c=n.ext.web;if(c){Hi(i,Gn.deviceLanguage,c.browserLang),Hi(i,Gn.deviceBrowserVersion,c.browserVer),Hi(i,Gn.deviceBrowser,c.browser);var d=e[Ca]=e[Ca]||{},u=d[gi]=d[gi]||{},m=u[Pr]=u[Pr]||{};Hi(m,"domain",c.domain),Hi(m,"isManual",c.isManual?Eue:null),Hi(m,"screenRes",c.screenRes),Hi(m,"userConsent",c.userConsent?Eue:null)}var f=r.os;f&&(Hi(i,Gn.deviceOS,f[Oc]),Hi(i,Gn.deviceOSVersion,f.osVer));var p=r.trace;p&&(Hi(i,Gn.operationParentId,p.parentID),Hi(i,Gn.operationName,xn(t,p[Oc])),Hi(i,Gn.operationId,p[Dh]));for(var g={},_=o[Wt]-1;_>=0;_--){var v=o[_];_t(v,function(O,B){g[O]=B}),o.splice(_,1)}_t(o,function(O,B){g[O]=B});var D=Ui(Ui({},i),g);D[Gn.internalSdkVersion]||(D[Gn.internalSdkVersion]=xn(t,"javascript:".concat(IXe.Version),64)),e[ir]=aM(D)}function im(t,n,e){fe(t)||_t(t,function(i,r){Dl(r)?e[i]=r:Ze(r)?n[i]=r:xc()&&(n[i]=Ji()[Qf](r))})}function Sh(t,n){fe(t)||_t(t,function(e,i){t[e]=i||n})}function wh(t,n,e,i){var r=new yH(t,i,n);Hi(r,"sampleRate",e[pD]),(e[gi]||{}).startTime&&(r.time=Vs(e[gi].startTime)),r.iKey=e.iKey;var o=e.iKey.replace(/-/g,"");return r[Oc]=r[Oc].replace("{0}",o),TXe(t,e,r),e[ir]=e[ir]||[],aM(r)}function xh(t,n){fe(n[gi])&&xe(t,1,46,"telemetryItem.baseData cannot be null.")}var IXe={Version:"3.3.10"};function Sue(t,n,e){xh(t,n);var i=n[gi][Zf]||{},r=n[gi][Pr]||{};im(n[Ca],r,i),fe(e)||Sh(r,e);var o=n[gi];if(fe(o))return Wa(t,"Invalid input for dependency data"),null;var a=o[Pr]&&o[Pr][PM]?o[Pr][PM]:"GET",s=new zs(t,o.id,o.target,o[Oc],o[Xf],o.success,o.responseCode,a,o.type,o.correlationContext,r,i),l=new Wd(zs[$s],s);return wh(t,zs[Jf],n,l)}function zH(t,n,e){xh(t,n);var i={},r={};n[UH]!==Bs[$s]&&(i.baseTypeSource=n[UH]),n[UH]===Bs[$s]?(i=n[gi][Pr]||{},r=n[gi][Zf]||{}):n[gi]&&im(n[gi],i,r),im(n[Ca],i,r),fe(e)||Sh(i,e);var o=n[gi][Oc],a=new Bs(t,o,i,r),s=new Wd(Bs[$s],a);return wh(t,Bs[Jf],n,s)}function wue(t,n,e){xh(t,n);var i=n[gi][Zf]||{},r=n[gi][Pr]||{};im(n[Ca],r,i),fe(e)||Sh(r,e);var o=n[gi],a=Co.CreateFromInterface(t,o,r,i),s=new Wd(Co[$s],a);return wh(t,Co[Jf],n,s)}function xue(t,n,e){xh(t,n);var i=n[gi],r=i[Pr]||{},o=i[Zf]||{};im(n[Ca],r,o),fe(e)||Sh(r,e);var a=new Us(t,i[Oc],i.average,i.sampleCount,i.min,i.max,i.stdDev,r,o),s=new Wd(Us[$s],a);return wh(t,Us[Jf],n,s)}function Tue(t,n,e){xh(t,n);var i,r=n[gi];!fe(r)&&!fe(r[Pr])&&!fe(r[Pr][Xf])?(i=r[Pr][Xf],delete r[Pr][Xf]):!fe(n[Ca])&&!fe(n[Ca][Xf])&&(i=n[Ca][Xf],delete n[Ca][Xf]);var o=n[gi],a;((n.ext||{}).trace||{})[Dh]&&(a=n.ext.trace[Dh]);var s=o.id||a,l=o[Oc],c=o.uri,d=o[Pr]||{},u=o[Zf]||{};if(fe(o.refUri)||(d.refUri=o.refUri),fe(o.pageType)||(d.pageType=o.pageType),fe(o.isLoggedIn)||(d.isLoggedIn=o.isLoggedIn[Zd]()),!fe(o[Pr])){var m=o[Pr];_t(m,function(g,_){d[g]=_})}im(n[Ca],d,u),fe(e)||Sh(d,e);var f=new va(t,l,c,i,d,u,s),p=new Wd(va[$s],f);return wh(t,va[Jf],n,p)}function Iue(t,n,e){xh(t,n);var i=n[gi],r=i[Oc],o=i.uri||i.url,a=i[Pr]||{},s=i[Zf]||{};im(n[Ca],a,s),fe(e)||Sh(a,e);var l=new Nc(t,r,o,void 0,a,s,i),c=new Wd(Nc[$s],l);return wh(t,Nc[Jf],n,c)}function Aue(t,n,e){xh(t,n);var i=n[gi].message,r=n[gi].severityLevel,o=n[gi][Pr]||{},a=n[gi][Zf]||{};im(n[Ca],o,a),fe(e)||Sh(o,e);var s=new Pc(t,i,r,o,a),l=new Wd(Pc[$s],s);return wh(t,Pc[Jf],n,l)}var Mue=(function(){function t(n,e){var i=[],r=!1,o=e.maxRetryCnt;this._get=function(){return i},this._set=function(a){return i=a,i},Lt(t,this,function(a){a[Jd]=function(s){if(a[eu]()>=e.eventsLimitInMem){r||(xe(n,2,105,"Maximum in-memory buffer size reached: "+a[eu](),!0),r=!0);return}s.cnt=s.cnt||0,!(!fe(o)&&s.cnt>o)&&i[Gs](s)},a[eu]=function(){return i[Wt]},a.size=function(){for(var s=i[Wt],l=0;l<i[Wt];l++)s+=i[l].item[Wt];return e[zD]||(s+=2),s},a[em]=function(){i=[],r=!1},a.getItems=function(){return i.slice(0)},a.batchPayloads=function(s){if(s&&s[Wt]>0){var l=[];Ae(s,function(d){l[Gs](d.item)});var c=e[zD]?l.join(`
|
|
72
|
+
`):"["+l.join(",")+"]";return c}return null},a.createNew=function(s,l,c){var d=i.slice(0);s=s||n,l=l||{};var u=c?new HH(s,l):new hk(s,l);return Ae(d,function(m){u[Jd](m)}),u}})}return t.__ieDyn=1,t})(),hk=(function(t){kr(n,t);function n(e,i){var r=t.call(this,e,i)||this;return Lt(n,r,function(o,a){o[ay]=function(s){a[em]()},o[Eh]=function(s){}}),r}return n.__ieDyn=1,n})(Mue);var AXe=["AI_buffer","AI_sentBuffer"],HH=(function(t){kr(n,t);function n(i,r){var o=t.call(this,i,r)||this,a=!1,s=r?.namePrefix,l=r[HD]||{getItem:Xv,setItem:wD},c=l.getItem,d=l.setItem,u=r.maxRetryCnt;return Lt(n,o,function(m,f){var p=B(n[sy]),g=B(n[tu]),_=j(),v=g[tm](_),D=m._set(p[tm](v));D[Wt]>n[ly]&&(D[Wt]=n[ly]),W(n[tu],[]),W(n[sy],D),m[Jd]=function(Y){if(m[eu]()>=n[ly]){a||(xe(i,2,67,"Maximum buffer size reached: "+m[eu](),!0),a=!0);return}Y.cnt=Y.cnt||0,!(!fe(u)&&Y.cnt>u)&&(f[Jd](Y),W(n[sy],m._get()))},m[em]=function(){f[em](),W(n[sy],m._get()),W(n[tu],[]),a=!1},m[ay]=function(Y){W(n[sy],m._set(O(Y,m._get())));var Q=B(n[tu]);Q instanceof Array&&Y instanceof Array&&(Q=Q[tm](Y),Q[Wt]>n[ly]&&(xe(i,1,67,"Sent buffer reached its maximum size: "+Q[Wt],!0),Q[Wt]=n[ly]),W(n[tu],Q))},m[Eh]=function(Y){var Q=B(n[tu]);Q=O(Y,Q),W(n[tu],Q)},m.createNew=function(Y,Q,ce){ce=!!ce;var ie=m._get().slice(0),X=B(n[tu]).slice(0);Y=Y||i,Q=Q||{},m[em]();var w=ce?new n(Y,Q):new hk(Y,Q);return Ae(ie,function(P){w[Jd](P)}),ce&&w[ay](X),w};function O(Y,Q){var ce=[],ie=[];return Ae(Y,function(X){ie[Gs](X.item)}),Ae(Q,function(X){!Xe(X)&&Xn(ie,X.item)===-1&&ce[Gs](X)}),ce}function B(Y){var Q=Y;return Q=s?s+"_"+Q:Q,F(Q)}function F(Y){try{var Q=c(i,Y);if(Q){var ce=Ji().parse(Q);if(Ze(ce)&&(ce=Ji().parse(ce)),ce&&pt(ce))return ce}}catch(ie){xe(i,1,42," storage key: "+Y+", "+Qt(ie),{exception:Le(ie)})}return[]}function W(Y,Q){var ce=Y;try{ce=s?s+"_"+ce:ce;var ie=JSON[Qf](Q);d(i,ce,ie)}catch(X){d(i,ce,JSON[Qf]([])),xe(i,2,41," storage key: "+ce+", "+Qt(X)+". Buffer cleared",{exception:Le(X)})}}function j(){var Y=[];try{return Ae(AXe,function(Q){var ce=k(Q);if(Y=Y[tm](ce),s){var ie=s+"_"+Q,X=k(ie);Y=Y[tm](X)}}),Y}catch(Q){xe(i,2,41,"Transfer events from previous buffers: "+Qt(Q)+". previous Buffer items can not be removed",{exception:Le(Q)})}return[]}function k(Y){try{var Q=F(Y),ce=[];return Ae(Q,function(ie){var X={item:ie,cnt:0};ce[Gs](X)}),xD(i,Y),ce}catch{}return[]}}),o}var e;return e=n,n.VERSION="_1",n.BUFFER_KEY="AI_buffer"+e.VERSION,n.SENT_BUFFER_KEY="AI_sentBuffer"+e.VERSION,n.MAX_BUFFER_SIZE=2e3,n})(Mue);var kue=(function(){function t(n){Lt(t,this,function(e){e.serialize=function(a){var s=i(a,"root");try{return Ji()[Qf](s)}catch(l){xe(n,1,48,l&&Xe(l[Zd])?l[Zd]():"Error serializing object",null,!0)}};function i(a,s){var l="__aiCircularRefCheck",c={};if(!a)return xe(n,1,48,"cannot serialize object because it is null or undefined",{name:s},!0),c;if(a[l])return xe(n,2,50,"Circular reference detected while serializing object",{name:s},!0),c;if(!a.aiDataContract){if(s==="measurements")c=o(a,"number",s);else if(s==="properties")c=o(a,"string",s);else if(s==="tags")c=o(a,"string",s);else if(pt(a))c=r(a,s);else{xe(n,2,49,"Attempting to serialize an object which does not implement ISerializable",{name:s},!0);try{Ji()[Qf](a),c=a}catch(d){xe(n,1,48,d&&Xe(d[Zd])?d[Zd]():"Error serializing object",null,!0)}}return c}return a[l]=!0,_t(a.aiDataContract,function(d,u){var m=Xe(u)?u()&1:u&1,f=Xe(u)?u()&4:u&4,p=u&2,g=a[d]!==void 0,_=Vi(a[d])&&a[d]!==null;if(m&&!g&&!p)xe(n,1,24,"Missing required field specification. The field is required but not present on source",{field:d,name:s});else if(!f){var v=void 0;_?p?v=r(a[d],d):v=i(a[d],d):v=a[d],v!==void 0&&(c[d]=v)}}),delete a[l],c}function r(a,s){var l;if(a)if(!pt(a))xe(n,1,54,`This field was specified as an array in the contract but the item is not an array.\r
|
|
73
|
+
`,{name:s},!0);else{l=[];for(var c=0;c<a[Wt];c++){var d=a[c],u=i(d,s+"["+c+"]");l[Gs](u)}}return l}function o(a,s,l){var c;return a&&(c={},_t(a,function(d,u){if(s==="string")u===void 0?c[d]="undefined":u===null?c[d]="null":u[Zd]?c[d]=u[Zd]():c[d]="invalid field: toString() is not defined.";else if(s==="number")if(u===void 0)c[d]="undefined";else if(u===null)c[d]="null";else{var m=parseFloat(u);c[d]=m}else c[d]="invalid field: "+l+" is of unknown type.",xe(n,1,c[d],null,!0)})),c}})}return t.__ieDyn=1,t})();var MXe=8,Rue=(function(){function t(){}return t.prototype.getHashCodeScore=function(n){var e=this.getHashCode(n)/t.INT_MAX_VALUE;return e*100},t.prototype.getHashCode=function(n){if(n==="")return 0;for(;n[Wt]<MXe;)n=n[tm](n);for(var e=5381,i=0;i<n[Wt];++i)e=(e<<5)+e+n.charCodeAt(i),e=e&e;return Math.abs(e)},t.INT_MAX_VALUE=2147483647,t})();var Pue=(function(){function t(){var n=this,e=new Rue,i=new MD;n.getSamplingScore=function(r){var o=0;return r[ir]&&r[ir][i.userId]?o=e.getHashCodeScore(r[ir][i.userId]):r.ext&&r.ext.user&&r.ext.user.id?o=e[Due](r.ext.user.id):r[ir]&&r[ir][i.operationId]?o=e.getHashCodeScore(r[ir][i.operationId]):r.ext&&r.ext.telemetryTrace&&r.ext.telemetryTrace[Dh]?o=e.getHashCodeScore(r.ext.telemetryTrace[Dh]):o=Math.random()*100,o}}return t})();var Nue=(function(){function t(n,e){this.INT_MAX_VALUE=2147483647;var i=e||zo(null);(n>100||n<0)&&(i.throwInternal(2,58,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:n},!0),n=100),this[my]=n,this.samplingScoreGenerator=new Pue}return t.prototype.isSampledIn=function(n){var e=this[my],i=!1;return e==null||e>=100||n.baseType===Us[$s]?!0:(i=this.samplingScoreGenerator.getSamplingScore(n)<e,i)},t})();var si,nu,Pl=void 0,Oue="",kXe=65e3;function Fue(t){try{return t.responseText}catch{}return null}function RXe(t){return t&&t.sendPOST}var Lue=Ps((si={endpointUrl:If(_f,sh+kc)},si[zD]=yi(),si.maxBatchInterval=15e3,si[FH]=102400,si.disableTelemetry=yi(),si[VH]=yi(!0),si.isRetryDisabled=yi(),si[dk]=yi(!0),si[jH]=yi(!0),si.disableXhr=yi(),si[BH]=yi(),si[ck]=yi(),si[fy]=Pl,si.namePrefix=Pl,si.samplingPercentage=If(PXe,100),si[lk]=Pl,si.convertUndefined=Pl,si.eventsLimitInMem=1e4,si[HD]=!1,si.httpXHROverride={isVal:RXe,v:Pl},si[LH]=yi(),si.transports=Pl,si.retryCodes=Pl,si.corsPolicy=Pl,si.maxRetryCnt={isVal:Dl,v:10},si)),Vue="X-Set-Cross-Origin-Resource-Policy";function PXe(t){return!isNaN(t)&&t>0&&t<=100}var NXe=(nu={},nu[Bs.dataType]=zH,nu[Pc.dataType]=Aue,nu[va.dataType]=Tue,nu[Nc.dataType]=Iue,nu[Co.dataType]=wue,nu[Us.dataType]=xue,nu[zs.dataType]=Sue,nu),$H=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.priority=1001,e.identifier=qM;var i,r,o,a,s,l,c,d,u=0,m,f,p,g,_,v,D,O,B,F,W,j,k,Y,Q,ce,ie,X,w,P,A,R,I,ne,Ie,we,ee,M;return Lt(n,e,function(T,L){Fh(),T.pause=function(){$i(),a=!0},T.resume=function(){a&&(a=!1,r=null,se(),qn())},T.flush=function(q,de,Ue){if(q===void 0&&(q=!0),!a){$i();try{var ct=T[cy](q,null,Ue||1);return zi(ct,function(vt){return de?(de(!vt.rejected),!0):q?yo(function(wt){wt(!vt.rejected)}):ct})}catch(vt){xe(T[Yr](),1,22,"flush failed, telemetry will not be collected: "+Qt(vt),{exception:Le(vt)})}}},T.onunloadFlush=function(){if(!a)if(D||P)try{return T[cy](!0,ke,2)}catch(q){xe(T[Yr](),1,20,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+Qt(q),{exception:Le(q)})}else T.flush(!1)},T.addHeader=function(q,de){d[q]=de},T[sk]=function(q,de,Ue,ct){T.isInitialized()&&xe(T[Yr](),1,28,"Sender is already initialized"),L[sk](q,de,Ue,ct);var vt=T.identifier;l=new kue(de.logger),i=0,r=null,o=0,T[dy]=null,c=0;var wt=T[Yr]();p=Ho(Ti("Sender"),de.evtNamespace&&de.evtNamespace()),f=xH(p),T._addHook(Cn(q,function(hn){var Qn=hn.cfg;Qn.storagePrefix&&hh(Qn.storagePrefix);var Kr=tr(null,Qn,de),zt=Kr.getExtCfg(vt,Lue),hm=zt[uy];if(g&&hm===g){var Yo=Qn[uy];Yo&&Yo!==hm&&(zt[uy]=Yo)}var gm=Mn("CompressionStream");M=Zp("zipPayload",Qn,!1),Xe(gm)||(M=!1);var Uc=zt.corsPolicy;Uc?(Uc==="same-origin"||Uc==="same-site"||Uc==="cross-origin")&&e.addHeader(Vue,Uc):delete d[Vue],Ua(zt[fy])&&(zt[fy]=Qn[fy]),kt(T,"_senderConfig",{g:function(){return zt}}),_!==zt[uy]&&(g=_=zt[uy]),de.activeStatus()===xl.PENDING?T.pause():de.activeStatus()===xl.ACTIVE&&T.resume(),F&&F!==zt[lk]&&Ae(F,function(_i){delete d[_i.header]}),v=zt[FH],D=(zt[ck]===!1||zt[dk]===!1)&&Ud(),O=zt[ck]===!1&&Ud(),B=zt[dk]===!1&&Ud(),P=zt[LH],A=!!zt.disableXhr,ee=zt.retryCodes;var Lh=zt[HD],Ll=!!zt[VH]&&(!!Lh||zf()),_E=zt.namePrefix,vE=Ll!==ce||Ll&&X!==_E||Ll&&ie!==Lh;if(T[Rl]){if(vE)try{T[Rl]=T[Rl].createNew(wt,zt,Ll)}catch(_i){xe(T[Yr](),1,12,"failed to transfer telemetry to different buffer storage, telemetry will be lost: "+Qt(_i),{exception:Le(_i)})}se()}else T[Rl]=Ll?new HH(wt,zt):new hk(wt,zt);X=_E,ce=Ll,ie=Lh,R=!zt[BH]&&eh(!0),Ie=!!zt[jH],T._sample=new Nue(zt.samplingPercentage,wt),j=zt[fy],!Ua(j)&&!Ys(j,Qn)&&xe(wt,1,100,"Invalid Instrumentation key "+j),F=zt[lk],Ze(g)&&!Yv(g)&&F&&F[Wt]>0?Ae(F,function(_i){e.addHeader(_i.header,_i.value)}):F=null,w=zt.enableSendPromise;var yE=$();we?we.SetConfig(yE):(we=new Kz,we[sk](yE,wt));var _m=zt.httpXHROverride,vm=null,du=null,bE=lM([3,1,2],zt.transports);vm=we&&we[$D](bE,!1);var ym=we&&we.getFallbackInst();I=function(_i,xa){return rt(ym,_i,xa)},ne=function(_i,xa){return rt(ym,_i,xa,!1)},vm=P?_m:vm||_m||ym,T[dy]=function(_i,xa){return rt(vm,_i,xa)},R&&(m=Ut);var Ws=lM([3,1],zt.unloadTransports);R||(Ws=Ws.filter(function(_i){return _i!==2})),du=we&&we[$D](Ws,!0),du=P?_m:du||_m,(P||zt.unloadTransports||!m)&&du&&(m=function(_i,xa){return rt(du,_i,xa)}),m||(m=I),W=zt.disableTelemetry,k=zt.convertUndefined||Pl,Y=zt.isRetryDisabled,Q=zt.maxBatchInterval}))},T.processTelemetry=function(q,de){de=T._getTelCtx(de);var Ue=de[Yr]();try{var ct=Rt(q,Ue);if(!ct)return;var vt=rn(q,Ue);if(!vt)return;var wt=l.serialize(vt),hn=T[Rl];se(wt);var Qn={item:wt,cnt:0};hn[Jd](Qn),qn()}catch(Kr){xe(Ue,2,12,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+Qt(Kr),{exception:Le(Kr)})}T.processNext(q,de)},T.isCompletelyIdle=function(){return!a&&u===0&&T._buffer[eu]()===0},T.getOfflineListener=function(){return f},T._xhrReadyStateChange=function(q,de,Ue){if(!ht(de))return oe(q,de,Ue)},T[cy]=function(q,de,Ue){q===void 0&&(q=!0);var ct;if(!a)try{var vt=T[Rl];if(W)vt[em]();else{if(vt[eu]()>0){var wt=vt.getItems();Wr(Ue||0,q),de?ct=de.call(T,wt,q):ct=T[dy](wt,q)}o=+new Date}$i()}catch(Qn){var hn=XC();(!hn||hn>9)&&xe(T[Yr](),1,40,"Telemetry transmission failed, some telemetry will be lost: "+Qt(Qn),{exception:Le(Qn)})}return ct},T.getOfflineSupport=function(){return{getUrl:function(){return g},createPayload:rr,serialize:Tn,batch:Ai,shouldProcess:function(q){return!!Rt(q)}}},T._doTeardown=function(q,de){T.onunloadFlush(),zd(f,!1),Fh()},T[nm]=function(q,de,Ue){if(!ht(q))return me(q,de,Ue)},T[uk]=function(q,de){if(!ht(q))return Ye(q,de)},T[GD]=function(q,de){if(!ht(q))return ut(q,de)},T._xdrOnLoad=function(q,de){if(!ht(de))return H(q,de)};function H(q,de){var Ue=Fue(q);if(q&&(Ue+""=="200"||Ue===""))i=0,T[GD](de,0);else{var ct=uD(Ue);ct&&ct[fk]&&ct[fk]>ct[mk]&&!Y?T[uk](de,ct):T[nm](de,WC(q))}}function $(){try{var q={xdrOnComplete:function(Ue,ct,vt){var wt=nn(vt);if(wt)return H(Ue,wt)},fetchOnComplete:function(Ue,ct,vt,wt){var hn=nn(wt);if(hn)return ye(Ue.status,hn,Ue.url,hn[Wt],Ue.statusText,vt||"")},xhrOnComplete:function(Ue,ct,vt){var wt=nn(vt);if(wt)return oe(Ue,wt,wt[Wt])},beaconOnRetry:function(Ue,ct,vt){return st(Ue,ct,vt)}},de={enableSendPromise:w,isOneDs:!1,disableCredentials:!1,disableXhr:A,disableBeacon:!B,disableBeaconSync:!O,senderOnCompleteCallBack:q};return de}catch{}return null}function oe(q,de,Ue){q.readyState===4&&ye(q.status,de,q.responseURL,Ue,Jp(q),Fue(q)||q.response)}function me(q,de,Ue){xe(T[Yr](),2,26,"Failed to send telemetry.",{message:de}),T._buffer&&T._buffer[Eh](q)}function Ye(q,de){for(var Ue=[],ct=[],vt=de.errors.reverse(),wt=0,hn=vt;wt<hn.length;wt++){var Qn=hn[wt],Kr=q.splice(Qn.index,1)[0];is(Qn.statusCode)?ct[Gs](Kr):Ue[Gs](Kr)}q[Wt]>0&&T[GD](q,de[mk]),Ue[Wt]>0&&T[nm](Ue,Jp(null,["partial success",de[mk],"of",de.itemsReceived].join(" "))),ct[Wt]>0&&(Ct(ct),xe(T[Yr](),2,40,"Partial success. Delivered: "+q[Wt]+", Failed: "+Ue[Wt]+". Will retry to send "+ct[Wt]+" our of "+de[fk]+" items"))}function ut(q,de){T._buffer&&T._buffer[Eh](q)}function nn(q){try{if(q){var de=q,Ue=de.oriPayload;return Ue&&Ue[Wt]?Ue:null}}catch{}return null}function Rt(q,de){if(W)return!1;if(!q)return de&&xe(de,1,7,"Cannot send empty telemetry"),!1;if(q.baseData&&!q[pk])return de&&xe(de,1,70,"Cannot send telemetry without baseData and baseType"),!1;if(q[pk]||(q[pk]="EventData"),!T[dy])return de&&xe(de,1,28,"Sender was not initialized"),!1;if(le(q))q[pD]=T._sample[my];else return de&&xe(de,2,33,"Telemetry item was sampled out and not sent",{SampleRate:T._sample[my]}),!1;return!0}function rn(q,de){var Ue=q.iKey||j,ct=n.constructEnvelope(q,Ue,de,k);if(!ct){xe(de,1,47,"Unable to create an AppInsights envelope");return}var vt=!1;if(q[ir]&&q[ir][hD]&&(Ae(q[ir][hD],function(wt){try{wt&&wt(ct)===!1&&(vt=!0,Wa(de,"Telemetry processor check returns false"))}catch(hn){xe(de,1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Qt(hn),{exception:Le(hn)},!0)}}),delete q[ir][hD]),!vt)return ct}function Tn(q){var de=Oue,Ue=T[Yr]();try{var ct=Rt(q,Ue),vt=null;ct&&(vt=rn(q,Ue)),vt&&(de=l.serialize(vt))}catch{}return de}function Ai(q){var de=Oue;return q&&q[Wt]&&(de="["+q.join(",")+"]"),de}function rr(q){var de=z();return{urlString:g,data:q,headers:de}}function le(q){return T._sample.isSampledIn(q)}function ze(q,de,Ue,ct){de===200&&q?T._onSuccess(q,q[Wt]):ct&&T[nm](q,ct)}function rt(q,de,Ue,ct){ct===void 0&&(ct=!0);var vt=function(Yo,gm,Uc){return ze(de,Yo,gm,Uc)},wt=at(de),hn=q&&q.sendPOST;if(hn&&wt){ct&&T._buffer[ay](de);var Qn,Kr=!1,zt,hm;return we.preparePayload(function(Yo){Qn=hn(Yo,vt,!Ue),Kr=!0,zt&&ZA(Qn,zt,hm)},M,wt,!Ue),Kr?Qn:yo(function(Yo,gm){zt=Yo,hm=gm})}return null}function at(q){if(pt(q)&&q[Wt]>0){var de=T[Rl].batchPayloads(q),Ue=z(),ct={data:de,urlString:g,headers:Ue,disableXhrSync:A,disableFetchKeepAlive:!R,oriPayload:q};return ct}return null}function z(){try{var q=d||{};return Yv(g)&&(q[Rn[6]]=Rn[7]),q}catch{}return null}function se(q){var de=q?q[Wt]:0;return T[Rl].size()+de>v?((!f||f.isOnline())&&T[cy](!0,null,10),!0):!1}function ye(q,de,Ue,ct,vt,wt){var hn=null;if(T._appId||(hn=uD(wt),hn&&hn.appId&&(T._appId=hn.appId)),(q<200||q>=300)&&q!==0){if((q===301||q===307||q===308)&&!ve(Ue)){T[nm](de,vt);return}if(f&&!f.isOnline()){if(!Y){var Qn=10;Ct(de,Qn),xe(T[Yr](),2,40,". Offline - Response Code: ".concat(q,". Offline status: ").concat(!f.isOnline(),". Will retry to send ").concat(de.length," items."))}return}!Y&&is(q)?(Ct(de),xe(T[Yr](),2,40,". Response code "+q+". Will retry to send "+de[Wt]+" items.")):T[nm](de,vt)}else ve(Ue),q===206?(hn||(hn=uD(wt)),hn&&!Y?T[uk](de,hn):T[nm](de,vt)):(i=0,T[GD](de,ct))}function ve(q){return c>=10?!1:!fe(q)&&q!==""&&q!==g?(g=q,++c,!0):!1}function ke(q,de){if(m)m(q,!1);else{var Ue=we&&we[$D]([3],!0);return rt(Ue,q,de)}}function st(q,de,Ue){var ct=q,vt=ct&&ct.oriPayload;if(Ie)ne&&ne(vt,!0),xe(T[Yr](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender.");else{for(var wt=[],hn=0;hn<vt[Wt];hn++){var Qn=vt[hn],Kr=[Qn],zt=at(Kr);Ue(zt,de)?T._onSuccess(Kr,Kr[Wt]):wt[Gs](Qn)}wt[Wt]>0&&(ne&&ne(wt,!0),xe(T[Yr](),2,40,". Failed to send telemetry with Beacon API, retried with normal sender."))}}function ht(q){try{if(q&&q[Wt])return Ze(q[0])}catch{}return null}function Ut(q,de){var Ue=null;if(pt(q)){for(var ct=q[Wt],vt=0;vt<q[Wt];vt++)ct+=q[vt].item[Wt];var wt=we.getSyncFetchPayload();wt+ct<=kXe?Ue=2:Ud()?Ue=3:(Ue=1,xe(T[Yr](),2,40,". Failed to send telemetry with Beacon API, retried with xhrSender."));var hn=we&&we[$D]([Ue],!0);return rt(hn,q,de)}return null}function Ct(q,de){if(de===void 0&&(de=1),!(!q||q[Wt]===0)){var Ue=T[Rl];Ue[Eh](q),i++;for(var ct=0,vt=q;ct<vt.length;ct++){var wt=vt[ct];wt.cnt=wt.cnt||0,wt.cnt++,Ue[Jd](wt)}_n(de),qn()}}function _n(q){var de=10,Ue;if(i<=1)Ue=de;else{var ct=(Math.pow(2,i)-1)/2,vt=Mr(Math.random()*ct*de)+1;vt=q*vt,Ue=jp(AA(vt,3600),de)}var wt=Xi()+Ue*1e3;r=wt}function qn(){if(!s&&!a){var q=r?jp(0,r-Xi()):0,de=jp(Q,q);s=ji(function(){s=null,T[cy](!0,null,1)},de)}}function $i(){s&&s.cancel(),s=null,r=null}function is(q){return fe(ee)?q===401||q===408||q===429||q===500||q===502||q===503||q===504:ee[Wt]&&ee.indexOf(q)>-1}function rs(){var q="getNotifyMgr",de,Ue=T.core;return Ue&&(Ue[q]?de=Ue[q]():de=Ue._notificationManager),de}function Wr(q,de){var Ue=rs();if(Ue&&Ue.eventsSendRequest)try{Ue.eventsSendRequest(q,de)}catch(ct){xe(T[Yr](),1,74,"send request notification failed: "+Qt(ct),{exception:Le(ct)})}}function Ys(q,de){var Ue=de.disableInstrumentationKeyValidation,ct=fe(Ue)?!1:Ue;if(ct)return!0;var vt="^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",wt=new RegExp(vt);return wt.test(q)}function Fh(){T[dy]=null,T[Rl]=null,T._appId=null,T._sample=null,d={},f=null,i=0,r=null,o=null,a=!1,s=null,l=null,c=0,u=0,m=null,p=null,g=null,_=null,v=0,D=!1,F=null,W=!1,j=null,k=Pl,Y=!1,ce=null,X=Pl,A=!1,R=!1,Ie=!1,I=null,ne=null,we=null,kt(T,"_senderConfig",{g:function(){return sM({},Lue)}})}}),e}return n.constructEnvelope=function(e,i,r,o){var a;i!==e.iKey&&!fe(i)?a=Ui(Ui({},e),{iKey:i}):a=e;var s=NXe[a.baseType]||zH;return s(r,a,o)},n})(Xa);var GH="duration",rm="properties";var Ja="requestUrl",iu="length",Fc="traceID",Lc="spanID",es="traceFlags",py="context",om="aborted",qD="_addHook",Da="core",gk="includeCorrelationHeaders",YD="getAbsoluteUrl",am="headers",Ea="requestHeaders",_k="setRequestHeader",qH="trackDependencyDataInternal",sm="startTime",Th="toLowerCase",vk="enableRequestHeaderTracking",YH="enableAjaxErrorStatusText",WH="enableAjaxPerfTracking",KH="maxAjaxCallsPerView",XH="excludeRequestFromAutoTrackingPatterns",yk="disableAjaxTracking",QH="ajaxPerfLookupDelay",ZH="disableFetchTracking",JH="enableResponseHeaderTracking",ts="status",ru="statusText",hy="headerMap",ou="requestSentTime",WD="getTraceId",KD="getTraceFlags",Vc="method",XD="errorStatusText",bk="stateChangeAttached",e$="responseText",Ih="responseFinishedTime",QD="CreateTrackItem",t$="getAllResponseHeaders",ZD="getPartAProps",gy="perfMark",JD="perfTiming",Ck="ajaxDiagnosticsMessage",eE="correlationContext",Dk="ajaxTotalDuration",Ek="eventTraceCtx";function Bue(t,n,e){var i=0,r=t[n],o=t[e];return r&&o&&(i=hr(r,o)),i}function Ah(t,n,e,i,r){var o=0,a=Bue(e,i,r);return a&&(o=lm(t,n,Qa(a))),o}function lm(t,n,e){var i="ajaxPerf",r=0;if(t&&n&&e){var o=t[i]=t[i]||{};o[n]=e,r=1}return r}function OXe(t,n){var e=t[JD],i=n[rm]||{},r=0,o="name",a="Start",s="End",l="domainLookup",c="connect",d="redirect",u="request",m="response",f="startTime",p=l+a,g=l+s,_=c+a,v=c+s,D=u+a,O=u+s,B=m+a,F=m+s,W=d+a,j=d=s,k="transferSize",Y="encodedBodySize",Q="decodedBodySize",ce="serverTiming";if(e){r|=Ah(i,d,e,W,j),r|=Ah(i,l,e,p,g),r|=Ah(i,c,e,_,v),r|=Ah(i,u,e,D,O),r|=Ah(i,m,e,B,F),r|=Ah(i,"networkConnect",e,f,v),r|=Ah(i,"sentRequest",e,D,F);var ie=e[GH];ie||(ie=Bue(e,f,F)||0),r|=lm(i,GH,ie),r|=lm(i,"perfTotal",ie);var X=e[ce];if(X){var w={};Ae(X,function(P,A){var R=Xp(P[o]||""+A),I=w[R]||{};_t(P,function(ne,Ie){(ne!==o&&Ze(Ie)||Dl(Ie))&&(I[ne]&&(Ie=I[ne]+";"+Ie),(Ie||!Ze(Ie))&&(I[ne]=Ie))}),w[R]=I}),r|=lm(i,ce,w)}r|=lm(i,k,e[k]),r|=lm(i,Y,e[Y]),r|=lm(i,Q,e[Q])}else t[gy]&&(r|=lm(i,"missing",t.perfAttempts));r&&(n[rm]=i)}var FXe=(function(){function t(){var n=this;n.openDone=!1,n.setRequestHeaderDone=!1,n.sendDone=!1,n.abortDone=!1,n[bk]=!1}return t})();var n$=(function(){function t(n,e,i,r){var o=this,a=i,s="responseText";o[gy]=null,o.completed=!1,o.requestHeadersSize=null,o[Ea]=null,o.responseReceivingDuration=null,o.callbackDuration=null,o[Dk]=null,o[om]=0,o.pageUrl=null,o[Ja]=null,o.requestSize=0,o[Vc]=null,o[ts]=null,o[ou]=null,o.responseStartedTime=null,o[Ih]=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new FXe,o.clientFailure=0,o[Fc]=n,o[Lc]=e,o[es]=r?.getTraceFlags(),r?o[Ek]={traceId:r[WD](),spanId:r.getSpanId(),traceFlags:r[KD]()}:o[Ek]=null,Lt(t,o,function(l){l.getAbsoluteUrl=function(){return l[Ja]?uH(l[Ja]):null},l.getPathName=function(){return l[Ja]?Yd(a,fH(l[Vc],l[Ja])):null},l[QD]=function(c,d,u){var m;if(l.ajaxTotalDuration=FA(hr(l.requestSentTime,l.responseFinishedTime)*1e3)/1e3,l[Dk]<0)return null;var f=(m={id:"|"+l[Fc]+"."+l[Lc],target:l[YD](),name:l.getPathName(),type:c,startTime:null,duration:l[Dk],success:+l[ts]>=200&&+l[ts]<400,responseCode:+l[ts]},m[rm]={HttpMethod:l[Vc]},m),p=f[rm];if(l[om]&&(p[om]=!0),l[ou]&&(f[sm]=new Date,f[sm].setTime(l[ou])),OXe(l,f),d&&go(l.requestHeaders)[iu]>0&&(p[Ea]=l[Ea]),u){var g=u();if(g){var _=g[eE];if(_&&(f.correlationContext=_),g[hy]&&go(g.headerMap)[iu]>0&&(p.responseHeaders=g[hy]),l[XD])if(l[ts]>=400){var v=g.type;(v===""||v==="text")&&(p.responseText=g.responseText?g[ru]+" - "+g[s]:g[ru]),v==="json"&&(p.responseText=g.response?g[ru]+" - "+JSON.stringify(g.response):g[ru])}else l[ts]===0&&(p.responseText=g[ru]||"")}}return f},l[ZD]=function(){var c=null,d=l[Ek];if(d&&(d.traceId||d.spanId)){c={};var u=c[Do.TraceExt]={traceID:d.traceId,parentID:d.spanId};fe(d[es])||(u[es]=d[es])}return c}})}return t.__ieDyn=1,t})();var Ii,iE="diagLog",cm="_ajaxData",Mh="fetch",tE="Failed to monitor XMLHttpRequest",que=", monitoring data for this ajax call ",_y=que+"may be incorrect.",jue=que+"won't be sent.",Uue="Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",zue="Failed to add custom defined request context as configured call back may missing a null check.",Hue="Failed to calculate the duration of the ",$ue=0;function LXe(){var t=Bi();return!t||fe(t.Request)||fe(t.Request[vo])||fe(t[Mh])?null:t[Mh]}function VXe(t,n){var e,i=!1;if(xf()){var r=XMLHttpRequest[vo];i=!fe(r)&&!fe(r.open)&&!fe(r.send)&&!fe(r.abort)}var o=XC();if(o&&o<9&&(i=!1),i)try{var a=new XMLHttpRequest,s={xh:[],i:(e={},e[n]={},e)};a[cm]=s;var l=XMLHttpRequest[vo].open;XMLHttpRequest[vo].open=l}catch(c){i=!1,rE(t,15,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:Le(c)})}return i}var yy=function(t,n){return t&&n&&t[cm]?(t[cm].i||{})[n]:null},BXe=function(t,n,e){if(t){var i=(t[cm]||{}).xh;i&&i.push({n,v:e})}},i$=function(t,n){var e=!1;if(t){var i=(t[cm]||{}).xh;i&&Ae(i,function(r){if(r.n===n)return e=!0,-1})}return e};function wk(t,n){var e="";try{var i=yy(t,n);i&&i[Ja]&&(e+="(url: '"+i[Ja]+"')")}catch{}return e}function rE(t,n,e,i,r){xe(t[iE](),1,n,e,i,r)}function au(t,n,e,i,r){xe(t[iE](),2,n,e,i,r)}function nE(t,n,e){return function(i){var r;rE(t,n,e,(r={},r[Ck]=wk(i.inst,t._ajaxDataId),r.exception=Le(i.err),r))}}function vy(t,n){return t&&n?Fn(t,n):-1}function Gue(t,n,e){var i={id:n,fn:e};return t.push(i),{remove:function(){Ae(t,function(r,o){if(r.id===i.id)return t.splice(o,1),-1})}}}function Yue(t,n,e,i){var r=!0;return Ae(n,function(o,a){try{o.fn.call(null,e)===!1&&(r=!1)}catch(s){xe(t&&t.logger,1,64,"Dependency "+i+" [#"+a+"] failed: "+Qt(s),{exception:Le(s)},!0)}}),r}function jXe(t,n,e,i,r,o){var a=t[iu],s=!0;if(a>0){var l={core:n,xhr:i,input:r,init:o,traceId:e[Fc],spanId:e[Lc],traceFlags:e[es],context:e[py]||{},aborted:!!e[om]};s=Yue(n,t,l,"listener"),e[Fc]=l.traceId,e[Lc]=l.spanId,e[es]=l[es],e[py]=l[py]}return s}var Sk="*.blob.core.",Wue=_o([Sk+"windows.net",Sk+"chinacloudapi.cn",Sk+"cloudapi.de",Sk+"usgovcloudapi.net"]),UXe=[/https:\/\/[^\/]*(\.pipe\.aria|aria\.pipe|events\.data|collector\.azure)\.[^\/]+\/(OneCollector\/1|Collector\/3)\.0/i],zXe=_o((Ii={},Ii[KH]=500,Ii[yk]=!1,Ii[ZH]=!1,Ii[XH]=void 0,Ii.disableCorrelationHeaders=!1,Ii.distributedTracingMode=1,Ii.correlationHeaderExcludedDomains=Wue,Ii.correlationHeaderDomains=void 0,Ii.correlationHeaderExcludePatterns=void 0,Ii.appId=void 0,Ii.enableCorsCorrelation=!1,Ii[vk]=!1,Ii[JH]=!1,Ii[YH]=!1,Ii[WH]=!1,Ii.maxAjaxPerfLookupAttempts=3,Ii[QH]=25,Ii.ignoreHeaders=["Authorization","X-API-Key","WWW-Authenticate"],Ii.addRequestContext=void 0,Ii.addIntEndpoints=!0,Ii)),r$=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.identifier=n.identifier,e.priority=120;var i,r,o,a,s,l,c,d,u,m,f,p,g,_,v,D,O,B,F,W,j,k,Y,Q,ce,ie,X,w,P,A;return Lt(n,e,function(R,I){var ne=I[qD];Ie(),R.initialize=function(z,se,ye,ve){R.isInitialized()||(I.initialize(z,se,ye,ve),W=Ho(Ti("ajax"),se&&se.evtNamespace&&se.evtNamespace()),we(z),H(),T(),ee())},R._doTeardown=function(){Ie()},R.trackDependencyData=function(z,se){at(Q,R[Da],null,z,se)},R.resetAjaxAttempts=function(){c=0},R[gk]=function(z,se,ye,ve){var ke=R._currentWindowHost||o;if(jXe(Y,R[Da],z,ve,se,ye)){if(se||se===""){if(jM(a,z[YD](),ke)){ye||(ye={});var st=new Headers(ye[am]||(se instanceof Request?se[am]||{}:{}));if(m){var ht="|"+z[Fc]+"."+z[Lc];st.set(Rn[3],ht),s&&(z[Ea][Rn[3]]=ht)}var Ut=P||d&&d.appId();if(Ut&&(st.set(Rn[0],Rn[2]+Ut),s&&(z[Ea][Rn[0]]=Rn[2]+Ut)),u){var Ct=z[es];fe(Ct)&&(Ct=1);var _n=cD(lD(z[Fc],z[Lc],Ct));st.set(Rn[4],_n),s&&(z[Ea][Rn[4]]=_n)}ye[am]=st}}else if(ve&&jM(a,z[YD](),ke)){if(m)if(i$(ve,Rn[3]))au(R,71,"Unable to set ["+Rn[3]+"] as it has already been set by another instance");else{var ht="|"+z[Fc]+"."+z[Lc];ve[_k](Rn[3],ht),s&&(z[Ea][Rn[3]]=ht)}var Ut=P||d&&d.appId();if(Ut&&(i$(ve,Rn[0])?au(R,71,"Unable to set ["+Rn[0]+"] as it has already been set by another instance"):(ve[_k](Rn[0],Rn[2]+Ut),s&&(z[Ea][Rn[0]]=Rn[2]+Ut))),u){var Ct=z[es];if(fe(Ct)&&(Ct=1),i$(ve,Rn[4]))au(R,71,"Unable to set ["+Rn[4]+"] as it has already been set by another instance");else{var _n=cD(lD(z[Fc],z[Lc],Ct));ve[_k](Rn[4],_n),s&&(z[Ea][Rn[4]]=_n)}}}}return ve||ye},R[qH]=function(z,se,ye){if(g===-1||c<g){(w===2||w===1)&&typeof z.id=="string"&&z.id[z.id[iu]-1]!=="."&&(z.id+="."),fe(z[sm])&&(z[sm]=new Date);var ve=Hs(z,zs.dataType,zs.envelopeType,R[iE](),se,ye);R[Da].track(ve)}else c===g&&rE(R,55,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++c},R.addDependencyListener=function(z){return Gue(Y,k++,z)},R.addDependencyInitializer=function(z){return Gue(Q,k++,z)};function Ie(){var z=Gr();i=!1,r=!1,A=!1,o=z&&z.host&&z.host[Th](),a=null,s=!1,l=!1,c=0,d=null,u=!1,m=!1,f=null,p=!1,g=0,_=!1,v={},D=!1,O=!1,B=null,F=null,W=null,k=0,Y=[],Q=[],j=Ti("ajaxData"),R._ajaxDataId=j,ce=null,ie=1,X=1,w=1,P=null}function we(z){R[qD](Cn(z,function(se){var ye=se.cfg,ve=tr(null,ye,R[Da]);a=ve.getExtCfg(n.identifier,zXe),w=a.distributedTracingMode,s=a[vk],l=a[YH],p=a[WH],g=a[KH],B=[].concat(a[XH]||[],a.addIntEndpoints!==!1?UXe:[]),F=a.addRequestContext,m=w===0||w===1,u=w===1||w===2,p&&(f=j),D=!!a[yk],ie=a.maxAjaxPerfLookupAttempts,X=a[QH],ce=a.ignoreHeaders,P=a.appId}))}function ee(){var z=R[Da].getPlugin(Gf);z&&(d=z.plugin[py])}function M(z){var se=!0;return(z||ce)&&Ae(ce,function(ye){if(ye[Th]()===z[Th]())return se=!1,-1}),se}function T(){var z=LXe();if(z){var se=Bi(),ye=z.polyfill;R[qD](Cn(a,function(){O=!!a[ZH],_=a[JH],!O&&!i?(ne(mD(se,Mh,{ns:W,req:function(ve,ke,st){var ht;if(!O&&i&&!$(null,ke,st)&&!(ye&&r)){var Ut=ve.ctx();ht=rr(ke,st);var Ct=R[gk](ht,ke,st);Ct!==st&&ve.set(1,Ct),Ut.data=ht}},rsp:function(ve,ke){if(!O){var st=ve.ctx().data;st&&(ve.rslt=ve.rslt.then(function(ht){return ze(ve,(ht||{})[ts],ke,ht,st,function(){var Ut,Ct=(Ut={statusText:(ht||{})[ru],headerMap:null},Ut[eE]=rt(ht),Ut);if(_&&ht){var _n={};ht.headers.forEach(function(qn,$i){M($i)&&(_n[$i]=qn)}),Ct[hy]=_n}return Ct}),ht}).catch(function(ht){throw ze(ve,0,ke,null,st,null,{error:ht.message||Le(ht)}),ht}))}},hkErr:nE(R,15,"Failed to monitor Window.fetch"+_y)},!0,kA())),i=!0):ye&&!A&&(ne(mD(se,Mh,{ns:W,req:function(ve,ke,st){$(null,ke,st)}})),A=!0)})),ye&&(se[Mh].polyfill=ye)}}function L(z,se,ye){ne(oH(z,se,ye))}function H(){VXe(R,j)&&R[qD](Cn(a,function(){D=!!a[yk],s=a[vk],!D&&!r&&(L(XMLHttpRequest,"open",{ns:W,req:function(z,se,ye,ve){if(!D){var ke=z.inst,st=yy(ke,j);!$(ke,ye)&&oe(ke,st,!0)&&((!st||!st.xhrMonitoringState.openDone)&&(st=Ye(ke,se,ye,ve)),ut(ke,st))}},hkErr:nE(R,15,tE+".open"+_y)}),L(XMLHttpRequest,"send",{ns:W,req:function(z,se){if(!D){var ye=z.inst,ve=yy(ye,j);oe(ye,ve)&&!ve.xhrMonitoringState.sendDone&&(Tn("xhr",ve),ve[ou]=Wv(),R[gk](ve,void 0,void 0,ye),ve.xhrMonitoringState.sendDone=!0)}},hkErr:nE(R,17,tE+_y)}),L(XMLHttpRequest,"abort",{ns:W,req:function(z){if(!D){var se=z.inst,ye=yy(se,j);oe(se,ye)&&!ye.xhrMonitoringState.abortDone&&(ye[om]=1,ye.xhrMonitoringState.abortDone=!0)}},hkErr:nE(R,13,tE+".abort"+_y)}),L(XMLHttpRequest,"setRequestHeader",{ns:W,req:function(z,se,ye){if(!D){var ve=z.inst,ke=yy(ve,j);ke&&oe(ve,ke)&&(BXe(ve,se,ye),s&&M(se)&&(ke[Ea][se]=ye))}},hkErr:nE(R,71,tE+".setRequestHeader"+_y)}),r=!0)}))}function $(z,se,ye){var ve=!1,ke=((Ze(se)?se:(se||{}).url||"")||"")[Th]();if(Ae(B,function(Ut){var Ct=Ut;Ze(Ut)&&(Ct=new RegExp(Ut)),ve||(ve=Ct.test(ke))}),ve)return ve;var st=vy(ke,"?"),ht=vy(ke,"#");return(st===-1||ht!==-1&&ht<st)&&(st=ht),st!==-1&&(ke=ke.substring(0,st)),fe(z)?fe(se)||(ve=(typeof se=="object"?se[Mc]===!0:!1)||(ye?ye[Mc]===!0:!1)):ve=z[Mc]===!0||ke[Mc]===!0,!ve&&ke&&Yv(ke)&&(ve=!0),ve?v[ke]||(v[ke]=1):v[ke]&&(ve=!0),ve}function oe(z,se,ye){var ve=!0,ke=r;return fe(z)||(ve=ye===!0||!fe(se)),ke&&ve}function me(){var z=null;return R[Da]&&R[Da].getTraceCtx&&(z=R[Da].getTraceCtx(!1)),!z&&d&&d.telemetryTrace&&(z=ph(d.telemetryTrace)),z}function Ye(z,se,ye,ve){var ke,st=me(),ht=st&&st[WD]()||Ka(),Ut=Sl(Ka(),0,16),Ct=z[cm]=z[cm]||{xh:[],i:{}},_n=Ct.i=Ct.i||{},qn=_n[j]=_n[j]||new n$(ht,Ut,R[iE](),(ke=R.core)===null||ke===void 0?void 0:ke.getTraceCtx());return qn[es]=st&&st[KD](),qn[Vc]=se,qn[Ja]=ye,qn.xhrMonitoringState.openDone=!0,qn[Ea]={},qn.async=ve,qn[XD]=l,qn}function ut(z,se){se.xhrMonitoringState[bk]=_a(z,"readystatechange",function(){var ye;try{z&&z.readyState===4&&oe(z,se)&&Rt(z)}catch(ke){var ve=Le(ke);(!ve||vy(ve[Th](),"c00c023f")===-1)&&rE(R,16,tE+" 'readystatechange' event handler"+_y,(ye={},ye[Ck]=wk(z,j),ye.exception=ve,ye))}},W)}function nn(z){try{var se=z.responseType;if(se===""||se==="text")return z[e$]}catch{}return null}function Rt(z){var se=yy(z,j);se[Ih]=Wv(),se[ts]=z[ts];function ye(ve,ke){var st=ke||{};st.ajaxDiagnosticsMessage=wk(z,j),ve&&(st.exception=Le(ve)),au(R,14,Hue+"ajax call"+jue,st)}Ai("xmlhttprequest",se,function(){try{var ve=se[QD]("Ajax",s,function(){var Ct,_n=(Ct={statusText:z[ru],headerMap:null},Ct[eE]=rn(z),Ct.type=z.responseType,Ct[e$]=nn(z),Ct.response=z.response,Ct);if(_){var qn=z[t$]();if(qn){var $i=gn(qn).split(/[\r\n]+/),is={};Ae($i,function(rs){var Wr=rs.split(": "),Ys=Wr.shift(),Fh=Wr.join(": ");M(Ys)&&(is[Ys]=Fh)}),_n[hy]=is}}return _n}),ke=void 0;try{F&&(ke=F({status:z[ts],xhr:z}))}catch{au(R,104,zue)}if(ve){ke!==void 0&&(ve[rm]=Ui(Ui({},ve.properties),ke));var st=se[ZD]();at(Q,R[Da],se,ve,null,st)}else ye(null,{requestSentTime:se[ou],responseFinishedTime:se[Ih]})}finally{try{var ht=z[cm]||{i:{}},Ut=ht.i||{};Ut[j]&&(Ut[j]=null)}catch{}}},function(ve){ye(ve,null)})}function rn(z){var se;try{var ye=z[t$]();if(ye!==null){var ve=vy(ye[Th](),Rn[8]);if(ve!==-1){var ke=z.getResponseHeader(Rn[0]);return UM(ke)}}}catch(st){au(R,18,Uue,(se={},se[Ck]=wk(z,j),se.exception=Le(st),se))}}function Tn(z,se){if(se[Ja]&&f&&p){var ye=Bo();if(ye&&Xe(ye.mark)){$ue++;var ve=f+z+"#"+$ue;ye.mark(ve);var ke=ye.getEntriesByName(ve);ke&&ke[iu]===1&&(se[gy]=ke[0])}}}function Ai(z,se,ye,ve){var ke=se[gy],st=Bo(),ht=ie,Ut=X,Ct=se[Ja],_n=0;(function qn(){try{if(st&&ke){_n++;for(var $i=null,is=st.getEntries(),rs=is[iu]-1;rs>=0;rs--){var Wr=is[rs];if(Wr){if(Wr.entryType==="resource")Wr.initiatorType===z&&(vy(Wr.name,Ct)!==-1||vy(Ct,Wr.name)!==-1)&&($i=Wr);else if(Wr.entryType==="mark"&&Wr.name===ke.name){se[JD]=$i;break}if(Wr[sm]<ke[sm]-1e3)break}}}!ke||se[JD]||_n>=ht||se.async===!1?(ke&&Xe(st.clearMarks)&&st.clearMarks(ke.name),se.perfAttempts=_n,ye()):ji(qn,Ut)}catch(Ys){ve(Ys)}})()}function rr(z,se){var ye,ve=me(),ke=ve&&ve[WD]()||Ka(),st=Sl(Ka(),0,16),ht=new n$(ke,st,R[iE](),(ye=R.core)===null||ye===void 0?void 0:ye.getTraceCtx());ht[es]=ve&&ve[KD](),ht[ou]=Wv(),ht[XD]=l;var Ut;if(z instanceof Request?Ut=(z||{}).url||"":Ut=z,Ut===""){var Ct=Gr();Ct&&Ct.href&&(Ut=kU(Ct.href,"#")[0])}R[Da]&&R[Da].config&&(Ut=jo(Ut,R[Da].config)),ht[Ja]=Ut;var _n="GET";se&&se[Vc]?_n=se[Vc]:z&&z instanceof Request&&(_n=z[Vc]),ht[Vc]=_n;var qn={};if(s){var $i=new Headers((se?se[am]:0)||(z instanceof Request?z[am]||{}:{}));$i.forEach(function(is,rs){M(rs)&&(qn[rs]=is)})}return ht[Ea]=qn,Tn(Mh,ht),ht}function le(z){var se="";try{fe(z)||(typeof z=="string"?se+="(url: '".concat(z,"')"):se+="(url: '".concat(z.url,"')"))}catch(ye){rE(R,15,"Failed to grab failed fetch diagnostics message",{exception:Le(ye)})}return se}function ze(z,se,ye,ve,ke,st,ht){if(!ke)return;function Ut(Ct,_n,qn){var $i=qn||{};$i.fetchDiagnosticsMessage=le(ye),_n&&($i.exception=Le(_n)),au(R,Ct,Hue+"fetch call"+jue,$i)}ke[Ih]=Wv(),ke[ts]=se,Ai(Mh,ke,function(){var Ct=ke[QD]("Fetch",s,st),_n;try{F&&(_n=F({status:se,request:ye,response:ve}))}catch{au(R,104,zue)}if(Ct){_n!==void 0&&(Ct[rm]=Ui(Ui({},Ct.properties),_n));var qn=ke[ZD]();at(Q,R[Da],ke,Ct,null,qn)}else Ut(14,null,{requestSentTime:ke[ou],responseFinishedTime:ke[Ih]})},function(Ct){Ut(18,Ct,null)})}function rt(z){if(z&&z[am])try{var se=z[am].get(Rn[0]);return UM(se)}catch(ye){au(R,18,Uue,{fetchDiagnosticsMessage:le(z),exception:Le(ye)})}}function at(z,se,ye,ve,ke,st){var ht=!0,Ut=z[iu];if(Ut>0){var Ct={item:ve,properties:ke,sysProperties:st,context:ye?ye[py]:null,aborted:ye?!!ye[om]:!1};ht=Yue(se,z,Ct,"initializer")}ht&&R[qH](ve,ke,st)}}),e}return n.prototype.processTelemetry=function(e,i){this.processNext(e,i)},n.prototype.addDependencyInitializer=function(e){return null},n.identifier="AjaxDependencyPlugin",n})(Xa);var Kue=(function(){function t(){}return t})();var Xue=(function(){function t(){this.id="browser",this.deviceClass="Browser"}return t})();var HXe="3.3.10",Que=(function(){function t(n,e){var i=this,r=Cn(n,function(){var o=n.sdkExtension;i.sdkVersion=(o?o+"_":"")+"javascript:"+HXe});e&&e.add(r)}return t})();var Zue=(function(){function t(){}return t})();var by="session",Cy="sessionManager",Dy="isUserCookieSet",Ey="isNewUser",xk="getTraceCtx",oE="telemetryTrace",Tk="applySessionContext",Ik="applyApplicationContext",Ak="applyOperationContext",Mk="applyOperatingSystemContxt",kk="applyLocationContext",Rk="applyInternalContext",Sy="getSessionId",Pk="sessionCookiePostfix",su="automaticSession",dm="accountId",um="authenticatedId",wy="acquisitionDate",aE="renewalDate",xy="cookieSeparator",Nk="authUserCookieName";var $Xe="ai_session",GXe=864e5,qXe=18e5,YXe=6e4,o$=(function(){function t(){}return t})();var Jue=(function(){function t(n,e,i){var r=this,o,a,s=zo(e),l=rh(e),c,d;Lt(t,r,function(u){n||(n={});var m=Cn(n,function(D){c=n.sessionExpirationMs||GXe,d=n.sessionRenewalMs||qXe;var O=n[Pk]||n.namePrefix||"";o=$Xe+O});i&&i.add(m),u[su]=new o$,u.update=function(){var D=Xi(),O=!1,B=u[su];if(B.id||(O=!f(B,D)),!O&&c>0){var F=D-B[wy],W=D-B[aE];O=F<0||W<0,O=O||F>c,O=O||W>d}O?g(D):(!a||D-a>YXe)&&_(B,D)},u.backup=function(){var D=u[su];v(D.id,D[wy],D[aE])};function f(D,O){var B=!1,F=l.get(o);if(F&&Xe(F.split))B=p(D,F);else{var W=ED(s,o);W&&(B=p(D,W))}return B||!!D.id}function p(D,O){var B=!1,F=", session will be reset",W=O.split("|");if(W.length>=2)try{var j=+W[1]||0,k=+W[2]||0;isNaN(j)||j<=0?xe(s,2,27,"AI session acquisition date is 0"+F):isNaN(k)||k<=0?xe(s,2,27,"AI session renewal date is 0"+F):W[0]&&(D.id=W[0],D[wy]=j,D[aE]=k,B=!0)}catch(Y){xe(s,1,9,"Error parsing ai_session value ["+(O||"")+"]"+F+" - "+Qt(Y),{exception:Le(Y)})}return B}function g(D){var O=n.getNewId||nh;u[su].id=O(n.idLength||22),u[su][wy]=D,_(u[su],D),gh()||xe(s,2,0,"Browser does not support local storage. Session durations will be inaccurate.")}function _(D,O){var B=D[wy];D[aE]=O;var F=d,W=B+c-O,j=[D.id,B,O],k=0;W<F?k=W/1e3:k=F/1e3;var Y=n.cookieDomain||null;l.set(o,j.join("|"),c>0?k:null,Y),a=O}function v(D,O,B){SD(s,o,[D,O,B].join("|"))}})}return t.__ieDyn=1,t})();var efe=(function(){function t(n,e,i,r,o){var a=this;a.traceID=n||Ka(),a.parentID=e;var s=Gr();!i&&s&&s.pathname&&(i=s.pathname,o&&(i=jo(i,o))),a.name=xn(r,i)}return t})();function tfe(t){return!(typeof t!="string"||!t||t.match(/,|;|=| |\|/))}var nfe=(function(){function t(n,e,i){this.isNewUser=!1,this.isUserCookieSet=!1;var r=zo(e),o=rh(e),a;Lt(t,this,function(s){kt(s,"config",{g:function(){return n}});var l=Cn(n,function(){var m=n.userCookiePostfix||"";a=t.userCookieName+m;var f=o.get(a);if(f){s[Ey]=!1;var p=f.split(t[xy]);p.length>0&&(s.id=p[0],s[Dy]=!!s.id)}if(!s.id){s.id=c();var g=d(s.id);u(g.join(t[xy]));var _=(n.namePrefix||"")+"ai_session";_H(r,_)}s[dm]=n[dm]||void 0;var v=o.get(t[Nk]);if(v){v=decodeURI(v);var D=v.split(t[xy]);D[0]&&(s[um]=D[0]),D.length>1&&D[1]&&(s[dm]=D[1])}});i&&i.add(l);function c(){var m=n||{},f=m.getNewId||nh,p=f(m.idLength?n.idLength:22);return p}function d(m){var f=Vs(new Date);s.accountAcquisitionDate=f,s[Ey]=!0;var p=[m,f];return p}function u(m){var f=31536e3;s[Dy]=o.set(a,m,f)}s.setAuthenticatedUserContext=function(m,f,p){p===void 0&&(p=!1);var g=!tfe(m)||f&&!tfe(f);if(g){xe(r,2,60,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);return}s[um]=m;var _=s[um];f&&(s[dm]=f,_=[s[um],s.accountId].join(t[xy])),p&&o.set(t[Nk],encodeURI(_))},s.clearAuthenticatedUserContext=function(){s[um]=null,s[dm]=null,o.del(t[Nk])},s.update=function(m){if(s.id!==m||!s[Dy]){var f=m||c(),p=d(f);u(p.join(t[xy]))}}})}return t.cookieSeparator="|",t.userCookieName="ai_user",t.authUserCookieName="ai_authUser",t})();var Ok="ext",Fk="tags";function Ty(t,n){t&&t[n]&&go(t[n]).length===0&&delete t[n]}function ife(){return null}var rfe=(function(){function t(n,e,i,r){var o=this,a=n.logger;Lt(t,this,function(s){if(s.appId=ife,s[Sy]=ife,s.application=new Kue,s.internal=new Que(e,r),yf()){s[Cy]=new Jue(e,n,r),s.device=new Xue,s.location=new Zue,s.user=new nfe(e,n,r);var l=void 0,c=void 0,d;i&&(l=i.getTraceId(),c=i.getSpanId(),d=i.getName()),s[oE]=new efe(l,c,d,a),s[by]=new o$}s[Sy]=function(){var u=s[by],m=null;if(u&&Ze(u.id))m=u.id;else{var f=(s[Cy]||{})[su];m=f&&Ze(f.id)?f.id:null}return m},s[Tk]=function(u,m){Ln(pr(u.ext,Do.AppExt),"sesId",s[Sy](),Ze)},s[Mk]=function(u,m){Ln(u.ext,Do.OSExt,s.os)},s[Ik]=function(u,m){var f=s.application;if(f){var p=pr(u,Fk);Ln(p,Gn.applicationVersion,f.ver,Ze),Ln(p,Gn.applicationBuild,f.build,Ze)}},s.applyDeviceContext=function(u,m){var f=s.device;if(f){var p=pr(pr(u,Ok),Do.DeviceExt);Ln(p,"localId",f.id,Ze),Ln(p,"ip",f.ip,Ze),Ln(p,"model",f.model,Ze),Ln(p,"deviceClass",f.deviceClass,Ze)}},s[Rk]=function(u,m){var f=s.internal;if(f){var p=pr(u,Fk);Ln(p,Gn.internalAgentVersion,f.agentVersion,Ze),Ln(p,Gn.internalSdkVersion,xn(a,f.sdkVersion,64),Ze),(u.baseType===Hd.dataType||u.baseType===va.dataType)&&(Ln(p,Gn.internalSnippet,f.snippetVer,Ze),Ln(p,Gn.internalSdkSrc,f.sdkSrc,Ze))}},s[kk]=function(u,m){var f=o.location;f&&Ln(pr(u,Fk,[]),Gn.locationIp,f.ip,Ze)},s[Ak]=function(u,m){var f=s[oE];if(f){var p=pr(pr(u,Ok),Do.TraceExt,{traceID:void 0,parentID:void 0});Ln(p,"traceID",f.traceID,Ze,fe),Ln(p,"name",f.name,Ze,fe),Ln(p,"parentID",f.parentID,Ze,fe)}},s.applyWebContext=function(u,m){var f=o.web;f&&Ln(pr(u,Ok),Do.WebExt,f)},s.applyUserContext=function(u,m){var f=s.user;if(f){var p=pr(u,Fk,[]);Ln(p,Gn.userAccountId,f[dm],Ze);var g=pr(pr(u,Ok),Do.UserExt);Ln(g,"id",f.id,Ze),Ln(g,"authId",f[um],Ze)}},s.cleanUp=function(u,m){var f=u.ext;f&&(Ty(f,Do.DeviceExt),Ty(f,Do.UserExt),Ty(f,Do.WebExt),Ty(f,Do.OSExt),Ty(f,Do.AppExt),Ty(f,Do.TraceExt))}})}return t.__ieDyn=1,t})();var fm,a$,Iy=null,WXe=Ps((fm={accountId:Iy,sessionRenewalMs:1800*1e3,samplingPercentage:100,sessionExpirationMs:1440*60*1e3,cookieDomain:Iy,sdkExtension:Iy,isBrowserLinkTrackingEnabled:!1,appId:Iy},fm[Sy]=Iy,fm.namePrefix=a$,fm[Pk]=a$,fm.userCookiePostfix=a$,fm.idLength=22,fm.getNewId=Iy,fm)),KXe=(function(t){kr(n,t);function n(){var e=t.call(this)||this;e.priority=110,e.identifier=Gf;var i,r,o,a,s;return Lt(n,e,function(l,c){d(),kt(l,"context",{g:function(){return a}}),l.initialize=function(f,p,g,_){c.initialize(f,p,g,_),u(f)},l.processTelemetry=function(f,p){if(!fe(f)){p=l._getTelCtx(p),f.name===va.envelopeType&&p.diagLog().resetInternalMessageCount();var g=a||{};g[by]&&typeof a[by].id!="string"&&g[Cy]&&g[Cy].update();var _=g.user;if(_&&!_[Dy]&&_.update(g.user.id),m(f,p),_&&_[Ey]&&(_[Ey]=!1,!s)){var v=new Hd(72,($r()||{}).userAgent||"");kz(p.diagLog(),1,v)}l.processNext(f,p)}},l._doTeardown=function(f,p){var g=(f||{}).core();if(g&&g[xk]){var _=g[xk](!1);_===r&&g.setTraceCtx(o)}d()};function d(){i=null,r=null,o=null,a=null,s=!0}function u(f){var p=l.identifier,g=l.core;l._addHook(Cn(f,function(){var _=tr(null,f,g);f.storagePrefix&&hh(f.storagePrefix),s=f.disableUserInitMessage!==!1,i=_.getExtCfg(p,WXe),l._extConfig=i})),o=g[xk](!1),a=new rfe(g,i,o,l._unloadHooks),r=ph(l.context[oE],o),g.setTraceCtx(r),l.context.appId=function(){var _=g.getPlugin(qM);return _?_.plugin._appId:null}}function m(f,p){pr(f,"tags",[]),pr(f,"ext",{});var g=l.context;g[Tk](f,p),g[Ik](f,p),g.applyDeviceContext(f,p),g[Ak](f,p),g.applyUserContext(f,p),g[Mk](f,p),g.applyWebContext(f,p),g[kk](f,p),g[Rk](f,p),g.cleanUp(f,p)}}),e}return n.__ieDyn=1,n})(Xa),s$=KXe;var ofe="AuthenticatedUserContext",Ay="track";var Lk="snippet",afe="getCookieMgr",sfe="startTrackPage",lfe="stopTrackPage",Vk="flush",cfe="startTrackEvent",dfe="stopTrackEvent",l$="addTelemetryInitializer",K8t=l$+"s",c$="pollInternalLogs",Bk="getPlugin",jk="evtNamespace",ufe=Ay+"Event",ffe=Ay+"Trace",mfe=Ay+"Metric",pfe=Ay+"PageView",hfe=Ay+"Exception",gfe=Ay+"DependencyData",_fe="set"+ofe,vfe="clear"+ofe,yfe="https://js.monitor.azure.com/scripts/b/ai.config.1.cfg.json";var sE="connectionString",Uk="version",mm="queue",My="instrumentationKey",kh="userOverrideEndpointUrl",zk="endpointUrl",ky="onunloadFlush",ns="context",d$="addHousekeepingBeforeUnload",Hk="sendMessage",bfe="updateSnippetDefinitions";var Bc,Ry,Py,u$,lE,Cfe=[Lk,"dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],Efe="iKeyUsage",Sfe="CdnUsage",wfe="SdkLoaderVer",XXe="zipPayload",$k=void 0,QXe={samplingRate:100,maxSendNumber:1},ZXe={monthInterval:3,daysOfMonth:[28]},Gk={disabled:!0,limit:Uo(QXe),interval:Uo(ZXe)},JXe=(Bc={},Bc[sE]=$k,Bc.endpointUrl=$k,Bc[My]=$k,Bc[kh]=$k,Bc.diagnosticLogInterval=If(eQe,1e4),Bc.featureOptIn=(Ry={},Ry[Efe]={mode:3},Ry[Sfe]={mode:2},Ry[wfe]={mode:2},Ry[XXe]={mode:1},Ry),Bc.throttleMgrCfg=Uo((Py={},Py[109]=Uo(Gk),Py[106]=Uo(Gk),Py[111]=Uo(Gk),Py[110]=Uo(Gk),Py)),Bc.extensionConfig=Uo((u$={},u$.AppInsightsCfgSyncPlugin=Uo({cfgUrl:yfe,syncMode:2}),u$)),Bc);function eQe(t){return t&&t>0}function Dfe(t,n){return Rv(function(e,i){zi(n,function(r){var o=r&&r.value,a=null;!r.rejected&&o&&(t[sE]=o,a=HM(o)),e(a)})})}var f$=(function(){function t(n){var e=this,i,r,o,a,s,l,c,d,u,m,f,p,g,_;Lt(t,this,function(v){B(),kt(v,"config",{g:function(){return d}}),Ae(["pluginVersionStringArr","pluginVersionString"],function(j){kt(v,j,{g:function(){return c?c[j]:null}})}),a=""+(n.sv||n[Uk]||""),n[mm]=n[mm]||[],n[Uk]=n[Uk]||2;var D=er(n.config||{},JXe);d=D.cfg,u=new ok,kt(v,"appInsights",{g:function(){return u}}),r=new s$,i=new r$,o=new $H,c=new Yz,kt(v,"core",{g:function(){return c}}),W(Cn(D,function(){var j=d[sE];if(Ua(j)){var k=Rv(function(ie,X){zi(Dfe(d,j),function(w){if(w.rejected)ie(null);else{var P=d[My],A=w.value;P=A&&A.instrumentationkey||P,ie(P)}})}),Y=d[kh];fe(Y)&&(Y=Rv(function(ie,X){zi(Dfe(d,j),function(w){if(w.rejected)ie(null);else{var P=d[zk],A=w.value,R=A&&A.ingestionendpoint;P=R?R+kc:P,ie(P)}})})),d[My]=k,d[zk]=Y}if(Ze(j)&&j){var Q=HM(j),ce=Q.ingestionendpoint;d.endpointUrl=d[kh]?d[kh]:ce+kc,d[My]=Q.instrumentationkey||d[My]}d.endpointUrl=d[kh]?d[kh]:d[zk]})),v[Lk]=n,v[Vk]=function(j,k){j===void 0&&(j=!0);var Y;return Rf(c,function(){return"AISKU.flush"},function(){j&&!k&&(Y=yo(function(ie){k=ie}));var Q=1,ce=function(){Q--,Q===0&&k()};Ae(c.getChannels(),function(ie){ie&&(Q++,ie[Vk](j,ce))}),ce()},null,j),Y},v[ky]=function(j){j===void 0&&(j=!0),Ae(c.getChannels(),function(k){k[ky]?k[ky]():k[Vk](j)})},v.loadAppInsights=function(j,k,Y){j===void 0&&(j=!1),j&&Xle("Legacy Mode is no longer supported");function Q(ce){if(ce){var ie="";fe(a)||(ie+=a),v[ns]&&v[ns].internal&&(v[ns].internal.snippetVer=ie||"-"),_t(v,function(X,w){Ze(X)&&!Xe(w)&&X&&X[0]!=="_"&&Xn(Cfe,X)===-1&&ce[X]!==w&&(ce[X]=w)})}}return Rf(v.core,function(){return"AISKU.loadAppInsights"},function(){c.initialize(d,[o,r,i,u,m],k,Y),kt(v,"context",{g:function(){return r[ns]}}),f||(f=new vH(c));var ce=tQe();ce&&v[ns]&&(v[ns].internal.sdkSrc=ce),Q(v[Lk]),v.emptyQueue(),v[c$](),v[d$](v),W(Cn(D,function(){var ie=!1;d.throttleMgrCfg[109]&&(ie=!d.throttleMgrCfg[109].disabled),!f.isReady()&&d.extensionConfig&&d.extensionConfig[m.identifier]&&ie&&f.onReadyState(!0),!p&&!d[sE]&&Zp(Efe,d,!0)&&(f[Hk](106,"See Instrumentation key support at aka.ms/IkeyMigrate"),p=!0),!g&&v[ns].internal.sdkSrc&&v[ns].internal.sdkSrc.indexOf("az416426")!=-1&&Zp(Sfe,d,!0)&&(f[Hk](110,"See Cdn support notice at aka.ms/JsActiveCdn"),g=!0),!_&&parseInt(a)<6&&Zp(wfe,d,!0)&&(f[Hk](111,"An updated Sdk Loader is available, see aka.ms/SnippetVer"),_=!0)}))}),v},v[bfe]=function(j){lz(j,v,function(k){return k&&Xn(Cfe,k)===-1})},v.emptyQueue=function(){try{if(pt(v.snippet[mm])){for(var j=v.snippet[mm].length,k=0;k<j;k++){var Y=v.snippet[mm][k];Y()}v.snippet[mm]=void 0,delete v.snippet[mm]}}catch(ce){var Q={};ce&&Xe(ce.toString)&&(Q.exception=ce.toString())}},v[d$]=function(j){if(yf()||MC()){var k=function(){if(j[ky](!1),Xe(v.core[Bk])){var Q=e.core[Bk](Gf);if(Q){var ce=Q.plugin;ce&&ce[ns]&&ce[ns]._sessionManager&&ce[ns]._sessionManager.backup()}}},Y=!1;l||(l=Ho(s,c[jk]&&c[jk]())),W(Cn(d,function(Q){var ce=Q.cfg,ie=j.appInsights,X=tr(null,ce,ie.core),w=X.getExtCfg(ie.identifier||YM);F();var P=ce.disablePageUnloadEvents;w.disableFlushOnBeforeUnload||(Jz(k,P,l)&&(Y=!0),fD(k,P,l)&&(Y=!0),!Y&&!yz()&&xe(c.logger,1,19,"Could not add handler for beforeunload and pagehide")),!Y&&!w.disableFlushOnUnload&&fD(k,P,l)}))}},v.getSender=function(){return o},v.unload=function(j,k,Y){var Q=!1,ce;j&&!k&&(ce=yo(function(X){k=X}));function ie(X){Q||(Q=!0,B(),k&&k(X))}return v[ky](j),F(),c.unload&&c.unload(j,ie,Y),ce},wf(v,u,[afe,ufe,pfe,"trackPageViewPerformance",hfe,"_onerror",ffe,mfe,sfe,lfe,cfe,dfe]),wf(v,O,[gfe,"addDependencyListener","addDependencyInitializer"]),wf(v,c,[l$,c$,"stopPollingInternalLogs",Bk,"addPlugin",jk,"addUnloadCb","getTraceCtx","updateCfg","onCfgChange"]),wf(v,function(){var j=r[ns];return j?j.user:null},[_fe,vfe]);function O(){return i}function B(){s=Ti("AISKU"),l=null,i=null,r=null,o=null,a=null,f=null,p=!1,g=!1,_=!1,m=new OH}function F(){l&&(eH(null,l),tH(null,l))}function W(j){c.addUnloadHook(j)}})}return t.prototype.addDependencyInitializer=function(n){return null},t})();function tQe(){if(lE)return lE;var t=null,n=!1,e=["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var i=(document||{}).currentScript;i&&(t=i.src)}catch{}if(t){try{var r=t.toLowerCase();if(r){var o="";Ae(e,function(a,s){if(Fn(r,a)!==-1)return o="cdn"+(s+1),Fn(r,"/scripts/")===-1&&(Fn(r,"/next/")!==-1?o+="-next":Fn(r,"/beta/")!==-1&&(o+="-beta")),lE=o+(n?".mod":""),-1})}}catch{}lE=t}return lE}var m$={production:!0,appInsights:{connectionString:""}};var Ny=class t{appInsights=null;isEnabled=Be(!0);constructor(){this.init()}init(){m$.appInsights.connectionString&&(this.appInsights=new f$({config:{connectionString:m$.appInsights.connectionString,enableAutoRouteTracking:!1}}),this.appInsights.loadAppInsights())}setTelemetryEnabled(n){this.isEnabled.set(n),this.appInsights&&(this.appInsights.config.disableTelemetry=!n)}trackPageView(n,e){this.isEnabled()&&this.appInsights&&this.appInsights.trackPageView({name:n,uri:e})}trackEvent(n,e){this.isEnabled()&&this.appInsights&&this.appInsights.trackEvent({name:n},e)}trackException(n){this.isEnabled()&&this.appInsights&&this.appInsights.trackException({exception:n})}static \u0275fac=function(e){return new(e||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})};function nQe(t,n){if(t&1){let e=lt();C(0,"app-welcome-page",3),ae("start",function(){he(e);let r=U();return ge(r.go("animal_stock"))}),x()}}function iQe(t,n){t&1&&je(0,"app-animal-stock-master-detail")}function rQe(t,n){t&1&&je(0,"app-field-spreading")}function oQe(t,n){t&1&&je(0,"app-farm-manure-trading-master-detail")}function aQe(t,n){t&1&&je(0,"app-data-preview")}function sQe(t,n){t&1&&(C(0,"p"),J(1),Vt(2,"t"),x()),t&2&&(E(),Se($t(2,1,"nav.unknownPage")()))}var qk=class t{locale=Yi("en",{alias:"locale"});themeSrc=Yi(null,{alias:"theme-src"});page=Yi("welcome",{alias:"page"});suibiData=Yi(null,{alias:"suibi-data"});telemetryInput=Yi("true",{alias:"telemetry"});i18n=h(Jn);hostEl=h(Te);destroyRef=h(wo);naebi=h(ro);metadataSvc=h(gf);globalValidation=h(hv);navigationSvc=h(ks);dataEmitter=h(gv);telemetryService=h(Ny);isCustomElement=this.hostEl.nativeElement.tagName==="SUIBI-MODULE";activeLocale=this.i18n.locale;validationErrors=$e(()=>this.globalValidation.errors());constructor(){En(()=>{let r=this.navigationSvc.currentPage();this.currentPage()!==r&&this.currentPage.set(r)});let n;En(()=>{let r=this.locale();r!==n&&(n=r,(r==="en"||r==="de")&&Ci(this.i18n.locale)!==r&&this.i18n.setLocale(r))}),En(()=>{let r=this.i18n.locale(),o=this.hostEl.nativeElement;o.getAttribute("locale")!==r&&o.setAttribute("locale",r)});let e=null;En(()=>{let r=this.suibiData();if(r==null||r===e)return;let o=null;if(typeof r=="string")try{o=JSON.parse(r)}catch{o=null}else typeof r=="object"&&(o=r);if(!o||!o.payload||!o.payload.data){console.warn("[suibi-module] Ignoring malformed suibi-data payload.");return}if(o.version!==nA){console.warn("[suibi-module] Unsupported suibi-data version",o.version);return}e=r,this.naebi.setData(o.payload.data),this.metadataSvc.setMetadata(o.payload.metadata)});{let r=this.hostEl.nativeElement;r.getAttribute("locale")||r.setAttribute("locale",this.i18n.locale()),r.getAttribute("page")||r.setAttribute("page",this.page());let o=new MutationObserver(a=>{for(let s of a){if(s.type==="attributes"&&s.attributeName==="locale"){let l=r.getAttribute("locale");(l==="en"||l==="de")&&this.i18n.locale()!==l&&this.i18n.setLocale(l)}if(s.type==="attributes"&&s.attributeName==="page"){let l=r.getAttribute("page");l&&["welcome","animal_stock","data_preview","farm_manure_trading","field_spreading"].includes(l)&&this.currentPage()!==l&&this.currentPage.set(l)}}});o.observe(r,{attributes:!0,attributeFilter:["locale","page"]}),this.destroyRef.onDestroy(()=>o.disconnect())}let i=this.hostEl.nativeElement.shadowRoot;rA(),oA(i),En(()=>{let r=this.telemetryInput(),o=String(r)!=="false";this.telemetryService.setTelemetryEnabled(o)}),En(()=>{let r=this.currentPage();this.telemetryService.trackPageView(r)}),this.hostEl.nativeElement.dispatchEvent(new CustomEvent("suibi.loaded",{bubbles:!0,composed:!0,detail:{timestamp:new Date().toISOString()}}))}currentPage=Be(this.page());lastPageInput=void 0;syncPageEffect=En(()=>{let n=this.page();n!==this.lastPageInput&&(this.lastPageInput=n,this.currentPage()!==n&&this.currentPage.set(n))});go(n){if(this.currentPage()===n)return;this.currentPage.set(n),this.navigationSvc.navigateToPage(n);let e=this.hostEl.nativeElement;e.getAttribute("page")!==n&&e.setAttribute("page",n)}setLocale(n){this.i18n.locale()!==n&&this.i18n.setLocale(n)}emitData(){this.dataEmitter.emitFrom(this.hostEl.nativeElement)}onValidationErrorSelected(n){let e=n;if(e.targetPage==="animal_stock"&&e.targetAnimalStockIndex!=null){this.navigationSvc.navigateToAnimalStockDetail(e.targetAnimalStockIndex,e.targetCategory||"base");return}if(e.targetPage==="farm_manure_trading"&&e.targetFarmManureTradingMode&&e.targetFarmManureTradingIndex!=null){this.navigationSvc.navigateToFarmManureTradingDetail(e.targetFarmManureTradingMode,e.targetFarmManureTradingIndex,e.targetFarmManureTradingCategory||"general");return}if(e.targetPage==="field_spreading"){this.navigationSvc.navigateToFieldSpreading(e.targetFieldSpreadingCategory||"general");return}e.targetPage==="animal_stock"&&e.targetSection==="lifetimePerformance"&&this.navigationSvc.navigateToAnimalStockList()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=K({type:t,selectors:[["app-root"]],inputs:{locale:[1,"locale"],themeSrc:[1,"theme-src","themeSrc"],page:[1,"page"],suibiData:[1,"suibi-data","suibiData"],telemetryInput:[1,"telemetry","telemetryInput"]},decls:9,vars:8,consts:[[3,"currentPage","locale","onNavigate","onLocaleChange","onEmitData"],[3,"errorSelected","errors","clickable"],[1,"app-main"],[3,"start"]],template:function(e,i){if(e&1&&(je(0,"app-header-bar",0),C(1,"validation-errors-panel",1),ae("errorSelected",function(o){return i.onValidationErrorSelected(o)}),x(),C(2,"main",2),We(3,nQe,1,0,"app-welcome-page")(4,iQe,1,0,"app-animal-stock-master-detail")(5,rQe,1,0,"app-field-spreading")(6,oQe,1,0,"app-farm-manure-trading-master-detail")(7,aQe,1,0,"app-data-preview")(8,sQe,3,3,"p"),x()),e&2){let r;V("currentPage",i.currentPage())("locale",i.activeLocale())("onNavigate",i.go.bind(i))("onLocaleChange",i.setLocale.bind(i))("onEmitData",i.emitData.bind(i)),E(),V("errors",i.validationErrors())("clickable",!0),E(2),Ke((r=i.currentPage())==="welcome"?3:r==="animal_stock"?4:r==="field_spreading"?5:r==="farm_manure_trading"?6:r==="data_preview"?7:8)}},dependencies:[eA,fA,mA,tA,iA,dr,aA,sA,Di],styles:[`app-header-bar{display:block;padding:.25rem .5rem .5rem}main.app-main{display:block;padding:0 1rem 2rem}
|
|
74
|
+
`,`:host,suibi-module{color-scheme:light;--mat-sys-background: #fff8f6;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #fbeeec;--mat-sys-inverse-primary: #ffb4a8;--mat-sys-inverse-surface: #362f2e;--mat-sys-on-background: #201a19;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #930100;--mat-sys-on-primary-fixed: #410000;--mat-sys-on-primary-fixed-variant: #930100;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #5d3f3b;--mat-sys-on-secondary-fixed: #2c1512;--mat-sys-on-secondary-fixed-variant: #5d3f3b;--mat-sys-on-surface: #201a19;--mat-sys-on-surface-variant: #534341;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #930100;--mat-sys-on-tertiary-fixed: #410000;--mat-sys-on-tertiary-fixed-variant: #930100;--mat-sys-outline: #857370;--mat-sys-outline-variant: #d8c2be;--mat-sys-primary: #e72200;--mat-sys-primary-container: #ffdad4;--mat-sys-primary-fixed: #ffdad4;--mat-sys-primary-fixed-dim: #ffb4a8;--mat-sys-scrim: #000000;--mat-sys-secondary: #775651;--mat-sys-secondary-container: #ffdad4;--mat-sys-secondary-fixed: #ffdad4;--mat-sys-secondary-fixed-dim: #e7bdb6;--mat-sys-shadow: #000000;--mat-sys-surface: #fff8f6;--mat-sys-surface-bright: #fff8f6;--mat-sys-surface-container: #f9ebe9;--mat-sys-surface-container-high: #f3e5e4;--mat-sys-surface-container-highest: #ede0dd;--mat-sys-surface-container-low: #fef1ef;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #e4d7d6;--mat-sys-surface-tint: #e72200;--mat-sys-surface-variant: #f5ddda;--mat-sys-tertiary: #e72200;--mat-sys-tertiary-container: #ffdad4;--mat-sys-tertiary-fixed: #ffdad4;--mat-sys-tertiary-fixed-dim: #ffb4a8;--mat-sys-neutral-variant20: #3b2d2b;--mat-sys-neutral10: #201a19;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 100 1rem / 1.5rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-large-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 100;--mat-sys-body-medium: 100 .875rem / 1.25rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-medium-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 100;--mat-sys-body-small: 100 .75rem / 1rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-small-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 100;--mat-sys-display-large: 100 3.562rem / 4rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-large-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 100;--mat-sys-display-medium: 100 2.812rem / 3.25rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-medium-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 100;--mat-sys-display-small: 100 2.25rem / 2.75rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-small-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 100;--mat-sys-headline-large: 100 2rem / 2.5rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-large-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 100;--mat-sys-headline-medium: 100 1.75rem / 2.25rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-medium-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 100;--mat-sys-headline-small: 100 1.5rem / 2rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-small-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 100;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-large-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-medium-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-small-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 100 1.375rem / 1.75rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-large-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 100;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-medium-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-small-font: Roboto Thin, Roboto, Arial, sans-serif;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12;--mat-sys-surface: #fafafa;--mat-form-field-filled-container-color: #ffffff;--mat-card-elevated-container-color: #ffffff;font-family:Roboto Thin,Roboto,Arial,sans-serif;display:block;line-height:1.4;box-sizing:border-box;background:var(--mat-sys-surface, #fafafa);color:#333}*,*:before,*:after{box-sizing:inherit}.mat-mdc-form-field{width:100%}.errors{color:var(--mat-sys-error, #c62828);font-weight:500}:host .mat-mdc-form-field-error,suibi-module .mat-mdc-form-field-error{color:#e72200}.group-layout.mat-mdc-card-outlined{border:0;--mdc-outlined-card-outline-color: transparent;box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-radius:8px}.horizontal-layout>div:has([style*="display: none"]){display:none!important}
|
|
75
|
+
`],encapsulation:3,changeDetection:0})};var ln=(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})(ln||{}),Nl="*";function xfe(t,n=null){return{type:ln.Sequence,steps:t,options:n}}function p$(t){return{type:ln.Style,styles:t,offset:null}}var lu=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Oy=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},cE="!";function Tfe(t){return new Pe(3e3,!1)}function lQe(){return new Pe(3100,!1)}function cQe(){return new Pe(3101,!1)}function dQe(t){return new Pe(3001,!1)}function uQe(t){return new Pe(3003,!1)}function fQe(t){return new Pe(3004,!1)}function Afe(t,n){return new Pe(3005,!1)}function Mfe(){return new Pe(3006,!1)}function kfe(){return new Pe(3007,!1)}function Rfe(t,n){return new Pe(3008,!1)}function Pfe(t){return new Pe(3002,!1)}function Nfe(t,n,e,i,r){return new Pe(3010,!1)}function Ofe(){return new Pe(3011,!1)}function Ffe(){return new Pe(3012,!1)}function Lfe(){return new Pe(3200,!1)}function Vfe(){return new Pe(3202,!1)}function Bfe(){return new Pe(3013,!1)}function jfe(t){return new Pe(3014,!1)}function Ufe(t){return new Pe(3015,!1)}function zfe(t){return new Pe(3016,!1)}function Hfe(t,n){return new Pe(3404,!1)}function mQe(t){return new Pe(3502,!1)}function $fe(t){return new Pe(3503,!1)}function Gfe(){return new Pe(3300,!1)}function qfe(t){return new Pe(3504,!1)}function Yfe(t){return new Pe(3301,!1)}function Wfe(t,n){return new Pe(3302,!1)}function Kfe(t){return new Pe(3303,!1)}function Xfe(t,n){return new Pe(3400,!1)}function Qfe(t){return new Pe(3401,!1)}function Zfe(t){return new Pe(3402,!1)}function Jfe(t,n){return new Pe(3505,!1)}function cu(t){switch(t.length){case 0:return new lu;case 1:return t[0];default:return new Oy(t)}}function v$(t,n,e=new Map,i=new Map){let r=[],o=[],a=-1,s=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((m,f)=>{let p=f,g=m;if(f!=="offset")switch(p=t.normalizePropertyName(p,r),g){case cE:g=e.get(f);break;case Nl:g=i.get(f);break;default:g=t.normalizeStyleValue(f,p,g,r);break}u.set(p,g)}),d||o.push(u),s=u,a=c}),r.length)throw mQe(r);return o}function Yk(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&h$(e,"start",t)));break;case"done":t.onDone(()=>i(e&&h$(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&h$(e,"destroy",t)));break}}function h$(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Wk(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),a=t._data;return a!=null&&(o._data=a),o}function Wk(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Sa(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function y$(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var pQe=typeof document>"u"?null:document.documentElement;function Kk(t){let n=t.parentNode||t.host||null;return n===pQe?null:n}function hQe(t){return t.substring(1,6)=="ebkit"}var Rh=null,Ife=!1;function eme(t){Rh||(Rh=gQe()||{},Ife=Rh.style?"WebkitAppearance"in Rh.style:!1);let n=!0;return Rh.style&&!hQe(t)&&(n=t in Rh.style,!n&&Ife&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Rh.style)),n}function gQe(){return typeof document<"u"?document.body:null}function b$(t,n){for(;n;){if(n===t)return!0;n=Kk(n)}return!1}function C$(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var _Qe=1e3,D$="{{",vQe="}}",E$="ng-enter",Xk="ng-leave",dE="ng-trigger",uE=".ng-trigger",S$="ng-animating",Qk=".ng-animating";function jc(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:g$(parseFloat(n[1]),n[2])}function g$(t,n){switch(n){case"s":return t*_Qe;default:return t}}function fE(t,n,e){return t.hasOwnProperty("duration")?t:bQe(t,n,e)}var yQe=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function bQe(t,n,e){let i,r=0,o="";if(typeof t=="string"){let a=t.match(yQe);if(a===null)return n.push(Tfe(t)),{duration:0,delay:0,easing:""};i=g$(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=g$(parseFloat(s),a[4]));let l=a[5];l&&(o=l)}else i=t;if(!e){let a=!1,s=n.length;i<0&&(n.push(lQe()),a=!0),r<0&&(n.push(cQe()),a=!0),a&&n.splice(s,0,Tfe(t))}return{duration:i,delay:r,easing:o}}function tme(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function Ol(t,n,e){n.forEach((i,r)=>{let o=Zk(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function pm(t,n){n.forEach((e,i)=>{let r=Zk(i);t.style[r]=""})}function Fy(t){return Array.isArray(t)?t.length==1?t[0]:xfe(t):t}function nme(t,n,e){let i=n.params||{},r=w$(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(dQe(o))})}var _$=new RegExp(`${D$}\\s*(.+?)\\s*${vQe}`,"g");function w$(t){let n=[];if(typeof t=="string"){let e;for(;e=_$.exec(t);)n.push(e[1]);_$.lastIndex=0}return n}function Ly(t,n,e){let i=`${t}`,r=i.replace(_$,(o,a)=>{let s=n[a];return s==null&&(e.push(uQe(a)),s=""),s.toString()});return r==i?t:r}var CQe=/-+([a-z0-9])/g;function Zk(t){return t.replace(CQe,(...n)=>n[1].toUpperCase())}function ime(t,n){return t===0||n===0}function rme(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;o<n.length;o++){let a=n[o];r.forEach(s=>a.set(s,Jk(t,s)))}}return n}function wa(t,n,e){switch(n.type){case ln.Trigger:return t.visitTrigger(n,e);case ln.State:return t.visitState(n,e);case ln.Transition:return t.visitTransition(n,e);case ln.Sequence:return t.visitSequence(n,e);case ln.Group:return t.visitGroup(n,e);case ln.Animate:return t.visitAnimate(n,e);case ln.Keyframes:return t.visitKeyframes(n,e);case ln.Style:return t.visitStyle(n,e);case ln.Reference:return t.visitReference(n,e);case ln.AnimateChild:return t.visitAnimateChild(n,e);case ln.AnimateRef:return t.visitAnimateRef(n,e);case ln.Query:return t.visitQuery(n,e);case ln.Stagger:return t.visitStagger(n,e);default:throw fQe(n.type)}}function Jk(t,n){return window.getComputedStyle(t)[n]}var z$=(()=>{class t{validateStyleProperty(e){return eme(e)}containsElement(e,i){return b$(e,i)}getParentElement(e){return Kk(e)}query(e,i,r){return C$(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new lu(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),Nh=class{static NOOP=new z$},Oh=class{};var DQe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),rR=class extends Oh{normalizePropertyName(n,e){return Zk(n)}normalizeStyleValue(n,e,i,r){let o="",a=i.toString().trim();if(DQe.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(Afe(n,i))}return a+o}};var oR="*";function EQe(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>SQe(i,e,n)):e.push(t),e}function SQe(t,n,e){if(t[0]==":"){let l=wQe(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Ufe(t)),n;let r=i[1],o=i[2],a=i[3];n.push(ome(r,a));let s=r==oR&&a==oR;o[0]=="<"&&!s&&n.push(ome(a,r))}function wQe(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(zfe(t)),"* => *"}}var eR=new Set(["true","1"]),tR=new Set(["false","0"]);function ome(t,n){let e=eR.has(t)||tR.has(t),i=eR.has(n)||tR.has(n);return(r,o)=>{let a=t==oR||t==r,s=n==oR||n==o;return!a&&e&&typeof r=="boolean"&&(a=r?eR.has(t):tR.has(t)),!s&&i&&typeof o=="boolean"&&(s=o?eR.has(n):tR.has(n)),a&&s}}var hme=":self",xQe=new RegExp(`s*${hme}s*,?`,"g");function gme(t,n,e,i){return new k$(t).build(n,e,i)}var ame="",k$=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new R$(e);return this._resetContextStyleTimingState(r),wa(this,Fy(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=ame,n.collectedStyles=new Map,n.collectedStyles.set(ame,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return n.name.charAt(0)=="@"&&e.errors.push(Mfe()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==ln.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==ln.Transition){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(kfe())}),{type:ln.Trigger,name:n.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{w$(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(Rfe(n.name,[...o.values()]))}return{type:ln.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=wa(this,Fy(n.animation),e),r=EQe(n.expr,e.errors);return{type:ln.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Ph(n.options)}}visitSequence(n,e){return{type:ln.Sequence,steps:n.steps.map(i=>wa(this,i,e)),options:Ph(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(a=>{e.currentTime=i;let s=wa(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:ln.Group,steps:o,options:Ph(n.options)}}visitAnimate(n,e){let i=MQe(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:p$({});if(o.type==ln.Keyframes)r=this.visitKeyframes(o,e);else{let a=n.styles,s=!1;if(!a){s=!0;let c={};i.easing&&(c.easing=i.easing),a=p$(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:ln.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)typeof s=="string"?s===Nl?i.push(s):e.errors.push(Pfe(s)):i.push(new Map(Object.entries(s)));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(D$)>=0){o=!0;break}}}),{type:ln.Style,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(Nfe(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&nme(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:ln.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Ofe()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=n.steps.map(v=>{let D=this._makeStyleAst(v,e),O=D.offset!=null?D.offset:AQe(D.styles),B=0;return O!=null&&(o++,B=D.offset=O),l=l||B<0||B>1,s=s||B<c,c=B,a.push(B),D});l&&e.errors.push(Ffe()),s&&e.errors.push(Lfe());let u=n.steps.length,m=0;o>0&&o<u?e.errors.push(Vfe()):o==0&&(m=r/(u-1));let f=u-1,p=e.currentTime,g=e.currentAnimateTimings,_=g.duration;return d.forEach((v,D)=>{let O=m>0?D==f?1:m*D:a[D],B=O*_;e.currentTime=p+g.delay+B,g.duration=B,this._validateStyleAst(v,e),v.offset=O,i.styles.push(v)}),i}visitReference(n,e){return{type:ln.Reference,animation:wa(this,Fy(n.animation),e),options:Ph(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ln.AnimateChild,options:Ph(n.options)}}visitAnimateRef(n,e){return{type:ln.AnimateRef,animation:this.visitReference(n.animation,e),options:Ph(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,a]=TQe(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Sa(e.collectedStyles,e.currentQuerySelector,new Map);let s=wa(this,Fy(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ln.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:Ph(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(Bfe());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:fE(n.timings,e.errors,!0);return{type:ln.Stagger,animation:wa(this,Fy(n.animation),e),timings:i,options:null}}};function TQe(t){let n=!!t.split(/\s*,\s*/).find(e=>e==hme);return n&&(t=t.replace(xQe,"")),t=t.replace(/@\*/g,uE).replace(/@\w+/g,e=>uE+"-"+e.slice(1)).replace(/:animating/g,Qk),[t,n]}function IQe(t){return t?G({},t):null}var R$=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};function AQe(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function MQe(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=fE(t,n).duration;return x$(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=x$(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=fE(e,n);return x$(r.duration,r.delay,r.easing)}function Ph(t){return t?(t=G({},t),t.params&&(t.params=IQe(t.params))):t={},t}function x$(t,n,e){return{duration:t,delay:n,easing:e}}function H$(t,n,e,i,r,o,a=null,s=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var pE=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},kQe=1,RQe=":enter",PQe=new RegExp(RQe,"g"),NQe=":leave",OQe=new RegExp(NQe,"g");function _me(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new P$().buildKeyframes(t,n,e,i,r,o,a,s,l,c)}var P$=class{buildKeyframes(n,e,i,r,o,a,s,l,c,d=[]){c=c||new pE;let u=new N$(n,e,c,r,o,d,[]);u.options=l;let m=l.delay?jc(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([a],null,u.errors,l),wa(this,i,u);let f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&s.size){let p;for(let g=f.length-1;g>=0;g--){let _=f[g];if(_.element===e){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[H$(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let a=typeof o=="number"?o:jc(Ly(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?jc(i.duration):null,s=i.delay!=null?jc(i.delay):null;return a!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),wa(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ln.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=aR);let a=jc(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>wa(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?jc(n.options.delay):0;n.steps.forEach(a=>{let s=e.createSubContext(n.options);o&&s.delayNextStep(o),wa(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Ly(i,e.params,e.errors):i;return fE(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==ln.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?jc(r.delay):0;o&&(e.previousNode.type===ln.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=aR);let a=i,s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),wa(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.currentTimeline.currentTime;a=Math.max(a,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;wa(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},aR={},N$=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=aR;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,a,s,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new sR(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=jc(i.duration)),i.delay!=null&&(r.delay=jc(i.delay));let o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Ly(o[s],a,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=aR,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new O$(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,a){let s=[];if(r&&s.push(this.element),n.length>0){n=n.replace(PQe,"."+this._enterClassName),n=n.replace(OQe,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&s.length==0&&a.push(jfe(e)),s}},sR=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=kQe,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Nl),this._currentKeyframe.set(e,Nl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=FQe(n,this._globalTimelineStyles);for(let[s,l]of a){let c=Ly(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Nl),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let c=new Map([...this._backFill,...s]);c.forEach((d,u)=>{d===cE?n.add(u):d===Nl&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],a=[...e.values()];if(i){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return H$(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},O$=class extends sR{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,a,s=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],a=i+e,s=e/a,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",sme(s)),o.push(c);let d=n.length-1;for(let u=1;u<=d;u++){let m=new Map(n[u]),f=m.get("offset"),p=e+f*i;m.set("offset",sme(p/a)),o.push(m)}i=a,e=0,r="",n=o}return H$(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function sme(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function FQe(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Nl)}else for(let[o,a]of r)e.set(o,a)}),e}function lme(t,n,e,i,r,o,a,s,l,c,d,u,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}var T$={},lR=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return LQe(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,a,s,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||T$,f=s&&s.params||T$,p=this.buildStyles(i,f,u),g=l&&l.params||T$,_=this.buildStyles(r,g,u),v=new Set,D=new Map,O=new Map,B=r==="void",F={params:vme(g,m),delay:this.ast.options?.delay},W=d?[]:_me(n,e,this.ast.animation,o,a,p,_,F,c,u),j=0;return W.forEach(k=>{j=Math.max(k.duration+k.delay,j)}),u.length?lme(e,this._triggerName,i,r,B,p,_,[],[],D,O,j,u):(W.forEach(k=>{let Y=k.element,Q=Sa(D,Y,new Set);k.preStyleProps.forEach(ie=>Q.add(ie));let ce=Sa(O,Y,new Set);k.postStyleProps.forEach(ie=>ce.add(ie)),Y!==e&&v.add(Y)}),lme(e,this._triggerName,i,r,B,p,_,W,[...v.values()],D,O,j))}};function LQe(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function vme(t,n){let e=G({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var F$=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=vme(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=Ly(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}};function VQe(t,n,e){return new L$(t,n,e)}var L$=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new F$(r.style,o,i))}),cme(this.states,"true","1"),cme(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new lR(n,r,this.states))}),this.fallbackTransition=BQe(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(a=>a.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};function BQe(t,n,e){let i=[(a,s)=>!0],r={type:ln.Sequence,steps:[],options:null},o={type:ln.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new lR(t,o,n)}function cme(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}var jQe=new pE,V$=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=gme(this._driver,e,i,r);if(i.length)throw $fe(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=v$(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),a,s=new Map;if(o?(a=_me(this._driver,e,o,E$,Xk,new Map,new Map,i,jQe,r),a.forEach(d=>{let u=Sa(s,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(r.push(Gfe()),a=[]),r.length)throw qfe(r);s.forEach((d,u)=>{d.forEach((m,f)=>{d.set(f,this._driver.computeStyle(u,f,Nl))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=cu(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw Yfe(n);return e}listen(n,e,i,r){let o=Wk(e,"","","");return Yk(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let a=r[0]||{};this.create(n,e,a);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},dme="ng-animate-queued",UQe=".ng-animate-queued",I$="ng-animate-disabled",zQe=".ng-animate-disabled",HQe="ng-star-inserted",$Qe=".ng-star-inserted",GQe=[],yme={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qQe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fl="__ng_removed",hE=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=WQe(r),i){let o=n,{value:a}=o,s=bm(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},mE="void",A$=new hE(mE),B$=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,qs(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw Wfe(i,e);if(i==null||i.length==0)throw Kfe(e);if(!KQe(i))throw Xfe(i,e);let o=Sa(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);let s=Sa(this._engine.statesByElement,n,new Map);return s.has(e)||(qs(n,dE),qs(n,dE+"-"+e),s.set(e,A$)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw Qfe(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),a=new gE(this.id,e,n),s=this._engine.statesByElement.get(n);s||(qs(n,dE),qs(n,dE+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),c=new hE(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=A$),!(c.value===mE)&&l.value===c.value){if(!ZQe(l.params,c.params)){let g=[],_=o.matchStyles(l.value,l.params,g),v=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{pm(n,_),Ol(n,v)})}return}let m=Sa(this._engine.playersByElement,n,[]);m.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:f,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(qs(n,dme),a.onStart(()=>{Vy(n,dme)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let _=this._engine.playersByElement.get(n);if(_){let v=_.indexOf(a);v>=0&&_.splice(v,1)}}),this.players.push(a),m.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,uE,!0);i.forEach(r=>{if(r[Fl])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,mE,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&cu(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,c=i.get(a)||A$,d=new hE(mE),u=new gE(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Fl];(!o||o===yme)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){qs(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){let l=Wk(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Yk(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},j$=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new B$(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(nR(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!nR(e))return;let o=e[Fl];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){let a=this._fetchNamespace(n);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),qs(n,I$)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vy(n,I$))}removeNode(n,e,i){if(nR(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Fl]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return nR(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,uE,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Qk,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return cu(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Fl];if(e&&e.setForRemoval){if(n[Fl]=yme,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(I$)&&this.markElementAsDisabled(n,!1),this.driver.query(n,zQe,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];qs(r,HQe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?cu(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw Zfe(n)}_flushAnimations(n,e){let i=new pE,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(A=>{d.add(A);let R=this.driver.query(A,UQe,!0);for(let I=0;I<R.length;I++)d.add(R[I])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),f=mme(m,this.collectedEnterElements),p=new Map,g=0;f.forEach((A,R)=>{let I=E$+g++;p.set(R,I),A.forEach(ne=>qs(ne,I))});let _=[],v=new Set,D=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){let R=this.collectedLeaveElements[A],I=R[Fl];I&&I.setForRemoval&&(_.push(R),v.add(R),I.hasAnimation?this.driver.query(R,$Qe,!0).forEach(ne=>v.add(ne)):D.add(R))}let O=new Map,B=mme(m,Array.from(v));B.forEach((A,R)=>{let I=Xk+g++;O.set(R,I),A.forEach(ne=>qs(ne,I))}),n.push(()=>{f.forEach((A,R)=>{let I=p.get(R);A.forEach(ne=>Vy(ne,I))}),B.forEach((A,R)=>{let I=O.get(R);A.forEach(ne=>Vy(ne,I))}),_.forEach(A=>{this.processLeaveNode(A)})});let F=[],W=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(e).forEach(I=>{let ne=I.player,Ie=I.element;if(F.push(ne),this.collectedEnterElements.length){let $=Ie[Fl];if($&&$.setForMove){if($.previousTriggersValues&&$.previousTriggersValues.has(I.triggerName)){let oe=$.previousTriggersValues.get(I.triggerName),me=this.statesByElement.get(I.element);if(me&&me.has(I.triggerName)){let Ye=me.get(I.triggerName);Ye.value=oe,me.set(I.triggerName,Ye)}}ne.destroy();return}}let we=!u||!this.driver.containsElement(u,Ie),ee=O.get(Ie),M=p.get(Ie),T=this._buildInstruction(I,i,M,ee,we);if(T.errors&&T.errors.length){W.push(T);return}if(we){ne.onStart(()=>pm(Ie,T.fromStyles)),ne.onDestroy(()=>Ol(Ie,T.toStyles)),r.push(ne);return}if(I.isFallbackTransition){ne.onStart(()=>pm(Ie,T.fromStyles)),ne.onDestroy(()=>Ol(Ie,T.toStyles)),r.push(ne);return}let L=[];T.timelines.forEach($=>{$.stretchStartingKeyframe=!0,this.disabledNodes.has($.element)||L.push($)}),T.timelines=L,i.append(Ie,T.timelines);let H={instruction:T,player:ne,element:Ie};a.push(H),T.queriedElements.forEach($=>Sa(s,$,[]).push(ne)),T.preStyleProps.forEach(($,oe)=>{if($.size){let me=l.get(oe);me||l.set(oe,me=new Set),$.forEach((Ye,ut)=>me.add(ut))}}),T.postStyleProps.forEach(($,oe)=>{let me=c.get(oe);me||c.set(oe,me=new Set),$.forEach((Ye,ut)=>me.add(ut))})});if(W.length){let A=[];W.forEach(R=>{A.push(Jfe(R.triggerName,R.errors))}),F.forEach(R=>R.destroy()),this.reportError(A)}let j=new Map,k=new Map;a.forEach(A=>{let R=A.element;i.has(R)&&(k.set(R,R),this._beforeAnimationBuild(A.player.namespaceId,A.instruction,j))}),r.forEach(A=>{let R=A.element;this._getPreviousPlayers(R,!1,A.namespaceId,A.triggerName,null).forEach(ne=>{Sa(j,R,[]).push(ne),ne.destroy()})});let Y=_.filter(A=>pme(A,l,c)),Q=new Map;fme(Q,this.driver,D,c,Nl).forEach(A=>{pme(A,l,c)&&Y.push(A)});let ie=new Map;f.forEach((A,R)=>{fme(ie,this.driver,new Set(A),l,cE)}),Y.forEach(A=>{let R=Q.get(A),I=ie.get(A);Q.set(A,new Map([...R?.entries()??[],...I?.entries()??[]]))});let X=[],w=[],P={};a.forEach(A=>{let{element:R,player:I,instruction:ne}=A;if(i.has(R)){if(d.has(R)){I.onDestroy(()=>Ol(R,ne.toStyles)),I.disabled=!0,I.overrideTotalTime(ne.totalTime),r.push(I);return}let Ie=P;if(k.size>1){let ee=R,M=[];for(;ee=ee.parentNode;){let T=k.get(ee);if(T){Ie=T;break}M.push(ee)}M.forEach(T=>k.set(T,Ie))}let we=this._buildAnimation(I.namespaceId,ne,j,o,ie,Q);if(I.setRealPlayer(we),Ie===P)X.push(I);else{let ee=this.playersByElement.get(Ie);ee&&ee.length&&(I.parentPlayer=cu(ee)),r.push(I)}}else pm(R,ne.fromStyles),I.onDestroy(()=>Ol(R,ne.toStyles)),w.push(I),d.has(R)&&r.push(I)}),w.forEach(A=>{let R=o.get(A.element);if(R&&R.length){let I=cu(R);A.setRealPlayer(I)}}),r.forEach(A=>{A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(let A=0;A<_.length;A++){let R=_[A],I=R[Fl];if(Vy(R,Xk),I&&I.hasAnimation)continue;let ne=[];if(s.size){let we=s.get(R);we&&we.length&&ne.push(...we);let ee=this.driver.query(R,Qk,!0);for(let M=0;M<ee.length;M++){let T=s.get(ee[M]);T&&T.length&&ne.push(...T)}}let Ie=ne.filter(we=>!we.destroyed);Ie.length?XQe(this,R,Ie):this.processLeaveNode(R)}return _.length=0,X.forEach(A=>{this.players.push(A),A.onDone(()=>{A.destroy();let R=this.players.indexOf(A);this.players.splice(R,1)}),A.play()}),X}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let a=[];if(e){let s=this.playersByQueriedElement.get(n);s&&(a=s)}else{let s=this.playersByElement.get(n);if(s){let l=!o||o==mE;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,a=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=Sa(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(f=>{let p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}pm(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,a){let s=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,m=e.timelines.map(p=>{let g=p.element;d.add(g);let _=g[Fl];if(_&&_.removedBeforeQueried)return new lu(p.duration,p.delay);let v=g!==l,D=QQe((i.get(g)||GQe).map(j=>j.getRealPlayer())).filter(j=>{let k=j;return k.element?k.element===g:!1}),O=o.get(g),B=a.get(g),F=v$(this._normalizer,p.keyframes,O,B),W=this._buildPlayer(p,F,D);if(p.subTimeline&&r&&u.add(g),v){let j=new gE(n,s,g);j.setRealPlayer(W),c.push(j)}return W});c.forEach(p=>{Sa(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>YQe(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>qs(p,S$));let f=cu(m);return f.onDestroy(()=>{d.forEach(p=>Vy(p,S$)),Ol(l,e.toStyles)}),u.forEach(p=>{Sa(r,p,[]).push(f)}),f}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new lu(n.duration,n.delay)}},gE=class{namespaceId;triggerName;element;_player=new lu;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Yk(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Sa(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};function YQe(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function WQe(t){return t??null}function nR(t){return t&&t.nodeType===1}function KQe(t){return t=="start"||t=="done"}function ume(t,n){let e=t.style.display;return t.style.display=n??"none",e}function fme(t,n,e,i,r){let o=[];e.forEach(l=>o.push(ume(l)));let a=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let m=n.computeStyle(c,u,r);d.set(u,m),(!m||m.length==0)&&(c[Fl]=qQe,a.push(c))}),t.set(c,d)});let s=0;return e.forEach(l=>ume(l,o[s++])),a}function mme(t,n){let e=new Map;if(t.forEach(s=>e.set(s,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function a(s){if(!s)return i;let l=o.get(s);if(l)return l;let c=s.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=a(c),o.set(s,l),l}return n.forEach(s=>{let l=a(s);l!==i&&e.get(l).push(s)}),e}function qs(t,n){t.classList?.add(n)}function Vy(t,n){t.classList?.remove(n)}function XQe(t,n,e){cu(e).onDone(()=>t.processLeaveNode(n))}function QQe(t){let n=[];return bme(t,n),n}function bme(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Oy?bme(i.players,n):n.push(i)}}function ZQe(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function pme(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}var By=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new j$(n.body,e,i),this._timelineEngine=new V$(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let a=n+"-"+r,s=this._triggerCache[a];if(!s){let l=[],c=[],d=gme(this._driver,o,l,c);if(l.length)throw Hfe(r,l);s=VQe(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,a]=y$(i),s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[a,s]=y$(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};function JQe(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=M$(n[0]),n.length>1&&(i=M$(n[n.length-1]))):n instanceof Map&&(e=M$(n)),e||i?new eZe(t,e,i):null}var eZe=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ol(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ol(this._element,this._initialStyles),this._endStyles&&(Ol(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(pm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pm(this._element,this._endStyles),this._endStyles=null),Ol(this._element,this._initialStyles),this._state=3)}}return t})();function M$(t){let n=null;return t.forEach((e,i)=>{tZe(i)&&(n=n||new Map,n.set(i,e))}),n}function tZe(t){return t==="display"||t==="position"}var cR=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:Jk(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},dR=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return b$(n,e)}getParentElement(n){return Kk(n)}query(n,e,i){return C$(n,e,i)}computeStyle(n,e,i){return Jk(n,e)}animate(n,e,i,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:i,delay:r,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(f=>f instanceof cR);ime(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,g)=>c.set(g,p))});let u=tme(e).map(f=>new Map(f));u=rme(n,u,c);let m=JQe(n,u);return new cR(n,u,l,m)}};var iR="@",Cme="@.disabled",uR=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==iR&&e==Cme?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},U$=class extends uR{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==iR?e.charAt(1)=="."&&e==Cme?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==iR){let o=nZe(n),a=e.slice(1),s="";return a.charAt(0)!=iR&&([a,s]=iZe(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};function nZe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function iZe(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var fR=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new uR("",r,this.engine,u),c.set(r,d)}return d}let o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,n,c.name,c)};return e.data.animation.forEach(s),new U$(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}};var oZe=(()=>{class t extends By{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(bt(dt),bt(Nh),bt(Oh))};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})();function aZe(){return new rR}function sZe(t,n,e){return new fR(t,n,e)}var Dme=[{provide:Oh,useFactory:aZe},{provide:By,useClass:oZe},{provide:ci,useFactory:sZe,deps:[Ub,By,Ne]}],u6t=[{provide:Nh,useClass:z$},{provide:Au,useValue:"NoopAnimations"},...Dme],lZe=[{provide:Nh,useFactory:()=>new dR},{provide:Au,useFactory:()=>"BrowserAnimations"},...Dme];function Eme(){return Xl("NgEagerAnimations"),[...lZe]}var mR=class t{constructor(n){this.injector=n}handleError(n){this.injector.get(Ny).trackException(n),console.error(n)}static \u0275fac=function(e){return new(e||t)(bt(ft))};static \u0275prov=pe({token:t,factory:t.\u0275fac})};var Sme={providers:[zP(),JN(),Eme(),{provide:qi,useClass:mR}]};function cZe(){let t="suibi-roboto-font";if(document.getElementById(t))return;let n=document.createElement("link");n.id=t,n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap",document.head.appendChild(n)}function dZe(t){if(!t)return;let n="suibi-roboto-font";if(t.getElementById(n))return;let e=document.getElementById("suibi-roboto-font");if(e){let r=e.cloneNode(!0);t.appendChild(r);return}let i=document.createElement("link");i.id=n,i.rel="stylesheet",i.href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap",t.appendChild(i)}function uZe(){let t="suibi-global-styles";if(document.getElementById(t))return;let n=new URL("./styles.css",import.meta.url).toString(),e=document.createElement("link");e.id=t,e.rel="stylesheet",e.href=n,document.head.appendChild(e)}function fZe(t){return as(this,null,function*(){try{let n=yield fetch(t,{mode:"cors"});return n.ok?yield n.text():null}catch{return null}})}rA();cZe();AO({providers:Sme.providers}).then(t=>{let n=oY(qk,{injector:t.injector}),e="suibi-module";if(!customElements.get(e)){let i=n.prototype;class r extends n{connectedCallback(){let a=i.connectedCallback;typeof a=="function"&&a.call(this),uZe();let s=this.shadowRoot;oA(s),dZe(s);let l=this.getAttribute("theme-src");l&&s&&fZe(l).then(c=>{if(!c||s.querySelector(`style[data-suibi-theme="${l}"]`))return;let d=document.createElement("style");d.setAttribute("data-suibi-theme",l),d.textContent=c,s.appendChild(d)})}}customElements.define(e,r)}}).catch(t=>console.error(t));
|